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 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
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 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ffbf2f7ff3b69ba4e48b4a4e12c1f99ed01b4fb7 | 7aca35b28875d25c1e12378a6c6f2ffbb89f1f85 | /pbrt/src/shapes/disk.h | a867962c4a3047f49c2e6a6da20ea9ee7bf945b4 | [
"BSD-2-Clause",
"GPL-2.0-only"
] | permissive | ranahanocka/surface-reconstruction-benchmark | 1c777bc8971e9214801674b0a50933b1b3671ccc | 9a88eaf76eea87d688131875f897c4ef40bd3b93 | refs/heads/master | 2020-08-01T10:31:12.782647 | 2019-09-27T18:45:14 | 2019-09-27T18:45:14 | 210,968,290 | 0 | 0 | BSD-2-Clause | 2019-09-26T00:54:09 | 2019-09-26T00:54:09 | null | UTF-8 | C++ | false | false | 1,735 | h |
/*
pbrt source code Copyright(c) 1998-2010 Matt Pharr and Greg Humphreys.
This file is part of pbrt.
pbrt 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. Note that the text contents of
the book "Physically Based Rendering" are *not* licensed under the
GNU GPL.
pbrt 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 this program. If not, see <http://www.gnu.org/licenses/>.
*/
#if defined(_MSC_VER)
#pragma once
#endif
#ifndef PBRT_SHAPES_DISK_H
#define PBRT_SHAPES_DISK_H
// shapes/disk.h*
#include "shape.h"
// Disk Declarations
class Disk : public Shape {
public:
// Disk Public Methods
Disk(const Transform *o2w, const Transform *w2o, bool ro, float height,
float radius, float innerRadius, float phiMax);
BBox ObjectBound() const;
bool Intersect(const Ray &ray, float *tHit, float *rayEpsilon,
DifferentialGeometry *dg) const;
bool IntersectP(const Ray &ray) const;
float Area() const;
Point Sample(float u1, float u2, Normal *Ns) const;
private:
// Disk Private Data
float height, radius, innerRadius, phiMax;
};
Disk *CreateDiskShape(const Transform *o2w, const Transform *w2o,
bool reverseOrientation, const ParamSet ¶ms);
#endif // PBRT_SHAPES_DISK_H
| [
"ksansom@orthanc.me.washington.edu"
] | ksansom@orthanc.me.washington.edu |
93aa8014e5cad041d9d5d4cbed685fab6c27c4cd | b05fbe53d5b972b04f7dbebc92085ced25c8b624 | /C++/swap.cpp | c991f49da01f605729070d6ff86b93b37816c008 | [] | no_license | tsr9804/computer-science-foundations | 915824188d12baa6e749c3c755a2da1d02407c32 | ffcc84c0d3dc6c67b46c4f314509c1fdedd69d80 | refs/heads/main | 2023-01-16T01:00:25.633318 | 2020-11-29T20:16:33 | 2020-11-29T20:16:33 | 311,491,733 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 265 | cpp | #include<iostream>
using namespace std;
void swap(int *xp, int *yp){
int temp = *xp;
*xp = *yp;
*yp = temp;
}
int main() {
int lst[] = {1,2,3,4};
swap(&lst[0], &lst[1]);
for (int n: lst){
cout << n << endl;
}
return 0;
}
| [
"tsr9804@nyu.edu"
] | tsr9804@nyu.edu |
1089b6b24386d4e0c159b9e4a9323b93047bebc7 | 6b95158bedf856771632fc761812b137e1c784f8 | /GUI/TestBed/App.cc | d1522d87877d59b4ee79ebfbaec9f889edd780fb | [
"MIT"
] | permissive | hhuangwx/sidecar | dabaa8b87ee7ab1160f60c73bc7ee70f52bcd74e | fe4fa1832410f815a566fbb1934c84e55d153992 | refs/heads/master | 2021-06-02T08:10:32.349881 | 2016-08-30T00:39:42 | 2016-08-30T00:39:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 665 | cc | #include "QtCore/QSettings"
#include "QtGui/QIcon"
#include "QtGui/QMessageBox"
#include "GUI/PresetsWindow.h"
#include "GUI/Utils.h"
#include "GUI/LogUtils.h"
#include "App.h"
#include "MainWindow.h"
using namespace SideCar::GUI;
using namespace SideCar::GUI::TestBed;
Logger::Log&
App::Log()
{
static Logger::Log& log_ = Logger::Log::Find("testbed.App");
return log_;
}
App::App(int& argc, char** argv)
: AppBase("TestBed", argc, argv)
{
static Logger::ProcLog log("App", Log());
LOGINFO << std::endl;
setVisibleWindowMenuNew(false);
}
MainWindowBase*
App::makeNewMainWindow(const QString& objectName)
{
return new MainWindow;
}
| [
"bhowes@microsoft.com"
] | bhowes@microsoft.com |
86faca6f61b4ba2e23e4027d95b0c3f0a4686595 | 6ceef7c951794e782fe044d0b8eb6997f9d8809b | /theNewBoston/if-statement.cpp | 71318a9f711179bc81d3d87262cdcb00c3a00b79 | [] | no_license | sandeepatel01/Learn_CODE | 26798ed42b6203985299ddaa8ce36674451726e7 | 0b43d028bacee97f434b9391f96668212cb253c2 | refs/heads/master | 2023-03-19T08:13:19.516303 | 2021-01-15T18:10:30 | 2021-01-15T18:10:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 399 | cpp | #include <iostream>
using namespace std;
int main()
{
int age;
cout << "Whats's your age?" << endl;
cin >> age;
if(age>60)
{
if(age>100)
{
cout << "Why are you still alive?"
}
cout << " wow! you are old!" << endl;
}
else
{
cout << "you are young et a job!" << endl;
}
return 0;
} | [
"rosekamallove@gmail.com"
] | rosekamallove@gmail.com |
7c02666b66f6ae1d12d29a81e933dc6de7db1f57 | def39f068050b234df9f6909d4277f96b740f11c | /E-olimp/2169. Перестановки .cpp | 5d360f73f15905e4321fc429f7a398f9448fe7f9 | [] | no_license | azecoder/Problem-Solving | 41a9a4302c48c8de59412ab9175b253df99f1f28 | a920b7bac59830c7b798127f6eed0e2ab31a5fa2 | refs/heads/master | 2023-02-10T09:47:48.322849 | 2021-01-05T14:14:09 | 2021-01-05T14:14:09 | 157,236,604 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 317 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
int main()
{
int a[] = {1,2,3,4,5,6,7,8,9};
int i,n,say=0;
cin>>n;
do
{
{
for (i=0; i<n-1; i++) cout<<a[i]<<" ";
cout<<a[n-1]<<endl;
}
} while(next_permutation(a,a+n));
return EXIT_SUCCESS;
} | [
"tabriz.haji@gmail.com"
] | tabriz.haji@gmail.com |
b03d49dfaae2756d6660af74c8453b9b3b47bb48 | 15a8fe055833e661fcff23edb32666511deb60cf | /src/sksl/transform/SkSLReplaceConstVarsWithLiterals.cpp | 9bc51382d8bf597ac1813754aa1b0986d02219f3 | [
"BSD-3-Clause"
] | permissive | colemancda/skia | 3b94919e0314b8d2c1cfa4cd4b23f967f2a07ac9 | d1fe350fa612b4abffdaeb566c954377396fd2a3 | refs/heads/master | 2022-12-26T13:41:48.890815 | 2022-12-20T20:53:37 | 2022-12-20T21:46:41 | 50,711,932 | 0 | 0 | null | 2016-01-30T06:13:34 | 2016-01-30T06:13:34 | null | UTF-8 | C++ | false | false | 3,886 | cpp | /*
* Copyright 2021 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "include/core/SkTypes.h"
#include "include/private/SkSLModifiers.h"
#include "include/private/SkSLProgramElement.h"
#include "include/private/SkTHash.h"
#include "src/sksl/SkSLCompiler.h"
#include "src/sksl/SkSLConstantFolder.h"
#include "src/sksl/analysis/SkSLProgramUsage.h"
#include "src/sksl/ir/SkSLExpression.h"
#include "src/sksl/ir/SkSLFunctionDefinition.h"
#include "src/sksl/ir/SkSLVariable.h"
#include "src/sksl/ir/SkSLVariableReference.h"
#include "src/sksl/transform/SkSLProgramWriter.h"
#include "src/sksl/transform/SkSLTransform.h"
#include <cstddef>
#include <memory>
#include <string>
#include <string_view>
#include <vector>
namespace SkSL {
void Transform::ReplaceConstVarsWithLiterals(Module& module, ProgramUsage* usage) {
class ConstVarReplacer : public ProgramWriter {
public:
ConstVarReplacer(ProgramUsage* usage) : fUsage(usage) {}
using ProgramWriter::visitProgramElement;
bool visitExpressionPtr(std::unique_ptr<Expression>& expr) override {
// If this is a variable...
if (expr->is<VariableReference>()) {
VariableReference& var = expr->as<VariableReference>();
// ... and it's a candidate for size reduction...
if (fCandidates.contains(var.variable())) {
// ... get its constant value...
if (const Expression* value =
ConstantFolder::GetConstantValueOrNullForVariable(var)) {
// ... and replace it with that value.
fUsage->remove(expr.get());
expr = value->clone();
fUsage->add(expr.get());
return false;
}
}
}
return INHERITED::visitExpressionPtr(expr);
}
ProgramUsage* fUsage;
SkTHashSet<const Variable*> fCandidates;
using INHERITED = ProgramWriter;
};
ConstVarReplacer visitor{usage};
for (const auto& [var, count] : usage->fVariableCounts) {
// We can only replace const variables that still exist, and that have initial values.
if (!count.fVarExists || count.fWrite != 1) {
continue;
}
if (!(var->modifiers().fFlags & Modifiers::kConst_Flag)) {
continue;
}
if (!var->initialValue()) {
continue;
}
// The current size is:
// strlen("const type varname=initialvalue;`") + count*strlen("varname").
size_t initialvalueSize = ConstantFolder::GetConstantValueForVariable(*var->initialValue())
->description()
.size();
size_t totalOldSize = var->description().size() + // const type varname
1 + // =
initialvalueSize + // initialvalue
1 + // ;
count.fRead * var->name().size(); // count * varname
// If we replace varname with initialvalue everywhere, the new size would be:
// count*strlen("initialvalue")
size_t totalNewSize = count.fRead * initialvalueSize; // count * initialvalue
if (totalNewSize <= totalOldSize) {
visitor.fCandidates.add(var);
}
}
if (!visitor.fCandidates.empty()) {
for (std::unique_ptr<ProgramElement>& pe : module.fElements) {
if (pe->is<FunctionDefinition>()) {
visitor.visitProgramElement(*pe);
}
}
}
}
} // namespace SkSL
| [
"skcq-be@skia-corp.google.com.iam.gserviceaccount.com"
] | skcq-be@skia-corp.google.com.iam.gserviceaccount.com |
1523e44eacd2c6701a3c06f397af6cbfc4e23e51 | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /chrome/browser/chromeos/power/auto_screen_brightness/model_config_loader_impl.cc | 69e08d4a5dcc30e37f5f55092c384b2cb1901253 | [
"BSD-3-Clause"
] | permissive | ECS-251-W2020/chromium | 79caebf50443f297557d9510620bf8d44a68399a | ac814e85cb870a6b569e184c7a60a70ff3cb19f9 | refs/heads/master | 2022-08-19T17:42:46.887573 | 2020-03-18T06:08:44 | 2020-03-18T06:08:44 | 248,141,336 | 7 | 8 | BSD-3-Clause | 2022-07-06T20:32:48 | 2020-03-18T04:52:18 | null | UTF-8 | C++ | false | false | 8,738 | cc | // Copyright 2019 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 "chrome/browser/chromeos/power/auto_screen_brightness/model_config_loader_impl.h"
#include <string>
#include <vector>
#include "base/bind.h"
#include "base/files/file_util.h"
#include "base/json/json_reader.h"
#include "base/json/json_value_converter.h"
#include "base/logging.h"
#include "base/metrics/field_trial_params.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_split.h"
#include "base/task/post_task.h"
#include "base/task_runner_util.h"
#include "base/values.h"
#include "chromeos/constants/chromeos_features.h"
#include "content/public/browser/browser_thread.h"
namespace chromeos {
namespace power {
namespace auto_screen_brightness {
namespace {
// Reads string content from |model_params_path| if it exists.
// This should run in another thread to be non-blocking to the main thread (if
// |is_testing| is false).
std::string LoadModelParamsFromDisk(const base::FilePath& model_params_path,
bool is_testing) {
DCHECK(is_testing ||
!content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
if (!base::PathExists(model_params_path))
return std::string();
std::string content;
if (!base::ReadFileToString(model_params_path, &content)) {
return std::string();
}
return content;
}
// ModelConfigFromJson and GlobalCurveFromJson are used to hold JSON-parsed
// params.
struct GlobalCurveFromJson {
std::vector<std::unique_ptr<double>> log_lux;
std::vector<std::unique_ptr<double>> brightness;
static void RegisterJSONConverter(
base::JSONValueConverter<GlobalCurveFromJson>* converter) {
converter->RegisterRepeatedDouble("log_lux", &GlobalCurveFromJson::log_lux);
converter->RegisterRepeatedDouble("brightness",
&GlobalCurveFromJson::brightness);
}
};
struct ModelConfigFromJson {
double auto_brightness_als_horizon_seconds;
bool enabled;
GlobalCurveFromJson global_curve;
std::string metrics_key;
double model_als_horizon_seconds;
ModelConfigFromJson()
: auto_brightness_als_horizon_seconds(-1.0),
enabled(false),
model_als_horizon_seconds(-1.0) {}
static void RegisterJSONConverter(
base::JSONValueConverter<ModelConfigFromJson>* converter) {
converter->RegisterDoubleField(
"auto_brightness_als_horizon_seconds",
&ModelConfigFromJson::auto_brightness_als_horizon_seconds);
converter->RegisterBoolField("enabled", &ModelConfigFromJson::enabled);
converter->RegisterNestedField("global_curve",
&ModelConfigFromJson::global_curve);
converter->RegisterStringField("metrics_key",
&ModelConfigFromJson::metrics_key);
converter->RegisterDoubleField(
"model_als_horizon_seconds",
&ModelConfigFromJson::model_als_horizon_seconds);
}
};
} // namespace
ModelConfigLoaderImpl::ModelConfigLoaderImpl()
: ModelConfigLoaderImpl(
base::FilePath(
"/usr/share/chromeos-assets/autobrightness/model_params.json"),
base::CreateSequencedTaskRunner(
{base::ThreadPool(), base::TaskPriority::USER_VISIBLE,
base::MayBlock(),
base::TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN}),
false /* is_testing */) {}
ModelConfigLoaderImpl::~ModelConfigLoaderImpl() {
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
}
void ModelConfigLoaderImpl::AddObserver(ModelConfigLoader::Observer* observer) {
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
DCHECK(observer);
observers_.AddObserver(observer);
if (is_initialized_) {
observer->OnModelConfigLoaded(
is_model_config_valid_ ? base::Optional<ModelConfig>(model_config_)
: base::nullopt);
}
}
void ModelConfigLoaderImpl::RemoveObserver(
ModelConfigLoader::Observer* observer) {
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
DCHECK(observer);
observers_.RemoveObserver(observer);
}
std::unique_ptr<ModelConfigLoaderImpl> ModelConfigLoaderImpl::CreateForTesting(
const base::FilePath& model_params_path,
scoped_refptr<base::SequencedTaskRunner> blocking_task_runner) {
return base::WrapUnique(new ModelConfigLoaderImpl(
model_params_path, blocking_task_runner, true /* is_testing */));
}
ModelConfigLoaderImpl::ModelConfigLoaderImpl(
const base::FilePath& model_params_path,
scoped_refptr<base::SequencedTaskRunner> blocking_task_runner,
bool is_testing)
: model_params_path_(model_params_path),
blocking_task_runner_(blocking_task_runner),
is_testing_(is_testing) {
Init();
}
void ModelConfigLoaderImpl::Init() {
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
base::PostTaskAndReplyWithResult(
blocking_task_runner_.get(), FROM_HERE,
base::BindOnce(&LoadModelParamsFromDisk, model_params_path_, is_testing_),
base::BindOnce(&ModelConfigLoaderImpl::OnModelParamsLoadedFromDisk,
weak_ptr_factory_.GetWeakPtr()));
}
void ModelConfigLoaderImpl::InitFromParams() {
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
model_config_.auto_brightness_als_horizon_seconds =
GetFieldTrialParamByFeatureAsInt(
features::kAutoScreenBrightness,
"auto_brightness_als_horizon_seconds",
model_config_.auto_brightness_als_horizon_seconds);
model_config_.enabled = GetFieldTrialParamByFeatureAsBool(
features::kAutoScreenBrightness, "enabled", model_config_.enabled);
model_config_.model_als_horizon_seconds = GetFieldTrialParamByFeatureAsInt(
features::kAutoScreenBrightness, "model_als_horizon_seconds",
model_config_.model_als_horizon_seconds);
const std::string global_curve = GetFieldTrialParamValueByFeature(
features::kAutoScreenBrightness, "global_curve");
if (global_curve.empty()) {
OnInitializationComplete();
return;
}
base::StringPairs key_value_pairs;
if (!base::SplitStringIntoKeyValuePairs(global_curve, ':', ',',
&key_value_pairs)) {
OnInitializationComplete();
return;
}
std::vector<double> log_lux;
std::vector<double> brightness;
for (const auto& key_value : key_value_pairs) {
double log_lux_val = 0;
if (!base::StringToDouble(key_value.first, &log_lux_val)) {
OnInitializationComplete();
return;
}
double brightness_val = 0;
if (!base::StringToDouble(key_value.second, &brightness_val)) {
OnInitializationComplete();
return;
}
log_lux.push_back(log_lux_val);
brightness.push_back(brightness_val);
}
model_config_.log_lux = log_lux;
model_config_.brightness = brightness;
OnInitializationComplete();
}
void ModelConfigLoaderImpl::OnModelParamsLoadedFromDisk(
const std::string& content) {
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
if (content.empty()) {
InitFromParams();
return;
}
base::Optional<base::Value> value = base::JSONReader::Read(content);
if (!value) {
InitFromParams();
return;
}
base::JSONValueConverter<ModelConfigFromJson> converter;
ModelConfigFromJson loaded_model_configs;
if (!converter.Convert(*value, &loaded_model_configs)) {
InitFromParams();
return;
}
model_config_.auto_brightness_als_horizon_seconds =
loaded_model_configs.auto_brightness_als_horizon_seconds;
model_config_.enabled = loaded_model_configs.enabled;
std::vector<double> log_lux;
for (const auto& log_lux_val : loaded_model_configs.global_curve.log_lux) {
DCHECK(log_lux_val);
model_config_.log_lux.push_back(*log_lux_val);
}
std::vector<double> brightness;
for (const auto& brightness_val :
loaded_model_configs.global_curve.brightness) {
DCHECK(brightness_val);
model_config_.brightness.push_back(*brightness_val);
}
model_config_.metrics_key = loaded_model_configs.metrics_key;
model_config_.model_als_horizon_seconds =
loaded_model_configs.model_als_horizon_seconds;
InitFromParams();
}
void ModelConfigLoaderImpl::OnInitializationComplete() {
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
is_model_config_valid_ = IsValidModelConfig(model_config_);
is_initialized_ = true;
for (auto& observer : observers_) {
observer.OnModelConfigLoaded(
is_model_config_valid_ ? base::Optional<ModelConfig>(model_config_)
: base::nullopt);
}
}
} // namespace auto_screen_brightness
} // namespace power
} // namespace chromeos
| [
"pcding@ucdavis.edu"
] | pcding@ucdavis.edu |
e9cba9de02eb5ca8c6c4e96ef6609f8e6797c2d2 | 05888c37075feb7a30d482b994478bcd5559239b | /MainObject.cpp | 47b2d7db31099e0ed9cd007ac2067e7e18353688 | [] | no_license | leanhduc123/CrossTheRoad | b39b90c744ec8b19dba0ec35cc726e00104d1595 | d812afadfd08c7b7d4c0573a3914c9520fcc8993 | refs/heads/master | 2020-05-18T19:21:17.408643 | 2019-05-02T15:45:55 | 2019-05-02T15:45:55 | 184,606,671 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,994 | cpp | #include "stdafx.h"
#include "MainObject.h"
MainObject::MainObject()
{
x_val = 0;
y_val = 0;
x_pos = 0;
y_pos = 0;
x1 = 0;
x2 = 0;
y1 = 0;
y2 = 0;
status = -1;
input_type.down_ = 0;
input_type.left_ = 0;
input_type.right_ = 0;
input_type.up_ = 0;
score = 0;
}
MainObject::~MainObject()
{
}
bool MainObject::LoadImg(std::string path, SDL_Renderer* screen)
{
bool ret = BaseObject::LoadImg(path, screen);
return ret;
}
void MainObject::Show(SDL_Renderer* des)
{
if (status == Walk_Left)
{
LoadImg("human/testman_left.png", des);
}
else
{
LoadImg("human/testman.png", des);
}
rect_.x = x_pos;
rect_.y = y_pos;
SDL_Rect renderQuad = { rect_.x, rect_.y, HUMAN_SIZE, HUMAN_SIZE };
SDL_RenderCopy(des, p_object, NULL, &renderQuad);
}
void MainObject::HandleInputAction(SDL_Event events, SDL_Renderer* screen)
{
if (events.type == SDL_KEYDOWN)
{
switch (events.key.keysym.sym)
{
case SDLK_RIGHT :
{
status = Walk_Right;
input_type.right_ = 1;
input_type.left_ = 0;
}
break;
case SDLK_LEFT:
{
status = Walk_Left;
input_type.right_ = 0;
input_type.left_ = 1;
}
break;
case SDLK_UP:
{
input_type.up_ = 1;
input_type.down_ = 0;
}
break;
case SDLK_DOWN:
{
input_type.down_ = 1;
input_type.up_ = 0;
}
default:
break;
}
}
else if (events.type == SDL_KEYUP)
{
switch (events.key.keysym.sym)
{
case SDLK_RIGHT:
{
input_type.right_ = 0;
}
break;
case SDLK_LEFT:
{
input_type.left_ = 0;
}
break;
case SDLK_UP:
{
input_type.up_ = 0;
}
break;
case SDLK_DOWN:
{
input_type.down_ = 0;
}
break;
default:
break;
}
}
}
void MainObject::DoPlayer(Map& map_data, Mix_Chunk* coin_sound)
{
x_val = 0;
y_val = 0;
if (input_type.right_ == 1)
{
x_val += 0.5 + float(score) / 100;
}
else if (input_type.left_ == 1)
{
x_val -= 0.5 + float(score) / 100;
}
else if (input_type.down_ == 1)
{
y_val += 0.5 + float(score) / 100;
}
else if (input_type.up_ == 1)
{
y_val -= 0.5 + float(score) / 100;
}
x_pos += x_val;
y_pos += y_val;
ChecktoMap(map_data, coin_sound);
}
void MainObject::ChecktoMap(Map& map_data, Mix_Chunk* coin_sound)
{
if (x_pos >= SCREEN_WIDTH + HUMAN_SIZE)
{
x_pos = -HUMAN_SIZE;
}
else if (x_pos < -HUMAN_SIZE)
{
x_pos = 1000;
}
if (y_pos >= SCREEN_HEIGHT - HUMAN_SIZE)
{
y_pos = SCREEN_HEIGHT - HUMAN_SIZE;
}
else if (y_pos <= 0)
{
y_pos = 0;
}
x1 = x_pos / TILE_SIZE;
y1 = y_pos / TILE_SIZE;
x2 = (x_pos + HUMAN_SIZE) / TILE_SIZE;
y2 = (y_pos + HUMAN_SIZE) / TILE_SIZE;
bool hit = false;
if (map_data.tile[y1][x1] == 2 && x_pos < x1*TILE_SIZE + 30 && y_pos < y1*TILE_SIZE + 30)
{
map_data.tile[y1][x1] = 1;
hit = true;
}
if (map_data.tile[y1][x2] == 2 && x_pos > x2*TILE_SIZE + 5 && y_pos < y1*TILE_SIZE + 30)
{
map_data.tile[y1][x2] = 1;
hit = true;
}
if (map_data.tile[y2][x1] == 2 && x_pos < x1*TILE_SIZE + 30 && y_pos > y2*TILE_SIZE + 5)
{
map_data.tile[y2][x1] = 1;
hit = true;
}
if (map_data.tile[y2][x2] == 2 && x_pos > x2*TILE_SIZE + 5 && y_pos > y2*TILE_SIZE + 5)
{
map_data.tile[y2][x2] = 1;
hit = true;
}
if (hit)
{
score++;
int ret = Mix_PlayChannel(-1,coin_sound, 0);
Reset_coin(map_data);
}
}
void MainObject::Reset_coin(Map& mapdata)
{
int i = rand() % 15 + 2;
int j = rand() % 20 + 1;
mapdata.tile[i][j] = 2;
}
SDL_Rect MainObject::GetRect()
{
SDL_Rect rect;
rect.x = x_pos;
rect.y = y_pos;
rect.w = HUMAN_SIZE;
rect.h = HUMAN_SIZE;
return rect;
}
void MainObject::Restart()
{
x_val = 0;
y_val = 0;
x_pos = 0;
y_pos = 0;
x1 = 0;
x2 = 0;
y1 = 0;
y2 = 0;
status = -1;
input_type.down_ = 0;
input_type.left_ = 0;
input_type.right_ = 0;
input_type.up_ = 0;
score = 0;
} | [
"noreply@github.com"
] | leanhduc123.noreply@github.com |
432e245a429ed722d48124c5a40403a89c40d2bd | f10c4172dd0b7245cc1d196c8fe8a8d21ec541b1 | /src/states/gamestate.cpp | c35ad1847b7f6a5f6b2fc384352f00b09fa32e25 | [] | no_license | gered/MyGameFramework | 52230b38b0f1d8fa42ee51d4757b3a62f7c50361 | 9b9404724e48ca9441ba301ba6548b93e794ae93 | refs/heads/master | 2016-09-05T09:47:58.024870 | 2013-04-03T16:30:24 | 2013-04-03T16:30:24 | 7,942,357 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,700 | cpp | #include "../framework/debug.h"
#include "gamestate.h"
#include "statemanager.h"
#include "../gameapp.h"
#include "../effects/effectmanager.h"
#include "../events/eventlistenerex.h"
#include "../processes/processmanager.h"
GameState::GameState(GameApp *gameApp, StateManager *stateManager)
: EventListenerEx(gameApp->GetEventManager())
{
ASSERT(gameApp != NULL);
ASSERT(stateManager != NULL);
m_gameApp = gameApp;
m_stateManager = stateManager;
m_effectManager = new EffectManager();
m_processManager = new ProcessManager(this);
m_isFinished = false;
m_returnValue = 0;
m_hasReturnValue = false;
}
GameState::~GameState()
{
SAFE_DELETE(m_effectManager);
SAFE_DELETE(m_processManager);
}
void GameState::OnPush()
{
}
void GameState::OnPop()
{
}
void GameState::OnPause(bool dueToOverlay)
{
m_processManager->OnPause(dueToOverlay);
}
void GameState::OnResume(bool fromOverlay)
{
m_processManager->OnResume(fromOverlay);
}
void GameState::OnAppGainFocus()
{
m_processManager->OnAppGainFocus();
m_effectManager->OnAppGainFocus();
}
void GameState::OnAppLostFocus()
{
m_processManager->OnAppLostFocus();
m_effectManager->OnAppLostFocus();
}
void GameState::OnAppPause()
{
m_processManager->OnAppPause();
m_effectManager->OnAppPause();
}
void GameState::OnAppResume()
{
m_processManager->OnAppResume();
m_effectManager->OnAppResume();
}
void GameState::OnLostContext()
{
m_processManager->OnLostContext();
m_effectManager->OnLostContext();
}
void GameState::OnNewContext()
{
m_processManager->OnNewContext();
m_effectManager->OnNewContext();
}
void GameState::OnRender(RenderContext *renderContext)
{
// switch it up and do effects before processes here so that processes
// (which would commonly be used for UI overlay elements) don't get
// overwritten by local effects (e.g. flashes, etc.)
m_effectManager->OnRenderLocal(renderContext);
m_processManager->OnRender(renderContext);
}
void GameState::OnResize()
{
m_processManager->OnResize();
m_effectManager->OnResize();
}
void GameState::OnUpdate(float delta)
{
m_processManager->OnUpdate(delta);
m_effectManager->OnUpdate(delta);
}
bool GameState::OnTransition(float delta, bool isTransitioningOut, bool started)
{
return true;
}
bool GameState::Handle(const Event *event)
{
return false;
}
bool GameState::IsTransitioning() const
{
return m_stateManager->IsTransitioning(this);
}
bool GameState::IsTopState() const
{
return m_stateManager->IsTop(this);
}
void GameState::SetFinished()
{
m_isFinished = true;
m_returnValue = 0;
m_hasReturnValue = false;
}
void GameState::SetFinished(int returnValue)
{
m_isFinished = true;
m_returnValue = returnValue;
m_hasReturnValue = true;
}
| [
"gered@blarg.ca"
] | gered@blarg.ca |
c1b4dfa3ca16622c6c298ebda8425d271b8a7620 | 3274eafd27f91448ab6651bdede969ab31197bf0 | /include/meliorate/meliorate.h | 3ea31af4c3926c4a5974c62191c004d77df81679 | [
"MPL-2.0"
] | permissive | diwalkerdev/Meliorate | 9606264340a70dd0a14c316a89f39d079dec585f | 278ecc692b5763071ce0b20c8832fa49617985d0 | refs/heads/master | 2022-11-17T23:45:18.285314 | 2020-07-16T22:24:50 | 2020-07-16T22:24:50 | 51,037,990 | 0 | 0 | MIT | 2020-07-16T22:15:44 | 2016-02-03T23:19:45 | C++ | UTF-8 | C++ | false | false | 1,398 | h | #ifndef MELIORATE_H
#define MELIORATE_H
#include <stdio.h>
#include <iostream>
#include <exception>
extern int MELIORATE_NUM_TEST_FUNCTIONS;
extern void (*meliorate_test_functions[])();
extern const char* meliorate_test_names[];
extern bool meliorate_stop_on_error;
template <typename T>
void meliorate_handle_exception(T const& exception)
{
std::cerr << exception.what() << std::endl;
}
template <typename T>
int meliorate_run()
{
bool was_exception;
int tests_failed_counter = 0;
for (int i=0; i < MELIORATE_NUM_TEST_FUNCTIONS; ++i)
{
was_exception = false;
printf("[RUN ] %s\n", meliorate_test_names[i]);
try
{
(*meliorate_test_functions[i])();
}
catch(T const& the_exception)
{
was_exception = true;
++tests_failed_counter;
meliorate_handle_exception(the_exception);
printf("[ FAILED]\n");
if (meliorate_stop_on_error)
{
break;
}
}
if (!was_exception)
{
printf("[ PASSED]\n");
}
}
if (tests_failed_counter)
{
printf("%d tests FAILED out of %d\n", tests_failed_counter, MELIORATE_NUM_TEST_FUNCTIONS);
}
else
{
printf("All tests passed.\n");
}
return tests_failed_counter;
}
#endif | [
"dwalker0044@gmail.com"
] | dwalker0044@gmail.com |
d571b1a9772501ffceb3c50fd822400c3036e99c | 415646a3b772a9cb9a8ed36f18823a450dc1e84d | /components/stellator/db/extensions/STFieldPoint.cc | 48025146b8f9a6c630d34890accb5dea9228c3cd | [
"MIT",
"BSD-3-Clause"
] | permissive | wangscript007/stappler | 6dcaf8a31487847aa8c731211f2e571ac461185b | cbc5925fe3ba7177c57852e09ca48e3dae9bc832 | refs/heads/master | 2022-12-19T01:43:18.912124 | 2020-09-06T22:44:03 | 2020-09-07T00:57:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,451 | cc | /**
Copyright (c) 2019 Roman Katuntsev <sbkarr@stappler.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.
**/
#include "STFieldPoint.h"
NS_DB_BEGIN
bool FieldPoint::transformValue(const db::Scheme &, const mem::Value &obj, mem::Value &val, bool isCreate) const {
if (val.isArray() && val.size() == 2 && val.isDouble(0) && val.isDouble(1)) {
return true;
}
return false;
}
mem::Value FieldPoint::readFromStorage(db::ResultInterface &iface, size_t row, size_t field) const {
if (iface.isBinaryFormat(field)) {
auto r = stappler::BytesViewNetwork(iface.toBytes(row, field));
if (r.size() == 16) {
auto x = r.readFloat64();
auto y = r.readFloat64();
return mem::Value({
mem::Value(x),
mem::Value(y),
});
}
}
return mem::Value();
}
bool FieldPoint::writeToStorage(db::QueryInterface &iface, mem::StringStream &query, const mem::Value &val) const {
if (val.isArray() && val.size() == 2 && val.isDouble(0) && val.isDouble(1)) {
query << std::setprecision(std::numeric_limits<double>::max_digits10) << "point(" << val.getDouble(0) << "," << val.getDouble(1) << ")";
return true;
}
return false;
}
mem::StringView FieldPoint::getTypeName() const {
return "point";
}
bool FieldPoint::isSimpleLayout() const {
return true;
}
bool FieldPoint::isComparationAllowed(stappler::sql::Comparation c) const {
return c == db::Comparation::Includes || c == db::Comparation::Equal || c == db::Comparation::In;
}
void FieldPoint::writeQuery(const db::Scheme &s, stappler::sql::Query<db::Binder, mem::Interface>::WhereContinue &whi, stappler::sql::Operator op,
const mem::StringView &f, stappler::sql::Comparation cmp, const mem::Value &val, const mem::Value &) const {
if (val.isArray() && val.size() == 4) {
if (whi.state == stappler::sql::Query<db::Binder, mem::Interface>::State::None) {
whi.state = stappler::sql::Query<db::Binder, mem::Interface>::State::Some;
} else {
Query_writeOperator(whi.query->getStream(), op);
}
auto &stream = whi.query->getStream();
stream << "(" << s.getName() << ".\"" << f << "\" <@ box '("
<< std::setprecision(std::numeric_limits<double>::max_digits10)
<< val.getDouble(0) << "," << val.getDouble(1) << "),(" << val.getDouble(2) << "," << val.getDouble(3) << ")')";
}
}
mem::String FieldPoint::getIndexName() const { return mem::toString(name, "_gist_point"); }
mem::String FieldPoint::getIndexField() const { return mem::toString("USING GIST( \"", name, "\")"); }
NS_DB_END
| [
"sbkarr@stappler.org"
] | sbkarr@stappler.org |
4350c08d720bd3d50b46d9f60df63f3a52bcd4c0 | ddf699ede86a2936fc3ac151c2c6784f60fd1ef3 | /fn_Sandbox/Temp/StagingArea/Data/il2cppOutput/Bulk_mscorlib_0.cpp | 1492afa9b82c7909ff9ef65d4fa00c5be4e39d58 | [] | no_license | 0000101010b/fn_SandBox | f48d0a6b236289f7e88b7af8bf258b99a32911f8 | 431f3a1bd24b4ee21c6acd5a0cd9d574a9903824 | refs/heads/master | 2021-05-01T02:22:16.010791 | 2017-01-24T14:26:42 | 2017-01-24T14:26:42 | 79,918,625 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,529,390 | 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.String
struct String_t;
// System.Object[]
struct ObjectU5BU5D_t3614634134;
// Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
struct SafeHandleZeroOrMinusOneIsInvalid_t1177681199;
// Microsoft.Win32.SafeHandles.SafeWaitHandle
struct SafeWaitHandle_t481461830;
// Mono.Globalization.Unicode.CodePointIndexer
struct CodePointIndexer_t1073906970;
// System.Int32[]
struct Int32U5BU5D_t3030399641;
// Mono.Globalization.Unicode.Contraction
struct Contraction_t1673853792;
// System.Char[]
struct CharU5BU5D_t1328083999;
// System.Byte[]
struct ByteU5BU5D_t3397334013;
// Mono.Globalization.Unicode.ContractionComparer
struct ContractionComparer_t1150321365;
// System.Object
struct Il2CppObject;
// Mono.Globalization.Unicode.Level2Map
struct Level2Map_t3322505726;
// Mono.Globalization.Unicode.Level2MapComparer
struct Level2MapComparer_t914717527;
// Mono.Globalization.Unicode.TailoringInfo
struct TailoringInfo_t1449609243;
// System.Globalization.CultureInfo
struct CultureInfo_t3500843524;
// Mono.Globalization.Unicode.Contraction[]
struct ContractionU5BU5D_t4233480993;
// Mono.Globalization.Unicode.Level2Map[]
struct Level2MapU5BU5D_t2838259787;
// Mono.Globalization.Unicode.SimpleCollator
struct SimpleCollator_t4081201584;
// System.Globalization.SortKey
struct SortKey_t1270563137;
// Mono.Globalization.Unicode.SortKeyBuffer
struct SortKeyBuffer_t1759538423;
// Mono.Math.BigInteger
struct BigInteger_t925946152;
// System.Security.Cryptography.RandomNumberGenerator
struct RandomNumberGenerator_t2510243513;
// Mono.Math.BigInteger[]
struct BigIntegerU5BU5D_t3157146937;
// System.UInt32[]
struct UInt32U5BU5D_t59386216;
// Mono.Math.BigInteger/ModulusRing
struct ModulusRing_t80355991;
// Mono.Math.Prime.Generator.PrimeGeneratorBase
struct PrimeGeneratorBase_t1053438167;
// Mono.Math.Prime.PrimalityTest
struct PrimalityTest_t572679901;
// Mono.Math.Prime.Generator.SequentialSearchPrimeGeneratorBase
struct SequentialSearchPrimeGeneratorBase_t463670656;
// System.IAsyncResult
struct IAsyncResult_t1999651008;
// System.AsyncCallback
struct AsyncCallback_t163412349;
// Mono.Security.ASN1
struct ASN1_t924533535;
// Mono.Security.Cryptography.BlockProcessor
struct BlockProcessor_t3158419191;
// System.Security.Cryptography.ICryptoTransform
struct ICryptoTransform_t281704372;
// System.Security.Cryptography.RSA
struct RSA_t3719518354;
// Mono.Security.Cryptography.DSAManaged
struct DSAManaged_t892502321;
// Mono.Security.Cryptography.DSAManaged/KeyGeneratedEventHandler
struct KeyGeneratedEventHandler_t2001522803;
// System.EventArgs
struct EventArgs_t3289624707;
// Mono.Security.Cryptography.KeyPairPersistence
struct KeyPairPersistence_t3637935872;
// System.Security.Cryptography.CspParameters
struct CspParameters_t46065560;
// Mono.Security.Cryptography.MACAlgorithm
struct MACAlgorithm_t2739465458;
// System.Security.Cryptography.SymmetricAlgorithm
struct SymmetricAlgorithm_t1108166522;
// System.Security.Cryptography.HashAlgorithm
struct HashAlgorithm_t2624936259;
// Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo
struct EncryptedPrivateKeyInfo_t1722354997;
// Mono.Security.Cryptography.PKCS8/PrivateKeyInfo
struct PrivateKeyInfo_t92917103;
// System.Security.Cryptography.DSA
struct DSA_t903174880;
// Mono.Security.Cryptography.RSAManaged
struct RSAManaged_t3034748747;
// Mono.Security.Cryptography.RSAManaged/KeyGeneratedEventHandler
struct KeyGeneratedEventHandler_t108853709;
// Mono.Security.Cryptography.SymmetricTransform
struct SymmetricTransform_t1394030013;
// Mono.Security.PKCS7/ContentInfo
struct ContentInfo_t1443605387;
// Mono.Security.PKCS7/EncryptedData
struct EncryptedData_t2656813772;
// Mono.Security.StrongName
struct StrongName_t117835354;
// Mono.Security.X509.PKCS12
struct PKCS12_t1362584794;
// Mono.Security.X509.X509CertificateCollection
struct X509CertificateCollection_t3592472865;
// Mono.Security.X509.X509Certificate
struct X509Certificate_t324051957;
// System.Collections.IDictionary
struct IDictionary_t596158605;
// Mono.Security.X509.PKCS12/DeriveBytes
struct DeriveBytes_t1740753016;
// Mono.Security.X509.SafeBag
struct SafeBag_t2166702855;
// System.Text.StringBuilder
struct StringBuilder_t1221177846;
// System.Runtime.Serialization.SerializationInfo
struct SerializationInfo_t228987430;
// System.Collections.IEnumerator
struct IEnumerator_t1466026749;
// Mono.Security.X509.X509CertificateCollection/X509CertificateEnumerator
struct X509CertificateEnumerator_t3487770522;
// Mono.Security.X509.X509Extension
struct X509Extension_t1439760127;
// Mono.Security.X509.X509ExtensionCollection
struct X509ExtensionCollection_t1640144839;
// Mono.Xml.SecurityParser
struct SecurityParser_t30730985;
// System.Security.SecurityElement
struct SecurityElement_t2325568386;
// Mono.Xml.SmallXmlParser
struct SmallXmlParser_t3549787957;
// Mono.Xml.SmallXmlParser/IAttrList
struct IAttrList_t4064541270;
// System.Exception
struct Exception_t1927440687;
// System.IO.TextReader
struct TextReader_t1561828458;
// Mono.Xml.SmallXmlParser/IContentHandler
struct IContentHandler_t3823912562;
// Mono.Xml.SmallXmlParser/AttrListImpl
struct AttrListImpl_t4015491015;
// System.String[]
struct StringU5BU5D_t1642385972;
// Mono.Xml.SmallXmlParserException
struct SmallXmlParserException_t2094031034;
// System.__Il2CppComObject
struct Il2CppComObject;
// System.AccessViolationException
struct AccessViolationException_t182079320;
// System.ActivationContext
struct ActivationContext_t1572332809;
// System.Type
struct Type_t;
// System.Reflection.Binder
struct Binder_t3404612058;
// System.AppDomain
struct AppDomain_t2719102437;
// System.Reflection.Assembly
struct Assembly_t4268412390;
// System.Security.Policy.Evidence
struct Evidence_t1407710183;
// System.Runtime.Remoting.Contexts.Context
struct Context_t502196753;
// System.AppDomainInitializer
struct AppDomainInitializer_t3898244613;
// System.AppDomainSetup
struct AppDomainSetup_t611332832;
// System.ApplicationException
struct ApplicationException_t474868623;
// System.ApplicationIdentity
struct ApplicationIdentity_t3292367950;
// System.ArgumentException
struct ArgumentException_t3259014390;
// System.ArgumentNullException
struct ArgumentNullException_t628810857;
// System.ArgumentOutOfRangeException
struct ArgumentOutOfRangeException_t279959794;
// System.ArithmeticException
struct ArithmeticException_t3261462543;
#include "class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "mscorlib_System_Array3829468939.h"
#include "mscorlib_U3CModuleU3E3783534214.h"
#include "mscorlib_U3CModuleU3E3783534214MethodDeclarations.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E1486305137.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E1486305137MethodDeclarations.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr2672183894.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr2672183894MethodDeclarations.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr3672778802.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr3672778802MethodDeclarations.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arra116038562.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arra116038562MethodDeclarations.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arra116038558.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arra116038558MethodDeclarations.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arra116038554.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arra116038554MethodDeclarations.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr2844921915.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr2844921915MethodDeclarations.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr1703410334.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr1703410334MethodDeclarations.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arra540610921.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arra540610921MethodDeclarations.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arra702815517.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arra702815517MethodDeclarations.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr2866209749.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr2866209749MethodDeclarations.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr2038352954.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr2038352954MethodDeclarations.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr1892466092.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr1892466092MethodDeclarations.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr3672778804.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr3672778804MethodDeclarations.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arra896841275.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arra896841275MethodDeclarations.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr3672778798.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr3672778798MethodDeclarations.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr1703410330.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr1703410330MethodDeclarations.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr2866209745.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr2866209745MethodDeclarations.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr3604436769.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr3604436769MethodDeclarations.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr3672778800.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr3672778800MethodDeclarations.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr1957337327.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr1957337327MethodDeclarations.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr1703410326.h"
#include "mscorlib_U3CPrivateImplementationDetailsU3E_U24Arr1703410326MethodDeclarations.h"
#include "mscorlib_Locale4255929014.h"
#include "mscorlib_Locale4255929014MethodDeclarations.h"
#include "mscorlib_System_String2029220233.h"
#include "mscorlib_ArrayTypes.h"
#include "mscorlib_System_Object2689449295.h"
#include "mscorlib_System_String2029220233MethodDeclarations.h"
#include "mscorlib_Microsoft_Win32_SafeHandles_SafeHandleZer1177681199.h"
#include "mscorlib_Microsoft_Win32_SafeHandles_SafeHandleZer1177681199MethodDeclarations.h"
#include "mscorlib_System_Void1841601450.h"
#include "mscorlib_System_Boolean3825574718.h"
#include "mscorlib_System_IntPtr2504060609MethodDeclarations.h"
#include "mscorlib_System_Runtime_InteropServices_SafeHandle2733794115MethodDeclarations.h"
#include "mscorlib_System_IntPtr2504060609.h"
#include "mscorlib_System_Int322071877448.h"
#include "mscorlib_System_Runtime_InteropServices_SafeHandle2733794115.h"
#include "mscorlib_Microsoft_Win32_SafeHandles_SafeWaitHandle481461830.h"
#include "mscorlib_Microsoft_Win32_SafeHandles_SafeWaitHandle481461830MethodDeclarations.h"
#include "mscorlib_System_Threading_NativeEventCalls1850675218MethodDeclarations.h"
#include "mscorlib_Mono_Globalization_Unicode_CodePointIndex1073906970.h"
#include "mscorlib_Mono_Globalization_Unicode_CodePointIndex1073906970MethodDeclarations.h"
#include "mscorlib_System_Object2689449295MethodDeclarations.h"
#include "mscorlib_Mono_Globalization_Unicode_CodePointIndex2011406615.h"
#include "mscorlib_Mono_Globalization_Unicode_CodePointIndex2011406615MethodDeclarations.h"
#include "mscorlib_Mono_Globalization_Unicode_Contraction1673853792.h"
#include "mscorlib_Mono_Globalization_Unicode_Contraction1673853792MethodDeclarations.h"
#include "mscorlib_System_Char3454481338.h"
#include "mscorlib_System_Byte3683104436.h"
#include "mscorlib_Mono_Globalization_Unicode_ContractionCom1150321365.h"
#include "mscorlib_Mono_Globalization_Unicode_ContractionCom1150321365MethodDeclarations.h"
#include "mscorlib_Mono_Globalization_Unicode_Level2Map3322505726.h"
#include "mscorlib_Mono_Globalization_Unicode_Level2Map3322505726MethodDeclarations.h"
#include "mscorlib_Mono_Globalization_Unicode_Level2MapCompar914717527.h"
#include "mscorlib_Mono_Globalization_Unicode_Level2MapCompar914717527MethodDeclarations.h"
#include "mscorlib_Mono_Globalization_Unicode_MSCompatUnicod1231687219.h"
#include "mscorlib_Mono_Globalization_Unicode_MSCompatUnicod1231687219MethodDeclarations.h"
#include "mscorlib_Mono_Globalization_Unicode_TailoringInfo1449609243MethodDeclarations.h"
#include "mscorlib_System_UInt322149682021.h"
#include "mscorlib_Mono_Globalization_Unicode_TailoringInfo1449609243.h"
#include "mscorlib_System_Globalization_CultureInfo3500843524.h"
#include "mscorlib_System_Collections_ArrayList4252133567MethodDeclarations.h"
#include "mscorlib_System_Runtime_InteropServices_Marshal785896760MethodDeclarations.h"
#include "mscorlib_System_NotImplementedException2785117854MethodDeclarations.h"
#include "mscorlib_System_Type1303803226MethodDeclarations.h"
#include "mscorlib_System_Collections_ArrayList4252133567.h"
#include "mscorlib_System_Globalization_CultureInfo3500843524MethodDeclarations.h"
#include "mscorlib_System_NotImplementedException2785117854.h"
#include "mscorlib_System_Type1303803226.h"
#include "mscorlib_System_RuntimeTypeHandle2330101084.h"
#include "mscorlib_System_Collections_Generic_Dictionary_2_g3986656710MethodDeclarations.h"
#include "mscorlib_System_Collections_Generic_Dictionary_2_g3986656710.h"
#include "mscorlib_Mono_Globalization_Unicode_MSCompatUnicod2040269023.h"
#include "mscorlib_Mono_Globalization_Unicode_MSCompatUnicod2040269023MethodDeclarations.h"
#include "mscorlib_System_Char3454481338MethodDeclarations.h"
#include "mscorlib_System_Globalization_UnicodeCategory682236799.h"
#include "mscorlib_System_Reflection_Assembly4268412390MethodDeclarations.h"
#include "mscorlib_System_Reflection_Module4282841206.h"
#include "mscorlib_System_Reflection_Assembly4268412390.h"
#include "mscorlib_System_Threading_Monitor3228523394MethodDeclarations.h"
#include "mscorlib_System_Runtime_CompilerServices_RuntimeHel266230107MethodDeclarations.h"
#include "mscorlib_System_RuntimeFieldHandle2331729674.h"
#include "mscorlib_Mono_Globalization_Unicode_SimpleCollator4081201584.h"
#include "mscorlib_Mono_Globalization_Unicode_SimpleCollator4081201584MethodDeclarations.h"
#include "mscorlib_System_Globalization_TextInfo3620182823.h"
#include "mscorlib_System_Environment3662374671MethodDeclarations.h"
#include "mscorlib_Mono_Globalization_Unicode_SimpleCollator1556892101.h"
#include "mscorlib_System_Globalization_CompareOptions2829943955.h"
#include "mscorlib_System_SystemException3877406272MethodDeclarations.h"
#include "mscorlib_System_SystemException3877406272.h"
#include "mscorlib_System_Globalization_TextInfo3620182823MethodDeclarations.h"
#include "mscorlib_System_Globalization_SortKey1270563137.h"
#include "mscorlib_Mono_Globalization_Unicode_SortKeyBuffer1759538423MethodDeclarations.h"
#include "mscorlib_Mono_Globalization_Unicode_SortKeyBuffer1759538423.h"
#include "mscorlib_Mono_Globalization_Unicode_SimpleCollator2636657155.h"
#include "mscorlib_Mono_Globalization_Unicode_SimpleCollator2636657155MethodDeclarations.h"
#include "mscorlib_Mono_Globalization_Unicode_SimpleCollator_581002487.h"
#include "mscorlib_Mono_Globalization_Unicode_SimpleCollator_169451053.h"
#include "mscorlib_Mono_Globalization_Unicode_SimpleCollator_581002487MethodDeclarations.h"
#include "mscorlib_Mono_Globalization_Unicode_SimpleCollator_169451053MethodDeclarations.h"
#include "mscorlib_Mono_Globalization_Unicode_SimpleCollator1556892101MethodDeclarations.h"
#include "mscorlib_System_Array3829468939MethodDeclarations.h"
#include "mscorlib_System_Globalization_SortKey1270563137MethodDeclarations.h"
#include "mscorlib_Mono_Math_BigInteger925946152.h"
#include "mscorlib_Mono_Math_BigInteger925946152MethodDeclarations.h"
#include "mscorlib_Mono_Math_BigInteger_Sign874893935.h"
#include "mscorlib_System_Security_Cryptography_RandomNumber2510243513.h"
#include "mscorlib_System_Security_Cryptography_RandomNumber2510243513MethodDeclarations.h"
#include "mscorlib_System_Buffer3497320070MethodDeclarations.h"
#include "mscorlib_System_IndexOutOfRangeException3527622107MethodDeclarations.h"
#include "mscorlib_System_IndexOutOfRangeException3527622107.h"
#include "mscorlib_System_ArgumentException3259014390MethodDeclarations.h"
#include "mscorlib_Mono_Math_BigInteger_Kernel1353186455MethodDeclarations.h"
#include "mscorlib_System_ArgumentException3259014390.h"
#include "mscorlib_Mono_Math_BigInteger_ModulusRing80355991MethodDeclarations.h"
#include "mscorlib_Mono_Math_BigInteger_ModulusRing80355991.h"
#include "mscorlib_Mono_Math_Prime_PrimalityTests3283102398MethodDeclarations.h"
#include "mscorlib_Mono_Math_Prime_ConfidenceFactor1997037801.h"
#include "mscorlib_Mono_Math_Prime_Generator_SequentialSearch463670656MethodDeclarations.h"
#include "mscorlib_Mono_Math_Prime_Generator_SequentialSearch463670656.h"
#include "mscorlib_System_ArgumentOutOfRangeException279959794MethodDeclarations.h"
#include "mscorlib_System_ArgumentOutOfRangeException279959794.h"
#include "mscorlib_System_ArithmeticException3261462543MethodDeclarations.h"
#include "mscorlib_System_Exception1927440687MethodDeclarations.h"
#include "mscorlib_System_ArithmeticException3261462543.h"
#include "mscorlib_System_Exception1927440687.h"
#include "mscorlib_Mono_Math_BigInteger_Kernel1353186455.h"
#include "mscorlib_System_UInt642909196914.h"
#include "mscorlib_Mono_Math_BigInteger_Sign874893935MethodDeclarations.h"
#include "mscorlib_Mono_Math_Prime_ConfidenceFactor1997037801MethodDeclarations.h"
#include "mscorlib_Mono_Math_Prime_Generator_PrimeGeneratorB1053438167.h"
#include "mscorlib_Mono_Math_Prime_Generator_PrimeGeneratorB1053438167MethodDeclarations.h"
#include "mscorlib_Mono_Math_Prime_PrimalityTest572679901.h"
#include "mscorlib_Mono_Math_Prime_PrimalityTest572679901MethodDeclarations.h"
#include "mscorlib_Mono_Math_Prime_PrimalityTests3283102398.h"
#include "mscorlib_System_AsyncCallback163412349.h"
#include "mscorlib_Mono_Runtime530188530.h"
#include "mscorlib_Mono_Runtime530188530MethodDeclarations.h"
#include "mscorlib_Mono_Security_ASN1924533535.h"
#include "mscorlib_Mono_Security_ASN1924533535MethodDeclarations.h"
#include "mscorlib_System_NotSupportedException1793819818MethodDeclarations.h"
#include "mscorlib_System_NotSupportedException1793819818.h"
#include "mscorlib_System_Text_StringBuilder1221177846MethodDeclarations.h"
#include "mscorlib_System_Text_StringBuilder1221177846.h"
#include "mscorlib_System_Byte3683104436MethodDeclarations.h"
#include "mscorlib_Mono_Security_ASN1Convert3301846396.h"
#include "mscorlib_Mono_Security_ASN1Convert3301846396MethodDeclarations.h"
#include "mscorlib_Mono_Security_BitConverterLE2825370260MethodDeclarations.h"
#include "mscorlib_System_ArgumentNullException628810857MethodDeclarations.h"
#include "mscorlib_System_Security_Cryptography_CryptoConfig896479599MethodDeclarations.h"
#include "mscorlib_System_ArgumentNullException628810857.h"
#include "mscorlib_System_FormatException2948921286MethodDeclarations.h"
#include "mscorlib_System_FormatException2948921286.h"
#include "mscorlib_System_UInt642909196914MethodDeclarations.h"
#include "mscorlib_System_DateTime693205669.h"
#include "mscorlib_System_Text_Encoding663144255MethodDeclarations.h"
#include "mscorlib_System_Convert2607082565MethodDeclarations.h"
#include "mscorlib_System_DateTime693205669MethodDeclarations.h"
#include "mscorlib_System_Text_Encoding663144255.h"
#include "mscorlib_System_Int164041245914.h"
#include "mscorlib_System_Globalization_DateTimeStyles370343085.h"
#include "mscorlib_Mono_Security_BitConverterLE2825370260.h"
#include "mscorlib_System_BitConverter3195628829.h"
#include "mscorlib_System_BitConverter3195628829MethodDeclarations.h"
#include "mscorlib_System_Single2076509932.h"
#include "mscorlib_System_Double4078015681.h"
#include "mscorlib_Mono_Security_Cryptography_BlockProcessor3158419191.h"
#include "mscorlib_Mono_Security_Cryptography_BlockProcessor3158419191MethodDeclarations.h"
#include "mscorlib_System_Math2022911894MethodDeclarations.h"
#include "mscorlib_Mono_Security_Cryptography_CryptoConvert4146607874.h"
#include "mscorlib_Mono_Security_Cryptography_CryptoConvert4146607874MethodDeclarations.h"
#include "mscorlib_System_Security_Cryptography_RSA3719518354.h"
#include "mscorlib_System_Security_Cryptography_RSAParameter1462703416.h"
#include "mscorlib_System_Security_Cryptography_RSA3719518354MethodDeclarations.h"
#include "mscorlib_System_Security_Cryptography_Cryptographi3349726436MethodDeclarations.h"
#include "mscorlib_System_Security_Cryptography_Cryptographi3349726436.h"
#include "mscorlib_Mono_Security_Cryptography_DSAManaged892502321.h"
#include "mscorlib_Mono_Security_Cryptography_DSAManaged892502321MethodDeclarations.h"
#include "mscorlib_System_Security_Cryptography_DSA903174880MethodDeclarations.h"
#include "mscorlib_System_Security_Cryptography_KeySizes3144736271MethodDeclarations.h"
#include "mscorlib_System_Security_Cryptography_AsymmetricAlg784058677.h"
#include "mscorlib_System_Security_Cryptography_KeySizes3144736271.h"
#include "mscorlib_Mono_Security_Cryptography_DSAManaged_Key2001522803.h"
#include "mscorlib_System_Delegate3022476291MethodDeclarations.h"
#include "mscorlib_System_Delegate3022476291.h"
#include "mscorlib_System_Security_Cryptography_AsymmetricAlg784058677MethodDeclarations.h"
#include "mscorlib_Mono_Security_Cryptography_DSAManaged_Key2001522803MethodDeclarations.h"
#include "mscorlib_System_EventArgs3289624707.h"
#include "mscorlib_System_Security_Cryptography_SHA13336793149MethodDeclarations.h"
#include "mscorlib_System_Security_Cryptography_HashAlgorith2624936259MethodDeclarations.h"
#include "mscorlib_System_Security_Cryptography_SHA13336793149.h"
#include "mscorlib_System_Security_Cryptography_DSAParameter1872138834.h"
#include "mscorlib_System_ObjectDisposedException2695136451MethodDeclarations.h"
#include "mscorlib_System_ObjectDisposedException2695136451.h"
#include "mscorlib_Mono_Security_Cryptography_KeyBuilder3965881084.h"
#include "mscorlib_Mono_Security_Cryptography_KeyBuilder3965881084MethodDeclarations.h"
#include "mscorlib_Mono_Security_Cryptography_KeyPairPersist3637935872.h"
#include "mscorlib_Mono_Security_Cryptography_KeyPairPersist3637935872MethodDeclarations.h"
#include "mscorlib_System_Security_Cryptography_CspParameters46065560.h"
#include "mscorlib_System_IO_Path41728875MethodDeclarations.h"
#include "mscorlib_System_IO_File1930543328MethodDeclarations.h"
#include "mscorlib_System_IO_StreamReader2360341767.h"
#include "mscorlib_System_IO_StreamReader2360341767MethodDeclarations.h"
#include "mscorlib_System_IO_StreamWriter3858580635MethodDeclarations.h"
#include "mscorlib_System_IO_FileStream1695958676.h"
#include "mscorlib_System_IO_StreamWriter3858580635.h"
#include "mscorlib_System_IO_FileMode236403845.h"
#include "mscorlib_System_IO_Stream3255436806.h"
#include "mscorlib_System_IO_Directory3318511961MethodDeclarations.h"
#include "mscorlib_System_Environment_SpecialFolder1519540278.h"
#include "mscorlib_System_IO_DirectoryInfo1934446453.h"
#include "mscorlib_System_OperatingSystem290860502MethodDeclarations.h"
#include "mscorlib_System_OperatingSystem290860502.h"
#include "mscorlib_System_PlatformID1006634368.h"
#include "mscorlib_System_Security_Cryptography_CspParameters46065560MethodDeclarations.h"
#include "mscorlib_System_Security_Cryptography_CspProviderFl105264000.h"
#include "mscorlib_System_Guid2533601593MethodDeclarations.h"
#include "mscorlib_System_Security_Cryptography_MD51507972490MethodDeclarations.h"
#include "mscorlib_System_Security_Cryptography_MD51507972490.h"
#include "mscorlib_System_Guid2533601593.h"
#include "mscorlib_Mono_Xml_SecurityParser30730985MethodDeclarations.h"
#include "mscorlib_System_Security_SecurityElement2325568386MethodDeclarations.h"
#include "mscorlib_Mono_Xml_SecurityParser30730985.h"
#include "mscorlib_System_Security_SecurityElement2325568386.h"
#include "mscorlib_Mono_Security_Cryptography_MACAlgorithm2739465458.h"
#include "mscorlib_Mono_Security_Cryptography_MACAlgorithm2739465458MethodDeclarations.h"
#include "mscorlib_System_Security_Cryptography_SymmetricAlg1108166522.h"
#include "mscorlib_System_Security_Cryptography_SymmetricAlg1108166522MethodDeclarations.h"
#include "mscorlib_System_Security_Cryptography_CipherMode162592484.h"
#include "mscorlib_System_Security_Cryptography_PaddingMode3032142640.h"
#include "mscorlib_Mono_Security_Cryptography_PKCS13312870480.h"
#include "mscorlib_Mono_Security_Cryptography_PKCS13312870480MethodDeclarations.h"
#include "mscorlib_System_Security_Cryptography_HashAlgorith2624936259.h"
#include "mscorlib_Mono_Security_Cryptography_PKCS82103016899.h"
#include "mscorlib_Mono_Security_Cryptography_PKCS82103016899MethodDeclarations.h"
#include "mscorlib_Mono_Security_Cryptography_PKCS8_Encrypte1722354997.h"
#include "mscorlib_Mono_Security_Cryptography_PKCS8_Encrypte1722354997MethodDeclarations.h"
#include "mscorlib_Mono_Security_Cryptography_PKCS8_PrivateKey92917103.h"
#include "mscorlib_Mono_Security_Cryptography_PKCS8_PrivateKey92917103MethodDeclarations.h"
#include "mscorlib_System_Security_Cryptography_RSACryptoSer4229286967MethodDeclarations.h"
#include "mscorlib_System_Security_Cryptography_RSACryptoSer4229286967.h"
#include "mscorlib_System_Security_Cryptography_DSA903174880.h"
#include "mscorlib_Mono_Security_Cryptography_RSAManaged3034748747.h"
#include "mscorlib_Mono_Security_Cryptography_RSAManaged3034748747MethodDeclarations.h"
#include "mscorlib_Mono_Security_Cryptography_RSAManaged_KeyG108853709.h"
#include "mscorlib_Mono_Security_Cryptography_RSAManaged_KeyG108853709MethodDeclarations.h"
#include "mscorlib_Mono_Security_Cryptography_SymmetricTrans1394030013.h"
#include "mscorlib_Mono_Security_Cryptography_SymmetricTrans1394030013MethodDeclarations.h"
#include "mscorlib_System_GC2902933594MethodDeclarations.h"
#include "mscorlib_System_Enum2459695545MethodDeclarations.h"
#include "mscorlib_System_Enum2459695545.h"
#include "mscorlib_Mono_Security_PKCS73223261922.h"
#include "mscorlib_Mono_Security_PKCS73223261922MethodDeclarations.h"
#include "mscorlib_Mono_Security_PKCS7_ContentInfo1443605387.h"
#include "mscorlib_Mono_Security_PKCS7_ContentInfo1443605387MethodDeclarations.h"
#include "mscorlib_Mono_Security_PKCS7_EncryptedData2656813772.h"
#include "mscorlib_Mono_Security_PKCS7_EncryptedData2656813772MethodDeclarations.h"
#include "mscorlib_Mono_Security_StrongName117835354.h"
#include "mscorlib_Mono_Security_StrongName117835354MethodDeclarations.h"
#include "mscorlib_Mono_Security_X509_PKCS121362584794.h"
#include "mscorlib_Mono_Security_X509_PKCS121362584794MethodDeclarations.h"
#include "mscorlib_Mono_Security_X509_X509CertificateCollect3592472865MethodDeclarations.h"
#include "mscorlib_Mono_Security_X509_X509CertificateCollect3592472865.h"
#include "mscorlib_System_Collections_CollectionBase1101587467MethodDeclarations.h"
#include "mscorlib_Mono_Security_X509_SafeBag2166702855MethodDeclarations.h"
#include "mscorlib_Mono_Security_X509_X509Certificate324051957MethodDeclarations.h"
#include "mscorlib_Mono_Security_X509_SafeBag2166702855.h"
#include "mscorlib_System_Collections_CollectionBase1101587467.h"
#include "mscorlib_Mono_Security_X509_X509Certificate324051957.h"
#include "mscorlib_Mono_Security_X509_PKCS12_DeriveBytes1740753016MethodDeclarations.h"
#include "mscorlib_Mono_Security_X509_PKCS12_DeriveBytes1740753016.h"
#include "mscorlib_Mono_Security_X509_X509CertificateCollect3487770522MethodDeclarations.h"
#include "mscorlib_Mono_Security_X509_X509CertificateCollect3487770522.h"
#include "mscorlib_System_Security_Cryptography_HMAC130461695MethodDeclarations.h"
#include "mscorlib_System_Security_Cryptography_HMACSHA11958407246.h"
#include "mscorlib_System_Security_Cryptography_HMAC130461695.h"
#include "mscorlib_Mono_Security_X509_X501349661534.h"
#include "mscorlib_Mono_Security_X509_X501349661534MethodDeclarations.h"
#include "mscorlib_Mono_Security_X509_X509ExtensionCollectio1640144839MethodDeclarations.h"
#include "mscorlib_Mono_Security_X509_X509ExtensionCollectio1640144839.h"
#include "mscorlib_System_Security_Cryptography_DSACryptoSer2915171657MethodDeclarations.h"
#include "mscorlib_System_Security_Cryptography_DSACryptoSer2915171657.h"
#include "mscorlib_System_Runtime_Serialization_Serialization228987430.h"
#include "mscorlib_System_Runtime_Serialization_StreamingCon1417235061.h"
#include "mscorlib_System_Runtime_Serialization_Serialization228987430MethodDeclarations.h"
#include "mscorlib_Mono_Security_X509_X509Extension1439760127.h"
#include "mscorlib_Mono_Security_X509_X509Extension1439760127MethodDeclarations.h"
#include "mscorlib_Mono_Xml_SmallXmlParser3549787957MethodDeclarations.h"
#include "mscorlib_System_Collections_Stack1043988394MethodDeclarations.h"
#include "mscorlib_System_Collections_Stack1043988394.h"
#include "mscorlib_System_IO_StringReader1480123486MethodDeclarations.h"
#include "mscorlib_System_IO_StringReader1480123486.h"
#include "mscorlib_System_IO_TextReader1561828458.h"
#include "mscorlib_Mono_Xml_SmallXmlParser3549787957.h"
#include "mscorlib_Mono_Xml_SmallXmlParser_AttrListImpl4015491015MethodDeclarations.h"
#include "mscorlib_Mono_Xml_SmallXmlParser_AttrListImpl4015491015.h"
#include "mscorlib_Mono_Xml_SmallXmlParserException2094031034MethodDeclarations.h"
#include "mscorlib_Mono_Xml_SmallXmlParserException2094031034.h"
#include "mscorlib_System_IO_TextReader1561828458MethodDeclarations.h"
#include "mscorlib_System___Il2CppComObject4064417062.h"
#include "mscorlib_System___Il2CppComObject4064417062MethodDeclarations.h"
#include "mscorlib_System_AccessViolationException182079320.h"
#include "mscorlib_System_AccessViolationException182079320MethodDeclarations.h"
#include "mscorlib_System_ActivationContext1572332809.h"
#include "mscorlib_System_ActivationContext1572332809MethodDeclarations.h"
#include "mscorlib_System_Activator1850728717.h"
#include "mscorlib_System_Activator1850728717MethodDeclarations.h"
#include "mscorlib_System_Reflection_Binder3404612058MethodDeclarations.h"
#include "mscorlib_System_Reflection_Binder3404612058.h"
#include "mscorlib_System_Reflection_BindingFlags1082350898.h"
#include "mscorlib_System_MissingMethodException3441205986MethodDeclarations.h"
#include "mscorlib_System_Runtime_Remoting_Activation_Activa1532663650MethodDeclarations.h"
#include "mscorlib_System_Reflection_ConstructorInfo2851816542.h"
#include "mscorlib_System_Reflection_MethodBase904190842.h"
#include "mscorlib_System_Reflection_ParameterModifier1820634920.h"
#include "mscorlib_System_MissingMethodException3441205986.h"
#include "mscorlib_System_Reflection_MethodBase904190842MethodDeclarations.h"
#include "mscorlib_System_Reflection_ConstructorInfo2851816542MethodDeclarations.h"
#include "mscorlib_System_MonoType42245407MethodDeclarations.h"
#include "mscorlib_System_MonoType42245407.h"
#include "mscorlib_System_Reflection_CallingConventions1097349142.h"
#include "mscorlib_System_AppDomain2719102437.h"
#include "mscorlib_System_AppDomain2719102437MethodDeclarations.h"
#include "mscorlib_System_Security_Policy_Evidence1407710183.h"
#include "mscorlib_System_IO_FileNotFoundException4200667904MethodDeclarations.h"
#include "mscorlib_System_IO_FileNotFoundException4200667904.h"
#include "mscorlib_System_Runtime_Remoting_Contexts_Context502196753.h"
#include "mscorlib_System_Reflection_Emit_TypeBuilder3308873219MethodDeclarations.h"
#include "mscorlib_System_Collections_Hashtable909839986MethodDeclarations.h"
#include "mscorlib_System_MulticastDelegate3201952435MethodDeclarations.h"
#include "mscorlib_System_ResolveEventArgs1859808873MethodDeclarations.h"
#include "mscorlib_System_ResolveEventHandler3842432458MethodDeclarations.h"
#include "mscorlib_System_Collections_Hashtable909839986.h"
#include "mscorlib_System_ResolveEventHandler3842432458.h"
#include "mscorlib_System_Reflection_Emit_TypeBuilder3308873219.h"
#include "mscorlib_System_MulticastDelegate3201952435.h"
#include "mscorlib_System_ResolveEventArgs1859808873.h"
#include "mscorlib_System_AppDomainInitializer3898244613.h"
#include "mscorlib_System_AppDomainInitializer3898244613MethodDeclarations.h"
#include "mscorlib_System_AppDomainManager54965696.h"
#include "mscorlib_System_AppDomainManager54965696MethodDeclarations.h"
#include "mscorlib_System_AppDomainSetup611332832.h"
#include "mscorlib_System_AppDomainSetup611332832MethodDeclarations.h"
#include "mscorlib_System_ApplicationException474868623.h"
#include "mscorlib_System_ApplicationException474868623MethodDeclarations.h"
#include "mscorlib_System_ApplicationIdentity3292367950.h"
#include "mscorlib_System_ApplicationIdentity3292367950MethodDeclarations.h"
#include "mscorlib_System_ArgIterator2628088752.h"
#include "mscorlib_System_ArgIterator2628088752MethodDeclarations.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$1024
extern "C" void U24ArrayTypeU241024_t2672183894_marshal_pinvoke(const U24ArrayTypeU241024_t2672183894& unmarshaled, U24ArrayTypeU241024_t2672183894_marshaled_pinvoke& marshaled)
{
}
extern "C" void U24ArrayTypeU241024_t2672183894_marshal_pinvoke_back(const U24ArrayTypeU241024_t2672183894_marshaled_pinvoke& marshaled, U24ArrayTypeU241024_t2672183894& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$1024
extern "C" void U24ArrayTypeU241024_t2672183894_marshal_pinvoke_cleanup(U24ArrayTypeU241024_t2672183894_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$1024
extern "C" void U24ArrayTypeU241024_t2672183894_marshal_com(const U24ArrayTypeU241024_t2672183894& unmarshaled, U24ArrayTypeU241024_t2672183894_marshaled_com& marshaled)
{
}
extern "C" void U24ArrayTypeU241024_t2672183894_marshal_com_back(const U24ArrayTypeU241024_t2672183894_marshaled_com& marshaled, U24ArrayTypeU241024_t2672183894& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$1024
extern "C" void U24ArrayTypeU241024_t2672183894_marshal_com_cleanup(U24ArrayTypeU241024_t2672183894_marshaled_com& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$12
extern "C" void U24ArrayTypeU2412_t3672778802_marshal_pinvoke(const U24ArrayTypeU2412_t3672778802& unmarshaled, U24ArrayTypeU2412_t3672778802_marshaled_pinvoke& marshaled)
{
}
extern "C" void U24ArrayTypeU2412_t3672778802_marshal_pinvoke_back(const U24ArrayTypeU2412_t3672778802_marshaled_pinvoke& marshaled, U24ArrayTypeU2412_t3672778802& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$12
extern "C" void U24ArrayTypeU2412_t3672778802_marshal_pinvoke_cleanup(U24ArrayTypeU2412_t3672778802_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$12
extern "C" void U24ArrayTypeU2412_t3672778802_marshal_com(const U24ArrayTypeU2412_t3672778802& unmarshaled, U24ArrayTypeU2412_t3672778802_marshaled_com& marshaled)
{
}
extern "C" void U24ArrayTypeU2412_t3672778802_marshal_com_back(const U24ArrayTypeU2412_t3672778802_marshaled_com& marshaled, U24ArrayTypeU2412_t3672778802& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$12
extern "C" void U24ArrayTypeU2412_t3672778802_marshal_com_cleanup(U24ArrayTypeU2412_t3672778802_marshaled_com& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$120
extern "C" void U24ArrayTypeU24120_t116038562_marshal_pinvoke(const U24ArrayTypeU24120_t116038562& unmarshaled, U24ArrayTypeU24120_t116038562_marshaled_pinvoke& marshaled)
{
}
extern "C" void U24ArrayTypeU24120_t116038562_marshal_pinvoke_back(const U24ArrayTypeU24120_t116038562_marshaled_pinvoke& marshaled, U24ArrayTypeU24120_t116038562& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$120
extern "C" void U24ArrayTypeU24120_t116038562_marshal_pinvoke_cleanup(U24ArrayTypeU24120_t116038562_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$120
extern "C" void U24ArrayTypeU24120_t116038562_marshal_com(const U24ArrayTypeU24120_t116038562& unmarshaled, U24ArrayTypeU24120_t116038562_marshaled_com& marshaled)
{
}
extern "C" void U24ArrayTypeU24120_t116038562_marshal_com_back(const U24ArrayTypeU24120_t116038562_marshaled_com& marshaled, U24ArrayTypeU24120_t116038562& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$120
extern "C" void U24ArrayTypeU24120_t116038562_marshal_com_cleanup(U24ArrayTypeU24120_t116038562_marshaled_com& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$124
extern "C" void U24ArrayTypeU24124_t116038558_marshal_pinvoke(const U24ArrayTypeU24124_t116038558& unmarshaled, U24ArrayTypeU24124_t116038558_marshaled_pinvoke& marshaled)
{
}
extern "C" void U24ArrayTypeU24124_t116038558_marshal_pinvoke_back(const U24ArrayTypeU24124_t116038558_marshaled_pinvoke& marshaled, U24ArrayTypeU24124_t116038558& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$124
extern "C" void U24ArrayTypeU24124_t116038558_marshal_pinvoke_cleanup(U24ArrayTypeU24124_t116038558_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$124
extern "C" void U24ArrayTypeU24124_t116038558_marshal_com(const U24ArrayTypeU24124_t116038558& unmarshaled, U24ArrayTypeU24124_t116038558_marshaled_com& marshaled)
{
}
extern "C" void U24ArrayTypeU24124_t116038558_marshal_com_back(const U24ArrayTypeU24124_t116038558_marshaled_com& marshaled, U24ArrayTypeU24124_t116038558& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$124
extern "C" void U24ArrayTypeU24124_t116038558_marshal_com_cleanup(U24ArrayTypeU24124_t116038558_marshaled_com& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$128
extern "C" void U24ArrayTypeU24128_t116038554_marshal_pinvoke(const U24ArrayTypeU24128_t116038554& unmarshaled, U24ArrayTypeU24128_t116038554_marshaled_pinvoke& marshaled)
{
}
extern "C" void U24ArrayTypeU24128_t116038554_marshal_pinvoke_back(const U24ArrayTypeU24128_t116038554_marshaled_pinvoke& marshaled, U24ArrayTypeU24128_t116038554& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$128
extern "C" void U24ArrayTypeU24128_t116038554_marshal_pinvoke_cleanup(U24ArrayTypeU24128_t116038554_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$128
extern "C" void U24ArrayTypeU24128_t116038554_marshal_com(const U24ArrayTypeU24128_t116038554& unmarshaled, U24ArrayTypeU24128_t116038554_marshaled_com& marshaled)
{
}
extern "C" void U24ArrayTypeU24128_t116038554_marshal_com_back(const U24ArrayTypeU24128_t116038554_marshaled_com& marshaled, U24ArrayTypeU24128_t116038554& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$128
extern "C" void U24ArrayTypeU24128_t116038554_marshal_com_cleanup(U24ArrayTypeU24128_t116038554_marshaled_com& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$136
extern "C" void U24ArrayTypeU24136_t2844921915_marshal_pinvoke(const U24ArrayTypeU24136_t2844921915& unmarshaled, U24ArrayTypeU24136_t2844921915_marshaled_pinvoke& marshaled)
{
}
extern "C" void U24ArrayTypeU24136_t2844921915_marshal_pinvoke_back(const U24ArrayTypeU24136_t2844921915_marshaled_pinvoke& marshaled, U24ArrayTypeU24136_t2844921915& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$136
extern "C" void U24ArrayTypeU24136_t2844921915_marshal_pinvoke_cleanup(U24ArrayTypeU24136_t2844921915_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$136
extern "C" void U24ArrayTypeU24136_t2844921915_marshal_com(const U24ArrayTypeU24136_t2844921915& unmarshaled, U24ArrayTypeU24136_t2844921915_marshaled_com& marshaled)
{
}
extern "C" void U24ArrayTypeU24136_t2844921915_marshal_com_back(const U24ArrayTypeU24136_t2844921915_marshaled_com& marshaled, U24ArrayTypeU24136_t2844921915& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$136
extern "C" void U24ArrayTypeU24136_t2844921915_marshal_com_cleanup(U24ArrayTypeU24136_t2844921915_marshaled_com& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$16
extern "C" void U24ArrayTypeU2416_t1703410334_marshal_pinvoke(const U24ArrayTypeU2416_t1703410334& unmarshaled, U24ArrayTypeU2416_t1703410334_marshaled_pinvoke& marshaled)
{
}
extern "C" void U24ArrayTypeU2416_t1703410334_marshal_pinvoke_back(const U24ArrayTypeU2416_t1703410334_marshaled_pinvoke& marshaled, U24ArrayTypeU2416_t1703410334& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$16
extern "C" void U24ArrayTypeU2416_t1703410334_marshal_pinvoke_cleanup(U24ArrayTypeU2416_t1703410334_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$16
extern "C" void U24ArrayTypeU2416_t1703410334_marshal_com(const U24ArrayTypeU2416_t1703410334& unmarshaled, U24ArrayTypeU2416_t1703410334_marshaled_com& marshaled)
{
}
extern "C" void U24ArrayTypeU2416_t1703410334_marshal_com_back(const U24ArrayTypeU2416_t1703410334_marshaled_com& marshaled, U24ArrayTypeU2416_t1703410334& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$16
extern "C" void U24ArrayTypeU2416_t1703410334_marshal_com_cleanup(U24ArrayTypeU2416_t1703410334_marshaled_com& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$20
extern "C" void U24ArrayTypeU2420_t540610921_marshal_pinvoke(const U24ArrayTypeU2420_t540610921& unmarshaled, U24ArrayTypeU2420_t540610921_marshaled_pinvoke& marshaled)
{
}
extern "C" void U24ArrayTypeU2420_t540610921_marshal_pinvoke_back(const U24ArrayTypeU2420_t540610921_marshaled_pinvoke& marshaled, U24ArrayTypeU2420_t540610921& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$20
extern "C" void U24ArrayTypeU2420_t540610921_marshal_pinvoke_cleanup(U24ArrayTypeU2420_t540610921_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$20
extern "C" void U24ArrayTypeU2420_t540610921_marshal_com(const U24ArrayTypeU2420_t540610921& unmarshaled, U24ArrayTypeU2420_t540610921_marshaled_com& marshaled)
{
}
extern "C" void U24ArrayTypeU2420_t540610921_marshal_com_back(const U24ArrayTypeU2420_t540610921_marshaled_com& marshaled, U24ArrayTypeU2420_t540610921& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$20
extern "C" void U24ArrayTypeU2420_t540610921_marshal_com_cleanup(U24ArrayTypeU2420_t540610921_marshaled_com& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$2048
extern "C" void U24ArrayTypeU242048_t702815517_marshal_pinvoke(const U24ArrayTypeU242048_t702815517& unmarshaled, U24ArrayTypeU242048_t702815517_marshaled_pinvoke& marshaled)
{
}
extern "C" void U24ArrayTypeU242048_t702815517_marshal_pinvoke_back(const U24ArrayTypeU242048_t702815517_marshaled_pinvoke& marshaled, U24ArrayTypeU242048_t702815517& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$2048
extern "C" void U24ArrayTypeU242048_t702815517_marshal_pinvoke_cleanup(U24ArrayTypeU242048_t702815517_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$2048
extern "C" void U24ArrayTypeU242048_t702815517_marshal_com(const U24ArrayTypeU242048_t702815517& unmarshaled, U24ArrayTypeU242048_t702815517_marshaled_com& marshaled)
{
}
extern "C" void U24ArrayTypeU242048_t702815517_marshal_com_back(const U24ArrayTypeU242048_t702815517_marshaled_com& marshaled, U24ArrayTypeU242048_t702815517& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$2048
extern "C" void U24ArrayTypeU242048_t702815517_marshal_com_cleanup(U24ArrayTypeU242048_t702815517_marshaled_com& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$24
extern "C" void U24ArrayTypeU2424_t2866209749_marshal_pinvoke(const U24ArrayTypeU2424_t2866209749& unmarshaled, U24ArrayTypeU2424_t2866209749_marshaled_pinvoke& marshaled)
{
}
extern "C" void U24ArrayTypeU2424_t2866209749_marshal_pinvoke_back(const U24ArrayTypeU2424_t2866209749_marshaled_pinvoke& marshaled, U24ArrayTypeU2424_t2866209749& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$24
extern "C" void U24ArrayTypeU2424_t2866209749_marshal_pinvoke_cleanup(U24ArrayTypeU2424_t2866209749_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$24
extern "C" void U24ArrayTypeU2424_t2866209749_marshal_com(const U24ArrayTypeU2424_t2866209749& unmarshaled, U24ArrayTypeU2424_t2866209749_marshaled_com& marshaled)
{
}
extern "C" void U24ArrayTypeU2424_t2866209749_marshal_com_back(const U24ArrayTypeU2424_t2866209749_marshaled_com& marshaled, U24ArrayTypeU2424_t2866209749& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$24
extern "C" void U24ArrayTypeU2424_t2866209749_marshal_com_cleanup(U24ArrayTypeU2424_t2866209749_marshaled_com& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$256
extern "C" void U24ArrayTypeU24256_t2038352954_marshal_pinvoke(const U24ArrayTypeU24256_t2038352954& unmarshaled, U24ArrayTypeU24256_t2038352954_marshaled_pinvoke& marshaled)
{
}
extern "C" void U24ArrayTypeU24256_t2038352954_marshal_pinvoke_back(const U24ArrayTypeU24256_t2038352954_marshaled_pinvoke& marshaled, U24ArrayTypeU24256_t2038352954& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$256
extern "C" void U24ArrayTypeU24256_t2038352954_marshal_pinvoke_cleanup(U24ArrayTypeU24256_t2038352954_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$256
extern "C" void U24ArrayTypeU24256_t2038352954_marshal_com(const U24ArrayTypeU24256_t2038352954& unmarshaled, U24ArrayTypeU24256_t2038352954_marshaled_com& marshaled)
{
}
extern "C" void U24ArrayTypeU24256_t2038352954_marshal_com_back(const U24ArrayTypeU24256_t2038352954_marshaled_com& marshaled, U24ArrayTypeU24256_t2038352954& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$256
extern "C" void U24ArrayTypeU24256_t2038352954_marshal_com_cleanup(U24ArrayTypeU24256_t2038352954_marshaled_com& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$3132
extern "C" void U24ArrayTypeU243132_t1892466092_marshal_pinvoke(const U24ArrayTypeU243132_t1892466092& unmarshaled, U24ArrayTypeU243132_t1892466092_marshaled_pinvoke& marshaled)
{
}
extern "C" void U24ArrayTypeU243132_t1892466092_marshal_pinvoke_back(const U24ArrayTypeU243132_t1892466092_marshaled_pinvoke& marshaled, U24ArrayTypeU243132_t1892466092& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$3132
extern "C" void U24ArrayTypeU243132_t1892466092_marshal_pinvoke_cleanup(U24ArrayTypeU243132_t1892466092_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$3132
extern "C" void U24ArrayTypeU243132_t1892466092_marshal_com(const U24ArrayTypeU243132_t1892466092& unmarshaled, U24ArrayTypeU243132_t1892466092_marshaled_com& marshaled)
{
}
extern "C" void U24ArrayTypeU243132_t1892466092_marshal_com_back(const U24ArrayTypeU243132_t1892466092_marshaled_com& marshaled, U24ArrayTypeU243132_t1892466092& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$3132
extern "C" void U24ArrayTypeU243132_t1892466092_marshal_com_cleanup(U24ArrayTypeU243132_t1892466092_marshaled_com& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$32
extern "C" void U24ArrayTypeU2432_t3672778804_marshal_pinvoke(const U24ArrayTypeU2432_t3672778804& unmarshaled, U24ArrayTypeU2432_t3672778804_marshaled_pinvoke& marshaled)
{
}
extern "C" void U24ArrayTypeU2432_t3672778804_marshal_pinvoke_back(const U24ArrayTypeU2432_t3672778804_marshaled_pinvoke& marshaled, U24ArrayTypeU2432_t3672778804& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$32
extern "C" void U24ArrayTypeU2432_t3672778804_marshal_pinvoke_cleanup(U24ArrayTypeU2432_t3672778804_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$32
extern "C" void U24ArrayTypeU2432_t3672778804_marshal_com(const U24ArrayTypeU2432_t3672778804& unmarshaled, U24ArrayTypeU2432_t3672778804_marshaled_com& marshaled)
{
}
extern "C" void U24ArrayTypeU2432_t3672778804_marshal_com_back(const U24ArrayTypeU2432_t3672778804_marshaled_com& marshaled, U24ArrayTypeU2432_t3672778804& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$32
extern "C" void U24ArrayTypeU2432_t3672778804_marshal_com_cleanup(U24ArrayTypeU2432_t3672778804_marshaled_com& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$48
extern "C" void U24ArrayTypeU2448_t896841275_marshal_pinvoke(const U24ArrayTypeU2448_t896841275& unmarshaled, U24ArrayTypeU2448_t896841275_marshaled_pinvoke& marshaled)
{
}
extern "C" void U24ArrayTypeU2448_t896841275_marshal_pinvoke_back(const U24ArrayTypeU2448_t896841275_marshaled_pinvoke& marshaled, U24ArrayTypeU2448_t896841275& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$48
extern "C" void U24ArrayTypeU2448_t896841275_marshal_pinvoke_cleanup(U24ArrayTypeU2448_t896841275_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$48
extern "C" void U24ArrayTypeU2448_t896841275_marshal_com(const U24ArrayTypeU2448_t896841275& unmarshaled, U24ArrayTypeU2448_t896841275_marshaled_com& marshaled)
{
}
extern "C" void U24ArrayTypeU2448_t896841275_marshal_com_back(const U24ArrayTypeU2448_t896841275_marshaled_com& marshaled, U24ArrayTypeU2448_t896841275& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$48
extern "C" void U24ArrayTypeU2448_t896841275_marshal_com_cleanup(U24ArrayTypeU2448_t896841275_marshaled_com& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$52
extern "C" void U24ArrayTypeU2452_t3672778798_marshal_pinvoke(const U24ArrayTypeU2452_t3672778798& unmarshaled, U24ArrayTypeU2452_t3672778798_marshaled_pinvoke& marshaled)
{
}
extern "C" void U24ArrayTypeU2452_t3672778798_marshal_pinvoke_back(const U24ArrayTypeU2452_t3672778798_marshaled_pinvoke& marshaled, U24ArrayTypeU2452_t3672778798& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$52
extern "C" void U24ArrayTypeU2452_t3672778798_marshal_pinvoke_cleanup(U24ArrayTypeU2452_t3672778798_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$52
extern "C" void U24ArrayTypeU2452_t3672778798_marshal_com(const U24ArrayTypeU2452_t3672778798& unmarshaled, U24ArrayTypeU2452_t3672778798_marshaled_com& marshaled)
{
}
extern "C" void U24ArrayTypeU2452_t3672778798_marshal_com_back(const U24ArrayTypeU2452_t3672778798_marshaled_com& marshaled, U24ArrayTypeU2452_t3672778798& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$52
extern "C" void U24ArrayTypeU2452_t3672778798_marshal_com_cleanup(U24ArrayTypeU2452_t3672778798_marshaled_com& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$56
extern "C" void U24ArrayTypeU2456_t1703410330_marshal_pinvoke(const U24ArrayTypeU2456_t1703410330& unmarshaled, U24ArrayTypeU2456_t1703410330_marshaled_pinvoke& marshaled)
{
}
extern "C" void U24ArrayTypeU2456_t1703410330_marshal_pinvoke_back(const U24ArrayTypeU2456_t1703410330_marshaled_pinvoke& marshaled, U24ArrayTypeU2456_t1703410330& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$56
extern "C" void U24ArrayTypeU2456_t1703410330_marshal_pinvoke_cleanup(U24ArrayTypeU2456_t1703410330_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$56
extern "C" void U24ArrayTypeU2456_t1703410330_marshal_com(const U24ArrayTypeU2456_t1703410330& unmarshaled, U24ArrayTypeU2456_t1703410330_marshaled_com& marshaled)
{
}
extern "C" void U24ArrayTypeU2456_t1703410330_marshal_com_back(const U24ArrayTypeU2456_t1703410330_marshaled_com& marshaled, U24ArrayTypeU2456_t1703410330& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$56
extern "C" void U24ArrayTypeU2456_t1703410330_marshal_com_cleanup(U24ArrayTypeU2456_t1703410330_marshaled_com& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$64
extern "C" void U24ArrayTypeU2464_t2866209745_marshal_pinvoke(const U24ArrayTypeU2464_t2866209745& unmarshaled, U24ArrayTypeU2464_t2866209745_marshaled_pinvoke& marshaled)
{
}
extern "C" void U24ArrayTypeU2464_t2866209745_marshal_pinvoke_back(const U24ArrayTypeU2464_t2866209745_marshaled_pinvoke& marshaled, U24ArrayTypeU2464_t2866209745& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$64
extern "C" void U24ArrayTypeU2464_t2866209745_marshal_pinvoke_cleanup(U24ArrayTypeU2464_t2866209745_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$64
extern "C" void U24ArrayTypeU2464_t2866209745_marshal_com(const U24ArrayTypeU2464_t2866209745& unmarshaled, U24ArrayTypeU2464_t2866209745_marshaled_com& marshaled)
{
}
extern "C" void U24ArrayTypeU2464_t2866209745_marshal_com_back(const U24ArrayTypeU2464_t2866209745_marshaled_com& marshaled, U24ArrayTypeU2464_t2866209745& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$64
extern "C" void U24ArrayTypeU2464_t2866209745_marshal_com_cleanup(U24ArrayTypeU2464_t2866209745_marshaled_com& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$640
extern "C" void U24ArrayTypeU24640_t3604436769_marshal_pinvoke(const U24ArrayTypeU24640_t3604436769& unmarshaled, U24ArrayTypeU24640_t3604436769_marshaled_pinvoke& marshaled)
{
}
extern "C" void U24ArrayTypeU24640_t3604436769_marshal_pinvoke_back(const U24ArrayTypeU24640_t3604436769_marshaled_pinvoke& marshaled, U24ArrayTypeU24640_t3604436769& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$640
extern "C" void U24ArrayTypeU24640_t3604436769_marshal_pinvoke_cleanup(U24ArrayTypeU24640_t3604436769_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$640
extern "C" void U24ArrayTypeU24640_t3604436769_marshal_com(const U24ArrayTypeU24640_t3604436769& unmarshaled, U24ArrayTypeU24640_t3604436769_marshaled_com& marshaled)
{
}
extern "C" void U24ArrayTypeU24640_t3604436769_marshal_com_back(const U24ArrayTypeU24640_t3604436769_marshaled_com& marshaled, U24ArrayTypeU24640_t3604436769& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$640
extern "C" void U24ArrayTypeU24640_t3604436769_marshal_com_cleanup(U24ArrayTypeU24640_t3604436769_marshaled_com& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$72
extern "C" void U24ArrayTypeU2472_t3672778800_marshal_pinvoke(const U24ArrayTypeU2472_t3672778800& unmarshaled, U24ArrayTypeU2472_t3672778800_marshaled_pinvoke& marshaled)
{
}
extern "C" void U24ArrayTypeU2472_t3672778800_marshal_pinvoke_back(const U24ArrayTypeU2472_t3672778800_marshaled_pinvoke& marshaled, U24ArrayTypeU2472_t3672778800& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$72
extern "C" void U24ArrayTypeU2472_t3672778800_marshal_pinvoke_cleanup(U24ArrayTypeU2472_t3672778800_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$72
extern "C" void U24ArrayTypeU2472_t3672778800_marshal_com(const U24ArrayTypeU2472_t3672778800& unmarshaled, U24ArrayTypeU2472_t3672778800_marshaled_com& marshaled)
{
}
extern "C" void U24ArrayTypeU2472_t3672778800_marshal_com_back(const U24ArrayTypeU2472_t3672778800_marshaled_com& marshaled, U24ArrayTypeU2472_t3672778800& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$72
extern "C" void U24ArrayTypeU2472_t3672778800_marshal_com_cleanup(U24ArrayTypeU2472_t3672778800_marshaled_com& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$8
extern "C" void U24ArrayTypeU248_t1957337327_marshal_pinvoke(const U24ArrayTypeU248_t1957337327& unmarshaled, U24ArrayTypeU248_t1957337327_marshaled_pinvoke& marshaled)
{
}
extern "C" void U24ArrayTypeU248_t1957337327_marshal_pinvoke_back(const U24ArrayTypeU248_t1957337327_marshaled_pinvoke& marshaled, U24ArrayTypeU248_t1957337327& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$8
extern "C" void U24ArrayTypeU248_t1957337327_marshal_pinvoke_cleanup(U24ArrayTypeU248_t1957337327_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$8
extern "C" void U24ArrayTypeU248_t1957337327_marshal_com(const U24ArrayTypeU248_t1957337327& unmarshaled, U24ArrayTypeU248_t1957337327_marshaled_com& marshaled)
{
}
extern "C" void U24ArrayTypeU248_t1957337327_marshal_com_back(const U24ArrayTypeU248_t1957337327_marshaled_com& marshaled, U24ArrayTypeU248_t1957337327& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$8
extern "C" void U24ArrayTypeU248_t1957337327_marshal_com_cleanup(U24ArrayTypeU248_t1957337327_marshaled_com& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$96
extern "C" void U24ArrayTypeU2496_t1703410326_marshal_pinvoke(const U24ArrayTypeU2496_t1703410326& unmarshaled, U24ArrayTypeU2496_t1703410326_marshaled_pinvoke& marshaled)
{
}
extern "C" void U24ArrayTypeU2496_t1703410326_marshal_pinvoke_back(const U24ArrayTypeU2496_t1703410326_marshaled_pinvoke& marshaled, U24ArrayTypeU2496_t1703410326& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$96
extern "C" void U24ArrayTypeU2496_t1703410326_marshal_pinvoke_cleanup(U24ArrayTypeU2496_t1703410326_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$96
extern "C" void U24ArrayTypeU2496_t1703410326_marshal_com(const U24ArrayTypeU2496_t1703410326& unmarshaled, U24ArrayTypeU2496_t1703410326_marshaled_com& marshaled)
{
}
extern "C" void U24ArrayTypeU2496_t1703410326_marshal_com_back(const U24ArrayTypeU2496_t1703410326_marshaled_com& marshaled, U24ArrayTypeU2496_t1703410326& unmarshaled)
{
}
// Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$96
extern "C" void U24ArrayTypeU2496_t1703410326_marshal_com_cleanup(U24ArrayTypeU2496_t1703410326_marshaled_com& marshaled)
{
}
// System.String Locale::GetText(System.String)
extern "C" String_t* Locale_GetText_m1954433032 (Il2CppObject * __this /* static, unused */, String_t* ___msg0, const MethodInfo* method)
{
{
String_t* L_0 = ___msg0;
return L_0;
}
}
// System.String Locale::GetText(System.String,System.Object[])
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern const uint32_t Locale_GetText_m2553164138_MetadataUsageId;
extern "C" String_t* Locale_GetText_m2553164138 (Il2CppObject * __this /* static, unused */, String_t* ___fmt0, ObjectU5BU5D_t3614634134* ___args1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (Locale_GetText_m2553164138_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
String_t* L_0 = ___fmt0;
ObjectU5BU5D_t3614634134* L_1 = ___args1;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_2 = String_Format_m1263743648(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.Void Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid::.ctor(System.Boolean)
extern "C" void SafeHandleZeroOrMinusOneIsInvalid__ctor_m3340306667 (SafeHandleZeroOrMinusOneIsInvalid_t1177681199 * __this, bool ___ownsHandle0, const MethodInfo* method)
{
{
IntPtr_t L_0 = IntPtr_op_Explicit_m3896766622(NULL /*static, unused*/, 0, /*hidden argument*/NULL);
bool L_1 = ___ownsHandle0;
SafeHandle__ctor_m1890452380(__this, L_0, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Boolean Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid::get_IsInvalid()
extern "C" bool SafeHandleZeroOrMinusOneIsInvalid_get_IsInvalid_m2033528032 (SafeHandleZeroOrMinusOneIsInvalid_t1177681199 * __this, const MethodInfo* method)
{
int32_t G_B3_0 = 0;
{
IntPtr_t L_0 = ((SafeHandle_t2733794115 *)__this)->get_handle_0();
IntPtr_t L_1 = IntPtr_op_Explicit_m3896766622(NULL /*static, unused*/, (-1), /*hidden argument*/NULL);
bool L_2 = IntPtr_op_Equality_m1573482188(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
if (L_2)
{
goto IL_0029;
}
}
{
IntPtr_t L_3 = ((SafeHandle_t2733794115 *)__this)->get_handle_0();
IntPtr_t L_4 = IntPtr_op_Explicit_m3896766622(NULL /*static, unused*/, 0, /*hidden argument*/NULL);
bool L_5 = IntPtr_op_Equality_m1573482188(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL);
G_B3_0 = ((int32_t)(L_5));
goto IL_002a;
}
IL_0029:
{
G_B3_0 = 1;
}
IL_002a:
{
return (bool)G_B3_0;
}
}
// System.Void Microsoft.Win32.SafeHandles.SafeWaitHandle::.ctor(System.IntPtr,System.Boolean)
extern "C" void SafeWaitHandle__ctor_m1710231470 (SafeWaitHandle_t481461830 * __this, IntPtr_t ___existingHandle0, bool ___ownsHandle1, const MethodInfo* method)
{
{
bool L_0 = ___ownsHandle1;
SafeHandleZeroOrMinusOneIsInvalid__ctor_m3340306667(__this, L_0, /*hidden argument*/NULL);
IntPtr_t L_1 = ___existingHandle0;
SafeHandle_SetHandle_m1980208835(__this, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Boolean Microsoft.Win32.SafeHandles.SafeWaitHandle::ReleaseHandle()
extern "C" bool SafeWaitHandle_ReleaseHandle_m634725016 (SafeWaitHandle_t481461830 * __this, const MethodInfo* method)
{
{
IntPtr_t L_0 = ((SafeHandle_t2733794115 *)__this)->get_handle_0();
NativeEventCalls_CloseEvent_internal_m2653186819(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
return (bool)1;
}
}
// System.Void Mono.Globalization.Unicode.CodePointIndexer::.ctor(System.Int32[],System.Int32[],System.Int32,System.Int32)
extern Il2CppClass* TableRangeU5BU5D_t1881234606_il2cpp_TypeInfo_var;
extern const uint32_t CodePointIndexer__ctor_m797342079_MetadataUsageId;
extern "C" void CodePointIndexer__ctor_m797342079 (CodePointIndexer_t1073906970 * __this, Int32U5BU5D_t3030399641* ___starts0, Int32U5BU5D_t3030399641* ___ends1, int32_t ___defaultIndex2, int32_t ___defaultCP3, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (CodePointIndexer__ctor_m797342079_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t G_B3_0 = 0;
int32_t G_B3_1 = 0;
TableRange_t2011406615 * G_B3_2 = NULL;
int32_t G_B2_0 = 0;
int32_t G_B2_1 = 0;
TableRange_t2011406615 * G_B2_2 = NULL;
int32_t G_B4_0 = 0;
int32_t G_B4_1 = 0;
int32_t G_B4_2 = 0;
TableRange_t2011406615 * G_B4_3 = NULL;
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
int32_t L_0 = ___defaultIndex2;
__this->set_defaultIndex_2(L_0);
int32_t L_1 = ___defaultCP3;
__this->set_defaultCP_3(L_1);
Int32U5BU5D_t3030399641* L_2 = ___starts0;
__this->set_ranges_0(((TableRangeU5BU5D_t1881234606*)SZArrayNew(TableRangeU5BU5D_t1881234606_il2cpp_TypeInfo_var, (uint32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_2)->max_length)))))));
V_0 = 0;
goto IL_007d;
}
IL_002a:
{
TableRangeU5BU5D_t1881234606* L_3 = __this->get_ranges_0();
int32_t L_4 = V_0;
Int32U5BU5D_t3030399641* L_5 = ___starts0;
int32_t L_6 = V_0;
int32_t L_7 = L_6;
int32_t L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
Int32U5BU5D_t3030399641* L_9 = ___ends1;
int32_t L_10 = V_0;
int32_t L_11 = L_10;
int32_t L_12 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
int32_t L_13 = V_0;
G_B2_0 = L_12;
G_B2_1 = L_8;
G_B2_2 = ((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_4)));
if (L_13)
{
G_B3_0 = L_12;
G_B3_1 = L_8;
G_B3_2 = ((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_4)));
goto IL_0048;
}
}
{
G_B4_0 = 0;
G_B4_1 = G_B2_0;
G_B4_2 = G_B2_1;
G_B4_3 = G_B2_2;
goto IL_006f;
}
IL_0048:
{
TableRangeU5BU5D_t1881234606* L_14 = __this->get_ranges_0();
int32_t L_15 = V_0;
int32_t L_16 = ((L_14)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_15-(int32_t)1)))))->get_IndexStart_3();
TableRangeU5BU5D_t1881234606* L_17 = __this->get_ranges_0();
int32_t L_18 = V_0;
int32_t L_19 = ((L_17)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_18-(int32_t)1)))))->get_Count_2();
G_B4_0 = ((int32_t)((int32_t)L_16+(int32_t)L_19));
G_B4_1 = G_B3_0;
G_B4_2 = G_B3_1;
G_B4_3 = G_B3_2;
}
IL_006f:
{
TableRange_t2011406615 L_20;
memset(&L_20, 0, sizeof(L_20));
TableRange__ctor_m1944319286(&L_20, G_B4_2, G_B4_1, G_B4_0, /*hidden argument*/NULL);
(*(TableRange_t2011406615 *)G_B4_3) = L_20;
int32_t L_21 = V_0;
V_0 = ((int32_t)((int32_t)L_21+(int32_t)1));
}
IL_007d:
{
int32_t L_22 = V_0;
TableRangeU5BU5D_t1881234606* L_23 = __this->get_ranges_0();
if ((((int32_t)L_22) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_23)->max_length)))))))
{
goto IL_002a;
}
}
{
V_1 = 0;
goto IL_00b4;
}
IL_0092:
{
int32_t L_24 = __this->get_TotalCount_1();
TableRangeU5BU5D_t1881234606* L_25 = __this->get_ranges_0();
int32_t L_26 = V_1;
int32_t L_27 = ((L_25)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_26)))->get_Count_2();
__this->set_TotalCount_1(((int32_t)((int32_t)L_24+(int32_t)L_27)));
int32_t L_28 = V_1;
V_1 = ((int32_t)((int32_t)L_28+(int32_t)1));
}
IL_00b4:
{
int32_t L_29 = V_1;
TableRangeU5BU5D_t1881234606* L_30 = __this->get_ranges_0();
if ((((int32_t)L_29) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_30)->max_length)))))))
{
goto IL_0092;
}
}
{
return;
}
}
// System.Int32 Mono.Globalization.Unicode.CodePointIndexer::ToIndex(System.Int32)
extern "C" int32_t CodePointIndexer_ToIndex_m2133868653 (CodePointIndexer_t1073906970 * __this, int32_t ___cp0, const MethodInfo* method)
{
int32_t V_0 = 0;
{
V_0 = 0;
goto IL_0066;
}
IL_0007:
{
int32_t L_0 = ___cp0;
TableRangeU5BU5D_t1881234606* L_1 = __this->get_ranges_0();
int32_t L_2 = V_0;
int32_t L_3 = ((L_1)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_2)))->get_Start_0();
if ((((int32_t)L_0) >= ((int32_t)L_3)))
{
goto IL_0025;
}
}
{
int32_t L_4 = __this->get_defaultIndex_2();
return L_4;
}
IL_0025:
{
int32_t L_5 = ___cp0;
TableRangeU5BU5D_t1881234606* L_6 = __this->get_ranges_0();
int32_t L_7 = V_0;
int32_t L_8 = ((L_6)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_7)))->get_End_1();
if ((((int32_t)L_5) >= ((int32_t)L_8)))
{
goto IL_0062;
}
}
{
int32_t L_9 = ___cp0;
TableRangeU5BU5D_t1881234606* L_10 = __this->get_ranges_0();
int32_t L_11 = V_0;
int32_t L_12 = ((L_10)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_11)))->get_Start_0();
TableRangeU5BU5D_t1881234606* L_13 = __this->get_ranges_0();
int32_t L_14 = V_0;
int32_t L_15 = ((L_13)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_14)))->get_IndexStart_3();
return ((int32_t)((int32_t)((int32_t)((int32_t)L_9-(int32_t)L_12))+(int32_t)L_15));
}
IL_0062:
{
int32_t L_16 = V_0;
V_0 = ((int32_t)((int32_t)L_16+(int32_t)1));
}
IL_0066:
{
int32_t L_17 = V_0;
TableRangeU5BU5D_t1881234606* L_18 = __this->get_ranges_0();
if ((((int32_t)L_17) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_18)->max_length)))))))
{
goto IL_0007;
}
}
{
int32_t L_19 = __this->get_defaultIndex_2();
return L_19;
}
}
// System.Void Mono.Globalization.Unicode.CodePointIndexer/TableRange::.ctor(System.Int32,System.Int32,System.Int32)
extern "C" void TableRange__ctor_m1944319286 (TableRange_t2011406615 * __this, int32_t ___start0, int32_t ___end1, int32_t ___indexStart2, const MethodInfo* method)
{
{
int32_t L_0 = ___start0;
__this->set_Start_0(L_0);
int32_t L_1 = ___end1;
__this->set_End_1(L_1);
int32_t L_2 = __this->get_End_1();
int32_t L_3 = __this->get_Start_0();
__this->set_Count_2(((int32_t)((int32_t)L_2-(int32_t)L_3)));
int32_t L_4 = ___indexStart2;
__this->set_IndexStart_3(L_4);
int32_t L_5 = __this->get_IndexStart_3();
int32_t L_6 = __this->get_Count_2();
__this->set_IndexEnd_4(((int32_t)((int32_t)L_5+(int32_t)L_6)));
return;
}
}
extern "C" void TableRange__ctor_m1944319286_AdjustorThunk (Il2CppObject * __this, int32_t ___start0, int32_t ___end1, int32_t ___indexStart2, const MethodInfo* method)
{
TableRange_t2011406615 * _thisAdjusted = reinterpret_cast<TableRange_t2011406615 *>(__this + 1);
TableRange__ctor_m1944319286(_thisAdjusted, ___start0, ___end1, ___indexStart2, method);
}
// Conversion methods for marshalling of: Mono.Globalization.Unicode.CodePointIndexer/TableRange
extern "C" void TableRange_t2011406615_marshal_pinvoke(const TableRange_t2011406615& unmarshaled, TableRange_t2011406615_marshaled_pinvoke& marshaled)
{
marshaled.___Start_0 = unmarshaled.get_Start_0();
marshaled.___End_1 = unmarshaled.get_End_1();
marshaled.___Count_2 = unmarshaled.get_Count_2();
marshaled.___IndexStart_3 = unmarshaled.get_IndexStart_3();
marshaled.___IndexEnd_4 = unmarshaled.get_IndexEnd_4();
}
extern "C" void TableRange_t2011406615_marshal_pinvoke_back(const TableRange_t2011406615_marshaled_pinvoke& marshaled, TableRange_t2011406615& unmarshaled)
{
int32_t unmarshaled_Start_temp_0 = 0;
unmarshaled_Start_temp_0 = marshaled.___Start_0;
unmarshaled.set_Start_0(unmarshaled_Start_temp_0);
int32_t unmarshaled_End_temp_1 = 0;
unmarshaled_End_temp_1 = marshaled.___End_1;
unmarshaled.set_End_1(unmarshaled_End_temp_1);
int32_t unmarshaled_Count_temp_2 = 0;
unmarshaled_Count_temp_2 = marshaled.___Count_2;
unmarshaled.set_Count_2(unmarshaled_Count_temp_2);
int32_t unmarshaled_IndexStart_temp_3 = 0;
unmarshaled_IndexStart_temp_3 = marshaled.___IndexStart_3;
unmarshaled.set_IndexStart_3(unmarshaled_IndexStart_temp_3);
int32_t unmarshaled_IndexEnd_temp_4 = 0;
unmarshaled_IndexEnd_temp_4 = marshaled.___IndexEnd_4;
unmarshaled.set_IndexEnd_4(unmarshaled_IndexEnd_temp_4);
}
// Conversion method for clean up from marshalling of: Mono.Globalization.Unicode.CodePointIndexer/TableRange
extern "C" void TableRange_t2011406615_marshal_pinvoke_cleanup(TableRange_t2011406615_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: Mono.Globalization.Unicode.CodePointIndexer/TableRange
extern "C" void TableRange_t2011406615_marshal_com(const TableRange_t2011406615& unmarshaled, TableRange_t2011406615_marshaled_com& marshaled)
{
marshaled.___Start_0 = unmarshaled.get_Start_0();
marshaled.___End_1 = unmarshaled.get_End_1();
marshaled.___Count_2 = unmarshaled.get_Count_2();
marshaled.___IndexStart_3 = unmarshaled.get_IndexStart_3();
marshaled.___IndexEnd_4 = unmarshaled.get_IndexEnd_4();
}
extern "C" void TableRange_t2011406615_marshal_com_back(const TableRange_t2011406615_marshaled_com& marshaled, TableRange_t2011406615& unmarshaled)
{
int32_t unmarshaled_Start_temp_0 = 0;
unmarshaled_Start_temp_0 = marshaled.___Start_0;
unmarshaled.set_Start_0(unmarshaled_Start_temp_0);
int32_t unmarshaled_End_temp_1 = 0;
unmarshaled_End_temp_1 = marshaled.___End_1;
unmarshaled.set_End_1(unmarshaled_End_temp_1);
int32_t unmarshaled_Count_temp_2 = 0;
unmarshaled_Count_temp_2 = marshaled.___Count_2;
unmarshaled.set_Count_2(unmarshaled_Count_temp_2);
int32_t unmarshaled_IndexStart_temp_3 = 0;
unmarshaled_IndexStart_temp_3 = marshaled.___IndexStart_3;
unmarshaled.set_IndexStart_3(unmarshaled_IndexStart_temp_3);
int32_t unmarshaled_IndexEnd_temp_4 = 0;
unmarshaled_IndexEnd_temp_4 = marshaled.___IndexEnd_4;
unmarshaled.set_IndexEnd_4(unmarshaled_IndexEnd_temp_4);
}
// Conversion method for clean up from marshalling of: Mono.Globalization.Unicode.CodePointIndexer/TableRange
extern "C" void TableRange_t2011406615_marshal_com_cleanup(TableRange_t2011406615_marshaled_com& marshaled)
{
}
// System.Void Mono.Globalization.Unicode.Contraction::.ctor(System.Char[],System.String,System.Byte[])
extern "C" void Contraction__ctor_m1961818401 (Contraction_t1673853792 * __this, CharU5BU5D_t1328083999* ___source0, String_t* ___replacement1, ByteU5BU5D_t3397334013* ___sortkey2, const MethodInfo* method)
{
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
CharU5BU5D_t1328083999* L_0 = ___source0;
__this->set_Source_0(L_0);
String_t* L_1 = ___replacement1;
__this->set_Replacement_1(L_1);
ByteU5BU5D_t3397334013* L_2 = ___sortkey2;
__this->set_SortKey_2(L_2);
return;
}
}
// System.Void Mono.Globalization.Unicode.ContractionComparer::.ctor()
extern "C" void ContractionComparer__ctor_m1987540192 (ContractionComparer_t1150321365 * __this, const MethodInfo* method)
{
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Globalization.Unicode.ContractionComparer::.cctor()
extern Il2CppClass* ContractionComparer_t1150321365_il2cpp_TypeInfo_var;
extern const uint32_t ContractionComparer__cctor_m2385740575_MetadataUsageId;
extern "C" void ContractionComparer__cctor_m2385740575 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ContractionComparer__cctor_m2385740575_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
ContractionComparer_t1150321365 * L_0 = (ContractionComparer_t1150321365 *)il2cpp_codegen_object_new(ContractionComparer_t1150321365_il2cpp_TypeInfo_var);
ContractionComparer__ctor_m1987540192(L_0, /*hidden argument*/NULL);
((ContractionComparer_t1150321365_StaticFields*)ContractionComparer_t1150321365_il2cpp_TypeInfo_var->static_fields)->set_Instance_0(L_0);
return;
}
}
// System.Int32 Mono.Globalization.Unicode.ContractionComparer::Compare(System.Object,System.Object)
extern Il2CppClass* Contraction_t1673853792_il2cpp_TypeInfo_var;
extern const uint32_t ContractionComparer_Compare_m314873025_MetadataUsageId;
extern "C" int32_t ContractionComparer_Compare_m314873025 (ContractionComparer_t1150321365 * __this, Il2CppObject * ___o10, Il2CppObject * ___o21, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ContractionComparer_Compare_m314873025_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
Contraction_t1673853792 * V_0 = NULL;
Contraction_t1673853792 * V_1 = NULL;
CharU5BU5D_t1328083999* V_2 = NULL;
CharU5BU5D_t1328083999* V_3 = NULL;
int32_t V_4 = 0;
int32_t V_5 = 0;
int32_t G_B3_0 = 0;
{
Il2CppObject * L_0 = ___o10;
V_0 = ((Contraction_t1673853792 *)CastclassClass(L_0, Contraction_t1673853792_il2cpp_TypeInfo_var));
Il2CppObject * L_1 = ___o21;
V_1 = ((Contraction_t1673853792 *)CastclassClass(L_1, Contraction_t1673853792_il2cpp_TypeInfo_var));
Contraction_t1673853792 * L_2 = V_0;
CharU5BU5D_t1328083999* L_3 = L_2->get_Source_0();
V_2 = L_3;
Contraction_t1673853792 * L_4 = V_1;
CharU5BU5D_t1328083999* L_5 = L_4->get_Source_0();
V_3 = L_5;
CharU5BU5D_t1328083999* L_6 = V_2;
CharU5BU5D_t1328083999* L_7 = V_3;
if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_6)->max_length))))) <= ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_7)->max_length)))))))
{
goto IL_002f;
}
}
{
CharU5BU5D_t1328083999* L_8 = V_3;
G_B3_0 = (((int32_t)((int32_t)(((Il2CppArray *)L_8)->max_length))));
goto IL_0032;
}
IL_002f:
{
CharU5BU5D_t1328083999* L_9 = V_2;
G_B3_0 = (((int32_t)((int32_t)(((Il2CppArray *)L_9)->max_length))));
}
IL_0032:
{
V_4 = G_B3_0;
V_5 = 0;
goto IL_0059;
}
IL_003c:
{
CharU5BU5D_t1328083999* L_10 = V_2;
int32_t L_11 = V_5;
int32_t L_12 = L_11;
uint16_t L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
CharU5BU5D_t1328083999* L_14 = V_3;
int32_t L_15 = V_5;
int32_t L_16 = L_15;
uint16_t L_17 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
if ((((int32_t)L_13) == ((int32_t)L_17)))
{
goto IL_0053;
}
}
{
CharU5BU5D_t1328083999* L_18 = V_2;
int32_t L_19 = V_5;
int32_t L_20 = L_19;
uint16_t L_21 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
CharU5BU5D_t1328083999* L_22 = V_3;
int32_t L_23 = V_5;
int32_t L_24 = L_23;
uint16_t L_25 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
return ((int32_t)((int32_t)L_21-(int32_t)L_25));
}
IL_0053:
{
int32_t L_26 = V_5;
V_5 = ((int32_t)((int32_t)L_26+(int32_t)1));
}
IL_0059:
{
int32_t L_27 = V_5;
int32_t L_28 = V_4;
if ((((int32_t)L_27) < ((int32_t)L_28)))
{
goto IL_003c;
}
}
{
CharU5BU5D_t1328083999* L_29 = V_2;
CharU5BU5D_t1328083999* L_30 = V_3;
return ((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_29)->max_length))))-(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_30)->max_length))))));
}
}
// System.Void Mono.Globalization.Unicode.Level2Map::.ctor(System.Byte,System.Byte)
extern "C" void Level2Map__ctor_m542306287 (Level2Map_t3322505726 * __this, uint8_t ___source0, uint8_t ___replace1, const MethodInfo* method)
{
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
uint8_t L_0 = ___source0;
__this->set_Source_0(L_0);
uint8_t L_1 = ___replace1;
__this->set_Replace_1(L_1);
return;
}
}
// System.Void Mono.Globalization.Unicode.Level2MapComparer::.ctor()
extern "C" void Level2MapComparer__ctor_m28475402 (Level2MapComparer_t914717527 * __this, const MethodInfo* method)
{
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Globalization.Unicode.Level2MapComparer::.cctor()
extern Il2CppClass* Level2MapComparer_t914717527_il2cpp_TypeInfo_var;
extern const uint32_t Level2MapComparer__cctor_m3753124597_MetadataUsageId;
extern "C" void Level2MapComparer__cctor_m3753124597 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (Level2MapComparer__cctor_m3753124597_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
Level2MapComparer_t914717527 * L_0 = (Level2MapComparer_t914717527 *)il2cpp_codegen_object_new(Level2MapComparer_t914717527_il2cpp_TypeInfo_var);
Level2MapComparer__ctor_m28475402(L_0, /*hidden argument*/NULL);
((Level2MapComparer_t914717527_StaticFields*)Level2MapComparer_t914717527_il2cpp_TypeInfo_var->static_fields)->set_Instance_0(L_0);
return;
}
}
// System.Int32 Mono.Globalization.Unicode.Level2MapComparer::Compare(System.Object,System.Object)
extern Il2CppClass* Level2Map_t3322505726_il2cpp_TypeInfo_var;
extern const uint32_t Level2MapComparer_Compare_m2537942367_MetadataUsageId;
extern "C" int32_t Level2MapComparer_Compare_m2537942367 (Level2MapComparer_t914717527 * __this, Il2CppObject * ___o10, Il2CppObject * ___o21, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (Level2MapComparer_Compare_m2537942367_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
Level2Map_t3322505726 * V_0 = NULL;
Level2Map_t3322505726 * V_1 = NULL;
{
Il2CppObject * L_0 = ___o10;
V_0 = ((Level2Map_t3322505726 *)CastclassClass(L_0, Level2Map_t3322505726_il2cpp_TypeInfo_var));
Il2CppObject * L_1 = ___o21;
V_1 = ((Level2Map_t3322505726 *)CastclassClass(L_1, Level2Map_t3322505726_il2cpp_TypeInfo_var));
Level2Map_t3322505726 * L_2 = V_0;
uint8_t L_3 = L_2->get_Source_0();
Level2Map_t3322505726 * L_4 = V_1;
uint8_t L_5 = L_4->get_Source_0();
return ((int32_t)((int32_t)L_3-(int32_t)L_5));
}
}
// System.Void Mono.Globalization.Unicode.MSCompatUnicodeTable::.cctor()
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern Il2CppClass* Il2CppObject_il2cpp_TypeInfo_var;
extern Il2CppClass* IntPtr_t_il2cpp_TypeInfo_var;
extern Il2CppClass* TailoringInfoU5BU5D_t2757346586_il2cpp_TypeInfo_var;
extern Il2CppClass* TailoringInfo_t1449609243_il2cpp_TypeInfo_var;
extern Il2CppClass* CharU5BU5D_t1328083999_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral3703255587;
extern Il2CppCodeGenString* _stringLiteral2349391253;
extern const uint32_t MSCompatUnicodeTable__cctor_m4045930951_MetadataUsageId;
#if IL2CPP_TARGET_XBOXONE
IL2CPP_DISABLE_OPTIMIZATIONS
#endif
extern "C" void MSCompatUnicodeTable__cctor_m4045930951 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (MSCompatUnicodeTable__cctor_m4045930951_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
uint8_t* V_0 = NULL;
uint8_t* V_1 = NULL;
uint32_t V_2 = 0;
uint32_t V_3 = 0;
IntPtr_t V_4;
memset(&V_4, 0, sizeof(V_4));
uint32_t V_5 = 0;
int32_t V_6 = 0;
int32_t V_7 = 0;
int32_t V_8 = 0;
int32_t V_9 = 0;
TailoringInfo_t1449609243 * V_10 = NULL;
int32_t V_11 = 0;
{
((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->set_MaxExpansionLength_0(3);
Il2CppObject * L_0 = (Il2CppObject *)il2cpp_codegen_object_new(Il2CppObject_il2cpp_TypeInfo_var);
Object__ctor_m2551263788(L_0, /*hidden argument*/NULL);
((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->set_forLock_17(L_0);
V_3 = 0;
IntPtr_t L_1 = MSCompatUnicodeTable_GetResource_m3816716847(NULL /*static, unused*/, _stringLiteral3703255587, /*hidden argument*/NULL);
V_4 = L_1;
IntPtr_t L_2 = V_4;
IntPtr_t L_3 = ((IntPtr_t_StaticFields*)IntPtr_t_il2cpp_TypeInfo_var->static_fields)->get_Zero_1();
bool L_4 = IntPtr_op_Equality_m1573482188(NULL /*static, unused*/, L_2, L_3, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_0030;
}
}
{
return;
}
IL_0030:
{
IntPtr_t L_5 = V_4;
void* L_6 = IntPtr_op_Explicit_m1073656736(NULL /*static, unused*/, L_5, /*hidden argument*/NULL);
V_0 = (uint8_t*)L_6;
IntPtr_t L_7 = MSCompatUnicodeTable_GetResource_m3816716847(NULL /*static, unused*/, _stringLiteral2349391253, /*hidden argument*/NULL);
V_4 = L_7;
IntPtr_t L_8 = V_4;
IntPtr_t L_9 = ((IntPtr_t_StaticFields*)IntPtr_t_il2cpp_TypeInfo_var->static_fields)->get_Zero_1();
bool L_10 = IntPtr_op_Equality_m1573482188(NULL /*static, unused*/, L_8, L_9, /*hidden argument*/NULL);
if (!L_10)
{
goto IL_0056;
}
}
{
return;
}
IL_0056:
{
IntPtr_t L_11 = V_4;
void* L_12 = IntPtr_op_Explicit_m1073656736(NULL /*static, unused*/, L_11, /*hidden argument*/NULL);
V_1 = (uint8_t*)L_12;
uint8_t* L_13 = V_0;
if (!L_13)
{
goto IL_006a;
}
}
{
uint8_t* L_14 = V_1;
if (L_14)
{
goto IL_006b;
}
}
IL_006a:
{
return;
}
IL_006b:
{
uint8_t* L_15 = V_0;
if ((!(((uint32_t)(*((uint8_t*)L_15))) == ((uint32_t)3))))
{
goto IL_007b;
}
}
{
uint8_t* L_16 = V_1;
if ((((int32_t)(*((uint8_t*)L_16))) == ((int32_t)3)))
{
goto IL_007c;
}
}
IL_007b:
{
return;
}
IL_007c:
{
V_3 = 1;
uint8_t* L_17 = V_0;
uint32_t L_18 = V_3;
uint32_t L_19 = MSCompatUnicodeTable_UInt32FromBytePtr_m340276309(NULL /*static, unused*/, (uint8_t*)(uint8_t*)L_17, L_18, /*hidden argument*/NULL);
V_2 = L_19;
uint32_t L_20 = V_3;
V_3 = ((int32_t)((int32_t)L_20+(int32_t)4));
uint8_t* L_21 = V_0;
uint32_t L_22 = V_3;
((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->set_ignorableFlags_1((uint8_t*)((uint8_t*)((intptr_t)L_21+(intptr_t)(((uintptr_t)L_22)))));
uint32_t L_23 = V_3;
uint32_t L_24 = V_2;
V_3 = ((int32_t)((int32_t)L_23+(int32_t)L_24));
uint8_t* L_25 = V_0;
uint32_t L_26 = V_3;
uint32_t L_27 = MSCompatUnicodeTable_UInt32FromBytePtr_m340276309(NULL /*static, unused*/, (uint8_t*)(uint8_t*)L_25, L_26, /*hidden argument*/NULL);
V_2 = L_27;
uint32_t L_28 = V_3;
V_3 = ((int32_t)((int32_t)L_28+(int32_t)4));
uint8_t* L_29 = V_0;
uint32_t L_30 = V_3;
((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->set_categories_2((uint8_t*)((uint8_t*)((intptr_t)L_29+(intptr_t)(((uintptr_t)L_30)))));
uint32_t L_31 = V_3;
uint32_t L_32 = V_2;
V_3 = ((int32_t)((int32_t)L_31+(int32_t)L_32));
uint8_t* L_33 = V_0;
uint32_t L_34 = V_3;
uint32_t L_35 = MSCompatUnicodeTable_UInt32FromBytePtr_m340276309(NULL /*static, unused*/, (uint8_t*)(uint8_t*)L_33, L_34, /*hidden argument*/NULL);
V_2 = L_35;
uint32_t L_36 = V_3;
V_3 = ((int32_t)((int32_t)L_36+(int32_t)4));
uint8_t* L_37 = V_0;
uint32_t L_38 = V_3;
((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->set_level1_3((uint8_t*)((uint8_t*)((intptr_t)L_37+(intptr_t)(((uintptr_t)L_38)))));
uint32_t L_39 = V_3;
uint32_t L_40 = V_2;
V_3 = ((int32_t)((int32_t)L_39+(int32_t)L_40));
uint8_t* L_41 = V_0;
uint32_t L_42 = V_3;
uint32_t L_43 = MSCompatUnicodeTable_UInt32FromBytePtr_m340276309(NULL /*static, unused*/, (uint8_t*)(uint8_t*)L_41, L_42, /*hidden argument*/NULL);
V_2 = L_43;
uint32_t L_44 = V_3;
V_3 = ((int32_t)((int32_t)L_44+(int32_t)4));
uint8_t* L_45 = V_0;
uint32_t L_46 = V_3;
((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->set_level2_4((uint8_t*)((uint8_t*)((intptr_t)L_45+(intptr_t)(((uintptr_t)L_46)))));
uint32_t L_47 = V_3;
uint32_t L_48 = V_2;
V_3 = ((int32_t)((int32_t)L_47+(int32_t)L_48));
uint8_t* L_49 = V_0;
uint32_t L_50 = V_3;
uint32_t L_51 = MSCompatUnicodeTable_UInt32FromBytePtr_m340276309(NULL /*static, unused*/, (uint8_t*)(uint8_t*)L_49, L_50, /*hidden argument*/NULL);
V_2 = L_51;
uint32_t L_52 = V_3;
V_3 = ((int32_t)((int32_t)L_52+(int32_t)4));
uint8_t* L_53 = V_0;
uint32_t L_54 = V_3;
((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->set_level3_5((uint8_t*)((uint8_t*)((intptr_t)L_53+(intptr_t)(((uintptr_t)L_54)))));
uint32_t L_55 = V_3;
uint32_t L_56 = V_2;
V_3 = ((int32_t)((int32_t)L_55+(int32_t)L_56));
V_3 = 1;
uint8_t* L_57 = V_1;
uint32_t L_58 = V_3;
uint32_t L_59 = MSCompatUnicodeTable_UInt32FromBytePtr_m340276309(NULL /*static, unused*/, (uint8_t*)(uint8_t*)L_57, L_58, /*hidden argument*/NULL);
V_5 = L_59;
uint32_t L_60 = V_3;
V_3 = ((int32_t)((int32_t)L_60+(int32_t)4));
uint32_t L_61 = V_5;
((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->set_tailoringInfos_16(((TailoringInfoU5BU5D_t2757346586*)SZArrayNew(TailoringInfoU5BU5D_t2757346586_il2cpp_TypeInfo_var, (uint32_t)(((uintptr_t)L_61)))));
V_6 = 0;
goto IL_0172;
}
IL_011f:
{
uint8_t* L_62 = V_1;
uint32_t L_63 = V_3;
uint32_t L_64 = MSCompatUnicodeTable_UInt32FromBytePtr_m340276309(NULL /*static, unused*/, (uint8_t*)(uint8_t*)L_62, L_63, /*hidden argument*/NULL);
V_7 = L_64;
uint32_t L_65 = V_3;
V_3 = ((int32_t)((int32_t)L_65+(int32_t)4));
uint8_t* L_66 = V_1;
uint32_t L_67 = V_3;
uint32_t L_68 = MSCompatUnicodeTable_UInt32FromBytePtr_m340276309(NULL /*static, unused*/, (uint8_t*)(uint8_t*)L_66, L_67, /*hidden argument*/NULL);
V_8 = L_68;
uint32_t L_69 = V_3;
V_3 = ((int32_t)((int32_t)L_69+(int32_t)4));
uint8_t* L_70 = V_1;
uint32_t L_71 = V_3;
uint32_t L_72 = MSCompatUnicodeTable_UInt32FromBytePtr_m340276309(NULL /*static, unused*/, (uint8_t*)(uint8_t*)L_70, L_71, /*hidden argument*/NULL);
V_9 = L_72;
uint32_t L_73 = V_3;
V_3 = ((int32_t)((int32_t)L_73+(int32_t)4));
int32_t L_74 = V_7;
int32_t L_75 = V_8;
int32_t L_76 = V_9;
uint8_t* L_77 = V_1;
uint32_t L_78 = V_3;
uint32_t L_79 = L_78;
V_3 = ((int32_t)((int32_t)L_79+(int32_t)1));
TailoringInfo_t1449609243 * L_80 = (TailoringInfo_t1449609243 *)il2cpp_codegen_object_new(TailoringInfo_t1449609243_il2cpp_TypeInfo_var);
TailoringInfo__ctor_m2248501932(L_80, L_74, L_75, L_76, (bool)((((int32_t)((((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_77+(intptr_t)(((uintptr_t)L_79))))))) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0), /*hidden argument*/NULL);
V_10 = L_80;
TailoringInfoU5BU5D_t2757346586* L_81 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_tailoringInfos_16();
int32_t L_82 = V_6;
TailoringInfo_t1449609243 * L_83 = V_10;
ArrayElementTypeCheck (L_81, L_83);
(L_81)->SetAt(static_cast<il2cpp_array_size_t>(L_82), (TailoringInfo_t1449609243 *)L_83);
int32_t L_84 = V_6;
V_6 = ((int32_t)((int32_t)L_84+(int32_t)1));
}
IL_0172:
{
int32_t L_85 = V_6;
uint32_t L_86 = V_5;
if ((((int64_t)(((int64_t)((int64_t)L_85)))) < ((int64_t)(((int64_t)((uint64_t)L_86))))))
{
goto IL_011f;
}
}
{
uint32_t L_87 = V_3;
V_3 = ((int32_t)((int32_t)L_87+(int32_t)2));
uint8_t* L_88 = V_1;
uint32_t L_89 = V_3;
uint32_t L_90 = MSCompatUnicodeTable_UInt32FromBytePtr_m340276309(NULL /*static, unused*/, (uint8_t*)(uint8_t*)L_88, L_89, /*hidden argument*/NULL);
V_5 = L_90;
uint32_t L_91 = V_3;
V_3 = ((int32_t)((int32_t)L_91+(int32_t)4));
uint32_t L_92 = V_5;
((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->set_tailoringArr_15(((CharU5BU5D_t1328083999*)SZArrayNew(CharU5BU5D_t1328083999_il2cpp_TypeInfo_var, (uint32_t)(((uintptr_t)L_92)))));
V_11 = 0;
goto IL_01c5;
}
IL_01a3:
{
CharU5BU5D_t1328083999* L_93 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_tailoringArr_15();
int32_t L_94 = V_11;
uint8_t* L_95 = V_1;
uint32_t L_96 = V_3;
uint8_t* L_97 = V_1;
uint32_t L_98 = V_3;
(L_93)->SetAt(static_cast<il2cpp_array_size_t>(L_94), (Il2CppChar)(((int32_t)((uint16_t)((int32_t)((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_95+(intptr_t)(((uintptr_t)L_96))))))+(int32_t)((int32_t)((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_97+(intptr_t)(((uintptr_t)((int32_t)((int32_t)L_98+(int32_t)1))))))))<<(int32_t)8))))))));
int32_t L_99 = V_11;
V_11 = ((int32_t)((int32_t)L_99+(int32_t)1));
uint32_t L_100 = V_3;
V_3 = ((int32_t)((int32_t)L_100+(int32_t)2));
}
IL_01c5:
{
int32_t L_101 = V_11;
uint32_t L_102 = V_5;
if ((((int64_t)(((int64_t)((int64_t)L_101)))) < ((int64_t)(((int64_t)((uint64_t)L_102))))))
{
goto IL_01a3;
}
}
{
((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->set_isReady_18((bool)1);
return;
}
}
#if IL2CPP_TARGET_XBOXONE
IL2CPP_ENABLE_OPTIMIZATIONS
#endif
// Mono.Globalization.Unicode.TailoringInfo Mono.Globalization.Unicode.MSCompatUnicodeTable::GetTailoringInfo(System.Int32)
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern const uint32_t MSCompatUnicodeTable_GetTailoringInfo_m2792223347_MetadataUsageId;
extern "C" TailoringInfo_t1449609243 * MSCompatUnicodeTable_GetTailoringInfo_m2792223347 (Il2CppObject * __this /* static, unused */, int32_t ___lcid0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (MSCompatUnicodeTable_GetTailoringInfo_m2792223347_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
{
V_0 = 0;
goto IL_0025;
}
IL_0007:
{
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
TailoringInfoU5BU5D_t2757346586* L_0 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_tailoringInfos_16();
int32_t L_1 = V_0;
int32_t L_2 = L_1;
TailoringInfo_t1449609243 * L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
int32_t L_4 = L_3->get_LCID_0();
int32_t L_5 = ___lcid0;
if ((!(((uint32_t)L_4) == ((uint32_t)L_5))))
{
goto IL_0021;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
TailoringInfoU5BU5D_t2757346586* L_6 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_tailoringInfos_16();
int32_t L_7 = V_0;
int32_t L_8 = L_7;
TailoringInfo_t1449609243 * L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
return L_9;
}
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;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
TailoringInfoU5BU5D_t2757346586* L_12 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_tailoringInfos_16();
if ((((int32_t)L_11) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_12)->max_length)))))))
{
goto IL_0007;
}
}
{
return (TailoringInfo_t1449609243 *)NULL;
}
}
// System.Void Mono.Globalization.Unicode.MSCompatUnicodeTable::BuildTailoringTables(System.Globalization.CultureInfo,Mono.Globalization.Unicode.TailoringInfo,Mono.Globalization.Unicode.Contraction[]&,Mono.Globalization.Unicode.Level2Map[]&)
extern const Il2CppType* Contraction_t1673853792_0_0_0_var;
extern const Il2CppType* Level2Map_t3322505726_0_0_0_var;
extern Il2CppClass* ArrayList_t4252133567_il2cpp_TypeInfo_var;
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern Il2CppClass* CharU5BU5D_t1328083999_il2cpp_TypeInfo_var;
extern Il2CppClass* Marshal_t785896760_il2cpp_TypeInfo_var;
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern Il2CppClass* Contraction_t1673853792_il2cpp_TypeInfo_var;
extern Il2CppClass* Level2Map_t3322505726_il2cpp_TypeInfo_var;
extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var;
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppClass* NotImplementedException_t2785117854_il2cpp_TypeInfo_var;
extern Il2CppClass* ContractionComparer_t1150321365_il2cpp_TypeInfo_var;
extern Il2CppClass* Level2MapComparer_t914717527_il2cpp_TypeInfo_var;
extern Il2CppClass* Type_t_il2cpp_TypeInfo_var;
extern Il2CppClass* ContractionU5BU5D_t4233480993_il2cpp_TypeInfo_var;
extern Il2CppClass* Level2MapU5BU5D_t2838259787_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral3256557690;
extern const uint32_t MSCompatUnicodeTable_BuildTailoringTables_m3024392854_MetadataUsageId;
extern "C" void MSCompatUnicodeTable_BuildTailoringTables_m3024392854 (Il2CppObject * __this /* static, unused */, CultureInfo_t3500843524 * ___culture0, TailoringInfo_t1449609243 * ___t1, ContractionU5BU5D_t4233480993** ___contractions2, Level2MapU5BU5D_t2838259787** ___diacriticals3, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (MSCompatUnicodeTable_BuildTailoringTables_m3024392854_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ArrayList_t4252133567 * V_0 = NULL;
ArrayList_t4252133567 * V_1 = NULL;
Il2CppChar* V_2 = NULL;
int32_t V_3 = 0;
int32_t V_4 = 0;
int32_t V_5 = 0;
CharU5BU5D_t1328083999* V_6 = NULL;
ByteU5BU5D_t3397334013* V_7 = NULL;
int32_t V_8 = 0;
int32_t V_9 = 0;
String_t* V_10 = NULL;
Il2CppChar V_11 = 0x0;
uintptr_t G_B4_0 = 0;
{
ArrayList_t4252133567 * L_0 = (ArrayList_t4252133567 *)il2cpp_codegen_object_new(ArrayList_t4252133567_il2cpp_TypeInfo_var);
ArrayList__ctor_m4012174379(L_0, /*hidden argument*/NULL);
V_0 = L_0;
ArrayList_t4252133567 * L_1 = (ArrayList_t4252133567 *)il2cpp_codegen_object_new(ArrayList_t4252133567_il2cpp_TypeInfo_var);
ArrayList__ctor_m4012174379(L_1, /*hidden argument*/NULL);
V_1 = L_1;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
CharU5BU5D_t1328083999* L_2 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_tailoringArr_15();
if (!L_2)
{
goto IL_0022;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
CharU5BU5D_t1328083999* L_3 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_tailoringArr_15();
if ((((int32_t)((int32_t)(((Il2CppArray *)L_3)->max_length)))))
{
goto IL_0029;
}
}
IL_0022:
{
G_B4_0 = (((uintptr_t)0));
goto IL_0034;
}
IL_0029:
{
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
CharU5BU5D_t1328083999* L_4 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_tailoringArr_15();
G_B4_0 = ((uintptr_t)(((L_4)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))));
}
IL_0034:
{
V_2 = (Il2CppChar*)G_B4_0;
TailoringInfo_t1449609243 * L_5 = ___t1;
int32_t L_6 = L_5->get_TailoringIndex_1();
V_3 = L_6;
int32_t L_7 = V_3;
TailoringInfo_t1449609243 * L_8 = ___t1;
int32_t L_9 = L_8->get_TailoringCount_2();
V_4 = ((int32_t)((int32_t)L_7+(int32_t)L_9));
goto IL_01d1;
}
IL_004b:
{
int32_t L_10 = V_3;
V_5 = ((int32_t)((int32_t)L_10+(int32_t)1));
V_6 = (CharU5BU5D_t1328083999*)NULL;
Il2CppChar* L_11 = V_2;
int32_t L_12 = V_3;
V_11 = (*((uint16_t*)((Il2CppChar*)((intptr_t)L_11+(int32_t)((int32_t)((int32_t)L_12*(int32_t)2))))));
Il2CppChar L_13 = V_11;
if (((int32_t)((int32_t)L_13-(int32_t)1)) == 0)
{
goto IL_0075;
}
if (((int32_t)((int32_t)L_13-(int32_t)1)) == 1)
{
goto IL_00fc;
}
if (((int32_t)((int32_t)L_13-(int32_t)1)) == 2)
{
goto IL_0123;
}
}
{
goto IL_01aa;
}
IL_0075:
{
int32_t L_14 = V_3;
V_3 = ((int32_t)((int32_t)L_14+(int32_t)1));
goto IL_0084;
}
IL_007e:
{
int32_t L_15 = V_5;
V_5 = ((int32_t)((int32_t)L_15+(int32_t)1));
}
IL_0084:
{
Il2CppChar* L_16 = V_2;
int32_t L_17 = V_5;
if ((*((uint16_t*)((Il2CppChar*)((intptr_t)L_16+(int32_t)((int32_t)((int32_t)L_17*(int32_t)2)))))))
{
goto IL_007e;
}
}
{
int32_t L_18 = V_5;
int32_t L_19 = V_3;
V_6 = ((CharU5BU5D_t1328083999*)SZArrayNew(CharU5BU5D_t1328083999_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)L_18-(int32_t)L_19))));
Il2CppChar* L_20 = V_2;
int32_t L_21 = V_3;
IntPtr_t L_22 = IntPtr_op_Explicit_m1401226878(NULL /*static, unused*/, (void*)(void*)((Il2CppChar*)((intptr_t)L_20+(int32_t)((int32_t)((int32_t)L_21*(int32_t)2)))), /*hidden argument*/NULL);
CharU5BU5D_t1328083999* L_23 = V_6;
int32_t L_24 = V_5;
int32_t L_25 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(Marshal_t785896760_il2cpp_TypeInfo_var);
Marshal_Copy_m275157126(NULL /*static, unused*/, L_22, L_23, 0, ((int32_t)((int32_t)L_24-(int32_t)L_25)), /*hidden argument*/NULL);
V_7 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)4));
V_8 = 0;
goto IL_00d9;
}
IL_00c1:
{
ByteU5BU5D_t3397334013* L_26 = V_7;
int32_t L_27 = V_8;
Il2CppChar* L_28 = V_2;
int32_t L_29 = V_5;
int32_t L_30 = V_8;
(L_26)->SetAt(static_cast<il2cpp_array_size_t>(L_27), (uint8_t)(((int32_t)((uint8_t)(*((uint16_t*)((Il2CppChar*)((intptr_t)L_28+(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_29+(int32_t)1))+(int32_t)L_30))*(int32_t)2))))))))));
int32_t L_31 = V_8;
V_8 = ((int32_t)((int32_t)L_31+(int32_t)1));
}
IL_00d9:
{
int32_t L_32 = V_8;
if ((((int32_t)L_32) < ((int32_t)4)))
{
goto IL_00c1;
}
}
{
ArrayList_t4252133567 * L_33 = V_0;
CharU5BU5D_t1328083999* L_34 = V_6;
ByteU5BU5D_t3397334013* L_35 = V_7;
Contraction_t1673853792 * L_36 = (Contraction_t1673853792 *)il2cpp_codegen_object_new(Contraction_t1673853792_il2cpp_TypeInfo_var);
Contraction__ctor_m1961818401(L_36, L_34, (String_t*)NULL, L_35, /*hidden argument*/NULL);
VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_33, L_36);
int32_t L_37 = V_5;
V_3 = ((int32_t)((int32_t)L_37+(int32_t)6));
goto IL_01d1;
}
IL_00fc:
{
ArrayList_t4252133567 * L_38 = V_1;
Il2CppChar* L_39 = V_2;
int32_t L_40 = V_3;
Il2CppChar* L_41 = V_2;
int32_t L_42 = V_3;
Level2Map_t3322505726 * L_43 = (Level2Map_t3322505726 *)il2cpp_codegen_object_new(Level2Map_t3322505726_il2cpp_TypeInfo_var);
Level2Map__ctor_m542306287(L_43, (((int32_t)((uint8_t)(*((uint16_t*)((Il2CppChar*)((intptr_t)L_39+(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_40+(int32_t)1))*(int32_t)2))))))))), (((int32_t)((uint8_t)(*((uint16_t*)((Il2CppChar*)((intptr_t)L_41+(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_42+(int32_t)2))*(int32_t)2))))))))), /*hidden argument*/NULL);
VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_38, L_43);
int32_t L_44 = V_3;
V_3 = ((int32_t)((int32_t)L_44+(int32_t)3));
goto IL_01d1;
}
IL_0123:
{
int32_t L_45 = V_3;
V_3 = ((int32_t)((int32_t)L_45+(int32_t)1));
goto IL_0132;
}
IL_012c:
{
int32_t L_46 = V_5;
V_5 = ((int32_t)((int32_t)L_46+(int32_t)1));
}
IL_0132:
{
Il2CppChar* L_47 = V_2;
int32_t L_48 = V_5;
if ((*((uint16_t*)((Il2CppChar*)((intptr_t)L_47+(int32_t)((int32_t)((int32_t)L_48*(int32_t)2)))))))
{
goto IL_012c;
}
}
{
int32_t L_49 = V_5;
int32_t L_50 = V_3;
V_6 = ((CharU5BU5D_t1328083999*)SZArrayNew(CharU5BU5D_t1328083999_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)L_49-(int32_t)L_50))));
Il2CppChar* L_51 = V_2;
int32_t L_52 = V_3;
IntPtr_t L_53 = IntPtr_op_Explicit_m1401226878(NULL /*static, unused*/, (void*)(void*)((Il2CppChar*)((intptr_t)L_51+(int32_t)((int32_t)((int32_t)L_52*(int32_t)2)))), /*hidden argument*/NULL);
CharU5BU5D_t1328083999* L_54 = V_6;
int32_t L_55 = V_5;
int32_t L_56 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(Marshal_t785896760_il2cpp_TypeInfo_var);
Marshal_Copy_m275157126(NULL /*static, unused*/, L_53, L_54, 0, ((int32_t)((int32_t)L_55-(int32_t)L_56)), /*hidden argument*/NULL);
int32_t L_57 = V_5;
V_5 = ((int32_t)((int32_t)L_57+(int32_t)1));
int32_t L_58 = V_5;
V_9 = L_58;
goto IL_0174;
}
IL_016e:
{
int32_t L_59 = V_9;
V_9 = ((int32_t)((int32_t)L_59+(int32_t)1));
}
IL_0174:
{
Il2CppChar* L_60 = V_2;
int32_t L_61 = V_9;
if ((*((uint16_t*)((Il2CppChar*)((intptr_t)L_60+(int32_t)((int32_t)((int32_t)L_61*(int32_t)2)))))))
{
goto IL_016e;
}
}
{
Il2CppChar* L_62 = V_2;
int32_t L_63 = V_5;
int32_t L_64 = V_9;
int32_t L_65 = V_5;
String_t* L_66 = String_CreateString_m3376998739(NULL, (Il2CppChar*)(Il2CppChar*)L_62, L_63, ((int32_t)((int32_t)L_64-(int32_t)L_65)), /*hidden argument*/NULL);
V_10 = L_66;
ArrayList_t4252133567 * L_67 = V_0;
CharU5BU5D_t1328083999* L_68 = V_6;
String_t* L_69 = V_10;
Contraction_t1673853792 * L_70 = (Contraction_t1673853792 *)il2cpp_codegen_object_new(Contraction_t1673853792_il2cpp_TypeInfo_var);
Contraction__ctor_m1961818401(L_70, L_68, L_69, (ByteU5BU5D_t3397334013*)(ByteU5BU5D_t3397334013*)NULL, /*hidden argument*/NULL);
VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_67, L_70);
int32_t L_71 = V_9;
V_3 = ((int32_t)((int32_t)L_71+(int32_t)1));
goto IL_01d1;
}
IL_01aa:
{
CultureInfo_t3500843524 * L_72 = ___culture0;
int32_t L_73 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 System.Globalization.CultureInfo::get_LCID() */, L_72);
int32_t L_74 = L_73;
Il2CppObject * L_75 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_74);
CultureInfo_t3500843524 * L_76 = ___culture0;
String_t* L_77 = VirtFuncInvoker0< String_t* >::Invoke(7 /* System.String System.Globalization.CultureInfo::get_Name() */, L_76);
int32_t L_78 = V_3;
int32_t L_79 = L_78;
Il2CppObject * L_80 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_79);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_81 = String_Format_m4262916296(NULL /*static, unused*/, _stringLiteral3256557690, L_75, L_77, L_80, /*hidden argument*/NULL);
NotImplementedException_t2785117854 * L_82 = (NotImplementedException_t2785117854 *)il2cpp_codegen_object_new(NotImplementedException_t2785117854_il2cpp_TypeInfo_var);
NotImplementedException__ctor_m1795163961(L_82, L_81, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_82);
}
IL_01d1:
{
int32_t L_83 = V_3;
int32_t L_84 = V_4;
if ((((int32_t)L_83) < ((int32_t)L_84)))
{
goto IL_004b;
}
}
{
V_2 = (Il2CppChar*)(((uintptr_t)0));
ArrayList_t4252133567 * L_85 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(ContractionComparer_t1150321365_il2cpp_TypeInfo_var);
ContractionComparer_t1150321365 * L_86 = ((ContractionComparer_t1150321365_StaticFields*)ContractionComparer_t1150321365_il2cpp_TypeInfo_var->static_fields)->get_Instance_0();
VirtActionInvoker1< Il2CppObject * >::Invoke(46 /* System.Void System.Collections.ArrayList::Sort(System.Collections.IComparer) */, L_85, L_86);
ArrayList_t4252133567 * L_87 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(Level2MapComparer_t914717527_il2cpp_TypeInfo_var);
Level2MapComparer_t914717527 * L_88 = ((Level2MapComparer_t914717527_StaticFields*)Level2MapComparer_t914717527_il2cpp_TypeInfo_var->static_fields)->get_Instance_0();
VirtActionInvoker1< Il2CppObject * >::Invoke(46 /* System.Void System.Collections.ArrayList::Sort(System.Collections.IComparer) */, L_87, L_88);
ContractionU5BU5D_t4233480993** L_89 = ___contractions2;
ArrayList_t4252133567 * L_90 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_91 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Contraction_t1673853792_0_0_0_var), /*hidden argument*/NULL);
Il2CppArray * L_92 = VirtFuncInvoker1< Il2CppArray *, Type_t * >::Invoke(48 /* System.Array System.Collections.ArrayList::ToArray(System.Type) */, L_90, L_91);
*((Il2CppObject **)(L_89)) = (Il2CppObject *)((ContractionU5BU5D_t4233480993*)IsInst(L_92, ContractionU5BU5D_t4233480993_il2cpp_TypeInfo_var));
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_89), (Il2CppObject *)((ContractionU5BU5D_t4233480993*)IsInst(L_92, ContractionU5BU5D_t4233480993_il2cpp_TypeInfo_var)));
Level2MapU5BU5D_t2838259787** L_93 = ___diacriticals3;
ArrayList_t4252133567 * L_94 = V_1;
Type_t * L_95 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Level2Map_t3322505726_0_0_0_var), /*hidden argument*/NULL);
Il2CppArray * L_96 = VirtFuncInvoker1< Il2CppArray *, Type_t * >::Invoke(48 /* System.Array System.Collections.ArrayList::ToArray(System.Type) */, L_94, L_95);
*((Il2CppObject **)(L_93)) = (Il2CppObject *)((Level2MapU5BU5D_t2838259787*)IsInst(L_96, Level2MapU5BU5D_t2838259787_il2cpp_TypeInfo_var));
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_93), (Il2CppObject *)((Level2MapU5BU5D_t2838259787*)IsInst(L_96, Level2MapU5BU5D_t2838259787_il2cpp_TypeInfo_var)));
return;
}
}
// System.Void Mono.Globalization.Unicode.MSCompatUnicodeTable::SetCJKReferences(System.String,Mono.Globalization.Unicode.CodePointIndexer&,System.Byte*&,System.Byte*&,Mono.Globalization.Unicode.CodePointIndexer&,System.Byte*&)
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern Il2CppClass* Dictionary_2_t3986656710_il2cpp_TypeInfo_var;
extern Il2CppClass* MSCompatUnicodeTableUtil_t2040269023_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* _stringLiteral3706106155;
extern Il2CppCodeGenString* _stringLiteral3302821628;
extern Il2CppCodeGenString* _stringLiteral690346019;
extern Il2CppCodeGenString* _stringLiteral1496915072;
extern const uint32_t MSCompatUnicodeTable_SetCJKReferences_m3868493963_MetadataUsageId;
extern "C" void MSCompatUnicodeTable_SetCJKReferences_m3868493963 (Il2CppObject * __this /* static, unused */, String_t* ___name0, CodePointIndexer_t1073906970 ** ___cjkIndexer1, uint8_t** ___catTable2, uint8_t** ___lv1Table3, CodePointIndexer_t1073906970 ** ___lv2Indexer4, uint8_t** ___lv2Table5, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (MSCompatUnicodeTable_SetCJKReferences_m3868493963_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
String_t* V_0 = NULL;
Dictionary_2_t3986656710 * V_1 = NULL;
int32_t V_2 = 0;
{
String_t* L_0 = ___name0;
V_0 = L_0;
String_t* L_1 = V_0;
if (!L_1)
{
goto IL_00f4;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
Dictionary_2_t3986656710 * L_2 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__switchU24map2_19();
if (L_2)
{
goto IL_004f;
}
}
{
Dictionary_2_t3986656710 * L_3 = (Dictionary_2_t3986656710 *)il2cpp_codegen_object_new(Dictionary_2_t3986656710_il2cpp_TypeInfo_var);
Dictionary_2__ctor_m2118310873(L_3, 4, /*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, _stringLiteral3706106155, 0, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_5 = V_1;
Dictionary_2_Add_m1209957957(L_5, _stringLiteral3302821628, 1, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_6 = V_1;
Dictionary_2_Add_m1209957957(L_6, _stringLiteral690346019, 2, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_7 = V_1;
Dictionary_2_Add_m1209957957(L_7, _stringLiteral1496915072, 3, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_8 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__switchU24map2_19(L_8);
}
IL_004f:
{
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
Dictionary_2_t3986656710 * L_9 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__switchU24map2_19();
String_t* L_10 = V_0;
bool L_11 = Dictionary_2_TryGetValue_m2977303364(L_9, L_10, (&V_2), /*hidden argument*/Dictionary_2_TryGetValue_m2977303364_MethodInfo_var);
if (!L_11)
{
goto IL_00f4;
}
}
{
int32_t L_12 = V_2;
if (L_12 == 0)
{
goto IL_007c;
}
if (L_12 == 1)
{
goto IL_0096;
}
if (L_12 == 2)
{
goto IL_00b0;
}
if (L_12 == 3)
{
goto IL_00ca;
}
}
{
goto IL_00f4;
}
IL_007c:
{
uint8_t** L_13 = ___catTable2;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t* L_14 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_cjkCHScategory_6();
*((Il2CppObject **)(L_13)) = (Il2CppObject *)L_14;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_13), (Il2CppObject *)L_14);
uint8_t** L_15 = ___lv1Table3;
uint8_t* L_16 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_cjkCHSlv1_10();
*((Il2CppObject **)(L_15)) = (Il2CppObject *)L_16;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_15), (Il2CppObject *)L_16);
CodePointIndexer_t1073906970 ** L_17 = ___cjkIndexer1;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var);
CodePointIndexer_t1073906970 * L_18 = ((MSCompatUnicodeTableUtil_t2040269023_StaticFields*)MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var->static_fields)->get_CjkCHS_5();
*((Il2CppObject **)(L_17)) = (Il2CppObject *)L_18;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_17), (Il2CppObject *)L_18);
goto IL_00f4;
}
IL_0096:
{
uint8_t** L_19 = ___catTable2;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t* L_20 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_cjkCHTcategory_7();
*((Il2CppObject **)(L_19)) = (Il2CppObject *)L_20;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_19), (Il2CppObject *)L_20);
uint8_t** L_21 = ___lv1Table3;
uint8_t* L_22 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_cjkCHTlv1_11();
*((Il2CppObject **)(L_21)) = (Il2CppObject *)L_22;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_21), (Il2CppObject *)L_22);
CodePointIndexer_t1073906970 ** L_23 = ___cjkIndexer1;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var);
CodePointIndexer_t1073906970 * L_24 = ((MSCompatUnicodeTableUtil_t2040269023_StaticFields*)MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var->static_fields)->get_Cjk_6();
*((Il2CppObject **)(L_23)) = (Il2CppObject *)L_24;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_23), (Il2CppObject *)L_24);
goto IL_00f4;
}
IL_00b0:
{
uint8_t** L_25 = ___catTable2;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t* L_26 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_cjkJAcategory_8();
*((Il2CppObject **)(L_25)) = (Il2CppObject *)L_26;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_25), (Il2CppObject *)L_26);
uint8_t** L_27 = ___lv1Table3;
uint8_t* L_28 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_cjkJAlv1_12();
*((Il2CppObject **)(L_27)) = (Il2CppObject *)L_28;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_27), (Il2CppObject *)L_28);
CodePointIndexer_t1073906970 ** L_29 = ___cjkIndexer1;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var);
CodePointIndexer_t1073906970 * L_30 = ((MSCompatUnicodeTableUtil_t2040269023_StaticFields*)MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var->static_fields)->get_Cjk_6();
*((Il2CppObject **)(L_29)) = (Il2CppObject *)L_30;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_29), (Il2CppObject *)L_30);
goto IL_00f4;
}
IL_00ca:
{
uint8_t** L_31 = ___catTable2;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t* L_32 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_cjkKOcategory_9();
*((Il2CppObject **)(L_31)) = (Il2CppObject *)L_32;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_31), (Il2CppObject *)L_32);
uint8_t** L_33 = ___lv1Table3;
uint8_t* L_34 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_cjkKOlv1_13();
*((Il2CppObject **)(L_33)) = (Il2CppObject *)L_34;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_33), (Il2CppObject *)L_34);
uint8_t** L_35 = ___lv2Table5;
uint8_t* L_36 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_cjkKOlv2_14();
*((Il2CppObject **)(L_35)) = (Il2CppObject *)L_36;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_35), (Il2CppObject *)L_36);
CodePointIndexer_t1073906970 ** L_37 = ___cjkIndexer1;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var);
CodePointIndexer_t1073906970 * L_38 = ((MSCompatUnicodeTableUtil_t2040269023_StaticFields*)MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var->static_fields)->get_Cjk_6();
*((Il2CppObject **)(L_37)) = (Il2CppObject *)L_38;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_37), (Il2CppObject *)L_38);
CodePointIndexer_t1073906970 ** L_39 = ___lv2Indexer4;
CodePointIndexer_t1073906970 * L_40 = ((MSCompatUnicodeTableUtil_t2040269023_StaticFields*)MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var->static_fields)->get_Cjk_6();
*((Il2CppObject **)(L_39)) = (Il2CppObject *)L_40;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_39), (Il2CppObject *)L_40);
goto IL_00f4;
}
IL_00f4:
{
return;
}
}
// System.Byte Mono.Globalization.Unicode.MSCompatUnicodeTable::Category(System.Int32)
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern Il2CppClass* MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var;
extern const uint32_t MSCompatUnicodeTable_Category_m3854768527_MetadataUsageId;
extern "C" uint8_t MSCompatUnicodeTable_Category_m3854768527 (Il2CppObject * __this /* static, unused */, int32_t ___cp0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (MSCompatUnicodeTable_Category_m3854768527_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t* L_0 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_categories_2();
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var);
CodePointIndexer_t1073906970 * L_1 = ((MSCompatUnicodeTableUtil_t2040269023_StaticFields*)MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var->static_fields)->get_Category_1();
int32_t L_2 = ___cp0;
int32_t L_3 = CodePointIndexer_ToIndex_m2133868653(L_1, L_2, /*hidden argument*/NULL);
return (*((uint8_t*)((uint8_t*)((intptr_t)L_0+(int32_t)L_3))));
}
}
// System.Byte Mono.Globalization.Unicode.MSCompatUnicodeTable::Level1(System.Int32)
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern Il2CppClass* MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var;
extern const uint32_t MSCompatUnicodeTable_Level1_m2297588822_MetadataUsageId;
extern "C" uint8_t MSCompatUnicodeTable_Level1_m2297588822 (Il2CppObject * __this /* static, unused */, int32_t ___cp0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (MSCompatUnicodeTable_Level1_m2297588822_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t* L_0 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_level1_3();
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var);
CodePointIndexer_t1073906970 * L_1 = ((MSCompatUnicodeTableUtil_t2040269023_StaticFields*)MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var->static_fields)->get_Level1_2();
int32_t L_2 = ___cp0;
int32_t L_3 = CodePointIndexer_ToIndex_m2133868653(L_1, L_2, /*hidden argument*/NULL);
return (*((uint8_t*)((uint8_t*)((intptr_t)L_0+(int32_t)L_3))));
}
}
// System.Byte Mono.Globalization.Unicode.MSCompatUnicodeTable::Level2(System.Int32)
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern Il2CppClass* MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var;
extern const uint32_t MSCompatUnicodeTable_Level2_m3059550747_MetadataUsageId;
extern "C" uint8_t MSCompatUnicodeTable_Level2_m3059550747 (Il2CppObject * __this /* static, unused */, int32_t ___cp0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (MSCompatUnicodeTable_Level2_m3059550747_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t* L_0 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_level2_4();
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var);
CodePointIndexer_t1073906970 * L_1 = ((MSCompatUnicodeTableUtil_t2040269023_StaticFields*)MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var->static_fields)->get_Level2_3();
int32_t L_2 = ___cp0;
int32_t L_3 = CodePointIndexer_ToIndex_m2133868653(L_1, L_2, /*hidden argument*/NULL);
return (*((uint8_t*)((uint8_t*)((intptr_t)L_0+(int32_t)L_3))));
}
}
// System.Byte Mono.Globalization.Unicode.MSCompatUnicodeTable::Level3(System.Int32)
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern Il2CppClass* MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var;
extern const uint32_t MSCompatUnicodeTable_Level3_m260824928_MetadataUsageId;
extern "C" uint8_t MSCompatUnicodeTable_Level3_m260824928 (Il2CppObject * __this /* static, unused */, int32_t ___cp0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (MSCompatUnicodeTable_Level3_m260824928_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t* L_0 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_level3_5();
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var);
CodePointIndexer_t1073906970 * L_1 = ((MSCompatUnicodeTableUtil_t2040269023_StaticFields*)MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var->static_fields)->get_Level3_4();
int32_t L_2 = ___cp0;
int32_t L_3 = CodePointIndexer_ToIndex_m2133868653(L_1, L_2, /*hidden argument*/NULL);
return (*((uint8_t*)((uint8_t*)((intptr_t)L_0+(int32_t)L_3))));
}
}
// System.Boolean Mono.Globalization.Unicode.MSCompatUnicodeTable::IsIgnorable(System.Int32,System.Byte)
extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var;
extern Il2CppClass* MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var;
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern const uint32_t MSCompatUnicodeTable_IsIgnorable_m2816251577_MetadataUsageId;
extern "C" bool MSCompatUnicodeTable_IsIgnorable_m2816251577 (Il2CppObject * __this /* static, unused */, int32_t ___cp0, uint8_t ___flag1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (MSCompatUnicodeTable_IsIgnorable_m2816251577_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t G_B11_0 = 0;
{
int32_t L_0 = ___cp0;
if (L_0)
{
goto IL_0008;
}
}
{
return (bool)0;
}
IL_0008:
{
uint8_t L_1 = ___flag1;
if (!((int32_t)((int32_t)L_1&(int32_t)1)))
{
goto IL_003a;
}
}
{
int32_t L_2 = ___cp0;
IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var);
int32_t L_3 = Char_GetUnicodeCategory_m4273361321(NULL /*static, unused*/, (((int32_t)((uint16_t)L_2))), /*hidden argument*/NULL);
V_0 = L_3;
int32_t L_4 = V_0;
if ((!(((uint32_t)L_4) == ((uint32_t)((int32_t)29)))))
{
goto IL_0022;
}
}
{
return (bool)1;
}
IL_0022:
{
int32_t L_5 = ___cp0;
if ((((int32_t)((int32_t)55424)) > ((int32_t)L_5)))
{
goto IL_003a;
}
}
{
int32_t L_6 = ___cp0;
if ((((int32_t)L_6) >= ((int32_t)((int32_t)56192))))
{
goto IL_003a;
}
}
{
return (bool)1;
}
IL_003a:
{
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var);
CodePointIndexer_t1073906970 * L_7 = ((MSCompatUnicodeTableUtil_t2040269023_StaticFields*)MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var->static_fields)->get_Ignorable_0();
int32_t L_8 = ___cp0;
int32_t L_9 = CodePointIndexer_ToIndex_m2133868653(L_7, L_8, /*hidden argument*/NULL);
V_1 = L_9;
int32_t L_10 = V_1;
if ((((int32_t)L_10) < ((int32_t)0)))
{
goto IL_005f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t* L_11 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_ignorableFlags_1();
int32_t L_12 = V_1;
uint8_t L_13 = ___flag1;
G_B11_0 = ((((int32_t)((((int32_t)((int32_t)((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_11+(int32_t)L_12))))&(int32_t)L_13))) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_0060;
}
IL_005f:
{
G_B11_0 = 0;
}
IL_0060:
{
return (bool)G_B11_0;
}
}
// System.Boolean Mono.Globalization.Unicode.MSCompatUnicodeTable::IsIgnorableNonSpacing(System.Int32)
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern const uint32_t MSCompatUnicodeTable_IsIgnorableNonSpacing_m3661476786_MetadataUsageId;
extern "C" bool MSCompatUnicodeTable_IsIgnorableNonSpacing_m3661476786 (Il2CppObject * __this /* static, unused */, int32_t ___cp0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (MSCompatUnicodeTable_IsIgnorableNonSpacing_m3661476786_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
int32_t L_0 = ___cp0;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
bool L_1 = MSCompatUnicodeTable_IsIgnorable_m2816251577(NULL /*static, unused*/, L_0, 4, /*hidden argument*/NULL);
return L_1;
}
}
// System.Int32 Mono.Globalization.Unicode.MSCompatUnicodeTable::ToKanaTypeInsensitive(System.Int32)
extern "C" int32_t MSCompatUnicodeTable_ToKanaTypeInsensitive_m908833112 (Il2CppObject * __this /* static, unused */, int32_t ___i0, const MethodInfo* method)
{
int32_t G_B4_0 = 0;
{
int32_t L_0 = ___i0;
if ((((int32_t)((int32_t)12353)) > ((int32_t)L_0)))
{
goto IL_001f;
}
}
{
int32_t L_1 = ___i0;
if ((((int32_t)L_1) > ((int32_t)((int32_t)12436))))
{
goto IL_001f;
}
}
{
int32_t L_2 = ___i0;
G_B4_0 = ((int32_t)((int32_t)L_2+(int32_t)((int32_t)96)));
goto IL_0020;
}
IL_001f:
{
int32_t L_3 = ___i0;
G_B4_0 = L_3;
}
IL_0020:
{
return G_B4_0;
}
}
// System.Int32 Mono.Globalization.Unicode.MSCompatUnicodeTable::ToWidthCompat(System.Int32)
extern "C" int32_t MSCompatUnicodeTable_ToWidthCompat_m2299599532 (Il2CppObject * __this /* static, unused */, int32_t ___i0, const MethodInfo* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = ___i0;
if ((((int32_t)L_0) >= ((int32_t)((int32_t)8592))))
{
goto IL_000d;
}
}
{
int32_t L_1 = ___i0;
return L_1;
}
IL_000d:
{
int32_t L_2 = ___i0;
if ((((int32_t)L_2) <= ((int32_t)((int32_t)65280))))
{
goto IL_0087;
}
}
{
int32_t L_3 = ___i0;
if ((((int32_t)L_3) > ((int32_t)((int32_t)65374))))
{
goto IL_002e;
}
}
{
int32_t L_4 = ___i0;
return ((int32_t)((int32_t)((int32_t)((int32_t)L_4-(int32_t)((int32_t)65280)))+(int32_t)((int32_t)32)));
}
IL_002e:
{
int32_t L_5 = ___i0;
V_0 = L_5;
int32_t L_6 = V_0;
if (((int32_t)((int32_t)L_6-(int32_t)((int32_t)65504))) == 0)
{
goto IL_005d;
}
if (((int32_t)((int32_t)L_6-(int32_t)((int32_t)65504))) == 1)
{
goto IL_0063;
}
if (((int32_t)((int32_t)L_6-(int32_t)((int32_t)65504))) == 2)
{
goto IL_0069;
}
if (((int32_t)((int32_t)L_6-(int32_t)((int32_t)65504))) == 3)
{
goto IL_006f;
}
if (((int32_t)((int32_t)L_6-(int32_t)((int32_t)65504))) == 4)
{
goto IL_0075;
}
if (((int32_t)((int32_t)L_6-(int32_t)((int32_t)65504))) == 5)
{
goto IL_007b;
}
if (((int32_t)((int32_t)L_6-(int32_t)((int32_t)65504))) == 6)
{
goto IL_0081;
}
}
{
goto IL_0087;
}
IL_005d:
{
return ((int32_t)162);
}
IL_0063:
{
return ((int32_t)163);
}
IL_0069:
{
return ((int32_t)172);
}
IL_006f:
{
return ((int32_t)175);
}
IL_0075:
{
return ((int32_t)166);
}
IL_007b:
{
return ((int32_t)165);
}
IL_0081:
{
return ((int32_t)8361);
}
IL_0087:
{
int32_t L_7 = ___i0;
if ((((int32_t)L_7) <= ((int32_t)((int32_t)13054))))
{
goto IL_0094;
}
}
{
int32_t L_8 = ___i0;
return L_8;
}
IL_0094:
{
int32_t L_9 = ___i0;
if ((((int32_t)L_9) > ((int32_t)((int32_t)8595))))
{
goto IL_00a7;
}
}
{
int32_t L_10 = ___i0;
return ((int32_t)((int32_t)((int32_t)56921)+(int32_t)L_10));
}
IL_00a7:
{
int32_t L_11 = ___i0;
if ((((int32_t)L_11) >= ((int32_t)((int32_t)9474))))
{
goto IL_00b4;
}
}
{
int32_t L_12 = ___i0;
return L_12;
}
IL_00b4:
{
int32_t L_13 = ___i0;
if ((((int32_t)L_13) > ((int32_t)((int32_t)9675))))
{
goto IL_00fb;
}
}
{
int32_t L_14 = ___i0;
V_0 = L_14;
int32_t L_15 = V_0;
if ((((int32_t)L_15) == ((int32_t)((int32_t)9474))))
{
goto IL_00e7;
}
}
{
int32_t L_16 = V_0;
if ((((int32_t)L_16) == ((int32_t)((int32_t)9632))))
{
goto IL_00ed;
}
}
{
int32_t L_17 = V_0;
if ((((int32_t)L_17) == ((int32_t)((int32_t)9675))))
{
goto IL_00f3;
}
}
{
goto IL_00f9;
}
IL_00e7:
{
return ((int32_t)65512);
}
IL_00ed:
{
return ((int32_t)65517);
}
IL_00f3:
{
return ((int32_t)65518);
}
IL_00f9:
{
int32_t L_18 = ___i0;
return L_18;
}
IL_00fb:
{
int32_t L_19 = ___i0;
if ((((int32_t)L_19) >= ((int32_t)((int32_t)12288))))
{
goto IL_0108;
}
}
{
int32_t L_20 = ___i0;
return L_20;
}
IL_0108:
{
int32_t L_21 = ___i0;
if ((((int32_t)L_21) >= ((int32_t)((int32_t)12593))))
{
goto IL_0176;
}
}
{
int32_t L_22 = ___i0;
V_0 = L_22;
int32_t L_23 = V_0;
if (((int32_t)((int32_t)L_23-(int32_t)((int32_t)12288))) == 0)
{
goto IL_0153;
}
if (((int32_t)((int32_t)L_23-(int32_t)((int32_t)12288))) == 1)
{
goto IL_0156;
}
if (((int32_t)((int32_t)L_23-(int32_t)((int32_t)12288))) == 2)
{
goto IL_015c;
}
}
{
int32_t L_24 = V_0;
if ((((int32_t)L_24) == ((int32_t)((int32_t)12300))))
{
goto IL_0162;
}
}
{
int32_t L_25 = V_0;
if ((((int32_t)L_25) == ((int32_t)((int32_t)12301))))
{
goto IL_0168;
}
}
{
int32_t L_26 = V_0;
if ((((int32_t)L_26) == ((int32_t)((int32_t)12539))))
{
goto IL_016e;
}
}
{
goto IL_0174;
}
IL_0153:
{
return ((int32_t)32);
}
IL_0156:
{
return ((int32_t)65380);
}
IL_015c:
{
return ((int32_t)65377);
}
IL_0162:
{
return ((int32_t)65378);
}
IL_0168:
{
return ((int32_t)65379);
}
IL_016e:
{
return ((int32_t)65381);
}
IL_0174:
{
int32_t L_27 = ___i0;
return L_27;
}
IL_0176:
{
int32_t L_28 = ___i0;
if ((((int32_t)L_28) >= ((int32_t)((int32_t)12644))))
{
goto IL_018f;
}
}
{
int32_t L_29 = ___i0;
return ((int32_t)((int32_t)((int32_t)((int32_t)L_29-(int32_t)((int32_t)12592)))+(int32_t)((int32_t)65440)));
}
IL_018f:
{
int32_t L_30 = ___i0;
if ((!(((uint32_t)L_30) == ((uint32_t)((int32_t)12644)))))
{
goto IL_01a0;
}
}
{
return ((int32_t)65440);
}
IL_01a0:
{
int32_t L_31 = ___i0;
return L_31;
}
}
// System.Boolean Mono.Globalization.Unicode.MSCompatUnicodeTable::HasSpecialWeight(System.Char)
extern "C" bool MSCompatUnicodeTable_HasSpecialWeight_m4030611518 (Il2CppObject * __this /* static, unused */, Il2CppChar ___c0, const MethodInfo* method)
{
{
Il2CppChar L_0 = ___c0;
if ((((int32_t)L_0) >= ((int32_t)((int32_t)12353))))
{
goto IL_000d;
}
}
{
return (bool)0;
}
IL_000d:
{
Il2CppChar L_1 = ___c0;
if ((((int32_t)((int32_t)65382)) > ((int32_t)L_1)))
{
goto IL_0025;
}
}
{
Il2CppChar L_2 = ___c0;
if ((((int32_t)L_2) >= ((int32_t)((int32_t)65438))))
{
goto IL_0025;
}
}
{
return (bool)1;
}
IL_0025:
{
Il2CppChar L_3 = ___c0;
if ((((int32_t)((int32_t)13056)) > ((int32_t)L_3)))
{
goto IL_0032;
}
}
{
return (bool)0;
}
IL_0032:
{
Il2CppChar L_4 = ___c0;
if ((((int32_t)L_4) >= ((int32_t)((int32_t)12445))))
{
goto IL_0046;
}
}
{
Il2CppChar L_5 = ___c0;
return (bool)((((int32_t)L_5) < ((int32_t)((int32_t)12441)))? 1 : 0);
}
IL_0046:
{
Il2CppChar L_6 = ___c0;
if ((((int32_t)L_6) >= ((int32_t)((int32_t)12544))))
{
goto IL_005d;
}
}
{
Il2CppChar L_7 = ___c0;
return (bool)((((int32_t)((((int32_t)L_7) == ((int32_t)((int32_t)12539)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
}
IL_005d:
{
Il2CppChar L_8 = ___c0;
if ((((int32_t)L_8) >= ((int32_t)((int32_t)13008))))
{
goto IL_006a;
}
}
{
return (bool)0;
}
IL_006a:
{
Il2CppChar L_9 = ___c0;
if ((((int32_t)L_9) >= ((int32_t)((int32_t)13055))))
{
goto IL_0077;
}
}
{
return (bool)1;
}
IL_0077:
{
return (bool)0;
}
}
// System.Boolean Mono.Globalization.Unicode.MSCompatUnicodeTable::IsHalfWidthKana(System.Char)
extern "C" bool MSCompatUnicodeTable_IsHalfWidthKana_m576273477 (Il2CppObject * __this /* static, unused */, Il2CppChar ___c0, const MethodInfo* method)
{
int32_t G_B3_0 = 0;
{
Il2CppChar L_0 = ___c0;
if ((((int32_t)((int32_t)65382)) > ((int32_t)L_0)))
{
goto IL_0018;
}
}
{
Il2CppChar L_1 = ___c0;
G_B3_0 = ((((int32_t)((((int32_t)L_1) > ((int32_t)((int32_t)65437)))? 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 Mono.Globalization.Unicode.MSCompatUnicodeTable::IsHiragana(System.Char)
extern "C" bool MSCompatUnicodeTable_IsHiragana_m3490024298 (Il2CppObject * __this /* static, unused */, Il2CppChar ___c0, const MethodInfo* method)
{
int32_t G_B3_0 = 0;
{
Il2CppChar L_0 = ___c0;
if ((((int32_t)((int32_t)12353)) > ((int32_t)L_0)))
{
goto IL_0018;
}
}
{
Il2CppChar L_1 = ___c0;
G_B3_0 = ((((int32_t)((((int32_t)L_1) > ((int32_t)((int32_t)12436)))? 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 Mono.Globalization.Unicode.MSCompatUnicodeTable::IsJapaneseSmallLetter(System.Char)
extern "C" bool MSCompatUnicodeTable_IsJapaneseSmallLetter_m2541532635 (Il2CppObject * __this /* static, unused */, Il2CppChar ___c0, const MethodInfo* method)
{
Il2CppChar V_0 = 0x0;
{
Il2CppChar L_0 = ___c0;
if ((((int32_t)((int32_t)65383)) > ((int32_t)L_0)))
{
goto IL_0018;
}
}
{
Il2CppChar L_1 = ___c0;
if ((((int32_t)L_1) > ((int32_t)((int32_t)65391))))
{
goto IL_0018;
}
}
{
return (bool)1;
}
IL_0018:
{
Il2CppChar L_2 = ___c0;
if ((((int32_t)((int32_t)12352)) >= ((int32_t)L_2)))
{
goto IL_0119;
}
}
{
Il2CppChar L_3 = ___c0;
if ((((int32_t)L_3) >= ((int32_t)((int32_t)12538))))
{
goto IL_0119;
}
}
{
Il2CppChar L_4 = ___c0;
V_0 = L_4;
Il2CppChar L_5 = V_0;
if (((int32_t)((int32_t)L_5-(int32_t)((int32_t)12353))) == 0)
{
goto IL_0117;
}
if (((int32_t)((int32_t)L_5-(int32_t)((int32_t)12353))) == 1)
{
goto IL_0060;
}
if (((int32_t)((int32_t)L_5-(int32_t)((int32_t)12353))) == 2)
{
goto IL_0117;
}
if (((int32_t)((int32_t)L_5-(int32_t)((int32_t)12353))) == 3)
{
goto IL_0060;
}
if (((int32_t)((int32_t)L_5-(int32_t)((int32_t)12353))) == 4)
{
goto IL_0117;
}
if (((int32_t)((int32_t)L_5-(int32_t)((int32_t)12353))) == 5)
{
goto IL_0060;
}
if (((int32_t)((int32_t)L_5-(int32_t)((int32_t)12353))) == 6)
{
goto IL_0117;
}
if (((int32_t)((int32_t)L_5-(int32_t)((int32_t)12353))) == 7)
{
goto IL_0060;
}
if (((int32_t)((int32_t)L_5-(int32_t)((int32_t)12353))) == 8)
{
goto IL_0117;
}
}
IL_0060:
{
Il2CppChar L_6 = V_0;
if (((int32_t)((int32_t)L_6-(int32_t)((int32_t)12449))) == 0)
{
goto IL_0117;
}
if (((int32_t)((int32_t)L_6-(int32_t)((int32_t)12449))) == 1)
{
goto IL_0090;
}
if (((int32_t)((int32_t)L_6-(int32_t)((int32_t)12449))) == 2)
{
goto IL_0117;
}
if (((int32_t)((int32_t)L_6-(int32_t)((int32_t)12449))) == 3)
{
goto IL_0090;
}
if (((int32_t)((int32_t)L_6-(int32_t)((int32_t)12449))) == 4)
{
goto IL_0117;
}
if (((int32_t)((int32_t)L_6-(int32_t)((int32_t)12449))) == 5)
{
goto IL_0090;
}
if (((int32_t)((int32_t)L_6-(int32_t)((int32_t)12449))) == 6)
{
goto IL_0117;
}
if (((int32_t)((int32_t)L_6-(int32_t)((int32_t)12449))) == 7)
{
goto IL_0090;
}
if (((int32_t)((int32_t)L_6-(int32_t)((int32_t)12449))) == 8)
{
goto IL_0117;
}
}
IL_0090:
{
Il2CppChar L_7 = V_0;
if (((int32_t)((int32_t)L_7-(int32_t)((int32_t)12419))) == 0)
{
goto IL_0117;
}
if (((int32_t)((int32_t)L_7-(int32_t)((int32_t)12419))) == 1)
{
goto IL_00b0;
}
if (((int32_t)((int32_t)L_7-(int32_t)((int32_t)12419))) == 2)
{
goto IL_0117;
}
if (((int32_t)((int32_t)L_7-(int32_t)((int32_t)12419))) == 3)
{
goto IL_00b0;
}
if (((int32_t)((int32_t)L_7-(int32_t)((int32_t)12419))) == 4)
{
goto IL_0117;
}
}
IL_00b0:
{
Il2CppChar L_8 = V_0;
if (((int32_t)((int32_t)L_8-(int32_t)((int32_t)12515))) == 0)
{
goto IL_0117;
}
if (((int32_t)((int32_t)L_8-(int32_t)((int32_t)12515))) == 1)
{
goto IL_00d0;
}
if (((int32_t)((int32_t)L_8-(int32_t)((int32_t)12515))) == 2)
{
goto IL_0117;
}
if (((int32_t)((int32_t)L_8-(int32_t)((int32_t)12515))) == 3)
{
goto IL_00d0;
}
if (((int32_t)((int32_t)L_8-(int32_t)((int32_t)12515))) == 4)
{
goto IL_0117;
}
}
IL_00d0:
{
Il2CppChar L_9 = V_0;
if ((((int32_t)L_9) == ((int32_t)((int32_t)12533))))
{
goto IL_0117;
}
}
{
Il2CppChar L_10 = V_0;
if ((((int32_t)L_10) == ((int32_t)((int32_t)12534))))
{
goto IL_0117;
}
}
{
Il2CppChar L_11 = V_0;
if ((((int32_t)L_11) == ((int32_t)((int32_t)12387))))
{
goto IL_0117;
}
}
{
Il2CppChar L_12 = V_0;
if ((((int32_t)L_12) == ((int32_t)((int32_t)12430))))
{
goto IL_0117;
}
}
{
Il2CppChar L_13 = V_0;
if ((((int32_t)L_13) == ((int32_t)((int32_t)12483))))
{
goto IL_0117;
}
}
{
Il2CppChar L_14 = V_0;
if ((((int32_t)L_14) == ((int32_t)((int32_t)12526))))
{
goto IL_0117;
}
}
{
goto IL_0119;
}
IL_0117:
{
return (bool)1;
}
IL_0119:
{
return (bool)0;
}
}
// System.Boolean Mono.Globalization.Unicode.MSCompatUnicodeTable::get_IsReady()
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern const uint32_t MSCompatUnicodeTable_get_IsReady_m562849792_MetadataUsageId;
extern "C" bool MSCompatUnicodeTable_get_IsReady_m562849792 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (MSCompatUnicodeTable_get_IsReady_m562849792_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
bool L_0 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_isReady_18();
return L_0;
}
}
// System.IntPtr Mono.Globalization.Unicode.MSCompatUnicodeTable::GetResource(System.String)
extern "C" IntPtr_t MSCompatUnicodeTable_GetResource_m3816716847 (Il2CppObject * __this /* static, unused */, String_t* ___name0, const MethodInfo* method)
{
int32_t V_0 = 0;
Module_t4282841206 * V_1 = NULL;
{
Assembly_t4268412390 * L_0 = Assembly_GetExecutingAssembly_m776016337(NULL /*static, unused*/, /*hidden argument*/NULL);
String_t* L_1 = ___name0;
IntPtr_t L_2 = Assembly_GetManifestResourceInternal_m2581727816(L_0, L_1, (&V_0), (&V_1), /*hidden argument*/NULL);
return L_2;
}
}
// System.UInt32 Mono.Globalization.Unicode.MSCompatUnicodeTable::UInt32FromBytePtr(System.Byte*,System.UInt32)
extern "C" uint32_t MSCompatUnicodeTable_UInt32FromBytePtr_m340276309 (Il2CppObject * __this /* static, unused */, uint8_t* ___raw0, uint32_t ___idx1, const MethodInfo* method)
{
{
uint8_t* L_0 = ___raw0;
uint32_t L_1 = ___idx1;
uint8_t* L_2 = ___raw0;
uint32_t L_3 = ___idx1;
uint8_t* L_4 = ___raw0;
uint32_t L_5 = ___idx1;
uint8_t* L_6 = ___raw0;
uint32_t L_7 = ___idx1;
return ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_0+(intptr_t)(((uintptr_t)L_1))))))+(int32_t)((int32_t)((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_2+(intptr_t)(((uintptr_t)((int32_t)((int32_t)L_3+(int32_t)1))))))))<<(int32_t)8))))+(int32_t)((int32_t)((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_4+(intptr_t)(((uintptr_t)((int32_t)((int32_t)L_5+(int32_t)2))))))))<<(int32_t)((int32_t)16)))))+(int32_t)((int32_t)((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_6+(intptr_t)(((uintptr_t)((int32_t)((int32_t)L_7+(int32_t)3))))))))<<(int32_t)((int32_t)24)))));
}
}
// System.Void Mono.Globalization.Unicode.MSCompatUnicodeTable::FillCJK(System.String,Mono.Globalization.Unicode.CodePointIndexer&,System.Byte*&,System.Byte*&,Mono.Globalization.Unicode.CodePointIndexer&,System.Byte*&)
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern const uint32_t MSCompatUnicodeTable_FillCJK_m3035171370_MetadataUsageId;
extern "C" void MSCompatUnicodeTable_FillCJK_m3035171370 (Il2CppObject * __this /* static, unused */, String_t* ___culture0, CodePointIndexer_t1073906970 ** ___cjkIndexer1, uint8_t** ___catTable2, uint8_t** ___lv1Table3, CodePointIndexer_t1073906970 ** ___lv2Indexer4, uint8_t** ___lv2Table5, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (MSCompatUnicodeTable_FillCJK_m3035171370_MetadataUsageId);
s_Il2CppMethodIntialized = 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);
{
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
Il2CppObject * L_0 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_forLock_17();
V_0 = L_0;
Il2CppObject * L_1 = V_0;
Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
}
IL_000c:
try
{ // begin try (depth: 1)
String_t* L_2 = ___culture0;
CodePointIndexer_t1073906970 ** L_3 = ___cjkIndexer1;
uint8_t** L_4 = ___catTable2;
uint8_t** L_5 = ___lv1Table3;
CodePointIndexer_t1073906970 ** L_6 = ___lv2Indexer4;
uint8_t** L_7 = ___lv2Table5;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
MSCompatUnicodeTable_FillCJKCore_m1100372933(NULL /*static, unused*/, L_2, L_3, L_4, L_5, L_6, L_7, /*hidden argument*/NULL);
String_t* L_8 = ___culture0;
CodePointIndexer_t1073906970 ** L_9 = ___cjkIndexer1;
uint8_t** L_10 = ___catTable2;
uint8_t** L_11 = ___lv1Table3;
CodePointIndexer_t1073906970 ** L_12 = ___lv2Indexer4;
uint8_t** L_13 = ___lv2Table5;
MSCompatUnicodeTable_SetCJKReferences_m3868493963(NULL /*static, unused*/, L_8, L_9, L_10, L_11, L_12, L_13, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x32, FINALLY_002b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_002b;
}
FINALLY_002b:
{ // begin finally (depth: 1)
Il2CppObject * L_14 = V_0;
Monitor_Exit_m2677760297(NULL /*static, unused*/, L_14, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(43)
} // end finally (depth: 1)
IL2CPP_CLEANUP(43)
{
IL2CPP_JUMP_TBL(0x32, IL_0032)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_0032:
{
return;
}
}
// System.Void Mono.Globalization.Unicode.MSCompatUnicodeTable::FillCJKCore(System.String,Mono.Globalization.Unicode.CodePointIndexer&,System.Byte*&,System.Byte*&,Mono.Globalization.Unicode.CodePointIndexer&,System.Byte*&)
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern Il2CppClass* Dictionary_2_t3986656710_il2cpp_TypeInfo_var;
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppClass* IntPtr_t_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* _stringLiteral3706106155;
extern Il2CppCodeGenString* _stringLiteral3302821628;
extern Il2CppCodeGenString* _stringLiteral690346019;
extern Il2CppCodeGenString* _stringLiteral1496915072;
extern Il2CppCodeGenString* _stringLiteral2431556512;
extern Il2CppCodeGenString* _stringLiteral58903517;
extern Il2CppCodeGenString* _stringLiteral1716111653;
extern Il2CppCodeGenString* _stringLiteral150027702;
extern Il2CppCodeGenString* _stringLiteral583532922;
extern Il2CppCodeGenString* _stringLiteral3878315802;
extern const uint32_t MSCompatUnicodeTable_FillCJKCore_m1100372933_MetadataUsageId;
extern "C" void MSCompatUnicodeTable_FillCJKCore_m1100372933 (Il2CppObject * __this /* static, unused */, String_t* ___culture0, CodePointIndexer_t1073906970 ** ___cjkIndexer1, uint8_t** ___catTable2, uint8_t** ___lv1Table3, CodePointIndexer_t1073906970 ** ___cjkLv2Indexer4, uint8_t** ___lv2Table5, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (MSCompatUnicodeTable_FillCJKCore_m1100372933_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
String_t* V_0 = NULL;
uint8_t* V_1 = NULL;
uint32_t V_2 = 0;
String_t* V_3 = NULL;
IntPtr_t V_4;
memset(&V_4, 0, sizeof(V_4));
uint32_t V_5 = 0;
String_t* V_6 = NULL;
Dictionary_2_t3986656710 * V_7 = NULL;
int32_t V_8 = 0;
{
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
bool L_0 = MSCompatUnicodeTable_get_IsReady_m562849792(NULL /*static, unused*/, /*hidden argument*/NULL);
if (L_0)
{
goto IL_000b;
}
}
{
return;
}
IL_000b:
{
V_0 = (String_t*)NULL;
String_t* L_1 = ___culture0;
V_6 = L_1;
String_t* L_2 = V_6;
if (!L_2)
{
goto IL_00f7;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
Dictionary_2_t3986656710 * L_3 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__switchU24map3_20();
if (L_3)
{
goto IL_0064;
}
}
{
Dictionary_2_t3986656710 * L_4 = (Dictionary_2_t3986656710 *)il2cpp_codegen_object_new(Dictionary_2_t3986656710_il2cpp_TypeInfo_var);
Dictionary_2__ctor_m2118310873(L_4, 4, /*hidden argument*/Dictionary_2__ctor_m2118310873_MethodInfo_var);
V_7 = L_4;
Dictionary_2_t3986656710 * L_5 = V_7;
Dictionary_2_Add_m1209957957(L_5, _stringLiteral3706106155, 0, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_6 = V_7;
Dictionary_2_Add_m1209957957(L_6, _stringLiteral3302821628, 1, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_7 = V_7;
Dictionary_2_Add_m1209957957(L_7, _stringLiteral690346019, 2, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_8 = V_7;
Dictionary_2_Add_m1209957957(L_8, _stringLiteral1496915072, 3, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_9 = V_7;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__switchU24map3_20(L_9);
}
IL_0064:
{
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
Dictionary_2_t3986656710 * L_10 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__switchU24map3_20();
String_t* L_11 = V_6;
bool L_12 = Dictionary_2_TryGetValue_m2977303364(L_10, L_11, (&V_8), /*hidden argument*/Dictionary_2_TryGetValue_m2977303364_MethodInfo_var);
if (!L_12)
{
goto IL_00f7;
}
}
{
int32_t L_13 = V_8;
if (L_13 == 0)
{
goto IL_0093;
}
if (L_13 == 1)
{
goto IL_00ac;
}
if (L_13 == 2)
{
goto IL_00c5;
}
if (L_13 == 3)
{
goto IL_00de;
}
}
{
goto IL_00f7;
}
IL_0093:
{
V_0 = _stringLiteral2431556512;
uint8_t** L_14 = ___catTable2;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t* L_15 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_cjkCHScategory_6();
*((Il2CppObject **)(L_14)) = (Il2CppObject *)L_15;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_14), (Il2CppObject *)L_15);
uint8_t** L_16 = ___lv1Table3;
uint8_t* L_17 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_cjkCHSlv1_10();
*((Il2CppObject **)(L_16)) = (Il2CppObject *)L_17;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_16), (Il2CppObject *)L_17);
goto IL_00f7;
}
IL_00ac:
{
V_0 = _stringLiteral58903517;
uint8_t** L_18 = ___catTable2;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t* L_19 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_cjkCHTcategory_7();
*((Il2CppObject **)(L_18)) = (Il2CppObject *)L_19;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_18), (Il2CppObject *)L_19);
uint8_t** L_20 = ___lv1Table3;
uint8_t* L_21 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_cjkCHTlv1_11();
*((Il2CppObject **)(L_20)) = (Il2CppObject *)L_21;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_20), (Il2CppObject *)L_21);
goto IL_00f7;
}
IL_00c5:
{
V_0 = _stringLiteral1716111653;
uint8_t** L_22 = ___catTable2;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t* L_23 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_cjkJAcategory_8();
*((Il2CppObject **)(L_22)) = (Il2CppObject *)L_23;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_22), (Il2CppObject *)L_23);
uint8_t** L_24 = ___lv1Table3;
uint8_t* L_25 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_cjkJAlv1_12();
*((Il2CppObject **)(L_24)) = (Il2CppObject *)L_25;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_24), (Il2CppObject *)L_25);
goto IL_00f7;
}
IL_00de:
{
V_0 = _stringLiteral150027702;
uint8_t** L_26 = ___catTable2;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t* L_27 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_cjkKOcategory_9();
*((Il2CppObject **)(L_26)) = (Il2CppObject *)L_27;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_26), (Il2CppObject *)L_27);
uint8_t** L_28 = ___lv1Table3;
uint8_t* L_29 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_cjkKOlv1_13();
*((Il2CppObject **)(L_28)) = (Il2CppObject *)L_29;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_28), (Il2CppObject *)L_29);
goto IL_00f7;
}
IL_00f7:
{
String_t* L_30 = V_0;
if (!L_30)
{
goto IL_0104;
}
}
{
uint8_t** L_31 = ___lv1Table3;
if (!(*((intptr_t*)L_31)))
{
goto IL_0105;
}
}
IL_0104:
{
return;
}
IL_0105:
{
V_2 = 0;
String_t* L_32 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_33 = String_Format_m2024975688(NULL /*static, unused*/, _stringLiteral583532922, L_32, /*hidden argument*/NULL);
V_3 = L_33;
String_t* L_34 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
IntPtr_t L_35 = MSCompatUnicodeTable_GetResource_m3816716847(NULL /*static, unused*/, L_34, /*hidden argument*/NULL);
V_4 = L_35;
IntPtr_t L_36 = V_4;
IntPtr_t L_37 = ((IntPtr_t_StaticFields*)IntPtr_t_il2cpp_TypeInfo_var->static_fields)->get_Zero_1();
bool L_38 = IntPtr_op_Equality_m1573482188(NULL /*static, unused*/, L_36, L_37, /*hidden argument*/NULL);
if (!L_38)
{
goto IL_012d;
}
}
{
return;
}
IL_012d:
{
IntPtr_t L_39 = V_4;
void* L_40 = IntPtr_op_Explicit_m1073656736(NULL /*static, unused*/, L_39, /*hidden argument*/NULL);
V_1 = (uint8_t*)L_40;
uint32_t L_41 = V_2;
V_2 = ((int32_t)((int32_t)L_41+(int32_t)1));
uint8_t* L_42 = V_1;
uint32_t L_43 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint32_t L_44 = MSCompatUnicodeTable_UInt32FromBytePtr_m340276309(NULL /*static, unused*/, (uint8_t*)(uint8_t*)L_42, L_43, /*hidden argument*/NULL);
V_5 = L_44;
uint32_t L_45 = V_2;
V_2 = ((int32_t)((int32_t)L_45+(int32_t)4));
uint8_t** L_46 = ___catTable2;
uint8_t* L_47 = V_1;
uint32_t L_48 = V_2;
*((Il2CppObject **)(L_46)) = (Il2CppObject *)((uint8_t*)((intptr_t)L_47+(intptr_t)(((uintptr_t)L_48))));
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_46), (Il2CppObject *)((uint8_t*)((intptr_t)L_47+(intptr_t)(((uintptr_t)L_48)))));
uint8_t** L_49 = ___lv1Table3;
uint8_t* L_50 = V_1;
uint32_t L_51 = V_2;
uint32_t L_52 = V_5;
*((Il2CppObject **)(L_49)) = (Il2CppObject *)((uint8_t*)((intptr_t)((uint8_t*)((intptr_t)L_50+(intptr_t)(((uintptr_t)L_51))))+(intptr_t)(((uintptr_t)L_52))));
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_49), (Il2CppObject *)((uint8_t*)((intptr_t)((uint8_t*)((intptr_t)L_50+(intptr_t)(((uintptr_t)L_51))))+(intptr_t)(((uintptr_t)L_52)))));
String_t* L_53 = ___culture0;
V_6 = L_53;
String_t* L_54 = V_6;
if (!L_54)
{
goto IL_0228;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
Dictionary_2_t3986656710 * L_55 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__switchU24map4_21();
if (L_55)
{
goto IL_01ad;
}
}
{
Dictionary_2_t3986656710 * L_56 = (Dictionary_2_t3986656710 *)il2cpp_codegen_object_new(Dictionary_2_t3986656710_il2cpp_TypeInfo_var);
Dictionary_2__ctor_m2118310873(L_56, 4, /*hidden argument*/Dictionary_2__ctor_m2118310873_MethodInfo_var);
V_7 = L_56;
Dictionary_2_t3986656710 * L_57 = V_7;
Dictionary_2_Add_m1209957957(L_57, _stringLiteral3706106155, 0, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_58 = V_7;
Dictionary_2_Add_m1209957957(L_58, _stringLiteral3302821628, 1, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_59 = V_7;
Dictionary_2_Add_m1209957957(L_59, _stringLiteral690346019, 2, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_60 = V_7;
Dictionary_2_Add_m1209957957(L_60, _stringLiteral1496915072, 3, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_61 = V_7;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__switchU24map4_21(L_61);
}
IL_01ad:
{
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
Dictionary_2_t3986656710 * L_62 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__switchU24map4_21();
String_t* L_63 = V_6;
bool L_64 = Dictionary_2_TryGetValue_m2977303364(L_62, L_63, (&V_8), /*hidden argument*/Dictionary_2_TryGetValue_m2977303364_MethodInfo_var);
if (!L_64)
{
goto IL_0228;
}
}
{
int32_t L_65 = V_8;
if (L_65 == 0)
{
goto IL_01dc;
}
if (L_65 == 1)
{
goto IL_01ef;
}
if (L_65 == 2)
{
goto IL_0202;
}
if (L_65 == 3)
{
goto IL_0215;
}
}
{
goto IL_0228;
}
IL_01dc:
{
uint8_t** L_66 = ___catTable2;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->set_cjkCHScategory_6((uint8_t*)(*((intptr_t*)L_66)));
uint8_t** L_67 = ___lv1Table3;
((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->set_cjkCHSlv1_10((uint8_t*)(*((intptr_t*)L_67)));
goto IL_0228;
}
IL_01ef:
{
uint8_t** L_68 = ___catTable2;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->set_cjkCHTcategory_7((uint8_t*)(*((intptr_t*)L_68)));
uint8_t** L_69 = ___lv1Table3;
((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->set_cjkCHTlv1_11((uint8_t*)(*((intptr_t*)L_69)));
goto IL_0228;
}
IL_0202:
{
uint8_t** L_70 = ___catTable2;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->set_cjkJAcategory_8((uint8_t*)(*((intptr_t*)L_70)));
uint8_t** L_71 = ___lv1Table3;
((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->set_cjkJAlv1_12((uint8_t*)(*((intptr_t*)L_71)));
goto IL_0228;
}
IL_0215:
{
uint8_t** L_72 = ___catTable2;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->set_cjkKOcategory_9((uint8_t*)(*((intptr_t*)L_72)));
uint8_t** L_73 = ___lv1Table3;
((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->set_cjkKOlv1_13((uint8_t*)(*((intptr_t*)L_73)));
goto IL_0228;
}
IL_0228:
{
String_t* L_74 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
bool L_75 = String_op_Inequality_m304203149(NULL /*static, unused*/, L_74, _stringLiteral150027702, /*hidden argument*/NULL);
if (!L_75)
{
goto IL_0239;
}
}
{
return;
}
IL_0239:
{
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
IntPtr_t L_76 = MSCompatUnicodeTable_GetResource_m3816716847(NULL /*static, unused*/, _stringLiteral3878315802, /*hidden argument*/NULL);
V_4 = L_76;
IntPtr_t L_77 = V_4;
IntPtr_t L_78 = ((IntPtr_t_StaticFields*)IntPtr_t_il2cpp_TypeInfo_var->static_fields)->get_Zero_1();
bool L_79 = IntPtr_op_Equality_m1573482188(NULL /*static, unused*/, L_77, L_78, /*hidden argument*/NULL);
if (!L_79)
{
goto IL_0257;
}
}
{
return;
}
IL_0257:
{
IntPtr_t L_80 = V_4;
void* L_81 = IntPtr_op_Explicit_m1073656736(NULL /*static, unused*/, L_80, /*hidden argument*/NULL);
V_1 = (uint8_t*)L_81;
V_2 = 5;
uint8_t* L_82 = V_1;
uint32_t L_83 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->set_cjkKOlv2_14((uint8_t*)((uint8_t*)((intptr_t)L_82+(intptr_t)(((uintptr_t)L_83)))));
uint8_t** L_84 = ___lv2Table5;
uint8_t* L_85 = ((MSCompatUnicodeTable_t1231687219_StaticFields*)MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var->static_fields)->get_cjkKOlv2_14();
*((Il2CppObject **)(L_84)) = (Il2CppObject *)L_85;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_84), (Il2CppObject *)L_85);
return;
}
}
// System.Void Mono.Globalization.Unicode.MSCompatUnicodeTableUtil::.cctor()
extern Il2CppClass* Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var;
extern Il2CppClass* CodePointIndexer_t1073906970_il2cpp_TypeInfo_var;
extern Il2CppClass* MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var;
extern FieldInfo* U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D1_1_FieldInfo_var;
extern FieldInfo* U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D2_2_FieldInfo_var;
extern FieldInfo* U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D3_3_FieldInfo_var;
extern FieldInfo* U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D4_4_FieldInfo_var;
extern FieldInfo* U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D5_5_FieldInfo_var;
extern FieldInfo* U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D6_6_FieldInfo_var;
extern const uint32_t MSCompatUnicodeTableUtil__cctor_m1479836795_MetadataUsageId;
extern "C" void MSCompatUnicodeTableUtil__cctor_m1479836795 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (MSCompatUnicodeTableUtil__cctor_m1479836795_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
Int32U5BU5D_t3030399641* V_0 = NULL;
Int32U5BU5D_t3030399641* V_1 = NULL;
Int32U5BU5D_t3030399641* V_2 = NULL;
Int32U5BU5D_t3030399641* V_3 = NULL;
Int32U5BU5D_t3030399641* V_4 = NULL;
Int32U5BU5D_t3030399641* V_5 = NULL;
Int32U5BU5D_t3030399641* V_6 = NULL;
Int32U5BU5D_t3030399641* V_7 = NULL;
Int32U5BU5D_t3030399641* V_8 = NULL;
Int32U5BU5D_t3030399641* V_9 = NULL;
Int32U5BU5D_t3030399641* V_10 = NULL;
Int32U5BU5D_t3030399641* V_11 = NULL;
Int32U5BU5D_t3030399641* V_12 = NULL;
Int32U5BU5D_t3030399641* V_13 = NULL;
{
Int32U5BU5D_t3030399641* L_0 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)3));
(L_0)->SetAt(static_cast<il2cpp_array_size_t>(1), (int32_t)((int32_t)40960));
Int32U5BU5D_t3030399641* L_1 = L_0;
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(2), (int32_t)((int32_t)63744));
V_0 = L_1;
Int32U5BU5D_t3030399641* L_2 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)3));
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(0), (int32_t)((int32_t)13312));
Int32U5BU5D_t3030399641* L_3 = L_2;
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(1), (int32_t)((int32_t)42240));
Int32U5BU5D_t3030399641* L_4 = L_3;
(L_4)->SetAt(static_cast<il2cpp_array_size_t>(2), (int32_t)((int32_t)65536));
V_1 = L_4;
Int32U5BU5D_t3030399641* L_5 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)6));
RuntimeHelpers_InitializeArray_m3920580167(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_5, LoadFieldToken(U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D1_1_FieldInfo_var), /*hidden argument*/NULL);
V_2 = L_5;
Int32U5BU5D_t3030399641* L_6 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)6));
RuntimeHelpers_InitializeArray_m3920580167(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_6, LoadFieldToken(U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D2_2_FieldInfo_var), /*hidden argument*/NULL);
V_3 = L_6;
Int32U5BU5D_t3030399641* L_7 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)6));
RuntimeHelpers_InitializeArray_m3920580167(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_7, LoadFieldToken(U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D3_3_FieldInfo_var), /*hidden argument*/NULL);
V_4 = L_7;
Int32U5BU5D_t3030399641* L_8 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)6));
RuntimeHelpers_InitializeArray_m3920580167(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_8, LoadFieldToken(U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D4_4_FieldInfo_var), /*hidden argument*/NULL);
V_5 = L_8;
Int32U5BU5D_t3030399641* L_9 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)4));
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(1), (int32_t)((int32_t)7680));
Int32U5BU5D_t3030399641* L_10 = L_9;
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(2), (int32_t)((int32_t)12288));
Int32U5BU5D_t3030399641* L_11 = L_10;
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(3), (int32_t)((int32_t)64256));
V_6 = L_11;
Int32U5BU5D_t3030399641* L_12 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)4));
RuntimeHelpers_InitializeArray_m3920580167(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_12, LoadFieldToken(U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D5_5_FieldInfo_var), /*hidden argument*/NULL);
V_7 = L_12;
Int32U5BU5D_t3030399641* L_13 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)4));
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(1), (int32_t)((int32_t)7680));
Int32U5BU5D_t3030399641* L_14 = L_13;
(L_14)->SetAt(static_cast<il2cpp_array_size_t>(2), (int32_t)((int32_t)12288));
Int32U5BU5D_t3030399641* L_15 = L_14;
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(3), (int32_t)((int32_t)64256));
V_8 = L_15;
Int32U5BU5D_t3030399641* L_16 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)4));
RuntimeHelpers_InitializeArray_m3920580167(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_16, LoadFieldToken(U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D6_6_FieldInfo_var), /*hidden argument*/NULL);
V_9 = L_16;
Int32U5BU5D_t3030399641* L_17 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)3));
(L_17)->SetAt(static_cast<il2cpp_array_size_t>(0), (int32_t)((int32_t)12544));
Int32U5BU5D_t3030399641* L_18 = L_17;
(L_18)->SetAt(static_cast<il2cpp_array_size_t>(1), (int32_t)((int32_t)19968));
Int32U5BU5D_t3030399641* L_19 = L_18;
(L_19)->SetAt(static_cast<il2cpp_array_size_t>(2), (int32_t)((int32_t)59392));
V_10 = L_19;
Int32U5BU5D_t3030399641* L_20 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)3));
(L_20)->SetAt(static_cast<il2cpp_array_size_t>(0), (int32_t)((int32_t)13312));
Int32U5BU5D_t3030399641* L_21 = L_20;
(L_21)->SetAt(static_cast<il2cpp_array_size_t>(1), (int32_t)((int32_t)40960));
Int32U5BU5D_t3030399641* L_22 = L_21;
(L_22)->SetAt(static_cast<il2cpp_array_size_t>(2), (int32_t)((int32_t)65536));
V_11 = L_22;
Int32U5BU5D_t3030399641* L_23 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)3));
(L_23)->SetAt(static_cast<il2cpp_array_size_t>(0), (int32_t)((int32_t)12544));
Int32U5BU5D_t3030399641* L_24 = L_23;
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(1), (int32_t)((int32_t)19968));
Int32U5BU5D_t3030399641* L_25 = L_24;
(L_25)->SetAt(static_cast<il2cpp_array_size_t>(2), (int32_t)((int32_t)63744));
V_12 = L_25;
Int32U5BU5D_t3030399641* L_26 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)3));
(L_26)->SetAt(static_cast<il2cpp_array_size_t>(0), (int32_t)((int32_t)13312));
Int32U5BU5D_t3030399641* L_27 = L_26;
(L_27)->SetAt(static_cast<il2cpp_array_size_t>(1), (int32_t)((int32_t)40960));
Int32U5BU5D_t3030399641* L_28 = L_27;
(L_28)->SetAt(static_cast<il2cpp_array_size_t>(2), (int32_t)((int32_t)64256));
V_13 = L_28;
Int32U5BU5D_t3030399641* L_29 = V_0;
Int32U5BU5D_t3030399641* L_30 = V_1;
CodePointIndexer_t1073906970 * L_31 = (CodePointIndexer_t1073906970 *)il2cpp_codegen_object_new(CodePointIndexer_t1073906970_il2cpp_TypeInfo_var);
CodePointIndexer__ctor_m797342079(L_31, L_29, L_30, (-1), (-1), /*hidden argument*/NULL);
((MSCompatUnicodeTableUtil_t2040269023_StaticFields*)MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var->static_fields)->set_Ignorable_0(L_31);
Int32U5BU5D_t3030399641* L_32 = V_2;
Int32U5BU5D_t3030399641* L_33 = V_3;
CodePointIndexer_t1073906970 * L_34 = (CodePointIndexer_t1073906970 *)il2cpp_codegen_object_new(CodePointIndexer_t1073906970_il2cpp_TypeInfo_var);
CodePointIndexer__ctor_m797342079(L_34, L_32, L_33, 0, 0, /*hidden argument*/NULL);
((MSCompatUnicodeTableUtil_t2040269023_StaticFields*)MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var->static_fields)->set_Category_1(L_34);
Int32U5BU5D_t3030399641* L_35 = V_4;
Int32U5BU5D_t3030399641* L_36 = V_5;
CodePointIndexer_t1073906970 * L_37 = (CodePointIndexer_t1073906970 *)il2cpp_codegen_object_new(CodePointIndexer_t1073906970_il2cpp_TypeInfo_var);
CodePointIndexer__ctor_m797342079(L_37, L_35, L_36, 0, 0, /*hidden argument*/NULL);
((MSCompatUnicodeTableUtil_t2040269023_StaticFields*)MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var->static_fields)->set_Level1_2(L_37);
Int32U5BU5D_t3030399641* L_38 = V_6;
Int32U5BU5D_t3030399641* L_39 = V_7;
CodePointIndexer_t1073906970 * L_40 = (CodePointIndexer_t1073906970 *)il2cpp_codegen_object_new(CodePointIndexer_t1073906970_il2cpp_TypeInfo_var);
CodePointIndexer__ctor_m797342079(L_40, L_38, L_39, 0, 0, /*hidden argument*/NULL);
((MSCompatUnicodeTableUtil_t2040269023_StaticFields*)MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var->static_fields)->set_Level2_3(L_40);
Int32U5BU5D_t3030399641* L_41 = V_8;
Int32U5BU5D_t3030399641* L_42 = V_9;
CodePointIndexer_t1073906970 * L_43 = (CodePointIndexer_t1073906970 *)il2cpp_codegen_object_new(CodePointIndexer_t1073906970_il2cpp_TypeInfo_var);
CodePointIndexer__ctor_m797342079(L_43, L_41, L_42, 0, 0, /*hidden argument*/NULL);
((MSCompatUnicodeTableUtil_t2040269023_StaticFields*)MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var->static_fields)->set_Level3_4(L_43);
Int32U5BU5D_t3030399641* L_44 = V_10;
Int32U5BU5D_t3030399641* L_45 = V_11;
CodePointIndexer_t1073906970 * L_46 = (CodePointIndexer_t1073906970 *)il2cpp_codegen_object_new(CodePointIndexer_t1073906970_il2cpp_TypeInfo_var);
CodePointIndexer__ctor_m797342079(L_46, L_44, L_45, (-1), (-1), /*hidden argument*/NULL);
((MSCompatUnicodeTableUtil_t2040269023_StaticFields*)MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var->static_fields)->set_CjkCHS_5(L_46);
Int32U5BU5D_t3030399641* L_47 = V_12;
Int32U5BU5D_t3030399641* L_48 = V_13;
CodePointIndexer_t1073906970 * L_49 = (CodePointIndexer_t1073906970 *)il2cpp_codegen_object_new(CodePointIndexer_t1073906970_il2cpp_TypeInfo_var);
CodePointIndexer__ctor_m797342079(L_49, L_47, L_48, (-1), (-1), /*hidden argument*/NULL);
((MSCompatUnicodeTableUtil_t2040269023_StaticFields*)MSCompatUnicodeTableUtil_t2040269023_il2cpp_TypeInfo_var->static_fields)->set_Cjk_6(L_49);
return;
}
}
// System.Void Mono.Globalization.Unicode.SimpleCollator::.ctor(System.Globalization.CultureInfo)
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern Il2CppClass* SimpleCollator_t4081201584_il2cpp_TypeInfo_var;
extern const uint32_t SimpleCollator__ctor_m3789916787_MetadataUsageId;
extern "C" void SimpleCollator__ctor_m3789916787 (SimpleCollator_t4081201584 * __this, CultureInfo_t3500843524 * ___culture0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SimpleCollator__ctor_m3789916787_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
TailoringInfo_t1449609243 * V_0 = NULL;
CultureInfo_t3500843524 * V_1 = NULL;
Contraction_t1673853792 * V_2 = NULL;
ContractionU5BU5D_t4233480993* V_3 = NULL;
int32_t V_4 = 0;
Il2CppChar V_5 = 0x0;
CharU5BU5D_t1328083999* V_6 = NULL;
int32_t V_7 = 0;
Contraction_t1673853792 * V_8 = NULL;
ContractionU5BU5D_t4233480993* V_9 = NULL;
int32_t V_10 = 0;
Il2CppChar V_11 = 0x0;
CharU5BU5D_t1328083999* V_12 = NULL;
int32_t V_13 = 0;
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
CultureInfo_t3500843524 * L_0 = ___culture0;
int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 System.Globalization.CultureInfo::get_LCID() */, L_0);
__this->set_lcid_9(L_1);
CultureInfo_t3500843524 * L_2 = ___culture0;
TextInfo_t3620182823 * L_3 = VirtFuncInvoker0< TextInfo_t3620182823 * >::Invoke(9 /* System.Globalization.TextInfo System.Globalization.CultureInfo::get_TextInfo() */, L_2);
__this->set_textInfo_2(L_3);
CultureInfo_t3500843524 * L_4 = ___culture0;
CodePointIndexer_t1073906970 ** L_5 = __this->get_address_of_cjkIndexer_6();
uint8_t** L_6 = __this->get_address_of_cjkCatTable_4();
uint8_t** L_7 = __this->get_address_of_cjkLv1Table_5();
CodePointIndexer_t1073906970 ** L_8 = __this->get_address_of_cjkLv2Indexer_8();
uint8_t** L_9 = __this->get_address_of_cjkLv2Table_7();
SimpleCollator_SetCJKTable_m1356471502(__this, L_4, L_5, L_6, L_7, L_8, L_9, /*hidden argument*/NULL);
V_0 = (TailoringInfo_t1449609243 *)NULL;
CultureInfo_t3500843524 * L_10 = ___culture0;
V_1 = L_10;
goto IL_006a;
}
IL_004c:
{
CultureInfo_t3500843524 * L_11 = V_1;
int32_t L_12 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 System.Globalization.CultureInfo::get_LCID() */, L_11);
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
TailoringInfo_t1449609243 * L_13 = MSCompatUnicodeTable_GetTailoringInfo_m2792223347(NULL /*static, unused*/, L_12, /*hidden argument*/NULL);
V_0 = L_13;
TailoringInfo_t1449609243 * L_14 = V_0;
if (!L_14)
{
goto IL_0063;
}
}
{
goto IL_0077;
}
IL_0063:
{
CultureInfo_t3500843524 * L_15 = V_1;
CultureInfo_t3500843524 * L_16 = VirtFuncInvoker0< CultureInfo_t3500843524 * >::Invoke(8 /* System.Globalization.CultureInfo System.Globalization.CultureInfo::get_Parent() */, L_15);
V_1 = L_16;
}
IL_006a:
{
CultureInfo_t3500843524 * L_17 = V_1;
int32_t L_18 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 System.Globalization.CultureInfo::get_LCID() */, L_17);
if ((!(((uint32_t)L_18) == ((uint32_t)((int32_t)127)))))
{
goto IL_004c;
}
}
IL_0077:
{
TailoringInfo_t1449609243 * L_19 = V_0;
if (L_19)
{
goto IL_0085;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
TailoringInfo_t1449609243 * L_20 = MSCompatUnicodeTable_GetTailoringInfo_m2792223347(NULL /*static, unused*/, ((int32_t)127), /*hidden argument*/NULL);
V_0 = L_20;
}
IL_0085:
{
TailoringInfo_t1449609243 * L_21 = V_0;
bool L_22 = L_21->get_FrenchSort_3();
__this->set_frenchSort_3(L_22);
CultureInfo_t3500843524 * L_23 = ___culture0;
TailoringInfo_t1449609243 * L_24 = V_0;
ContractionU5BU5D_t4233480993** L_25 = __this->get_address_of_contractions_10();
Level2MapU5BU5D_t2838259787** L_26 = __this->get_address_of_level2Maps_11();
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
MSCompatUnicodeTable_BuildTailoringTables_m3024392854(NULL /*static, unused*/, L_23, L_24, L_25, L_26, /*hidden argument*/NULL);
__this->set_unsafeFlags_12(((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)96))));
ContractionU5BU5D_t4233480993* L_27 = __this->get_contractions_10();
V_3 = L_27;
V_4 = 0;
goto IL_011f;
}
IL_00c0:
{
ContractionU5BU5D_t4233480993* L_28 = V_3;
int32_t L_29 = V_4;
int32_t L_30 = L_29;
Contraction_t1673853792 * L_31 = (L_28)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
V_2 = L_31;
Contraction_t1673853792 * L_32 = V_2;
CharU5BU5D_t1328083999* L_33 = L_32->get_Source_0();
if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_33)->max_length))))) <= ((int32_t)1)))
{
goto IL_0119;
}
}
{
Contraction_t1673853792 * L_34 = V_2;
CharU5BU5D_t1328083999* L_35 = L_34->get_Source_0();
V_6 = L_35;
V_7 = 0;
goto IL_010e;
}
IL_00e3:
{
CharU5BU5D_t1328083999* L_36 = V_6;
int32_t L_37 = V_7;
int32_t L_38 = L_37;
uint16_t L_39 = (L_36)->GetAt(static_cast<il2cpp_array_size_t>(L_38));
V_5 = L_39;
ByteU5BU5D_t3397334013* L_40 = __this->get_unsafeFlags_12();
Il2CppChar L_41 = V_5;
uint8_t* L_42 = ((L_40)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_41/(int32_t)8)))));
Il2CppChar L_43 = V_5;
*((int8_t*)(L_42)) = (int8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)(*((uint8_t*)L_42))|(int32_t)(((int32_t)((uint8_t)((int32_t)((int32_t)1<<(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_43&(int32_t)7))&(int32_t)((int32_t)31)))))))))))));
int32_t L_44 = V_7;
V_7 = ((int32_t)((int32_t)L_44+(int32_t)1));
}
IL_010e:
{
int32_t L_45 = V_7;
CharU5BU5D_t1328083999* L_46 = V_6;
if ((((int32_t)L_45) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_46)->max_length)))))))
{
goto IL_00e3;
}
}
IL_0119:
{
int32_t L_47 = V_4;
V_4 = ((int32_t)((int32_t)L_47+(int32_t)1));
}
IL_011f:
{
int32_t L_48 = V_4;
ContractionU5BU5D_t4233480993* L_49 = V_3;
if ((((int32_t)L_48) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_49)->max_length)))))))
{
goto IL_00c0;
}
}
{
int32_t L_50 = __this->get_lcid_9();
if ((((int32_t)L_50) == ((int32_t)((int32_t)127))))
{
goto IL_01b8;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(SimpleCollator_t4081201584_il2cpp_TypeInfo_var);
SimpleCollator_t4081201584 * L_51 = ((SimpleCollator_t4081201584_StaticFields*)SimpleCollator_t4081201584_il2cpp_TypeInfo_var->static_fields)->get_invariant_1();
ContractionU5BU5D_t4233480993* L_52 = L_51->get_contractions_10();
V_9 = L_52;
V_10 = 0;
goto IL_01ad;
}
IL_014a:
{
ContractionU5BU5D_t4233480993* L_53 = V_9;
int32_t L_54 = V_10;
int32_t L_55 = L_54;
Contraction_t1673853792 * L_56 = (L_53)->GetAt(static_cast<il2cpp_array_size_t>(L_55));
V_8 = L_56;
Contraction_t1673853792 * L_57 = V_8;
CharU5BU5D_t1328083999* L_58 = L_57->get_Source_0();
if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_58)->max_length))))) <= ((int32_t)1)))
{
goto IL_01a7;
}
}
{
Contraction_t1673853792 * L_59 = V_8;
CharU5BU5D_t1328083999* L_60 = L_59->get_Source_0();
V_12 = L_60;
V_13 = 0;
goto IL_019c;
}
IL_0171:
{
CharU5BU5D_t1328083999* L_61 = V_12;
int32_t L_62 = V_13;
int32_t L_63 = L_62;
uint16_t L_64 = (L_61)->GetAt(static_cast<il2cpp_array_size_t>(L_63));
V_11 = L_64;
ByteU5BU5D_t3397334013* L_65 = __this->get_unsafeFlags_12();
Il2CppChar L_66 = V_11;
uint8_t* L_67 = ((L_65)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_66/(int32_t)8)))));
Il2CppChar L_68 = V_11;
*((int8_t*)(L_67)) = (int8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)(*((uint8_t*)L_67))|(int32_t)(((int32_t)((uint8_t)((int32_t)((int32_t)1<<(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_68&(int32_t)7))&(int32_t)((int32_t)31)))))))))))));
int32_t L_69 = V_13;
V_13 = ((int32_t)((int32_t)L_69+(int32_t)1));
}
IL_019c:
{
int32_t L_70 = V_13;
CharU5BU5D_t1328083999* L_71 = V_12;
if ((((int32_t)L_70) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_71)->max_length)))))))
{
goto IL_0171;
}
}
IL_01a7:
{
int32_t L_72 = V_10;
V_10 = ((int32_t)((int32_t)L_72+(int32_t)1));
}
IL_01ad:
{
int32_t L_73 = V_10;
ContractionU5BU5D_t4233480993* L_74 = V_9;
if ((((int32_t)L_73) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_74)->max_length)))))))
{
goto IL_014a;
}
}
IL_01b8:
{
return;
}
}
// System.Void Mono.Globalization.Unicode.SimpleCollator::.cctor()
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppClass* SimpleCollator_t4081201584_il2cpp_TypeInfo_var;
extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral1787499373;
extern Il2CppCodeGenString* _stringLiteral3021628911;
extern const uint32_t SimpleCollator__cctor_m2693747668_MetadataUsageId;
extern "C" void SimpleCollator__cctor_m2693747668 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SimpleCollator__cctor_m2693747668_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
String_t* L_0 = Environment_internalGetEnvironmentVariable_m793691779(NULL /*static, unused*/, _stringLiteral1787499373, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
bool L_1 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_0, _stringLiteral3021628911, /*hidden argument*/NULL);
((SimpleCollator_t4081201584_StaticFields*)SimpleCollator_t4081201584_il2cpp_TypeInfo_var->static_fields)->set_QuickCheckDisabled_0(L_1);
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var);
CultureInfo_t3500843524 * L_2 = CultureInfo_get_InvariantCulture_m398972276(NULL /*static, unused*/, /*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);
((SimpleCollator_t4081201584_StaticFields*)SimpleCollator_t4081201584_il2cpp_TypeInfo_var->static_fields)->set_invariant_1(L_3);
return;
}
}
// System.Void Mono.Globalization.Unicode.SimpleCollator::SetCJKTable(System.Globalization.CultureInfo,Mono.Globalization.Unicode.CodePointIndexer&,System.Byte*&,System.Byte*&,Mono.Globalization.Unicode.CodePointIndexer&,System.Byte*&)
extern Il2CppClass* SimpleCollator_t4081201584_il2cpp_TypeInfo_var;
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern const uint32_t SimpleCollator_SetCJKTable_m1356471502_MetadataUsageId;
extern "C" void SimpleCollator_SetCJKTable_m1356471502 (SimpleCollator_t4081201584 * __this, CultureInfo_t3500843524 * ___culture0, CodePointIndexer_t1073906970 ** ___cjkIndexer1, uint8_t** ___catTable2, uint8_t** ___lv1Table3, CodePointIndexer_t1073906970 ** ___lv2Indexer4, uint8_t** ___lv2Table5, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SimpleCollator_SetCJKTable_m1356471502_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
String_t* V_0 = NULL;
{
CultureInfo_t3500843524 * L_0 = ___culture0;
IL2CPP_RUNTIME_CLASS_INIT(SimpleCollator_t4081201584_il2cpp_TypeInfo_var);
CultureInfo_t3500843524 * L_1 = SimpleCollator_GetNeutralCulture_m740567665(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
String_t* L_2 = VirtFuncInvoker0< String_t* >::Invoke(7 /* System.String System.Globalization.CultureInfo::get_Name() */, L_1);
V_0 = L_2;
String_t* L_3 = V_0;
CodePointIndexer_t1073906970 ** L_4 = ___cjkIndexer1;
uint8_t** L_5 = ___catTable2;
uint8_t** L_6 = ___lv1Table3;
CodePointIndexer_t1073906970 ** L_7 = ___lv2Indexer4;
uint8_t** L_8 = ___lv2Table5;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
MSCompatUnicodeTable_FillCJK_m3035171370(NULL /*static, unused*/, L_3, L_4, L_5, L_6, L_7, L_8, /*hidden argument*/NULL);
return;
}
}
// System.Globalization.CultureInfo Mono.Globalization.Unicode.SimpleCollator::GetNeutralCulture(System.Globalization.CultureInfo)
extern "C" CultureInfo_t3500843524 * SimpleCollator_GetNeutralCulture_m740567665 (Il2CppObject * __this /* static, unused */, CultureInfo_t3500843524 * ___info0, const MethodInfo* method)
{
CultureInfo_t3500843524 * V_0 = NULL;
{
CultureInfo_t3500843524 * L_0 = ___info0;
V_0 = L_0;
goto IL_000e;
}
IL_0007:
{
CultureInfo_t3500843524 * L_1 = V_0;
CultureInfo_t3500843524 * L_2 = VirtFuncInvoker0< CultureInfo_t3500843524 * >::Invoke(8 /* System.Globalization.CultureInfo System.Globalization.CultureInfo::get_Parent() */, L_1);
V_0 = L_2;
}
IL_000e:
{
CultureInfo_t3500843524 * L_3 = V_0;
CultureInfo_t3500843524 * L_4 = VirtFuncInvoker0< CultureInfo_t3500843524 * >::Invoke(8 /* System.Globalization.CultureInfo System.Globalization.CultureInfo::get_Parent() */, L_3);
if (!L_4)
{
goto IL_002b;
}
}
{
CultureInfo_t3500843524 * L_5 = V_0;
CultureInfo_t3500843524 * L_6 = VirtFuncInvoker0< CultureInfo_t3500843524 * >::Invoke(8 /* System.Globalization.CultureInfo System.Globalization.CultureInfo::get_Parent() */, L_5);
int32_t L_7 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 System.Globalization.CultureInfo::get_LCID() */, L_6);
if ((!(((uint32_t)L_7) == ((uint32_t)((int32_t)127)))))
{
goto IL_0007;
}
}
IL_002b:
{
CultureInfo_t3500843524 * L_8 = V_0;
return L_8;
}
}
// System.Byte Mono.Globalization.Unicode.SimpleCollator::Category(System.Int32)
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern const uint32_t SimpleCollator_Category_m1504096908_MetadataUsageId;
extern "C" uint8_t SimpleCollator_Category_m1504096908 (SimpleCollator_t4081201584 * __this, int32_t ___cp0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SimpleCollator_Category_m1504096908_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t G_B6_0 = 0;
{
int32_t L_0 = ___cp0;
if ((((int32_t)L_0) < ((int32_t)((int32_t)12288))))
{
goto IL_0016;
}
}
{
uint8_t* L_1 = __this->get_cjkCatTable_4();
if (L_1)
{
goto IL_001d;
}
}
IL_0016:
{
int32_t L_2 = ___cp0;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t L_3 = MSCompatUnicodeTable_Category_m3854768527(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
return L_3;
}
IL_001d:
{
CodePointIndexer_t1073906970 * L_4 = __this->get_cjkIndexer_6();
int32_t L_5 = ___cp0;
int32_t L_6 = CodePointIndexer_ToIndex_m2133868653(L_4, L_5, /*hidden argument*/NULL);
V_0 = L_6;
int32_t L_7 = V_0;
if ((((int32_t)L_7) >= ((int32_t)0)))
{
goto IL_003c;
}
}
{
int32_t L_8 = ___cp0;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t L_9 = MSCompatUnicodeTable_Category_m3854768527(NULL /*static, unused*/, L_8, /*hidden argument*/NULL);
G_B6_0 = ((int32_t)(L_9));
goto IL_0045;
}
IL_003c:
{
uint8_t* L_10 = __this->get_cjkCatTable_4();
int32_t L_11 = V_0;
G_B6_0 = (*((uint8_t*)((uint8_t*)((intptr_t)L_10+(int32_t)L_11))));
}
IL_0045:
{
return G_B6_0;
}
}
// System.Byte Mono.Globalization.Unicode.SimpleCollator::Level1(System.Int32)
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern const uint32_t SimpleCollator_Level1_m3813786941_MetadataUsageId;
extern "C" uint8_t SimpleCollator_Level1_m3813786941 (SimpleCollator_t4081201584 * __this, int32_t ___cp0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SimpleCollator_Level1_m3813786941_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t G_B6_0 = 0;
{
int32_t L_0 = ___cp0;
if ((((int32_t)L_0) < ((int32_t)((int32_t)12288))))
{
goto IL_0016;
}
}
{
uint8_t* L_1 = __this->get_cjkLv1Table_5();
if (L_1)
{
goto IL_001d;
}
}
IL_0016:
{
int32_t L_2 = ___cp0;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t L_3 = MSCompatUnicodeTable_Level1_m2297588822(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
return L_3;
}
IL_001d:
{
CodePointIndexer_t1073906970 * L_4 = __this->get_cjkIndexer_6();
int32_t L_5 = ___cp0;
int32_t L_6 = CodePointIndexer_ToIndex_m2133868653(L_4, L_5, /*hidden argument*/NULL);
V_0 = L_6;
int32_t L_7 = V_0;
if ((((int32_t)L_7) >= ((int32_t)0)))
{
goto IL_003c;
}
}
{
int32_t L_8 = ___cp0;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t L_9 = MSCompatUnicodeTable_Level1_m2297588822(NULL /*static, unused*/, L_8, /*hidden argument*/NULL);
G_B6_0 = ((int32_t)(L_9));
goto IL_0045;
}
IL_003c:
{
uint8_t* L_10 = __this->get_cjkLv1Table_5();
int32_t L_11 = V_0;
G_B6_0 = (*((uint8_t*)((uint8_t*)((intptr_t)L_10+(int32_t)L_11))));
}
IL_0045:
{
return G_B6_0;
}
}
// System.Byte Mono.Globalization.Unicode.SimpleCollator::Level2(System.Int32,Mono.Globalization.Unicode.SimpleCollator/ExtenderType)
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern const uint32_t SimpleCollator_Level2_m2254535125_MetadataUsageId;
extern "C" uint8_t SimpleCollator_Level2_m2254535125 (SimpleCollator_t4081201584 * __this, int32_t ___cp0, int32_t ___ext1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SimpleCollator_Level2_m2254535125_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
uint8_t V_1 = 0x0;
int32_t V_2 = 0;
int32_t G_B10_0 = 0;
{
int32_t L_0 = ___ext1;
if ((!(((uint32_t)L_0) == ((uint32_t)4))))
{
goto IL_0009;
}
}
{
return 5;
}
IL_0009:
{
int32_t L_1 = ___ext1;
if ((!(((uint32_t)L_1) == ((uint32_t)3))))
{
goto IL_0012;
}
}
{
return 0;
}
IL_0012:
{
int32_t L_2 = ___cp0;
if ((((int32_t)L_2) < ((int32_t)((int32_t)12288))))
{
goto IL_0028;
}
}
{
uint8_t* L_3 = __this->get_cjkLv2Table_7();
if (L_3)
{
goto IL_002f;
}
}
IL_0028:
{
int32_t L_4 = ___cp0;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t L_5 = MSCompatUnicodeTable_Level2_m3059550747(NULL /*static, unused*/, L_4, /*hidden argument*/NULL);
return L_5;
}
IL_002f:
{
CodePointIndexer_t1073906970 * L_6 = __this->get_cjkLv2Indexer_8();
int32_t L_7 = ___cp0;
int32_t L_8 = CodePointIndexer_ToIndex_m2133868653(L_6, L_7, /*hidden argument*/NULL);
V_0 = L_8;
int32_t L_9 = V_0;
if ((((int32_t)L_9) >= ((int32_t)0)))
{
goto IL_0049;
}
}
{
G_B10_0 = 0;
goto IL_0052;
}
IL_0049:
{
uint8_t* L_10 = __this->get_cjkLv2Table_7();
int32_t L_11 = V_0;
G_B10_0 = (*((uint8_t*)((uint8_t*)((intptr_t)L_10+(int32_t)L_11))));
}
IL_0052:
{
V_1 = G_B10_0;
uint8_t L_12 = V_1;
if (!L_12)
{
goto IL_005b;
}
}
{
uint8_t L_13 = V_1;
return L_13;
}
IL_005b:
{
int32_t L_14 = ___cp0;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t L_15 = MSCompatUnicodeTable_Level2_m3059550747(NULL /*static, unused*/, L_14, /*hidden argument*/NULL);
V_1 = L_15;
Level2MapU5BU5D_t2838259787* L_16 = __this->get_level2Maps_11();
if ((((int32_t)((int32_t)(((Il2CppArray *)L_16)->max_length)))))
{
goto IL_0071;
}
}
{
uint8_t L_17 = V_1;
return L_17;
}
IL_0071:
{
V_2 = 0;
goto IL_00b5;
}
IL_0078:
{
Level2MapU5BU5D_t2838259787* L_18 = __this->get_level2Maps_11();
int32_t L_19 = V_2;
int32_t L_20 = L_19;
Level2Map_t3322505726 * L_21 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
uint8_t L_22 = L_21->get_Source_0();
uint8_t L_23 = V_1;
if ((!(((uint32_t)L_22) == ((uint32_t)L_23))))
{
goto IL_0099;
}
}
{
Level2MapU5BU5D_t2838259787* L_24 = __this->get_level2Maps_11();
int32_t L_25 = V_2;
int32_t L_26 = L_25;
Level2Map_t3322505726 * L_27 = (L_24)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
uint8_t L_28 = L_27->get_Replace_1();
return L_28;
}
IL_0099:
{
Level2MapU5BU5D_t2838259787* L_29 = __this->get_level2Maps_11();
int32_t L_30 = V_2;
int32_t L_31 = L_30;
Level2Map_t3322505726 * L_32 = (L_29)->GetAt(static_cast<il2cpp_array_size_t>(L_31));
uint8_t L_33 = L_32->get_Source_0();
uint8_t L_34 = V_1;
if ((((int32_t)L_33) <= ((int32_t)L_34)))
{
goto IL_00b1;
}
}
{
goto IL_00c3;
}
IL_00b1:
{
int32_t L_35 = V_2;
V_2 = ((int32_t)((int32_t)L_35+(int32_t)1));
}
IL_00b5:
{
int32_t L_36 = V_2;
Level2MapU5BU5D_t2838259787* L_37 = __this->get_level2Maps_11();
if ((((int32_t)L_36) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_37)->max_length)))))))
{
goto IL_0078;
}
}
IL_00c3:
{
uint8_t L_38 = V_1;
return L_38;
}
}
// System.Boolean Mono.Globalization.Unicode.SimpleCollator::IsHalfKana(System.Int32,System.Globalization.CompareOptions)
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern const uint32_t SimpleCollator_IsHalfKana_m4255579023_MetadataUsageId;
extern "C" bool SimpleCollator_IsHalfKana_m4255579023 (Il2CppObject * __this /* static, unused */, int32_t ___cp0, int32_t ___opt1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SimpleCollator_IsHalfKana_m4255579023_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t G_B3_0 = 0;
{
int32_t L_0 = ___opt1;
if (((int32_t)((int32_t)L_0&(int32_t)((int32_t)16))))
{
goto IL_0012;
}
}
{
int32_t L_1 = ___cp0;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
bool L_2 = MSCompatUnicodeTable_IsHalfWidthKana_m576273477(NULL /*static, unused*/, (((int32_t)((uint16_t)L_1))), /*hidden argument*/NULL);
G_B3_0 = ((int32_t)(L_2));
goto IL_0013;
}
IL_0012:
{
G_B3_0 = 1;
}
IL_0013:
{
return (bool)G_B3_0;
}
}
// Mono.Globalization.Unicode.Contraction Mono.Globalization.Unicode.SimpleCollator::GetContraction(System.String,System.Int32,System.Int32)
extern Il2CppClass* SimpleCollator_t4081201584_il2cpp_TypeInfo_var;
extern const uint32_t SimpleCollator_GetContraction_m3674789701_MetadataUsageId;
extern "C" Contraction_t1673853792 * SimpleCollator_GetContraction_m3674789701 (SimpleCollator_t4081201584 * __this, String_t* ___s0, int32_t ___start1, int32_t ___end2, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SimpleCollator_GetContraction_m3674789701_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
Contraction_t1673853792 * V_0 = NULL;
{
String_t* L_0 = ___s0;
int32_t L_1 = ___start1;
int32_t L_2 = ___end2;
ContractionU5BU5D_t4233480993* L_3 = __this->get_contractions_10();
Contraction_t1673853792 * L_4 = SimpleCollator_GetContraction_m1391584430(__this, L_0, L_1, L_2, L_3, /*hidden argument*/NULL);
V_0 = L_4;
Contraction_t1673853792 * L_5 = V_0;
if (L_5)
{
goto IL_0023;
}
}
{
int32_t L_6 = __this->get_lcid_9();
if ((!(((uint32_t)L_6) == ((uint32_t)((int32_t)127)))))
{
goto IL_0025;
}
}
IL_0023:
{
Contraction_t1673853792 * L_7 = V_0;
return L_7;
}
IL_0025:
{
String_t* L_8 = ___s0;
int32_t L_9 = ___start1;
int32_t L_10 = ___end2;
IL2CPP_RUNTIME_CLASS_INIT(SimpleCollator_t4081201584_il2cpp_TypeInfo_var);
SimpleCollator_t4081201584 * L_11 = ((SimpleCollator_t4081201584_StaticFields*)SimpleCollator_t4081201584_il2cpp_TypeInfo_var->static_fields)->get_invariant_1();
ContractionU5BU5D_t4233480993* L_12 = L_11->get_contractions_10();
Contraction_t1673853792 * L_13 = SimpleCollator_GetContraction_m1391584430(__this, L_8, L_9, L_10, L_12, /*hidden argument*/NULL);
return L_13;
}
}
// Mono.Globalization.Unicode.Contraction Mono.Globalization.Unicode.SimpleCollator::GetContraction(System.String,System.Int32,System.Int32,Mono.Globalization.Unicode.Contraction[])
extern "C" Contraction_t1673853792 * SimpleCollator_GetContraction_m1391584430 (SimpleCollator_t4081201584 * __this, String_t* ___s0, int32_t ___start1, int32_t ___end2, ContractionU5BU5D_t4233480993* ___clist3, const MethodInfo* method)
{
int32_t V_0 = 0;
Contraction_t1673853792 * V_1 = NULL;
int32_t V_2 = 0;
CharU5BU5D_t1328083999* V_3 = NULL;
bool V_4 = false;
int32_t V_5 = 0;
{
V_0 = 0;
goto IL_008c;
}
IL_0007:
{
ContractionU5BU5D_t4233480993* L_0 = ___clist3;
int32_t L_1 = V_0;
int32_t L_2 = L_1;
Contraction_t1673853792 * L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
V_1 = L_3;
Contraction_t1673853792 * L_4 = V_1;
CharU5BU5D_t1328083999* L_5 = L_4->get_Source_0();
int32_t L_6 = 0;
uint16_t L_7 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
String_t* L_8 = ___s0;
int32_t L_9 = ___start1;
Il2CppChar L_10 = String_get_Chars_m4230566705(L_8, L_9, /*hidden argument*/NULL);
V_2 = ((int32_t)((int32_t)L_7-(int32_t)L_10));
int32_t L_11 = V_2;
if ((((int32_t)L_11) <= ((int32_t)0)))
{
goto IL_0026;
}
}
{
return (Contraction_t1673853792 *)NULL;
}
IL_0026:
{
int32_t L_12 = V_2;
if ((((int32_t)L_12) >= ((int32_t)0)))
{
goto IL_0032;
}
}
{
goto IL_0088;
}
IL_0032:
{
Contraction_t1673853792 * L_13 = V_1;
CharU5BU5D_t1328083999* L_14 = L_13->get_Source_0();
V_3 = L_14;
int32_t L_15 = ___end2;
int32_t L_16 = ___start1;
CharU5BU5D_t1328083999* L_17 = V_3;
if ((((int32_t)((int32_t)((int32_t)L_15-(int32_t)L_16))) >= ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_17)->max_length)))))))
{
goto IL_0049;
}
}
{
goto IL_0088;
}
IL_0049:
{
V_4 = (bool)1;
V_5 = 0;
goto IL_0075;
}
IL_0054:
{
String_t* L_18 = ___s0;
int32_t L_19 = ___start1;
int32_t L_20 = V_5;
Il2CppChar L_21 = String_get_Chars_m4230566705(L_18, ((int32_t)((int32_t)L_19+(int32_t)L_20)), /*hidden argument*/NULL);
CharU5BU5D_t1328083999* L_22 = V_3;
int32_t L_23 = V_5;
int32_t L_24 = L_23;
uint16_t L_25 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
if ((((int32_t)L_21) == ((int32_t)L_25)))
{
goto IL_006f;
}
}
{
V_4 = (bool)0;
goto IL_007f;
}
IL_006f:
{
int32_t L_26 = V_5;
V_5 = ((int32_t)((int32_t)L_26+(int32_t)1));
}
IL_0075:
{
int32_t L_27 = V_5;
CharU5BU5D_t1328083999* L_28 = V_3;
if ((((int32_t)L_27) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_28)->max_length)))))))
{
goto IL_0054;
}
}
IL_007f:
{
bool L_29 = V_4;
if (!L_29)
{
goto IL_0088;
}
}
{
Contraction_t1673853792 * L_30 = V_1;
return L_30;
}
IL_0088:
{
int32_t L_31 = V_0;
V_0 = ((int32_t)((int32_t)L_31+(int32_t)1));
}
IL_008c:
{
int32_t L_32 = V_0;
ContractionU5BU5D_t4233480993* L_33 = ___clist3;
if ((((int32_t)L_32) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_33)->max_length)))))))
{
goto IL_0007;
}
}
{
return (Contraction_t1673853792 *)NULL;
}
}
// Mono.Globalization.Unicode.Contraction Mono.Globalization.Unicode.SimpleCollator::GetTailContraction(System.String,System.Int32,System.Int32)
extern Il2CppClass* SimpleCollator_t4081201584_il2cpp_TypeInfo_var;
extern const uint32_t SimpleCollator_GetTailContraction_m374819833_MetadataUsageId;
extern "C" Contraction_t1673853792 * SimpleCollator_GetTailContraction_m374819833 (SimpleCollator_t4081201584 * __this, String_t* ___s0, int32_t ___start1, int32_t ___end2, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SimpleCollator_GetTailContraction_m374819833_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
Contraction_t1673853792 * V_0 = NULL;
{
String_t* L_0 = ___s0;
int32_t L_1 = ___start1;
int32_t L_2 = ___end2;
ContractionU5BU5D_t4233480993* L_3 = __this->get_contractions_10();
Contraction_t1673853792 * L_4 = SimpleCollator_GetTailContraction_m1037943844(__this, L_0, L_1, L_2, L_3, /*hidden argument*/NULL);
V_0 = L_4;
Contraction_t1673853792 * L_5 = V_0;
if (L_5)
{
goto IL_0023;
}
}
{
int32_t L_6 = __this->get_lcid_9();
if ((!(((uint32_t)L_6) == ((uint32_t)((int32_t)127)))))
{
goto IL_0025;
}
}
IL_0023:
{
Contraction_t1673853792 * L_7 = V_0;
return L_7;
}
IL_0025:
{
String_t* L_8 = ___s0;
int32_t L_9 = ___start1;
int32_t L_10 = ___end2;
IL2CPP_RUNTIME_CLASS_INIT(SimpleCollator_t4081201584_il2cpp_TypeInfo_var);
SimpleCollator_t4081201584 * L_11 = ((SimpleCollator_t4081201584_StaticFields*)SimpleCollator_t4081201584_il2cpp_TypeInfo_var->static_fields)->get_invariant_1();
ContractionU5BU5D_t4233480993* L_12 = L_11->get_contractions_10();
Contraction_t1673853792 * L_13 = SimpleCollator_GetTailContraction_m1037943844(__this, L_8, L_9, L_10, L_12, /*hidden argument*/NULL);
return L_13;
}
}
// Mono.Globalization.Unicode.Contraction Mono.Globalization.Unicode.SimpleCollator::GetTailContraction(System.String,System.Int32,System.Int32,Mono.Globalization.Unicode.Contraction[])
extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var;
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppClass* SystemException_t3877406272_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral4082733026;
extern const uint32_t SimpleCollator_GetTailContraction_m1037943844_MetadataUsageId;
extern "C" Contraction_t1673853792 * SimpleCollator_GetTailContraction_m1037943844 (SimpleCollator_t4081201584 * __this, String_t* ___s0, int32_t ___start1, int32_t ___end2, ContractionU5BU5D_t4233480993* ___clist3, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SimpleCollator_GetTailContraction_m1037943844_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
Contraction_t1673853792 * V_1 = NULL;
CharU5BU5D_t1328083999* V_2 = NULL;
bool V_3 = false;
int32_t V_4 = 0;
int32_t V_5 = 0;
{
int32_t L_0 = ___start1;
int32_t L_1 = ___end2;
if ((((int32_t)L_0) == ((int32_t)L_1)))
{
goto IL_0028;
}
}
{
int32_t L_2 = ___end2;
if ((((int32_t)L_2) < ((int32_t)(-1))))
{
goto IL_0028;
}
}
{
int32_t L_3 = ___start1;
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_0028;
}
}
{
String_t* L_6 = ___s0;
int32_t L_7 = String_get_Length_m1606060069(L_6, /*hidden argument*/NULL);
int32_t L_8 = ___end2;
if ((((int32_t)L_7) > ((int32_t)((int32_t)((int32_t)L_8+(int32_t)1)))))
{
goto IL_0045;
}
}
IL_0028:
{
int32_t L_9 = ___start1;
int32_t L_10 = L_9;
Il2CppObject * L_11 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_10);
int32_t L_12 = ___end2;
int32_t L_13 = L_12;
Il2CppObject * L_14 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_13);
String_t* L_15 = ___s0;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_16 = String_Format_m4262916296(NULL /*static, unused*/, _stringLiteral4082733026, L_11, L_14, L_15, /*hidden argument*/NULL);
SystemException_t3877406272 * L_17 = (SystemException_t3877406272 *)il2cpp_codegen_object_new(SystemException_t3877406272_il2cpp_TypeInfo_var);
SystemException__ctor_m4001391027(L_17, L_16, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_17);
}
IL_0045:
{
V_0 = 0;
goto IL_00cd;
}
IL_004c:
{
ContractionU5BU5D_t4233480993* L_18 = ___clist3;
int32_t L_19 = V_0;
int32_t L_20 = L_19;
Contraction_t1673853792 * L_21 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
V_1 = L_21;
Contraction_t1673853792 * L_22 = V_1;
CharU5BU5D_t1328083999* L_23 = L_22->get_Source_0();
V_2 = L_23;
CharU5BU5D_t1328083999* L_24 = V_2;
int32_t L_25 = ___start1;
int32_t L_26 = ___end2;
if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_24)->max_length))))) <= ((int32_t)((int32_t)((int32_t)L_25-(int32_t)L_26)))))
{
goto IL_0068;
}
}
{
goto IL_00c9;
}
IL_0068:
{
CharU5BU5D_t1328083999* L_27 = V_2;
CharU5BU5D_t1328083999* L_28 = V_2;
int32_t L_29 = ((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_28)->max_length))))-(int32_t)1));
uint16_t L_30 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
String_t* L_31 = ___s0;
int32_t L_32 = ___start1;
Il2CppChar L_33 = String_get_Chars_m4230566705(L_31, L_32, /*hidden argument*/NULL);
if ((((int32_t)L_30) == ((int32_t)L_33)))
{
goto IL_0080;
}
}
{
goto IL_00c9;
}
IL_0080:
{
V_3 = (bool)1;
V_4 = 0;
int32_t L_34 = ___start1;
CharU5BU5D_t1328083999* L_35 = V_2;
V_5 = ((int32_t)((int32_t)((int32_t)((int32_t)L_34-(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_35)->max_length))))))+(int32_t)1));
goto IL_00b7;
}
IL_0093:
{
String_t* L_36 = ___s0;
int32_t L_37 = V_5;
Il2CppChar L_38 = String_get_Chars_m4230566705(L_36, L_37, /*hidden argument*/NULL);
CharU5BU5D_t1328083999* L_39 = V_2;
int32_t L_40 = V_4;
int32_t L_41 = L_40;
uint16_t L_42 = (L_39)->GetAt(static_cast<il2cpp_array_size_t>(L_41));
if ((((int32_t)L_38) == ((int32_t)L_42)))
{
goto IL_00ab;
}
}
{
V_3 = (bool)0;
goto IL_00c1;
}
IL_00ab:
{
int32_t L_43 = V_4;
V_4 = ((int32_t)((int32_t)L_43+(int32_t)1));
int32_t L_44 = V_5;
V_5 = ((int32_t)((int32_t)L_44+(int32_t)1));
}
IL_00b7:
{
int32_t L_45 = V_4;
CharU5BU5D_t1328083999* L_46 = V_2;
if ((((int32_t)L_45) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_46)->max_length)))))))
{
goto IL_0093;
}
}
IL_00c1:
{
bool L_47 = V_3;
if (!L_47)
{
goto IL_00c9;
}
}
{
Contraction_t1673853792 * L_48 = V_1;
return L_48;
}
IL_00c9:
{
int32_t L_49 = V_0;
V_0 = ((int32_t)((int32_t)L_49+(int32_t)1));
}
IL_00cd:
{
int32_t L_50 = V_0;
ContractionU5BU5D_t4233480993* L_51 = ___clist3;
if ((((int32_t)L_50) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_51)->max_length)))))))
{
goto IL_004c;
}
}
{
return (Contraction_t1673853792 *)NULL;
}
}
// System.Int32 Mono.Globalization.Unicode.SimpleCollator::FilterOptions(System.Int32,System.Globalization.CompareOptions)
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern const uint32_t SimpleCollator_FilterOptions_m4044781893_MetadataUsageId;
extern "C" int32_t SimpleCollator_FilterOptions_m4044781893 (SimpleCollator_t4081201584 * __this, int32_t ___i0, int32_t ___opt1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SimpleCollator_FilterOptions_m4044781893_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
{
int32_t L_0 = ___opt1;
if (!((int32_t)((int32_t)L_0&(int32_t)((int32_t)16))))
{
goto IL_0019;
}
}
{
int32_t L_1 = ___i0;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
int32_t L_2 = MSCompatUnicodeTable_ToWidthCompat_m2299599532(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
V_0 = L_2;
int32_t L_3 = V_0;
if (!L_3)
{
goto IL_0019;
}
}
{
int32_t L_4 = V_0;
___i0 = L_4;
}
IL_0019:
{
int32_t L_5 = ___opt1;
if (!((int32_t)((int32_t)L_5&(int32_t)((int32_t)268435456))))
{
goto IL_0034;
}
}
{
TextInfo_t3620182823 * L_6 = __this->get_textInfo_2();
int32_t L_7 = ___i0;
Il2CppChar L_8 = VirtFuncInvoker1< Il2CppChar, Il2CppChar >::Invoke(7 /* System.Char System.Globalization.TextInfo::ToLower(System.Char) */, L_6, (((int32_t)((uint16_t)L_7))));
___i0 = L_8;
}
IL_0034:
{
int32_t L_9 = ___opt1;
if (!((int32_t)((int32_t)L_9&(int32_t)1)))
{
goto IL_004b;
}
}
{
TextInfo_t3620182823 * L_10 = __this->get_textInfo_2();
int32_t L_11 = ___i0;
Il2CppChar L_12 = VirtFuncInvoker1< Il2CppChar, Il2CppChar >::Invoke(7 /* System.Char System.Globalization.TextInfo::ToLower(System.Char) */, L_10, (((int32_t)((uint16_t)L_11))));
___i0 = L_12;
}
IL_004b:
{
int32_t L_13 = ___opt1;
if (!((int32_t)((int32_t)L_13&(int32_t)8)))
{
goto IL_005b;
}
}
{
int32_t L_14 = ___i0;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
int32_t L_15 = MSCompatUnicodeTable_ToKanaTypeInsensitive_m908833112(NULL /*static, unused*/, L_14, /*hidden argument*/NULL);
___i0 = L_15;
}
IL_005b:
{
int32_t L_16 = ___i0;
return L_16;
}
}
// Mono.Globalization.Unicode.SimpleCollator/ExtenderType Mono.Globalization.Unicode.SimpleCollator::GetExtenderType(System.Int32)
extern "C" int32_t SimpleCollator_GetExtenderType_m976831551 (SimpleCollator_t4081201584 * __this, int32_t ___i0, const MethodInfo* method)
{
int32_t V_0 = 0;
int32_t G_B4_0 = 0;
{
int32_t L_0 = ___i0;
if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)8213)))))
{
goto IL_0020;
}
}
{
int32_t L_1 = __this->get_lcid_9();
if ((!(((uint32_t)L_1) == ((uint32_t)((int32_t)16)))))
{
goto IL_001e;
}
}
{
G_B4_0 = 3;
goto IL_001f;
}
IL_001e:
{
G_B4_0 = 0;
}
IL_001f:
{
return (int32_t)(G_B4_0);
}
IL_0020:
{
int32_t L_2 = ___i0;
if ((((int32_t)L_2) < ((int32_t)((int32_t)12293))))
{
goto IL_0036;
}
}
{
int32_t L_3 = ___i0;
if ((((int32_t)L_3) <= ((int32_t)((int32_t)65392))))
{
goto IL_0038;
}
}
IL_0036:
{
return (int32_t)(0);
}
IL_0038:
{
int32_t L_4 = ___i0;
if ((((int32_t)L_4) < ((int32_t)((int32_t)65148))))
{
goto IL_0087;
}
}
{
int32_t L_5 = ___i0;
V_0 = L_5;
int32_t L_6 = V_0;
if ((((int32_t)L_6) == ((int32_t)((int32_t)65148))))
{
goto IL_0081;
}
}
{
int32_t L_7 = V_0;
if ((((int32_t)L_7) == ((int32_t)((int32_t)65149))))
{
goto IL_0081;
}
}
{
int32_t L_8 = V_0;
if ((((int32_t)L_8) == ((int32_t)((int32_t)65438))))
{
goto IL_0085;
}
}
{
int32_t L_9 = V_0;
if ((((int32_t)L_9) == ((int32_t)((int32_t)65439))))
{
goto IL_0085;
}
}
{
int32_t L_10 = V_0;
if ((((int32_t)L_10) == ((int32_t)((int32_t)65392))))
{
goto IL_0083;
}
}
{
goto IL_0087;
}
IL_0081:
{
return (int32_t)(1);
}
IL_0083:
{
return (int32_t)(3);
}
IL_0085:
{
return (int32_t)(2);
}
IL_0087:
{
int32_t L_11 = ___i0;
if ((((int32_t)L_11) <= ((int32_t)((int32_t)12542))))
{
goto IL_0094;
}
}
{
return (int32_t)(0);
}
IL_0094:
{
int32_t L_12 = ___i0;
V_0 = L_12;
int32_t L_13 = V_0;
if (((int32_t)((int32_t)L_13-(int32_t)((int32_t)12540))) == 0)
{
goto IL_00f0;
}
if (((int32_t)((int32_t)L_13-(int32_t)((int32_t)12540))) == 1)
{
goto IL_00ec;
}
if (((int32_t)((int32_t)L_13-(int32_t)((int32_t)12540))) == 2)
{
goto IL_00ee;
}
}
{
int32_t L_14 = V_0;
if ((((int32_t)L_14) == ((int32_t)((int32_t)12337))))
{
goto IL_00ec;
}
}
{
int32_t L_15 = V_0;
if ((((int32_t)L_15) == ((int32_t)((int32_t)12338))))
{
goto IL_00ec;
}
}
{
int32_t L_16 = V_0;
if ((((int32_t)L_16) == ((int32_t)((int32_t)12445))))
{
goto IL_00ec;
}
}
{
int32_t L_17 = V_0;
if ((((int32_t)L_17) == ((int32_t)((int32_t)12446))))
{
goto IL_00ee;
}
}
{
int32_t L_18 = V_0;
if ((((int32_t)L_18) == ((int32_t)((int32_t)12293))))
{
goto IL_00ea;
}
}
{
goto IL_00f2;
}
IL_00ea:
{
return (int32_t)(4);
}
IL_00ec:
{
return (int32_t)(1);
}
IL_00ee:
{
return (int32_t)(2);
}
IL_00f0:
{
return (int32_t)(3);
}
IL_00f2:
{
return (int32_t)(0);
}
}
// System.Byte Mono.Globalization.Unicode.SimpleCollator::ToDashTypeValue(Mono.Globalization.Unicode.SimpleCollator/ExtenderType,System.Globalization.CompareOptions)
extern "C" uint8_t SimpleCollator_ToDashTypeValue_m2069376469 (Il2CppObject * __this /* static, unused */, int32_t ___ext0, int32_t ___opt1, const MethodInfo* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = ___opt1;
if (!((int32_t)((int32_t)L_0&(int32_t)2)))
{
goto IL_000a;
}
}
{
return 3;
}
IL_000a:
{
int32_t L_1 = ___ext0;
V_0 = L_1;
int32_t L_2 = V_0;
if (L_2 == 0)
{
goto IL_0027;
}
if (L_2 == 1)
{
goto IL_002b;
}
if (L_2 == 2)
{
goto IL_002b;
}
if (L_2 == 3)
{
goto IL_0029;
}
}
{
goto IL_002b;
}
IL_0027:
{
return 3;
}
IL_0029:
{
return 5;
}
IL_002b:
{
return 4;
}
}
// System.Int32 Mono.Globalization.Unicode.SimpleCollator::FilterExtender(System.Int32,Mono.Globalization.Unicode.SimpleCollator/ExtenderType,System.Globalization.CompareOptions)
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern Il2CppClass* SimpleCollator_t4081201584_il2cpp_TypeInfo_var;
extern const uint32_t SimpleCollator_FilterExtender_m2624562651_MetadataUsageId;
extern "C" int32_t SimpleCollator_FilterExtender_m2624562651 (SimpleCollator_t4081201584 * __this, int32_t ___i0, int32_t ___ext1, int32_t ___opt2, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SimpleCollator_FilterExtender_m2624562651_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
bool V_0 = false;
bool V_1 = false;
int32_t V_2 = 0;
int32_t G_B9_0 = 0;
int32_t G_B15_0 = 0;
int32_t G_B21_0 = 0;
int32_t G_B27_0 = 0;
int32_t G_B33_0 = 0;
{
int32_t L_0 = ___ext1;
if ((!(((uint32_t)L_0) == ((uint32_t)3))))
{
goto IL_0110;
}
}
{
int32_t L_1 = ___i0;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
bool L_2 = MSCompatUnicodeTable_HasSpecialWeight_m4030611518(NULL /*static, unused*/, (((int32_t)((uint16_t)L_1))), /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0110;
}
}
{
int32_t L_3 = ___i0;
int32_t L_4 = ___opt2;
IL2CPP_RUNTIME_CLASS_INIT(SimpleCollator_t4081201584_il2cpp_TypeInfo_var);
bool L_5 = SimpleCollator_IsHalfKana_m4255579023(NULL /*static, unused*/, (((int32_t)((uint16_t)L_3))), L_4, /*hidden argument*/NULL);
V_0 = L_5;
int32_t L_6 = ___i0;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
bool L_7 = MSCompatUnicodeTable_IsHiragana_m3490024298(NULL /*static, unused*/, (((int32_t)((uint16_t)L_6))), /*hidden argument*/NULL);
V_1 = (bool)((((int32_t)L_7) == ((int32_t)0))? 1 : 0);
int32_t L_8 = ___i0;
uint8_t L_9 = SimpleCollator_Level1_m3813786941(__this, L_8, /*hidden argument*/NULL);
V_2 = ((int32_t)((int32_t)L_9&(int32_t)7));
int32_t L_10 = V_2;
if (((int32_t)((int32_t)L_10-(int32_t)2)) == 0)
{
goto IL_0052;
}
if (((int32_t)((int32_t)L_10-(int32_t)2)) == 1)
{
goto IL_0078;
}
if (((int32_t)((int32_t)L_10-(int32_t)2)) == 2)
{
goto IL_009e;
}
if (((int32_t)((int32_t)L_10-(int32_t)2)) == 3)
{
goto IL_00c4;
}
if (((int32_t)((int32_t)L_10-(int32_t)2)) == 4)
{
goto IL_00ea;
}
}
{
goto IL_0110;
}
IL_0052:
{
bool L_11 = V_0;
if (!L_11)
{
goto IL_0062;
}
}
{
G_B9_0 = ((int32_t)65393);
goto IL_0077;
}
IL_0062:
{
bool L_12 = V_1;
if (!L_12)
{
goto IL_0072;
}
}
{
G_B9_0 = ((int32_t)12450);
goto IL_0077;
}
IL_0072:
{
G_B9_0 = ((int32_t)12354);
}
IL_0077:
{
return G_B9_0;
}
IL_0078:
{
bool L_13 = V_0;
if (!L_13)
{
goto IL_0088;
}
}
{
G_B15_0 = ((int32_t)65394);
goto IL_009d;
}
IL_0088:
{
bool L_14 = V_1;
if (!L_14)
{
goto IL_0098;
}
}
{
G_B15_0 = ((int32_t)12452);
goto IL_009d;
}
IL_0098:
{
G_B15_0 = ((int32_t)12356);
}
IL_009d:
{
return G_B15_0;
}
IL_009e:
{
bool L_15 = V_0;
if (!L_15)
{
goto IL_00ae;
}
}
{
G_B21_0 = ((int32_t)65395);
goto IL_00c3;
}
IL_00ae:
{
bool L_16 = V_1;
if (!L_16)
{
goto IL_00be;
}
}
{
G_B21_0 = ((int32_t)12454);
goto IL_00c3;
}
IL_00be:
{
G_B21_0 = ((int32_t)12358);
}
IL_00c3:
{
return G_B21_0;
}
IL_00c4:
{
bool L_17 = V_0;
if (!L_17)
{
goto IL_00d4;
}
}
{
G_B27_0 = ((int32_t)65396);
goto IL_00e9;
}
IL_00d4:
{
bool L_18 = V_1;
if (!L_18)
{
goto IL_00e4;
}
}
{
G_B27_0 = ((int32_t)12456);
goto IL_00e9;
}
IL_00e4:
{
G_B27_0 = ((int32_t)12360);
}
IL_00e9:
{
return G_B27_0;
}
IL_00ea:
{
bool L_19 = V_0;
if (!L_19)
{
goto IL_00fa;
}
}
{
G_B33_0 = ((int32_t)65397);
goto IL_010f;
}
IL_00fa:
{
bool L_20 = V_1;
if (!L_20)
{
goto IL_010a;
}
}
{
G_B33_0 = ((int32_t)12458);
goto IL_010f;
}
IL_010a:
{
G_B33_0 = ((int32_t)12362);
}
IL_010f:
{
return G_B33_0;
}
IL_0110:
{
int32_t L_21 = ___i0;
return L_21;
}
}
// System.Boolean Mono.Globalization.Unicode.SimpleCollator::IsIgnorable(System.Int32,System.Globalization.CompareOptions)
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern const uint32_t SimpleCollator_IsIgnorable_m2485013022_MetadataUsageId;
extern "C" bool SimpleCollator_IsIgnorable_m2485013022 (Il2CppObject * __this /* static, unused */, int32_t ___i0, int32_t ___opt1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SimpleCollator_IsIgnorable_m2485013022_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t G_B2_0 = 0;
int32_t G_B2_1 = 0;
int32_t G_B1_0 = 0;
int32_t G_B1_1 = 0;
int32_t G_B3_0 = 0;
int32_t G_B3_1 = 0;
int32_t G_B3_2 = 0;
int32_t G_B5_0 = 0;
int32_t G_B5_1 = 0;
int32_t G_B4_0 = 0;
int32_t G_B4_1 = 0;
int32_t G_B6_0 = 0;
int32_t G_B6_1 = 0;
int32_t G_B6_2 = 0;
{
int32_t L_0 = ___i0;
int32_t L_1 = ___opt1;
G_B1_0 = 1;
G_B1_1 = L_0;
if (!((int32_t)((int32_t)L_1&(int32_t)4)))
{
G_B2_0 = 1;
G_B2_1 = L_0;
goto IL_0010;
}
}
{
G_B3_0 = 2;
G_B3_1 = G_B1_0;
G_B3_2 = G_B1_1;
goto IL_0011;
}
IL_0010:
{
G_B3_0 = 0;
G_B3_1 = G_B2_0;
G_B3_2 = G_B2_1;
}
IL_0011:
{
int32_t L_2 = ___opt1;
G_B4_0 = ((int32_t)((int32_t)G_B3_1+(int32_t)G_B3_0));
G_B4_1 = G_B3_2;
if (!((int32_t)((int32_t)L_2&(int32_t)2)))
{
G_B5_0 = ((int32_t)((int32_t)G_B3_1+(int32_t)G_B3_0));
G_B5_1 = G_B3_2;
goto IL_0020;
}
}
{
G_B6_0 = 4;
G_B6_1 = G_B4_0;
G_B6_2 = G_B4_1;
goto IL_0021;
}
IL_0020:
{
G_B6_0 = 0;
G_B6_1 = G_B5_0;
G_B6_2 = G_B5_1;
}
IL_0021:
{
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
bool L_3 = MSCompatUnicodeTable_IsIgnorable_m2816251577(NULL /*static, unused*/, G_B6_2, (((int32_t)((uint8_t)((int32_t)((int32_t)G_B6_1+(int32_t)G_B6_0))))), /*hidden argument*/NULL);
return L_3;
}
}
// System.Boolean Mono.Globalization.Unicode.SimpleCollator::IsSafe(System.Int32)
extern "C" bool SimpleCollator_IsSafe_m2555643371 (SimpleCollator_t4081201584 * __this, int32_t ___i0, const MethodInfo* method)
{
int32_t G_B3_0 = 0;
{
int32_t L_0 = ___i0;
ByteU5BU5D_t3397334013* L_1 = __this->get_unsafeFlags_12();
if ((((int32_t)((int32_t)((int32_t)L_0/(int32_t)8))) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_1)->max_length)))))))
{
goto IL_0016;
}
}
{
G_B3_0 = 1;
goto IL_002c;
}
IL_0016:
{
ByteU5BU5D_t3397334013* L_2 = __this->get_unsafeFlags_12();
int32_t L_3 = ___i0;
int32_t L_4 = ((int32_t)((int32_t)L_3/(int32_t)8));
uint8_t L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
int32_t L_6 = ___i0;
G_B3_0 = ((((int32_t)((int32_t)((int32_t)L_5&(int32_t)((int32_t)((int32_t)1<<(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_6%(int32_t)8))&(int32_t)((int32_t)31)))))))) == ((int32_t)0))? 1 : 0);
}
IL_002c:
{
return (bool)G_B3_0;
}
}
// System.Globalization.SortKey Mono.Globalization.Unicode.SimpleCollator::GetSortKey(System.String,System.Globalization.CompareOptions)
extern "C" SortKey_t1270563137 * SimpleCollator_GetSortKey_m540875593 (SimpleCollator_t4081201584 * __this, String_t* ___s0, int32_t ___options1, const MethodInfo* method)
{
{
String_t* L_0 = ___s0;
String_t* L_1 = ___s0;
int32_t L_2 = String_get_Length_m1606060069(L_1, /*hidden argument*/NULL);
int32_t L_3 = ___options1;
SortKey_t1270563137 * L_4 = SimpleCollator_GetSortKey_m1317491197(__this, L_0, 0, L_2, L_3, /*hidden argument*/NULL);
return L_4;
}
}
// System.Globalization.SortKey Mono.Globalization.Unicode.SimpleCollator::GetSortKey(System.String,System.Int32,System.Int32,System.Globalization.CompareOptions)
extern Il2CppClass* SortKeyBuffer_t1759538423_il2cpp_TypeInfo_var;
extern const uint32_t SimpleCollator_GetSortKey_m1317491197_MetadataUsageId;
extern "C" SortKey_t1270563137 * SimpleCollator_GetSortKey_m1317491197 (SimpleCollator_t4081201584 * __this, String_t* ___s0, int32_t ___start1, int32_t ___length2, int32_t ___options3, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SimpleCollator_GetSortKey_m1317491197_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
SortKeyBuffer_t1759538423 * V_0 = NULL;
int32_t V_1 = 0;
{
int32_t L_0 = __this->get_lcid_9();
SortKeyBuffer_t1759538423 * L_1 = (SortKeyBuffer_t1759538423 *)il2cpp_codegen_object_new(SortKeyBuffer_t1759538423_il2cpp_TypeInfo_var);
SortKeyBuffer__ctor_m3849560435(L_1, L_0, /*hidden argument*/NULL);
V_0 = L_1;
SortKeyBuffer_t1759538423 * L_2 = V_0;
int32_t L_3 = ___options3;
int32_t L_4 = __this->get_lcid_9();
String_t* L_5 = ___s0;
bool L_6 = __this->get_frenchSort_3();
SortKeyBuffer_Initialize_m588272701(L_2, L_3, L_4, L_5, L_6, /*hidden argument*/NULL);
int32_t L_7 = ___start1;
int32_t L_8 = ___length2;
V_1 = ((int32_t)((int32_t)L_7+(int32_t)L_8));
String_t* L_9 = ___s0;
int32_t L_10 = ___start1;
int32_t L_11 = V_1;
SortKeyBuffer_t1759538423 * L_12 = V_0;
int32_t L_13 = ___options3;
SimpleCollator_GetSortKey_m2188419329(__this, L_9, L_10, L_11, L_12, L_13, /*hidden argument*/NULL);
SortKeyBuffer_t1759538423 * L_14 = V_0;
SortKey_t1270563137 * L_15 = SortKeyBuffer_GetResultAndReset_m2516956577(L_14, /*hidden argument*/NULL);
return L_15;
}
}
// System.Void Mono.Globalization.Unicode.SimpleCollator::GetSortKey(System.String,System.Int32,System.Int32,Mono.Globalization.Unicode.SortKeyBuffer,System.Globalization.CompareOptions)
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern Il2CppClass* SimpleCollator_t4081201584_il2cpp_TypeInfo_var;
extern const uint32_t SimpleCollator_GetSortKey_m2188419329_MetadataUsageId;
extern "C" void SimpleCollator_GetSortKey_m2188419329 (SimpleCollator_t4081201584 * __this, String_t* ___s0, int32_t ___start1, int32_t ___end2, SortKeyBuffer_t1759538423 * ___buf3, int32_t ___opt4, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SimpleCollator_GetSortKey_m2188419329_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
uint8_t* V_0 = NULL;
Context_t2636657155 V_1;
memset(&V_1, 0, sizeof(V_1));
int32_t V_2 = 0;
int32_t V_3 = 0;
int32_t V_4 = 0;
uint8_t* V_5 = NULL;
Contraction_t1673853792 * V_6 = NULL;
uint8_t* V_7 = NULL;
int32_t V_8 = 0;
int32_t G_B7_0 = 0;
int32_t G_B7_1 = 0;
SortKeyBuffer_t1759538423 * G_B7_2 = NULL;
int32_t G_B6_0 = 0;
int32_t G_B6_1 = 0;
SortKeyBuffer_t1759538423 * G_B6_2 = NULL;
int32_t G_B8_0 = 0;
int32_t G_B8_1 = 0;
int32_t G_B8_2 = 0;
SortKeyBuffer_t1759538423 * G_B8_3 = NULL;
int32_t G_B10_0 = 0;
int32_t G_B10_1 = 0;
int32_t G_B10_2 = 0;
SortKeyBuffer_t1759538423 * G_B10_3 = NULL;
int32_t G_B9_0 = 0;
int32_t G_B9_1 = 0;
int32_t G_B9_2 = 0;
SortKeyBuffer_t1759538423 * G_B9_3 = NULL;
int32_t G_B11_0 = 0;
int32_t G_B11_1 = 0;
int32_t G_B11_2 = 0;
int32_t G_B11_3 = 0;
SortKeyBuffer_t1759538423 * G_B11_4 = NULL;
int32_t G_B23_0 = 0;
int32_t G_B23_1 = 0;
SortKeyBuffer_t1759538423 * G_B23_2 = NULL;
int32_t G_B22_0 = 0;
int32_t G_B22_1 = 0;
SortKeyBuffer_t1759538423 * G_B22_2 = NULL;
int32_t G_B24_0 = 0;
int32_t G_B24_1 = 0;
int32_t G_B24_2 = 0;
SortKeyBuffer_t1759538423 * G_B24_3 = NULL;
int32_t G_B26_0 = 0;
int32_t G_B26_1 = 0;
int32_t G_B26_2 = 0;
SortKeyBuffer_t1759538423 * G_B26_3 = NULL;
int32_t G_B25_0 = 0;
int32_t G_B25_1 = 0;
int32_t G_B25_2 = 0;
SortKeyBuffer_t1759538423 * G_B25_3 = NULL;
int32_t G_B27_0 = 0;
int32_t G_B27_1 = 0;
int32_t G_B27_2 = 0;
int32_t G_B27_3 = 0;
SortKeyBuffer_t1759538423 * G_B27_4 = NULL;
{
if ((uint64_t)(uint32_t)4 * (uint64_t)(uint32_t)1 > (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)4*(int32_t)1)));
memset(L_0,0,((int32_t)((int32_t)4*(int32_t)1)));
V_0 = (uint8_t*)(L_0);
uint8_t* L_1 = V_0;
SimpleCollator_ClearBuffer_m1828762230(__this, (uint8_t*)(uint8_t*)L_1, 4, /*hidden argument*/NULL);
int32_t L_2 = ___opt4;
uint8_t* L_3 = V_0;
Context__ctor_m2254074374((&V_1), L_2, (uint8_t*)(uint8_t*)(((uintptr_t)0)), (uint8_t*)(uint8_t*)(((uintptr_t)0)), (uint8_t*)(uint8_t*)(((uintptr_t)0)), (uint8_t*)(uint8_t*)(((uintptr_t)0)), (uint8_t*)(uint8_t*)L_3, (bool)0, /*hidden argument*/NULL);
int32_t L_4 = ___start1;
V_2 = L_4;
goto IL_01e7;
}
IL_0028:
{
String_t* L_5 = ___s0;
int32_t L_6 = V_2;
Il2CppChar L_7 = String_get_Chars_m4230566705(L_5, L_6, /*hidden argument*/NULL);
V_3 = L_7;
int32_t L_8 = V_3;
int32_t L_9 = SimpleCollator_GetExtenderType_m976831551(__this, L_8, /*hidden argument*/NULL);
V_4 = L_9;
int32_t L_10 = V_4;
if (!L_10)
{
goto IL_00cd;
}
}
{
int32_t L_11 = (&V_1)->get_PrevCode_5();
int32_t L_12 = V_4;
int32_t L_13 = ___opt4;
int32_t L_14 = SimpleCollator_FilterExtender_m2624562651(__this, L_11, L_12, L_13, /*hidden argument*/NULL);
V_3 = L_14;
int32_t L_15 = V_3;
if ((((int32_t)L_15) < ((int32_t)0)))
{
goto IL_006b;
}
}
{
int32_t L_16 = V_3;
int32_t L_17 = V_4;
SortKeyBuffer_t1759538423 * L_18 = ___buf3;
int32_t L_19 = ___opt4;
SimpleCollator_FillSortKeyRaw_m2488618624(__this, L_16, L_17, L_18, L_19, /*hidden argument*/NULL);
goto IL_00c8;
}
IL_006b:
{
uint8_t* L_20 = (&V_1)->get_PrevSortKey_6();
if (!L_20)
{
goto IL_00c8;
}
}
{
uint8_t* L_21 = (&V_1)->get_PrevSortKey_6();
V_5 = (uint8_t*)L_21;
SortKeyBuffer_t1759538423 * L_22 = ___buf3;
uint8_t* L_23 = V_5;
uint8_t* L_24 = V_5;
uint8_t* L_25 = V_5;
G_B6_0 = (*((uint8_t*)((uint8_t*)((intptr_t)L_24+(int32_t)1))));
G_B6_1 = (*((uint8_t*)L_23));
G_B6_2 = L_22;
if ((((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_25+(int32_t)2))))) == ((int32_t)1)))
{
G_B7_0 = (*((uint8_t*)((uint8_t*)((intptr_t)L_24+(int32_t)1))));
G_B7_1 = (*((uint8_t*)L_23));
G_B7_2 = L_22;
goto IL_009f;
}
}
{
uint8_t* L_26 = V_5;
G_B8_0 = (*((uint8_t*)((uint8_t*)((intptr_t)L_26+(int32_t)2))));
G_B8_1 = G_B6_0;
G_B8_2 = G_B6_1;
G_B8_3 = G_B6_2;
goto IL_00a8;
}
IL_009f:
{
int32_t L_27 = V_3;
int32_t L_28 = V_4;
uint8_t L_29 = SimpleCollator_Level2_m2254535125(__this, L_27, L_28, /*hidden argument*/NULL);
G_B8_0 = ((int32_t)(L_29));
G_B8_1 = G_B7_0;
G_B8_2 = G_B7_1;
G_B8_3 = G_B7_2;
}
IL_00a8:
{
uint8_t* L_30 = V_5;
G_B9_0 = G_B8_0;
G_B9_1 = G_B8_1;
G_B9_2 = G_B8_2;
G_B9_3 = G_B8_3;
if ((((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_30+(int32_t)3))))) == ((int32_t)1)))
{
G_B10_0 = G_B8_0;
G_B10_1 = G_B8_1;
G_B10_2 = G_B8_2;
G_B10_3 = G_B8_3;
goto IL_00bd;
}
}
{
uint8_t* L_31 = V_5;
G_B11_0 = (*((uint8_t*)((uint8_t*)((intptr_t)L_31+(int32_t)3))));
G_B11_1 = G_B9_0;
G_B11_2 = G_B9_1;
G_B11_3 = G_B9_2;
G_B11_4 = G_B9_3;
goto IL_00c3;
}
IL_00bd:
{
int32_t L_32 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t L_33 = MSCompatUnicodeTable_Level3_m260824928(NULL /*static, unused*/, L_32, /*hidden argument*/NULL);
G_B11_0 = ((int32_t)(L_33));
G_B11_1 = G_B10_0;
G_B11_2 = G_B10_1;
G_B11_3 = G_B10_2;
G_B11_4 = G_B10_3;
}
IL_00c3:
{
SortKeyBuffer_AppendNormal_m2554296431(G_B11_4, G_B11_3, G_B11_2, G_B11_1, G_B11_0, /*hidden argument*/NULL);
}
IL_00c8:
{
goto IL_01e3;
}
IL_00cd:
{
int32_t L_34 = V_3;
int32_t L_35 = ___opt4;
IL2CPP_RUNTIME_CLASS_INIT(SimpleCollator_t4081201584_il2cpp_TypeInfo_var);
bool L_36 = SimpleCollator_IsIgnorable_m2485013022(NULL /*static, unused*/, L_34, L_35, /*hidden argument*/NULL);
if (!L_36)
{
goto IL_00df;
}
}
{
goto IL_01e3;
}
IL_00df:
{
int32_t L_37 = V_3;
int32_t L_38 = ___opt4;
int32_t L_39 = SimpleCollator_FilterOptions_m4044781893(__this, L_37, L_38, /*hidden argument*/NULL);
V_3 = L_39;
String_t* L_40 = ___s0;
int32_t L_41 = V_2;
int32_t L_42 = ___end2;
Contraction_t1673853792 * L_43 = SimpleCollator_GetContraction_m3674789701(__this, L_40, L_41, L_42, /*hidden argument*/NULL);
V_6 = L_43;
Contraction_t1673853792 * L_44 = V_6;
if (!L_44)
{
goto IL_01c4;
}
}
{
Contraction_t1673853792 * L_45 = V_6;
String_t* L_46 = L_45->get_Replacement_1();
if (!L_46)
{
goto IL_012a;
}
}
{
Contraction_t1673853792 * L_47 = V_6;
String_t* L_48 = L_47->get_Replacement_1();
Contraction_t1673853792 * L_49 = V_6;
String_t* L_50 = L_49->get_Replacement_1();
int32_t L_51 = String_get_Length_m1606060069(L_50, /*hidden argument*/NULL);
SortKeyBuffer_t1759538423 * L_52 = ___buf3;
int32_t L_53 = ___opt4;
SimpleCollator_GetSortKey_m2188419329(__this, L_48, 0, L_51, L_52, L_53, /*hidden argument*/NULL);
goto IL_01b1;
}
IL_012a:
{
uint8_t* L_54 = (&V_1)->get_PrevSortKey_6();
V_7 = (uint8_t*)L_54;
V_8 = 0;
goto IL_0151;
}
IL_013b:
{
uint8_t* L_55 = V_7;
int32_t L_56 = V_8;
Contraction_t1673853792 * L_57 = V_6;
ByteU5BU5D_t3397334013* L_58 = L_57->get_SortKey_2();
int32_t L_59 = V_8;
int32_t L_60 = L_59;
uint8_t L_61 = (L_58)->GetAt(static_cast<il2cpp_array_size_t>(L_60));
*((int8_t*)(((uint8_t*)((intptr_t)L_55+(int32_t)L_56)))) = (int8_t)L_61;
int32_t L_62 = V_8;
V_8 = ((int32_t)((int32_t)L_62+(int32_t)1));
}
IL_0151:
{
int32_t L_63 = V_8;
Contraction_t1673853792 * L_64 = V_6;
ByteU5BU5D_t3397334013* L_65 = L_64->get_SortKey_2();
if ((((int32_t)L_63) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_65)->max_length)))))))
{
goto IL_013b;
}
}
{
SortKeyBuffer_t1759538423 * L_66 = ___buf3;
uint8_t* L_67 = V_7;
uint8_t* L_68 = V_7;
uint8_t* L_69 = V_7;
G_B22_0 = (*((uint8_t*)((uint8_t*)((intptr_t)L_68+(int32_t)1))));
G_B22_1 = (*((uint8_t*)L_67));
G_B22_2 = L_66;
if ((((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_69+(int32_t)2))))) == ((int32_t)1)))
{
G_B23_0 = (*((uint8_t*)((uint8_t*)((intptr_t)L_68+(int32_t)1))));
G_B23_1 = (*((uint8_t*)L_67));
G_B23_2 = L_66;
goto IL_0180;
}
}
{
uint8_t* L_70 = V_7;
G_B24_0 = (*((uint8_t*)((uint8_t*)((intptr_t)L_70+(int32_t)2))));
G_B24_1 = G_B22_0;
G_B24_2 = G_B22_1;
G_B24_3 = G_B22_2;
goto IL_0189;
}
IL_0180:
{
int32_t L_71 = V_3;
int32_t L_72 = V_4;
uint8_t L_73 = SimpleCollator_Level2_m2254535125(__this, L_71, L_72, /*hidden argument*/NULL);
G_B24_0 = ((int32_t)(L_73));
G_B24_1 = G_B23_0;
G_B24_2 = G_B23_1;
G_B24_3 = G_B23_2;
}
IL_0189:
{
uint8_t* L_74 = V_7;
G_B25_0 = G_B24_0;
G_B25_1 = G_B24_1;
G_B25_2 = G_B24_2;
G_B25_3 = G_B24_3;
if ((((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_74+(int32_t)3))))) == ((int32_t)1)))
{
G_B26_0 = G_B24_0;
G_B26_1 = G_B24_1;
G_B26_2 = G_B24_2;
G_B26_3 = G_B24_3;
goto IL_019e;
}
}
{
uint8_t* L_75 = V_7;
G_B27_0 = (*((uint8_t*)((uint8_t*)((intptr_t)L_75+(int32_t)3))));
G_B27_1 = G_B25_0;
G_B27_2 = G_B25_1;
G_B27_3 = G_B25_2;
G_B27_4 = G_B25_3;
goto IL_01a4;
}
IL_019e:
{
int32_t L_76 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t L_77 = MSCompatUnicodeTable_Level3_m260824928(NULL /*static, unused*/, L_76, /*hidden argument*/NULL);
G_B27_0 = ((int32_t)(L_77));
G_B27_1 = G_B26_0;
G_B27_2 = G_B26_1;
G_B27_3 = G_B26_2;
G_B27_4 = G_B26_3;
}
IL_01a4:
{
SortKeyBuffer_AppendNormal_m2554296431(G_B27_4, G_B27_3, G_B27_2, G_B27_1, G_B27_0, /*hidden argument*/NULL);
(&V_1)->set_PrevCode_5((-1));
}
IL_01b1:
{
int32_t L_78 = V_2;
Contraction_t1673853792 * L_79 = V_6;
CharU5BU5D_t1328083999* L_80 = L_79->get_Source_0();
V_2 = ((int32_t)((int32_t)L_78+(int32_t)((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_80)->max_length))))-(int32_t)1))));
goto IL_01e3;
}
IL_01c4:
{
int32_t L_81 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
bool L_82 = MSCompatUnicodeTable_IsIgnorableNonSpacing_m3661476786(NULL /*static, unused*/, L_81, /*hidden argument*/NULL);
if (L_82)
{
goto IL_01d7;
}
}
{
int32_t L_83 = V_3;
(&V_1)->set_PrevCode_5(L_83);
}
IL_01d7:
{
int32_t L_84 = V_3;
SortKeyBuffer_t1759538423 * L_85 = ___buf3;
int32_t L_86 = ___opt4;
SimpleCollator_FillSortKeyRaw_m2488618624(__this, L_84, 0, L_85, L_86, /*hidden argument*/NULL);
}
IL_01e3:
{
int32_t L_87 = V_2;
V_2 = ((int32_t)((int32_t)L_87+(int32_t)1));
}
IL_01e7:
{
int32_t L_88 = V_2;
int32_t L_89 = ___end2;
if ((((int32_t)L_88) < ((int32_t)L_89)))
{
goto IL_0028;
}
}
{
return;
}
}
// System.Void Mono.Globalization.Unicode.SimpleCollator::FillSortKeyRaw(System.Int32,Mono.Globalization.Unicode.SimpleCollator/ExtenderType,Mono.Globalization.Unicode.SortKeyBuffer,System.Globalization.CompareOptions)
extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var;
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern Il2CppClass* SimpleCollator_t4081201584_il2cpp_TypeInfo_var;
extern const uint32_t SimpleCollator_FillSortKeyRaw_m2488618624_MetadataUsageId;
extern "C" void SimpleCollator_FillSortKeyRaw_m2488618624 (SimpleCollator_t4081201584 * __this, int32_t ___i0, int32_t ___ext1, SortKeyBuffer_t1759538423 * ___buf2, int32_t ___opt3, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SimpleCollator_FillSortKeyRaw_m2488618624_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
uint8_t V_3 = 0x0;
uint8_t V_4 = 0x0;
int32_t V_5 = 0;
{
int32_t L_0 = ___i0;
if ((((int32_t)((int32_t)13312)) > ((int32_t)L_0)))
{
goto IL_003a;
}
}
{
int32_t L_1 = ___i0;
if ((((int32_t)L_1) > ((int32_t)((int32_t)19893))))
{
goto IL_003a;
}
}
{
int32_t L_2 = ___i0;
V_0 = ((int32_t)((int32_t)L_2-(int32_t)((int32_t)13312)));
SortKeyBuffer_t1759538423 * L_3 = ___buf2;
int32_t L_4 = V_0;
int32_t L_5 = V_0;
SortKeyBuffer_AppendCJKExtension_m1401737447(L_3, (((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)16)+(int32_t)((int32_t)((int32_t)L_4/(int32_t)((int32_t)254)))))))), (((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)((int32_t)L_5%(int32_t)((int32_t)254)))+(int32_t)2))))), /*hidden argument*/NULL);
return;
}
IL_003a:
{
int32_t L_6 = ___i0;
IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var);
int32_t L_7 = Char_GetUnicodeCategory_m4273361321(NULL /*static, unused*/, (((int32_t)((uint16_t)L_6))), /*hidden argument*/NULL);
V_1 = L_7;
int32_t L_8 = V_1;
V_5 = L_8;
int32_t L_9 = V_5;
if ((((int32_t)L_9) == ((int32_t)((int32_t)16))))
{
goto IL_0085;
}
}
{
int32_t L_10 = V_5;
if ((((int32_t)L_10) == ((int32_t)((int32_t)17))))
{
goto IL_005c;
}
}
{
goto IL_008e;
}
IL_005c:
{
int32_t L_11 = ___i0;
V_2 = ((int32_t)((int32_t)L_11-(int32_t)((int32_t)57344)));
SortKeyBuffer_t1759538423 * L_12 = ___buf2;
int32_t L_13 = V_2;
int32_t L_14 = V_2;
SortKeyBuffer_AppendNormal_m2554296431(L_12, (((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)229)+(int32_t)((int32_t)((int32_t)L_13/(int32_t)((int32_t)254)))))))), (((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)((int32_t)L_14%(int32_t)((int32_t)254)))+(int32_t)2))))), 0, 0, /*hidden argument*/NULL);
return;
}
IL_0085:
{
int32_t L_15 = ___i0;
SortKeyBuffer_t1759538423 * L_16 = ___buf2;
SimpleCollator_FillSurrogateSortKeyRaw_m2423780110(__this, L_15, L_16, /*hidden argument*/NULL);
return;
}
IL_008e:
{
int32_t L_17 = ___i0;
int32_t L_18 = ___ext1;
uint8_t L_19 = SimpleCollator_Level2_m2254535125(__this, L_17, L_18, /*hidden argument*/NULL);
V_3 = L_19;
int32_t L_20 = ___i0;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
bool L_21 = MSCompatUnicodeTable_HasSpecialWeight_m4030611518(NULL /*static, unused*/, (((int32_t)((uint16_t)L_20))), /*hidden argument*/NULL);
if (!L_21)
{
goto IL_0103;
}
}
{
int32_t L_22 = ___i0;
uint8_t L_23 = SimpleCollator_Level1_m3813786941(__this, L_22, /*hidden argument*/NULL);
V_4 = L_23;
SortKeyBuffer_t1759538423 * L_24 = ___buf2;
int32_t L_25 = ___i0;
uint8_t L_26 = SimpleCollator_Category_m1504096908(__this, L_25, /*hidden argument*/NULL);
uint8_t L_27 = V_4;
uint8_t L_28 = V_3;
int32_t L_29 = ___i0;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t L_30 = MSCompatUnicodeTable_Level3_m260824928(NULL /*static, unused*/, L_29, /*hidden argument*/NULL);
int32_t L_31 = ___i0;
bool L_32 = MSCompatUnicodeTable_IsJapaneseSmallLetter_m2541532635(NULL /*static, unused*/, (((int32_t)((uint16_t)L_31))), /*hidden argument*/NULL);
int32_t L_33 = ___ext1;
int32_t L_34 = ___opt3;
IL2CPP_RUNTIME_CLASS_INIT(SimpleCollator_t4081201584_il2cpp_TypeInfo_var);
uint8_t L_35 = SimpleCollator_ToDashTypeValue_m2069376469(NULL /*static, unused*/, L_33, L_34, /*hidden argument*/NULL);
int32_t L_36 = ___i0;
bool L_37 = MSCompatUnicodeTable_IsHiragana_m3490024298(NULL /*static, unused*/, (((int32_t)((uint16_t)L_36))), /*hidden argument*/NULL);
int32_t L_38 = ___i0;
int32_t L_39 = ___opt3;
bool L_40 = SimpleCollator_IsHalfKana_m4255579023(NULL /*static, unused*/, (((int32_t)((uint16_t)L_38))), L_39, /*hidden argument*/NULL);
SortKeyBuffer_AppendKana_m3963110419(L_24, L_26, L_27, L_28, L_30, L_32, L_35, (bool)((((int32_t)L_37) == ((int32_t)0))? 1 : 0), L_40, /*hidden argument*/NULL);
int32_t L_41 = ___opt3;
if (((int32_t)((int32_t)L_41&(int32_t)2)))
{
goto IL_00fe;
}
}
{
int32_t L_42 = ___ext1;
if ((!(((uint32_t)L_42) == ((uint32_t)2))))
{
goto IL_00fe;
}
}
{
SortKeyBuffer_t1759538423 * L_43 = ___buf2;
SortKeyBuffer_AppendNormal_m2554296431(L_43, 1, 1, 1, 0, /*hidden argument*/NULL);
}
IL_00fe:
{
goto IL_011e;
}
IL_0103:
{
SortKeyBuffer_t1759538423 * L_44 = ___buf2;
int32_t L_45 = ___i0;
uint8_t L_46 = SimpleCollator_Category_m1504096908(__this, L_45, /*hidden argument*/NULL);
int32_t L_47 = ___i0;
uint8_t L_48 = SimpleCollator_Level1_m3813786941(__this, L_47, /*hidden argument*/NULL);
uint8_t L_49 = V_3;
int32_t L_50 = ___i0;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t L_51 = MSCompatUnicodeTable_Level3_m260824928(NULL /*static, unused*/, L_50, /*hidden argument*/NULL);
SortKeyBuffer_AppendNormal_m2554296431(L_44, L_46, L_48, L_49, L_51, /*hidden argument*/NULL);
}
IL_011e:
{
return;
}
}
// System.Void Mono.Globalization.Unicode.SimpleCollator::FillSurrogateSortKeyRaw(System.Int32,Mono.Globalization.Unicode.SortKeyBuffer)
extern "C" void SimpleCollator_FillSurrogateSortKeyRaw_m2423780110 (SimpleCollator_t4081201584 * __this, int32_t ___i0, SortKeyBuffer_t1759538423 * ___buf1, const MethodInfo* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
uint8_t V_2 = 0x0;
int32_t V_3 = 0;
int32_t G_B4_0 = 0;
{
V_0 = 0;
V_1 = 0;
V_2 = 0;
int32_t L_0 = ___i0;
if ((((int32_t)L_0) >= ((int32_t)((int32_t)55360))))
{
goto IL_0035;
}
}
{
V_0 = ((int32_t)55296);
V_1 = ((int32_t)65);
int32_t L_1 = ___i0;
if ((!(((uint32_t)L_1) == ((uint32_t)((int32_t)55296)))))
{
goto IL_002c;
}
}
{
G_B4_0 = ((int32_t)62);
goto IL_002e;
}
IL_002c:
{
G_B4_0 = ((int32_t)63);
}
IL_002e:
{
V_2 = (((int32_t)((uint8_t)G_B4_0)));
goto IL_0095;
}
IL_0035:
{
int32_t L_2 = ___i0;
if ((((int32_t)((int32_t)55360)) > ((int32_t)L_2)))
{
goto IL_005f;
}
}
{
int32_t L_3 = ___i0;
if ((((int32_t)L_3) >= ((int32_t)((int32_t)55424))))
{
goto IL_005f;
}
}
{
V_0 = ((int32_t)55360);
V_1 = ((int32_t)242);
V_2 = ((int32_t)62);
goto IL_0095;
}
IL_005f:
{
int32_t L_4 = ___i0;
if ((((int32_t)((int32_t)56192)) > ((int32_t)L_4)))
{
goto IL_0089;
}
}
{
int32_t L_5 = ___i0;
if ((((int32_t)L_5) >= ((int32_t)((int32_t)56320))))
{
goto IL_0089;
}
}
{
V_0 = ((int32_t)56128);
V_1 = ((int32_t)254);
V_2 = ((int32_t)62);
goto IL_0095;
}
IL_0089:
{
V_0 = ((int32_t)56074);
V_1 = ((int32_t)65);
V_2 = ((int32_t)63);
}
IL_0095:
{
int32_t L_6 = ___i0;
int32_t L_7 = V_0;
V_3 = ((int32_t)((int32_t)L_6-(int32_t)L_7));
SortKeyBuffer_t1759538423 * L_8 = ___buf1;
int32_t L_9 = V_1;
int32_t L_10 = V_3;
int32_t L_11 = V_3;
uint8_t L_12 = V_2;
uint8_t L_13 = V_2;
SortKeyBuffer_AppendNormal_m2554296431(L_8, (((int32_t)((uint8_t)((int32_t)((int32_t)L_9+(int32_t)((int32_t)((int32_t)L_10/(int32_t)((int32_t)254)))))))), (((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)((int32_t)L_11%(int32_t)((int32_t)254)))+(int32_t)2))))), L_12, L_13, /*hidden argument*/NULL);
return;
}
}
// System.Int32 Mono.Globalization.Unicode.SimpleCollator::CompareOrdinal(System.String,System.Int32,System.Int32,System.String,System.Int32,System.Int32)
extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var;
extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var;
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppClass* SystemException_t3877406272_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral1895402349;
extern const uint32_t SimpleCollator_CompareOrdinal_m2176988387_MetadataUsageId;
extern "C" int32_t SimpleCollator_CompareOrdinal_m2176988387 (SimpleCollator_t4081201584 * __this, String_t* ___s10, int32_t ___idx11, int32_t ___len12, String_t* ___s23, int32_t ___idx24, int32_t ___len25, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SimpleCollator_CompareOrdinal_m2176988387_MetadataUsageId);
s_Il2CppMethodIntialized = 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;
int32_t G_B3_0 = 0;
int32_t G_B19_0 = 0;
{
int32_t L_0 = ___len12;
int32_t L_1 = ___len25;
if ((((int32_t)L_0) >= ((int32_t)L_1)))
{
goto IL_000e;
}
}
{
int32_t L_2 = ___len12;
G_B3_0 = L_2;
goto IL_0010;
}
IL_000e:
{
int32_t L_3 = ___len25;
G_B3_0 = L_3;
}
IL_0010:
{
V_0 = G_B3_0;
int32_t L_4 = ___idx11;
int32_t L_5 = V_0;
V_1 = ((int32_t)((int32_t)L_4+(int32_t)L_5));
int32_t L_6 = ___idx24;
int32_t L_7 = V_0;
V_2 = ((int32_t)((int32_t)L_6+(int32_t)L_7));
int32_t L_8 = ___idx11;
if ((((int32_t)L_8) < ((int32_t)0)))
{
goto IL_0042;
}
}
{
int32_t L_9 = ___idx24;
if ((((int32_t)L_9) < ((int32_t)0)))
{
goto IL_0042;
}
}
{
int32_t L_10 = V_1;
String_t* L_11 = ___s10;
int32_t L_12 = String_get_Length_m1606060069(L_11, /*hidden argument*/NULL);
if ((((int32_t)L_10) > ((int32_t)L_12)))
{
goto IL_0042;
}
}
{
int32_t L_13 = V_2;
String_t* L_14 = ___s23;
int32_t L_15 = String_get_Length_m1606060069(L_14, /*hidden argument*/NULL);
if ((((int32_t)L_13) <= ((int32_t)L_15)))
{
goto IL_009b;
}
}
IL_0042:
{
ObjectU5BU5D_t3614634134* L_16 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)6));
int32_t L_17 = ___idx11;
int32_t L_18 = L_17;
Il2CppObject * L_19 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_18);
ArrayElementTypeCheck (L_16, L_19);
(L_16)->SetAt(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)L_19);
ObjectU5BU5D_t3614634134* L_20 = L_16;
int32_t L_21 = ___idx24;
int32_t L_22 = L_21;
Il2CppObject * L_23 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_22);
ArrayElementTypeCheck (L_20, L_23);
(L_20)->SetAt(static_cast<il2cpp_array_size_t>(1), (Il2CppObject *)L_23);
ObjectU5BU5D_t3614634134* L_24 = L_20;
int32_t L_25 = ___len12;
int32_t L_26 = L_25;
Il2CppObject * L_27 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_26);
ArrayElementTypeCheck (L_24, L_27);
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(2), (Il2CppObject *)L_27);
ObjectU5BU5D_t3614634134* L_28 = L_24;
int32_t L_29 = ___len25;
int32_t L_30 = L_29;
Il2CppObject * L_31 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_30);
ArrayElementTypeCheck (L_28, L_31);
(L_28)->SetAt(static_cast<il2cpp_array_size_t>(3), (Il2CppObject *)L_31);
ObjectU5BU5D_t3614634134* L_32 = L_28;
String_t* L_33 = ___s10;
int32_t L_34 = String_get_Length_m1606060069(L_33, /*hidden argument*/NULL);
int32_t L_35 = L_34;
Il2CppObject * L_36 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_35);
ArrayElementTypeCheck (L_32, L_36);
(L_32)->SetAt(static_cast<il2cpp_array_size_t>(4), (Il2CppObject *)L_36);
ObjectU5BU5D_t3614634134* L_37 = L_32;
String_t* L_38 = ___s23;
int32_t L_39 = String_get_Length_m1606060069(L_38, /*hidden argument*/NULL);
int32_t L_40 = L_39;
Il2CppObject * L_41 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_40);
ArrayElementTypeCheck (L_37, L_41);
(L_37)->SetAt(static_cast<il2cpp_array_size_t>(5), (Il2CppObject *)L_41);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_42 = String_Format_m1263743648(NULL /*static, unused*/, _stringLiteral1895402349, L_37, /*hidden argument*/NULL);
SystemException_t3877406272 * L_43 = (SystemException_t3877406272 *)il2cpp_codegen_object_new(SystemException_t3877406272_il2cpp_TypeInfo_var);
SystemException__ctor_m4001391027(L_43, L_42, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_43);
}
IL_009b:
{
int32_t L_44 = ___idx11;
V_3 = L_44;
int32_t L_45 = ___idx24;
V_4 = L_45;
goto IL_00d7;
}
IL_00a6:
{
String_t* L_46 = ___s10;
int32_t L_47 = V_3;
Il2CppChar L_48 = String_get_Chars_m4230566705(L_46, L_47, /*hidden argument*/NULL);
String_t* L_49 = ___s23;
int32_t L_50 = V_4;
Il2CppChar L_51 = String_get_Chars_m4230566705(L_49, L_50, /*hidden argument*/NULL);
if ((((int32_t)L_48) == ((int32_t)L_51)))
{
goto IL_00cd;
}
}
{
String_t* L_52 = ___s10;
int32_t L_53 = V_3;
Il2CppChar L_54 = String_get_Chars_m4230566705(L_52, L_53, /*hidden argument*/NULL);
String_t* L_55 = ___s23;
int32_t L_56 = V_4;
Il2CppChar L_57 = String_get_Chars_m4230566705(L_55, L_56, /*hidden argument*/NULL);
return ((int32_t)((int32_t)L_54-(int32_t)L_57));
}
IL_00cd:
{
int32_t L_58 = V_3;
V_3 = ((int32_t)((int32_t)L_58+(int32_t)1));
int32_t L_59 = V_4;
V_4 = ((int32_t)((int32_t)L_59+(int32_t)1));
}
IL_00d7:
{
int32_t L_60 = V_3;
int32_t L_61 = V_1;
if ((((int32_t)L_60) >= ((int32_t)L_61)))
{
goto IL_00e6;
}
}
{
int32_t L_62 = V_4;
int32_t L_63 = V_2;
if ((((int32_t)L_62) < ((int32_t)L_63)))
{
goto IL_00a6;
}
}
IL_00e6:
{
int32_t L_64 = ___len12;
int32_t L_65 = ___len25;
if ((!(((uint32_t)L_64) == ((uint32_t)L_65))))
{
goto IL_00f4;
}
}
{
G_B19_0 = 0;
goto IL_0102;
}
IL_00f4:
{
int32_t L_66 = ___len12;
int32_t L_67 = V_0;
if ((!(((uint32_t)L_66) == ((uint32_t)L_67))))
{
goto IL_0101;
}
}
{
G_B19_0 = (-1);
goto IL_0102;
}
IL_0101:
{
G_B19_0 = 1;
}
IL_0102:
{
return G_B19_0;
}
}
// System.Int32 Mono.Globalization.Unicode.SimpleCollator::CompareQuick(System.String,System.Int32,System.Int32,System.String,System.Int32,System.Int32,System.Boolean&,System.Boolean&,System.Boolean)
extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var;
extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var;
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppClass* SystemException_t3877406272_il2cpp_TypeInfo_var;
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral1895402349;
extern Il2CppCodeGenString* _stringLiteral3015398217;
extern const uint32_t SimpleCollator_CompareQuick_m619038530_MetadataUsageId;
extern "C" int32_t SimpleCollator_CompareQuick_m619038530 (SimpleCollator_t4081201584 * __this, String_t* ___s10, int32_t ___idx11, int32_t ___len12, String_t* ___s23, int32_t ___idx24, int32_t ___len25, bool* ___sourceConsumed6, bool* ___targetConsumed7, bool ___immediateBreakup8, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SimpleCollator_CompareQuick_m619038530_MetadataUsageId);
s_Il2CppMethodIntialized = 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;
int32_t V_5 = 0;
int32_t G_B3_0 = 0;
int32_t G_B27_0 = 0;
{
bool* L_0 = ___sourceConsumed6;
*((int8_t*)(L_0)) = (int8_t)0;
bool* L_1 = ___targetConsumed7;
*((int8_t*)(L_1)) = (int8_t)0;
int32_t L_2 = ___len12;
int32_t L_3 = ___len25;
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_0016;
}
}
{
int32_t L_4 = ___len12;
G_B3_0 = L_4;
goto IL_0018;
}
IL_0016:
{
int32_t L_5 = ___len25;
G_B3_0 = L_5;
}
IL_0018:
{
V_0 = G_B3_0;
int32_t L_6 = ___idx11;
int32_t L_7 = V_0;
V_1 = ((int32_t)((int32_t)L_6+(int32_t)L_7));
int32_t L_8 = ___idx24;
int32_t L_9 = V_0;
V_2 = ((int32_t)((int32_t)L_8+(int32_t)L_9));
int32_t L_10 = ___idx11;
if ((((int32_t)L_10) < ((int32_t)0)))
{
goto IL_004a;
}
}
{
int32_t L_11 = ___idx24;
if ((((int32_t)L_11) < ((int32_t)0)))
{
goto IL_004a;
}
}
{
int32_t L_12 = V_1;
String_t* L_13 = ___s10;
int32_t L_14 = String_get_Length_m1606060069(L_13, /*hidden argument*/NULL);
if ((((int32_t)L_12) > ((int32_t)L_14)))
{
goto IL_004a;
}
}
{
int32_t L_15 = V_2;
String_t* L_16 = ___s23;
int32_t L_17 = String_get_Length_m1606060069(L_16, /*hidden argument*/NULL);
if ((((int32_t)L_15) <= ((int32_t)L_17)))
{
goto IL_00a3;
}
}
IL_004a:
{
ObjectU5BU5D_t3614634134* L_18 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)6));
int32_t L_19 = ___idx11;
int32_t L_20 = L_19;
Il2CppObject * L_21 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_20);
ArrayElementTypeCheck (L_18, L_21);
(L_18)->SetAt(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)L_21);
ObjectU5BU5D_t3614634134* L_22 = L_18;
int32_t L_23 = ___idx24;
int32_t L_24 = L_23;
Il2CppObject * L_25 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_24);
ArrayElementTypeCheck (L_22, L_25);
(L_22)->SetAt(static_cast<il2cpp_array_size_t>(1), (Il2CppObject *)L_25);
ObjectU5BU5D_t3614634134* L_26 = L_22;
int32_t L_27 = ___len12;
int32_t L_28 = L_27;
Il2CppObject * L_29 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_28);
ArrayElementTypeCheck (L_26, L_29);
(L_26)->SetAt(static_cast<il2cpp_array_size_t>(2), (Il2CppObject *)L_29);
ObjectU5BU5D_t3614634134* L_30 = L_26;
int32_t L_31 = ___len25;
int32_t L_32 = L_31;
Il2CppObject * L_33 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_32);
ArrayElementTypeCheck (L_30, L_33);
(L_30)->SetAt(static_cast<il2cpp_array_size_t>(3), (Il2CppObject *)L_33);
ObjectU5BU5D_t3614634134* L_34 = L_30;
String_t* L_35 = ___s10;
int32_t L_36 = String_get_Length_m1606060069(L_35, /*hidden argument*/NULL);
int32_t L_37 = L_36;
Il2CppObject * L_38 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_37);
ArrayElementTypeCheck (L_34, L_38);
(L_34)->SetAt(static_cast<il2cpp_array_size_t>(4), (Il2CppObject *)L_38);
ObjectU5BU5D_t3614634134* L_39 = L_34;
String_t* L_40 = ___s23;
int32_t L_41 = String_get_Length_m1606060069(L_40, /*hidden argument*/NULL);
int32_t L_42 = L_41;
Il2CppObject * L_43 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_42);
ArrayElementTypeCheck (L_39, L_43);
(L_39)->SetAt(static_cast<il2cpp_array_size_t>(5), (Il2CppObject *)L_43);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_44 = String_Format_m1263743648(NULL /*static, unused*/, _stringLiteral1895402349, L_39, /*hidden argument*/NULL);
SystemException_t3877406272 * L_45 = (SystemException_t3877406272 *)il2cpp_codegen_object_new(SystemException_t3877406272_il2cpp_TypeInfo_var);
SystemException__ctor_m4001391027(L_45, L_44, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_45);
}
IL_00a3:
{
int32_t L_46 = ___idx11;
V_3 = L_46;
int32_t L_47 = ___idx24;
V_4 = L_47;
goto IL_018d;
}
IL_00ae:
{
String_t* L_48 = ___s10;
int32_t L_49 = V_3;
Il2CppChar L_50 = String_get_Chars_m4230566705(L_48, L_49, /*hidden argument*/NULL);
String_t* L_51 = ___s23;
int32_t L_52 = V_4;
Il2CppChar L_53 = String_get_Chars_m4230566705(L_51, L_52, /*hidden argument*/NULL);
if ((((int32_t)L_50) == ((int32_t)L_53)))
{
goto IL_0183;
}
}
{
bool L_54 = ___immediateBreakup8;
if (!L_54)
{
goto IL_00cc;
}
}
{
return (-1);
}
IL_00cc:
{
String_t* L_55 = ___s10;
int32_t L_56 = V_3;
Il2CppChar L_57 = String_get_Chars_m4230566705(L_55, L_56, /*hidden argument*/NULL);
uint8_t L_58 = SimpleCollator_Category_m1504096908(__this, L_57, /*hidden argument*/NULL);
String_t* L_59 = ___s23;
int32_t L_60 = V_4;
Il2CppChar L_61 = String_get_Chars_m4230566705(L_59, L_60, /*hidden argument*/NULL);
uint8_t L_62 = SimpleCollator_Category_m1504096908(__this, L_61, /*hidden argument*/NULL);
V_5 = ((int32_t)((int32_t)L_58-(int32_t)L_62));
int32_t L_63 = V_5;
if (L_63)
{
goto IL_0111;
}
}
{
String_t* L_64 = ___s10;
int32_t L_65 = V_3;
Il2CppChar L_66 = String_get_Chars_m4230566705(L_64, L_65, /*hidden argument*/NULL);
uint8_t L_67 = SimpleCollator_Level1_m3813786941(__this, L_66, /*hidden argument*/NULL);
String_t* L_68 = ___s23;
int32_t L_69 = V_4;
Il2CppChar L_70 = String_get_Chars_m4230566705(L_68, L_69, /*hidden argument*/NULL);
uint8_t L_71 = SimpleCollator_Level1_m3813786941(__this, L_70, /*hidden argument*/NULL);
V_5 = ((int32_t)((int32_t)L_67-(int32_t)L_71));
}
IL_0111:
{
int32_t L_72 = V_5;
if (L_72)
{
goto IL_0135;
}
}
{
String_t* L_73 = ___s10;
int32_t L_74 = V_3;
Il2CppChar L_75 = String_get_Chars_m4230566705(L_73, L_74, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t L_76 = MSCompatUnicodeTable_Level3_m260824928(NULL /*static, unused*/, L_75, /*hidden argument*/NULL);
String_t* L_77 = ___s23;
int32_t L_78 = V_4;
Il2CppChar L_79 = String_get_Chars_m4230566705(L_77, L_78, /*hidden argument*/NULL);
uint8_t L_80 = MSCompatUnicodeTable_Level3_m260824928(NULL /*static, unused*/, L_79, /*hidden argument*/NULL);
V_5 = ((int32_t)((int32_t)L_76-(int32_t)L_80));
}
IL_0135:
{
int32_t L_81 = V_5;
if (L_81)
{
goto IL_0180;
}
}
{
ObjectU5BU5D_t3614634134* L_82 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)6));
String_t* L_83 = ___s10;
ArrayElementTypeCheck (L_82, L_83);
(L_82)->SetAt(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)L_83);
ObjectU5BU5D_t3614634134* L_84 = L_82;
String_t* L_85 = ___s23;
ArrayElementTypeCheck (L_84, L_85);
(L_84)->SetAt(static_cast<il2cpp_array_size_t>(1), (Il2CppObject *)L_85);
ObjectU5BU5D_t3614634134* L_86 = L_84;
int32_t L_87 = ___idx11;
int32_t L_88 = L_87;
Il2CppObject * L_89 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_88);
ArrayElementTypeCheck (L_86, L_89);
(L_86)->SetAt(static_cast<il2cpp_array_size_t>(2), (Il2CppObject *)L_89);
ObjectU5BU5D_t3614634134* L_90 = L_86;
int32_t L_91 = V_1;
int32_t L_92 = L_91;
Il2CppObject * L_93 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_92);
ArrayElementTypeCheck (L_90, L_93);
(L_90)->SetAt(static_cast<il2cpp_array_size_t>(3), (Il2CppObject *)L_93);
ObjectU5BU5D_t3614634134* L_94 = L_90;
int32_t L_95 = ___idx24;
int32_t L_96 = L_95;
Il2CppObject * L_97 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_96);
ArrayElementTypeCheck (L_94, L_97);
(L_94)->SetAt(static_cast<il2cpp_array_size_t>(4), (Il2CppObject *)L_97);
ObjectU5BU5D_t3614634134* L_98 = L_94;
int32_t L_99 = V_2;
int32_t L_100 = L_99;
Il2CppObject * L_101 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_100);
ArrayElementTypeCheck (L_98, L_101);
(L_98)->SetAt(static_cast<il2cpp_array_size_t>(5), (Il2CppObject *)L_101);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_102 = String_Format_m1263743648(NULL /*static, unused*/, _stringLiteral3015398217, L_98, /*hidden argument*/NULL);
SystemException_t3877406272 * L_103 = (SystemException_t3877406272 *)il2cpp_codegen_object_new(SystemException_t3877406272_il2cpp_TypeInfo_var);
SystemException__ctor_m4001391027(L_103, L_102, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_103);
}
IL_0180:
{
int32_t L_104 = V_5;
return L_104;
}
IL_0183:
{
int32_t L_105 = V_3;
V_3 = ((int32_t)((int32_t)L_105+(int32_t)1));
int32_t L_106 = V_4;
V_4 = ((int32_t)((int32_t)L_106+(int32_t)1));
}
IL_018d:
{
int32_t L_107 = V_3;
int32_t L_108 = V_1;
if ((((int32_t)L_107) >= ((int32_t)L_108)))
{
goto IL_019c;
}
}
{
int32_t L_109 = V_4;
int32_t L_110 = V_2;
if ((((int32_t)L_109) < ((int32_t)L_110)))
{
goto IL_00ae;
}
}
IL_019c:
{
bool* L_111 = ___sourceConsumed6;
int32_t L_112 = ___len12;
int32_t L_113 = ___len25;
*((int8_t*)(L_111)) = (int8_t)((((int32_t)((((int32_t)L_112) > ((int32_t)L_113))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool* L_114 = ___targetConsumed7;
int32_t L_115 = ___len12;
int32_t L_116 = ___len25;
*((int8_t*)(L_114)) = (int8_t)((((int32_t)((((int32_t)L_115) < ((int32_t)L_116))? 1 : 0)) == ((int32_t)0))? 1 : 0);
int32_t L_117 = ___len12;
int32_t L_118 = ___len25;
if ((!(((uint32_t)L_117) == ((uint32_t)L_118))))
{
goto IL_01c0;
}
}
{
G_B27_0 = 0;
goto IL_01ce;
}
IL_01c0:
{
int32_t L_119 = ___len12;
int32_t L_120 = V_0;
if ((!(((uint32_t)L_119) == ((uint32_t)L_120))))
{
goto IL_01cd;
}
}
{
G_B27_0 = (-1);
goto IL_01ce;
}
IL_01cd:
{
G_B27_0 = 1;
}
IL_01ce:
{
return G_B27_0;
}
}
// System.Int32 Mono.Globalization.Unicode.SimpleCollator::CompareOrdinalIgnoreCase(System.String,System.Int32,System.Int32,System.String,System.Int32,System.Int32)
extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var;
extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var;
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppClass* SystemException_t3877406272_il2cpp_TypeInfo_var;
extern Il2CppClass* SimpleCollator_t4081201584_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral1895402349;
extern const uint32_t SimpleCollator_CompareOrdinalIgnoreCase_m3195572467_MetadataUsageId;
extern "C" int32_t SimpleCollator_CompareOrdinalIgnoreCase_m3195572467 (SimpleCollator_t4081201584 * __this, String_t* ___s10, int32_t ___idx11, int32_t ___len12, String_t* ___s23, int32_t ___idx24, int32_t ___len25, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SimpleCollator_CompareOrdinalIgnoreCase_m3195572467_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
TextInfo_t3620182823 * V_3 = NULL;
int32_t V_4 = 0;
int32_t V_5 = 0;
int32_t G_B3_0 = 0;
int32_t G_B19_0 = 0;
{
int32_t L_0 = ___len12;
int32_t L_1 = ___len25;
if ((((int32_t)L_0) >= ((int32_t)L_1)))
{
goto IL_000e;
}
}
{
int32_t L_2 = ___len12;
G_B3_0 = L_2;
goto IL_0010;
}
IL_000e:
{
int32_t L_3 = ___len25;
G_B3_0 = L_3;
}
IL_0010:
{
V_0 = G_B3_0;
int32_t L_4 = ___idx11;
int32_t L_5 = V_0;
V_1 = ((int32_t)((int32_t)L_4+(int32_t)L_5));
int32_t L_6 = ___idx24;
int32_t L_7 = V_0;
V_2 = ((int32_t)((int32_t)L_6+(int32_t)L_7));
int32_t L_8 = ___idx11;
if ((((int32_t)L_8) < ((int32_t)0)))
{
goto IL_0042;
}
}
{
int32_t L_9 = ___idx24;
if ((((int32_t)L_9) < ((int32_t)0)))
{
goto IL_0042;
}
}
{
int32_t L_10 = V_1;
String_t* L_11 = ___s10;
int32_t L_12 = String_get_Length_m1606060069(L_11, /*hidden argument*/NULL);
if ((((int32_t)L_10) > ((int32_t)L_12)))
{
goto IL_0042;
}
}
{
int32_t L_13 = V_2;
String_t* L_14 = ___s23;
int32_t L_15 = String_get_Length_m1606060069(L_14, /*hidden argument*/NULL);
if ((((int32_t)L_13) <= ((int32_t)L_15)))
{
goto IL_009b;
}
}
IL_0042:
{
ObjectU5BU5D_t3614634134* L_16 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)6));
int32_t L_17 = ___idx11;
int32_t L_18 = L_17;
Il2CppObject * L_19 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_18);
ArrayElementTypeCheck (L_16, L_19);
(L_16)->SetAt(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)L_19);
ObjectU5BU5D_t3614634134* L_20 = L_16;
int32_t L_21 = ___idx24;
int32_t L_22 = L_21;
Il2CppObject * L_23 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_22);
ArrayElementTypeCheck (L_20, L_23);
(L_20)->SetAt(static_cast<il2cpp_array_size_t>(1), (Il2CppObject *)L_23);
ObjectU5BU5D_t3614634134* L_24 = L_20;
int32_t L_25 = ___len12;
int32_t L_26 = L_25;
Il2CppObject * L_27 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_26);
ArrayElementTypeCheck (L_24, L_27);
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(2), (Il2CppObject *)L_27);
ObjectU5BU5D_t3614634134* L_28 = L_24;
int32_t L_29 = ___len25;
int32_t L_30 = L_29;
Il2CppObject * L_31 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_30);
ArrayElementTypeCheck (L_28, L_31);
(L_28)->SetAt(static_cast<il2cpp_array_size_t>(3), (Il2CppObject *)L_31);
ObjectU5BU5D_t3614634134* L_32 = L_28;
String_t* L_33 = ___s10;
int32_t L_34 = String_get_Length_m1606060069(L_33, /*hidden argument*/NULL);
int32_t L_35 = L_34;
Il2CppObject * L_36 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_35);
ArrayElementTypeCheck (L_32, L_36);
(L_32)->SetAt(static_cast<il2cpp_array_size_t>(4), (Il2CppObject *)L_36);
ObjectU5BU5D_t3614634134* L_37 = L_32;
String_t* L_38 = ___s23;
int32_t L_39 = String_get_Length_m1606060069(L_38, /*hidden argument*/NULL);
int32_t L_40 = L_39;
Il2CppObject * L_41 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_40);
ArrayElementTypeCheck (L_37, L_41);
(L_37)->SetAt(static_cast<il2cpp_array_size_t>(5), (Il2CppObject *)L_41);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_42 = String_Format_m1263743648(NULL /*static, unused*/, _stringLiteral1895402349, L_37, /*hidden argument*/NULL);
SystemException_t3877406272 * L_43 = (SystemException_t3877406272 *)il2cpp_codegen_object_new(SystemException_t3877406272_il2cpp_TypeInfo_var);
SystemException__ctor_m4001391027(L_43, L_42, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_43);
}
IL_009b:
{
IL2CPP_RUNTIME_CLASS_INIT(SimpleCollator_t4081201584_il2cpp_TypeInfo_var);
SimpleCollator_t4081201584 * L_44 = ((SimpleCollator_t4081201584_StaticFields*)SimpleCollator_t4081201584_il2cpp_TypeInfo_var->static_fields)->get_invariant_1();
TextInfo_t3620182823 * L_45 = L_44->get_textInfo_2();
V_3 = L_45;
int32_t L_46 = ___idx11;
V_4 = L_46;
int32_t L_47 = ___idx24;
V_5 = L_47;
goto IL_00ff;
}
IL_00b2:
{
TextInfo_t3620182823 * L_48 = V_3;
String_t* L_49 = ___s10;
int32_t L_50 = V_4;
Il2CppChar L_51 = String_get_Chars_m4230566705(L_49, L_50, /*hidden argument*/NULL);
Il2CppChar L_52 = VirtFuncInvoker1< Il2CppChar, Il2CppChar >::Invoke(7 /* System.Char System.Globalization.TextInfo::ToLower(System.Char) */, L_48, L_51);
TextInfo_t3620182823 * L_53 = V_3;
String_t* L_54 = ___s23;
int32_t L_55 = V_5;
Il2CppChar L_56 = String_get_Chars_m4230566705(L_54, L_55, /*hidden argument*/NULL);
Il2CppChar L_57 = VirtFuncInvoker1< Il2CppChar, Il2CppChar >::Invoke(7 /* System.Char System.Globalization.TextInfo::ToLower(System.Char) */, L_53, L_56);
if ((((int32_t)L_52) == ((int32_t)L_57)))
{
goto IL_00f3;
}
}
{
TextInfo_t3620182823 * L_58 = V_3;
String_t* L_59 = ___s10;
int32_t L_60 = V_4;
Il2CppChar L_61 = String_get_Chars_m4230566705(L_59, L_60, /*hidden argument*/NULL);
Il2CppChar L_62 = VirtFuncInvoker1< Il2CppChar, Il2CppChar >::Invoke(7 /* System.Char System.Globalization.TextInfo::ToLower(System.Char) */, L_58, L_61);
TextInfo_t3620182823 * L_63 = V_3;
String_t* L_64 = ___s23;
int32_t L_65 = V_5;
Il2CppChar L_66 = String_get_Chars_m4230566705(L_64, L_65, /*hidden argument*/NULL);
Il2CppChar L_67 = VirtFuncInvoker1< Il2CppChar, Il2CppChar >::Invoke(7 /* System.Char System.Globalization.TextInfo::ToLower(System.Char) */, L_63, L_66);
return ((int32_t)((int32_t)L_62-(int32_t)L_67));
}
IL_00f3:
{
int32_t L_68 = V_4;
V_4 = ((int32_t)((int32_t)L_68+(int32_t)1));
int32_t L_69 = V_5;
V_5 = ((int32_t)((int32_t)L_69+(int32_t)1));
}
IL_00ff:
{
int32_t L_70 = V_4;
int32_t L_71 = V_1;
if ((((int32_t)L_70) >= ((int32_t)L_71)))
{
goto IL_010f;
}
}
{
int32_t L_72 = V_5;
int32_t L_73 = V_2;
if ((((int32_t)L_72) < ((int32_t)L_73)))
{
goto IL_00b2;
}
}
IL_010f:
{
int32_t L_74 = ___len12;
int32_t L_75 = ___len25;
if ((!(((uint32_t)L_74) == ((uint32_t)L_75))))
{
goto IL_011d;
}
}
{
G_B19_0 = 0;
goto IL_012b;
}
IL_011d:
{
int32_t L_76 = ___len12;
int32_t L_77 = V_0;
if ((!(((uint32_t)L_76) == ((uint32_t)L_77))))
{
goto IL_012a;
}
}
{
G_B19_0 = (-1);
goto IL_012b;
}
IL_012a:
{
G_B19_0 = 1;
}
IL_012b:
{
return G_B19_0;
}
}
// System.Int32 Mono.Globalization.Unicode.SimpleCollator::Compare(System.String,System.Int32,System.Int32,System.String,System.Int32,System.Int32,System.Globalization.CompareOptions)
extern "C" int32_t SimpleCollator_Compare_m168545919 (SimpleCollator_t4081201584 * __this, String_t* ___s10, int32_t ___idx11, int32_t ___len12, String_t* ___s23, int32_t ___idx24, int32_t ___len25, int32_t ___options6, const MethodInfo* method)
{
uint8_t* V_0 = NULL;
uint8_t* V_1 = NULL;
Context_t2636657155 V_2;
memset(&V_2, 0, sizeof(V_2));
bool V_3 = false;
bool V_4 = false;
int32_t V_5 = 0;
int32_t G_B13_0 = 0;
{
int32_t L_0 = ___idx11;
int32_t L_1 = ___idx24;
if ((!(((uint32_t)L_0) == ((uint32_t)L_1))))
{
goto IL_001f;
}
}
{
int32_t L_2 = ___len12;
int32_t L_3 = ___len25;
if ((!(((uint32_t)L_2) == ((uint32_t)L_3))))
{
goto IL_001f;
}
}
{
String_t* L_4 = ___s10;
String_t* L_5 = ___s23;
bool L_6 = Object_ReferenceEquals_m3900584722(NULL /*static, unused*/, L_4, L_5, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_001f;
}
}
{
return 0;
}
IL_001f:
{
int32_t L_7 = ___options6;
if ((!(((uint32_t)L_7) == ((uint32_t)((int32_t)1073741824)))))
{
goto IL_003b;
}
}
{
String_t* L_8 = ___s10;
int32_t L_9 = ___idx11;
int32_t L_10 = ___len12;
String_t* L_11 = ___s23;
int32_t L_12 = ___idx24;
int32_t L_13 = ___len25;
int32_t L_14 = SimpleCollator_CompareOrdinal_m2176988387(__this, L_8, L_9, L_10, L_11, L_12, L_13, /*hidden argument*/NULL);
return L_14;
}
IL_003b:
{
int32_t L_15 = ___options6;
if ((!(((uint32_t)L_15) == ((uint32_t)((int32_t)268435456)))))
{
goto IL_0057;
}
}
{
String_t* L_16 = ___s10;
int32_t L_17 = ___idx11;
int32_t L_18 = ___len12;
String_t* L_19 = ___s23;
int32_t L_20 = ___idx24;
int32_t L_21 = ___len25;
int32_t L_22 = SimpleCollator_CompareOrdinalIgnoreCase_m3195572467(__this, L_16, L_17, L_18, L_19, L_20, L_21, /*hidden argument*/NULL);
return L_22;
}
IL_0057:
{
if ((uint64_t)(uint32_t)4 * (uint64_t)(uint32_t)1 > (uint64_t)(uint32_t)kIl2CppUInt32Max)
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception());
int8_t* L_23 = (int8_t*) alloca(((int32_t)((int32_t)4*(int32_t)1)));
memset(L_23,0,((int32_t)((int32_t)4*(int32_t)1)));
V_0 = (uint8_t*)(L_23);
if ((uint64_t)(uint32_t)4 * (uint64_t)(uint32_t)1 > (uint64_t)(uint32_t)kIl2CppUInt32Max)
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception());
int8_t* L_24 = (int8_t*) alloca(((int32_t)((int32_t)4*(int32_t)1)));
memset(L_24,0,((int32_t)((int32_t)4*(int32_t)1)));
V_1 = (uint8_t*)(L_24);
uint8_t* L_25 = V_0;
SimpleCollator_ClearBuffer_m1828762230(__this, (uint8_t*)(uint8_t*)L_25, 4, /*hidden argument*/NULL);
uint8_t* L_26 = V_1;
SimpleCollator_ClearBuffer_m1828762230(__this, (uint8_t*)(uint8_t*)L_26, 4, /*hidden argument*/NULL);
int32_t L_27 = ___options6;
uint8_t* L_28 = V_0;
uint8_t* L_29 = V_1;
String_t* L_30 = ___s10;
int32_t L_31 = ___idx11;
int32_t L_32 = ___idx11;
int32_t L_33 = ___len12;
String_t* L_34 = ___s23;
int32_t L_35 = ___idx24;
int32_t L_36 = ___idx24;
int32_t L_37 = ___len25;
bool L_38 = SimpleCollator_QuickCheckPossible_m3145784891(__this, L_30, L_31, ((int32_t)((int32_t)L_32+(int32_t)L_33)), L_34, L_35, ((int32_t)((int32_t)L_36+(int32_t)L_37)), /*hidden argument*/NULL);
Context__ctor_m2254074374((&V_2), L_27, (uint8_t*)(uint8_t*)(((uintptr_t)0)), (uint8_t*)(uint8_t*)(((uintptr_t)0)), (uint8_t*)(uint8_t*)L_28, (uint8_t*)(uint8_t*)L_29, (uint8_t*)(uint8_t*)(((uintptr_t)0)), L_38, /*hidden argument*/NULL);
String_t* L_39 = ___s10;
int32_t L_40 = ___idx11;
int32_t L_41 = ___len12;
String_t* L_42 = ___s23;
int32_t L_43 = ___idx24;
int32_t L_44 = ___len25;
int32_t L_45 = SimpleCollator_CompareInternal_m280569710(__this, L_39, L_40, L_41, L_42, L_43, L_44, (&V_3), (&V_4), (bool)1, (bool)0, (&V_2), /*hidden argument*/NULL);
V_5 = L_45;
int32_t L_46 = V_5;
if (L_46)
{
goto IL_00be;
}
}
{
G_B13_0 = 0;
goto IL_00cd;
}
IL_00be:
{
int32_t L_47 = V_5;
if ((((int32_t)L_47) >= ((int32_t)0)))
{
goto IL_00cc;
}
}
{
G_B13_0 = (-1);
goto IL_00cd;
}
IL_00cc:
{
G_B13_0 = 1;
}
IL_00cd:
{
return G_B13_0;
}
}
// System.Void Mono.Globalization.Unicode.SimpleCollator::ClearBuffer(System.Byte*,System.Int32)
extern "C" void SimpleCollator_ClearBuffer_m1828762230 (SimpleCollator_t4081201584 * __this, uint8_t* ___buffer0, int32_t ___size1, const MethodInfo* method)
{
int32_t V_0 = 0;
{
V_0 = 0;
goto IL_0010;
}
IL_0007:
{
uint8_t* L_0 = ___buffer0;
int32_t L_1 = V_0;
*((int8_t*)(((uint8_t*)((intptr_t)L_0+(int32_t)L_1)))) = (int8_t)0;
int32_t L_2 = V_0;
V_0 = ((int32_t)((int32_t)L_2+(int32_t)1));
}
IL_0010:
{
int32_t L_3 = V_0;
int32_t L_4 = ___size1;
if ((((int32_t)L_3) < ((int32_t)L_4)))
{
goto IL_0007;
}
}
{
return;
}
}
// System.Boolean Mono.Globalization.Unicode.SimpleCollator::QuickCheckPossible(System.String,System.Int32,System.Int32,System.String,System.Int32,System.Int32)
extern "C" bool SimpleCollator_QuickCheckPossible_m3145784891 (SimpleCollator_t4081201584 * __this, String_t* ___s10, int32_t ___idx11, int32_t ___end12, String_t* ___s23, int32_t ___idx24, int32_t ___end25, const MethodInfo* method)
{
{
return (bool)0;
}
}
// System.Int32 Mono.Globalization.Unicode.SimpleCollator::CompareInternal(System.String,System.Int32,System.Int32,System.String,System.Int32,System.Int32,System.Boolean&,System.Boolean&,System.Boolean,System.Boolean,Mono.Globalization.Unicode.SimpleCollator/Context&)
extern Il2CppClass* Escape_t169451053_il2cpp_TypeInfo_var;
extern Il2CppClass* SimpleCollator_t4081201584_il2cpp_TypeInfo_var;
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern const uint32_t SimpleCollator_CompareInternal_m280569710_MetadataUsageId;
extern "C" int32_t SimpleCollator_CompareInternal_m280569710 (SimpleCollator_t4081201584 * __this, String_t* ___s10, int32_t ___idx11, int32_t ___len12, String_t* ___s23, int32_t ___idx24, int32_t ___len25, bool* ___targetConsumed6, bool* ___sourceConsumed7, bool ___skipHeadingExtenders8, bool ___immediateBreakup9, Context_t2636657155 * ___ctx10, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SimpleCollator_CompareInternal_m280569710_MetadataUsageId);
s_Il2CppMethodIntialized = 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;
PreviousInfo_t581002487 V_5;
memset(&V_5, 0, sizeof(V_5));
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;
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;
bool V_16 = false;
bool V_17 = false;
Escape_t169451053 V_18;
memset(&V_18, 0, sizeof(V_18));
Escape_t169451053 V_19;
memset(&V_19, 0, sizeof(V_19));
int32_t V_20 = 0;
int32_t V_21 = 0;
int32_t V_22 = 0;
int32_t V_23 = 0;
uint8_t* V_24 = NULL;
uint8_t* V_25 = NULL;
int32_t V_26 = 0;
int32_t V_27 = 0;
bool V_28 = false;
bool V_29 = false;
uint8_t V_30 = 0x0;
uint8_t V_31 = 0x0;
Contraction_t1673853792 * V_32 = NULL;
int32_t V_33 = 0;
int32_t V_34 = 0;
Contraction_t1673853792 * V_35 = NULL;
int32_t V_36 = 0;
int32_t V_37 = 0;
int32_t G_B81_0 = 0;
int32_t G_B89_0 = 0;
int32_t G_B161_0 = 0;
int32_t G_B172_0 = 0;
int32_t G_B187_0 = 0;
int32_t G_B192_0 = 0;
int32_t G_B195_0 = 0;
int32_t G_B198_0 = 0;
int32_t G_B247_0 = 0;
{
Context_t2636657155 * L_0 = ___ctx10;
int32_t L_1 = L_0->get_Option_0();
V_0 = L_1;
int32_t L_2 = ___idx11;
V_1 = L_2;
int32_t L_3 = ___idx24;
V_2 = L_3;
int32_t L_4 = ___idx11;
int32_t L_5 = ___len12;
V_3 = ((int32_t)((int32_t)L_4+(int32_t)L_5));
int32_t L_6 = ___idx24;
int32_t L_7 = ___len25;
V_4 = ((int32_t)((int32_t)L_6+(int32_t)L_7));
bool* L_8 = ___targetConsumed6;
*((int8_t*)(L_8)) = (int8_t)0;
bool* L_9 = ___sourceConsumed7;
*((int8_t*)(L_9)) = (int8_t)0;
PreviousInfo__ctor_m1442166472((&V_5), (bool)0, /*hidden argument*/NULL);
int32_t L_10 = V_0;
if (L_10)
{
goto IL_0050;
}
}
{
Context_t2636657155 * L_11 = ___ctx10;
bool L_12 = L_11->get_QuickCheckPossible_7();
if (!L_12)
{
goto IL_0050;
}
}
{
String_t* L_13 = ___s10;
int32_t L_14 = ___idx11;
int32_t L_15 = ___len12;
String_t* L_16 = ___s23;
int32_t L_17 = ___idx24;
int32_t L_18 = ___len25;
bool* L_19 = ___sourceConsumed7;
bool* L_20 = ___targetConsumed6;
bool L_21 = ___immediateBreakup9;
int32_t L_22 = SimpleCollator_CompareQuick_m619038530(__this, L_13, L_14, L_15, L_16, L_17, L_18, L_19, L_20, L_21, /*hidden argument*/NULL);
return L_22;
}
IL_0050:
{
V_6 = 0;
V_7 = 5;
V_8 = (-1);
V_9 = (-1);
V_10 = 0;
V_11 = 0;
bool L_23 = ___skipHeadingExtenders8;
if (!L_23)
{
goto IL_00be;
}
}
{
goto IL_008a;
}
IL_006e:
{
String_t* L_24 = ___s10;
int32_t L_25 = ___idx11;
Il2CppChar L_26 = String_get_Chars_m4230566705(L_24, L_25, /*hidden argument*/NULL);
int32_t L_27 = SimpleCollator_GetExtenderType_m976831551(__this, L_26, /*hidden argument*/NULL);
if (L_27)
{
goto IL_0085;
}
}
{
goto IL_0091;
}
IL_0085:
{
int32_t L_28 = ___idx11;
___idx11 = ((int32_t)((int32_t)L_28+(int32_t)1));
}
IL_008a:
{
int32_t L_29 = ___idx11;
int32_t L_30 = V_3;
if ((((int32_t)L_29) < ((int32_t)L_30)))
{
goto IL_006e;
}
}
IL_0091:
{
goto IL_00b5;
}
IL_0096:
{
String_t* L_31 = ___s23;
int32_t L_32 = ___idx24;
Il2CppChar L_33 = String_get_Chars_m4230566705(L_31, L_32, /*hidden argument*/NULL);
int32_t L_34 = SimpleCollator_GetExtenderType_m976831551(__this, L_33, /*hidden argument*/NULL);
if (L_34)
{
goto IL_00af;
}
}
{
goto IL_00be;
}
IL_00af:
{
int32_t L_35 = ___idx24;
___idx24 = ((int32_t)((int32_t)L_35+(int32_t)1));
}
IL_00b5:
{
int32_t L_36 = ___idx24;
int32_t L_37 = V_4;
if ((((int32_t)L_36) < ((int32_t)L_37)))
{
goto IL_0096;
}
}
IL_00be:
{
V_12 = 0;
V_13 = 0;
int32_t L_38 = ___idx11;
V_14 = L_38;
int32_t L_39 = ___idx24;
V_15 = L_39;
int32_t L_40 = V_0;
V_16 = (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_40&(int32_t)((int32_t)536870912)))) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0);
int32_t L_41 = V_0;
V_17 = (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_41&(int32_t)2))) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0);
Initobj (Escape_t169451053_il2cpp_TypeInfo_var, (&V_18));
Initobj (Escape_t169451053_il2cpp_TypeInfo_var, (&V_19));
}
IL_00f5:
{
goto IL_0116;
}
IL_00fa:
{
String_t* L_42 = ___s10;
int32_t L_43 = ___idx11;
Il2CppChar L_44 = String_get_Chars_m4230566705(L_42, L_43, /*hidden argument*/NULL);
int32_t L_45 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(SimpleCollator_t4081201584_il2cpp_TypeInfo_var);
bool L_46 = SimpleCollator_IsIgnorable_m2485013022(NULL /*static, unused*/, L_44, L_45, /*hidden argument*/NULL);
if (L_46)
{
goto IL_0111;
}
}
{
goto IL_011d;
}
IL_0111:
{
int32_t L_47 = ___idx11;
___idx11 = ((int32_t)((int32_t)L_47+(int32_t)1));
}
IL_0116:
{
int32_t L_48 = ___idx11;
int32_t L_49 = V_3;
if ((((int32_t)L_48) < ((int32_t)L_49)))
{
goto IL_00fa;
}
}
IL_011d:
{
goto IL_0141;
}
IL_0122:
{
String_t* L_50 = ___s23;
int32_t L_51 = ___idx24;
Il2CppChar L_52 = String_get_Chars_m4230566705(L_50, L_51, /*hidden argument*/NULL);
int32_t L_53 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(SimpleCollator_t4081201584_il2cpp_TypeInfo_var);
bool L_54 = SimpleCollator_IsIgnorable_m2485013022(NULL /*static, unused*/, L_52, L_53, /*hidden argument*/NULL);
if (L_54)
{
goto IL_013b;
}
}
{
goto IL_014a;
}
IL_013b:
{
int32_t L_55 = ___idx24;
___idx24 = ((int32_t)((int32_t)L_55+(int32_t)1));
}
IL_0141:
{
int32_t L_56 = ___idx24;
int32_t L_57 = V_4;
if ((((int32_t)L_56) < ((int32_t)L_57)))
{
goto IL_0122;
}
}
IL_014a:
{
int32_t L_58 = ___idx11;
int32_t L_59 = V_3;
if ((((int32_t)L_58) < ((int32_t)L_59)))
{
goto IL_019a;
}
}
{
String_t* L_60 = (&V_18)->get_Source_0();
if (L_60)
{
goto IL_0162;
}
}
{
goto IL_0a39;
}
IL_0162:
{
String_t* L_61 = (&V_18)->get_Source_0();
___s10 = L_61;
int32_t L_62 = (&V_18)->get_Start_2();
V_1 = L_62;
int32_t L_63 = (&V_18)->get_Index_1();
___idx11 = L_63;
int32_t L_64 = (&V_18)->get_End_3();
V_3 = L_64;
int32_t L_65 = (&V_18)->get_Optional_4();
V_14 = L_65;
(&V_18)->set_Source_0((String_t*)NULL);
goto IL_00f5;
}
IL_019a:
{
int32_t L_66 = ___idx24;
int32_t L_67 = V_4;
if ((((int32_t)L_66) < ((int32_t)L_67)))
{
goto IL_01ed;
}
}
{
String_t* L_68 = (&V_19)->get_Source_0();
if (L_68)
{
goto IL_01b4;
}
}
{
goto IL_0a39;
}
IL_01b4:
{
String_t* L_69 = (&V_19)->get_Source_0();
___s23 = L_69;
int32_t L_70 = (&V_19)->get_Start_2();
V_2 = L_70;
int32_t L_71 = (&V_19)->get_Index_1();
___idx24 = L_71;
int32_t L_72 = (&V_19)->get_End_3();
V_4 = L_72;
int32_t L_73 = (&V_19)->get_Optional_4();
V_15 = L_73;
(&V_19)->set_Source_0((String_t*)NULL);
goto IL_00f5;
}
IL_01ed:
{
int32_t L_74 = V_14;
int32_t L_75 = ___idx11;
if ((((int32_t)L_74) >= ((int32_t)L_75)))
{
goto IL_0310;
}
}
{
int32_t L_76 = V_15;
int32_t L_77 = ___idx24;
if ((((int32_t)L_76) >= ((int32_t)L_77)))
{
goto IL_0310;
}
}
{
goto IL_020e;
}
IL_0203:
{
int32_t L_78 = ___idx11;
___idx11 = ((int32_t)((int32_t)L_78+(int32_t)1));
int32_t L_79 = ___idx24;
___idx24 = ((int32_t)((int32_t)L_79+(int32_t)1));
}
IL_020e:
{
int32_t L_80 = ___idx11;
int32_t L_81 = V_3;
if ((((int32_t)L_80) >= ((int32_t)L_81)))
{
goto IL_0233;
}
}
{
int32_t L_82 = ___idx24;
int32_t L_83 = V_4;
if ((((int32_t)L_82) >= ((int32_t)L_83)))
{
goto IL_0233;
}
}
{
String_t* L_84 = ___s10;
int32_t L_85 = ___idx11;
Il2CppChar L_86 = String_get_Chars_m4230566705(L_84, L_85, /*hidden argument*/NULL);
String_t* L_87 = ___s23;
int32_t L_88 = ___idx24;
Il2CppChar L_89 = String_get_Chars_m4230566705(L_87, L_88, /*hidden argument*/NULL);
if ((((int32_t)L_86) == ((int32_t)L_89)))
{
goto IL_0203;
}
}
IL_0233:
{
int32_t L_90 = ___idx11;
int32_t L_91 = V_3;
if ((((int32_t)L_90) == ((int32_t)L_91)))
{
goto IL_0243;
}
}
{
int32_t L_92 = ___idx24;
int32_t L_93 = V_4;
if ((!(((uint32_t)L_92) == ((uint32_t)L_93))))
{
goto IL_0248;
}
}
IL_0243:
{
goto IL_00f5;
}
IL_0248:
{
int32_t L_94 = V_14;
V_20 = L_94;
int32_t L_95 = V_15;
V_21 = L_95;
int32_t L_96 = ___idx11;
V_14 = L_96;
int32_t L_97 = ___idx24;
V_15 = L_97;
int32_t L_98 = ___idx11;
___idx11 = ((int32_t)((int32_t)L_98-(int32_t)1));
int32_t L_99 = ___idx24;
___idx24 = ((int32_t)((int32_t)L_99-(int32_t)1));
goto IL_0284;
}
IL_0267:
{
String_t* L_100 = ___s10;
int32_t L_101 = ___idx11;
Il2CppChar L_102 = String_get_Chars_m4230566705(L_100, L_101, /*hidden argument*/NULL);
uint8_t L_103 = SimpleCollator_Category_m1504096908(__this, L_102, /*hidden argument*/NULL);
if ((((int32_t)L_103) == ((int32_t)1)))
{
goto IL_027f;
}
}
{
goto IL_028c;
}
IL_027f:
{
int32_t L_104 = ___idx11;
___idx11 = ((int32_t)((int32_t)L_104-(int32_t)1));
}
IL_0284:
{
int32_t L_105 = ___idx11;
int32_t L_106 = V_20;
if ((((int32_t)L_105) > ((int32_t)L_106)))
{
goto IL_0267;
}
}
IL_028c:
{
goto IL_02b1;
}
IL_0291:
{
String_t* L_107 = ___s23;
int32_t L_108 = ___idx24;
Il2CppChar L_109 = String_get_Chars_m4230566705(L_107, L_108, /*hidden argument*/NULL);
uint8_t L_110 = SimpleCollator_Category_m1504096908(__this, L_109, /*hidden argument*/NULL);
if ((((int32_t)L_110) == ((int32_t)1)))
{
goto IL_02ab;
}
}
{
goto IL_02ba;
}
IL_02ab:
{
int32_t L_111 = ___idx24;
___idx24 = ((int32_t)((int32_t)L_111-(int32_t)1));
}
IL_02b1:
{
int32_t L_112 = ___idx24;
int32_t L_113 = V_21;
if ((((int32_t)L_112) > ((int32_t)L_113)))
{
goto IL_0291;
}
}
IL_02ba:
{
goto IL_02db;
}
IL_02bf:
{
String_t* L_114 = ___s10;
int32_t L_115 = ___idx11;
Il2CppChar L_116 = String_get_Chars_m4230566705(L_114, L_115, /*hidden argument*/NULL);
bool L_117 = SimpleCollator_IsSafe_m2555643371(__this, L_116, /*hidden argument*/NULL);
if (!L_117)
{
goto IL_02d6;
}
}
{
goto IL_02e3;
}
IL_02d6:
{
int32_t L_118 = ___idx11;
___idx11 = ((int32_t)((int32_t)L_118-(int32_t)1));
}
IL_02db:
{
int32_t L_119 = ___idx11;
int32_t L_120 = V_20;
if ((((int32_t)L_119) > ((int32_t)L_120)))
{
goto IL_02bf;
}
}
IL_02e3:
{
goto IL_0307;
}
IL_02e8:
{
String_t* L_121 = ___s23;
int32_t L_122 = ___idx24;
Il2CppChar L_123 = String_get_Chars_m4230566705(L_121, L_122, /*hidden argument*/NULL);
bool L_124 = SimpleCollator_IsSafe_m2555643371(__this, L_123, /*hidden argument*/NULL);
if (!L_124)
{
goto IL_0301;
}
}
{
goto IL_0310;
}
IL_0301:
{
int32_t L_125 = ___idx24;
___idx24 = ((int32_t)((int32_t)L_125-(int32_t)1));
}
IL_0307:
{
int32_t L_126 = ___idx24;
int32_t L_127 = V_21;
if ((((int32_t)L_126) > ((int32_t)L_127)))
{
goto IL_02e8;
}
}
IL_0310:
{
int32_t L_128 = ___idx11;
V_22 = L_128;
int32_t L_129 = ___idx24;
V_23 = L_129;
V_24 = (uint8_t*)(((uintptr_t)0));
V_25 = (uint8_t*)(((uintptr_t)0));
String_t* L_130 = ___s10;
int32_t L_131 = ___idx11;
Il2CppChar L_132 = String_get_Chars_m4230566705(L_130, L_131, /*hidden argument*/NULL);
int32_t L_133 = V_0;
int32_t L_134 = SimpleCollator_FilterOptions_m4044781893(__this, L_132, L_133, /*hidden argument*/NULL);
V_26 = L_134;
String_t* L_135 = ___s23;
int32_t L_136 = ___idx24;
Il2CppChar L_137 = String_get_Chars_m4230566705(L_135, L_136, /*hidden argument*/NULL);
int32_t L_138 = V_0;
int32_t L_139 = SimpleCollator_FilterOptions_m4044781893(__this, L_137, L_138, /*hidden argument*/NULL);
V_27 = L_139;
V_28 = (bool)0;
V_29 = (bool)0;
int32_t L_140 = V_26;
int32_t L_141 = SimpleCollator_GetExtenderType_m976831551(__this, L_140, /*hidden argument*/NULL);
V_12 = L_141;
int32_t L_142 = V_12;
if (!L_142)
{
goto IL_039b;
}
}
{
Context_t2636657155 * L_143 = ___ctx10;
int32_t L_144 = L_143->get_PrevCode_5();
if ((((int32_t)L_144) >= ((int32_t)0)))
{
goto IL_0389;
}
}
{
Context_t2636657155 * L_145 = ___ctx10;
uint8_t* L_146 = L_145->get_PrevSortKey_6();
if (L_146)
{
goto IL_037b;
}
}
{
int32_t L_147 = ___idx11;
___idx11 = ((int32_t)((int32_t)L_147+(int32_t)1));
goto IL_00f5;
}
IL_037b:
{
Context_t2636657155 * L_148 = ___ctx10;
uint8_t* L_149 = L_148->get_PrevSortKey_6();
V_24 = (uint8_t*)L_149;
goto IL_039b;
}
IL_0389:
{
Context_t2636657155 * L_150 = ___ctx10;
int32_t L_151 = L_150->get_PrevCode_5();
int32_t L_152 = V_12;
int32_t L_153 = V_0;
int32_t L_154 = SimpleCollator_FilterExtender_m2624562651(__this, L_151, L_152, L_153, /*hidden argument*/NULL);
V_26 = L_154;
}
IL_039b:
{
int32_t L_155 = V_27;
int32_t L_156 = SimpleCollator_GetExtenderType_m976831551(__this, L_155, /*hidden argument*/NULL);
V_13 = L_156;
int32_t L_157 = V_13;
if (!L_157)
{
goto IL_03f0;
}
}
{
int32_t L_158 = (&V_5)->get_Code_0();
if ((((int32_t)L_158) >= ((int32_t)0)))
{
goto IL_03de;
}
}
{
uint8_t* L_159 = (&V_5)->get_SortKey_1();
if (L_159)
{
goto IL_03d0;
}
}
{
int32_t L_160 = ___idx24;
___idx24 = ((int32_t)((int32_t)L_160+(int32_t)1));
goto IL_00f5;
}
IL_03d0:
{
uint8_t* L_161 = (&V_5)->get_SortKey_1();
V_25 = (uint8_t*)L_161;
goto IL_03f0;
}
IL_03de:
{
int32_t L_162 = (&V_5)->get_Code_0();
int32_t L_163 = V_13;
int32_t L_164 = V_0;
int32_t L_165 = SimpleCollator_FilterExtender_m2624562651(__this, L_162, L_163, L_164, /*hidden argument*/NULL);
V_27 = L_165;
}
IL_03f0:
{
int32_t L_166 = V_26;
uint8_t L_167 = SimpleCollator_Category_m1504096908(__this, L_166, /*hidden argument*/NULL);
V_30 = L_167;
int32_t L_168 = V_27;
uint8_t L_169 = SimpleCollator_Category_m1504096908(__this, L_168, /*hidden argument*/NULL);
V_31 = L_169;
uint8_t L_170 = V_30;
if ((!(((uint32_t)L_170) == ((uint32_t)6))))
{
goto IL_0466;
}
}
{
bool L_171 = V_16;
if (L_171)
{
goto IL_0458;
}
}
{
int32_t L_172 = V_7;
if ((!(((uint32_t)L_172) == ((uint32_t)5))))
{
goto IL_0458;
}
}
{
String_t* L_173 = (&V_18)->get_Source_0();
if (!L_173)
{
goto IL_043b;
}
}
{
int32_t L_174 = (&V_18)->get_Index_1();
int32_t L_175 = (&V_18)->get_Start_2();
G_B81_0 = ((int32_t)((int32_t)L_174-(int32_t)L_175));
goto IL_043f;
}
IL_043b:
{
int32_t L_176 = V_22;
int32_t L_177 = V_1;
G_B81_0 = ((int32_t)((int32_t)L_176-(int32_t)L_177));
}
IL_043f:
{
V_8 = G_B81_0;
int32_t L_178 = V_26;
uint8_t L_179 = SimpleCollator_Level1_m3813786941(__this, L_178, /*hidden argument*/NULL);
int32_t L_180 = V_26;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t L_181 = MSCompatUnicodeTable_Level3_m260824928(NULL /*static, unused*/, L_180, /*hidden argument*/NULL);
V_10 = ((int32_t)((int32_t)L_179<<(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)8+(int32_t)L_181))&(int32_t)((int32_t)31)))));
}
IL_0458:
{
Context_t2636657155 * L_182 = ___ctx10;
int32_t L_183 = V_26;
L_182->set_PrevCode_5(L_183);
int32_t L_184 = ___idx11;
___idx11 = ((int32_t)((int32_t)L_184+(int32_t)1));
}
IL_0466:
{
uint8_t L_185 = V_31;
if ((!(((uint32_t)L_185) == ((uint32_t)6))))
{
goto IL_04c9;
}
}
{
bool L_186 = V_16;
if (L_186)
{
goto IL_04ba;
}
}
{
int32_t L_187 = V_7;
if ((!(((uint32_t)L_187) == ((uint32_t)5))))
{
goto IL_04ba;
}
}
{
String_t* L_188 = (&V_19)->get_Source_0();
if (!L_188)
{
goto IL_049d;
}
}
{
int32_t L_189 = (&V_19)->get_Index_1();
int32_t L_190 = (&V_19)->get_Start_2();
G_B89_0 = ((int32_t)((int32_t)L_189-(int32_t)L_190));
goto IL_04a1;
}
IL_049d:
{
int32_t L_191 = V_23;
int32_t L_192 = V_2;
G_B89_0 = ((int32_t)((int32_t)L_191-(int32_t)L_192));
}
IL_04a1:
{
V_9 = G_B89_0;
int32_t L_193 = V_27;
uint8_t L_194 = SimpleCollator_Level1_m3813786941(__this, L_193, /*hidden argument*/NULL);
int32_t L_195 = V_27;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t L_196 = MSCompatUnicodeTable_Level3_m260824928(NULL /*static, unused*/, L_195, /*hidden argument*/NULL);
V_11 = ((int32_t)((int32_t)L_194<<(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)8+(int32_t)L_196))&(int32_t)((int32_t)31)))));
}
IL_04ba:
{
int32_t L_197 = V_27;
(&V_5)->set_Code_0(L_197);
int32_t L_198 = ___idx24;
___idx24 = ((int32_t)((int32_t)L_198+(int32_t)1));
}
IL_04c9:
{
uint8_t L_199 = V_30;
if ((((int32_t)L_199) == ((int32_t)6)))
{
goto IL_04d9;
}
}
{
uint8_t L_200 = V_31;
if ((!(((uint32_t)L_200) == ((uint32_t)6))))
{
goto IL_0503;
}
}
IL_04d9:
{
int32_t L_201 = V_7;
if ((!(((uint32_t)L_201) == ((uint32_t)5))))
{
goto IL_04fe;
}
}
{
int32_t L_202 = V_10;
int32_t L_203 = V_11;
if ((!(((uint32_t)L_202) == ((uint32_t)L_203))))
{
goto IL_04fb;
}
}
{
int32_t L_204 = (-1);
V_9 = L_204;
V_8 = L_204;
int32_t L_205 = 0;
V_11 = L_205;
V_10 = L_205;
goto IL_04fe;
}
IL_04fb:
{
V_7 = 4;
}
IL_04fe:
{
goto IL_00f5;
}
IL_0503:
{
V_32 = (Contraction_t1673853792 *)NULL;
int32_t L_206 = V_12;
if (L_206)
{
goto IL_0518;
}
}
{
String_t* L_207 = ___s10;
int32_t L_208 = ___idx11;
int32_t L_209 = V_3;
Contraction_t1673853792 * L_210 = SimpleCollator_GetContraction_m3674789701(__this, L_207, L_208, L_209, /*hidden argument*/NULL);
V_32 = L_210;
}
IL_0518:
{
V_33 = 1;
uint8_t* L_211 = V_24;
if (!L_211)
{
goto IL_052a;
}
}
{
V_33 = 1;
goto IL_0667;
}
IL_052a:
{
Contraction_t1673853792 * L_212 = V_32;
if (!L_212)
{
goto IL_05f7;
}
}
{
Contraction_t1673853792 * L_213 = V_32;
CharU5BU5D_t1328083999* L_214 = L_213->get_Source_0();
V_33 = (((int32_t)((int32_t)(((Il2CppArray *)L_214)->max_length))));
Contraction_t1673853792 * L_215 = V_32;
ByteU5BU5D_t3397334013* L_216 = L_215->get_SortKey_2();
if (!L_216)
{
goto IL_0595;
}
}
{
Context_t2636657155 * L_217 = ___ctx10;
uint8_t* L_218 = L_217->get_Buffer1_3();
V_24 = (uint8_t*)L_218;
V_34 = 0;
goto IL_056f;
}
IL_0559:
{
uint8_t* L_219 = V_24;
int32_t L_220 = V_34;
Contraction_t1673853792 * L_221 = V_32;
ByteU5BU5D_t3397334013* L_222 = L_221->get_SortKey_2();
int32_t L_223 = V_34;
int32_t L_224 = L_223;
uint8_t L_225 = (L_222)->GetAt(static_cast<il2cpp_array_size_t>(L_224));
*((int8_t*)(((uint8_t*)((intptr_t)L_219+(int32_t)L_220)))) = (int8_t)L_225;
int32_t L_226 = V_34;
V_34 = ((int32_t)((int32_t)L_226+(int32_t)1));
}
IL_056f:
{
int32_t L_227 = V_34;
Contraction_t1673853792 * L_228 = V_32;
ByteU5BU5D_t3397334013* L_229 = L_228->get_SortKey_2();
if ((((int32_t)L_227) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_229)->max_length)))))))
{
goto IL_0559;
}
}
{
Context_t2636657155 * L_230 = ___ctx10;
L_230->set_PrevCode_5((-1));
Context_t2636657155 * L_231 = ___ctx10;
uint8_t* L_232 = V_24;
L_231->set_PrevSortKey_6((uint8_t*)L_232);
goto IL_05f2;
}
IL_0595:
{
String_t* L_233 = (&V_18)->get_Source_0();
if (L_233)
{
goto IL_05f2;
}
}
{
String_t* L_234 = ___s10;
(&V_18)->set_Source_0(L_234);
int32_t L_235 = V_1;
(&V_18)->set_Start_2(L_235);
int32_t L_236 = V_22;
Contraction_t1673853792 * L_237 = V_32;
CharU5BU5D_t1328083999* L_238 = L_237->get_Source_0();
(&V_18)->set_Index_1(((int32_t)((int32_t)L_236+(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_238)->max_length)))))));
int32_t L_239 = V_3;
(&V_18)->set_End_3(L_239);
int32_t L_240 = V_14;
(&V_18)->set_Optional_4(L_240);
Contraction_t1673853792 * L_241 = V_32;
String_t* L_242 = L_241->get_Replacement_1();
___s10 = L_242;
___idx11 = 0;
V_1 = 0;
String_t* L_243 = ___s10;
int32_t L_244 = String_get_Length_m1606060069(L_243, /*hidden argument*/NULL);
V_3 = L_244;
V_14 = 0;
goto IL_00f5;
}
IL_05f2:
{
goto IL_0667;
}
IL_05f7:
{
Context_t2636657155 * L_245 = ___ctx10;
uint8_t* L_246 = L_245->get_Buffer1_3();
V_24 = (uint8_t*)L_246;
uint8_t* L_247 = V_24;
uint8_t L_248 = V_30;
*((int8_t*)(L_247)) = (int8_t)L_248;
uint8_t* L_249 = V_24;
int32_t L_250 = V_26;
uint8_t L_251 = SimpleCollator_Level1_m3813786941(__this, L_250, /*hidden argument*/NULL);
*((int8_t*)(((uint8_t*)((intptr_t)L_249+(int32_t)1)))) = (int8_t)L_251;
bool L_252 = V_17;
if (L_252)
{
goto IL_0630;
}
}
{
int32_t L_253 = V_7;
if ((((int32_t)L_253) <= ((int32_t)1)))
{
goto IL_0630;
}
}
{
uint8_t* L_254 = V_24;
int32_t L_255 = V_26;
int32_t L_256 = V_12;
uint8_t L_257 = SimpleCollator_Level2_m2254535125(__this, L_255, L_256, /*hidden argument*/NULL);
*((int8_t*)(((uint8_t*)((intptr_t)L_254+(int32_t)2)))) = (int8_t)L_257;
}
IL_0630:
{
int32_t L_258 = V_7;
if ((((int32_t)L_258) <= ((int32_t)2)))
{
goto IL_0644;
}
}
{
uint8_t* L_259 = V_24;
int32_t L_260 = V_26;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t L_261 = MSCompatUnicodeTable_Level3_m260824928(NULL /*static, unused*/, L_260, /*hidden argument*/NULL);
*((int8_t*)(((uint8_t*)((intptr_t)L_259+(int32_t)3)))) = (int8_t)L_261;
}
IL_0644:
{
int32_t L_262 = V_7;
if ((((int32_t)L_262) <= ((int32_t)3)))
{
goto IL_0656;
}
}
{
int32_t L_263 = V_26;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
bool L_264 = MSCompatUnicodeTable_HasSpecialWeight_m4030611518(NULL /*static, unused*/, (((int32_t)((uint16_t)L_263))), /*hidden argument*/NULL);
V_28 = L_264;
}
IL_0656:
{
uint8_t L_265 = V_30;
if ((((int32_t)L_265) <= ((int32_t)1)))
{
goto IL_0667;
}
}
{
Context_t2636657155 * L_266 = ___ctx10;
int32_t L_267 = V_26;
L_266->set_PrevCode_5(L_267);
}
IL_0667:
{
V_35 = (Contraction_t1673853792 *)NULL;
int32_t L_268 = V_13;
if (L_268)
{
goto IL_067f;
}
}
{
String_t* L_269 = ___s23;
int32_t L_270 = ___idx24;
int32_t L_271 = V_4;
Contraction_t1673853792 * L_272 = SimpleCollator_GetContraction_m3674789701(__this, L_269, L_270, L_271, /*hidden argument*/NULL);
V_35 = L_272;
}
IL_067f:
{
uint8_t* L_273 = V_25;
if (!L_273)
{
goto IL_0691;
}
}
{
int32_t L_274 = ___idx24;
___idx24 = ((int32_t)((int32_t)L_274+(int32_t)1));
goto IL_07db;
}
IL_0691:
{
Contraction_t1673853792 * L_275 = V_35;
if (!L_275)
{
goto IL_0765;
}
}
{
int32_t L_276 = ___idx24;
Contraction_t1673853792 * L_277 = V_35;
CharU5BU5D_t1328083999* L_278 = L_277->get_Source_0();
___idx24 = ((int32_t)((int32_t)L_276+(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_278)->max_length))))));
Contraction_t1673853792 * L_279 = V_35;
ByteU5BU5D_t3397334013* L_280 = L_279->get_SortKey_2();
if (!L_280)
{
goto IL_06ff;
}
}
{
Context_t2636657155 * L_281 = ___ctx10;
uint8_t* L_282 = L_281->get_Buffer2_4();
V_25 = (uint8_t*)L_282;
V_36 = 0;
goto IL_06d9;
}
IL_06c3:
{
uint8_t* L_283 = V_25;
int32_t L_284 = V_36;
Contraction_t1673853792 * L_285 = V_35;
ByteU5BU5D_t3397334013* L_286 = L_285->get_SortKey_2();
int32_t L_287 = V_36;
int32_t L_288 = L_287;
uint8_t L_289 = (L_286)->GetAt(static_cast<il2cpp_array_size_t>(L_288));
*((int8_t*)(((uint8_t*)((intptr_t)L_283+(int32_t)L_284)))) = (int8_t)L_289;
int32_t L_290 = V_36;
V_36 = ((int32_t)((int32_t)L_290+(int32_t)1));
}
IL_06d9:
{
int32_t L_291 = V_36;
Contraction_t1673853792 * L_292 = V_35;
ByteU5BU5D_t3397334013* L_293 = L_292->get_SortKey_2();
if ((((int32_t)L_291) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_293)->max_length)))))))
{
goto IL_06c3;
}
}
{
(&V_5)->set_Code_0((-1));
uint8_t* L_294 = V_25;
(&V_5)->set_SortKey_1((uint8_t*)L_294);
goto IL_0760;
}
IL_06ff:
{
String_t* L_295 = (&V_19)->get_Source_0();
if (L_295)
{
goto IL_0760;
}
}
{
String_t* L_296 = ___s23;
(&V_19)->set_Source_0(L_296);
int32_t L_297 = V_2;
(&V_19)->set_Start_2(L_297);
int32_t L_298 = V_23;
Contraction_t1673853792 * L_299 = V_35;
CharU5BU5D_t1328083999* L_300 = L_299->get_Source_0();
(&V_19)->set_Index_1(((int32_t)((int32_t)L_298+(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_300)->max_length)))))));
int32_t L_301 = V_4;
(&V_19)->set_End_3(L_301);
int32_t L_302 = V_15;
(&V_19)->set_Optional_4(L_302);
Contraction_t1673853792 * L_303 = V_35;
String_t* L_304 = L_303->get_Replacement_1();
___s23 = L_304;
___idx24 = 0;
V_2 = 0;
String_t* L_305 = ___s23;
int32_t L_306 = String_get_Length_m1606060069(L_305, /*hidden argument*/NULL);
V_4 = L_306;
V_15 = 0;
goto IL_00f5;
}
IL_0760:
{
goto IL_07db;
}
IL_0765:
{
Context_t2636657155 * L_307 = ___ctx10;
uint8_t* L_308 = L_307->get_Buffer2_4();
V_25 = (uint8_t*)L_308;
uint8_t* L_309 = V_25;
uint8_t L_310 = V_31;
*((int8_t*)(L_309)) = (int8_t)L_310;
uint8_t* L_311 = V_25;
int32_t L_312 = V_27;
uint8_t L_313 = SimpleCollator_Level1_m3813786941(__this, L_312, /*hidden argument*/NULL);
*((int8_t*)(((uint8_t*)((intptr_t)L_311+(int32_t)1)))) = (int8_t)L_313;
bool L_314 = V_17;
if (L_314)
{
goto IL_079e;
}
}
{
int32_t L_315 = V_7;
if ((((int32_t)L_315) <= ((int32_t)1)))
{
goto IL_079e;
}
}
{
uint8_t* L_316 = V_25;
int32_t L_317 = V_27;
int32_t L_318 = V_13;
uint8_t L_319 = SimpleCollator_Level2_m2254535125(__this, L_317, L_318, /*hidden argument*/NULL);
*((int8_t*)(((uint8_t*)((intptr_t)L_316+(int32_t)2)))) = (int8_t)L_319;
}
IL_079e:
{
int32_t L_320 = V_7;
if ((((int32_t)L_320) <= ((int32_t)2)))
{
goto IL_07b2;
}
}
{
uint8_t* L_321 = V_25;
int32_t L_322 = V_27;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t L_323 = MSCompatUnicodeTable_Level3_m260824928(NULL /*static, unused*/, L_322, /*hidden argument*/NULL);
*((int8_t*)(((uint8_t*)((intptr_t)L_321+(int32_t)3)))) = (int8_t)L_323;
}
IL_07b2:
{
int32_t L_324 = V_7;
if ((((int32_t)L_324) <= ((int32_t)3)))
{
goto IL_07c4;
}
}
{
int32_t L_325 = V_27;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
bool L_326 = MSCompatUnicodeTable_HasSpecialWeight_m4030611518(NULL /*static, unused*/, (((int32_t)((uint16_t)L_325))), /*hidden argument*/NULL);
V_29 = L_326;
}
IL_07c4:
{
uint8_t L_327 = V_31;
if ((((int32_t)L_327) <= ((int32_t)1)))
{
goto IL_07d5;
}
}
{
int32_t L_328 = V_27;
(&V_5)->set_Code_0(L_328);
}
IL_07d5:
{
int32_t L_329 = ___idx24;
___idx24 = ((int32_t)((int32_t)L_329+(int32_t)1));
}
IL_07db:
{
int32_t L_330 = ___idx11;
int32_t L_331 = V_33;
___idx11 = ((int32_t)((int32_t)L_330+(int32_t)L_331));
bool L_332 = V_17;
if (L_332)
{
goto IL_0895;
}
}
{
goto IL_0834;
}
IL_07ed:
{
String_t* L_333 = ___s10;
int32_t L_334 = ___idx11;
Il2CppChar L_335 = String_get_Chars_m4230566705(L_333, L_334, /*hidden argument*/NULL);
uint8_t L_336 = SimpleCollator_Category_m1504096908(__this, L_335, /*hidden argument*/NULL);
if ((((int32_t)L_336) == ((int32_t)1)))
{
goto IL_0805;
}
}
{
goto IL_083b;
}
IL_0805:
{
uint8_t* L_337 = V_24;
if ((*((uint8_t*)((uint8_t*)((intptr_t)L_337+(int32_t)2)))))
{
goto IL_0815;
}
}
{
uint8_t* L_338 = V_24;
*((int8_t*)(((uint8_t*)((intptr_t)L_338+(int32_t)2)))) = (int8_t)2;
}
IL_0815:
{
uint8_t* L_339 = V_24;
uint8_t* L_340 = V_24;
String_t* L_341 = ___s10;
int32_t L_342 = ___idx11;
Il2CppChar L_343 = String_get_Chars_m4230566705(L_341, L_342, /*hidden argument*/NULL);
uint8_t L_344 = SimpleCollator_Level2_m2254535125(__this, L_343, 0, /*hidden argument*/NULL);
*((int8_t*)(((uint8_t*)((intptr_t)L_339+(int32_t)2)))) = (int8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_340+(int32_t)2))))+(int32_t)L_344)))));
int32_t L_345 = ___idx11;
___idx11 = ((int32_t)((int32_t)L_345+(int32_t)1));
}
IL_0834:
{
int32_t L_346 = ___idx11;
int32_t L_347 = V_3;
if ((((int32_t)L_346) < ((int32_t)L_347)))
{
goto IL_07ed;
}
}
IL_083b:
{
goto IL_088c;
}
IL_0840:
{
String_t* L_348 = ___s23;
int32_t L_349 = ___idx24;
Il2CppChar L_350 = String_get_Chars_m4230566705(L_348, L_349, /*hidden argument*/NULL);
uint8_t L_351 = SimpleCollator_Category_m1504096908(__this, L_350, /*hidden argument*/NULL);
if ((((int32_t)L_351) == ((int32_t)1)))
{
goto IL_085a;
}
}
{
goto IL_0895;
}
IL_085a:
{
uint8_t* L_352 = V_25;
if ((*((uint8_t*)((uint8_t*)((intptr_t)L_352+(int32_t)2)))))
{
goto IL_086a;
}
}
{
uint8_t* L_353 = V_25;
*((int8_t*)(((uint8_t*)((intptr_t)L_353+(int32_t)2)))) = (int8_t)2;
}
IL_086a:
{
uint8_t* L_354 = V_25;
uint8_t* L_355 = V_25;
String_t* L_356 = ___s23;
int32_t L_357 = ___idx24;
Il2CppChar L_358 = String_get_Chars_m4230566705(L_356, L_357, /*hidden argument*/NULL);
uint8_t L_359 = SimpleCollator_Level2_m2254535125(__this, L_358, 0, /*hidden argument*/NULL);
*((int8_t*)(((uint8_t*)((intptr_t)L_354+(int32_t)2)))) = (int8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_355+(int32_t)2))))+(int32_t)L_359)))));
int32_t L_360 = ___idx24;
___idx24 = ((int32_t)((int32_t)L_360+(int32_t)1));
}
IL_088c:
{
int32_t L_361 = ___idx24;
int32_t L_362 = V_4;
if ((((int32_t)L_361) < ((int32_t)L_362)))
{
goto IL_0840;
}
}
IL_0895:
{
uint8_t* L_363 = V_24;
uint8_t* L_364 = V_25;
V_37 = ((int32_t)((int32_t)(*((uint8_t*)L_363))-(int32_t)(*((uint8_t*)L_364))));
int32_t L_365 = V_37;
if (!L_365)
{
goto IL_08ac;
}
}
{
int32_t L_366 = V_37;
G_B161_0 = L_366;
goto IL_08b7;
}
IL_08ac:
{
uint8_t* L_367 = V_24;
uint8_t* L_368 = V_25;
G_B161_0 = ((int32_t)((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_367+(int32_t)1))))-(int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_368+(int32_t)1))))));
}
IL_08b7:
{
V_37 = G_B161_0;
int32_t L_369 = V_37;
if (!L_369)
{
goto IL_08c3;
}
}
{
int32_t L_370 = V_37;
return L_370;
}
IL_08c3:
{
int32_t L_371 = V_7;
if ((!(((uint32_t)L_371) == ((uint32_t)1))))
{
goto IL_08d0;
}
}
{
goto IL_00f5;
}
IL_08d0:
{
bool L_372 = V_17;
if (L_372)
{
goto IL_0911;
}
}
{
uint8_t* L_373 = V_24;
uint8_t* L_374 = V_25;
V_37 = ((int32_t)((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_373+(int32_t)2))))-(int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_374+(int32_t)2))))));
int32_t L_375 = V_37;
if (!L_375)
{
goto IL_0911;
}
}
{
int32_t L_376 = V_37;
V_6 = L_376;
bool L_377 = ___immediateBreakup9;
if (!L_377)
{
goto IL_08f8;
}
}
{
return (-1);
}
IL_08f8:
{
bool L_378 = __this->get_frenchSort_3();
if (!L_378)
{
goto IL_0909;
}
}
{
G_B172_0 = 2;
goto IL_090a;
}
IL_0909:
{
G_B172_0 = 1;
}
IL_090a:
{
V_7 = G_B172_0;
goto IL_00f5;
}
IL_0911:
{
int32_t L_379 = V_7;
if ((!(((uint32_t)L_379) == ((uint32_t)2))))
{
goto IL_091e;
}
}
{
goto IL_00f5;
}
IL_091e:
{
uint8_t* L_380 = V_24;
uint8_t* L_381 = V_25;
V_37 = ((int32_t)((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_380+(int32_t)3))))-(int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_381+(int32_t)3))))));
int32_t L_382 = V_37;
if (!L_382)
{
goto IL_0947;
}
}
{
int32_t L_383 = V_37;
V_6 = L_383;
bool L_384 = ___immediateBreakup9;
if (!L_384)
{
goto IL_093f;
}
}
{
return (-1);
}
IL_093f:
{
V_7 = 2;
goto IL_00f5;
}
IL_0947:
{
int32_t L_385 = V_7;
if ((!(((uint32_t)L_385) == ((uint32_t)3))))
{
goto IL_0954;
}
}
{
goto IL_00f5;
}
IL_0954:
{
bool L_386 = V_28;
bool L_387 = V_29;
if ((((int32_t)L_386) == ((int32_t)L_387)))
{
goto IL_097e;
}
}
{
bool L_388 = ___immediateBreakup9;
if (!L_388)
{
goto IL_0966;
}
}
{
return (-1);
}
IL_0966:
{
bool L_389 = V_28;
if (!L_389)
{
goto IL_0973;
}
}
{
G_B187_0 = 1;
goto IL_0974;
}
IL_0973:
{
G_B187_0 = (-1);
}
IL_0974:
{
V_6 = G_B187_0;
V_7 = 3;
goto IL_00f5;
}
IL_097e:
{
bool L_390 = V_28;
if (!L_390)
{
goto IL_0a34;
}
}
{
int32_t L_391 = V_26;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
bool L_392 = MSCompatUnicodeTable_IsJapaneseSmallLetter_m2541532635(NULL /*static, unused*/, (((int32_t)((uint16_t)L_391))), /*hidden argument*/NULL);
int32_t L_393 = V_27;
bool L_394 = MSCompatUnicodeTable_IsJapaneseSmallLetter_m2541532635(NULL /*static, unused*/, (((int32_t)((uint16_t)L_393))), /*hidden argument*/NULL);
int32_t L_395 = SimpleCollator_CompareFlagPair_m1777501184(__this, (bool)((((int32_t)L_392) == ((int32_t)0))? 1 : 0), (bool)((((int32_t)L_394) == ((int32_t)0))? 1 : 0), /*hidden argument*/NULL);
V_37 = L_395;
int32_t L_396 = V_37;
if (!L_396)
{
goto IL_09b1;
}
}
{
int32_t L_397 = V_37;
G_B192_0 = L_397;
goto IL_09c2;
}
IL_09b1:
{
int32_t L_398 = V_12;
int32_t L_399 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(SimpleCollator_t4081201584_il2cpp_TypeInfo_var);
uint8_t L_400 = SimpleCollator_ToDashTypeValue_m2069376469(NULL /*static, unused*/, L_398, L_399, /*hidden argument*/NULL);
int32_t L_401 = V_13;
int32_t L_402 = V_0;
uint8_t L_403 = SimpleCollator_ToDashTypeValue_m2069376469(NULL /*static, unused*/, L_401, L_402, /*hidden argument*/NULL);
G_B192_0 = ((int32_t)((int32_t)L_400-(int32_t)L_403));
}
IL_09c2:
{
V_37 = G_B192_0;
int32_t L_404 = V_37;
if (!L_404)
{
goto IL_09d2;
}
}
{
int32_t L_405 = V_37;
G_B195_0 = L_405;
goto IL_09e8;
}
IL_09d2:
{
int32_t L_406 = V_26;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
bool L_407 = MSCompatUnicodeTable_IsHiragana_m3490024298(NULL /*static, unused*/, (((int32_t)((uint16_t)L_406))), /*hidden argument*/NULL);
int32_t L_408 = V_27;
bool L_409 = MSCompatUnicodeTable_IsHiragana_m3490024298(NULL /*static, unused*/, (((int32_t)((uint16_t)L_408))), /*hidden argument*/NULL);
int32_t L_410 = SimpleCollator_CompareFlagPair_m1777501184(__this, L_407, L_409, /*hidden argument*/NULL);
G_B195_0 = L_410;
}
IL_09e8:
{
V_37 = G_B195_0;
int32_t L_411 = V_37;
if (!L_411)
{
goto IL_09f8;
}
}
{
int32_t L_412 = V_37;
G_B198_0 = L_412;
goto IL_0a16;
}
IL_09f8:
{
int32_t L_413 = V_26;
int32_t L_414 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(SimpleCollator_t4081201584_il2cpp_TypeInfo_var);
bool L_415 = SimpleCollator_IsHalfKana_m4255579023(NULL /*static, unused*/, (((int32_t)((uint16_t)L_413))), L_414, /*hidden argument*/NULL);
int32_t L_416 = V_27;
int32_t L_417 = V_0;
bool L_418 = SimpleCollator_IsHalfKana_m4255579023(NULL /*static, unused*/, (((int32_t)((uint16_t)L_416))), L_417, /*hidden argument*/NULL);
int32_t L_419 = SimpleCollator_CompareFlagPair_m1777501184(__this, (bool)((((int32_t)L_415) == ((int32_t)0))? 1 : 0), (bool)((((int32_t)L_418) == ((int32_t)0))? 1 : 0), /*hidden argument*/NULL);
G_B198_0 = L_419;
}
IL_0a16:
{
V_37 = G_B198_0;
int32_t L_420 = V_37;
if (!L_420)
{
goto IL_0a34;
}
}
{
bool L_421 = ___immediateBreakup9;
if (!L_421)
{
goto IL_0a28;
}
}
{
return (-1);
}
IL_0a28:
{
int32_t L_422 = V_37;
V_6 = L_422;
V_7 = 3;
goto IL_00f5;
}
IL_0a34:
{
goto IL_00f5;
}
IL_0a39:
{
bool L_423 = V_17;
if (L_423)
{
goto IL_0ae0;
}
}
{
int32_t L_424 = V_6;
if (!L_424)
{
goto IL_0ae0;
}
}
{
int32_t L_425 = V_7;
if ((((int32_t)L_425) <= ((int32_t)2)))
{
goto IL_0ae0;
}
}
{
goto IL_0ad0;
}
IL_0a54:
{
String_t* L_426 = ___s10;
int32_t L_427 = ___idx11;
Il2CppChar L_428 = String_get_Chars_m4230566705(L_426, L_427, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
bool L_429 = MSCompatUnicodeTable_IsIgnorableNonSpacing_m3661476786(NULL /*static, unused*/, L_428, /*hidden argument*/NULL);
if (L_429)
{
goto IL_0a6a;
}
}
{
goto IL_0ae0;
}
IL_0a6a:
{
String_t* L_430 = ___s23;
int32_t L_431 = ___idx24;
Il2CppChar L_432 = String_get_Chars_m4230566705(L_430, L_431, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
bool L_433 = MSCompatUnicodeTable_IsIgnorableNonSpacing_m3661476786(NULL /*static, unused*/, L_432, /*hidden argument*/NULL);
if (L_433)
{
goto IL_0a82;
}
}
{
goto IL_0ae0;
}
IL_0a82:
{
String_t* L_434 = ___s10;
int32_t L_435 = ___idx11;
Il2CppChar L_436 = String_get_Chars_m4230566705(L_434, L_435, /*hidden argument*/NULL);
int32_t L_437 = V_0;
int32_t L_438 = SimpleCollator_FilterOptions_m4044781893(__this, L_436, L_437, /*hidden argument*/NULL);
int32_t L_439 = V_12;
uint8_t L_440 = SimpleCollator_Level2_m2254535125(__this, L_438, L_439, /*hidden argument*/NULL);
String_t* L_441 = ___s23;
int32_t L_442 = ___idx24;
Il2CppChar L_443 = String_get_Chars_m4230566705(L_441, L_442, /*hidden argument*/NULL);
int32_t L_444 = V_0;
int32_t L_445 = SimpleCollator_FilterOptions_m4044781893(__this, L_443, L_444, /*hidden argument*/NULL);
int32_t L_446 = V_13;
uint8_t L_447 = SimpleCollator_Level2_m2254535125(__this, L_445, L_446, /*hidden argument*/NULL);
V_6 = ((int32_t)((int32_t)L_440-(int32_t)L_447));
int32_t L_448 = V_6;
if (!L_448)
{
goto IL_0abf;
}
}
{
goto IL_0ae0;
}
IL_0abf:
{
int32_t L_449 = ___idx11;
___idx11 = ((int32_t)((int32_t)L_449+(int32_t)1));
int32_t L_450 = ___idx24;
___idx24 = ((int32_t)((int32_t)L_450+(int32_t)1));
V_12 = 0;
V_13 = 0;
}
IL_0ad0:
{
int32_t L_451 = ___idx11;
int32_t L_452 = V_3;
if ((((int32_t)L_451) >= ((int32_t)L_452)))
{
goto IL_0ae0;
}
}
{
int32_t L_453 = ___idx24;
int32_t L_454 = V_4;
if ((((int32_t)L_453) < ((int32_t)L_454)))
{
goto IL_0a54;
}
}
IL_0ae0:
{
int32_t L_455 = V_7;
if ((!(((uint32_t)L_455) == ((uint32_t)1))))
{
goto IL_0b4c;
}
}
{
int32_t L_456 = V_6;
if (!L_456)
{
goto IL_0b4c;
}
}
{
goto IL_0b14;
}
IL_0af4:
{
String_t* L_457 = ___s10;
int32_t L_458 = ___idx11;
Il2CppChar L_459 = String_get_Chars_m4230566705(L_457, L_458, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
bool L_460 = MSCompatUnicodeTable_IsIgnorableNonSpacing_m3661476786(NULL /*static, unused*/, L_459, /*hidden argument*/NULL);
if (!L_460)
{
goto IL_0b0f;
}
}
{
int32_t L_461 = ___idx11;
___idx11 = ((int32_t)((int32_t)L_461+(int32_t)1));
goto IL_0b14;
}
IL_0b0f:
{
goto IL_0b1b;
}
IL_0b14:
{
int32_t L_462 = ___idx11;
int32_t L_463 = V_3;
if ((((int32_t)L_462) < ((int32_t)L_463)))
{
goto IL_0af4;
}
}
IL_0b1b:
{
goto IL_0b43;
}
IL_0b20:
{
String_t* L_464 = ___s23;
int32_t L_465 = ___idx24;
Il2CppChar L_466 = String_get_Chars_m4230566705(L_464, L_465, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
bool L_467 = MSCompatUnicodeTable_IsIgnorableNonSpacing_m3661476786(NULL /*static, unused*/, L_466, /*hidden argument*/NULL);
if (!L_467)
{
goto IL_0b3e;
}
}
{
int32_t L_468 = ___idx24;
___idx24 = ((int32_t)((int32_t)L_468+(int32_t)1));
goto IL_0b43;
}
IL_0b3e:
{
goto IL_0b4c;
}
IL_0b43:
{
int32_t L_469 = ___idx24;
int32_t L_470 = V_4;
if ((((int32_t)L_469) < ((int32_t)L_470)))
{
goto IL_0b20;
}
}
IL_0b4c:
{
int32_t L_471 = V_6;
if (L_471)
{
goto IL_0b98;
}
}
{
int32_t L_472 = V_8;
if ((((int32_t)L_472) >= ((int32_t)0)))
{
goto IL_0b6b;
}
}
{
int32_t L_473 = V_9;
if ((((int32_t)L_473) < ((int32_t)0)))
{
goto IL_0b6b;
}
}
{
V_6 = (-1);
goto IL_0b98;
}
IL_0b6b:
{
int32_t L_474 = V_9;
if ((((int32_t)L_474) >= ((int32_t)0)))
{
goto IL_0b83;
}
}
{
int32_t L_475 = V_8;
if ((((int32_t)L_475) < ((int32_t)0)))
{
goto IL_0b83;
}
}
{
V_6 = 1;
goto IL_0b98;
}
IL_0b83:
{
int32_t L_476 = V_8;
int32_t L_477 = V_9;
V_6 = ((int32_t)((int32_t)L_476-(int32_t)L_477));
int32_t L_478 = V_6;
if (L_478)
{
goto IL_0b98;
}
}
{
int32_t L_479 = V_10;
int32_t L_480 = V_11;
V_6 = ((int32_t)((int32_t)L_479-(int32_t)L_480));
}
IL_0b98:
{
int32_t L_481 = V_6;
if (L_481)
{
goto IL_0bb7;
}
}
{
int32_t L_482 = ___idx24;
int32_t L_483 = V_4;
if ((!(((uint32_t)L_482) == ((uint32_t)L_483))))
{
goto IL_0bac;
}
}
{
bool* L_484 = ___targetConsumed6;
*((int8_t*)(L_484)) = (int8_t)1;
}
IL_0bac:
{
int32_t L_485 = ___idx11;
int32_t L_486 = V_3;
if ((!(((uint32_t)L_485) == ((uint32_t)L_486))))
{
goto IL_0bb7;
}
}
{
bool* L_487 = ___sourceConsumed7;
*((int8_t*)(L_487)) = (int8_t)1;
}
IL_0bb7:
{
int32_t L_488 = ___idx11;
int32_t L_489 = V_3;
if ((((int32_t)L_488) == ((int32_t)L_489)))
{
goto IL_0bc4;
}
}
{
G_B247_0 = 1;
goto IL_0bd5;
}
IL_0bc4:
{
int32_t L_490 = ___idx24;
int32_t L_491 = V_4;
if ((!(((uint32_t)L_490) == ((uint32_t)L_491))))
{
goto IL_0bd4;
}
}
{
int32_t L_492 = V_6;
G_B247_0 = L_492;
goto IL_0bd5;
}
IL_0bd4:
{
G_B247_0 = (-1);
}
IL_0bd5:
{
return G_B247_0;
}
}
// System.Int32 Mono.Globalization.Unicode.SimpleCollator::CompareFlagPair(System.Boolean,System.Boolean)
extern "C" int32_t SimpleCollator_CompareFlagPair_m1777501184 (SimpleCollator_t4081201584 * __this, bool ___b10, bool ___b21, const MethodInfo* method)
{
int32_t G_B5_0 = 0;
{
bool L_0 = ___b10;
bool L_1 = ___b21;
if ((!(((uint32_t)L_0) == ((uint32_t)L_1))))
{
goto IL_000d;
}
}
{
G_B5_0 = 0;
goto IL_001a;
}
IL_000d:
{
bool L_2 = ___b10;
if (!L_2)
{
goto IL_0019;
}
}
{
G_B5_0 = 1;
goto IL_001a;
}
IL_0019:
{
G_B5_0 = (-1);
}
IL_001a:
{
return G_B5_0;
}
}
// System.Boolean Mono.Globalization.Unicode.SimpleCollator::IsPrefix(System.String,System.String,System.Globalization.CompareOptions)
extern "C" bool SimpleCollator_IsPrefix_m3427394972 (SimpleCollator_t4081201584 * __this, String_t* ___src0, String_t* ___target1, int32_t ___opt2, const MethodInfo* method)
{
{
String_t* L_0 = ___src0;
String_t* L_1 = ___target1;
String_t* L_2 = ___src0;
int32_t L_3 = String_get_Length_m1606060069(L_2, /*hidden argument*/NULL);
int32_t L_4 = ___opt2;
bool L_5 = SimpleCollator_IsPrefix_m2438516594(__this, L_0, L_1, 0, L_3, L_4, /*hidden argument*/NULL);
return L_5;
}
}
// System.Boolean Mono.Globalization.Unicode.SimpleCollator::IsPrefix(System.String,System.String,System.Int32,System.Int32,System.Globalization.CompareOptions)
extern "C" bool SimpleCollator_IsPrefix_m2438516594 (SimpleCollator_t4081201584 * __this, String_t* ___s0, String_t* ___target1, int32_t ___start2, int32_t ___length3, int32_t ___opt4, const MethodInfo* method)
{
uint8_t* V_0 = NULL;
uint8_t* V_1 = NULL;
Context_t2636657155 V_2;
memset(&V_2, 0, sizeof(V_2));
{
String_t* L_0 = ___target1;
int32_t L_1 = String_get_Length_m1606060069(L_0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_000d;
}
}
{
return (bool)1;
}
IL_000d:
{
if ((uint64_t)(uint32_t)4 * (uint64_t)(uint32_t)1 > (uint64_t)(uint32_t)kIl2CppUInt32Max)
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception());
int8_t* L_2 = (int8_t*) alloca(((int32_t)((int32_t)4*(int32_t)1)));
memset(L_2,0,((int32_t)((int32_t)4*(int32_t)1)));
V_0 = (uint8_t*)(L_2);
if ((uint64_t)(uint32_t)4 * (uint64_t)(uint32_t)1 > (uint64_t)(uint32_t)kIl2CppUInt32Max)
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception());
int8_t* L_3 = (int8_t*) alloca(((int32_t)((int32_t)4*(int32_t)1)));
memset(L_3,0,((int32_t)((int32_t)4*(int32_t)1)));
V_1 = (uint8_t*)(L_3);
uint8_t* L_4 = V_0;
SimpleCollator_ClearBuffer_m1828762230(__this, (uint8_t*)(uint8_t*)L_4, 4, /*hidden argument*/NULL);
uint8_t* L_5 = V_1;
SimpleCollator_ClearBuffer_m1828762230(__this, (uint8_t*)(uint8_t*)L_5, 4, /*hidden argument*/NULL);
int32_t L_6 = ___opt4;
uint8_t* L_7 = V_0;
uint8_t* L_8 = V_1;
String_t* L_9 = ___s0;
int32_t L_10 = ___start2;
int32_t L_11 = ___start2;
int32_t L_12 = ___length3;
String_t* L_13 = ___target1;
String_t* L_14 = ___target1;
int32_t L_15 = String_get_Length_m1606060069(L_14, /*hidden argument*/NULL);
bool L_16 = SimpleCollator_QuickCheckPossible_m3145784891(__this, L_9, L_10, ((int32_t)((int32_t)L_11+(int32_t)L_12)), L_13, 0, L_15, /*hidden argument*/NULL);
Context__ctor_m2254074374((&V_2), L_6, (uint8_t*)(uint8_t*)(((uintptr_t)0)), (uint8_t*)(uint8_t*)(((uintptr_t)0)), (uint8_t*)(uint8_t*)L_7, (uint8_t*)(uint8_t*)L_8, (uint8_t*)(uint8_t*)(((uintptr_t)0)), L_16, /*hidden argument*/NULL);
String_t* L_17 = ___s0;
String_t* L_18 = ___target1;
int32_t L_19 = ___start2;
int32_t L_20 = ___length3;
bool L_21 = SimpleCollator_IsPrefix_m363535963(__this, L_17, L_18, L_19, L_20, (bool)1, (&V_2), /*hidden argument*/NULL);
return L_21;
}
}
// System.Boolean Mono.Globalization.Unicode.SimpleCollator::IsPrefix(System.String,System.String,System.Int32,System.Int32,System.Boolean,Mono.Globalization.Unicode.SimpleCollator/Context&)
extern "C" bool SimpleCollator_IsPrefix_m363535963 (SimpleCollator_t4081201584 * __this, String_t* ___s0, String_t* ___target1, int32_t ___start2, int32_t ___length3, bool ___skipHeadingExtenders4, Context_t2636657155 * ___ctx5, const MethodInfo* method)
{
bool V_0 = false;
bool V_1 = false;
{
String_t* L_0 = ___s0;
int32_t L_1 = ___start2;
int32_t L_2 = ___length3;
String_t* L_3 = ___target1;
String_t* L_4 = ___target1;
int32_t L_5 = String_get_Length_m1606060069(L_4, /*hidden argument*/NULL);
bool L_6 = ___skipHeadingExtenders4;
Context_t2636657155 * L_7 = ___ctx5;
SimpleCollator_CompareInternal_m280569710(__this, L_0, L_1, L_2, L_3, 0, L_5, (&V_0), (&V_1), L_6, (bool)1, L_7, /*hidden argument*/NULL);
bool L_8 = V_0;
return L_8;
}
}
// System.Boolean Mono.Globalization.Unicode.SimpleCollator::IsSuffix(System.String,System.String,System.Globalization.CompareOptions)
extern "C" bool SimpleCollator_IsSuffix_m3137828155 (SimpleCollator_t4081201584 * __this, String_t* ___src0, String_t* ___target1, int32_t ___opt2, const MethodInfo* method)
{
{
String_t* L_0 = ___src0;
String_t* L_1 = ___target1;
String_t* L_2 = ___src0;
int32_t L_3 = String_get_Length_m1606060069(L_2, /*hidden argument*/NULL);
String_t* L_4 = ___src0;
int32_t L_5 = String_get_Length_m1606060069(L_4, /*hidden argument*/NULL);
int32_t L_6 = ___opt2;
bool L_7 = SimpleCollator_IsSuffix_m740049399(__this, L_0, L_1, ((int32_t)((int32_t)L_3-(int32_t)1)), L_5, L_6, /*hidden argument*/NULL);
return L_7;
}
}
// System.Boolean Mono.Globalization.Unicode.SimpleCollator::IsSuffix(System.String,System.String,System.Int32,System.Int32,System.Globalization.CompareOptions)
extern "C" bool SimpleCollator_IsSuffix_m740049399 (SimpleCollator_t4081201584 * __this, String_t* ___s0, String_t* ___target1, int32_t ___start2, int32_t ___length3, int32_t ___opt4, const MethodInfo* method)
{
int32_t V_0 = 0;
int32_t G_B5_0 = 0;
{
String_t* L_0 = ___target1;
int32_t L_1 = String_get_Length_m1606060069(L_0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_000d;
}
}
{
return (bool)1;
}
IL_000d:
{
String_t* L_2 = ___s0;
String_t* L_3 = ___target1;
int32_t L_4 = ___start2;
int32_t L_5 = ___length3;
int32_t L_6 = ___opt4;
int32_t L_7 = SimpleCollator_LastIndexOf_m3919677393(__this, L_2, L_3, L_4, L_5, L_6, /*hidden argument*/NULL);
V_0 = L_7;
int32_t L_8 = V_0;
if ((((int32_t)L_8) < ((int32_t)0)))
{
goto IL_0041;
}
}
{
String_t* L_9 = ___s0;
int32_t L_10 = V_0;
String_t* L_11 = ___s0;
int32_t L_12 = String_get_Length_m1606060069(L_11, /*hidden argument*/NULL);
int32_t L_13 = V_0;
String_t* L_14 = ___target1;
String_t* L_15 = ___target1;
int32_t L_16 = String_get_Length_m1606060069(L_15, /*hidden argument*/NULL);
int32_t L_17 = ___opt4;
int32_t L_18 = SimpleCollator_Compare_m168545919(__this, L_9, L_10, ((int32_t)((int32_t)L_12-(int32_t)L_13)), L_14, 0, L_16, L_17, /*hidden argument*/NULL);
G_B5_0 = ((((int32_t)L_18) == ((int32_t)0))? 1 : 0);
goto IL_0042;
}
IL_0041:
{
G_B5_0 = 0;
}
IL_0042:
{
return (bool)G_B5_0;
}
}
// System.Int32 Mono.Globalization.Unicode.SimpleCollator::QuickIndexOf(System.String,System.String,System.Int32,System.Int32,System.Boolean&)
extern "C" int32_t SimpleCollator_QuickIndexOf_m2912556610 (SimpleCollator_t4081201584 * __this, String_t* ___s0, String_t* ___target1, int32_t ___start2, int32_t ___length3, bool* ___testWasUnable4, const MethodInfo* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
int32_t V_3 = 0;
bool V_4 = false;
int32_t V_5 = 0;
{
V_0 = (-1);
V_1 = (-1);
bool* L_0 = ___testWasUnable4;
*((int8_t*)(L_0)) = (int8_t)1;
String_t* L_1 = ___target1;
int32_t L_2 = String_get_Length_m1606060069(L_1, /*hidden argument*/NULL);
if (L_2)
{
goto IL_0015;
}
}
{
return 0;
}
IL_0015:
{
String_t* L_3 = ___target1;
int32_t L_4 = String_get_Length_m1606060069(L_3, /*hidden argument*/NULL);
int32_t L_5 = ___length3;
if ((((int32_t)L_4) <= ((int32_t)L_5)))
{
goto IL_0024;
}
}
{
return (-1);
}
IL_0024:
{
bool* L_6 = ___testWasUnable4;
*((int8_t*)(L_6)) = (int8_t)0;
int32_t L_7 = ___start2;
int32_t L_8 = ___length3;
String_t* L_9 = ___target1;
int32_t L_10 = String_get_Length_m1606060069(L_9, /*hidden argument*/NULL);
V_2 = ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_7+(int32_t)L_8))-(int32_t)L_10))+(int32_t)1));
int32_t L_11 = ___start2;
V_3 = L_11;
goto IL_00d8;
}
IL_003d:
{
V_4 = (bool)0;
V_5 = 0;
goto IL_00b9;
}
IL_0048:
{
int32_t L_12 = V_1;
int32_t L_13 = V_5;
if ((((int32_t)L_12) >= ((int32_t)L_13)))
{
goto IL_006b;
}
}
{
String_t* L_14 = ___target1;
int32_t L_15 = V_5;
Il2CppChar L_16 = String_get_Chars_m4230566705(L_14, L_15, /*hidden argument*/NULL);
if ((((int32_t)L_16) < ((int32_t)((int32_t)128))))
{
goto IL_0068;
}
}
{
bool* L_17 = ___testWasUnable4;
*((int8_t*)(L_17)) = (int8_t)1;
return (-1);
}
IL_0068:
{
int32_t L_18 = V_5;
V_1 = L_18;
}
IL_006b:
{
int32_t L_19 = V_0;
int32_t L_20 = V_3;
int32_t L_21 = V_5;
if ((((int32_t)L_19) >= ((int32_t)((int32_t)((int32_t)L_20+(int32_t)L_21)))))
{
goto IL_0094;
}
}
{
String_t* L_22 = ___s0;
int32_t L_23 = V_3;
int32_t L_24 = V_5;
Il2CppChar L_25 = String_get_Chars_m4230566705(L_22, ((int32_t)((int32_t)L_23+(int32_t)L_24)), /*hidden argument*/NULL);
if ((((int32_t)L_25) < ((int32_t)((int32_t)128))))
{
goto IL_008f;
}
}
{
bool* L_26 = ___testWasUnable4;
*((int8_t*)(L_26)) = (int8_t)1;
return (-1);
}
IL_008f:
{
int32_t L_27 = V_3;
int32_t L_28 = V_5;
V_0 = ((int32_t)((int32_t)L_27+(int32_t)L_28));
}
IL_0094:
{
String_t* L_29 = ___s0;
int32_t L_30 = V_3;
int32_t L_31 = V_5;
Il2CppChar L_32 = String_get_Chars_m4230566705(L_29, ((int32_t)((int32_t)L_30+(int32_t)L_31)), /*hidden argument*/NULL);
String_t* L_33 = ___target1;
int32_t L_34 = V_5;
Il2CppChar L_35 = String_get_Chars_m4230566705(L_33, L_34, /*hidden argument*/NULL);
if ((((int32_t)L_32) == ((int32_t)L_35)))
{
goto IL_00b3;
}
}
{
V_4 = (bool)1;
goto IL_00c6;
}
IL_00b3:
{
int32_t L_36 = V_5;
V_5 = ((int32_t)((int32_t)L_36+(int32_t)1));
}
IL_00b9:
{
int32_t L_37 = V_5;
String_t* L_38 = ___target1;
int32_t L_39 = String_get_Length_m1606060069(L_38, /*hidden argument*/NULL);
if ((((int32_t)L_37) < ((int32_t)L_39)))
{
goto IL_0048;
}
}
IL_00c6:
{
bool L_40 = V_4;
if (!L_40)
{
goto IL_00d2;
}
}
{
goto IL_00d4;
}
IL_00d2:
{
int32_t L_41 = V_3;
return L_41;
}
IL_00d4:
{
int32_t L_42 = V_3;
V_3 = ((int32_t)((int32_t)L_42+(int32_t)1));
}
IL_00d8:
{
int32_t L_43 = V_3;
int32_t L_44 = V_2;
if ((((int32_t)L_43) < ((int32_t)L_44)))
{
goto IL_003d;
}
}
{
return (-1);
}
}
// System.Int32 Mono.Globalization.Unicode.SimpleCollator::IndexOf(System.String,System.String,System.Int32,System.Int32,System.Globalization.CompareOptions)
extern "C" int32_t SimpleCollator_IndexOf_m2575613007 (SimpleCollator_t4081201584 * __this, String_t* ___s0, String_t* ___target1, int32_t ___start2, int32_t ___length3, int32_t ___opt4, const MethodInfo* method)
{
bool V_0 = false;
int32_t V_1 = 0;
uint8_t* V_2 = NULL;
uint8_t* V_3 = NULL;
uint8_t* V_4 = NULL;
uint8_t* V_5 = NULL;
uint8_t* V_6 = NULL;
Context_t2636657155 V_7;
memset(&V_7, 0, sizeof(V_7));
{
int32_t L_0 = ___opt4;
if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)1073741824)))))
{
goto IL_0018;
}
}
{
String_t* L_1 = ___s0;
String_t* L_2 = ___target1;
int32_t L_3 = ___start2;
int32_t L_4 = ___length3;
int32_t L_5 = SimpleCollator_IndexOfOrdinal_m3089683139(__this, L_1, L_2, L_3, L_4, /*hidden argument*/NULL);
return L_5;
}
IL_0018:
{
int32_t L_6 = ___opt4;
if ((!(((uint32_t)L_6) == ((uint32_t)((int32_t)268435456)))))
{
goto IL_0030;
}
}
{
String_t* L_7 = ___s0;
String_t* L_8 = ___target1;
int32_t L_9 = ___start2;
int32_t L_10 = ___length3;
int32_t L_11 = SimpleCollator_IndexOfOrdinalIgnoreCase_m2778858347(__this, L_7, L_8, L_9, L_10, /*hidden argument*/NULL);
return L_11;
}
IL_0030:
{
int32_t L_12 = ___opt4;
if (L_12)
{
goto IL_004d;
}
}
{
String_t* L_13 = ___s0;
String_t* L_14 = ___target1;
int32_t L_15 = ___start2;
int32_t L_16 = ___length3;
int32_t L_17 = SimpleCollator_QuickIndexOf_m2912556610(__this, L_13, L_14, L_15, L_16, (&V_0), /*hidden argument*/NULL);
V_1 = L_17;
bool L_18 = V_0;
if (L_18)
{
goto IL_004d;
}
}
{
int32_t L_19 = V_1;
return L_19;
}
IL_004d:
{
if ((uint64_t)(uint32_t)((int32_t)16) * (uint64_t)(uint32_t)1 > (uint64_t)(uint32_t)kIl2CppUInt32Max)
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception());
int8_t* L_20 = (int8_t*) alloca(((int32_t)((int32_t)((int32_t)16)*(int32_t)1)));
memset(L_20,0,((int32_t)((int32_t)((int32_t)16)*(int32_t)1)));
V_2 = (uint8_t*)(L_20);
if ((uint64_t)(uint32_t)((int32_t)16) * (uint64_t)(uint32_t)1 > (uint64_t)(uint32_t)kIl2CppUInt32Max)
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception());
int8_t* L_21 = (int8_t*) alloca(((int32_t)((int32_t)((int32_t)16)*(int32_t)1)));
memset(L_21,0,((int32_t)((int32_t)((int32_t)16)*(int32_t)1)));
V_3 = (uint8_t*)(L_21);
if ((uint64_t)(uint32_t)4 * (uint64_t)(uint32_t)1 > (uint64_t)(uint32_t)kIl2CppUInt32Max)
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception());
int8_t* L_22 = (int8_t*) alloca(((int32_t)((int32_t)4*(int32_t)1)));
memset(L_22,0,((int32_t)((int32_t)4*(int32_t)1)));
V_4 = (uint8_t*)(L_22);
if ((uint64_t)(uint32_t)4 * (uint64_t)(uint32_t)1 > (uint64_t)(uint32_t)kIl2CppUInt32Max)
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception());
int8_t* L_23 = (int8_t*) alloca(((int32_t)((int32_t)4*(int32_t)1)));
memset(L_23,0,((int32_t)((int32_t)4*(int32_t)1)));
V_5 = (uint8_t*)(L_23);
if ((uint64_t)(uint32_t)4 * (uint64_t)(uint32_t)1 > (uint64_t)(uint32_t)kIl2CppUInt32Max)
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception());
int8_t* L_24 = (int8_t*) alloca(((int32_t)((int32_t)4*(int32_t)1)));
memset(L_24,0,((int32_t)((int32_t)4*(int32_t)1)));
V_6 = (uint8_t*)(L_24);
uint8_t* L_25 = V_2;
SimpleCollator_ClearBuffer_m1828762230(__this, (uint8_t*)(uint8_t*)L_25, ((int32_t)16), /*hidden argument*/NULL);
uint8_t* L_26 = V_3;
SimpleCollator_ClearBuffer_m1828762230(__this, (uint8_t*)(uint8_t*)L_26, ((int32_t)16), /*hidden argument*/NULL);
uint8_t* L_27 = V_4;
SimpleCollator_ClearBuffer_m1828762230(__this, (uint8_t*)(uint8_t*)L_27, 4, /*hidden argument*/NULL);
uint8_t* L_28 = V_5;
SimpleCollator_ClearBuffer_m1828762230(__this, (uint8_t*)(uint8_t*)L_28, 4, /*hidden argument*/NULL);
uint8_t* L_29 = V_6;
SimpleCollator_ClearBuffer_m1828762230(__this, (uint8_t*)(uint8_t*)L_29, 4, /*hidden argument*/NULL);
int32_t L_30 = ___opt4;
uint8_t* L_31 = V_2;
uint8_t* L_32 = V_3;
uint8_t* L_33 = V_5;
uint8_t* L_34 = V_6;
Context__ctor_m2254074374((&V_7), L_30, (uint8_t*)(uint8_t*)L_31, (uint8_t*)(uint8_t*)L_32, (uint8_t*)(uint8_t*)L_33, (uint8_t*)(uint8_t*)L_34, (uint8_t*)(uint8_t*)(((uintptr_t)0)), (bool)0, /*hidden argument*/NULL);
String_t* L_35 = ___s0;
String_t* L_36 = ___target1;
int32_t L_37 = ___start2;
int32_t L_38 = ___length3;
uint8_t* L_39 = V_4;
int32_t L_40 = SimpleCollator_IndexOf_m1409042748(__this, L_35, L_36, L_37, L_38, (uint8_t*)(uint8_t*)L_39, (&V_7), /*hidden argument*/NULL);
return L_40;
}
}
// System.Int32 Mono.Globalization.Unicode.SimpleCollator::IndexOfOrdinal(System.String,System.String,System.Int32,System.Int32)
extern "C" int32_t SimpleCollator_IndexOfOrdinal_m3089683139 (SimpleCollator_t4081201584 * __this, String_t* ___s0, String_t* ___target1, int32_t ___start2, int32_t ___length3, const MethodInfo* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
bool V_2 = false;
int32_t V_3 = 0;
{
String_t* L_0 = ___target1;
int32_t L_1 = String_get_Length_m1606060069(L_0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_000d;
}
}
{
return 0;
}
IL_000d:
{
String_t* L_2 = ___target1;
int32_t L_3 = String_get_Length_m1606060069(L_2, /*hidden argument*/NULL);
int32_t L_4 = ___length3;
if ((((int32_t)L_3) <= ((int32_t)L_4)))
{
goto IL_001c;
}
}
{
return (-1);
}
IL_001c:
{
int32_t L_5 = ___start2;
int32_t L_6 = ___length3;
String_t* L_7 = ___target1;
int32_t L_8 = String_get_Length_m1606060069(L_7, /*hidden argument*/NULL);
V_0 = ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_5+(int32_t)L_6))-(int32_t)L_8))+(int32_t)1));
int32_t L_9 = ___start2;
V_1 = L_9;
goto IL_0077;
}
IL_0031:
{
V_2 = (bool)0;
V_3 = 0;
goto IL_005a;
}
IL_003a:
{
String_t* L_10 = ___s0;
int32_t L_11 = V_1;
int32_t L_12 = V_3;
Il2CppChar L_13 = String_get_Chars_m4230566705(L_10, ((int32_t)((int32_t)L_11+(int32_t)L_12)), /*hidden argument*/NULL);
String_t* L_14 = ___target1;
int32_t L_15 = V_3;
Il2CppChar L_16 = String_get_Chars_m4230566705(L_14, L_15, /*hidden argument*/NULL);
if ((((int32_t)L_13) == ((int32_t)L_16)))
{
goto IL_0056;
}
}
{
V_2 = (bool)1;
goto IL_0066;
}
IL_0056:
{
int32_t L_17 = V_3;
V_3 = ((int32_t)((int32_t)L_17+(int32_t)1));
}
IL_005a:
{
int32_t L_18 = V_3;
String_t* L_19 = ___target1;
int32_t L_20 = String_get_Length_m1606060069(L_19, /*hidden argument*/NULL);
if ((((int32_t)L_18) < ((int32_t)L_20)))
{
goto IL_003a;
}
}
IL_0066:
{
bool L_21 = V_2;
if (!L_21)
{
goto IL_0071;
}
}
{
goto IL_0073;
}
IL_0071:
{
int32_t L_22 = V_1;
return L_22;
}
IL_0073:
{
int32_t L_23 = V_1;
V_1 = ((int32_t)((int32_t)L_23+(int32_t)1));
}
IL_0077:
{
int32_t L_24 = V_1;
int32_t L_25 = V_0;
if ((((int32_t)L_24) < ((int32_t)L_25)))
{
goto IL_0031;
}
}
{
return (-1);
}
}
// System.Int32 Mono.Globalization.Unicode.SimpleCollator::IndexOfOrdinalIgnoreCase(System.String,System.String,System.Int32,System.Int32)
extern "C" int32_t SimpleCollator_IndexOfOrdinalIgnoreCase_m2778858347 (SimpleCollator_t4081201584 * __this, String_t* ___s0, String_t* ___target1, int32_t ___start2, int32_t ___length3, const MethodInfo* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
bool V_2 = false;
int32_t V_3 = 0;
{
String_t* L_0 = ___target1;
int32_t L_1 = String_get_Length_m1606060069(L_0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_000d;
}
}
{
return 0;
}
IL_000d:
{
String_t* L_2 = ___target1;
int32_t L_3 = String_get_Length_m1606060069(L_2, /*hidden argument*/NULL);
int32_t L_4 = ___length3;
if ((((int32_t)L_3) <= ((int32_t)L_4)))
{
goto IL_001c;
}
}
{
return (-1);
}
IL_001c:
{
int32_t L_5 = ___start2;
int32_t L_6 = ___length3;
String_t* L_7 = ___target1;
int32_t L_8 = String_get_Length_m1606060069(L_7, /*hidden argument*/NULL);
V_0 = ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_5+(int32_t)L_6))-(int32_t)L_8))+(int32_t)1));
int32_t L_9 = ___start2;
V_1 = L_9;
goto IL_008d;
}
IL_0031:
{
V_2 = (bool)0;
V_3 = 0;
goto IL_0070;
}
IL_003a:
{
TextInfo_t3620182823 * L_10 = __this->get_textInfo_2();
String_t* L_11 = ___s0;
int32_t L_12 = V_1;
int32_t L_13 = V_3;
Il2CppChar L_14 = String_get_Chars_m4230566705(L_11, ((int32_t)((int32_t)L_12+(int32_t)L_13)), /*hidden argument*/NULL);
Il2CppChar L_15 = VirtFuncInvoker1< Il2CppChar, Il2CppChar >::Invoke(7 /* System.Char System.Globalization.TextInfo::ToLower(System.Char) */, L_10, L_14);
TextInfo_t3620182823 * L_16 = __this->get_textInfo_2();
String_t* L_17 = ___target1;
int32_t L_18 = V_3;
Il2CppChar L_19 = String_get_Chars_m4230566705(L_17, L_18, /*hidden argument*/NULL);
Il2CppChar L_20 = VirtFuncInvoker1< Il2CppChar, Il2CppChar >::Invoke(7 /* System.Char System.Globalization.TextInfo::ToLower(System.Char) */, L_16, L_19);
if ((((int32_t)L_15) == ((int32_t)L_20)))
{
goto IL_006c;
}
}
{
V_2 = (bool)1;
goto IL_007c;
}
IL_006c:
{
int32_t L_21 = V_3;
V_3 = ((int32_t)((int32_t)L_21+(int32_t)1));
}
IL_0070:
{
int32_t L_22 = V_3;
String_t* L_23 = ___target1;
int32_t L_24 = String_get_Length_m1606060069(L_23, /*hidden argument*/NULL);
if ((((int32_t)L_22) < ((int32_t)L_24)))
{
goto IL_003a;
}
}
IL_007c:
{
bool L_25 = V_2;
if (!L_25)
{
goto IL_0087;
}
}
{
goto IL_0089;
}
IL_0087:
{
int32_t L_26 = V_1;
return L_26;
}
IL_0089:
{
int32_t L_27 = V_1;
V_1 = ((int32_t)((int32_t)L_27+(int32_t)1));
}
IL_008d:
{
int32_t L_28 = V_1;
int32_t L_29 = V_0;
if ((((int32_t)L_28) < ((int32_t)L_29)))
{
goto IL_0031;
}
}
{
return (-1);
}
}
// System.Int32 Mono.Globalization.Unicode.SimpleCollator::IndexOfSortKey(System.String,System.Int32,System.Int32,System.Byte*,System.Char,System.Int32,System.Boolean,Mono.Globalization.Unicode.SimpleCollator/Context&)
extern "C" int32_t SimpleCollator_IndexOfSortKey_m874776224 (SimpleCollator_t4081201584 * __this, String_t* ___s0, int32_t ___start1, int32_t ___length2, uint8_t* ___sortkey3, Il2CppChar ___target4, int32_t ___ti5, bool ___noLv46, Context_t2636657155 * ___ctx7, const MethodInfo* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
{
int32_t L_0 = ___start1;
int32_t L_1 = ___length2;
V_0 = ((int32_t)((int32_t)L_0+(int32_t)L_1));
int32_t L_2 = ___start1;
V_1 = L_2;
goto IL_0026;
}
IL_000b:
{
int32_t L_3 = V_1;
V_2 = L_3;
String_t* L_4 = ___s0;
int32_t L_5 = V_0;
int32_t L_6 = ___ti5;
uint8_t* L_7 = ___sortkey3;
bool L_8 = ___noLv46;
Context_t2636657155 * L_9 = ___ctx7;
bool L_10 = SimpleCollator_MatchesForward_m3790525709(__this, L_4, (&V_1), L_5, L_6, (uint8_t*)(uint8_t*)L_7, L_8, L_9, /*hidden argument*/NULL);
if (!L_10)
{
goto IL_0026;
}
}
{
int32_t L_11 = V_2;
return L_11;
}
IL_0026:
{
int32_t L_12 = V_1;
int32_t L_13 = V_0;
if ((((int32_t)L_12) < ((int32_t)L_13)))
{
goto IL_000b;
}
}
{
return (-1);
}
}
// System.Int32 Mono.Globalization.Unicode.SimpleCollator::IndexOf(System.String,System.String,System.Int32,System.Int32,System.Byte*,Mono.Globalization.Unicode.SimpleCollator/Context&)
extern Il2CppClass* SimpleCollator_t4081201584_il2cpp_TypeInfo_var;
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern const uint32_t SimpleCollator_IndexOf_m1409042748_MetadataUsageId;
extern "C" int32_t SimpleCollator_IndexOf_m1409042748 (SimpleCollator_t4081201584 * __this, String_t* ___s0, String_t* ___target1, int32_t ___start2, int32_t ___length3, uint8_t* ___targetSortKey4, Context_t2636657155 * ___ctx5, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SimpleCollator_IndexOf_m1409042748_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
Contraction_t1673853792 * V_2 = NULL;
String_t* V_3 = NULL;
uint8_t* V_4 = NULL;
bool V_5 = false;
Il2CppChar V_6 = 0x0;
int32_t V_7 = 0;
int32_t V_8 = 0;
int32_t V_9 = 0;
Contraction_t1673853792 * V_10 = NULL;
String_t* G_B10_0 = NULL;
uintptr_t G_B13_0 = 0;
{
Context_t2636657155 * L_0 = ___ctx5;
int32_t L_1 = L_0->get_Option_0();
V_0 = L_1;
V_1 = 0;
goto IL_002a;
}
IL_000f:
{
String_t* L_2 = ___target1;
int32_t L_3 = V_1;
Il2CppChar L_4 = String_get_Chars_m4230566705(L_2, L_3, /*hidden argument*/NULL);
int32_t L_5 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(SimpleCollator_t4081201584_il2cpp_TypeInfo_var);
bool L_6 = SimpleCollator_IsIgnorable_m2485013022(NULL /*static, unused*/, L_4, L_5, /*hidden argument*/NULL);
if (L_6)
{
goto IL_0026;
}
}
{
goto IL_0036;
}
IL_0026:
{
int32_t L_7 = V_1;
V_1 = ((int32_t)((int32_t)L_7+(int32_t)1));
}
IL_002a:
{
int32_t L_8 = V_1;
String_t* L_9 = ___target1;
int32_t L_10 = String_get_Length_m1606060069(L_9, /*hidden argument*/NULL);
if ((((int32_t)L_8) < ((int32_t)L_10)))
{
goto IL_000f;
}
}
IL_0036:
{
int32_t L_11 = V_1;
String_t* L_12 = ___target1;
int32_t L_13 = String_get_Length_m1606060069(L_12, /*hidden argument*/NULL);
if ((!(((uint32_t)L_11) == ((uint32_t)L_13))))
{
goto IL_0044;
}
}
{
int32_t L_14 = ___start2;
return L_14;
}
IL_0044:
{
String_t* L_15 = ___target1;
int32_t L_16 = V_1;
String_t* L_17 = ___target1;
int32_t L_18 = String_get_Length_m1606060069(L_17, /*hidden argument*/NULL);
int32_t L_19 = V_1;
Contraction_t1673853792 * L_20 = SimpleCollator_GetContraction_m3674789701(__this, L_15, L_16, ((int32_t)((int32_t)L_18-(int32_t)L_19)), /*hidden argument*/NULL);
V_2 = L_20;
Contraction_t1673853792 * L_21 = V_2;
if (!L_21)
{
goto IL_0066;
}
}
{
Contraction_t1673853792 * L_22 = V_2;
String_t* L_23 = L_22->get_Replacement_1();
G_B10_0 = L_23;
goto IL_0067;
}
IL_0066:
{
G_B10_0 = ((String_t*)(NULL));
}
IL_0067:
{
V_3 = G_B10_0;
String_t* L_24 = V_3;
if (L_24)
{
goto IL_0075;
}
}
{
uint8_t* L_25 = ___targetSortKey4;
G_B13_0 = ((uintptr_t)(intptr_t)(L_25));
goto IL_0077;
}
IL_0075:
{
G_B13_0 = (((uintptr_t)0));
}
IL_0077:
{
V_4 = (uint8_t*)G_B13_0;
V_5 = (bool)1;
V_6 = 0;
V_7 = (-1);
Contraction_t1673853792 * L_26 = V_2;
if (!L_26)
{
goto IL_00c0;
}
}
{
uint8_t* L_27 = V_4;
if (!L_27)
{
goto IL_00c0;
}
}
{
V_8 = 0;
goto IL_00ac;
}
IL_0097:
{
uint8_t* L_28 = V_4;
int32_t L_29 = V_8;
Contraction_t1673853792 * L_30 = V_2;
ByteU5BU5D_t3397334013* L_31 = L_30->get_SortKey_2();
int32_t L_32 = V_8;
int32_t L_33 = L_32;
uint8_t L_34 = (L_31)->GetAt(static_cast<il2cpp_array_size_t>(L_33));
*((int8_t*)(((uint8_t*)((intptr_t)L_28+(int32_t)L_29)))) = (int8_t)L_34;
int32_t L_35 = V_8;
V_8 = ((int32_t)((int32_t)L_35+(int32_t)1));
}
IL_00ac:
{
int32_t L_36 = V_8;
Contraction_t1673853792 * L_37 = V_2;
ByteU5BU5D_t3397334013* L_38 = L_37->get_SortKey_2();
if ((((int32_t)L_36) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_38)->max_length)))))))
{
goto IL_0097;
}
}
{
goto IL_0127;
}
IL_00c0:
{
uint8_t* L_39 = V_4;
if (!L_39)
{
goto IL_0127;
}
}
{
String_t* L_40 = ___target1;
int32_t L_41 = V_1;
Il2CppChar L_42 = String_get_Chars_m4230566705(L_40, L_41, /*hidden argument*/NULL);
V_6 = L_42;
String_t* L_43 = ___target1;
int32_t L_44 = V_1;
Il2CppChar L_45 = String_get_Chars_m4230566705(L_43, L_44, /*hidden argument*/NULL);
int32_t L_46 = V_0;
int32_t L_47 = SimpleCollator_FilterOptions_m4044781893(__this, L_45, L_46, /*hidden argument*/NULL);
V_7 = L_47;
uint8_t* L_48 = V_4;
int32_t L_49 = V_7;
uint8_t L_50 = SimpleCollator_Category_m1504096908(__this, L_49, /*hidden argument*/NULL);
*((int8_t*)(L_48)) = (int8_t)L_50;
uint8_t* L_51 = V_4;
int32_t L_52 = V_7;
uint8_t L_53 = SimpleCollator_Level1_m3813786941(__this, L_52, /*hidden argument*/NULL);
*((int8_t*)(((uint8_t*)((intptr_t)L_51+(int32_t)1)))) = (int8_t)L_53;
int32_t L_54 = V_0;
if (((int32_t)((int32_t)L_54&(int32_t)2)))
{
goto IL_010e;
}
}
{
uint8_t* L_55 = V_4;
int32_t L_56 = V_7;
uint8_t L_57 = SimpleCollator_Level2_m2254535125(__this, L_56, 0, /*hidden argument*/NULL);
*((int8_t*)(((uint8_t*)((intptr_t)L_55+(int32_t)2)))) = (int8_t)L_57;
}
IL_010e:
{
uint8_t* L_58 = V_4;
int32_t L_59 = V_7;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t L_60 = MSCompatUnicodeTable_Level3_m260824928(NULL /*static, unused*/, L_59, /*hidden argument*/NULL);
*((int8_t*)(((uint8_t*)((intptr_t)L_58+(int32_t)3)))) = (int8_t)L_60;
int32_t L_61 = V_7;
bool L_62 = MSCompatUnicodeTable_HasSpecialWeight_m4030611518(NULL /*static, unused*/, (((int32_t)((uint16_t)L_61))), /*hidden argument*/NULL);
V_5 = (bool)((((int32_t)L_62) == ((int32_t)0))? 1 : 0);
}
IL_0127:
{
uint8_t* L_63 = V_4;
if (!L_63)
{
goto IL_0189;
}
}
{
int32_t L_64 = V_1;
V_1 = ((int32_t)((int32_t)L_64+(int32_t)1));
goto IL_017d;
}
IL_0137:
{
String_t* L_65 = ___target1;
int32_t L_66 = V_1;
Il2CppChar L_67 = String_get_Chars_m4230566705(L_65, L_66, /*hidden argument*/NULL);
uint8_t L_68 = SimpleCollator_Category_m1504096908(__this, L_67, /*hidden argument*/NULL);
if ((((int32_t)L_68) == ((int32_t)1)))
{
goto IL_014f;
}
}
{
goto IL_0189;
}
IL_014f:
{
uint8_t* L_69 = V_4;
if ((*((uint8_t*)((uint8_t*)((intptr_t)L_69+(int32_t)2)))))
{
goto IL_015f;
}
}
{
uint8_t* L_70 = V_4;
*((int8_t*)(((uint8_t*)((intptr_t)L_70+(int32_t)2)))) = (int8_t)2;
}
IL_015f:
{
uint8_t* L_71 = V_4;
uint8_t* L_72 = V_4;
String_t* L_73 = ___target1;
int32_t L_74 = V_1;
Il2CppChar L_75 = String_get_Chars_m4230566705(L_73, L_74, /*hidden argument*/NULL);
uint8_t L_76 = SimpleCollator_Level2_m2254535125(__this, L_75, 0, /*hidden argument*/NULL);
*((int8_t*)(((uint8_t*)((intptr_t)L_71+(int32_t)2)))) = (int8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_72+(int32_t)2))))+(int32_t)L_76)))));
int32_t L_77 = V_1;
V_1 = ((int32_t)((int32_t)L_77+(int32_t)1));
}
IL_017d:
{
int32_t L_78 = V_1;
String_t* L_79 = ___target1;
int32_t L_80 = String_get_Length_m1606060069(L_79, /*hidden argument*/NULL);
if ((((int32_t)L_78) < ((int32_t)L_80)))
{
goto IL_0137;
}
}
IL_0189:
{
V_9 = 0;
String_t* L_81 = V_3;
if (!L_81)
{
goto IL_01a8;
}
}
{
String_t* L_82 = ___s0;
String_t* L_83 = V_3;
int32_t L_84 = ___start2;
int32_t L_85 = ___length3;
uint8_t* L_86 = ___targetSortKey4;
Context_t2636657155 * L_87 = ___ctx5;
int32_t L_88 = SimpleCollator_IndexOf_m1409042748(__this, L_82, L_83, L_84, L_85, (uint8_t*)(uint8_t*)L_86, L_87, /*hidden argument*/NULL);
V_9 = L_88;
goto IL_01be;
}
IL_01a8:
{
String_t* L_89 = ___s0;
int32_t L_90 = ___start2;
int32_t L_91 = ___length3;
uint8_t* L_92 = V_4;
Il2CppChar L_93 = V_6;
int32_t L_94 = V_7;
bool L_95 = V_5;
Context_t2636657155 * L_96 = ___ctx5;
int32_t L_97 = SimpleCollator_IndexOfSortKey_m874776224(__this, L_89, L_90, L_91, (uint8_t*)(uint8_t*)L_92, L_93, L_94, L_95, L_96, /*hidden argument*/NULL);
V_9 = L_97;
}
IL_01be:
{
int32_t L_98 = V_9;
if ((((int32_t)L_98) >= ((int32_t)0)))
{
goto IL_01c8;
}
}
{
return (-1);
}
IL_01c8:
{
int32_t L_99 = ___length3;
int32_t L_100 = V_9;
int32_t L_101 = ___start2;
___length3 = ((int32_t)((int32_t)L_99-(int32_t)((int32_t)((int32_t)L_100-(int32_t)L_101))));
int32_t L_102 = V_9;
___start2 = L_102;
String_t* L_103 = ___s0;
String_t* L_104 = ___target1;
int32_t L_105 = ___start2;
int32_t L_106 = ___length3;
Context_t2636657155 * L_107 = ___ctx5;
bool L_108 = SimpleCollator_IsPrefix_m363535963(__this, L_103, L_104, L_105, L_106, (bool)0, L_107, /*hidden argument*/NULL);
if (!L_108)
{
goto IL_01eb;
}
}
{
int32_t L_109 = V_9;
return L_109;
}
IL_01eb:
{
String_t* L_110 = ___s0;
int32_t L_111 = ___start2;
int32_t L_112 = ___length3;
Contraction_t1673853792 * L_113 = SimpleCollator_GetContraction_m3674789701(__this, L_110, L_111, L_112, /*hidden argument*/NULL);
V_10 = L_113;
Contraction_t1673853792 * L_114 = V_10;
if (!L_114)
{
goto IL_021e;
}
}
{
int32_t L_115 = ___start2;
Contraction_t1673853792 * L_116 = V_10;
CharU5BU5D_t1328083999* L_117 = L_116->get_Source_0();
___start2 = ((int32_t)((int32_t)L_115+(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_117)->max_length))))));
int32_t L_118 = ___length3;
Contraction_t1673853792 * L_119 = V_10;
CharU5BU5D_t1328083999* L_120 = L_119->get_Source_0();
___length3 = ((int32_t)((int32_t)L_118-(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_120)->max_length))))));
goto IL_0229;
}
IL_021e:
{
int32_t L_121 = ___start2;
___start2 = ((int32_t)((int32_t)L_121+(int32_t)1));
int32_t L_122 = ___length3;
___length3 = ((int32_t)((int32_t)L_122-(int32_t)1));
}
IL_0229:
{
int32_t L_123 = ___length3;
if ((((int32_t)L_123) > ((int32_t)0)))
{
goto IL_0189;
}
}
{
return (-1);
}
}
// System.Int32 Mono.Globalization.Unicode.SimpleCollator::LastIndexOf(System.String,System.String,System.Int32,System.Int32,System.Globalization.CompareOptions)
extern "C" int32_t SimpleCollator_LastIndexOf_m3919677393 (SimpleCollator_t4081201584 * __this, String_t* ___s0, String_t* ___target1, int32_t ___start2, int32_t ___length3, int32_t ___opt4, const MethodInfo* method)
{
uint8_t* V_0 = NULL;
uint8_t* V_1 = NULL;
uint8_t* V_2 = NULL;
uint8_t* V_3 = NULL;
uint8_t* V_4 = NULL;
Context_t2636657155 V_5;
memset(&V_5, 0, sizeof(V_5));
{
int32_t L_0 = ___opt4;
if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)1073741824)))))
{
goto IL_0018;
}
}
{
String_t* L_1 = ___s0;
String_t* L_2 = ___target1;
int32_t L_3 = ___start2;
int32_t L_4 = ___length3;
int32_t L_5 = SimpleCollator_LastIndexOfOrdinal_m45234497(__this, L_1, L_2, L_3, L_4, /*hidden argument*/NULL);
return L_5;
}
IL_0018:
{
int32_t L_6 = ___opt4;
if ((!(((uint32_t)L_6) == ((uint32_t)((int32_t)268435456)))))
{
goto IL_0030;
}
}
{
String_t* L_7 = ___s0;
String_t* L_8 = ___target1;
int32_t L_9 = ___start2;
int32_t L_10 = ___length3;
int32_t L_11 = SimpleCollator_LastIndexOfOrdinalIgnoreCase_m550798345(__this, L_7, L_8, L_9, L_10, /*hidden argument*/NULL);
return L_11;
}
IL_0030:
{
if ((uint64_t)(uint32_t)((int32_t)16) * (uint64_t)(uint32_t)1 > (uint64_t)(uint32_t)kIl2CppUInt32Max)
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception());
int8_t* L_12 = (int8_t*) alloca(((int32_t)((int32_t)((int32_t)16)*(int32_t)1)));
memset(L_12,0,((int32_t)((int32_t)((int32_t)16)*(int32_t)1)));
V_0 = (uint8_t*)(L_12);
if ((uint64_t)(uint32_t)((int32_t)16) * (uint64_t)(uint32_t)1 > (uint64_t)(uint32_t)kIl2CppUInt32Max)
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception());
int8_t* L_13 = (int8_t*) alloca(((int32_t)((int32_t)((int32_t)16)*(int32_t)1)));
memset(L_13,0,((int32_t)((int32_t)((int32_t)16)*(int32_t)1)));
V_1 = (uint8_t*)(L_13);
if ((uint64_t)(uint32_t)4 * (uint64_t)(uint32_t)1 > (uint64_t)(uint32_t)kIl2CppUInt32Max)
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception());
int8_t* L_14 = (int8_t*) alloca(((int32_t)((int32_t)4*(int32_t)1)));
memset(L_14,0,((int32_t)((int32_t)4*(int32_t)1)));
V_2 = (uint8_t*)(L_14);
if ((uint64_t)(uint32_t)4 * (uint64_t)(uint32_t)1 > (uint64_t)(uint32_t)kIl2CppUInt32Max)
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception());
int8_t* L_15 = (int8_t*) alloca(((int32_t)((int32_t)4*(int32_t)1)));
memset(L_15,0,((int32_t)((int32_t)4*(int32_t)1)));
V_3 = (uint8_t*)(L_15);
if ((uint64_t)(uint32_t)4 * (uint64_t)(uint32_t)1 > (uint64_t)(uint32_t)kIl2CppUInt32Max)
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception());
int8_t* L_16 = (int8_t*) alloca(((int32_t)((int32_t)4*(int32_t)1)));
memset(L_16,0,((int32_t)((int32_t)4*(int32_t)1)));
V_4 = (uint8_t*)(L_16);
uint8_t* L_17 = V_0;
SimpleCollator_ClearBuffer_m1828762230(__this, (uint8_t*)(uint8_t*)L_17, ((int32_t)16), /*hidden argument*/NULL);
uint8_t* L_18 = V_1;
SimpleCollator_ClearBuffer_m1828762230(__this, (uint8_t*)(uint8_t*)L_18, ((int32_t)16), /*hidden argument*/NULL);
uint8_t* L_19 = V_2;
SimpleCollator_ClearBuffer_m1828762230(__this, (uint8_t*)(uint8_t*)L_19, 4, /*hidden argument*/NULL);
uint8_t* L_20 = V_3;
SimpleCollator_ClearBuffer_m1828762230(__this, (uint8_t*)(uint8_t*)L_20, 4, /*hidden argument*/NULL);
uint8_t* L_21 = V_4;
SimpleCollator_ClearBuffer_m1828762230(__this, (uint8_t*)(uint8_t*)L_21, 4, /*hidden argument*/NULL);
int32_t L_22 = ___opt4;
uint8_t* L_23 = V_0;
uint8_t* L_24 = V_1;
uint8_t* L_25 = V_3;
uint8_t* L_26 = V_4;
Context__ctor_m2254074374((&V_5), L_22, (uint8_t*)(uint8_t*)L_23, (uint8_t*)(uint8_t*)L_24, (uint8_t*)(uint8_t*)L_25, (uint8_t*)(uint8_t*)L_26, (uint8_t*)(uint8_t*)(((uintptr_t)0)), (bool)0, /*hidden argument*/NULL);
String_t* L_27 = ___s0;
String_t* L_28 = ___target1;
int32_t L_29 = ___start2;
int32_t L_30 = ___length3;
uint8_t* L_31 = V_2;
int32_t L_32 = SimpleCollator_LastIndexOf_m440117924(__this, L_27, L_28, L_29, L_30, (uint8_t*)(uint8_t*)L_31, (&V_5), /*hidden argument*/NULL);
return L_32;
}
}
// System.Int32 Mono.Globalization.Unicode.SimpleCollator::LastIndexOfOrdinal(System.String,System.String,System.Int32,System.Int32)
extern "C" int32_t SimpleCollator_LastIndexOfOrdinal_m45234497 (SimpleCollator_t4081201584 * __this, String_t* ___s0, String_t* ___target1, int32_t ___start2, int32_t ___length3, const MethodInfo* method)
{
int32_t V_0 = 0;
Il2CppChar V_1 = 0x0;
int32_t V_2 = 0;
int32_t V_3 = 0;
bool V_4 = false;
int32_t V_5 = 0;
{
String_t* L_0 = ___target1;
int32_t L_1 = String_get_Length_m1606060069(L_0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_000d;
}
}
{
return 0;
}
IL_000d:
{
String_t* L_2 = ___s0;
int32_t L_3 = String_get_Length_m1606060069(L_2, /*hidden argument*/NULL);
String_t* L_4 = ___target1;
int32_t L_5 = String_get_Length_m1606060069(L_4, /*hidden argument*/NULL);
if ((((int32_t)L_3) < ((int32_t)L_5)))
{
goto IL_002b;
}
}
{
String_t* L_6 = ___target1;
int32_t L_7 = String_get_Length_m1606060069(L_6, /*hidden argument*/NULL);
int32_t L_8 = ___length3;
if ((((int32_t)L_7) <= ((int32_t)L_8)))
{
goto IL_002d;
}
}
IL_002b:
{
return (-1);
}
IL_002d:
{
int32_t L_9 = ___start2;
int32_t L_10 = ___length3;
String_t* L_11 = ___target1;
int32_t L_12 = String_get_Length_m1606060069(L_11, /*hidden argument*/NULL);
V_0 = ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_9-(int32_t)L_10))+(int32_t)L_12))-(int32_t)1));
String_t* L_13 = ___target1;
String_t* L_14 = ___target1;
int32_t L_15 = String_get_Length_m1606060069(L_14, /*hidden argument*/NULL);
Il2CppChar L_16 = String_get_Chars_m4230566705(L_13, ((int32_t)((int32_t)L_15-(int32_t)1)), /*hidden argument*/NULL);
V_1 = L_16;
int32_t L_17 = ___start2;
V_2 = L_17;
goto IL_00c3;
}
IL_0051:
{
String_t* L_18 = ___s0;
int32_t L_19 = V_2;
Il2CppChar L_20 = String_get_Chars_m4230566705(L_18, L_19, /*hidden argument*/NULL);
Il2CppChar L_21 = V_1;
if ((((int32_t)L_20) == ((int32_t)L_21)))
{
goto IL_0067;
}
}
{
int32_t L_22 = V_2;
V_2 = ((int32_t)((int32_t)L_22-(int32_t)1));
goto IL_00c3;
}
IL_0067:
{
int32_t L_23 = V_2;
String_t* L_24 = ___target1;
int32_t L_25 = String_get_Length_m1606060069(L_24, /*hidden argument*/NULL);
V_3 = ((int32_t)((int32_t)((int32_t)((int32_t)L_23-(int32_t)L_25))+(int32_t)1));
int32_t L_26 = V_2;
V_2 = ((int32_t)((int32_t)L_26-(int32_t)1));
V_4 = (bool)0;
String_t* L_27 = ___target1;
int32_t L_28 = String_get_Length_m1606060069(L_27, /*hidden argument*/NULL);
V_5 = ((int32_t)((int32_t)L_28-(int32_t)2));
goto IL_00ad;
}
IL_0088:
{
String_t* L_29 = ___s0;
int32_t L_30 = V_3;
int32_t L_31 = V_5;
Il2CppChar L_32 = String_get_Chars_m4230566705(L_29, ((int32_t)((int32_t)L_30+(int32_t)L_31)), /*hidden argument*/NULL);
String_t* L_33 = ___target1;
int32_t L_34 = V_5;
Il2CppChar L_35 = String_get_Chars_m4230566705(L_33, L_34, /*hidden argument*/NULL);
if ((((int32_t)L_32) == ((int32_t)L_35)))
{
goto IL_00a7;
}
}
{
V_4 = (bool)1;
goto IL_00b5;
}
IL_00a7:
{
int32_t L_36 = V_5;
V_5 = ((int32_t)((int32_t)L_36-(int32_t)1));
}
IL_00ad:
{
int32_t L_37 = V_5;
if ((((int32_t)L_37) >= ((int32_t)0)))
{
goto IL_0088;
}
}
IL_00b5:
{
bool L_38 = V_4;
if (!L_38)
{
goto IL_00c1;
}
}
{
goto IL_00c3;
}
IL_00c1:
{
int32_t L_39 = V_3;
return L_39;
}
IL_00c3:
{
int32_t L_40 = V_2;
int32_t L_41 = V_0;
if ((((int32_t)L_40) > ((int32_t)L_41)))
{
goto IL_0051;
}
}
{
return (-1);
}
}
// System.Int32 Mono.Globalization.Unicode.SimpleCollator::LastIndexOfOrdinalIgnoreCase(System.String,System.String,System.Int32,System.Int32)
extern "C" int32_t SimpleCollator_LastIndexOfOrdinalIgnoreCase_m550798345 (SimpleCollator_t4081201584 * __this, String_t* ___s0, String_t* ___target1, int32_t ___start2, int32_t ___length3, const MethodInfo* method)
{
int32_t V_0 = 0;
Il2CppChar V_1 = 0x0;
int32_t V_2 = 0;
int32_t V_3 = 0;
bool V_4 = false;
int32_t V_5 = 0;
{
String_t* L_0 = ___target1;
int32_t L_1 = String_get_Length_m1606060069(L_0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_000d;
}
}
{
return 0;
}
IL_000d:
{
String_t* L_2 = ___s0;
int32_t L_3 = String_get_Length_m1606060069(L_2, /*hidden argument*/NULL);
int32_t L_4 = ___length3;
if ((((int32_t)L_3) < ((int32_t)L_4)))
{
goto IL_0027;
}
}
{
String_t* L_5 = ___target1;
int32_t L_6 = String_get_Length_m1606060069(L_5, /*hidden argument*/NULL);
int32_t L_7 = ___length3;
if ((((int32_t)L_6) <= ((int32_t)L_7)))
{
goto IL_0029;
}
}
IL_0027:
{
return (-1);
}
IL_0029:
{
int32_t L_8 = ___start2;
int32_t L_9 = ___length3;
String_t* L_10 = ___target1;
int32_t L_11 = String_get_Length_m1606060069(L_10, /*hidden argument*/NULL);
V_0 = ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_8-(int32_t)L_9))+(int32_t)L_11))-(int32_t)1));
TextInfo_t3620182823 * L_12 = __this->get_textInfo_2();
String_t* L_13 = ___target1;
String_t* L_14 = ___target1;
int32_t L_15 = String_get_Length_m1606060069(L_14, /*hidden argument*/NULL);
Il2CppChar L_16 = String_get_Chars_m4230566705(L_13, ((int32_t)((int32_t)L_15-(int32_t)1)), /*hidden argument*/NULL);
Il2CppChar L_17 = VirtFuncInvoker1< Il2CppChar, Il2CppChar >::Invoke(7 /* System.Char System.Globalization.TextInfo::ToLower(System.Char) */, L_12, L_16);
V_1 = L_17;
int32_t L_18 = ___start2;
V_2 = L_18;
goto IL_00eb;
}
IL_0058:
{
TextInfo_t3620182823 * L_19 = __this->get_textInfo_2();
String_t* L_20 = ___s0;
int32_t L_21 = V_2;
Il2CppChar L_22 = String_get_Chars_m4230566705(L_20, L_21, /*hidden argument*/NULL);
Il2CppChar L_23 = VirtFuncInvoker1< Il2CppChar, Il2CppChar >::Invoke(7 /* System.Char System.Globalization.TextInfo::ToLower(System.Char) */, L_19, L_22);
Il2CppChar L_24 = V_1;
if ((((int32_t)L_23) == ((int32_t)L_24)))
{
goto IL_0079;
}
}
{
int32_t L_25 = V_2;
V_2 = ((int32_t)((int32_t)L_25-(int32_t)1));
goto IL_00eb;
}
IL_0079:
{
int32_t L_26 = V_2;
String_t* L_27 = ___target1;
int32_t L_28 = String_get_Length_m1606060069(L_27, /*hidden argument*/NULL);
V_3 = ((int32_t)((int32_t)((int32_t)((int32_t)L_26-(int32_t)L_28))+(int32_t)1));
int32_t L_29 = V_2;
V_2 = ((int32_t)((int32_t)L_29-(int32_t)1));
V_4 = (bool)0;
String_t* L_30 = ___target1;
int32_t L_31 = String_get_Length_m1606060069(L_30, /*hidden argument*/NULL);
V_5 = ((int32_t)((int32_t)L_31-(int32_t)2));
goto IL_00d5;
}
IL_009a:
{
TextInfo_t3620182823 * L_32 = __this->get_textInfo_2();
String_t* L_33 = ___s0;
int32_t L_34 = V_3;
int32_t L_35 = V_5;
Il2CppChar L_36 = String_get_Chars_m4230566705(L_33, ((int32_t)((int32_t)L_34+(int32_t)L_35)), /*hidden argument*/NULL);
Il2CppChar L_37 = VirtFuncInvoker1< Il2CppChar, Il2CppChar >::Invoke(7 /* System.Char System.Globalization.TextInfo::ToLower(System.Char) */, L_32, L_36);
TextInfo_t3620182823 * L_38 = __this->get_textInfo_2();
String_t* L_39 = ___target1;
int32_t L_40 = V_5;
Il2CppChar L_41 = String_get_Chars_m4230566705(L_39, L_40, /*hidden argument*/NULL);
Il2CppChar L_42 = VirtFuncInvoker1< Il2CppChar, Il2CppChar >::Invoke(7 /* System.Char System.Globalization.TextInfo::ToLower(System.Char) */, L_38, L_41);
if ((((int32_t)L_37) == ((int32_t)L_42)))
{
goto IL_00cf;
}
}
{
V_4 = (bool)1;
goto IL_00dd;
}
IL_00cf:
{
int32_t L_43 = V_5;
V_5 = ((int32_t)((int32_t)L_43-(int32_t)1));
}
IL_00d5:
{
int32_t L_44 = V_5;
if ((((int32_t)L_44) >= ((int32_t)0)))
{
goto IL_009a;
}
}
IL_00dd:
{
bool L_45 = V_4;
if (!L_45)
{
goto IL_00e9;
}
}
{
goto IL_00eb;
}
IL_00e9:
{
int32_t L_46 = V_3;
return L_46;
}
IL_00eb:
{
int32_t L_47 = V_2;
int32_t L_48 = V_0;
if ((((int32_t)L_47) > ((int32_t)L_48)))
{
goto IL_0058;
}
}
{
return (-1);
}
}
// System.Int32 Mono.Globalization.Unicode.SimpleCollator::LastIndexOfSortKey(System.String,System.Int32,System.Int32,System.Int32,System.Byte*,System.Int32,System.Boolean,Mono.Globalization.Unicode.SimpleCollator/Context&)
extern "C" int32_t SimpleCollator_LastIndexOfSortKey_m1695731400 (SimpleCollator_t4081201584 * __this, String_t* ___s0, int32_t ___start1, int32_t ___orgStart2, int32_t ___length3, uint8_t* ___sortkey4, int32_t ___ti5, bool ___noLv46, Context_t2636657155 * ___ctx7, const MethodInfo* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
{
int32_t L_0 = ___start1;
int32_t L_1 = ___length3;
V_0 = ((int32_t)((int32_t)L_0-(int32_t)L_1));
int32_t L_2 = ___start1;
V_1 = L_2;
goto IL_0028;
}
IL_000c:
{
int32_t L_3 = V_1;
V_2 = L_3;
String_t* L_4 = ___s0;
int32_t L_5 = V_0;
int32_t L_6 = ___orgStart2;
int32_t L_7 = ___ti5;
uint8_t* L_8 = ___sortkey4;
bool L_9 = ___noLv46;
Context_t2636657155 * L_10 = ___ctx7;
bool L_11 = SimpleCollator_MatchesBackward_m2208209332(__this, L_4, (&V_1), L_5, L_6, L_7, (uint8_t*)(uint8_t*)L_8, L_9, L_10, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_0028;
}
}
{
int32_t L_12 = V_2;
return L_12;
}
IL_0028:
{
int32_t L_13 = V_1;
int32_t L_14 = V_0;
if ((((int32_t)L_13) > ((int32_t)L_14)))
{
goto IL_000c;
}
}
{
return (-1);
}
}
// System.Int32 Mono.Globalization.Unicode.SimpleCollator::LastIndexOf(System.String,System.String,System.Int32,System.Int32,System.Byte*,Mono.Globalization.Unicode.SimpleCollator/Context&)
extern Il2CppClass* SimpleCollator_t4081201584_il2cpp_TypeInfo_var;
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern const uint32_t SimpleCollator_LastIndexOf_m440117924_MetadataUsageId;
extern "C" int32_t SimpleCollator_LastIndexOf_m440117924 (SimpleCollator_t4081201584 * __this, String_t* ___s0, String_t* ___target1, int32_t ___start2, int32_t ___length3, uint8_t* ___targetSortKey4, Context_t2636657155 * ___ctx5, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SimpleCollator_LastIndexOf_m440117924_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
Contraction_t1673853792 * V_3 = NULL;
String_t* V_4 = NULL;
uint8_t* V_5 = NULL;
bool V_6 = false;
int32_t V_7 = 0;
int32_t V_8 = 0;
int32_t V_9 = 0;
Contraction_t1673853792 * V_10 = NULL;
String_t* G_B10_0 = NULL;
uintptr_t G_B13_0 = 0;
{
Context_t2636657155 * L_0 = ___ctx5;
int32_t L_1 = L_0->get_Option_0();
V_0 = L_1;
int32_t L_2 = ___start2;
V_1 = L_2;
V_2 = 0;
goto IL_002c;
}
IL_0011:
{
String_t* L_3 = ___target1;
int32_t L_4 = V_2;
Il2CppChar L_5 = String_get_Chars_m4230566705(L_3, L_4, /*hidden argument*/NULL);
int32_t L_6 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(SimpleCollator_t4081201584_il2cpp_TypeInfo_var);
bool L_7 = SimpleCollator_IsIgnorable_m2485013022(NULL /*static, unused*/, L_5, L_6, /*hidden argument*/NULL);
if (L_7)
{
goto IL_0028;
}
}
{
goto IL_0038;
}
IL_0028:
{
int32_t L_8 = V_2;
V_2 = ((int32_t)((int32_t)L_8+(int32_t)1));
}
IL_002c:
{
int32_t L_9 = V_2;
String_t* L_10 = ___target1;
int32_t L_11 = String_get_Length_m1606060069(L_10, /*hidden argument*/NULL);
if ((((int32_t)L_9) < ((int32_t)L_11)))
{
goto IL_0011;
}
}
IL_0038:
{
int32_t L_12 = V_2;
String_t* L_13 = ___target1;
int32_t L_14 = String_get_Length_m1606060069(L_13, /*hidden argument*/NULL);
if ((!(((uint32_t)L_12) == ((uint32_t)L_14))))
{
goto IL_0046;
}
}
{
int32_t L_15 = ___start2;
return L_15;
}
IL_0046:
{
String_t* L_16 = ___target1;
int32_t L_17 = V_2;
String_t* L_18 = ___target1;
int32_t L_19 = String_get_Length_m1606060069(L_18, /*hidden argument*/NULL);
int32_t L_20 = V_2;
Contraction_t1673853792 * L_21 = SimpleCollator_GetContraction_m3674789701(__this, L_16, L_17, ((int32_t)((int32_t)L_19-(int32_t)L_20)), /*hidden argument*/NULL);
V_3 = L_21;
Contraction_t1673853792 * L_22 = V_3;
if (!L_22)
{
goto IL_0068;
}
}
{
Contraction_t1673853792 * L_23 = V_3;
String_t* L_24 = L_23->get_Replacement_1();
G_B10_0 = L_24;
goto IL_0069;
}
IL_0068:
{
G_B10_0 = ((String_t*)(NULL));
}
IL_0069:
{
V_4 = G_B10_0;
String_t* L_25 = V_4;
if (L_25)
{
goto IL_0079;
}
}
{
uint8_t* L_26 = ___targetSortKey4;
G_B13_0 = ((uintptr_t)(intptr_t)(L_26));
goto IL_007b;
}
IL_0079:
{
G_B13_0 = (((uintptr_t)0));
}
IL_007b:
{
V_5 = (uint8_t*)G_B13_0;
V_6 = (bool)1;
V_7 = (-1);
Contraction_t1673853792 * L_27 = V_3;
if (!L_27)
{
goto IL_00c1;
}
}
{
uint8_t* L_28 = V_5;
if (!L_28)
{
goto IL_00c1;
}
}
{
V_8 = 0;
goto IL_00ad;
}
IL_0098:
{
uint8_t* L_29 = V_5;
int32_t L_30 = V_8;
Contraction_t1673853792 * L_31 = V_3;
ByteU5BU5D_t3397334013* L_32 = L_31->get_SortKey_2();
int32_t L_33 = V_8;
int32_t L_34 = L_33;
uint8_t L_35 = (L_32)->GetAt(static_cast<il2cpp_array_size_t>(L_34));
*((int8_t*)(((uint8_t*)((intptr_t)L_29+(int32_t)L_30)))) = (int8_t)L_35;
int32_t L_36 = V_8;
V_8 = ((int32_t)((int32_t)L_36+(int32_t)1));
}
IL_00ad:
{
int32_t L_37 = V_8;
Contraction_t1673853792 * L_38 = V_3;
ByteU5BU5D_t3397334013* L_39 = L_38->get_SortKey_2();
if ((((int32_t)L_37) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_39)->max_length)))))))
{
goto IL_0098;
}
}
{
goto IL_011f;
}
IL_00c1:
{
uint8_t* L_40 = V_5;
if (!L_40)
{
goto IL_011f;
}
}
{
String_t* L_41 = ___target1;
int32_t L_42 = V_2;
Il2CppChar L_43 = String_get_Chars_m4230566705(L_41, L_42, /*hidden argument*/NULL);
int32_t L_44 = V_0;
int32_t L_45 = SimpleCollator_FilterOptions_m4044781893(__this, L_43, L_44, /*hidden argument*/NULL);
V_7 = L_45;
uint8_t* L_46 = V_5;
int32_t L_47 = V_7;
uint8_t L_48 = SimpleCollator_Category_m1504096908(__this, L_47, /*hidden argument*/NULL);
*((int8_t*)(L_46)) = (int8_t)L_48;
uint8_t* L_49 = V_5;
int32_t L_50 = V_7;
uint8_t L_51 = SimpleCollator_Level1_m3813786941(__this, L_50, /*hidden argument*/NULL);
*((int8_t*)(((uint8_t*)((intptr_t)L_49+(int32_t)1)))) = (int8_t)L_51;
int32_t L_52 = V_0;
if (((int32_t)((int32_t)L_52&(int32_t)2)))
{
goto IL_0106;
}
}
{
uint8_t* L_53 = V_5;
int32_t L_54 = V_7;
uint8_t L_55 = SimpleCollator_Level2_m2254535125(__this, L_54, 0, /*hidden argument*/NULL);
*((int8_t*)(((uint8_t*)((intptr_t)L_53+(int32_t)2)))) = (int8_t)L_55;
}
IL_0106:
{
uint8_t* L_56 = V_5;
int32_t L_57 = V_7;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t L_58 = MSCompatUnicodeTable_Level3_m260824928(NULL /*static, unused*/, L_57, /*hidden argument*/NULL);
*((int8_t*)(((uint8_t*)((intptr_t)L_56+(int32_t)3)))) = (int8_t)L_58;
int32_t L_59 = V_7;
bool L_60 = MSCompatUnicodeTable_HasSpecialWeight_m4030611518(NULL /*static, unused*/, (((int32_t)((uint16_t)L_59))), /*hidden argument*/NULL);
V_6 = (bool)((((int32_t)L_60) == ((int32_t)0))? 1 : 0);
}
IL_011f:
{
uint8_t* L_61 = V_5;
if (!L_61)
{
goto IL_0181;
}
}
{
int32_t L_62 = V_2;
V_2 = ((int32_t)((int32_t)L_62+(int32_t)1));
goto IL_0175;
}
IL_012f:
{
String_t* L_63 = ___target1;
int32_t L_64 = V_2;
Il2CppChar L_65 = String_get_Chars_m4230566705(L_63, L_64, /*hidden argument*/NULL);
uint8_t L_66 = SimpleCollator_Category_m1504096908(__this, L_65, /*hidden argument*/NULL);
if ((((int32_t)L_66) == ((int32_t)1)))
{
goto IL_0147;
}
}
{
goto IL_0181;
}
IL_0147:
{
uint8_t* L_67 = V_5;
if ((*((uint8_t*)((uint8_t*)((intptr_t)L_67+(int32_t)2)))))
{
goto IL_0157;
}
}
{
uint8_t* L_68 = V_5;
*((int8_t*)(((uint8_t*)((intptr_t)L_68+(int32_t)2)))) = (int8_t)2;
}
IL_0157:
{
uint8_t* L_69 = V_5;
uint8_t* L_70 = V_5;
String_t* L_71 = ___target1;
int32_t L_72 = V_2;
Il2CppChar L_73 = String_get_Chars_m4230566705(L_71, L_72, /*hidden argument*/NULL);
uint8_t L_74 = SimpleCollator_Level2_m2254535125(__this, L_73, 0, /*hidden argument*/NULL);
*((int8_t*)(((uint8_t*)((intptr_t)L_69+(int32_t)2)))) = (int8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_70+(int32_t)2))))+(int32_t)L_74)))));
int32_t L_75 = V_2;
V_2 = ((int32_t)((int32_t)L_75+(int32_t)1));
}
IL_0175:
{
int32_t L_76 = V_2;
String_t* L_77 = ___target1;
int32_t L_78 = String_get_Length_m1606060069(L_77, /*hidden argument*/NULL);
if ((((int32_t)L_76) < ((int32_t)L_78)))
{
goto IL_012f;
}
}
IL_0181:
{
V_9 = 0;
String_t* L_79 = V_4;
if (!L_79)
{
goto IL_01a2;
}
}
{
String_t* L_80 = ___s0;
String_t* L_81 = V_4;
int32_t L_82 = ___start2;
int32_t L_83 = ___length3;
uint8_t* L_84 = ___targetSortKey4;
Context_t2636657155 * L_85 = ___ctx5;
int32_t L_86 = SimpleCollator_LastIndexOf_m440117924(__this, L_80, L_81, L_82, L_83, (uint8_t*)(uint8_t*)L_84, L_85, /*hidden argument*/NULL);
V_9 = L_86;
goto IL_01b7;
}
IL_01a2:
{
String_t* L_87 = ___s0;
int32_t L_88 = ___start2;
int32_t L_89 = V_1;
int32_t L_90 = ___length3;
uint8_t* L_91 = V_5;
int32_t L_92 = V_7;
bool L_93 = V_6;
Context_t2636657155 * L_94 = ___ctx5;
int32_t L_95 = SimpleCollator_LastIndexOfSortKey_m1695731400(__this, L_87, L_88, L_89, L_90, (uint8_t*)(uint8_t*)L_91, L_92, L_93, L_94, /*hidden argument*/NULL);
V_9 = L_95;
}
IL_01b7:
{
int32_t L_96 = V_9;
if ((((int32_t)L_96) >= ((int32_t)0)))
{
goto IL_01c1;
}
}
{
return (-1);
}
IL_01c1:
{
int32_t L_97 = ___length3;
int32_t L_98 = ___start2;
int32_t L_99 = V_9;
___length3 = ((int32_t)((int32_t)L_97-(int32_t)((int32_t)((int32_t)L_98-(int32_t)L_99))));
int32_t L_100 = V_9;
___start2 = L_100;
String_t* L_101 = ___s0;
String_t* L_102 = ___target1;
int32_t L_103 = V_9;
int32_t L_104 = V_1;
int32_t L_105 = V_9;
Context_t2636657155 * L_106 = ___ctx5;
bool L_107 = SimpleCollator_IsPrefix_m363535963(__this, L_101, L_102, L_103, ((int32_t)((int32_t)((int32_t)((int32_t)L_104-(int32_t)L_105))+(int32_t)1)), (bool)0, L_106, /*hidden argument*/NULL);
if (!L_107)
{
goto IL_0214;
}
}
{
goto IL_0209;
}
IL_01eb:
{
String_t* L_108 = ___s0;
int32_t L_109 = V_9;
Il2CppChar L_110 = String_get_Chars_m4230566705(L_108, L_109, /*hidden argument*/NULL);
int32_t L_111 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(SimpleCollator_t4081201584_il2cpp_TypeInfo_var);
bool L_112 = SimpleCollator_IsIgnorable_m2485013022(NULL /*static, unused*/, L_110, L_111, /*hidden argument*/NULL);
if (L_112)
{
goto IL_0203;
}
}
{
goto IL_0211;
}
IL_0203:
{
int32_t L_113 = V_9;
V_9 = ((int32_t)((int32_t)L_113+(int32_t)1));
}
IL_0209:
{
int32_t L_114 = V_9;
int32_t L_115 = V_1;
if ((((int32_t)L_114) < ((int32_t)L_115)))
{
goto IL_01eb;
}
}
IL_0211:
{
int32_t L_116 = V_9;
return L_116;
}
IL_0214:
{
String_t* L_117 = ___s0;
int32_t L_118 = V_9;
int32_t L_119 = V_1;
int32_t L_120 = V_9;
Contraction_t1673853792 * L_121 = SimpleCollator_GetContraction_m3674789701(__this, L_117, L_118, ((int32_t)((int32_t)((int32_t)((int32_t)L_119-(int32_t)L_120))+(int32_t)1)), /*hidden argument*/NULL);
V_10 = L_121;
Contraction_t1673853792 * L_122 = V_10;
if (!L_122)
{
goto IL_024c;
}
}
{
int32_t L_123 = ___start2;
Contraction_t1673853792 * L_124 = V_10;
CharU5BU5D_t1328083999* L_125 = L_124->get_Source_0();
___start2 = ((int32_t)((int32_t)L_123-(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_125)->max_length))))));
int32_t L_126 = ___length3;
Contraction_t1673853792 * L_127 = V_10;
CharU5BU5D_t1328083999* L_128 = L_127->get_Source_0();
___length3 = ((int32_t)((int32_t)L_126-(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_128)->max_length))))));
goto IL_0257;
}
IL_024c:
{
int32_t L_129 = ___start2;
___start2 = ((int32_t)((int32_t)L_129-(int32_t)1));
int32_t L_130 = ___length3;
___length3 = ((int32_t)((int32_t)L_130-(int32_t)1));
}
IL_0257:
{
int32_t L_131 = ___length3;
if ((((int32_t)L_131) > ((int32_t)0)))
{
goto IL_0181;
}
}
{
return (-1);
}
}
// System.Boolean Mono.Globalization.Unicode.SimpleCollator::MatchesForward(System.String,System.Int32&,System.Int32,System.Int32,System.Byte*,System.Boolean,Mono.Globalization.Unicode.SimpleCollator/Context&)
extern "C" bool SimpleCollator_MatchesForward_m3790525709 (SimpleCollator_t4081201584 * __this, String_t* ___s0, int32_t* ___idx1, int32_t ___end2, int32_t ___ti3, uint8_t* ___sortkey4, bool ___noLv45, Context_t2636657155 * ___ctx6, const MethodInfo* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
Contraction_t1673853792 * V_2 = NULL;
{
String_t* L_0 = ___s0;
int32_t* L_1 = ___idx1;
Il2CppChar L_2 = String_get_Chars_m4230566705(L_0, (*((int32_t*)L_1)), /*hidden argument*/NULL);
V_0 = L_2;
Context_t2636657155 * L_3 = ___ctx6;
uint8_t* L_4 = L_3->get_AlwaysMatchFlags_2();
if (!L_4)
{
goto IL_003c;
}
}
{
int32_t L_5 = V_0;
if ((((int32_t)L_5) >= ((int32_t)((int32_t)128))))
{
goto IL_003c;
}
}
{
Context_t2636657155 * L_6 = ___ctx6;
uint8_t* L_7 = L_6->get_AlwaysMatchFlags_2();
int32_t L_8 = V_0;
int32_t L_9 = V_0;
if (!((int32_t)((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_7+(int32_t)((int32_t)((int32_t)L_8/(int32_t)8))))))&(int32_t)((int32_t)((int32_t)1<<(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_9%(int32_t)8))&(int32_t)((int32_t)31))))))))
{
goto IL_003c;
}
}
{
return (bool)1;
}
IL_003c:
{
Context_t2636657155 * L_10 = ___ctx6;
uint8_t* L_11 = L_10->get_NeverMatchFlags_1();
if (!L_11)
{
goto IL_0075;
}
}
{
int32_t L_12 = V_0;
if ((((int32_t)L_12) >= ((int32_t)((int32_t)128))))
{
goto IL_0075;
}
}
{
Context_t2636657155 * L_13 = ___ctx6;
uint8_t* L_14 = L_13->get_NeverMatchFlags_1();
int32_t L_15 = V_0;
int32_t L_16 = V_0;
if (!((int32_t)((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_14+(int32_t)((int32_t)((int32_t)L_15/(int32_t)8))))))&(int32_t)((int32_t)((int32_t)1<<(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_16%(int32_t)8))&(int32_t)((int32_t)31))))))))
{
goto IL_0075;
}
}
{
int32_t* L_17 = ___idx1;
int32_t* L_18 = ___idx1;
*((int32_t*)(L_17)) = (int32_t)((int32_t)((int32_t)(*((int32_t*)L_18))+(int32_t)1));
return (bool)0;
}
IL_0075:
{
String_t* L_19 = ___s0;
int32_t* L_20 = ___idx1;
Il2CppChar L_21 = String_get_Chars_m4230566705(L_19, (*((int32_t*)L_20)), /*hidden argument*/NULL);
int32_t L_22 = SimpleCollator_GetExtenderType_m976831551(__this, L_21, /*hidden argument*/NULL);
V_1 = L_22;
V_2 = (Contraction_t1673853792 *)NULL;
String_t* L_23 = ___s0;
int32_t* L_24 = ___idx1;
int32_t L_25 = ___end2;
int32_t L_26 = ___ti3;
uint8_t* L_27 = ___sortkey4;
bool L_28 = ___noLv45;
int32_t L_29 = V_1;
Context_t2636657155 * L_30 = ___ctx6;
bool L_31 = SimpleCollator_MatchesForwardCore_m558011650(__this, L_23, L_24, L_25, L_26, (uint8_t*)(uint8_t*)L_27, L_28, L_29, (&V_2), L_30, /*hidden argument*/NULL);
if (!L_31)
{
goto IL_00dd;
}
}
{
Context_t2636657155 * L_32 = ___ctx6;
uint8_t* L_33 = L_32->get_AlwaysMatchFlags_2();
if (!L_33)
{
goto IL_00db;
}
}
{
Contraction_t1673853792 * L_34 = V_2;
if (L_34)
{
goto IL_00db;
}
}
{
int32_t L_35 = V_1;
if (L_35)
{
goto IL_00db;
}
}
{
int32_t L_36 = V_0;
if ((((int32_t)L_36) >= ((int32_t)((int32_t)128))))
{
goto IL_00db;
}
}
{
Context_t2636657155 * L_37 = ___ctx6;
uint8_t* L_38 = L_37->get_AlwaysMatchFlags_2();
int32_t L_39 = V_0;
uint8_t* L_40 = (uint8_t*)((uint8_t*)((intptr_t)L_38+(int32_t)((int32_t)((int32_t)L_39/(int32_t)8))));
int32_t L_41 = V_0;
*((int8_t*)(L_40)) = (int8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)(*((uint8_t*)L_40))|(int32_t)(((int32_t)((uint8_t)((int32_t)((int32_t)1<<(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_41%(int32_t)8))&(int32_t)((int32_t)31)))))))))))));
}
IL_00db:
{
return (bool)1;
}
IL_00dd:
{
Context_t2636657155 * L_42 = ___ctx6;
uint8_t* L_43 = L_42->get_NeverMatchFlags_1();
if (!L_43)
{
goto IL_0119;
}
}
{
Contraction_t1673853792 * L_44 = V_2;
if (L_44)
{
goto IL_0119;
}
}
{
int32_t L_45 = V_1;
if (L_45)
{
goto IL_0119;
}
}
{
int32_t L_46 = V_0;
if ((((int32_t)L_46) >= ((int32_t)((int32_t)128))))
{
goto IL_0119;
}
}
{
Context_t2636657155 * L_47 = ___ctx6;
uint8_t* L_48 = L_47->get_NeverMatchFlags_1();
int32_t L_49 = V_0;
uint8_t* L_50 = (uint8_t*)((uint8_t*)((intptr_t)L_48+(int32_t)((int32_t)((int32_t)L_49/(int32_t)8))));
int32_t L_51 = V_0;
*((int8_t*)(L_50)) = (int8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)(*((uint8_t*)L_50))|(int32_t)(((int32_t)((uint8_t)((int32_t)((int32_t)1<<(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_51%(int32_t)8))&(int32_t)((int32_t)31)))))))))))));
}
IL_0119:
{
return (bool)0;
}
}
// System.Boolean Mono.Globalization.Unicode.SimpleCollator::MatchesForwardCore(System.String,System.Int32&,System.Int32,System.Int32,System.Byte*,System.Boolean,Mono.Globalization.Unicode.SimpleCollator/ExtenderType,Mono.Globalization.Unicode.Contraction&,Mono.Globalization.Unicode.SimpleCollator/Context&)
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern const uint32_t SimpleCollator_MatchesForwardCore_m558011650_MetadataUsageId;
extern "C" bool SimpleCollator_MatchesForwardCore_m558011650 (SimpleCollator_t4081201584 * __this, String_t* ___s0, int32_t* ___idx1, int32_t ___end2, int32_t ___ti3, uint8_t* ___sortkey4, bool ___noLv45, int32_t ___ext6, Contraction_t1673853792 ** ___ct7, Context_t2636657155 * ___ctx8, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SimpleCollator_MatchesForwardCore_m558011650_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
uint8_t* V_1 = NULL;
bool V_2 = false;
int32_t V_3 = 0;
int32_t V_4 = 0;
int32_t V_5 = 0;
bool V_6 = false;
{
Context_t2636657155 * L_0 = ___ctx8;
int32_t L_1 = L_0->get_Option_0();
V_0 = L_1;
Context_t2636657155 * L_2 = ___ctx8;
uint8_t* L_3 = L_2->get_Buffer1_3();
V_1 = (uint8_t*)L_3;
int32_t L_4 = V_0;
V_2 = (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_4&(int32_t)2))) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0);
V_3 = (-1);
int32_t L_5 = ___ext6;
if (L_5)
{
goto IL_0035;
}
}
{
Contraction_t1673853792 ** L_6 = ___ct7;
String_t* L_7 = ___s0;
int32_t* L_8 = ___idx1;
int32_t L_9 = ___end2;
Contraction_t1673853792 * L_10 = SimpleCollator_GetContraction_m3674789701(__this, L_7, (*((int32_t*)L_8)), L_9, /*hidden argument*/NULL);
*((Il2CppObject **)(L_6)) = (Il2CppObject *)L_10;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_6), (Il2CppObject *)L_10);
goto IL_0074;
}
IL_0035:
{
Context_t2636657155 * L_11 = ___ctx8;
int32_t L_12 = L_11->get_PrevCode_5();
if ((((int32_t)L_12) >= ((int32_t)0)))
{
goto IL_0063;
}
}
{
Context_t2636657155 * L_13 = ___ctx8;
uint8_t* L_14 = L_13->get_PrevSortKey_6();
if (L_14)
{
goto IL_0056;
}
}
{
int32_t* L_15 = ___idx1;
int32_t* L_16 = ___idx1;
*((int32_t*)(L_15)) = (int32_t)((int32_t)((int32_t)(*((int32_t*)L_16))+(int32_t)1));
return (bool)0;
}
IL_0056:
{
Context_t2636657155 * L_17 = ___ctx8;
uint8_t* L_18 = L_17->get_PrevSortKey_6();
V_1 = (uint8_t*)L_18;
goto IL_0074;
}
IL_0063:
{
Context_t2636657155 * L_19 = ___ctx8;
int32_t L_20 = L_19->get_PrevCode_5();
int32_t L_21 = ___ext6;
int32_t L_22 = V_0;
int32_t L_23 = SimpleCollator_FilterExtender_m2624562651(__this, L_20, L_21, L_22, /*hidden argument*/NULL);
V_3 = L_23;
}
IL_0074:
{
Contraction_t1673853792 ** L_24 = ___ct7;
if (!(*((Contraction_t1673853792 **)L_24)))
{
goto IL_0105;
}
}
{
int32_t* L_25 = ___idx1;
int32_t* L_26 = ___idx1;
Contraction_t1673853792 ** L_27 = ___ct7;
CharU5BU5D_t1328083999* L_28 = (*((Contraction_t1673853792 **)L_27))->get_Source_0();
*((int32_t*)(L_25)) = (int32_t)((int32_t)((int32_t)(*((int32_t*)L_26))+(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_28)->max_length))))));
bool L_29 = ___noLv45;
if (L_29)
{
goto IL_0094;
}
}
{
return (bool)0;
}
IL_0094:
{
Contraction_t1673853792 ** L_30 = ___ct7;
ByteU5BU5D_t3397334013* L_31 = (*((Contraction_t1673853792 **)L_30))->get_SortKey_2();
if (!L_31)
{
goto IL_00d7;
}
}
{
V_4 = 0;
goto IL_00ba;
}
IL_00a9:
{
uint8_t* L_32 = V_1;
int32_t L_33 = V_4;
uint8_t* L_34 = ___sortkey4;
int32_t L_35 = V_4;
*((int8_t*)(((uint8_t*)((intptr_t)L_32+(int32_t)L_33)))) = (int8_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_34+(int32_t)L_35))));
int32_t L_36 = V_4;
V_4 = ((int32_t)((int32_t)L_36+(int32_t)1));
}
IL_00ba:
{
int32_t L_37 = V_4;
if ((((int32_t)L_37) < ((int32_t)4)))
{
goto IL_00a9;
}
}
{
Context_t2636657155 * L_38 = ___ctx8;
L_38->set_PrevCode_5((-1));
Context_t2636657155 * L_39 = ___ctx8;
uint8_t* L_40 = V_1;
L_39->set_PrevSortKey_6((uint8_t*)L_40);
goto IL_0100;
}
IL_00d7:
{
V_5 = 0;
Contraction_t1673853792 ** L_41 = ___ct7;
String_t* L_42 = (*((Contraction_t1673853792 **)L_41))->get_Replacement_1();
Contraction_t1673853792 ** L_43 = ___ct7;
String_t* L_44 = (*((Contraction_t1673853792 **)L_43))->get_Replacement_1();
int32_t L_45 = String_get_Length_m1606060069(L_44, /*hidden argument*/NULL);
int32_t L_46 = ___ti3;
uint8_t* L_47 = ___sortkey4;
bool L_48 = ___noLv45;
Context_t2636657155 * L_49 = ___ctx8;
bool L_50 = SimpleCollator_MatchesForward_m3790525709(__this, L_42, (&V_5), L_45, L_46, (uint8_t*)(uint8_t*)L_47, L_48, L_49, /*hidden argument*/NULL);
return L_50;
}
IL_0100:
{
goto IL_01c9;
}
IL_0105:
{
int32_t L_51 = V_3;
if ((((int32_t)L_51) >= ((int32_t)0)))
{
goto IL_011c;
}
}
{
String_t* L_52 = ___s0;
int32_t* L_53 = ___idx1;
Il2CppChar L_54 = String_get_Chars_m4230566705(L_52, (*((int32_t*)L_53)), /*hidden argument*/NULL);
int32_t L_55 = V_0;
int32_t L_56 = SimpleCollator_FilterOptions_m4044781893(__this, L_54, L_55, /*hidden argument*/NULL);
V_3 = L_56;
}
IL_011c:
{
int32_t* L_57 = ___idx1;
int32_t* L_58 = ___idx1;
*((int32_t*)(L_57)) = (int32_t)((int32_t)((int32_t)(*((int32_t*)L_58))+(int32_t)1));
uint8_t* L_59 = V_1;
int32_t L_60 = V_3;
uint8_t L_61 = SimpleCollator_Category_m1504096908(__this, L_60, /*hidden argument*/NULL);
*((int8_t*)(L_59)) = (int8_t)L_61;
V_6 = (bool)0;
uint8_t* L_62 = ___sortkey4;
uint8_t* L_63 = V_1;
if ((!(((uint32_t)(*((uint8_t*)L_62))) == ((uint32_t)(*((uint8_t*)L_63))))))
{
goto IL_0148;
}
}
{
uint8_t* L_64 = V_1;
int32_t L_65 = V_3;
uint8_t L_66 = SimpleCollator_Level1_m3813786941(__this, L_65, /*hidden argument*/NULL);
*((int8_t*)(((uint8_t*)((intptr_t)L_64+(int32_t)1)))) = (int8_t)L_66;
goto IL_014b;
}
IL_0148:
{
V_6 = (bool)1;
}
IL_014b:
{
bool L_67 = V_2;
if (L_67)
{
goto IL_0171;
}
}
{
uint8_t* L_68 = ___sortkey4;
uint8_t* L_69 = V_1;
if ((!(((uint32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_68+(int32_t)1))))) == ((uint32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_69+(int32_t)1))))))))
{
goto IL_0171;
}
}
{
uint8_t* L_70 = V_1;
int32_t L_71 = V_3;
int32_t L_72 = ___ext6;
uint8_t L_73 = SimpleCollator_Level2_m2254535125(__this, L_71, L_72, /*hidden argument*/NULL);
*((int8_t*)(((uint8_t*)((intptr_t)L_70+(int32_t)2)))) = (int8_t)L_73;
goto IL_017a;
}
IL_0171:
{
bool L_74 = V_2;
if (L_74)
{
goto IL_017a;
}
}
{
V_6 = (bool)1;
}
IL_017a:
{
bool L_75 = V_6;
if (!L_75)
{
goto IL_01af;
}
}
{
goto IL_01a5;
}
IL_0186:
{
String_t* L_76 = ___s0;
int32_t* L_77 = ___idx1;
Il2CppChar L_78 = String_get_Chars_m4230566705(L_76, (*((int32_t*)L_77)), /*hidden argument*/NULL);
uint8_t L_79 = SimpleCollator_Category_m1504096908(__this, L_78, /*hidden argument*/NULL);
if ((((int32_t)L_79) == ((int32_t)1)))
{
goto IL_019f;
}
}
{
goto IL_01ad;
}
IL_019f:
{
int32_t* L_80 = ___idx1;
int32_t* L_81 = ___idx1;
*((int32_t*)(L_80)) = (int32_t)((int32_t)((int32_t)(*((int32_t*)L_81))+(int32_t)1));
}
IL_01a5:
{
int32_t* L_82 = ___idx1;
int32_t L_83 = ___end2;
if ((((int32_t)(*((int32_t*)L_82))) < ((int32_t)L_83)))
{
goto IL_0186;
}
}
IL_01ad:
{
return (bool)0;
}
IL_01af:
{
uint8_t* L_84 = V_1;
int32_t L_85 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t L_86 = MSCompatUnicodeTable_Level3_m260824928(NULL /*static, unused*/, L_85, /*hidden argument*/NULL);
*((int8_t*)(((uint8_t*)((intptr_t)L_84+(int32_t)3)))) = (int8_t)L_86;
uint8_t* L_87 = V_1;
if ((((int32_t)(*((uint8_t*)L_87))) == ((int32_t)1)))
{
goto IL_01c9;
}
}
{
Context_t2636657155 * L_88 = ___ctx8;
int32_t L_89 = V_3;
L_88->set_PrevCode_5(L_89);
}
IL_01c9:
{
goto IL_021f;
}
IL_01ce:
{
String_t* L_90 = ___s0;
int32_t* L_91 = ___idx1;
Il2CppChar L_92 = String_get_Chars_m4230566705(L_90, (*((int32_t*)L_91)), /*hidden argument*/NULL);
uint8_t L_93 = SimpleCollator_Category_m1504096908(__this, L_92, /*hidden argument*/NULL);
if ((((int32_t)L_93) == ((int32_t)1)))
{
goto IL_01e7;
}
}
{
goto IL_0227;
}
IL_01e7:
{
bool L_94 = V_2;
if (!L_94)
{
goto IL_01f2;
}
}
{
goto IL_0219;
}
IL_01f2:
{
uint8_t* L_95 = V_1;
if ((*((uint8_t*)((uint8_t*)((intptr_t)L_95+(int32_t)2)))))
{
goto IL_0200;
}
}
{
uint8_t* L_96 = V_1;
*((int8_t*)(((uint8_t*)((intptr_t)L_96+(int32_t)2)))) = (int8_t)2;
}
IL_0200:
{
uint8_t* L_97 = V_1;
uint8_t* L_98 = V_1;
String_t* L_99 = ___s0;
int32_t* L_100 = ___idx1;
Il2CppChar L_101 = String_get_Chars_m4230566705(L_99, (*((int32_t*)L_100)), /*hidden argument*/NULL);
uint8_t L_102 = SimpleCollator_Level2_m2254535125(__this, L_101, 0, /*hidden argument*/NULL);
*((int8_t*)(((uint8_t*)((intptr_t)L_97+(int32_t)2)))) = (int8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_98+(int32_t)2))))+(int32_t)L_102)))));
}
IL_0219:
{
int32_t* L_103 = ___idx1;
int32_t* L_104 = ___idx1;
*((int32_t*)(L_103)) = (int32_t)((int32_t)((int32_t)(*((int32_t*)L_104))+(int32_t)1));
}
IL_021f:
{
int32_t* L_105 = ___idx1;
int32_t L_106 = ___end2;
if ((((int32_t)(*((int32_t*)L_105))) < ((int32_t)L_106)))
{
goto IL_01ce;
}
}
IL_0227:
{
int32_t L_107 = V_0;
uint8_t* L_108 = V_1;
int32_t L_109 = V_3;
int32_t L_110 = ___ext6;
uint8_t* L_111 = ___sortkey4;
int32_t L_112 = ___ti3;
bool L_113 = ___noLv45;
bool L_114 = SimpleCollator_MatchesPrimitive_m1158768094(__this, L_107, (uint8_t*)(uint8_t*)L_108, L_109, L_110, (uint8_t*)(uint8_t*)L_111, L_112, L_113, /*hidden argument*/NULL);
return L_114;
}
}
// System.Boolean Mono.Globalization.Unicode.SimpleCollator::MatchesPrimitive(System.Globalization.CompareOptions,System.Byte*,System.Int32,Mono.Globalization.Unicode.SimpleCollator/ExtenderType,System.Byte*,System.Int32,System.Boolean)
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern Il2CppClass* SimpleCollator_t4081201584_il2cpp_TypeInfo_var;
extern const uint32_t SimpleCollator_MatchesPrimitive_m1158768094_MetadataUsageId;
extern "C" bool SimpleCollator_MatchesPrimitive_m1158768094 (SimpleCollator_t4081201584 * __this, int32_t ___opt0, uint8_t* ___source1, int32_t ___si2, int32_t ___ext3, uint8_t* ___target4, int32_t ___ti5, bool ___noLv46, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SimpleCollator_MatchesPrimitive_m1158768094_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
bool V_0 = false;
{
int32_t L_0 = ___opt0;
V_0 = (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_0&(int32_t)2))) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0);
uint8_t* L_1 = ___source1;
uint8_t* L_2 = ___target4;
if ((!(((uint32_t)(*((uint8_t*)L_1))) == ((uint32_t)(*((uint8_t*)L_2))))))
{
goto IL_0044;
}
}
{
uint8_t* L_3 = ___source1;
uint8_t* L_4 = ___target4;
if ((!(((uint32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_3+(int32_t)1))))) == ((uint32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_4+(int32_t)1))))))))
{
goto IL_0044;
}
}
{
bool L_5 = V_0;
if (L_5)
{
goto IL_0036;
}
}
{
uint8_t* L_6 = ___source1;
uint8_t* L_7 = ___target4;
if ((!(((uint32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_6+(int32_t)2))))) == ((uint32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_7+(int32_t)2))))))))
{
goto IL_0044;
}
}
IL_0036:
{
uint8_t* L_8 = ___source1;
uint8_t* L_9 = ___target4;
if ((((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_8+(int32_t)3))))) == ((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_9+(int32_t)3)))))))
{
goto IL_0046;
}
}
IL_0044:
{
return (bool)0;
}
IL_0046:
{
bool L_10 = ___noLv46;
if (!L_10)
{
goto IL_0062;
}
}
{
int32_t L_11 = ___si2;
if ((((int32_t)L_11) < ((int32_t)0)))
{
goto IL_0060;
}
}
{
int32_t L_12 = ___si2;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
bool L_13 = MSCompatUnicodeTable_HasSpecialWeight_m4030611518(NULL /*static, unused*/, (((int32_t)((uint16_t)L_12))), /*hidden argument*/NULL);
if (L_13)
{
goto IL_0062;
}
}
IL_0060:
{
return (bool)1;
}
IL_0062:
{
bool L_14 = ___noLv46;
if (!L_14)
{
goto IL_006b;
}
}
{
return (bool)0;
}
IL_006b:
{
bool L_15 = V_0;
if (L_15)
{
goto IL_007b;
}
}
{
int32_t L_16 = ___ext3;
if ((!(((uint32_t)L_16) == ((uint32_t)3))))
{
goto IL_007b;
}
}
{
return (bool)0;
}
IL_007b:
{
int32_t L_17 = ___si2;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
bool L_18 = MSCompatUnicodeTable_IsJapaneseSmallLetter_m2541532635(NULL /*static, unused*/, (((int32_t)((uint16_t)L_17))), /*hidden argument*/NULL);
int32_t L_19 = ___ti5;
bool L_20 = MSCompatUnicodeTable_IsJapaneseSmallLetter_m2541532635(NULL /*static, unused*/, (((int32_t)((uint16_t)L_19))), /*hidden argument*/NULL);
if ((!(((uint32_t)L_18) == ((uint32_t)L_20))))
{
goto IL_00d3;
}
}
{
int32_t L_21 = ___ext3;
int32_t L_22 = ___opt0;
IL2CPP_RUNTIME_CLASS_INIT(SimpleCollator_t4081201584_il2cpp_TypeInfo_var);
uint8_t L_23 = SimpleCollator_ToDashTypeValue_m2069376469(NULL /*static, unused*/, L_21, L_22, /*hidden argument*/NULL);
int32_t L_24 = ___opt0;
uint8_t L_25 = SimpleCollator_ToDashTypeValue_m2069376469(NULL /*static, unused*/, 0, L_24, /*hidden argument*/NULL);
if ((!(((uint32_t)L_23) == ((uint32_t)L_25))))
{
goto IL_00d3;
}
}
{
int32_t L_26 = ___si2;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
bool L_27 = MSCompatUnicodeTable_IsHiragana_m3490024298(NULL /*static, unused*/, (((int32_t)((uint16_t)L_26))), /*hidden argument*/NULL);
int32_t L_28 = ___ti5;
bool L_29 = MSCompatUnicodeTable_IsHiragana_m3490024298(NULL /*static, unused*/, (((int32_t)((uint16_t)L_28))), /*hidden argument*/NULL);
if ((!(((uint32_t)((((int32_t)L_27) == ((int32_t)0))? 1 : 0)) == ((uint32_t)((((int32_t)L_29) == ((int32_t)0))? 1 : 0)))))
{
goto IL_00d3;
}
}
{
int32_t L_30 = ___si2;
int32_t L_31 = ___opt0;
IL2CPP_RUNTIME_CLASS_INIT(SimpleCollator_t4081201584_il2cpp_TypeInfo_var);
bool L_32 = SimpleCollator_IsHalfKana_m4255579023(NULL /*static, unused*/, (((int32_t)((uint16_t)L_30))), L_31, /*hidden argument*/NULL);
int32_t L_33 = ___ti5;
int32_t L_34 = ___opt0;
bool L_35 = SimpleCollator_IsHalfKana_m4255579023(NULL /*static, unused*/, (((int32_t)((uint16_t)L_33))), L_34, /*hidden argument*/NULL);
if ((((int32_t)L_32) == ((int32_t)L_35)))
{
goto IL_00d5;
}
}
IL_00d3:
{
return (bool)0;
}
IL_00d5:
{
return (bool)1;
}
}
// System.Boolean Mono.Globalization.Unicode.SimpleCollator::MatchesBackward(System.String,System.Int32&,System.Int32,System.Int32,System.Int32,System.Byte*,System.Boolean,Mono.Globalization.Unicode.SimpleCollator/Context&)
extern "C" bool SimpleCollator_MatchesBackward_m2208209332 (SimpleCollator_t4081201584 * __this, String_t* ___s0, int32_t* ___idx1, int32_t ___end2, int32_t ___orgStart3, int32_t ___ti4, uint8_t* ___sortkey5, bool ___noLv46, Context_t2636657155 * ___ctx7, const MethodInfo* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
Contraction_t1673853792 * V_2 = NULL;
{
String_t* L_0 = ___s0;
int32_t* L_1 = ___idx1;
Il2CppChar L_2 = String_get_Chars_m4230566705(L_0, (*((int32_t*)L_1)), /*hidden argument*/NULL);
V_0 = L_2;
Context_t2636657155 * L_3 = ___ctx7;
uint8_t* L_4 = L_3->get_AlwaysMatchFlags_2();
if (!L_4)
{
goto IL_003c;
}
}
{
int32_t L_5 = V_0;
if ((((int32_t)L_5) >= ((int32_t)((int32_t)128))))
{
goto IL_003c;
}
}
{
Context_t2636657155 * L_6 = ___ctx7;
uint8_t* L_7 = L_6->get_AlwaysMatchFlags_2();
int32_t L_8 = V_0;
int32_t L_9 = V_0;
if (!((int32_t)((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_7+(int32_t)((int32_t)((int32_t)L_8/(int32_t)8))))))&(int32_t)((int32_t)((int32_t)1<<(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_9%(int32_t)8))&(int32_t)((int32_t)31))))))))
{
goto IL_003c;
}
}
{
return (bool)1;
}
IL_003c:
{
Context_t2636657155 * L_10 = ___ctx7;
uint8_t* L_11 = L_10->get_NeverMatchFlags_1();
if (!L_11)
{
goto IL_0075;
}
}
{
int32_t L_12 = V_0;
if ((((int32_t)L_12) >= ((int32_t)((int32_t)128))))
{
goto IL_0075;
}
}
{
Context_t2636657155 * L_13 = ___ctx7;
uint8_t* L_14 = L_13->get_NeverMatchFlags_1();
int32_t L_15 = V_0;
int32_t L_16 = V_0;
if (!((int32_t)((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_14+(int32_t)((int32_t)((int32_t)L_15/(int32_t)8))))))&(int32_t)((int32_t)((int32_t)1<<(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_16%(int32_t)8))&(int32_t)((int32_t)31))))))))
{
goto IL_0075;
}
}
{
int32_t* L_17 = ___idx1;
int32_t* L_18 = ___idx1;
*((int32_t*)(L_17)) = (int32_t)((int32_t)((int32_t)(*((int32_t*)L_18))-(int32_t)1));
return (bool)0;
}
IL_0075:
{
String_t* L_19 = ___s0;
int32_t* L_20 = ___idx1;
Il2CppChar L_21 = String_get_Chars_m4230566705(L_19, (*((int32_t*)L_20)), /*hidden argument*/NULL);
int32_t L_22 = SimpleCollator_GetExtenderType_m976831551(__this, L_21, /*hidden argument*/NULL);
V_1 = L_22;
V_2 = (Contraction_t1673853792 *)NULL;
String_t* L_23 = ___s0;
int32_t* L_24 = ___idx1;
int32_t L_25 = ___end2;
int32_t L_26 = ___orgStart3;
int32_t L_27 = ___ti4;
uint8_t* L_28 = ___sortkey5;
bool L_29 = ___noLv46;
int32_t L_30 = V_1;
Context_t2636657155 * L_31 = ___ctx7;
bool L_32 = SimpleCollator_MatchesBackwardCore_m1884994267(__this, L_23, L_24, L_25, L_26, L_27, (uint8_t*)(uint8_t*)L_28, L_29, L_30, (&V_2), L_31, /*hidden argument*/NULL);
if (!L_32)
{
goto IL_00df;
}
}
{
Context_t2636657155 * L_33 = ___ctx7;
uint8_t* L_34 = L_33->get_AlwaysMatchFlags_2();
if (!L_34)
{
goto IL_00dd;
}
}
{
Contraction_t1673853792 * L_35 = V_2;
if (L_35)
{
goto IL_00dd;
}
}
{
int32_t L_36 = V_1;
if (L_36)
{
goto IL_00dd;
}
}
{
int32_t L_37 = V_0;
if ((((int32_t)L_37) >= ((int32_t)((int32_t)128))))
{
goto IL_00dd;
}
}
{
Context_t2636657155 * L_38 = ___ctx7;
uint8_t* L_39 = L_38->get_AlwaysMatchFlags_2();
int32_t L_40 = V_0;
uint8_t* L_41 = (uint8_t*)((uint8_t*)((intptr_t)L_39+(int32_t)((int32_t)((int32_t)L_40/(int32_t)8))));
int32_t L_42 = V_0;
*((int8_t*)(L_41)) = (int8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)(*((uint8_t*)L_41))|(int32_t)(((int32_t)((uint8_t)((int32_t)((int32_t)1<<(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_42%(int32_t)8))&(int32_t)((int32_t)31)))))))))))));
}
IL_00dd:
{
return (bool)1;
}
IL_00df:
{
Context_t2636657155 * L_43 = ___ctx7;
uint8_t* L_44 = L_43->get_NeverMatchFlags_1();
if (!L_44)
{
goto IL_011b;
}
}
{
Contraction_t1673853792 * L_45 = V_2;
if (L_45)
{
goto IL_011b;
}
}
{
int32_t L_46 = V_1;
if (L_46)
{
goto IL_011b;
}
}
{
int32_t L_47 = V_0;
if ((((int32_t)L_47) >= ((int32_t)((int32_t)128))))
{
goto IL_011b;
}
}
{
Context_t2636657155 * L_48 = ___ctx7;
uint8_t* L_49 = L_48->get_NeverMatchFlags_1();
int32_t L_50 = V_0;
uint8_t* L_51 = (uint8_t*)((uint8_t*)((intptr_t)L_49+(int32_t)((int32_t)((int32_t)L_50/(int32_t)8))));
int32_t L_52 = V_0;
*((int8_t*)(L_51)) = (int8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)(*((uint8_t*)L_51))|(int32_t)(((int32_t)((uint8_t)((int32_t)((int32_t)1<<(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_52%(int32_t)8))&(int32_t)((int32_t)31)))))))))))));
}
IL_011b:
{
return (bool)0;
}
}
// System.Boolean Mono.Globalization.Unicode.SimpleCollator::MatchesBackwardCore(System.String,System.Int32&,System.Int32,System.Int32,System.Int32,System.Byte*,System.Boolean,Mono.Globalization.Unicode.SimpleCollator/ExtenderType,Mono.Globalization.Unicode.Contraction&,Mono.Globalization.Unicode.SimpleCollator/Context&)
extern Il2CppClass* SimpleCollator_t4081201584_il2cpp_TypeInfo_var;
extern Il2CppClass* MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var;
extern const uint32_t SimpleCollator_MatchesBackwardCore_m1884994267_MetadataUsageId;
extern "C" bool SimpleCollator_MatchesBackwardCore_m1884994267 (SimpleCollator_t4081201584 * __this, String_t* ___s0, int32_t* ___idx1, int32_t ___end2, int32_t ___orgStart3, int32_t ___ti4, uint8_t* ___sortkey5, bool ___noLv46, int32_t ___ext7, Contraction_t1673853792 ** ___ct8, Context_t2636657155 * ___ctx9, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SimpleCollator_MatchesBackwardCore_m1884994267_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
uint8_t* V_1 = NULL;
bool V_2 = false;
int32_t V_3 = 0;
int32_t V_4 = 0;
uint8_t V_5 = 0x0;
int32_t V_6 = 0;
int32_t V_7 = 0;
uint8_t V_8 = 0x0;
int32_t V_9 = 0;
int32_t V_10 = 0;
bool V_11 = false;
int32_t V_12 = 0;
uint8_t* G_B14_0 = NULL;
uint8_t* G_B13_0 = NULL;
int32_t G_B15_0 = 0;
uint8_t* G_B15_1 = NULL;
{
Context_t2636657155 * L_0 = ___ctx9;
int32_t L_1 = L_0->get_Option_0();
V_0 = L_1;
Context_t2636657155 * L_2 = ___ctx9;
uint8_t* L_3 = L_2->get_Buffer1_3();
V_1 = (uint8_t*)L_3;
int32_t L_4 = V_0;
V_2 = (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_4&(int32_t)2))) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0);
int32_t* L_5 = ___idx1;
V_3 = (*((int32_t*)L_5));
V_4 = (-1);
int32_t L_6 = ___ext7;
if (!L_6)
{
goto IL_0101;
}
}
{
V_5 = 0;
V_6 = 0;
goto IL_00f6;
}
IL_0032:
{
int32_t L_7 = V_6;
if ((((int32_t)L_7) >= ((int32_t)0)))
{
goto IL_003c;
}
}
{
return (bool)0;
}
IL_003c:
{
String_t* L_8 = ___s0;
int32_t L_9 = V_6;
Il2CppChar L_10 = String_get_Chars_m4230566705(L_8, L_9, /*hidden argument*/NULL);
int32_t L_11 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(SimpleCollator_t4081201584_il2cpp_TypeInfo_var);
bool L_12 = SimpleCollator_IsIgnorable_m2485013022(NULL /*static, unused*/, L_10, L_11, /*hidden argument*/NULL);
if (!L_12)
{
goto IL_0054;
}
}
{
goto IL_00f0;
}
IL_0054:
{
String_t* L_13 = ___s0;
int32_t L_14 = V_6;
Il2CppChar L_15 = String_get_Chars_m4230566705(L_13, L_14, /*hidden argument*/NULL);
int32_t L_16 = V_0;
int32_t L_17 = SimpleCollator_FilterOptions_m4044781893(__this, L_15, L_16, /*hidden argument*/NULL);
V_7 = L_17;
int32_t L_18 = V_7;
uint8_t L_19 = SimpleCollator_Category_m1504096908(__this, L_18, /*hidden argument*/NULL);
V_8 = L_19;
uint8_t L_20 = V_8;
if ((!(((uint32_t)L_20) == ((uint32_t)1))))
{
goto IL_0087;
}
}
{
int32_t L_21 = V_7;
uint8_t L_22 = SimpleCollator_Level2_m2254535125(__this, L_21, 0, /*hidden argument*/NULL);
V_5 = L_22;
goto IL_00f0;
}
IL_0087:
{
int32_t L_23 = V_7;
int32_t L_24 = ___ext7;
int32_t L_25 = V_0;
int32_t L_26 = SimpleCollator_FilterExtender_m2624562651(__this, L_23, L_24, L_25, /*hidden argument*/NULL);
V_4 = L_26;
uint8_t* L_27 = V_1;
uint8_t L_28 = V_8;
*((int8_t*)(L_27)) = (int8_t)L_28;
uint8_t* L_29 = V_1;
int32_t L_30 = V_4;
uint8_t L_31 = SimpleCollator_Level1_m3813786941(__this, L_30, /*hidden argument*/NULL);
*((int8_t*)(((uint8_t*)((intptr_t)L_29+(int32_t)1)))) = (int8_t)L_31;
bool L_32 = V_2;
if (L_32)
{
goto IL_00b8;
}
}
{
uint8_t* L_33 = V_1;
int32_t L_34 = V_4;
int32_t L_35 = ___ext7;
uint8_t L_36 = SimpleCollator_Level2_m2254535125(__this, L_34, L_35, /*hidden argument*/NULL);
*((int8_t*)(((uint8_t*)((intptr_t)L_33+(int32_t)2)))) = (int8_t)L_36;
}
IL_00b8:
{
uint8_t* L_37 = V_1;
int32_t L_38 = V_4;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t L_39 = MSCompatUnicodeTable_Level3_m260824928(NULL /*static, unused*/, L_38, /*hidden argument*/NULL);
*((int8_t*)(((uint8_t*)((intptr_t)L_37+(int32_t)3)))) = (int8_t)L_39;
int32_t L_40 = ___ext7;
if ((((int32_t)L_40) == ((int32_t)3)))
{
goto IL_00eb;
}
}
{
uint8_t L_41 = V_5;
if (!L_41)
{
goto IL_00eb;
}
}
{
uint8_t* L_42 = V_1;
uint8_t* L_43 = V_1;
G_B13_0 = ((uint8_t*)((intptr_t)L_42+(int32_t)2));
if ((*((uint8_t*)((uint8_t*)((intptr_t)L_43+(int32_t)2)))))
{
G_B14_0 = ((uint8_t*)((intptr_t)L_42+(int32_t)2));
goto IL_00e8;
}
}
{
uint8_t L_44 = V_5;
G_B15_0 = (((int32_t)((uint8_t)((int32_t)((int32_t)L_44+(int32_t)2)))));
G_B15_1 = G_B13_0;
goto IL_00ea;
}
IL_00e8:
{
uint8_t L_45 = V_5;
G_B15_0 = ((int32_t)(L_45));
G_B15_1 = G_B14_0;
}
IL_00ea:
{
*((int8_t*)(G_B15_1)) = (int8_t)G_B15_0;
}
IL_00eb:
{
goto IL_00fb;
}
IL_00f0:
{
int32_t L_46 = V_6;
V_6 = ((int32_t)((int32_t)L_46-(int32_t)1));
}
IL_00f6:
{
goto IL_0032;
}
IL_00fb:
{
int32_t* L_47 = ___idx1;
int32_t* L_48 = ___idx1;
*((int32_t*)(L_47)) = (int32_t)((int32_t)((int32_t)(*((int32_t*)L_48))-(int32_t)1));
}
IL_0101:
{
int32_t L_49 = ___ext7;
if (L_49)
{
goto IL_0115;
}
}
{
Contraction_t1673853792 ** L_50 = ___ct8;
String_t* L_51 = ___s0;
int32_t* L_52 = ___idx1;
int32_t L_53 = ___end2;
Contraction_t1673853792 * L_54 = SimpleCollator_GetTailContraction_m374819833(__this, L_51, (*((int32_t*)L_52)), L_53, /*hidden argument*/NULL);
*((Il2CppObject **)(L_50)) = (Il2CppObject *)L_54;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_50), (Il2CppObject *)L_54);
}
IL_0115:
{
Contraction_t1673853792 ** L_55 = ___ct8;
if (!(*((Contraction_t1673853792 **)L_55)))
{
goto IL_01bc;
}
}
{
int32_t* L_56 = ___idx1;
int32_t* L_57 = ___idx1;
Contraction_t1673853792 ** L_58 = ___ct8;
CharU5BU5D_t1328083999* L_59 = (*((Contraction_t1673853792 **)L_58))->get_Source_0();
*((int32_t*)(L_56)) = (int32_t)((int32_t)((int32_t)(*((int32_t*)L_57))-(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_59)->max_length))))));
bool L_60 = ___noLv46;
if (L_60)
{
goto IL_0135;
}
}
{
return (bool)0;
}
IL_0135:
{
Contraction_t1673853792 ** L_61 = ___ct8;
ByteU5BU5D_t3397334013* L_62 = (*((Contraction_t1673853792 **)L_61))->get_SortKey_2();
if (!L_62)
{
goto IL_0178;
}
}
{
V_9 = 0;
goto IL_015b;
}
IL_014a:
{
uint8_t* L_63 = V_1;
int32_t L_64 = V_9;
uint8_t* L_65 = ___sortkey5;
int32_t L_66 = V_9;
*((int8_t*)(((uint8_t*)((intptr_t)L_63+(int32_t)L_64)))) = (int8_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_65+(int32_t)L_66))));
int32_t L_67 = V_9;
V_9 = ((int32_t)((int32_t)L_67+(int32_t)1));
}
IL_015b:
{
int32_t L_68 = V_9;
if ((((int32_t)L_68) < ((int32_t)4)))
{
goto IL_014a;
}
}
{
Context_t2636657155 * L_69 = ___ctx9;
L_69->set_PrevCode_5((-1));
Context_t2636657155 * L_70 = ___ctx9;
uint8_t* L_71 = V_1;
L_70->set_PrevSortKey_6((uint8_t*)L_71);
goto IL_01b7;
}
IL_0178:
{
Contraction_t1673853792 ** L_72 = ___ct8;
String_t* L_73 = (*((Contraction_t1673853792 **)L_72))->get_Replacement_1();
int32_t L_74 = String_get_Length_m1606060069(L_73, /*hidden argument*/NULL);
V_10 = ((int32_t)((int32_t)L_74-(int32_t)1));
Contraction_t1673853792 ** L_75 = ___ct8;
String_t* L_76 = (*((Contraction_t1673853792 **)L_75))->get_Replacement_1();
int32_t L_77 = V_10;
int32_t L_78 = V_10;
Contraction_t1673853792 ** L_79 = ___ct8;
String_t* L_80 = (*((Contraction_t1673853792 **)L_79))->get_Replacement_1();
int32_t L_81 = String_get_Length_m1606060069(L_80, /*hidden argument*/NULL);
uint8_t* L_82 = ___sortkey5;
int32_t L_83 = ___ti4;
bool L_84 = ___noLv46;
Context_t2636657155 * L_85 = ___ctx9;
int32_t L_86 = SimpleCollator_LastIndexOfSortKey_m1695731400(__this, L_76, L_77, L_78, L_81, (uint8_t*)(uint8_t*)L_82, L_83, L_84, L_85, /*hidden argument*/NULL);
return (bool)((((int32_t)((((int32_t)0) > ((int32_t)L_86))? 1 : 0)) == ((int32_t)0))? 1 : 0);
}
IL_01b7:
{
goto IL_0262;
}
IL_01bc:
{
int32_t L_87 = ___ext7;
if (L_87)
{
goto IL_0262;
}
}
{
int32_t L_88 = V_4;
if ((((int32_t)L_88) >= ((int32_t)0)))
{
goto IL_01dc;
}
}
{
String_t* L_89 = ___s0;
int32_t* L_90 = ___idx1;
Il2CppChar L_91 = String_get_Chars_m4230566705(L_89, (*((int32_t*)L_90)), /*hidden argument*/NULL);
int32_t L_92 = V_0;
int32_t L_93 = SimpleCollator_FilterOptions_m4044781893(__this, L_91, L_92, /*hidden argument*/NULL);
V_4 = L_93;
}
IL_01dc:
{
int32_t* L_94 = ___idx1;
int32_t* L_95 = ___idx1;
*((int32_t*)(L_94)) = (int32_t)((int32_t)((int32_t)(*((int32_t*)L_95))-(int32_t)1));
V_11 = (bool)0;
uint8_t* L_96 = V_1;
int32_t L_97 = V_4;
uint8_t L_98 = SimpleCollator_Category_m1504096908(__this, L_97, /*hidden argument*/NULL);
*((int8_t*)(L_96)) = (int8_t)L_98;
uint8_t* L_99 = V_1;
uint8_t* L_100 = ___sortkey5;
if ((!(((uint32_t)(*((uint8_t*)L_99))) == ((uint32_t)(*((uint8_t*)L_100))))))
{
goto IL_020a;
}
}
{
uint8_t* L_101 = V_1;
int32_t L_102 = V_4;
uint8_t L_103 = SimpleCollator_Level1_m3813786941(__this, L_102, /*hidden argument*/NULL);
*((int8_t*)(((uint8_t*)((intptr_t)L_101+(int32_t)1)))) = (int8_t)L_103;
goto IL_020d;
}
IL_020a:
{
V_11 = (bool)1;
}
IL_020d:
{
bool L_104 = V_2;
if (L_104)
{
goto IL_0234;
}
}
{
uint8_t* L_105 = V_1;
uint8_t* L_106 = ___sortkey5;
if ((!(((uint32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_105+(int32_t)1))))) == ((uint32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_106+(int32_t)1))))))))
{
goto IL_0234;
}
}
{
uint8_t* L_107 = V_1;
int32_t L_108 = V_4;
int32_t L_109 = ___ext7;
uint8_t L_110 = SimpleCollator_Level2_m2254535125(__this, L_108, L_109, /*hidden argument*/NULL);
*((int8_t*)(((uint8_t*)((intptr_t)L_107+(int32_t)2)))) = (int8_t)L_110;
goto IL_023d;
}
IL_0234:
{
bool L_111 = V_2;
if (L_111)
{
goto IL_023d;
}
}
{
V_11 = (bool)1;
}
IL_023d:
{
bool L_112 = V_11;
if (!L_112)
{
goto IL_0246;
}
}
{
return (bool)0;
}
IL_0246:
{
uint8_t* L_113 = V_1;
int32_t L_114 = V_4;
IL2CPP_RUNTIME_CLASS_INIT(MSCompatUnicodeTable_t1231687219_il2cpp_TypeInfo_var);
uint8_t L_115 = MSCompatUnicodeTable_Level3_m260824928(NULL /*static, unused*/, L_114, /*hidden argument*/NULL);
*((int8_t*)(((uint8_t*)((intptr_t)L_113+(int32_t)3)))) = (int8_t)L_115;
uint8_t* L_116 = V_1;
if ((((int32_t)(*((uint8_t*)L_116))) == ((int32_t)1)))
{
goto IL_0262;
}
}
{
Context_t2636657155 * L_117 = ___ctx9;
int32_t L_118 = V_4;
L_117->set_PrevCode_5(L_118);
}
IL_0262:
{
int32_t L_119 = ___ext7;
if (L_119)
{
goto IL_02cd;
}
}
{
int32_t L_120 = V_3;
V_12 = ((int32_t)((int32_t)L_120+(int32_t)1));
goto IL_02c4;
}
IL_0273:
{
String_t* L_121 = ___s0;
int32_t L_122 = V_12;
Il2CppChar L_123 = String_get_Chars_m4230566705(L_121, L_122, /*hidden argument*/NULL);
uint8_t L_124 = SimpleCollator_Category_m1504096908(__this, L_123, /*hidden argument*/NULL);
if ((((int32_t)L_124) == ((int32_t)1)))
{
goto IL_028c;
}
}
{
goto IL_02cd;
}
IL_028c:
{
bool L_125 = V_2;
if (!L_125)
{
goto IL_0297;
}
}
{
goto IL_02be;
}
IL_0297:
{
uint8_t* L_126 = V_1;
if ((*((uint8_t*)((uint8_t*)((intptr_t)L_126+(int32_t)2)))))
{
goto IL_02a5;
}
}
{
uint8_t* L_127 = V_1;
*((int8_t*)(((uint8_t*)((intptr_t)L_127+(int32_t)2)))) = (int8_t)2;
}
IL_02a5:
{
uint8_t* L_128 = V_1;
uint8_t* L_129 = V_1;
String_t* L_130 = ___s0;
int32_t L_131 = V_12;
Il2CppChar L_132 = String_get_Chars_m4230566705(L_130, L_131, /*hidden argument*/NULL);
uint8_t L_133 = SimpleCollator_Level2_m2254535125(__this, L_132, 0, /*hidden argument*/NULL);
*((int8_t*)(((uint8_t*)((intptr_t)L_128+(int32_t)2)))) = (int8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_129+(int32_t)2))))+(int32_t)L_133)))));
}
IL_02be:
{
int32_t L_134 = V_12;
V_12 = ((int32_t)((int32_t)L_134+(int32_t)1));
}
IL_02c4:
{
int32_t L_135 = V_12;
int32_t L_136 = ___orgStart3;
if ((((int32_t)L_135) < ((int32_t)L_136)))
{
goto IL_0273;
}
}
IL_02cd:
{
int32_t L_137 = V_0;
uint8_t* L_138 = V_1;
int32_t L_139 = V_4;
int32_t L_140 = ___ext7;
uint8_t* L_141 = ___sortkey5;
int32_t L_142 = ___ti4;
bool L_143 = ___noLv46;
bool L_144 = SimpleCollator_MatchesPrimitive_m1158768094(__this, L_137, (uint8_t*)(uint8_t*)L_138, L_139, L_140, (uint8_t*)(uint8_t*)L_141, L_142, L_143, /*hidden argument*/NULL);
return L_144;
}
}
// System.Void Mono.Globalization.Unicode.SimpleCollator/Context::.ctor(System.Globalization.CompareOptions,System.Byte*,System.Byte*,System.Byte*,System.Byte*,System.Byte*,System.Boolean)
extern "C" void Context__ctor_m2254074374 (Context_t2636657155 * __this, int32_t ___opt0, uint8_t* ___alwaysMatchFlags1, uint8_t* ___neverMatchFlags2, uint8_t* ___buffer13, uint8_t* ___buffer24, uint8_t* ___prev15, bool ___quickCheckPossible6, const MethodInfo* method)
{
{
int32_t L_0 = ___opt0;
__this->set_Option_0(L_0);
uint8_t* L_1 = ___alwaysMatchFlags1;
__this->set_AlwaysMatchFlags_2((uint8_t*)L_1);
uint8_t* L_2 = ___neverMatchFlags2;
__this->set_NeverMatchFlags_1((uint8_t*)L_2);
uint8_t* L_3 = ___buffer13;
__this->set_Buffer1_3((uint8_t*)L_3);
uint8_t* L_4 = ___buffer24;
__this->set_Buffer2_4((uint8_t*)L_4);
uint8_t* L_5 = ___prev15;
__this->set_PrevSortKey_6((uint8_t*)L_5);
__this->set_PrevCode_5((-1));
bool L_6 = ___quickCheckPossible6;
__this->set_QuickCheckPossible_7(L_6);
return;
}
}
extern "C" void Context__ctor_m2254074374_AdjustorThunk (Il2CppObject * __this, int32_t ___opt0, uint8_t* ___alwaysMatchFlags1, uint8_t* ___neverMatchFlags2, uint8_t* ___buffer13, uint8_t* ___buffer24, uint8_t* ___prev15, bool ___quickCheckPossible6, const MethodInfo* method)
{
Context_t2636657155 * _thisAdjusted = reinterpret_cast<Context_t2636657155 *>(__this + 1);
Context__ctor_m2254074374(_thisAdjusted, ___opt0, ___alwaysMatchFlags1, ___neverMatchFlags2, ___buffer13, ___buffer24, ___prev15, ___quickCheckPossible6, method);
}
// Conversion methods for marshalling of: Mono.Globalization.Unicode.SimpleCollator/Context
extern "C" void Context_t2636657155_marshal_pinvoke(const Context_t2636657155& unmarshaled, Context_t2636657155_marshaled_pinvoke& marshaled)
{
marshaled.___Option_0 = unmarshaled.get_Option_0();
marshaled.___NeverMatchFlags_1 = unmarshaled.get_NeverMatchFlags_1();
marshaled.___AlwaysMatchFlags_2 = unmarshaled.get_AlwaysMatchFlags_2();
marshaled.___Buffer1_3 = unmarshaled.get_Buffer1_3();
marshaled.___Buffer2_4 = unmarshaled.get_Buffer2_4();
marshaled.___PrevCode_5 = unmarshaled.get_PrevCode_5();
marshaled.___PrevSortKey_6 = unmarshaled.get_PrevSortKey_6();
marshaled.___QuickCheckPossible_7 = unmarshaled.get_QuickCheckPossible_7();
}
extern "C" void Context_t2636657155_marshal_pinvoke_back(const Context_t2636657155_marshaled_pinvoke& marshaled, Context_t2636657155& unmarshaled)
{
int32_t unmarshaled_Option_temp_0 = 0;
unmarshaled_Option_temp_0 = marshaled.___Option_0;
unmarshaled.set_Option_0(unmarshaled_Option_temp_0);
unmarshaled.set_NeverMatchFlags_1(marshaled.___NeverMatchFlags_1);
unmarshaled.set_AlwaysMatchFlags_2(marshaled.___AlwaysMatchFlags_2);
unmarshaled.set_Buffer1_3(marshaled.___Buffer1_3);
unmarshaled.set_Buffer2_4(marshaled.___Buffer2_4);
int32_t unmarshaled_PrevCode_temp_5 = 0;
unmarshaled_PrevCode_temp_5 = marshaled.___PrevCode_5;
unmarshaled.set_PrevCode_5(unmarshaled_PrevCode_temp_5);
unmarshaled.set_PrevSortKey_6(marshaled.___PrevSortKey_6);
bool unmarshaled_QuickCheckPossible_temp_7 = false;
unmarshaled_QuickCheckPossible_temp_7 = marshaled.___QuickCheckPossible_7;
unmarshaled.set_QuickCheckPossible_7(unmarshaled_QuickCheckPossible_temp_7);
}
// Conversion method for clean up from marshalling of: Mono.Globalization.Unicode.SimpleCollator/Context
extern "C" void Context_t2636657155_marshal_pinvoke_cleanup(Context_t2636657155_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: Mono.Globalization.Unicode.SimpleCollator/Context
extern "C" void Context_t2636657155_marshal_com(const Context_t2636657155& unmarshaled, Context_t2636657155_marshaled_com& marshaled)
{
marshaled.___Option_0 = unmarshaled.get_Option_0();
marshaled.___NeverMatchFlags_1 = unmarshaled.get_NeverMatchFlags_1();
marshaled.___AlwaysMatchFlags_2 = unmarshaled.get_AlwaysMatchFlags_2();
marshaled.___Buffer1_3 = unmarshaled.get_Buffer1_3();
marshaled.___Buffer2_4 = unmarshaled.get_Buffer2_4();
marshaled.___PrevCode_5 = unmarshaled.get_PrevCode_5();
marshaled.___PrevSortKey_6 = unmarshaled.get_PrevSortKey_6();
marshaled.___QuickCheckPossible_7 = unmarshaled.get_QuickCheckPossible_7();
}
extern "C" void Context_t2636657155_marshal_com_back(const Context_t2636657155_marshaled_com& marshaled, Context_t2636657155& unmarshaled)
{
int32_t unmarshaled_Option_temp_0 = 0;
unmarshaled_Option_temp_0 = marshaled.___Option_0;
unmarshaled.set_Option_0(unmarshaled_Option_temp_0);
unmarshaled.set_NeverMatchFlags_1(marshaled.___NeverMatchFlags_1);
unmarshaled.set_AlwaysMatchFlags_2(marshaled.___AlwaysMatchFlags_2);
unmarshaled.set_Buffer1_3(marshaled.___Buffer1_3);
unmarshaled.set_Buffer2_4(marshaled.___Buffer2_4);
int32_t unmarshaled_PrevCode_temp_5 = 0;
unmarshaled_PrevCode_temp_5 = marshaled.___PrevCode_5;
unmarshaled.set_PrevCode_5(unmarshaled_PrevCode_temp_5);
unmarshaled.set_PrevSortKey_6(marshaled.___PrevSortKey_6);
bool unmarshaled_QuickCheckPossible_temp_7 = false;
unmarshaled_QuickCheckPossible_temp_7 = marshaled.___QuickCheckPossible_7;
unmarshaled.set_QuickCheckPossible_7(unmarshaled_QuickCheckPossible_temp_7);
}
// Conversion method for clean up from marshalling of: Mono.Globalization.Unicode.SimpleCollator/Context
extern "C" void Context_t2636657155_marshal_com_cleanup(Context_t2636657155_marshaled_com& marshaled)
{
}
// Conversion methods for marshalling of: Mono.Globalization.Unicode.SimpleCollator/Escape
extern "C" void Escape_t169451053_marshal_pinvoke(const Escape_t169451053& unmarshaled, Escape_t169451053_marshaled_pinvoke& marshaled)
{
marshaled.___Source_0 = il2cpp_codegen_marshal_string(unmarshaled.get_Source_0());
marshaled.___Index_1 = unmarshaled.get_Index_1();
marshaled.___Start_2 = unmarshaled.get_Start_2();
marshaled.___End_3 = unmarshaled.get_End_3();
marshaled.___Optional_4 = unmarshaled.get_Optional_4();
}
extern "C" void Escape_t169451053_marshal_pinvoke_back(const Escape_t169451053_marshaled_pinvoke& marshaled, Escape_t169451053& unmarshaled)
{
unmarshaled.set_Source_0(il2cpp_codegen_marshal_string_result(marshaled.___Source_0));
int32_t unmarshaled_Index_temp_1 = 0;
unmarshaled_Index_temp_1 = marshaled.___Index_1;
unmarshaled.set_Index_1(unmarshaled_Index_temp_1);
int32_t unmarshaled_Start_temp_2 = 0;
unmarshaled_Start_temp_2 = marshaled.___Start_2;
unmarshaled.set_Start_2(unmarshaled_Start_temp_2);
int32_t unmarshaled_End_temp_3 = 0;
unmarshaled_End_temp_3 = marshaled.___End_3;
unmarshaled.set_End_3(unmarshaled_End_temp_3);
int32_t unmarshaled_Optional_temp_4 = 0;
unmarshaled_Optional_temp_4 = marshaled.___Optional_4;
unmarshaled.set_Optional_4(unmarshaled_Optional_temp_4);
}
// Conversion method for clean up from marshalling of: Mono.Globalization.Unicode.SimpleCollator/Escape
extern "C" void Escape_t169451053_marshal_pinvoke_cleanup(Escape_t169451053_marshaled_pinvoke& marshaled)
{
il2cpp_codegen_marshal_free(marshaled.___Source_0);
marshaled.___Source_0 = NULL;
}
// Conversion methods for marshalling of: Mono.Globalization.Unicode.SimpleCollator/Escape
extern "C" void Escape_t169451053_marshal_com(const Escape_t169451053& unmarshaled, Escape_t169451053_marshaled_com& marshaled)
{
marshaled.___Source_0 = il2cpp_codegen_marshal_bstring(unmarshaled.get_Source_0());
marshaled.___Index_1 = unmarshaled.get_Index_1();
marshaled.___Start_2 = unmarshaled.get_Start_2();
marshaled.___End_3 = unmarshaled.get_End_3();
marshaled.___Optional_4 = unmarshaled.get_Optional_4();
}
extern "C" void Escape_t169451053_marshal_com_back(const Escape_t169451053_marshaled_com& marshaled, Escape_t169451053& unmarshaled)
{
unmarshaled.set_Source_0(il2cpp_codegen_marshal_bstring_result(marshaled.___Source_0));
int32_t unmarshaled_Index_temp_1 = 0;
unmarshaled_Index_temp_1 = marshaled.___Index_1;
unmarshaled.set_Index_1(unmarshaled_Index_temp_1);
int32_t unmarshaled_Start_temp_2 = 0;
unmarshaled_Start_temp_2 = marshaled.___Start_2;
unmarshaled.set_Start_2(unmarshaled_Start_temp_2);
int32_t unmarshaled_End_temp_3 = 0;
unmarshaled_End_temp_3 = marshaled.___End_3;
unmarshaled.set_End_3(unmarshaled_End_temp_3);
int32_t unmarshaled_Optional_temp_4 = 0;
unmarshaled_Optional_temp_4 = marshaled.___Optional_4;
unmarshaled.set_Optional_4(unmarshaled_Optional_temp_4);
}
// Conversion method for clean up from marshalling of: Mono.Globalization.Unicode.SimpleCollator/Escape
extern "C" void Escape_t169451053_marshal_com_cleanup(Escape_t169451053_marshaled_com& marshaled)
{
il2cpp_codegen_marshal_free_bstring(marshaled.___Source_0);
marshaled.___Source_0 = NULL;
}
// System.Void Mono.Globalization.Unicode.SimpleCollator/PreviousInfo::.ctor(System.Boolean)
extern "C" void PreviousInfo__ctor_m1442166472 (PreviousInfo_t581002487 * __this, bool ___dummy0, const MethodInfo* method)
{
{
__this->set_Code_0((-1));
__this->set_SortKey_1((uint8_t*)(((uintptr_t)0)));
return;
}
}
extern "C" void PreviousInfo__ctor_m1442166472_AdjustorThunk (Il2CppObject * __this, bool ___dummy0, const MethodInfo* method)
{
PreviousInfo_t581002487 * _thisAdjusted = reinterpret_cast<PreviousInfo_t581002487 *>(__this + 1);
PreviousInfo__ctor_m1442166472(_thisAdjusted, ___dummy0, method);
}
// Conversion methods for marshalling of: Mono.Globalization.Unicode.SimpleCollator/PreviousInfo
extern "C" void PreviousInfo_t581002487_marshal_pinvoke(const PreviousInfo_t581002487& unmarshaled, PreviousInfo_t581002487_marshaled_pinvoke& marshaled)
{
marshaled.___Code_0 = unmarshaled.get_Code_0();
marshaled.___SortKey_1 = unmarshaled.get_SortKey_1();
}
extern "C" void PreviousInfo_t581002487_marshal_pinvoke_back(const PreviousInfo_t581002487_marshaled_pinvoke& marshaled, PreviousInfo_t581002487& unmarshaled)
{
int32_t unmarshaled_Code_temp_0 = 0;
unmarshaled_Code_temp_0 = marshaled.___Code_0;
unmarshaled.set_Code_0(unmarshaled_Code_temp_0);
unmarshaled.set_SortKey_1(marshaled.___SortKey_1);
}
// Conversion method for clean up from marshalling of: Mono.Globalization.Unicode.SimpleCollator/PreviousInfo
extern "C" void PreviousInfo_t581002487_marshal_pinvoke_cleanup(PreviousInfo_t581002487_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: Mono.Globalization.Unicode.SimpleCollator/PreviousInfo
extern "C" void PreviousInfo_t581002487_marshal_com(const PreviousInfo_t581002487& unmarshaled, PreviousInfo_t581002487_marshaled_com& marshaled)
{
marshaled.___Code_0 = unmarshaled.get_Code_0();
marshaled.___SortKey_1 = unmarshaled.get_SortKey_1();
}
extern "C" void PreviousInfo_t581002487_marshal_com_back(const PreviousInfo_t581002487_marshaled_com& marshaled, PreviousInfo_t581002487& unmarshaled)
{
int32_t unmarshaled_Code_temp_0 = 0;
unmarshaled_Code_temp_0 = marshaled.___Code_0;
unmarshaled.set_Code_0(unmarshaled_Code_temp_0);
unmarshaled.set_SortKey_1(marshaled.___SortKey_1);
}
// Conversion method for clean up from marshalling of: Mono.Globalization.Unicode.SimpleCollator/PreviousInfo
extern "C" void PreviousInfo_t581002487_marshal_com_cleanup(PreviousInfo_t581002487_marshaled_com& marshaled)
{
}
// System.Void Mono.Globalization.Unicode.SortKeyBuffer::.ctor(System.Int32)
extern "C" void SortKeyBuffer__ctor_m3849560435 (SortKeyBuffer_t1759538423 * __this, int32_t ___lcid0, const MethodInfo* method)
{
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Globalization.Unicode.SortKeyBuffer::Reset()
extern "C" void SortKeyBuffer_Reset_m1812791879 (SortKeyBuffer_t1759538423 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = 0;
V_0 = L_0;
__this->set_l5_7(L_0);
int32_t L_1 = V_0;
int32_t L_2 = L_1;
V_0 = L_2;
__this->set_l4w_6(L_2);
int32_t L_3 = V_0;
int32_t L_4 = L_3;
V_0 = L_4;
__this->set_l4k_5(L_4);
int32_t L_5 = V_0;
int32_t L_6 = L_5;
V_0 = L_6;
__this->set_l4t_4(L_6);
int32_t L_7 = V_0;
int32_t L_8 = L_7;
V_0 = L_8;
__this->set_l4s_3(L_8);
int32_t L_9 = V_0;
int32_t L_10 = L_9;
V_0 = L_10;
__this->set_l3_2(L_10);
int32_t L_11 = V_0;
int32_t L_12 = L_11;
V_0 = L_12;
__this->set_l2_1(L_12);
int32_t L_13 = V_0;
__this->set_l1_0(L_13);
__this->set_frenchSorted_19((bool)0);
return;
}
}
// System.Void Mono.Globalization.Unicode.SortKeyBuffer::Initialize(System.Globalization.CompareOptions,System.Int32,System.String,System.Boolean)
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t SortKeyBuffer_Initialize_m588272701_MetadataUsageId;
extern "C" void SortKeyBuffer_Initialize_m588272701 (SortKeyBuffer_t1759538423 * __this, int32_t ___options0, int32_t ___lcid1, String_t* ___s2, bool ___frenchSort3, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SortKeyBuffer_Initialize_m588272701_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
{
String_t* L_0 = ___s2;
__this->set_source_16(L_0);
int32_t L_1 = ___lcid1;
__this->set_lcid_20(L_1);
int32_t L_2 = ___options0;
__this->set_options_21(L_2);
String_t* L_3 = ___s2;
int32_t L_4 = String_get_Length_m1606060069(L_3, /*hidden argument*/NULL);
V_0 = L_4;
int32_t L_5 = ___options0;
__this->set_processLevel2_17((bool)((((int32_t)((int32_t)((int32_t)L_5&(int32_t)2))) == ((int32_t)0))? 1 : 0));
bool L_6 = ___frenchSort3;
__this->set_frenchSort_18(L_6);
ByteU5BU5D_t3397334013* L_7 = __this->get_l1b_8();
if (!L_7)
{
goto IL_0049;
}
}
{
ByteU5BU5D_t3397334013* L_8 = __this->get_l1b_8();
int32_t L_9 = V_0;
if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_8)->max_length))))) >= ((int32_t)L_9)))
{
goto IL_005a;
}
}
IL_0049:
{
int32_t L_10 = V_0;
__this->set_l1b_8(((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_10*(int32_t)2))+(int32_t)((int32_t)10))))));
}
IL_005a:
{
bool L_11 = __this->get_processLevel2_17();
if (!L_11)
{
goto IL_008d;
}
}
{
ByteU5BU5D_t3397334013* L_12 = __this->get_l2b_9();
if (!L_12)
{
goto IL_007e;
}
}
{
ByteU5BU5D_t3397334013* L_13 = __this->get_l2b_9();
int32_t L_14 = V_0;
if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_13)->max_length))))) >= ((int32_t)L_14)))
{
goto IL_008d;
}
}
IL_007e:
{
int32_t L_15 = V_0;
__this->set_l2b_9(((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)L_15+(int32_t)((int32_t)10))))));
}
IL_008d:
{
ByteU5BU5D_t3397334013* L_16 = __this->get_l3b_10();
if (!L_16)
{
goto IL_00a6;
}
}
{
ByteU5BU5D_t3397334013* L_17 = __this->get_l3b_10();
int32_t L_18 = V_0;
if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_17)->max_length))))) >= ((int32_t)L_18)))
{
goto IL_00b5;
}
}
IL_00a6:
{
int32_t L_19 = V_0;
__this->set_l3b_10(((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)L_19+(int32_t)((int32_t)10))))));
}
IL_00b5:
{
ByteU5BU5D_t3397334013* L_20 = __this->get_l4sb_11();
if (L_20)
{
goto IL_00cd;
}
}
{
__this->set_l4sb_11(((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)10))));
}
IL_00cd:
{
ByteU5BU5D_t3397334013* L_21 = __this->get_l4tb_12();
if (L_21)
{
goto IL_00e5;
}
}
{
__this->set_l4tb_12(((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)10))));
}
IL_00e5:
{
ByteU5BU5D_t3397334013* L_22 = __this->get_l4kb_13();
if (L_22)
{
goto IL_00fd;
}
}
{
__this->set_l4kb_13(((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)10))));
}
IL_00fd:
{
ByteU5BU5D_t3397334013* L_23 = __this->get_l4wb_14();
if (L_23)
{
goto IL_0115;
}
}
{
__this->set_l4wb_14(((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)10))));
}
IL_0115:
{
ByteU5BU5D_t3397334013* L_24 = __this->get_l5b_15();
if (L_24)
{
goto IL_012d;
}
}
{
__this->set_l5b_15(((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)10))));
}
IL_012d:
{
return;
}
}
// System.Void Mono.Globalization.Unicode.SortKeyBuffer::AppendCJKExtension(System.Byte,System.Byte)
extern "C" void SortKeyBuffer_AppendCJKExtension_m1401737447 (SortKeyBuffer_t1759538423 * __this, uint8_t ___lv1msb0, uint8_t ___lv1lsb1, const MethodInfo* method)
{
{
ByteU5BU5D_t3397334013** L_0 = __this->get_address_of_l1b_8();
int32_t* L_1 = __this->get_address_of_l1_0();
SortKeyBuffer_AppendBufferPrimitive_m702517590(__this, ((int32_t)254), L_0, L_1, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013** L_2 = __this->get_address_of_l1b_8();
int32_t* L_3 = __this->get_address_of_l1_0();
SortKeyBuffer_AppendBufferPrimitive_m702517590(__this, ((int32_t)255), L_2, L_3, /*hidden argument*/NULL);
uint8_t L_4 = ___lv1msb0;
ByteU5BU5D_t3397334013** L_5 = __this->get_address_of_l1b_8();
int32_t* L_6 = __this->get_address_of_l1_0();
SortKeyBuffer_AppendBufferPrimitive_m702517590(__this, L_4, L_5, L_6, /*hidden argument*/NULL);
uint8_t L_7 = ___lv1lsb1;
ByteU5BU5D_t3397334013** L_8 = __this->get_address_of_l1b_8();
int32_t* L_9 = __this->get_address_of_l1_0();
SortKeyBuffer_AppendBufferPrimitive_m702517590(__this, L_7, L_8, L_9, /*hidden argument*/NULL);
bool L_10 = __this->get_processLevel2_17();
if (!L_10)
{
goto IL_0072;
}
}
{
ByteU5BU5D_t3397334013** L_11 = __this->get_address_of_l2b_9();
int32_t* L_12 = __this->get_address_of_l2_1();
SortKeyBuffer_AppendBufferPrimitive_m702517590(__this, 2, L_11, L_12, /*hidden argument*/NULL);
}
IL_0072:
{
ByteU5BU5D_t3397334013** L_13 = __this->get_address_of_l3b_10();
int32_t* L_14 = __this->get_address_of_l3_2();
SortKeyBuffer_AppendBufferPrimitive_m702517590(__this, 2, L_13, L_14, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Globalization.Unicode.SortKeyBuffer::AppendKana(System.Byte,System.Byte,System.Byte,System.Byte,System.Boolean,System.Byte,System.Boolean,System.Boolean)
extern "C" void SortKeyBuffer_AppendKana_m3963110419 (SortKeyBuffer_t1759538423 * __this, uint8_t ___category0, uint8_t ___lv11, uint8_t ___lv22, uint8_t ___lv33, bool ___isSmallKana4, uint8_t ___markType5, bool ___isKatakana6, bool ___isHalfWidth7, const MethodInfo* method)
{
SortKeyBuffer_t1759538423 * G_B2_0 = NULL;
SortKeyBuffer_t1759538423 * G_B1_0 = NULL;
int32_t G_B3_0 = 0;
SortKeyBuffer_t1759538423 * G_B3_1 = NULL;
SortKeyBuffer_t1759538423 * G_B5_0 = NULL;
SortKeyBuffer_t1759538423 * G_B4_0 = NULL;
int32_t G_B6_0 = 0;
SortKeyBuffer_t1759538423 * G_B6_1 = NULL;
SortKeyBuffer_t1759538423 * G_B8_0 = NULL;
SortKeyBuffer_t1759538423 * G_B7_0 = NULL;
int32_t G_B9_0 = 0;
SortKeyBuffer_t1759538423 * G_B9_1 = NULL;
{
uint8_t L_0 = ___category0;
uint8_t L_1 = ___lv11;
uint8_t L_2 = ___lv22;
uint8_t L_3 = ___lv33;
SortKeyBuffer_AppendNormal_m2554296431(__this, L_0, L_1, L_2, L_3, /*hidden argument*/NULL);
bool L_4 = ___isSmallKana4;
G_B1_0 = __this;
if (!L_4)
{
G_B2_0 = __this;
goto IL_001d;
}
}
{
G_B3_0 = ((int32_t)196);
G_B3_1 = G_B1_0;
goto IL_0022;
}
IL_001d:
{
G_B3_0 = ((int32_t)228);
G_B3_1 = G_B2_0;
}
IL_0022:
{
ByteU5BU5D_t3397334013** L_5 = __this->get_address_of_l4sb_11();
int32_t* L_6 = __this->get_address_of_l4s_3();
SortKeyBuffer_AppendBufferPrimitive_m702517590(G_B3_1, (((int32_t)((uint8_t)G_B3_0))), L_5, L_6, /*hidden argument*/NULL);
uint8_t L_7 = ___markType5;
ByteU5BU5D_t3397334013** L_8 = __this->get_address_of_l4tb_12();
int32_t* L_9 = __this->get_address_of_l4t_4();
SortKeyBuffer_AppendBufferPrimitive_m702517590(__this, L_7, L_8, L_9, /*hidden argument*/NULL);
bool L_10 = ___isKatakana6;
G_B4_0 = __this;
if (!L_10)
{
G_B5_0 = __this;
goto IL_005a;
}
}
{
G_B6_0 = ((int32_t)196);
G_B6_1 = G_B4_0;
goto IL_005f;
}
IL_005a:
{
G_B6_0 = ((int32_t)228);
G_B6_1 = G_B5_0;
}
IL_005f:
{
ByteU5BU5D_t3397334013** L_11 = __this->get_address_of_l4kb_13();
int32_t* L_12 = __this->get_address_of_l4k_5();
SortKeyBuffer_AppendBufferPrimitive_m702517590(G_B6_1, (((int32_t)((uint8_t)G_B6_0))), L_11, L_12, /*hidden argument*/NULL);
bool L_13 = ___isHalfWidth7;
G_B7_0 = __this;
if (!L_13)
{
G_B8_0 = __this;
goto IL_0083;
}
}
{
G_B9_0 = ((int32_t)196);
G_B9_1 = G_B7_0;
goto IL_0088;
}
IL_0083:
{
G_B9_0 = ((int32_t)228);
G_B9_1 = G_B8_0;
}
IL_0088:
{
ByteU5BU5D_t3397334013** L_14 = __this->get_address_of_l4wb_14();
int32_t* L_15 = __this->get_address_of_l4w_6();
SortKeyBuffer_AppendBufferPrimitive_m702517590(G_B9_1, (((int32_t)((uint8_t)G_B9_0))), L_14, L_15, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Globalization.Unicode.SortKeyBuffer::AppendNormal(System.Byte,System.Byte,System.Byte,System.Byte)
extern "C" void SortKeyBuffer_AppendNormal_m2554296431 (SortKeyBuffer_t1759538423 * __this, uint8_t ___category0, uint8_t ___lv11, uint8_t ___lv22, uint8_t ___lv33, const MethodInfo* method)
{
int32_t V_0 = 0;
{
uint8_t L_0 = ___lv22;
if (L_0)
{
goto IL_0009;
}
}
{
___lv22 = 2;
}
IL_0009:
{
uint8_t L_1 = ___lv33;
if (L_1)
{
goto IL_0013;
}
}
{
___lv33 = 2;
}
IL_0013:
{
uint8_t L_2 = ___category0;
if ((!(((uint32_t)L_2) == ((uint32_t)6))))
{
goto IL_0034;
}
}
{
int32_t L_3 = __this->get_options_21();
if (((int32_t)((int32_t)L_3&(int32_t)((int32_t)536870912))))
{
goto IL_0034;
}
}
{
uint8_t L_4 = ___category0;
uint8_t L_5 = ___lv11;
SortKeyBuffer_AppendLevel5_m1585345611(__this, L_4, L_5, /*hidden argument*/NULL);
return;
}
IL_0034:
{
bool L_6 = __this->get_processLevel2_17();
if (!L_6)
{
goto IL_0089;
}
}
{
uint8_t L_7 = ___category0;
if ((!(((uint32_t)L_7) == ((uint32_t)1))))
{
goto IL_0089;
}
}
{
int32_t L_8 = __this->get_l1_0();
if ((((int32_t)L_8) <= ((int32_t)0)))
{
goto IL_0089;
}
}
{
uint8_t L_9 = ___lv22;
ByteU5BU5D_t3397334013* L_10 = __this->get_l2b_9();
int32_t L_11 = __this->get_l2_1();
int32_t L_12 = ((int32_t)((int32_t)L_11-(int32_t)1));
V_0 = L_12;
__this->set_l2_1(L_12);
int32_t L_13 = V_0;
int32_t L_14 = L_13;
uint8_t L_15 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
___lv22 = (((int32_t)((uint8_t)((int32_t)((int32_t)L_9+(int32_t)L_15)))));
ByteU5BU5D_t3397334013* L_16 = __this->get_l3b_10();
int32_t L_17 = __this->get_l3_2();
int32_t L_18 = ((int32_t)((int32_t)L_17-(int32_t)1));
V_0 = L_18;
__this->set_l3_2(L_18);
int32_t L_19 = V_0;
int32_t L_20 = L_19;
uint8_t L_21 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
___lv33 = L_21;
}
IL_0089:
{
uint8_t L_22 = ___category0;
if ((((int32_t)L_22) == ((int32_t)1)))
{
goto IL_00b6;
}
}
{
uint8_t L_23 = ___category0;
ByteU5BU5D_t3397334013** L_24 = __this->get_address_of_l1b_8();
int32_t* L_25 = __this->get_address_of_l1_0();
SortKeyBuffer_AppendBufferPrimitive_m702517590(__this, L_23, L_24, L_25, /*hidden argument*/NULL);
uint8_t L_26 = ___lv11;
ByteU5BU5D_t3397334013** L_27 = __this->get_address_of_l1b_8();
int32_t* L_28 = __this->get_address_of_l1_0();
SortKeyBuffer_AppendBufferPrimitive_m702517590(__this, L_26, L_27, L_28, /*hidden argument*/NULL);
}
IL_00b6:
{
bool L_29 = __this->get_processLevel2_17();
if (!L_29)
{
goto IL_00d4;
}
}
{
uint8_t L_30 = ___lv22;
ByteU5BU5D_t3397334013** L_31 = __this->get_address_of_l2b_9();
int32_t* L_32 = __this->get_address_of_l2_1();
SortKeyBuffer_AppendBufferPrimitive_m702517590(__this, L_30, L_31, L_32, /*hidden argument*/NULL);
}
IL_00d4:
{
uint8_t L_33 = ___lv33;
ByteU5BU5D_t3397334013** L_34 = __this->get_address_of_l3b_10();
int32_t* L_35 = __this->get_address_of_l3_2();
SortKeyBuffer_AppendBufferPrimitive_m702517590(__this, L_33, L_34, L_35, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Globalization.Unicode.SortKeyBuffer::AppendLevel5(System.Byte,System.Byte)
extern "C" void SortKeyBuffer_AppendLevel5_m1585345611 (SortKeyBuffer_t1759538423 * __this, uint8_t ___category0, uint8_t ___lv11, const MethodInfo* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->get_l2_1();
V_0 = ((int32_t)((int32_t)((int32_t)((int32_t)L_0+(int32_t)1))%(int32_t)((int32_t)8192)));
int32_t L_1 = V_0;
ByteU5BU5D_t3397334013** L_2 = __this->get_address_of_l5b_15();
int32_t* L_3 = __this->get_address_of_l5_7();
SortKeyBuffer_AppendBufferPrimitive_m702517590(__this, (((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)((int32_t)L_1/(int32_t)((int32_t)64)))+(int32_t)((int32_t)128)))))), L_2, L_3, /*hidden argument*/NULL);
int32_t L_4 = V_0;
ByteU5BU5D_t3397334013** L_5 = __this->get_address_of_l5b_15();
int32_t* L_6 = __this->get_address_of_l5_7();
SortKeyBuffer_AppendBufferPrimitive_m702517590(__this, (((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_4%(int32_t)((int32_t)64)))*(int32_t)4))+(int32_t)3))))), L_5, L_6, /*hidden argument*/NULL);
uint8_t L_7 = ___category0;
ByteU5BU5D_t3397334013** L_8 = __this->get_address_of_l5b_15();
int32_t* L_9 = __this->get_address_of_l5_7();
SortKeyBuffer_AppendBufferPrimitive_m702517590(__this, L_7, L_8, L_9, /*hidden argument*/NULL);
uint8_t L_10 = ___lv11;
ByteU5BU5D_t3397334013** L_11 = __this->get_address_of_l5b_15();
int32_t* L_12 = __this->get_address_of_l5_7();
SortKeyBuffer_AppendBufferPrimitive_m702517590(__this, L_10, L_11, L_12, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Globalization.Unicode.SortKeyBuffer::AppendBufferPrimitive(System.Byte,System.Byte[]&,System.Int32&)
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t SortKeyBuffer_AppendBufferPrimitive_m702517590_MetadataUsageId;
extern "C" void SortKeyBuffer_AppendBufferPrimitive_m702517590 (SortKeyBuffer_t1759538423 * __this, uint8_t ___value0, ByteU5BU5D_t3397334013** ___buf1, int32_t* ___bidx2, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SortKeyBuffer_AppendBufferPrimitive_m702517590_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ByteU5BU5D_t3397334013* V_0 = NULL;
int32_t V_1 = 0;
{
ByteU5BU5D_t3397334013** L_0 = ___buf1;
int32_t* L_1 = ___bidx2;
int32_t* L_2 = ___bidx2;
int32_t L_3 = (*((int32_t*)L_2));
V_1 = L_3;
*((int32_t*)(L_1)) = (int32_t)((int32_t)((int32_t)L_3+(int32_t)1));
int32_t L_4 = V_1;
uint8_t L_5 = ___value0;
((*((ByteU5BU5D_t3397334013**)L_0)))->SetAt(static_cast<il2cpp_array_size_t>(L_4), (uint8_t)L_5);
int32_t* L_6 = ___bidx2;
ByteU5BU5D_t3397334013** L_7 = ___buf1;
if ((!(((uint32_t)(*((int32_t*)L_6))) == ((uint32_t)(((int32_t)((int32_t)(((Il2CppArray *)(*((ByteU5BU5D_t3397334013**)L_7)))->max_length))))))))
{
goto IL_0031;
}
}
{
int32_t* L_8 = ___bidx2;
V_0 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)(*((int32_t*)L_8))*(int32_t)2))));
ByteU5BU5D_t3397334013** L_9 = ___buf1;
ByteU5BU5D_t3397334013* L_10 = V_0;
ByteU5BU5D_t3397334013** L_11 = ___buf1;
Array_Copy_m2363740072(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)(*((ByteU5BU5D_t3397334013**)L_9)), (Il2CppArray *)(Il2CppArray *)L_10, (((int32_t)((int32_t)(((Il2CppArray *)(*((ByteU5BU5D_t3397334013**)L_11)))->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_t3397334013** L_12 = ___buf1;
ByteU5BU5D_t3397334013* L_13 = V_0;
*((Il2CppObject **)(L_12)) = (Il2CppObject *)L_13;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_12), (Il2CppObject *)L_13);
}
IL_0031:
{
return;
}
}
// System.Globalization.SortKey Mono.Globalization.Unicode.SortKeyBuffer::GetResultAndReset()
extern "C" SortKey_t1270563137 * SortKeyBuffer_GetResultAndReset_m2516956577 (SortKeyBuffer_t1759538423 * __this, const MethodInfo* method)
{
SortKey_t1270563137 * V_0 = NULL;
{
SortKey_t1270563137 * L_0 = SortKeyBuffer_GetResult_m962852575(__this, /*hidden argument*/NULL);
V_0 = L_0;
SortKeyBuffer_Reset_m1812791879(__this, /*hidden argument*/NULL);
SortKey_t1270563137 * L_1 = V_0;
return L_1;
}
}
// System.Int32 Mono.Globalization.Unicode.SortKeyBuffer::GetOptimizedLength(System.Byte[],System.Int32,System.Byte)
extern "C" int32_t SortKeyBuffer_GetOptimizedLength_m2170603326 (SortKeyBuffer_t1759538423 * __this, ByteU5BU5D_t3397334013* ___data0, int32_t ___len1, uint8_t ___defaultValue2, const MethodInfo* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
V_0 = (-1);
V_1 = 0;
goto IL_0018;
}
IL_0009:
{
ByteU5BU5D_t3397334013* L_0 = ___data0;
int32_t L_1 = V_1;
int32_t L_2 = L_1;
uint8_t L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
uint8_t L_4 = ___defaultValue2;
if ((((int32_t)L_3) == ((int32_t)L_4)))
{
goto IL_0014;
}
}
{
int32_t L_5 = V_1;
V_0 = L_5;
}
IL_0014:
{
int32_t L_6 = V_1;
V_1 = ((int32_t)((int32_t)L_6+(int32_t)1));
}
IL_0018:
{
int32_t L_7 = V_1;
int32_t L_8 = ___len1;
if ((((int32_t)L_7) < ((int32_t)L_8)))
{
goto IL_0009;
}
}
{
int32_t L_9 = V_0;
return ((int32_t)((int32_t)L_9+(int32_t)1));
}
}
// System.Globalization.SortKey Mono.Globalization.Unicode.SortKeyBuffer::GetResult()
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern Il2CppClass* SortKey_t1270563137_il2cpp_TypeInfo_var;
extern const uint32_t SortKeyBuffer_GetResult_m962852575_MetadataUsageId;
extern "C" SortKey_t1270563137 * SortKeyBuffer_GetResult_m962852575 (SortKeyBuffer_t1759538423 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SortKeyBuffer_GetResult_m962852575_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
bool V_1 = false;
int32_t V_2 = 0;
int32_t V_3 = 0;
ByteU5BU5D_t3397334013* V_4 = NULL;
int32_t V_5 = 0;
{
bool L_0 = __this->get_frenchSort_18();
if (!L_0)
{
goto IL_0060;
}
}
{
bool L_1 = __this->get_frenchSorted_19();
if (L_1)
{
goto IL_0060;
}
}
{
ByteU5BU5D_t3397334013* L_2 = __this->get_l2b_9();
if (!L_2)
{
goto IL_0060;
}
}
{
V_0 = 0;
goto IL_003e;
}
IL_0028:
{
ByteU5BU5D_t3397334013* L_3 = __this->get_l2b_9();
int32_t L_4 = V_0;
int32_t L_5 = L_4;
uint8_t L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
if (L_6)
{
goto IL_003a;
}
}
{
goto IL_004c;
}
IL_003a:
{
int32_t L_7 = V_0;
V_0 = ((int32_t)((int32_t)L_7+(int32_t)1));
}
IL_003e:
{
int32_t L_8 = V_0;
ByteU5BU5D_t3397334013* L_9 = __this->get_l2b_9();
if ((((int32_t)L_8) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_9)->max_length)))))))
{
goto IL_0028;
}
}
IL_004c:
{
ByteU5BU5D_t3397334013* L_10 = __this->get_l2b_9();
int32_t L_11 = V_0;
Array_Reverse_m3433347928(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_10, 0, L_11, /*hidden argument*/NULL);
__this->set_frenchSorted_19((bool)1);
}
IL_0060:
{
ByteU5BU5D_t3397334013* L_12 = __this->get_l2b_9();
int32_t L_13 = __this->get_l2_1();
int32_t L_14 = SortKeyBuffer_GetOptimizedLength_m2170603326(__this, L_12, L_13, 2, /*hidden argument*/NULL);
__this->set_l2_1(L_14);
ByteU5BU5D_t3397334013* L_15 = __this->get_l3b_10();
int32_t L_16 = __this->get_l3_2();
int32_t L_17 = SortKeyBuffer_GetOptimizedLength_m2170603326(__this, L_15, L_16, 2, /*hidden argument*/NULL);
__this->set_l3_2(L_17);
int32_t L_18 = __this->get_l4s_3();
V_1 = (bool)((((int32_t)L_18) > ((int32_t)0))? 1 : 0);
ByteU5BU5D_t3397334013* L_19 = __this->get_l4sb_11();
int32_t L_20 = __this->get_l4s_3();
int32_t L_21 = SortKeyBuffer_GetOptimizedLength_m2170603326(__this, L_19, L_20, ((int32_t)228), /*hidden argument*/NULL);
__this->set_l4s_3(L_21);
ByteU5BU5D_t3397334013* L_22 = __this->get_l4tb_12();
int32_t L_23 = __this->get_l4t_4();
int32_t L_24 = SortKeyBuffer_GetOptimizedLength_m2170603326(__this, L_22, L_23, 3, /*hidden argument*/NULL);
__this->set_l4t_4(L_24);
ByteU5BU5D_t3397334013* L_25 = __this->get_l4kb_13();
int32_t L_26 = __this->get_l4k_5();
int32_t L_27 = SortKeyBuffer_GetOptimizedLength_m2170603326(__this, L_25, L_26, ((int32_t)228), /*hidden argument*/NULL);
__this->set_l4k_5(L_27);
ByteU5BU5D_t3397334013* L_28 = __this->get_l4wb_14();
int32_t L_29 = __this->get_l4w_6();
int32_t L_30 = SortKeyBuffer_GetOptimizedLength_m2170603326(__this, L_28, L_29, ((int32_t)228), /*hidden argument*/NULL);
__this->set_l4w_6(L_30);
ByteU5BU5D_t3397334013* L_31 = __this->get_l5b_15();
int32_t L_32 = __this->get_l5_7();
int32_t L_33 = SortKeyBuffer_GetOptimizedLength_m2170603326(__this, L_31, L_32, 2, /*hidden argument*/NULL);
__this->set_l5_7(L_33);
int32_t L_34 = __this->get_l1_0();
int32_t L_35 = __this->get_l2_1();
int32_t L_36 = __this->get_l3_2();
int32_t L_37 = __this->get_l5_7();
V_2 = ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_34+(int32_t)L_35))+(int32_t)L_36))+(int32_t)L_37))+(int32_t)5));
int32_t L_38 = __this->get_l4s_3();
int32_t L_39 = __this->get_l4t_4();
int32_t L_40 = __this->get_l4k_5();
int32_t L_41 = __this->get_l4w_6();
V_3 = ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_38+(int32_t)L_39))+(int32_t)L_40))+(int32_t)L_41));
bool L_42 = V_1;
if (!L_42)
{
goto IL_016b;
}
}
{
int32_t L_43 = V_2;
int32_t L_44 = V_3;
V_2 = ((int32_t)((int32_t)L_43+(int32_t)((int32_t)((int32_t)L_44+(int32_t)4))));
}
IL_016b:
{
int32_t L_45 = V_2;
V_4 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_45));
ByteU5BU5D_t3397334013* L_46 = __this->get_l1b_8();
ByteU5BU5D_t3397334013* L_47 = V_4;
int32_t L_48 = __this->get_l1_0();
Array_Copy_m2363740072(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_46, (Il2CppArray *)(Il2CppArray *)L_47, L_48, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_49 = V_4;
int32_t L_50 = __this->get_l1_0();
(L_49)->SetAt(static_cast<il2cpp_array_size_t>(L_50), (uint8_t)1);
int32_t L_51 = __this->get_l1_0();
V_5 = ((int32_t)((int32_t)L_51+(int32_t)1));
int32_t L_52 = __this->get_l2_1();
if ((((int32_t)L_52) <= ((int32_t)0)))
{
goto IL_01bc;
}
}
{
ByteU5BU5D_t3397334013* L_53 = __this->get_l2b_9();
ByteU5BU5D_t3397334013* L_54 = V_4;
int32_t L_55 = V_5;
int32_t L_56 = __this->get_l2_1();
Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_53, 0, (Il2CppArray *)(Il2CppArray *)L_54, L_55, L_56, /*hidden argument*/NULL);
}
IL_01bc:
{
int32_t L_57 = V_5;
int32_t L_58 = __this->get_l2_1();
V_5 = ((int32_t)((int32_t)L_57+(int32_t)L_58));
ByteU5BU5D_t3397334013* L_59 = V_4;
int32_t L_60 = V_5;
int32_t L_61 = L_60;
V_5 = ((int32_t)((int32_t)L_61+(int32_t)1));
(L_59)->SetAt(static_cast<il2cpp_array_size_t>(L_61), (uint8_t)1);
int32_t L_62 = __this->get_l3_2();
if ((((int32_t)L_62) <= ((int32_t)0)))
{
goto IL_01f4;
}
}
{
ByteU5BU5D_t3397334013* L_63 = __this->get_l3b_10();
ByteU5BU5D_t3397334013* L_64 = V_4;
int32_t L_65 = V_5;
int32_t L_66 = __this->get_l3_2();
Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_63, 0, (Il2CppArray *)(Il2CppArray *)L_64, L_65, L_66, /*hidden argument*/NULL);
}
IL_01f4:
{
int32_t L_67 = V_5;
int32_t L_68 = __this->get_l3_2();
V_5 = ((int32_t)((int32_t)L_67+(int32_t)L_68));
ByteU5BU5D_t3397334013* L_69 = V_4;
int32_t L_70 = V_5;
int32_t L_71 = L_70;
V_5 = ((int32_t)((int32_t)L_71+(int32_t)1));
(L_69)->SetAt(static_cast<il2cpp_array_size_t>(L_71), (uint8_t)1);
bool L_72 = V_1;
if (!L_72)
{
goto IL_02cc;
}
}
{
ByteU5BU5D_t3397334013* L_73 = __this->get_l4sb_11();
ByteU5BU5D_t3397334013* L_74 = V_4;
int32_t L_75 = V_5;
int32_t L_76 = __this->get_l4s_3();
Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_73, 0, (Il2CppArray *)(Il2CppArray *)L_74, L_75, L_76, /*hidden argument*/NULL);
int32_t L_77 = V_5;
int32_t L_78 = __this->get_l4s_3();
V_5 = ((int32_t)((int32_t)L_77+(int32_t)L_78));
ByteU5BU5D_t3397334013* L_79 = V_4;
int32_t L_80 = V_5;
int32_t L_81 = L_80;
V_5 = ((int32_t)((int32_t)L_81+(int32_t)1));
(L_79)->SetAt(static_cast<il2cpp_array_size_t>(L_81), (uint8_t)((int32_t)255));
ByteU5BU5D_t3397334013* L_82 = __this->get_l4tb_12();
ByteU5BU5D_t3397334013* L_83 = V_4;
int32_t L_84 = V_5;
int32_t L_85 = __this->get_l4t_4();
Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_82, 0, (Il2CppArray *)(Il2CppArray *)L_83, L_84, L_85, /*hidden argument*/NULL);
int32_t L_86 = V_5;
int32_t L_87 = __this->get_l4t_4();
V_5 = ((int32_t)((int32_t)L_86+(int32_t)L_87));
ByteU5BU5D_t3397334013* L_88 = V_4;
int32_t L_89 = V_5;
int32_t L_90 = L_89;
V_5 = ((int32_t)((int32_t)L_90+(int32_t)1));
(L_88)->SetAt(static_cast<il2cpp_array_size_t>(L_90), (uint8_t)2);
ByteU5BU5D_t3397334013* L_91 = __this->get_l4kb_13();
ByteU5BU5D_t3397334013* L_92 = V_4;
int32_t L_93 = V_5;
int32_t L_94 = __this->get_l4k_5();
Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_91, 0, (Il2CppArray *)(Il2CppArray *)L_92, L_93, L_94, /*hidden argument*/NULL);
int32_t L_95 = V_5;
int32_t L_96 = __this->get_l4k_5();
V_5 = ((int32_t)((int32_t)L_95+(int32_t)L_96));
ByteU5BU5D_t3397334013* L_97 = V_4;
int32_t L_98 = V_5;
int32_t L_99 = L_98;
V_5 = ((int32_t)((int32_t)L_99+(int32_t)1));
(L_97)->SetAt(static_cast<il2cpp_array_size_t>(L_99), (uint8_t)((int32_t)255));
ByteU5BU5D_t3397334013* L_100 = __this->get_l4wb_14();
ByteU5BU5D_t3397334013* L_101 = V_4;
int32_t L_102 = V_5;
int32_t L_103 = __this->get_l4w_6();
Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_100, 0, (Il2CppArray *)(Il2CppArray *)L_101, L_102, L_103, /*hidden argument*/NULL);
int32_t L_104 = V_5;
int32_t L_105 = __this->get_l4w_6();
V_5 = ((int32_t)((int32_t)L_104+(int32_t)L_105));
ByteU5BU5D_t3397334013* L_106 = V_4;
int32_t L_107 = V_5;
int32_t L_108 = L_107;
V_5 = ((int32_t)((int32_t)L_108+(int32_t)1));
(L_106)->SetAt(static_cast<il2cpp_array_size_t>(L_108), (uint8_t)((int32_t)255));
}
IL_02cc:
{
ByteU5BU5D_t3397334013* L_109 = V_4;
int32_t L_110 = V_5;
int32_t L_111 = L_110;
V_5 = ((int32_t)((int32_t)L_111+(int32_t)1));
(L_109)->SetAt(static_cast<il2cpp_array_size_t>(L_111), (uint8_t)1);
int32_t L_112 = __this->get_l5_7();
if ((((int32_t)L_112) <= ((int32_t)0)))
{
goto IL_02f9;
}
}
{
ByteU5BU5D_t3397334013* L_113 = __this->get_l5b_15();
ByteU5BU5D_t3397334013* L_114 = V_4;
int32_t L_115 = V_5;
int32_t L_116 = __this->get_l5_7();
Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_113, 0, (Il2CppArray *)(Il2CppArray *)L_114, L_115, L_116, /*hidden argument*/NULL);
}
IL_02f9:
{
int32_t L_117 = V_5;
int32_t L_118 = __this->get_l5_7();
V_5 = ((int32_t)((int32_t)L_117+(int32_t)L_118));
ByteU5BU5D_t3397334013* L_119 = V_4;
int32_t L_120 = V_5;
int32_t L_121 = L_120;
V_5 = ((int32_t)((int32_t)L_121+(int32_t)1));
(L_119)->SetAt(static_cast<il2cpp_array_size_t>(L_121), (uint8_t)0);
int32_t L_122 = __this->get_lcid_20();
String_t* L_123 = __this->get_source_16();
ByteU5BU5D_t3397334013* L_124 = V_4;
int32_t L_125 = __this->get_options_21();
int32_t L_126 = __this->get_l1_0();
int32_t L_127 = __this->get_l2_1();
int32_t L_128 = __this->get_l3_2();
int32_t L_129 = __this->get_l4s_3();
int32_t L_130 = __this->get_l4t_4();
int32_t L_131 = __this->get_l4k_5();
int32_t L_132 = __this->get_l4w_6();
int32_t L_133 = __this->get_l5_7();
SortKey_t1270563137 * L_134 = (SortKey_t1270563137 *)il2cpp_codegen_object_new(SortKey_t1270563137_il2cpp_TypeInfo_var);
SortKey__ctor_m116052252(L_134, L_122, L_123, L_124, L_125, L_126, L_127, L_128, L_129, L_130, L_131, L_132, L_133, /*hidden argument*/NULL);
return L_134;
}
}
// System.Void Mono.Globalization.Unicode.TailoringInfo::.ctor(System.Int32,System.Int32,System.Int32,System.Boolean)
extern "C" void TailoringInfo__ctor_m2248501932 (TailoringInfo_t1449609243 * __this, int32_t ___lcid0, int32_t ___tailoringIndex1, int32_t ___tailoringCount2, bool ___frenchSort3, const MethodInfo* method)
{
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
int32_t L_0 = ___lcid0;
__this->set_LCID_0(L_0);
int32_t L_1 = ___tailoringIndex1;
__this->set_TailoringIndex_1(L_1);
int32_t L_2 = ___tailoringCount2;
__this->set_TailoringCount_2(L_2);
bool L_3 = ___frenchSort3;
__this->set_FrenchSort_3(L_3);
return;
}
}
// System.Void Mono.Math.BigInteger::.ctor(Mono.Math.BigInteger/Sign,System.UInt32)
extern Il2CppClass* UInt32U5BU5D_t59386216_il2cpp_TypeInfo_var;
extern const uint32_t BigInteger__ctor_m2087647354_MetadataUsageId;
extern "C" void BigInteger__ctor_m2087647354 (BigInteger_t925946152 * __this, int32_t ___sign0, uint32_t ___len1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BigInteger__ctor_m2087647354_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
__this->set_length_0(1);
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
uint32_t L_0 = ___len1;
__this->set_data_1(((UInt32U5BU5D_t59386216*)SZArrayNew(UInt32U5BU5D_t59386216_il2cpp_TypeInfo_var, (uint32_t)(((uintptr_t)L_0)))));
uint32_t L_1 = ___len1;
__this->set_length_0(L_1);
return;
}
}
// System.Void Mono.Math.BigInteger::.ctor(Mono.Math.BigInteger)
extern Il2CppClass* UInt32U5BU5D_t59386216_il2cpp_TypeInfo_var;
extern const uint32_t BigInteger__ctor_m582670464_MetadataUsageId;
extern "C" void BigInteger__ctor_m582670464 (BigInteger_t925946152 * __this, BigInteger_t925946152 * ___bi0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BigInteger__ctor_m582670464_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
__this->set_length_0(1);
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
BigInteger_t925946152 * L_0 = ___bi0;
UInt32U5BU5D_t59386216* L_1 = L_0->get_data_1();
Il2CppObject * L_2 = Array_Clone_m768574314((Il2CppArray *)(Il2CppArray *)L_1, /*hidden argument*/NULL);
__this->set_data_1(((UInt32U5BU5D_t59386216*)Castclass(L_2, UInt32U5BU5D_t59386216_il2cpp_TypeInfo_var)));
BigInteger_t925946152 * L_3 = ___bi0;
uint32_t L_4 = L_3->get_length_0();
__this->set_length_0(L_4);
return;
}
}
// System.Void Mono.Math.BigInteger::.ctor(Mono.Math.BigInteger,System.UInt32)
extern Il2CppClass* UInt32U5BU5D_t59386216_il2cpp_TypeInfo_var;
extern const uint32_t BigInteger__ctor_m2550657544_MetadataUsageId;
extern "C" void BigInteger__ctor_m2550657544 (BigInteger_t925946152 * __this, BigInteger_t925946152 * ___bi0, uint32_t ___len1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BigInteger__ctor_m2550657544_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
uint32_t V_0 = 0;
{
__this->set_length_0(1);
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
uint32_t L_0 = ___len1;
__this->set_data_1(((UInt32U5BU5D_t59386216*)SZArrayNew(UInt32U5BU5D_t59386216_il2cpp_TypeInfo_var, (uint32_t)(((uintptr_t)L_0)))));
V_0 = 0;
goto IL_0037;
}
IL_0021:
{
UInt32U5BU5D_t59386216* L_1 = __this->get_data_1();
uint32_t L_2 = V_0;
BigInteger_t925946152 * L_3 = ___bi0;
UInt32U5BU5D_t59386216* L_4 = L_3->get_data_1();
uint32_t L_5 = V_0;
uintptr_t L_6 = (((uintptr_t)L_5));
uint32_t L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
(L_1)->SetAt(static_cast<il2cpp_array_size_t>((((uintptr_t)L_2))), (uint32_t)L_7);
uint32_t L_8 = V_0;
V_0 = ((int32_t)((int32_t)L_8+(int32_t)1));
}
IL_0037:
{
uint32_t L_9 = V_0;
BigInteger_t925946152 * L_10 = ___bi0;
uint32_t L_11 = L_10->get_length_0();
if ((!(((uint32_t)L_9) >= ((uint32_t)L_11))))
{
goto IL_0021;
}
}
{
BigInteger_t925946152 * L_12 = ___bi0;
uint32_t L_13 = L_12->get_length_0();
__this->set_length_0(L_13);
return;
}
}
// System.Void Mono.Math.BigInteger::.ctor(System.Byte[])
extern Il2CppClass* UInt32U5BU5D_t59386216_il2cpp_TypeInfo_var;
extern const uint32_t BigInteger__ctor_m2233526054_MetadataUsageId;
extern "C" void BigInteger__ctor_m2233526054 (BigInteger_t925946152 * __this, ByteU5BU5D_t3397334013* ___inData0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BigInteger__ctor_m2233526054_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
int32_t V_3 = 0;
{
__this->set_length_0(1);
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_0 = ___inData0;
__this->set_length_0(((int32_t)((uint32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_0)->max_length))))>>2)));
ByteU5BU5D_t3397334013* L_1 = ___inData0;
V_0 = ((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_1)->max_length))))&(int32_t)3));
int32_t L_2 = V_0;
if (!L_2)
{
goto IL_0032;
}
}
{
uint32_t L_3 = __this->get_length_0();
__this->set_length_0(((int32_t)((int32_t)L_3+(int32_t)1)));
}
IL_0032:
{
uint32_t L_4 = __this->get_length_0();
__this->set_data_1(((UInt32U5BU5D_t59386216*)SZArrayNew(UInt32U5BU5D_t59386216_il2cpp_TypeInfo_var, (uint32_t)(((uintptr_t)L_4)))));
ByteU5BU5D_t3397334013* L_5 = ___inData0;
V_1 = ((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_5)->max_length))))-(int32_t)1));
V_2 = 0;
goto IL_007e;
}
IL_0051:
{
UInt32U5BU5D_t59386216* L_6 = __this->get_data_1();
int32_t L_7 = V_2;
ByteU5BU5D_t3397334013* L_8 = ___inData0;
int32_t L_9 = V_1;
int32_t L_10 = ((int32_t)((int32_t)L_9-(int32_t)3));
uint8_t L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
ByteU5BU5D_t3397334013* L_12 = ___inData0;
int32_t L_13 = V_1;
int32_t L_14 = ((int32_t)((int32_t)L_13-(int32_t)2));
uint8_t L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
ByteU5BU5D_t3397334013* L_16 = ___inData0;
int32_t L_17 = V_1;
int32_t L_18 = ((int32_t)((int32_t)L_17-(int32_t)1));
uint8_t L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
ByteU5BU5D_t3397334013* L_20 = ___inData0;
int32_t L_21 = V_1;
int32_t L_22 = L_21;
uint8_t L_23 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (uint32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_11<<(int32_t)((int32_t)24)))|(int32_t)((int32_t)((int32_t)L_15<<(int32_t)((int32_t)16)))))|(int32_t)((int32_t)((int32_t)L_19<<(int32_t)8))))|(int32_t)L_23)));
int32_t L_24 = V_1;
V_1 = ((int32_t)((int32_t)L_24-(int32_t)4));
int32_t L_25 = V_2;
V_2 = ((int32_t)((int32_t)L_25+(int32_t)1));
}
IL_007e:
{
int32_t L_26 = V_1;
if ((((int32_t)L_26) >= ((int32_t)3)))
{
goto IL_0051;
}
}
{
int32_t L_27 = V_0;
V_3 = L_27;
int32_t L_28 = V_3;
if (((int32_t)((int32_t)L_28-(int32_t)1)) == 0)
{
goto IL_00a0;
}
if (((int32_t)((int32_t)L_28-(int32_t)1)) == 1)
{
goto IL_00b8;
}
if (((int32_t)((int32_t)L_28-(int32_t)1)) == 2)
{
goto IL_00d6;
}
}
{
goto IL_00fb;
}
IL_00a0:
{
UInt32U5BU5D_t59386216* L_29 = __this->get_data_1();
uint32_t L_30 = __this->get_length_0();
ByteU5BU5D_t3397334013* L_31 = ___inData0;
int32_t L_32 = 0;
uint8_t L_33 = (L_31)->GetAt(static_cast<il2cpp_array_size_t>(L_32));
(L_29)->SetAt(static_cast<il2cpp_array_size_t>((((uintptr_t)((int32_t)((int32_t)L_30-(int32_t)1))))), (uint32_t)L_33);
goto IL_00fb;
}
IL_00b8:
{
UInt32U5BU5D_t59386216* L_34 = __this->get_data_1();
uint32_t L_35 = __this->get_length_0();
ByteU5BU5D_t3397334013* L_36 = ___inData0;
int32_t L_37 = 0;
uint8_t L_38 = (L_36)->GetAt(static_cast<il2cpp_array_size_t>(L_37));
ByteU5BU5D_t3397334013* L_39 = ___inData0;
int32_t L_40 = 1;
uint8_t L_41 = (L_39)->GetAt(static_cast<il2cpp_array_size_t>(L_40));
(L_34)->SetAt(static_cast<il2cpp_array_size_t>((((uintptr_t)((int32_t)((int32_t)L_35-(int32_t)1))))), (uint32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_38<<(int32_t)8))|(int32_t)L_41)));
goto IL_00fb;
}
IL_00d6:
{
UInt32U5BU5D_t59386216* L_42 = __this->get_data_1();
uint32_t L_43 = __this->get_length_0();
ByteU5BU5D_t3397334013* L_44 = ___inData0;
int32_t L_45 = 0;
uint8_t L_46 = (L_44)->GetAt(static_cast<il2cpp_array_size_t>(L_45));
ByteU5BU5D_t3397334013* L_47 = ___inData0;
int32_t L_48 = 1;
uint8_t L_49 = (L_47)->GetAt(static_cast<il2cpp_array_size_t>(L_48));
ByteU5BU5D_t3397334013* L_50 = ___inData0;
int32_t L_51 = 2;
uint8_t L_52 = (L_50)->GetAt(static_cast<il2cpp_array_size_t>(L_51));
(L_42)->SetAt(static_cast<il2cpp_array_size_t>((((uintptr_t)((int32_t)((int32_t)L_43-(int32_t)1))))), (uint32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_46<<(int32_t)((int32_t)16)))|(int32_t)((int32_t)((int32_t)L_49<<(int32_t)8))))|(int32_t)L_52)));
goto IL_00fb;
}
IL_00fb:
{
BigInteger_Normalize_m62229468(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Math.BigInteger::.ctor(System.UInt32)
extern Il2CppClass* UInt32U5BU5D_t59386216_il2cpp_TypeInfo_var;
extern const uint32_t BigInteger__ctor_m2945783161_MetadataUsageId;
extern "C" void BigInteger__ctor_m2945783161 (BigInteger_t925946152 * __this, uint32_t ___ui0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BigInteger__ctor_m2945783161_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
__this->set_length_0(1);
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
UInt32U5BU5D_t59386216* L_0 = ((UInt32U5BU5D_t59386216*)SZArrayNew(UInt32U5BU5D_t59386216_il2cpp_TypeInfo_var, (uint32_t)1));
uint32_t L_1 = ___ui0;
(L_0)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint32_t)L_1);
__this->set_data_1(L_0);
return;
}
}
// System.Void Mono.Math.BigInteger::.cctor()
extern Il2CppClass* UInt32U5BU5D_t59386216_il2cpp_TypeInfo_var;
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern FieldInfo* U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D15_7_FieldInfo_var;
extern const uint32_t BigInteger__cctor_m2334632754_MetadataUsageId;
extern "C" void BigInteger__cctor_m2334632754 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BigInteger__cctor_m2334632754_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
UInt32U5BU5D_t59386216* L_0 = ((UInt32U5BU5D_t59386216*)SZArrayNew(UInt32U5BU5D_t59386216_il2cpp_TypeInfo_var, (uint32_t)((int32_t)783)));
RuntimeHelpers_InitializeArray_m3920580167(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_0, LoadFieldToken(U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D15_7_FieldInfo_var), /*hidden argument*/NULL);
((BigInteger_t925946152_StaticFields*)BigInteger_t925946152_il2cpp_TypeInfo_var->static_fields)->set_smallPrimes_2(L_0);
return;
}
}
// System.Security.Cryptography.RandomNumberGenerator Mono.Math.BigInteger::get_Rng()
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t BigInteger_get_Rng_m1268152318_MetadataUsageId;
extern "C" RandomNumberGenerator_t2510243513 * BigInteger_get_Rng_m1268152318 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BigInteger_get_Rng_m1268152318_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
RandomNumberGenerator_t2510243513 * L_0 = ((BigInteger_t925946152_StaticFields*)BigInteger_t925946152_il2cpp_TypeInfo_var->static_fields)->get_rng_3();
if (L_0)
{
goto IL_0014;
}
}
{
RandomNumberGenerator_t2510243513 * L_1 = RandomNumberGenerator_Create_m2275686895(NULL /*static, unused*/, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
((BigInteger_t925946152_StaticFields*)BigInteger_t925946152_il2cpp_TypeInfo_var->static_fields)->set_rng_3(L_1);
}
IL_0014:
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
RandomNumberGenerator_t2510243513 * L_2 = ((BigInteger_t925946152_StaticFields*)BigInteger_t925946152_il2cpp_TypeInfo_var->static_fields)->get_rng_3();
return L_2;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::GenerateRandom(System.Int32,System.Security.Cryptography.RandomNumberGenerator)
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t BigInteger_GenerateRandom_m1785549398_MetadataUsageId;
extern "C" BigInteger_t925946152 * BigInteger_GenerateRandom_m1785549398 (Il2CppObject * __this /* static, unused */, int32_t ___bits0, RandomNumberGenerator_t2510243513 * ___rng1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BigInteger_GenerateRandom_m1785549398_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
BigInteger_t925946152 * V_2 = NULL;
ByteU5BU5D_t3397334013* V_3 = NULL;
uint32_t V_4 = 0;
{
int32_t L_0 = ___bits0;
V_0 = ((int32_t)((int32_t)L_0>>(int32_t)5));
int32_t L_1 = ___bits0;
V_1 = ((int32_t)((int32_t)L_1&(int32_t)((int32_t)31)));
int32_t L_2 = V_1;
if (!L_2)
{
goto IL_0013;
}
}
{
int32_t L_3 = V_0;
V_0 = ((int32_t)((int32_t)L_3+(int32_t)1));
}
IL_0013:
{
int32_t L_4 = V_0;
BigInteger_t925946152 * L_5 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2087647354(L_5, 1, ((int32_t)((int32_t)L_4+(int32_t)1)), /*hidden argument*/NULL);
V_2 = L_5;
int32_t L_6 = V_0;
V_3 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)L_6<<(int32_t)2))));
RandomNumberGenerator_t2510243513 * L_7 = ___rng1;
ByteU5BU5D_t3397334013* L_8 = V_3;
VirtActionInvoker1< ByteU5BU5D_t3397334013* >::Invoke(4 /* System.Void System.Security.Cryptography.RandomNumberGenerator::GetBytes(System.Byte[]) */, L_7, L_8);
ByteU5BU5D_t3397334013* L_9 = V_3;
BigInteger_t925946152 * L_10 = V_2;
UInt32U5BU5D_t59386216* L_11 = L_10->get_data_1();
int32_t L_12 = V_0;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_9, 0, (Il2CppArray *)(Il2CppArray *)L_11, 0, ((int32_t)((int32_t)L_12<<(int32_t)2)), /*hidden argument*/NULL);
int32_t L_13 = V_1;
if (!L_13)
{
goto IL_0086;
}
}
{
int32_t L_14 = V_1;
V_4 = ((int32_t)((int32_t)1<<(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_14-(int32_t)1))&(int32_t)((int32_t)31)))));
BigInteger_t925946152 * L_15 = V_2;
UInt32U5BU5D_t59386216* L_16 = L_15->get_data_1();
int32_t L_17 = V_0;
uint32_t* L_18 = ((L_16)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_17-(int32_t)1)))));
uint32_t L_19 = V_4;
*((int32_t*)(L_18)) = (int32_t)((int32_t)((int32_t)(*((uint32_t*)L_18))|(int32_t)L_19));
int32_t L_20 = V_1;
V_4 = ((int32_t)((uint32_t)(-1)>>((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)32)-(int32_t)L_20))&(int32_t)((int32_t)31)))));
BigInteger_t925946152 * L_21 = V_2;
UInt32U5BU5D_t59386216* L_22 = L_21->get_data_1();
int32_t L_23 = V_0;
uint32_t* L_24 = ((L_22)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_23-(int32_t)1)))));
uint32_t L_25 = V_4;
*((int32_t*)(L_24)) = (int32_t)((int32_t)((int32_t)(*((uint32_t*)L_24))&(int32_t)L_25));
goto IL_009d;
}
IL_0086:
{
BigInteger_t925946152 * L_26 = V_2;
UInt32U5BU5D_t59386216* L_27 = L_26->get_data_1();
int32_t L_28 = V_0;
uint32_t* L_29 = ((L_27)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_28-(int32_t)1)))));
*((int32_t*)(L_29)) = (int32_t)((int32_t)((int32_t)(*((uint32_t*)L_29))|(int32_t)((int32_t)-2147483648LL)));
}
IL_009d:
{
BigInteger_t925946152 * L_30 = V_2;
BigInteger_Normalize_m62229468(L_30, /*hidden argument*/NULL);
BigInteger_t925946152 * L_31 = V_2;
return L_31;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::GenerateRandom(System.Int32)
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t BigInteger_GenerateRandom_m2507308768_MetadataUsageId;
extern "C" BigInteger_t925946152 * BigInteger_GenerateRandom_m2507308768 (Il2CppObject * __this /* static, unused */, int32_t ___bits0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BigInteger_GenerateRandom_m2507308768_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
int32_t L_0 = ___bits0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
RandomNumberGenerator_t2510243513 * L_1 = BigInteger_get_Rng_m1268152318(NULL /*static, unused*/, /*hidden argument*/NULL);
BigInteger_t925946152 * L_2 = BigInteger_GenerateRandom_m1785549398(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.Void Mono.Math.BigInteger::Randomize(System.Security.Cryptography.RandomNumberGenerator)
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t BigInteger_Randomize_m3622044292_MetadataUsageId;
extern "C" void BigInteger_Randomize_m3622044292 (BigInteger_t925946152 * __this, RandomNumberGenerator_t2510243513 * ___rng0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BigInteger_Randomize_m3622044292_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
ByteU5BU5D_t3397334013* V_3 = NULL;
uint32_t V_4 = 0;
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_0 = BigInteger_op_Equality_m3606819076(NULL /*static, unused*/, __this, 0, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_000d;
}
}
{
return;
}
IL_000d:
{
int32_t L_1 = BigInteger_BitCount_m3320427467(__this, /*hidden argument*/NULL);
V_0 = L_1;
int32_t L_2 = V_0;
V_1 = ((int32_t)((int32_t)L_2>>(int32_t)5));
int32_t L_3 = V_0;
V_2 = ((int32_t)((int32_t)L_3&(int32_t)((int32_t)31)));
int32_t L_4 = V_2;
if (!L_4)
{
goto IL_0027;
}
}
{
int32_t L_5 = V_1;
V_1 = ((int32_t)((int32_t)L_5+(int32_t)1));
}
IL_0027:
{
int32_t L_6 = V_1;
V_3 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)L_6<<(int32_t)2))));
RandomNumberGenerator_t2510243513 * L_7 = ___rng0;
ByteU5BU5D_t3397334013* L_8 = V_3;
VirtActionInvoker1< ByteU5BU5D_t3397334013* >::Invoke(4 /* System.Void System.Security.Cryptography.RandomNumberGenerator::GetBytes(System.Byte[]) */, L_7, L_8);
ByteU5BU5D_t3397334013* L_9 = V_3;
UInt32U5BU5D_t59386216* L_10 = __this->get_data_1();
int32_t L_11 = V_1;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_9, 0, (Il2CppArray *)(Il2CppArray *)L_10, 0, ((int32_t)((int32_t)L_11<<(int32_t)2)), /*hidden argument*/NULL);
int32_t L_12 = V_2;
if (!L_12)
{
goto IL_0090;
}
}
{
int32_t L_13 = V_2;
V_4 = ((int32_t)((int32_t)1<<(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_13-(int32_t)1))&(int32_t)((int32_t)31)))));
UInt32U5BU5D_t59386216* L_14 = __this->get_data_1();
int32_t L_15 = V_1;
uint32_t* L_16 = ((L_14)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_15-(int32_t)1)))));
uint32_t L_17 = V_4;
*((int32_t*)(L_16)) = (int32_t)((int32_t)((int32_t)(*((uint32_t*)L_16))|(int32_t)L_17));
int32_t L_18 = V_2;
V_4 = ((int32_t)((uint32_t)(-1)>>((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)32)-(int32_t)L_18))&(int32_t)((int32_t)31)))));
UInt32U5BU5D_t59386216* L_19 = __this->get_data_1();
int32_t L_20 = V_1;
uint32_t* L_21 = ((L_19)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_20-(int32_t)1)))));
uint32_t L_22 = V_4;
*((int32_t*)(L_21)) = (int32_t)((int32_t)((int32_t)(*((uint32_t*)L_21))&(int32_t)L_22));
goto IL_00a7;
}
IL_0090:
{
UInt32U5BU5D_t59386216* L_23 = __this->get_data_1();
int32_t L_24 = V_1;
uint32_t* L_25 = ((L_23)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_24-(int32_t)1)))));
*((int32_t*)(L_25)) = (int32_t)((int32_t)((int32_t)(*((uint32_t*)L_25))|(int32_t)((int32_t)-2147483648LL)));
}
IL_00a7:
{
BigInteger_Normalize_m62229468(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Math.BigInteger::Randomize()
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t BigInteger_Randomize_m4237512560_MetadataUsageId;
extern "C" void BigInteger_Randomize_m4237512560 (BigInteger_t925946152 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BigInteger_Randomize_m4237512560_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
RandomNumberGenerator_t2510243513 * L_0 = BigInteger_get_Rng_m1268152318(NULL /*static, unused*/, /*hidden argument*/NULL);
BigInteger_Randomize_m3622044292(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// System.Int32 Mono.Math.BigInteger::BitCount()
extern "C" int32_t BigInteger_BitCount_m3320427467 (BigInteger_t925946152 * __this, const MethodInfo* method)
{
uint32_t V_0 = 0;
uint32_t V_1 = 0;
uint32_t V_2 = 0;
{
BigInteger_Normalize_m62229468(__this, /*hidden argument*/NULL);
UInt32U5BU5D_t59386216* L_0 = __this->get_data_1();
uint32_t L_1 = __this->get_length_0();
uintptr_t L_2 = (((uintptr_t)((int32_t)((int32_t)L_1-(int32_t)1))));
uint32_t L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
V_0 = L_3;
V_1 = ((int32_t)-2147483648LL);
V_2 = ((int32_t)32);
goto IL_002d;
}
IL_0025:
{
uint32_t L_4 = V_2;
V_2 = ((int32_t)((int32_t)L_4-(int32_t)1));
uint32_t L_5 = V_1;
V_1 = ((int32_t)((uint32_t)L_5>>1));
}
IL_002d:
{
uint32_t L_6 = V_2;
if ((!(((uint32_t)L_6) > ((uint32_t)0))))
{
goto IL_003c;
}
}
{
uint32_t L_7 = V_0;
uint32_t L_8 = V_1;
if (!((int32_t)((int32_t)L_7&(int32_t)L_8)))
{
goto IL_0025;
}
}
IL_003c:
{
uint32_t L_9 = V_2;
uint32_t L_10 = __this->get_length_0();
V_2 = ((int32_t)((int32_t)L_9+(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_10-(int32_t)1))<<(int32_t)5))));
uint32_t L_11 = V_2;
return L_11;
}
}
// System.Boolean Mono.Math.BigInteger::TestBit(System.UInt32)
extern "C" bool BigInteger_TestBit_m2116575810 (BigInteger_t925946152 * __this, uint32_t ___bitNum0, const MethodInfo* method)
{
uint32_t V_0 = 0;
uint8_t V_1 = 0x0;
uint32_t V_2 = 0;
{
uint32_t L_0 = ___bitNum0;
V_0 = ((int32_t)((uint32_t)L_0>>5));
uint32_t L_1 = ___bitNum0;
V_1 = (((int32_t)((uint8_t)((int32_t)((int32_t)L_1&(int32_t)((int32_t)31))))));
uint8_t L_2 = V_1;
V_2 = ((int32_t)((int32_t)1<<(int32_t)((int32_t)((int32_t)L_2&(int32_t)((int32_t)31)))));
UInt32U5BU5D_t59386216* L_3 = __this->get_data_1();
uint32_t L_4 = V_0;
uintptr_t L_5 = (((uintptr_t)L_4));
uint32_t L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
uint32_t L_7 = V_2;
return (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_6&(int32_t)L_7))) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0);
}
}
// System.Boolean Mono.Math.BigInteger::TestBit(System.Int32)
extern Il2CppClass* IndexOutOfRangeException_t3527622107_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral3327183165;
extern const uint32_t BigInteger_TestBit_m2791151177_MetadataUsageId;
extern "C" bool BigInteger_TestBit_m2791151177 (BigInteger_t925946152 * __this, int32_t ___bitNum0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BigInteger_TestBit_m2791151177_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
uint32_t V_0 = 0;
uint8_t V_1 = 0x0;
uint32_t V_2 = 0;
{
int32_t L_0 = ___bitNum0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0012;
}
}
{
IndexOutOfRangeException_t3527622107 * L_1 = (IndexOutOfRangeException_t3527622107 *)il2cpp_codegen_object_new(IndexOutOfRangeException_t3527622107_il2cpp_TypeInfo_var);
IndexOutOfRangeException__ctor_m1847153122(L_1, _stringLiteral3327183165, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1);
}
IL_0012:
{
int32_t L_2 = ___bitNum0;
V_0 = ((int32_t)((uint32_t)L_2>>5));
int32_t L_3 = ___bitNum0;
V_1 = (((int32_t)((uint8_t)((int32_t)((int32_t)L_3&(int32_t)((int32_t)31))))));
uint8_t L_4 = V_1;
V_2 = ((int32_t)((int32_t)1<<(int32_t)((int32_t)((int32_t)L_4&(int32_t)((int32_t)31)))));
UInt32U5BU5D_t59386216* L_5 = __this->get_data_1();
uint32_t L_6 = V_0;
uintptr_t L_7 = (((uintptr_t)L_6));
uint32_t L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
uint32_t L_9 = V_2;
UInt32U5BU5D_t59386216* L_10 = __this->get_data_1();
uint32_t L_11 = V_0;
uintptr_t L_12 = (((uintptr_t)L_11));
uint32_t L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
return (bool)((((int32_t)((int32_t)((int32_t)L_8|(int32_t)L_9))) == ((int32_t)L_13))? 1 : 0);
}
}
// System.Void Mono.Math.BigInteger::SetBit(System.UInt32)
extern "C" void BigInteger_SetBit_m3652815178 (BigInteger_t925946152 * __this, uint32_t ___bitNum0, const MethodInfo* method)
{
{
uint32_t L_0 = ___bitNum0;
BigInteger_SetBit_m3708595375(__this, L_0, (bool)1, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Math.BigInteger::SetBit(System.UInt32,System.Boolean)
extern "C" void BigInteger_SetBit_m3708595375 (BigInteger_t925946152 * __this, uint32_t ___bitNum0, bool ___value1, const MethodInfo* method)
{
uint32_t V_0 = 0;
uint32_t V_1 = 0;
{
uint32_t L_0 = ___bitNum0;
V_0 = ((int32_t)((uint32_t)L_0>>5));
uint32_t L_1 = V_0;
uint32_t L_2 = __this->get_length_0();
if ((!(((uint32_t)L_1) < ((uint32_t)L_2))))
{
goto IL_004a;
}
}
{
uint32_t L_3 = ___bitNum0;
V_1 = ((int32_t)((int32_t)1<<(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_3&(int32_t)((int32_t)31)))&(int32_t)((int32_t)31)))));
bool L_4 = ___value1;
if (!L_4)
{
goto IL_0037;
}
}
{
UInt32U5BU5D_t59386216* L_5 = __this->get_data_1();
uint32_t L_6 = V_0;
uint32_t* L_7 = ((L_5)->GetAddressAt(static_cast<il2cpp_array_size_t>((il2cpp_array_size_t)(uintptr_t)(((uintptr_t)L_6)))));
uint32_t L_8 = V_1;
*((int32_t*)(L_7)) = (int32_t)((int32_t)((int32_t)(*((uint32_t*)L_7))|(int32_t)L_8));
goto IL_004a;
}
IL_0037:
{
UInt32U5BU5D_t59386216* L_9 = __this->get_data_1();
uint32_t L_10 = V_0;
uint32_t* L_11 = ((L_9)->GetAddressAt(static_cast<il2cpp_array_size_t>((il2cpp_array_size_t)(uintptr_t)(((uintptr_t)L_10)))));
uint32_t L_12 = V_1;
*((int32_t*)(L_11)) = (int32_t)((int32_t)((int32_t)(*((uint32_t*)L_11))&(int32_t)((~L_12))));
}
IL_004a:
{
return;
}
}
// System.Int32 Mono.Math.BigInteger::LowestSetBit()
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t BigInteger_LowestSetBit_m4236277214_MetadataUsageId;
extern "C" int32_t BigInteger_LowestSetBit_m4236277214 (BigInteger_t925946152 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BigInteger_LowestSetBit_m4236277214_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_0 = BigInteger_op_Equality_m3606819076(NULL /*static, unused*/, __this, 0, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_000e;
}
}
{
return (-1);
}
IL_000e:
{
V_0 = 0;
goto IL_0019;
}
IL_0015:
{
int32_t L_1 = V_0;
V_0 = ((int32_t)((int32_t)L_1+(int32_t)1));
}
IL_0019:
{
int32_t L_2 = V_0;
bool L_3 = BigInteger_TestBit_m2791151177(__this, L_2, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_0015;
}
}
{
int32_t L_4 = V_0;
return L_4;
}
}
// System.Byte[] Mono.Math.BigInteger::GetBytes()
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t BigInteger_GetBytes_m2935282248_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* BigInteger_GetBytes_m2935282248 (BigInteger_t925946152 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BigInteger_GetBytes_m2935282248_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
ByteU5BU5D_t3397334013* V_2 = NULL;
int32_t V_3 = 0;
int32_t V_4 = 0;
int32_t V_5 = 0;
uint32_t V_6 = 0;
int32_t V_7 = 0;
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_0 = BigInteger_op_Equality_m3606819076(NULL /*static, unused*/, __this, 0, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0013;
}
}
{
return ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)1));
}
IL_0013:
{
int32_t L_1 = BigInteger_BitCount_m3320427467(__this, /*hidden argument*/NULL);
V_0 = L_1;
int32_t L_2 = V_0;
V_1 = ((int32_t)((int32_t)L_2>>(int32_t)3));
int32_t L_3 = V_0;
if (!((int32_t)((int32_t)L_3&(int32_t)7)))
{
goto IL_002a;
}
}
{
int32_t L_4 = V_1;
V_1 = ((int32_t)((int32_t)L_4+(int32_t)1));
}
IL_002a:
{
int32_t L_5 = V_1;
V_2 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_5));
int32_t L_6 = V_1;
V_3 = ((int32_t)((int32_t)L_6&(int32_t)3));
int32_t L_7 = V_3;
if (L_7)
{
goto IL_003d;
}
}
{
V_3 = 4;
}
IL_003d:
{
V_4 = 0;
uint32_t L_8 = __this->get_length_0();
V_5 = ((int32_t)((int32_t)L_8-(int32_t)1));
goto IL_0096;
}
IL_004f:
{
UInt32U5BU5D_t59386216* L_9 = __this->get_data_1();
int32_t L_10 = V_5;
int32_t L_11 = L_10;
uint32_t L_12 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
V_6 = L_12;
int32_t L_13 = V_3;
V_7 = ((int32_t)((int32_t)L_13-(int32_t)1));
goto IL_0080;
}
IL_0064:
{
ByteU5BU5D_t3397334013* L_14 = V_2;
int32_t L_15 = V_4;
int32_t L_16 = V_7;
uint32_t L_17 = V_6;
(L_14)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_15+(int32_t)L_16))), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_17&(int32_t)((int32_t)255)))))));
uint32_t L_18 = V_6;
V_6 = ((int32_t)((uint32_t)L_18>>8));
int32_t L_19 = V_7;
V_7 = ((int32_t)((int32_t)L_19-(int32_t)1));
}
IL_0080:
{
int32_t L_20 = V_7;
if ((((int32_t)L_20) >= ((int32_t)0)))
{
goto IL_0064;
}
}
{
int32_t L_21 = V_4;
int32_t L_22 = V_3;
V_4 = ((int32_t)((int32_t)L_21+(int32_t)L_22));
V_3 = 4;
int32_t L_23 = V_5;
V_5 = ((int32_t)((int32_t)L_23-(int32_t)1));
}
IL_0096:
{
int32_t L_24 = V_5;
if ((((int32_t)L_24) >= ((int32_t)0)))
{
goto IL_004f;
}
}
{
ByteU5BU5D_t3397334013* L_25 = V_2;
return L_25;
}
}
// System.String Mono.Math.BigInteger::ToString(System.UInt32)
extern Il2CppCodeGenString* _stringLiteral2201430650;
extern const uint32_t BigInteger_ToString_m1239856588_MetadataUsageId;
extern "C" String_t* BigInteger_ToString_m1239856588 (BigInteger_t925946152 * __this, uint32_t ___radix0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BigInteger_ToString_m1239856588_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
uint32_t L_0 = ___radix0;
String_t* L_1 = BigInteger_ToString_m3837784224(__this, L_0, _stringLiteral2201430650, /*hidden argument*/NULL);
return L_1;
}
}
// System.String Mono.Math.BigInteger::ToString(System.UInt32,System.String)
extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var;
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral2724263200;
extern Il2CppCodeGenString* _stringLiteral3203804411;
extern Il2CppCodeGenString* _stringLiteral423328942;
extern Il2CppCodeGenString* _stringLiteral4128928268;
extern Il2CppCodeGenString* _stringLiteral372029326;
extern Il2CppCodeGenString* _stringLiteral372029325;
extern const uint32_t BigInteger_ToString_m3837784224_MetadataUsageId;
extern "C" String_t* BigInteger_ToString_m3837784224 (BigInteger_t925946152 * __this, uint32_t ___radix0, String_t* ___characterSet1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BigInteger_ToString_m3837784224_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
String_t* V_0 = NULL;
BigInteger_t925946152 * V_1 = NULL;
uint32_t V_2 = 0;
{
String_t* L_0 = ___characterSet1;
int32_t L_1 = String_get_Length_m1606060069(L_0, /*hidden argument*/NULL);
uint32_t L_2 = ___radix0;
if ((((int64_t)(((int64_t)((int64_t)L_1)))) >= ((int64_t)(((int64_t)((uint64_t)L_2))))))
{
goto IL_001e;
}
}
{
ArgumentException_t3259014390 * L_3 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m544251339(L_3, _stringLiteral2724263200, _stringLiteral3203804411, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3);
}
IL_001e:
{
uint32_t L_4 = ___radix0;
if ((!(((uint32_t)L_4) == ((uint32_t)1))))
{
goto IL_0035;
}
}
{
ArgumentException_t3259014390 * L_5 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m544251339(L_5, _stringLiteral423328942, _stringLiteral4128928268, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5);
}
IL_0035:
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_6 = BigInteger_op_Equality_m3606819076(NULL /*static, unused*/, __this, 0, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_0047;
}
}
{
return _stringLiteral372029326;
}
IL_0047:
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_7 = BigInteger_op_Equality_m3606819076(NULL /*static, unused*/, __this, 1, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_0059;
}
}
{
return _stringLiteral372029325;
}
IL_0059:
{
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_8 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2();
V_0 = L_8;
BigInteger_t925946152 * L_9 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m582670464(L_9, __this, /*hidden argument*/NULL);
V_1 = L_9;
goto IL_0086;
}
IL_006b:
{
BigInteger_t925946152 * L_10 = V_1;
uint32_t L_11 = ___radix0;
uint32_t L_12 = Kernel_SingleByteDivideInPlace_m1760318278(NULL /*static, unused*/, L_10, L_11, /*hidden argument*/NULL);
V_2 = L_12;
String_t* L_13 = ___characterSet1;
uint32_t L_14 = V_2;
Il2CppChar L_15 = String_get_Chars_m4230566705(L_13, L_14, /*hidden argument*/NULL);
Il2CppChar L_16 = L_15;
Il2CppObject * L_17 = Box(Char_t3454481338_il2cpp_TypeInfo_var, &L_16);
String_t* L_18 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_19 = String_Concat_m56707527(NULL /*static, unused*/, L_17, L_18, /*hidden argument*/NULL);
V_0 = L_19;
}
IL_0086:
{
BigInteger_t925946152 * L_20 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_21 = BigInteger_op_Inequality_m628223799(NULL /*static, unused*/, L_20, 0, /*hidden argument*/NULL);
if (L_21)
{
goto IL_006b;
}
}
{
String_t* L_22 = V_0;
return L_22;
}
}
// System.Void Mono.Math.BigInteger::Normalize()
extern "C" void BigInteger_Normalize_m62229468 (BigInteger_t925946152 * __this, const MethodInfo* method)
{
{
goto IL_0013;
}
IL_0005:
{
uint32_t L_0 = __this->get_length_0();
__this->set_length_0(((int32_t)((int32_t)L_0-(int32_t)1)));
}
IL_0013:
{
uint32_t L_1 = __this->get_length_0();
if ((!(((uint32_t)L_1) > ((uint32_t)0))))
{
goto IL_0034;
}
}
{
UInt32U5BU5D_t59386216* L_2 = __this->get_data_1();
uint32_t L_3 = __this->get_length_0();
uintptr_t L_4 = (((uintptr_t)((int32_t)((int32_t)L_3-(int32_t)1))));
uint32_t L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
if (!L_5)
{
goto IL_0005;
}
}
IL_0034:
{
uint32_t L_6 = __this->get_length_0();
if (L_6)
{
goto IL_004d;
}
}
{
uint32_t L_7 = __this->get_length_0();
__this->set_length_0(((int32_t)((int32_t)L_7+(int32_t)1)));
}
IL_004d:
{
return;
}
}
// System.Void Mono.Math.BigInteger::Clear()
extern "C" void BigInteger_Clear_m433805134 (BigInteger_t925946152 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
V_0 = 0;
goto IL_0014;
}
IL_0007:
{
UInt32U5BU5D_t59386216* L_0 = __this->get_data_1();
int32_t L_1 = V_0;
(L_0)->SetAt(static_cast<il2cpp_array_size_t>(L_1), (uint32_t)0);
int32_t L_2 = V_0;
V_0 = ((int32_t)((int32_t)L_2+(int32_t)1));
}
IL_0014:
{
int32_t L_3 = V_0;
uint32_t L_4 = __this->get_length_0();
if ((((int64_t)(((int64_t)((int64_t)L_3)))) < ((int64_t)(((int64_t)((uint64_t)L_4))))))
{
goto IL_0007;
}
}
{
return;
}
}
// System.Int32 Mono.Math.BigInteger::GetHashCode()
extern "C" int32_t BigInteger_GetHashCode_m4043602706 (BigInteger_t925946152 * __this, const MethodInfo* method)
{
uint32_t V_0 = 0;
uint32_t V_1 = 0;
{
V_0 = 0;
V_1 = 0;
goto IL_0019;
}
IL_0009:
{
uint32_t L_0 = V_0;
UInt32U5BU5D_t59386216* L_1 = __this->get_data_1();
uint32_t L_2 = V_1;
uintptr_t L_3 = (((uintptr_t)L_2));
uint32_t L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
V_0 = ((int32_t)((int32_t)L_0^(int32_t)L_4));
uint32_t L_5 = V_1;
V_1 = ((int32_t)((int32_t)L_5+(int32_t)1));
}
IL_0019:
{
uint32_t L_6 = V_1;
uint32_t L_7 = __this->get_length_0();
if ((!(((uint32_t)L_6) >= ((uint32_t)L_7))))
{
goto IL_0009;
}
}
{
uint32_t L_8 = V_0;
return L_8;
}
}
// System.String Mono.Math.BigInteger::ToString()
extern "C" String_t* BigInteger_ToString_m377176314 (BigInteger_t925946152 * __this, const MethodInfo* method)
{
{
String_t* L_0 = BigInteger_ToString_m1239856588(__this, ((int32_t)10), /*hidden argument*/NULL);
return L_0;
}
}
// System.Boolean Mono.Math.BigInteger::Equals(System.Object)
extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var;
extern Il2CppClass* UInt32_t2149682021_il2cpp_TypeInfo_var;
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t BigInteger_Equals_m562026250_MetadataUsageId;
extern "C" bool BigInteger_Equals_m562026250 (BigInteger_t925946152 * __this, Il2CppObject * ___o0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BigInteger_Equals_m562026250_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
BigInteger_t925946152 * V_0 = NULL;
int32_t G_B6_0 = 0;
{
Il2CppObject * L_0 = ___o0;
if (L_0)
{
goto IL_0008;
}
}
{
return (bool)0;
}
IL_0008:
{
Il2CppObject * L_1 = ___o0;
if (!((Il2CppObject *)IsInstSealed(L_1, Int32_t2071877448_il2cpp_TypeInfo_var)))
{
goto IL_002f;
}
}
{
Il2CppObject * L_2 = ___o0;
if ((((int32_t)((*(int32_t*)((int32_t*)UnBox (L_2, Int32_t2071877448_il2cpp_TypeInfo_var))))) < ((int32_t)0)))
{
goto IL_002d;
}
}
{
Il2CppObject * L_3 = ___o0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_4 = BigInteger_op_Equality_m3606819076(NULL /*static, unused*/, __this, ((*(uint32_t*)((uint32_t*)UnBox (L_3, UInt32_t2149682021_il2cpp_TypeInfo_var)))), /*hidden argument*/NULL);
G_B6_0 = ((int32_t)(L_4));
goto IL_002e;
}
IL_002d:
{
G_B6_0 = 0;
}
IL_002e:
{
return (bool)G_B6_0;
}
IL_002f:
{
Il2CppObject * L_5 = ___o0;
V_0 = ((BigInteger_t925946152 *)IsInstClass(L_5, BigInteger_t925946152_il2cpp_TypeInfo_var));
BigInteger_t925946152 * L_6 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_7 = BigInteger_op_Equality_m366854173(NULL /*static, unused*/, L_6, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_0044;
}
}
{
return (bool)0;
}
IL_0044:
{
BigInteger_t925946152 * L_8 = V_0;
int32_t L_9 = Kernel_Compare_m25797552(NULL /*static, unused*/, __this, L_8, /*hidden argument*/NULL);
return (bool)((((int32_t)L_9) == ((int32_t)0))? 1 : 0);
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::ModInverse(Mono.Math.BigInteger)
extern "C" BigInteger_t925946152 * BigInteger_ModInverse_m506185746 (BigInteger_t925946152 * __this, BigInteger_t925946152 * ___modulus0, const MethodInfo* method)
{
{
BigInteger_t925946152 * L_0 = ___modulus0;
BigInteger_t925946152 * L_1 = Kernel_modInverse_m2619695041(NULL /*static, unused*/, __this, L_0, /*hidden argument*/NULL);
return L_1;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::ModPow(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern Il2CppClass* ModulusRing_t80355991_il2cpp_TypeInfo_var;
extern const uint32_t BigInteger_ModPow_m887553845_MetadataUsageId;
extern "C" BigInteger_t925946152 * BigInteger_ModPow_m887553845 (BigInteger_t925946152 * __this, BigInteger_t925946152 * ___exp0, BigInteger_t925946152 * ___n1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BigInteger_ModPow_m887553845_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ModulusRing_t80355991 * V_0 = NULL;
{
BigInteger_t925946152 * L_0 = ___n1;
ModulusRing_t80355991 * L_1 = (ModulusRing_t80355991 *)il2cpp_codegen_object_new(ModulusRing_t80355991_il2cpp_TypeInfo_var);
ModulusRing__ctor_m59363820(L_1, L_0, /*hidden argument*/NULL);
V_0 = L_1;
ModulusRing_t80355991 * L_2 = V_0;
BigInteger_t925946152 * L_3 = ___exp0;
BigInteger_t925946152 * L_4 = ModulusRing_Pow_m1137250399(L_2, __this, L_3, /*hidden argument*/NULL);
return L_4;
}
}
// System.Boolean Mono.Math.BigInteger::IsProbablePrime()
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t BigInteger_IsProbablePrime_m3945802749_MetadataUsageId;
extern "C" bool BigInteger_IsProbablePrime_m3945802749 (BigInteger_t925946152 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BigInteger_IsProbablePrime_m3945802749_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
UInt32U5BU5D_t59386216* L_0 = ((BigInteger_t925946152_StaticFields*)BigInteger_t925946152_il2cpp_TypeInfo_var->static_fields)->get_smallPrimes_2();
UInt32U5BU5D_t59386216* L_1 = ((BigInteger_t925946152_StaticFields*)BigInteger_t925946152_il2cpp_TypeInfo_var->static_fields)->get_smallPrimes_2();
int32_t L_2 = ((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_1)->max_length))))-(int32_t)1));
uint32_t L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
BigInteger_t925946152 * L_4 = BigInteger_op_Implicit_m799073176(NULL /*static, unused*/, L_3, /*hidden argument*/NULL);
bool L_5 = BigInteger_op_LessThanOrEqual_m1986506530(NULL /*static, unused*/, __this, L_4, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_004d;
}
}
{
V_0 = 0;
goto IL_003e;
}
IL_0026:
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
UInt32U5BU5D_t59386216* L_6 = ((BigInteger_t925946152_StaticFields*)BigInteger_t925946152_il2cpp_TypeInfo_var->static_fields)->get_smallPrimes_2();
int32_t L_7 = V_0;
int32_t L_8 = L_7;
uint32_t L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
bool L_10 = BigInteger_op_Equality_m3606819076(NULL /*static, unused*/, __this, L_9, /*hidden argument*/NULL);
if (!L_10)
{
goto IL_003a;
}
}
{
return (bool)1;
}
IL_003a:
{
int32_t L_11 = V_0;
V_0 = ((int32_t)((int32_t)L_11+(int32_t)1));
}
IL_003e:
{
int32_t L_12 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
UInt32U5BU5D_t59386216* L_13 = ((BigInteger_t925946152_StaticFields*)BigInteger_t925946152_il2cpp_TypeInfo_var->static_fields)->get_smallPrimes_2();
if ((((int32_t)L_12) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_13)->max_length)))))))
{
goto IL_0026;
}
}
{
return (bool)0;
}
IL_004d:
{
V_1 = 0;
goto IL_006c;
}
IL_0054:
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
UInt32U5BU5D_t59386216* L_14 = ((BigInteger_t925946152_StaticFields*)BigInteger_t925946152_il2cpp_TypeInfo_var->static_fields)->get_smallPrimes_2();
int32_t L_15 = V_1;
int32_t L_16 = L_15;
uint32_t L_17 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
uint32_t L_18 = BigInteger_op_Modulus_m582549828(NULL /*static, unused*/, __this, L_17, /*hidden argument*/NULL);
if (L_18)
{
goto IL_0068;
}
}
{
return (bool)0;
}
IL_0068:
{
int32_t L_19 = V_1;
V_1 = ((int32_t)((int32_t)L_19+(int32_t)1));
}
IL_006c:
{
int32_t L_20 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
UInt32U5BU5D_t59386216* L_21 = ((BigInteger_t925946152_StaticFields*)BigInteger_t925946152_il2cpp_TypeInfo_var->static_fields)->get_smallPrimes_2();
if ((((int32_t)L_20) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_21)->max_length)))))))
{
goto IL_0054;
}
}
{
bool L_22 = PrimalityTests_Test_m1088386156(NULL /*static, unused*/, __this, 2, /*hidden argument*/NULL);
return L_22;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::GeneratePseudoPrime(System.Int32)
extern Il2CppClass* SequentialSearchPrimeGeneratorBase_t463670656_il2cpp_TypeInfo_var;
extern const uint32_t BigInteger_GeneratePseudoPrime_m2606361440_MetadataUsageId;
extern "C" BigInteger_t925946152 * BigInteger_GeneratePseudoPrime_m2606361440 (Il2CppObject * __this /* static, unused */, int32_t ___bits0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BigInteger_GeneratePseudoPrime_m2606361440_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
SequentialSearchPrimeGeneratorBase_t463670656 * V_0 = NULL;
{
SequentialSearchPrimeGeneratorBase_t463670656 * L_0 = (SequentialSearchPrimeGeneratorBase_t463670656 *)il2cpp_codegen_object_new(SequentialSearchPrimeGeneratorBase_t463670656_il2cpp_TypeInfo_var);
SequentialSearchPrimeGeneratorBase__ctor_m1628348781(L_0, /*hidden argument*/NULL);
V_0 = L_0;
SequentialSearchPrimeGeneratorBase_t463670656 * L_1 = V_0;
int32_t L_2 = ___bits0;
BigInteger_t925946152 * L_3 = VirtFuncInvoker1< BigInteger_t925946152 *, int32_t >::Invoke(7 /* Mono.Math.BigInteger Mono.Math.Prime.Generator.SequentialSearchPrimeGeneratorBase::GenerateNewPrime(System.Int32) */, L_1, L_2);
return L_3;
}
}
// System.Void Mono.Math.BigInteger::Incr2()
extern "C" void BigInteger_Incr2_m4072644401 (BigInteger_t925946152 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
V_0 = 0;
UInt32U5BU5D_t59386216* L_0 = __this->get_data_1();
uint32_t* L_1 = ((L_0)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)));
*((int32_t*)(L_1)) = (int32_t)((int32_t)((int32_t)(*((uint32_t*)L_1))+(int32_t)2));
UInt32U5BU5D_t59386216* L_2 = __this->get_data_1();
int32_t L_3 = 0;
uint32_t L_4 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
if ((!(((uint32_t)L_4) < ((uint32_t)2))))
{
goto IL_0077;
}
}
{
UInt32U5BU5D_t59386216* L_5 = __this->get_data_1();
int32_t L_6 = V_0;
int32_t L_7 = ((int32_t)((int32_t)L_6+(int32_t)1));
V_0 = L_7;
uint32_t* L_8 = ((L_5)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_7)));
*((int32_t*)(L_8)) = (int32_t)((int32_t)((int32_t)(*((uint32_t*)L_8))+(int32_t)1));
goto IL_004c;
}
IL_003b:
{
UInt32U5BU5D_t59386216* L_9 = __this->get_data_1();
int32_t L_10 = V_0;
uint32_t* L_11 = ((L_9)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_10)));
*((int32_t*)(L_11)) = (int32_t)((int32_t)((int32_t)(*((uint32_t*)L_11))+(int32_t)1));
}
IL_004c:
{
UInt32U5BU5D_t59386216* L_12 = __this->get_data_1();
int32_t L_13 = V_0;
int32_t L_14 = L_13;
V_0 = ((int32_t)((int32_t)L_14+(int32_t)1));
int32_t L_15 = L_14;
uint32_t L_16 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
if (!L_16)
{
goto IL_003b;
}
}
{
uint32_t L_17 = __this->get_length_0();
int32_t L_18 = V_0;
if ((!(((uint32_t)L_17) == ((uint32_t)L_18))))
{
goto IL_0077;
}
}
{
uint32_t L_19 = __this->get_length_0();
__this->set_length_0(((int32_t)((int32_t)L_19+(int32_t)1)));
}
IL_0077:
{
return;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Implicit(System.UInt32)
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t BigInteger_op_Implicit_m799073176_MetadataUsageId;
extern "C" BigInteger_t925946152 * BigInteger_op_Implicit_m799073176 (Il2CppObject * __this /* static, unused */, uint32_t ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BigInteger_op_Implicit_m799073176_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
uint32_t L_0 = ___value0;
BigInteger_t925946152 * L_1 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2945783161(L_1, L_0, /*hidden argument*/NULL);
return L_1;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Implicit(System.Int32)
extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var;
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral1803325615;
extern const uint32_t BigInteger_op_Implicit_m4032862257_MetadataUsageId;
extern "C" BigInteger_t925946152 * BigInteger_op_Implicit_m4032862257 (Il2CppObject * __this /* static, unused */, int32_t ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BigInteger_op_Implicit_m4032862257_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
int32_t L_0 = ___value0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0012;
}
}
{
ArgumentOutOfRangeException_t279959794 * L_1 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m1595007065(L_1, _stringLiteral1803325615, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1);
}
IL_0012:
{
int32_t L_2 = ___value0;
BigInteger_t925946152 * L_3 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2945783161(L_3, L_2, /*hidden argument*/NULL);
return L_3;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Addition(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t BigInteger_op_Addition_m1196561843_MetadataUsageId;
extern "C" BigInteger_t925946152 * BigInteger_op_Addition_m1196561843 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___bi10, BigInteger_t925946152 * ___bi21, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BigInteger_op_Addition_m1196561843_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
BigInteger_t925946152 * L_0 = ___bi10;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_1 = BigInteger_op_Equality_m3606819076(NULL /*static, unused*/, L_0, 0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0013;
}
}
{
BigInteger_t925946152 * L_2 = ___bi21;
BigInteger_t925946152 * L_3 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m582670464(L_3, L_2, /*hidden argument*/NULL);
return L_3;
}
IL_0013:
{
BigInteger_t925946152 * L_4 = ___bi21;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_5 = BigInteger_op_Equality_m3606819076(NULL /*static, unused*/, L_4, 0, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_0026;
}
}
{
BigInteger_t925946152 * L_6 = ___bi10;
BigInteger_t925946152 * L_7 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m582670464(L_7, L_6, /*hidden argument*/NULL);
return L_7;
}
IL_0026:
{
BigInteger_t925946152 * L_8 = ___bi10;
BigInteger_t925946152 * L_9 = ___bi21;
BigInteger_t925946152 * L_10 = Kernel_AddSameSign_m2332657679(NULL /*static, unused*/, L_8, L_9, /*hidden argument*/NULL);
return L_10;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Subtraction(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern Il2CppClass* ArithmeticException_t3261462543_il2cpp_TypeInfo_var;
extern Il2CppClass* Exception_t1927440687_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral884742087;
extern const uint32_t BigInteger_op_Subtraction_m2941563507_MetadataUsageId;
extern "C" BigInteger_t925946152 * BigInteger_op_Subtraction_m2941563507 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___bi10, BigInteger_t925946152 * ___bi21, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BigInteger_op_Subtraction_m2941563507_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
{
BigInteger_t925946152 * L_0 = ___bi21;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_1 = BigInteger_op_Equality_m3606819076(NULL /*static, unused*/, L_0, 0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0013;
}
}
{
BigInteger_t925946152 * L_2 = ___bi10;
BigInteger_t925946152 * L_3 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m582670464(L_3, L_2, /*hidden argument*/NULL);
return L_3;
}
IL_0013:
{
BigInteger_t925946152 * L_4 = ___bi10;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_5 = BigInteger_op_Equality_m3606819076(NULL /*static, unused*/, L_4, 0, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_002a;
}
}
{
ArithmeticException_t3261462543 * L_6 = (ArithmeticException_t3261462543 *)il2cpp_codegen_object_new(ArithmeticException_t3261462543_il2cpp_TypeInfo_var);
ArithmeticException__ctor_m4208398840(L_6, _stringLiteral884742087, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6);
}
IL_002a:
{
BigInteger_t925946152 * L_7 = ___bi10;
BigInteger_t925946152 * L_8 = ___bi21;
int32_t L_9 = Kernel_Compare_m25797552(NULL /*static, unused*/, L_7, L_8, /*hidden argument*/NULL);
V_0 = L_9;
int32_t L_10 = V_0;
if (((int32_t)((int32_t)L_10+(int32_t)1)) == 0)
{
goto IL_005a;
}
if (((int32_t)((int32_t)L_10+(int32_t)1)) == 1)
{
goto IL_004b;
}
if (((int32_t)((int32_t)L_10+(int32_t)1)) == 2)
{
goto IL_0052;
}
}
{
goto IL_0065;
}
IL_004b:
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_11 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, 0, /*hidden argument*/NULL);
return L_11;
}
IL_0052:
{
BigInteger_t925946152 * L_12 = ___bi10;
BigInteger_t925946152 * L_13 = ___bi21;
BigInteger_t925946152 * L_14 = Kernel_Subtract_m8942239(NULL /*static, unused*/, L_12, L_13, /*hidden argument*/NULL);
return L_14;
}
IL_005a:
{
ArithmeticException_t3261462543 * L_15 = (ArithmeticException_t3261462543 *)il2cpp_codegen_object_new(ArithmeticException_t3261462543_il2cpp_TypeInfo_var);
ArithmeticException__ctor_m4208398840(L_15, _stringLiteral884742087, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_15);
}
IL_0065:
{
Exception_t1927440687 * L_16 = (Exception_t1927440687 *)il2cpp_codegen_object_new(Exception_t1927440687_il2cpp_TypeInfo_var);
Exception__ctor_m3886110570(L_16, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_16);
}
}
// System.UInt32 Mono.Math.BigInteger::op_Modulus(Mono.Math.BigInteger,System.UInt32)
extern "C" uint32_t BigInteger_op_Modulus_m582549828 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___bi0, uint32_t ___ui1, const MethodInfo* method)
{
{
BigInteger_t925946152 * L_0 = ___bi0;
uint32_t L_1 = ___ui1;
uint32_t L_2 = Kernel_DwordMod_m3592761111(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
return L_2;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Modulus(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" BigInteger_t925946152 * BigInteger_op_Modulus_m3788401748 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___bi10, BigInteger_t925946152 * ___bi21, const MethodInfo* method)
{
{
BigInteger_t925946152 * L_0 = ___bi10;
BigInteger_t925946152 * L_1 = ___bi21;
BigIntegerU5BU5D_t3157146937* L_2 = Kernel_multiByteDivide_m735279869(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
int32_t L_3 = 1;
BigInteger_t925946152 * L_4 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
return L_4;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Division(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" BigInteger_t925946152 * BigInteger_op_Division_m1581119694 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___bi10, BigInteger_t925946152 * ___bi21, const MethodInfo* method)
{
{
BigInteger_t925946152 * L_0 = ___bi10;
BigInteger_t925946152 * L_1 = ___bi21;
BigIntegerU5BU5D_t3157146937* L_2 = Kernel_multiByteDivide_m735279869(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
int32_t L_3 = 0;
BigInteger_t925946152 * L_4 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
return L_4;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Multiply(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern Il2CppClass* IndexOutOfRangeException_t3527622107_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral4248199938;
extern Il2CppCodeGenString* _stringLiteral1398720325;
extern const uint32_t BigInteger_op_Multiply_m3289461939_MetadataUsageId;
extern "C" BigInteger_t925946152 * BigInteger_op_Multiply_m3289461939 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___bi10, BigInteger_t925946152 * ___bi21, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BigInteger_op_Multiply_m3289461939_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
BigInteger_t925946152 * V_0 = NULL;
{
BigInteger_t925946152 * L_0 = ___bi10;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_1 = BigInteger_op_Equality_m3606819076(NULL /*static, unused*/, L_0, 0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0018;
}
}
{
BigInteger_t925946152 * L_2 = ___bi21;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_3 = BigInteger_op_Equality_m3606819076(NULL /*static, unused*/, L_2, 0, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_001f;
}
}
IL_0018:
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_4 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, 0, /*hidden argument*/NULL);
return L_4;
}
IL_001f:
{
BigInteger_t925946152 * L_5 = ___bi10;
UInt32U5BU5D_t59386216* L_6 = L_5->get_data_1();
BigInteger_t925946152 * L_7 = ___bi10;
uint32_t L_8 = L_7->get_length_0();
if ((((int64_t)(((int64_t)((int64_t)(((int32_t)((int32_t)(((Il2CppArray *)L_6)->max_length)))))))) >= ((int64_t)(((int64_t)((uint64_t)L_8))))))
{
goto IL_003f;
}
}
{
IndexOutOfRangeException_t3527622107 * L_9 = (IndexOutOfRangeException_t3527622107 *)il2cpp_codegen_object_new(IndexOutOfRangeException_t3527622107_il2cpp_TypeInfo_var);
IndexOutOfRangeException__ctor_m1847153122(L_9, _stringLiteral4248199938, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_9);
}
IL_003f:
{
BigInteger_t925946152 * L_10 = ___bi21;
UInt32U5BU5D_t59386216* L_11 = L_10->get_data_1();
BigInteger_t925946152 * L_12 = ___bi21;
uint32_t L_13 = L_12->get_length_0();
if ((((int64_t)(((int64_t)((int64_t)(((int32_t)((int32_t)(((Il2CppArray *)L_11)->max_length)))))))) >= ((int64_t)(((int64_t)((uint64_t)L_13))))))
{
goto IL_005f;
}
}
{
IndexOutOfRangeException_t3527622107 * L_14 = (IndexOutOfRangeException_t3527622107 *)il2cpp_codegen_object_new(IndexOutOfRangeException_t3527622107_il2cpp_TypeInfo_var);
IndexOutOfRangeException__ctor_m1847153122(L_14, _stringLiteral1398720325, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_14);
}
IL_005f:
{
BigInteger_t925946152 * L_15 = ___bi10;
uint32_t L_16 = L_15->get_length_0();
BigInteger_t925946152 * L_17 = ___bi21;
uint32_t L_18 = L_17->get_length_0();
BigInteger_t925946152 * L_19 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2087647354(L_19, 1, ((int32_t)((int32_t)L_16+(int32_t)L_18)), /*hidden argument*/NULL);
V_0 = L_19;
BigInteger_t925946152 * L_20 = ___bi10;
UInt32U5BU5D_t59386216* L_21 = L_20->get_data_1();
BigInteger_t925946152 * L_22 = ___bi10;
uint32_t L_23 = L_22->get_length_0();
BigInteger_t925946152 * L_24 = ___bi21;
UInt32U5BU5D_t59386216* L_25 = L_24->get_data_1();
BigInteger_t925946152 * L_26 = ___bi21;
uint32_t L_27 = L_26->get_length_0();
BigInteger_t925946152 * L_28 = V_0;
UInt32U5BU5D_t59386216* L_29 = L_28->get_data_1();
Kernel_Multiply_m3585610531(NULL /*static, unused*/, L_21, 0, L_23, L_25, 0, L_27, L_29, 0, /*hidden argument*/NULL);
BigInteger_t925946152 * L_30 = V_0;
BigInteger_Normalize_m62229468(L_30, /*hidden argument*/NULL);
BigInteger_t925946152 * L_31 = V_0;
return L_31;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Multiply(Mono.Math.BigInteger,System.Int32)
extern Il2CppClass* ArithmeticException_t3261462543_il2cpp_TypeInfo_var;
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral884742087;
extern const uint32_t BigInteger_op_Multiply_m142859783_MetadataUsageId;
extern "C" BigInteger_t925946152 * BigInteger_op_Multiply_m142859783 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___bi0, int32_t ___i1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BigInteger_op_Multiply_m142859783_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
int32_t L_0 = ___i1;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0012;
}
}
{
ArithmeticException_t3261462543 * L_1 = (ArithmeticException_t3261462543 *)il2cpp_codegen_object_new(ArithmeticException_t3261462543_il2cpp_TypeInfo_var);
ArithmeticException__ctor_m4208398840(L_1, _stringLiteral884742087, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1);
}
IL_0012:
{
int32_t L_2 = ___i1;
if (L_2)
{
goto IL_001f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_3 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, 0, /*hidden argument*/NULL);
return L_3;
}
IL_001f:
{
int32_t L_4 = ___i1;
if ((!(((uint32_t)L_4) == ((uint32_t)1))))
{
goto IL_002d;
}
}
{
BigInteger_t925946152 * L_5 = ___bi0;
BigInteger_t925946152 * L_6 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m582670464(L_6, L_5, /*hidden argument*/NULL);
return L_6;
}
IL_002d:
{
BigInteger_t925946152 * L_7 = ___bi0;
int32_t L_8 = ___i1;
BigInteger_t925946152 * L_9 = Kernel_MultiplyByDword_m155008287(NULL /*static, unused*/, L_7, L_8, /*hidden argument*/NULL);
return L_9;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::op_LeftShift(Mono.Math.BigInteger,System.Int32)
extern "C" BigInteger_t925946152 * BigInteger_op_LeftShift_m1612425812 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___bi10, int32_t ___shiftVal1, const MethodInfo* method)
{
{
BigInteger_t925946152 * L_0 = ___bi10;
int32_t L_1 = ___shiftVal1;
BigInteger_t925946152 * L_2 = Kernel_LeftShift_m1507484288(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
return L_2;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::op_RightShift(Mono.Math.BigInteger,System.Int32)
extern "C" BigInteger_t925946152 * BigInteger_op_RightShift_m1619744615 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___bi10, int32_t ___shiftVal1, const MethodInfo* method)
{
{
BigInteger_t925946152 * L_0 = ___bi10;
int32_t L_1 = ___shiftVal1;
BigInteger_t925946152 * L_2 = Kernel_RightShift_m1748207947(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.Boolean Mono.Math.BigInteger::op_Equality(Mono.Math.BigInteger,System.UInt32)
extern "C" bool BigInteger_op_Equality_m3606819076 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___bi10, uint32_t ___ui1, const MethodInfo* method)
{
int32_t G_B5_0 = 0;
{
BigInteger_t925946152 * L_0 = ___bi10;
uint32_t L_1 = L_0->get_length_0();
if ((((int32_t)L_1) == ((int32_t)1)))
{
goto IL_0012;
}
}
{
BigInteger_t925946152 * L_2 = ___bi10;
BigInteger_Normalize_m62229468(L_2, /*hidden argument*/NULL);
}
IL_0012:
{
BigInteger_t925946152 * L_3 = ___bi10;
uint32_t L_4 = L_3->get_length_0();
if ((!(((uint32_t)L_4) == ((uint32_t)1))))
{
goto IL_002b;
}
}
{
BigInteger_t925946152 * L_5 = ___bi10;
UInt32U5BU5D_t59386216* L_6 = L_5->get_data_1();
int32_t L_7 = 0;
uint32_t L_8 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
uint32_t L_9 = ___ui1;
G_B5_0 = ((((int32_t)L_8) == ((int32_t)L_9))? 1 : 0);
goto IL_002c;
}
IL_002b:
{
G_B5_0 = 0;
}
IL_002c:
{
return (bool)G_B5_0;
}
}
// System.Boolean Mono.Math.BigInteger::op_Inequality(Mono.Math.BigInteger,System.UInt32)
extern "C" bool BigInteger_op_Inequality_m628223799 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___bi10, uint32_t ___ui1, const MethodInfo* method)
{
int32_t G_B5_0 = 0;
{
BigInteger_t925946152 * L_0 = ___bi10;
uint32_t L_1 = L_0->get_length_0();
if ((((int32_t)L_1) == ((int32_t)1)))
{
goto IL_0012;
}
}
{
BigInteger_t925946152 * L_2 = ___bi10;
BigInteger_Normalize_m62229468(L_2, /*hidden argument*/NULL);
}
IL_0012:
{
BigInteger_t925946152 * L_3 = ___bi10;
uint32_t L_4 = L_3->get_length_0();
if ((!(((uint32_t)L_4) == ((uint32_t)1))))
{
goto IL_002b;
}
}
{
BigInteger_t925946152 * L_5 = ___bi10;
UInt32U5BU5D_t59386216* L_6 = L_5->get_data_1();
int32_t L_7 = 0;
uint32_t L_8 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
uint32_t L_9 = ___ui1;
G_B5_0 = ((((int32_t)L_8) == ((int32_t)L_9))? 1 : 0);
goto IL_002c;
}
IL_002b:
{
G_B5_0 = 0;
}
IL_002c:
{
return (bool)((((int32_t)G_B5_0) == ((int32_t)0))? 1 : 0);
}
}
// System.Boolean Mono.Math.BigInteger::op_Equality(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t BigInteger_op_Equality_m366854173_MetadataUsageId;
extern "C" bool BigInteger_op_Equality_m366854173 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___bi10, BigInteger_t925946152 * ___bi21, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BigInteger_op_Equality_m366854173_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
BigInteger_t925946152 * L_0 = ___bi10;
BigInteger_t925946152 * L_1 = ___bi21;
if ((!(((Il2CppObject*)(BigInteger_t925946152 *)L_0) == ((Il2CppObject*)(BigInteger_t925946152 *)L_1))))
{
goto IL_0009;
}
}
{
return (bool)1;
}
IL_0009:
{
BigInteger_t925946152 * L_2 = ___bi10;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_3 = BigInteger_op_Equality_m366854173(NULL /*static, unused*/, (BigInteger_t925946152 *)NULL, L_2, /*hidden argument*/NULL);
if (L_3)
{
goto IL_0021;
}
}
{
BigInteger_t925946152 * L_4 = ___bi21;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_5 = BigInteger_op_Equality_m366854173(NULL /*static, unused*/, (BigInteger_t925946152 *)NULL, L_4, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_0023;
}
}
IL_0021:
{
return (bool)0;
}
IL_0023:
{
BigInteger_t925946152 * L_6 = ___bi10;
BigInteger_t925946152 * L_7 = ___bi21;
int32_t L_8 = Kernel_Compare_m25797552(NULL /*static, unused*/, L_6, L_7, /*hidden argument*/NULL);
return (bool)((((int32_t)L_8) == ((int32_t)0))? 1 : 0);
}
}
// System.Boolean Mono.Math.BigInteger::op_Inequality(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t BigInteger_op_Inequality_m1442635028_MetadataUsageId;
extern "C" bool BigInteger_op_Inequality_m1442635028 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___bi10, BigInteger_t925946152 * ___bi21, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BigInteger_op_Inequality_m1442635028_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
BigInteger_t925946152 * L_0 = ___bi10;
BigInteger_t925946152 * L_1 = ___bi21;
if ((!(((Il2CppObject*)(BigInteger_t925946152 *)L_0) == ((Il2CppObject*)(BigInteger_t925946152 *)L_1))))
{
goto IL_0009;
}
}
{
return (bool)0;
}
IL_0009:
{
BigInteger_t925946152 * L_2 = ___bi10;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_3 = BigInteger_op_Equality_m366854173(NULL /*static, unused*/, (BigInteger_t925946152 *)NULL, L_2, /*hidden argument*/NULL);
if (L_3)
{
goto IL_0021;
}
}
{
BigInteger_t925946152 * L_4 = ___bi21;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_5 = BigInteger_op_Equality_m366854173(NULL /*static, unused*/, (BigInteger_t925946152 *)NULL, L_4, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_0023;
}
}
IL_0021:
{
return (bool)1;
}
IL_0023:
{
BigInteger_t925946152 * L_6 = ___bi10;
BigInteger_t925946152 * L_7 = ___bi21;
int32_t L_8 = Kernel_Compare_m25797552(NULL /*static, unused*/, L_6, L_7, /*hidden argument*/NULL);
return (bool)((((int32_t)((((int32_t)L_8) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0);
}
}
// System.Boolean Mono.Math.BigInteger::op_GreaterThan(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" bool BigInteger_op_GreaterThan_m2125509286 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___bi10, BigInteger_t925946152 * ___bi21, const MethodInfo* method)
{
{
BigInteger_t925946152 * L_0 = ___bi10;
BigInteger_t925946152 * L_1 = ___bi21;
int32_t L_2 = Kernel_Compare_m25797552(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
return (bool)((((int32_t)L_2) > ((int32_t)0))? 1 : 0);
}
}
// System.Boolean Mono.Math.BigInteger::op_LessThan(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" bool BigInteger_op_LessThan_m3575820387 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___bi10, BigInteger_t925946152 * ___bi21, const MethodInfo* method)
{
{
BigInteger_t925946152 * L_0 = ___bi10;
BigInteger_t925946152 * L_1 = ___bi21;
int32_t L_2 = Kernel_Compare_m25797552(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
return (bool)((((int32_t)L_2) < ((int32_t)0))? 1 : 0);
}
}
// System.Boolean Mono.Math.BigInteger::op_GreaterThanOrEqual(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" bool BigInteger_op_GreaterThanOrEqual_m1998498565 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___bi10, BigInteger_t925946152 * ___bi21, const MethodInfo* method)
{
{
BigInteger_t925946152 * L_0 = ___bi10;
BigInteger_t925946152 * L_1 = ___bi21;
int32_t L_2 = Kernel_Compare_m25797552(NULL /*static, unused*/, 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.Boolean Mono.Math.BigInteger::op_LessThanOrEqual(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" bool BigInteger_op_LessThanOrEqual_m1986506530 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___bi10, BigInteger_t925946152 * ___bi21, const MethodInfo* method)
{
{
BigInteger_t925946152 * L_0 = ___bi10;
BigInteger_t925946152 * L_1 = ___bi21;
int32_t L_2 = Kernel_Compare_m25797552(NULL /*static, unused*/, 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);
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger/Kernel::AddSameSign(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t Kernel_AddSameSign_m2332657679_MetadataUsageId;
extern "C" BigInteger_t925946152 * Kernel_AddSameSign_m2332657679 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___bi10, BigInteger_t925946152 * ___bi21, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (Kernel_AddSameSign_m2332657679_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
UInt32U5BU5D_t59386216* V_0 = NULL;
UInt32U5BU5D_t59386216* V_1 = NULL;
uint32_t V_2 = 0;
uint32_t V_3 = 0;
uint32_t V_4 = 0;
BigInteger_t925946152 * V_5 = NULL;
UInt32U5BU5D_t59386216* V_6 = NULL;
uint64_t V_7 = 0;
bool V_8 = false;
uint32_t V_9 = 0;
{
V_4 = 0;
BigInteger_t925946152 * L_0 = ___bi10;
uint32_t L_1 = L_0->get_length_0();
BigInteger_t925946152 * L_2 = ___bi21;
uint32_t L_3 = L_2->get_length_0();
if ((!(((uint32_t)L_1) < ((uint32_t)L_3))))
{
goto IL_0035;
}
}
{
BigInteger_t925946152 * L_4 = ___bi21;
UInt32U5BU5D_t59386216* L_5 = L_4->get_data_1();
V_0 = L_5;
BigInteger_t925946152 * L_6 = ___bi21;
uint32_t L_7 = L_6->get_length_0();
V_3 = L_7;
BigInteger_t925946152 * L_8 = ___bi10;
UInt32U5BU5D_t59386216* L_9 = L_8->get_data_1();
V_1 = L_9;
BigInteger_t925946152 * L_10 = ___bi10;
uint32_t L_11 = L_10->get_length_0();
V_2 = L_11;
goto IL_0051;
}
IL_0035:
{
BigInteger_t925946152 * L_12 = ___bi10;
UInt32U5BU5D_t59386216* L_13 = L_12->get_data_1();
V_0 = L_13;
BigInteger_t925946152 * L_14 = ___bi10;
uint32_t L_15 = L_14->get_length_0();
V_3 = L_15;
BigInteger_t925946152 * L_16 = ___bi21;
UInt32U5BU5D_t59386216* L_17 = L_16->get_data_1();
V_1 = L_17;
BigInteger_t925946152 * L_18 = ___bi21;
uint32_t L_19 = L_18->get_length_0();
V_2 = L_19;
}
IL_0051:
{
uint32_t L_20 = V_3;
BigInteger_t925946152 * L_21 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2087647354(L_21, 1, ((int32_t)((int32_t)L_20+(int32_t)1)), /*hidden argument*/NULL);
V_5 = L_21;
BigInteger_t925946152 * L_22 = V_5;
UInt32U5BU5D_t59386216* L_23 = L_22->get_data_1();
V_6 = L_23;
V_7 = (((int64_t)((int64_t)0)));
}
IL_0069:
{
UInt32U5BU5D_t59386216* L_24 = V_0;
uint32_t L_25 = V_4;
uintptr_t L_26 = (((uintptr_t)L_25));
uint32_t L_27 = (L_24)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
UInt32U5BU5D_t59386216* L_28 = V_1;
uint32_t L_29 = V_4;
uintptr_t L_30 = (((uintptr_t)L_29));
uint32_t L_31 = (L_28)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
uint64_t L_32 = V_7;
V_7 = ((int64_t)((int64_t)((int64_t)((int64_t)(((int64_t)((uint64_t)L_27)))+(int64_t)(((int64_t)((uint64_t)L_31)))))+(int64_t)L_32));
UInt32U5BU5D_t59386216* L_33 = V_6;
uint32_t L_34 = V_4;
uint64_t L_35 = V_7;
(L_33)->SetAt(static_cast<il2cpp_array_size_t>((((uintptr_t)L_34))), (uint32_t)(((int32_t)((uint32_t)L_35))));
uint64_t L_36 = V_7;
V_7 = ((int64_t)((uint64_t)L_36>>((int32_t)32)));
uint32_t L_37 = V_4;
int32_t L_38 = ((int32_t)((int32_t)L_37+(int32_t)1));
V_4 = L_38;
uint32_t L_39 = V_2;
if ((!(((uint32_t)L_38) >= ((uint32_t)L_39))))
{
goto IL_0069;
}
}
{
uint64_t L_40 = V_7;
V_8 = (bool)((((int32_t)((((int64_t)L_40) == ((int64_t)(((int64_t)((int64_t)0)))))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_41 = V_8;
if (!L_41)
{
goto IL_00fc;
}
}
{
uint32_t L_42 = V_4;
uint32_t L_43 = V_3;
if ((!(((uint32_t)L_42) < ((uint32_t)L_43))))
{
goto IL_00dd;
}
}
IL_00b2:
{
UInt32U5BU5D_t59386216* L_44 = V_6;
uint32_t L_45 = V_4;
UInt32U5BU5D_t59386216* L_46 = V_0;
uint32_t L_47 = V_4;
uintptr_t L_48 = (((uintptr_t)L_47));
uint32_t L_49 = (L_46)->GetAt(static_cast<il2cpp_array_size_t>(L_48));
int32_t L_50 = ((int32_t)((int32_t)L_49+(int32_t)1));
V_9 = L_50;
(L_44)->SetAt(static_cast<il2cpp_array_size_t>((((uintptr_t)L_45))), (uint32_t)L_50);
uint32_t L_51 = V_9;
V_8 = (bool)((((int32_t)L_51) == ((int32_t)0))? 1 : 0);
uint32_t L_52 = V_4;
int32_t L_53 = ((int32_t)((int32_t)L_52+(int32_t)1));
V_4 = L_53;
uint32_t L_54 = V_3;
if ((!(((uint32_t)L_53) < ((uint32_t)L_54))))
{
goto IL_00dd;
}
}
{
bool L_55 = V_8;
if (L_55)
{
goto IL_00b2;
}
}
IL_00dd:
{
bool L_56 = V_8;
if (!L_56)
{
goto IL_00fc;
}
}
{
UInt32U5BU5D_t59386216* L_57 = V_6;
uint32_t L_58 = V_4;
(L_57)->SetAt(static_cast<il2cpp_array_size_t>((((uintptr_t)L_58))), (uint32_t)1);
BigInteger_t925946152 * L_59 = V_5;
uint32_t L_60 = V_4;
int32_t L_61 = ((int32_t)((int32_t)L_60+(int32_t)1));
V_4 = L_61;
L_59->set_length_0(L_61);
BigInteger_t925946152 * L_62 = V_5;
return L_62;
}
IL_00fc:
{
uint32_t L_63 = V_4;
uint32_t L_64 = V_3;
if ((!(((uint32_t)L_63) < ((uint32_t)L_64))))
{
goto IL_011c;
}
}
IL_0104:
{
UInt32U5BU5D_t59386216* L_65 = V_6;
uint32_t L_66 = V_4;
UInt32U5BU5D_t59386216* L_67 = V_0;
uint32_t L_68 = V_4;
uintptr_t L_69 = (((uintptr_t)L_68));
uint32_t L_70 = (L_67)->GetAt(static_cast<il2cpp_array_size_t>(L_69));
(L_65)->SetAt(static_cast<il2cpp_array_size_t>((((uintptr_t)L_66))), (uint32_t)L_70);
uint32_t L_71 = V_4;
int32_t L_72 = ((int32_t)((int32_t)L_71+(int32_t)1));
V_4 = L_72;
uint32_t L_73 = V_3;
if ((!(((uint32_t)L_72) >= ((uint32_t)L_73))))
{
goto IL_0104;
}
}
IL_011c:
{
BigInteger_t925946152 * L_74 = V_5;
BigInteger_Normalize_m62229468(L_74, /*hidden argument*/NULL);
BigInteger_t925946152 * L_75 = V_5;
return L_75;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger/Kernel::Subtract(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t Kernel_Subtract_m8942239_MetadataUsageId;
extern "C" BigInteger_t925946152 * Kernel_Subtract_m8942239 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___big0, BigInteger_t925946152 * ___small1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (Kernel_Subtract_m8942239_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
BigInteger_t925946152 * V_0 = NULL;
UInt32U5BU5D_t59386216* V_1 = NULL;
UInt32U5BU5D_t59386216* V_2 = NULL;
UInt32U5BU5D_t59386216* V_3 = NULL;
uint32_t V_4 = 0;
uint32_t V_5 = 0;
uint32_t V_6 = 0;
uint32_t V_7 = 0;
{
BigInteger_t925946152 * L_0 = ___big0;
uint32_t L_1 = L_0->get_length_0();
BigInteger_t925946152 * L_2 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2087647354(L_2, 1, L_1, /*hidden argument*/NULL);
V_0 = L_2;
BigInteger_t925946152 * L_3 = V_0;
UInt32U5BU5D_t59386216* L_4 = L_3->get_data_1();
V_1 = L_4;
BigInteger_t925946152 * L_5 = ___big0;
UInt32U5BU5D_t59386216* L_6 = L_5->get_data_1();
V_2 = L_6;
BigInteger_t925946152 * L_7 = ___small1;
UInt32U5BU5D_t59386216* L_8 = L_7->get_data_1();
V_3 = L_8;
V_4 = 0;
V_5 = 0;
}
IL_0028:
{
UInt32U5BU5D_t59386216* L_9 = V_3;
uint32_t L_10 = V_4;
uintptr_t L_11 = (((uintptr_t)L_10));
uint32_t L_12 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
V_6 = L_12;
uint32_t L_13 = V_6;
uint32_t L_14 = V_5;
int32_t L_15 = ((int32_t)((int32_t)L_13+(int32_t)L_14));
V_6 = L_15;
uint32_t L_16 = V_5;
UInt32U5BU5D_t59386216* L_17 = V_1;
uint32_t L_18 = V_4;
UInt32U5BU5D_t59386216* L_19 = V_2;
uint32_t L_20 = V_4;
uintptr_t L_21 = (((uintptr_t)L_20));
uint32_t L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
uint32_t L_23 = V_6;
int32_t L_24 = ((int32_t)((int32_t)L_22-(int32_t)L_23));
V_7 = L_24;
(L_17)->SetAt(static_cast<il2cpp_array_size_t>((((uintptr_t)L_18))), (uint32_t)L_24);
uint32_t L_25 = V_7;
uint32_t L_26 = V_6;
if (!((int32_t)((int32_t)((!(((uint32_t)L_15) >= ((uint32_t)L_16)))? 1 : 0)|(int32_t)((!(((uint32_t)L_25) <= ((uint32_t)((~L_26)))))? 1 : 0))))
{
goto IL_0060;
}
}
{
V_5 = 1;
goto IL_0063;
}
IL_0060:
{
V_5 = 0;
}
IL_0063:
{
uint32_t L_27 = V_4;
int32_t L_28 = ((int32_t)((int32_t)L_27+(int32_t)1));
V_4 = L_28;
BigInteger_t925946152 * L_29 = ___small1;
uint32_t L_30 = L_29->get_length_0();
if ((!(((uint32_t)L_28) >= ((uint32_t)L_30))))
{
goto IL_0028;
}
}
{
uint32_t L_31 = V_4;
BigInteger_t925946152 * L_32 = ___big0;
uint32_t L_33 = L_32->get_length_0();
if ((!(((uint32_t)L_31) == ((uint32_t)L_33))))
{
goto IL_0087;
}
}
{
goto IL_00e5;
}
IL_0087:
{
uint32_t L_34 = V_5;
if ((!(((uint32_t)L_34) == ((uint32_t)1))))
{
goto IL_00c9;
}
}
IL_008f:
{
UInt32U5BU5D_t59386216* L_35 = V_1;
uint32_t L_36 = V_4;
UInt32U5BU5D_t59386216* L_37 = V_2;
uint32_t L_38 = V_4;
uintptr_t L_39 = (((uintptr_t)L_38));
uint32_t L_40 = (L_37)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
(L_35)->SetAt(static_cast<il2cpp_array_size_t>((((uintptr_t)L_36))), (uint32_t)((int32_t)((int32_t)L_40-(int32_t)1)));
UInt32U5BU5D_t59386216* L_41 = V_2;
uint32_t L_42 = V_4;
uint32_t L_43 = L_42;
V_4 = ((int32_t)((int32_t)L_43+(int32_t)1));
uintptr_t L_44 = (((uintptr_t)L_43));
uint32_t L_45 = (L_41)->GetAt(static_cast<il2cpp_array_size_t>(L_44));
if (L_45)
{
goto IL_00b7;
}
}
{
uint32_t L_46 = V_4;
BigInteger_t925946152 * L_47 = ___big0;
uint32_t L_48 = L_47->get_length_0();
if ((!(((uint32_t)L_46) >= ((uint32_t)L_48))))
{
goto IL_008f;
}
}
IL_00b7:
{
uint32_t L_49 = V_4;
BigInteger_t925946152 * L_50 = ___big0;
uint32_t L_51 = L_50->get_length_0();
if ((!(((uint32_t)L_49) == ((uint32_t)L_51))))
{
goto IL_00c9;
}
}
{
goto IL_00e5;
}
IL_00c9:
{
UInt32U5BU5D_t59386216* L_52 = V_1;
uint32_t L_53 = V_4;
UInt32U5BU5D_t59386216* L_54 = V_2;
uint32_t L_55 = V_4;
uintptr_t L_56 = (((uintptr_t)L_55));
uint32_t L_57 = (L_54)->GetAt(static_cast<il2cpp_array_size_t>(L_56));
(L_52)->SetAt(static_cast<il2cpp_array_size_t>((((uintptr_t)L_53))), (uint32_t)L_57);
uint32_t L_58 = V_4;
int32_t L_59 = ((int32_t)((int32_t)L_58+(int32_t)1));
V_4 = L_59;
BigInteger_t925946152 * L_60 = ___big0;
uint32_t L_61 = L_60->get_length_0();
if ((!(((uint32_t)L_59) >= ((uint32_t)L_61))))
{
goto IL_00c9;
}
}
IL_00e5:
{
BigInteger_t925946152 * L_62 = V_0;
BigInteger_Normalize_m62229468(L_62, /*hidden argument*/NULL);
BigInteger_t925946152 * L_63 = V_0;
return L_63;
}
}
// System.Void Mono.Math.BigInteger/Kernel::MinusEq(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" void Kernel_MinusEq_m701500549 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___big0, BigInteger_t925946152 * ___small1, const MethodInfo* method)
{
UInt32U5BU5D_t59386216* V_0 = NULL;
UInt32U5BU5D_t59386216* V_1 = NULL;
uint32_t V_2 = 0;
uint32_t V_3 = 0;
uint32_t V_4 = 0;
uint32_t V_5 = 0;
{
BigInteger_t925946152 * L_0 = ___big0;
UInt32U5BU5D_t59386216* L_1 = L_0->get_data_1();
V_0 = L_1;
BigInteger_t925946152 * L_2 = ___small1;
UInt32U5BU5D_t59386216* L_3 = L_2->get_data_1();
V_1 = L_3;
V_2 = 0;
V_3 = 0;
}
IL_0012:
{
UInt32U5BU5D_t59386216* L_4 = V_1;
uint32_t L_5 = V_2;
uintptr_t L_6 = (((uintptr_t)L_5));
uint32_t L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
V_4 = L_7;
uint32_t L_8 = V_4;
uint32_t L_9 = V_3;
int32_t L_10 = ((int32_t)((int32_t)L_8+(int32_t)L_9));
V_4 = L_10;
uint32_t L_11 = V_3;
UInt32U5BU5D_t59386216* L_12 = V_0;
uint32_t L_13 = V_2;
uint32_t* L_14 = ((L_12)->GetAddressAt(static_cast<il2cpp_array_size_t>((il2cpp_array_size_t)(uintptr_t)(((uintptr_t)L_13)))));
uint32_t L_15 = V_4;
int32_t L_16 = ((int32_t)((int32_t)(*((uint32_t*)L_14))-(int32_t)L_15));
V_5 = L_16;
*((int32_t*)(L_14)) = (int32_t)L_16;
uint32_t L_17 = V_5;
uint32_t L_18 = V_4;
if (!((int32_t)((int32_t)((!(((uint32_t)L_10) >= ((uint32_t)L_11)))? 1 : 0)|(int32_t)((!(((uint32_t)L_17) <= ((uint32_t)((~L_18)))))? 1 : 0))))
{
goto IL_0047;
}
}
{
V_3 = 1;
goto IL_0049;
}
IL_0047:
{
V_3 = 0;
}
IL_0049:
{
uint32_t L_19 = V_2;
int32_t L_20 = ((int32_t)((int32_t)L_19+(int32_t)1));
V_2 = L_20;
BigInteger_t925946152 * L_21 = ___small1;
uint32_t L_22 = L_21->get_length_0();
if ((!(((uint32_t)L_20) >= ((uint32_t)L_22))))
{
goto IL_0012;
}
}
{
uint32_t L_23 = V_2;
BigInteger_t925946152 * L_24 = ___big0;
uint32_t L_25 = L_24->get_length_0();
if ((!(((uint32_t)L_23) == ((uint32_t)L_25))))
{
goto IL_006a;
}
}
{
goto IL_0097;
}
IL_006a:
{
uint32_t L_26 = V_3;
if ((!(((uint32_t)L_26) == ((uint32_t)1))))
{
goto IL_0097;
}
}
IL_0071:
{
UInt32U5BU5D_t59386216* L_27 = V_0;
uint32_t L_28 = V_2;
uint32_t* L_29 = ((L_27)->GetAddressAt(static_cast<il2cpp_array_size_t>((il2cpp_array_size_t)(uintptr_t)(((uintptr_t)L_28)))));
*((int32_t*)(L_29)) = (int32_t)((int32_t)((int32_t)(*((uint32_t*)L_29))-(int32_t)1));
UInt32U5BU5D_t59386216* L_30 = V_0;
uint32_t L_31 = V_2;
uint32_t L_32 = L_31;
V_2 = ((int32_t)((int32_t)L_32+(int32_t)1));
uintptr_t L_33 = (((uintptr_t)L_32));
uint32_t L_34 = (L_30)->GetAt(static_cast<il2cpp_array_size_t>(L_33));
if (L_34)
{
goto IL_0097;
}
}
{
uint32_t L_35 = V_2;
BigInteger_t925946152 * L_36 = ___big0;
uint32_t L_37 = L_36->get_length_0();
if ((!(((uint32_t)L_35) >= ((uint32_t)L_37))))
{
goto IL_0071;
}
}
IL_0097:
{
goto IL_00aa;
}
IL_009c:
{
BigInteger_t925946152 * L_38 = ___big0;
BigInteger_t925946152 * L_39 = L_38;
uint32_t L_40 = L_39->get_length_0();
L_39->set_length_0(((int32_t)((int32_t)L_40-(int32_t)1)));
}
IL_00aa:
{
BigInteger_t925946152 * L_41 = ___big0;
uint32_t L_42 = L_41->get_length_0();
if ((!(((uint32_t)L_42) > ((uint32_t)0))))
{
goto IL_00cb;
}
}
{
BigInteger_t925946152 * L_43 = ___big0;
UInt32U5BU5D_t59386216* L_44 = L_43->get_data_1();
BigInteger_t925946152 * L_45 = ___big0;
uint32_t L_46 = L_45->get_length_0();
uintptr_t L_47 = (((uintptr_t)((int32_t)((int32_t)L_46-(int32_t)1))));
uint32_t L_48 = (L_44)->GetAt(static_cast<il2cpp_array_size_t>(L_47));
if (!L_48)
{
goto IL_009c;
}
}
IL_00cb:
{
BigInteger_t925946152 * L_49 = ___big0;
uint32_t L_50 = L_49->get_length_0();
if (L_50)
{
goto IL_00e4;
}
}
{
BigInteger_t925946152 * L_51 = ___big0;
BigInteger_t925946152 * L_52 = L_51;
uint32_t L_53 = L_52->get_length_0();
L_52->set_length_0(((int32_t)((int32_t)L_53+(int32_t)1)));
}
IL_00e4:
{
return;
}
}
// System.Void Mono.Math.BigInteger/Kernel::PlusEq(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" void Kernel_PlusEq_m3677743255 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___bi10, BigInteger_t925946152 * ___bi21, const MethodInfo* method)
{
UInt32U5BU5D_t59386216* V_0 = NULL;
UInt32U5BU5D_t59386216* V_1 = NULL;
uint32_t V_2 = 0;
uint32_t V_3 = 0;
uint32_t V_4 = 0;
bool V_5 = false;
UInt32U5BU5D_t59386216* V_6 = NULL;
uint64_t V_7 = 0;
bool V_8 = false;
uint32_t V_9 = 0;
{
V_4 = 0;
V_5 = (bool)0;
BigInteger_t925946152 * L_0 = ___bi10;
uint32_t L_1 = L_0->get_length_0();
BigInteger_t925946152 * L_2 = ___bi21;
uint32_t L_3 = L_2->get_length_0();
if ((!(((uint32_t)L_1) < ((uint32_t)L_3))))
{
goto IL_003b;
}
}
{
V_5 = (bool)1;
BigInteger_t925946152 * L_4 = ___bi21;
UInt32U5BU5D_t59386216* L_5 = L_4->get_data_1();
V_0 = L_5;
BigInteger_t925946152 * L_6 = ___bi21;
uint32_t L_7 = L_6->get_length_0();
V_3 = L_7;
BigInteger_t925946152 * L_8 = ___bi10;
UInt32U5BU5D_t59386216* L_9 = L_8->get_data_1();
V_1 = L_9;
BigInteger_t925946152 * L_10 = ___bi10;
uint32_t L_11 = L_10->get_length_0();
V_2 = L_11;
goto IL_0057;
}
IL_003b:
{
BigInteger_t925946152 * L_12 = ___bi10;
UInt32U5BU5D_t59386216* L_13 = L_12->get_data_1();
V_0 = L_13;
BigInteger_t925946152 * L_14 = ___bi10;
uint32_t L_15 = L_14->get_length_0();
V_3 = L_15;
BigInteger_t925946152 * L_16 = ___bi21;
UInt32U5BU5D_t59386216* L_17 = L_16->get_data_1();
V_1 = L_17;
BigInteger_t925946152 * L_18 = ___bi21;
uint32_t L_19 = L_18->get_length_0();
V_2 = L_19;
}
IL_0057:
{
BigInteger_t925946152 * L_20 = ___bi10;
UInt32U5BU5D_t59386216* L_21 = L_20->get_data_1();
V_6 = L_21;
V_7 = (((int64_t)((int64_t)0)));
}
IL_0063:
{
uint64_t L_22 = V_7;
UInt32U5BU5D_t59386216* L_23 = V_0;
uint32_t L_24 = V_4;
uintptr_t L_25 = (((uintptr_t)L_24));
uint32_t L_26 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
UInt32U5BU5D_t59386216* L_27 = V_1;
uint32_t L_28 = V_4;
uintptr_t L_29 = (((uintptr_t)L_28));
uint32_t L_30 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
V_7 = ((int64_t)((int64_t)L_22+(int64_t)((int64_t)((int64_t)(((int64_t)((uint64_t)L_26)))+(int64_t)(((int64_t)((uint64_t)L_30)))))));
UInt32U5BU5D_t59386216* L_31 = V_6;
uint32_t L_32 = V_4;
uint64_t L_33 = V_7;
(L_31)->SetAt(static_cast<il2cpp_array_size_t>((((uintptr_t)L_32))), (uint32_t)(((int32_t)((uint32_t)L_33))));
uint64_t L_34 = V_7;
V_7 = ((int64_t)((uint64_t)L_34>>((int32_t)32)));
uint32_t L_35 = V_4;
int32_t L_36 = ((int32_t)((int32_t)L_35+(int32_t)1));
V_4 = L_36;
uint32_t L_37 = V_2;
if ((!(((uint32_t)L_36) >= ((uint32_t)L_37))))
{
goto IL_0063;
}
}
{
uint64_t L_38 = V_7;
V_8 = (bool)((((int32_t)((((int64_t)L_38) == ((int64_t)(((int64_t)((int64_t)0)))))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_39 = V_8;
if (!L_39)
{
goto IL_00f3;
}
}
{
uint32_t L_40 = V_4;
uint32_t L_41 = V_3;
if ((!(((uint32_t)L_40) < ((uint32_t)L_41))))
{
goto IL_00d7;
}
}
IL_00ac:
{
UInt32U5BU5D_t59386216* L_42 = V_6;
uint32_t L_43 = V_4;
UInt32U5BU5D_t59386216* L_44 = V_0;
uint32_t L_45 = V_4;
uintptr_t L_46 = (((uintptr_t)L_45));
uint32_t L_47 = (L_44)->GetAt(static_cast<il2cpp_array_size_t>(L_46));
int32_t L_48 = ((int32_t)((int32_t)L_47+(int32_t)1));
V_9 = L_48;
(L_42)->SetAt(static_cast<il2cpp_array_size_t>((((uintptr_t)L_43))), (uint32_t)L_48);
uint32_t L_49 = V_9;
V_8 = (bool)((((int32_t)L_49) == ((int32_t)0))? 1 : 0);
uint32_t L_50 = V_4;
int32_t L_51 = ((int32_t)((int32_t)L_50+(int32_t)1));
V_4 = L_51;
uint32_t L_52 = V_3;
if ((!(((uint32_t)L_51) < ((uint32_t)L_52))))
{
goto IL_00d7;
}
}
{
bool L_53 = V_8;
if (L_53)
{
goto IL_00ac;
}
}
IL_00d7:
{
bool L_54 = V_8;
if (!L_54)
{
goto IL_00f3;
}
}
{
UInt32U5BU5D_t59386216* L_55 = V_6;
uint32_t L_56 = V_4;
(L_55)->SetAt(static_cast<il2cpp_array_size_t>((((uintptr_t)L_56))), (uint32_t)1);
BigInteger_t925946152 * L_57 = ___bi10;
uint32_t L_58 = V_4;
int32_t L_59 = ((int32_t)((int32_t)L_58+(int32_t)1));
V_4 = L_59;
L_57->set_length_0(L_59);
return;
}
IL_00f3:
{
bool L_60 = V_5;
if (!L_60)
{
goto IL_011c;
}
}
{
uint32_t L_61 = V_4;
uint32_t L_62 = V_3;
if ((!(((uint32_t)L_61) < ((uint32_t)((int32_t)((int32_t)L_62-(int32_t)1))))))
{
goto IL_011c;
}
}
IL_0104:
{
UInt32U5BU5D_t59386216* L_63 = V_6;
uint32_t L_64 = V_4;
UInt32U5BU5D_t59386216* L_65 = V_0;
uint32_t L_66 = V_4;
uintptr_t L_67 = (((uintptr_t)L_66));
uint32_t L_68 = (L_65)->GetAt(static_cast<il2cpp_array_size_t>(L_67));
(L_63)->SetAt(static_cast<il2cpp_array_size_t>((((uintptr_t)L_64))), (uint32_t)L_68);
uint32_t L_69 = V_4;
int32_t L_70 = ((int32_t)((int32_t)L_69+(int32_t)1));
V_4 = L_70;
uint32_t L_71 = V_3;
if ((!(((uint32_t)L_70) >= ((uint32_t)L_71))))
{
goto IL_0104;
}
}
IL_011c:
{
BigInteger_t925946152 * L_72 = ___bi10;
uint32_t L_73 = V_3;
L_72->set_length_0(((int32_t)((int32_t)L_73+(int32_t)1)));
BigInteger_t925946152 * L_74 = ___bi10;
BigInteger_Normalize_m62229468(L_74, /*hidden argument*/NULL);
return;
}
}
// Mono.Math.BigInteger/Sign Mono.Math.BigInteger/Kernel::Compare(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" int32_t Kernel_Compare_m25797552 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___bi10, BigInteger_t925946152 * ___bi21, const MethodInfo* method)
{
uint32_t V_0 = 0;
uint32_t V_1 = 0;
uint32_t V_2 = 0;
{
BigInteger_t925946152 * L_0 = ___bi10;
uint32_t L_1 = L_0->get_length_0();
V_0 = L_1;
BigInteger_t925946152 * L_2 = ___bi21;
uint32_t L_3 = L_2->get_length_0();
V_1 = L_3;
goto IL_0017;
}
IL_0013:
{
uint32_t L_4 = V_0;
V_0 = ((int32_t)((int32_t)L_4-(int32_t)1));
}
IL_0017:
{
uint32_t L_5 = V_0;
if ((!(((uint32_t)L_5) > ((uint32_t)0))))
{
goto IL_002e;
}
}
{
BigInteger_t925946152 * L_6 = ___bi10;
UInt32U5BU5D_t59386216* L_7 = L_6->get_data_1();
uint32_t L_8 = V_0;
uintptr_t L_9 = (((uintptr_t)((int32_t)((int32_t)L_8-(int32_t)1))));
uint32_t L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
if (!L_10)
{
goto IL_0013;
}
}
IL_002e:
{
goto IL_0037;
}
IL_0033:
{
uint32_t L_11 = V_1;
V_1 = ((int32_t)((int32_t)L_11-(int32_t)1));
}
IL_0037:
{
uint32_t L_12 = V_1;
if ((!(((uint32_t)L_12) > ((uint32_t)0))))
{
goto IL_004e;
}
}
{
BigInteger_t925946152 * L_13 = ___bi21;
UInt32U5BU5D_t59386216* L_14 = L_13->get_data_1();
uint32_t L_15 = V_1;
uintptr_t L_16 = (((uintptr_t)((int32_t)((int32_t)L_15-(int32_t)1))));
uint32_t L_17 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
if (!L_17)
{
goto IL_0033;
}
}
IL_004e:
{
uint32_t L_18 = V_0;
if (L_18)
{
goto IL_005c;
}
}
{
uint32_t L_19 = V_1;
if (L_19)
{
goto IL_005c;
}
}
{
return (int32_t)(0);
}
IL_005c:
{
uint32_t L_20 = V_0;
uint32_t L_21 = V_1;
if ((!(((uint32_t)L_20) < ((uint32_t)L_21))))
{
goto IL_0065;
}
}
{
return (int32_t)((-1));
}
IL_0065:
{
uint32_t L_22 = V_0;
uint32_t L_23 = V_1;
if ((!(((uint32_t)L_22) > ((uint32_t)L_23))))
{
goto IL_006e;
}
}
{
return (int32_t)(1);
}
IL_006e:
{
uint32_t L_24 = V_0;
V_2 = ((int32_t)((int32_t)L_24-(int32_t)1));
goto IL_007b;
}
IL_0077:
{
uint32_t L_25 = V_2;
V_2 = ((int32_t)((int32_t)L_25-(int32_t)1));
}
IL_007b:
{
uint32_t L_26 = V_2;
if (!L_26)
{
goto IL_0098;
}
}
{
BigInteger_t925946152 * L_27 = ___bi10;
UInt32U5BU5D_t59386216* L_28 = L_27->get_data_1();
uint32_t L_29 = V_2;
uintptr_t L_30 = (((uintptr_t)L_29));
uint32_t L_31 = (L_28)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
BigInteger_t925946152 * L_32 = ___bi21;
UInt32U5BU5D_t59386216* L_33 = L_32->get_data_1();
uint32_t L_34 = V_2;
uintptr_t L_35 = (((uintptr_t)L_34));
uint32_t L_36 = (L_33)->GetAt(static_cast<il2cpp_array_size_t>(L_35));
if ((((int32_t)L_31) == ((int32_t)L_36)))
{
goto IL_0077;
}
}
IL_0098:
{
BigInteger_t925946152 * L_37 = ___bi10;
UInt32U5BU5D_t59386216* L_38 = L_37->get_data_1();
uint32_t L_39 = V_2;
uintptr_t L_40 = (((uintptr_t)L_39));
uint32_t L_41 = (L_38)->GetAt(static_cast<il2cpp_array_size_t>(L_40));
BigInteger_t925946152 * L_42 = ___bi21;
UInt32U5BU5D_t59386216* L_43 = L_42->get_data_1();
uint32_t L_44 = V_2;
uintptr_t L_45 = (((uintptr_t)L_44));
uint32_t L_46 = (L_43)->GetAt(static_cast<il2cpp_array_size_t>(L_45));
if ((!(((uint32_t)L_41) < ((uint32_t)L_46))))
{
goto IL_00b1;
}
}
{
return (int32_t)((-1));
}
IL_00b1:
{
BigInteger_t925946152 * L_47 = ___bi10;
UInt32U5BU5D_t59386216* L_48 = L_47->get_data_1();
uint32_t L_49 = V_2;
uintptr_t L_50 = (((uintptr_t)L_49));
uint32_t L_51 = (L_48)->GetAt(static_cast<il2cpp_array_size_t>(L_50));
BigInteger_t925946152 * L_52 = ___bi21;
UInt32U5BU5D_t59386216* L_53 = L_52->get_data_1();
uint32_t L_54 = V_2;
uintptr_t L_55 = (((uintptr_t)L_54));
uint32_t L_56 = (L_53)->GetAt(static_cast<il2cpp_array_size_t>(L_55));
if ((!(((uint32_t)L_51) > ((uint32_t)L_56))))
{
goto IL_00ca;
}
}
{
return (int32_t)(1);
}
IL_00ca:
{
return (int32_t)(0);
}
}
// System.UInt32 Mono.Math.BigInteger/Kernel::SingleByteDivideInPlace(Mono.Math.BigInteger,System.UInt32)
extern "C" uint32_t Kernel_SingleByteDivideInPlace_m1760318278 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___n0, uint32_t ___d1, const MethodInfo* method)
{
uint64_t V_0 = 0;
uint32_t V_1 = 0;
{
V_0 = (((int64_t)((int64_t)0)));
BigInteger_t925946152 * L_0 = ___n0;
uint32_t L_1 = L_0->get_length_0();
V_1 = L_1;
goto IL_0034;
}
IL_000f:
{
uint64_t L_2 = V_0;
V_0 = ((int64_t)((int64_t)L_2<<(int32_t)((int32_t)32)));
uint64_t L_3 = V_0;
BigInteger_t925946152 * L_4 = ___n0;
UInt32U5BU5D_t59386216* L_5 = L_4->get_data_1();
uint32_t L_6 = V_1;
uintptr_t L_7 = (((uintptr_t)L_6));
uint32_t L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
V_0 = ((int64_t)((int64_t)L_3|(int64_t)(((int64_t)((uint64_t)L_8)))));
BigInteger_t925946152 * L_9 = ___n0;
UInt32U5BU5D_t59386216* L_10 = L_9->get_data_1();
uint32_t L_11 = V_1;
uint64_t L_12 = V_0;
uint32_t L_13 = ___d1;
(L_10)->SetAt(static_cast<il2cpp_array_size_t>((((uintptr_t)L_11))), (uint32_t)(((int32_t)((uint32_t)((int64_t)((uint64_t)(int64_t)L_12/(uint64_t)(int64_t)(((int64_t)((uint64_t)L_13)))))))));
uint64_t L_14 = V_0;
uint32_t L_15 = ___d1;
V_0 = ((int64_t)((uint64_t)(int64_t)L_14%(uint64_t)(int64_t)(((int64_t)((uint64_t)L_15)))));
}
IL_0034:
{
uint32_t L_16 = V_1;
uint32_t L_17 = L_16;
V_1 = ((int32_t)((int32_t)L_17-(int32_t)1));
if ((!(((uint32_t)L_17) <= ((uint32_t)0))))
{
goto IL_000f;
}
}
{
BigInteger_t925946152 * L_18 = ___n0;
BigInteger_Normalize_m62229468(L_18, /*hidden argument*/NULL);
uint64_t L_19 = V_0;
return (((int32_t)((uint32_t)L_19)));
}
}
// System.UInt32 Mono.Math.BigInteger/Kernel::DwordMod(Mono.Math.BigInteger,System.UInt32)
extern "C" uint32_t Kernel_DwordMod_m3592761111 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___n0, uint32_t ___d1, const MethodInfo* method)
{
uint64_t V_0 = 0;
uint32_t V_1 = 0;
{
V_0 = (((int64_t)((int64_t)0)));
BigInteger_t925946152 * L_0 = ___n0;
uint32_t L_1 = L_0->get_length_0();
V_1 = L_1;
goto IL_0026;
}
IL_000f:
{
uint64_t L_2 = V_0;
V_0 = ((int64_t)((int64_t)L_2<<(int32_t)((int32_t)32)));
uint64_t L_3 = V_0;
BigInteger_t925946152 * L_4 = ___n0;
UInt32U5BU5D_t59386216* L_5 = L_4->get_data_1();
uint32_t L_6 = V_1;
uintptr_t L_7 = (((uintptr_t)L_6));
uint32_t L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
V_0 = ((int64_t)((int64_t)L_3|(int64_t)(((int64_t)((uint64_t)L_8)))));
uint64_t L_9 = V_0;
uint32_t L_10 = ___d1;
V_0 = ((int64_t)((uint64_t)(int64_t)L_9%(uint64_t)(int64_t)(((int64_t)((uint64_t)L_10)))));
}
IL_0026:
{
uint32_t L_11 = V_1;
uint32_t L_12 = L_11;
V_1 = ((int32_t)((int32_t)L_12-(int32_t)1));
if ((!(((uint32_t)L_12) <= ((uint32_t)0))))
{
goto IL_000f;
}
}
{
uint64_t L_13 = V_0;
return (((int32_t)((uint32_t)L_13)));
}
}
// Mono.Math.BigInteger[] Mono.Math.BigInteger/Kernel::DwordDivMod(Mono.Math.BigInteger,System.UInt32)
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern Il2CppClass* BigIntegerU5BU5D_t3157146937_il2cpp_TypeInfo_var;
extern const uint32_t Kernel_DwordDivMod_m4066997639_MetadataUsageId;
extern "C" BigIntegerU5BU5D_t3157146937* Kernel_DwordDivMod_m4066997639 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___n0, uint32_t ___d1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (Kernel_DwordDivMod_m4066997639_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
BigInteger_t925946152 * V_0 = NULL;
uint64_t V_1 = 0;
uint32_t V_2 = 0;
BigInteger_t925946152 * V_3 = NULL;
{
BigInteger_t925946152 * L_0 = ___n0;
uint32_t L_1 = L_0->get_length_0();
BigInteger_t925946152 * L_2 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2087647354(L_2, 1, L_1, /*hidden argument*/NULL);
V_0 = L_2;
V_1 = (((int64_t)((int64_t)0)));
BigInteger_t925946152 * L_3 = ___n0;
uint32_t L_4 = L_3->get_length_0();
V_2 = L_4;
goto IL_0041;
}
IL_001c:
{
uint64_t L_5 = V_1;
V_1 = ((int64_t)((int64_t)L_5<<(int32_t)((int32_t)32)));
uint64_t L_6 = V_1;
BigInteger_t925946152 * L_7 = ___n0;
UInt32U5BU5D_t59386216* L_8 = L_7->get_data_1();
uint32_t L_9 = V_2;
uintptr_t L_10 = (((uintptr_t)L_9));
uint32_t L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
V_1 = ((int64_t)((int64_t)L_6|(int64_t)(((int64_t)((uint64_t)L_11)))));
BigInteger_t925946152 * L_12 = V_0;
UInt32U5BU5D_t59386216* L_13 = L_12->get_data_1();
uint32_t L_14 = V_2;
uint64_t L_15 = V_1;
uint32_t L_16 = ___d1;
(L_13)->SetAt(static_cast<il2cpp_array_size_t>((((uintptr_t)L_14))), (uint32_t)(((int32_t)((uint32_t)((int64_t)((uint64_t)(int64_t)L_15/(uint64_t)(int64_t)(((int64_t)((uint64_t)L_16)))))))));
uint64_t L_17 = V_1;
uint32_t L_18 = ___d1;
V_1 = ((int64_t)((uint64_t)(int64_t)L_17%(uint64_t)(int64_t)(((int64_t)((uint64_t)L_18)))));
}
IL_0041:
{
uint32_t L_19 = V_2;
uint32_t L_20 = L_19;
V_2 = ((int32_t)((int32_t)L_20-(int32_t)1));
if ((!(((uint32_t)L_20) <= ((uint32_t)0))))
{
goto IL_001c;
}
}
{
BigInteger_t925946152 * L_21 = V_0;
BigInteger_Normalize_m62229468(L_21, /*hidden argument*/NULL);
uint64_t L_22 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_23 = BigInteger_op_Implicit_m799073176(NULL /*static, unused*/, (((int32_t)((uint32_t)L_22))), /*hidden argument*/NULL);
V_3 = L_23;
BigIntegerU5BU5D_t3157146937* L_24 = ((BigIntegerU5BU5D_t3157146937*)SZArrayNew(BigIntegerU5BU5D_t3157146937_il2cpp_TypeInfo_var, (uint32_t)2));
BigInteger_t925946152 * L_25 = V_0;
ArrayElementTypeCheck (L_24, L_25);
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(0), (BigInteger_t925946152 *)L_25);
BigIntegerU5BU5D_t3157146937* L_26 = L_24;
BigInteger_t925946152 * L_27 = V_3;
ArrayElementTypeCheck (L_26, L_27);
(L_26)->SetAt(static_cast<il2cpp_array_size_t>(1), (BigInteger_t925946152 *)L_27);
return L_26;
}
}
// Mono.Math.BigInteger[] Mono.Math.BigInteger/Kernel::multiByteDivide(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern Il2CppClass* BigIntegerU5BU5D_t3157146937_il2cpp_TypeInfo_var;
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t Kernel_multiByteDivide_m735279869_MetadataUsageId;
extern "C" BigIntegerU5BU5D_t3157146937* Kernel_multiByteDivide_m735279869 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___bi10, BigInteger_t925946152 * ___bi21, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (Kernel_multiByteDivide_m735279869_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
uint32_t V_0 = 0;
int32_t V_1 = 0;
uint32_t V_2 = 0;
uint32_t V_3 = 0;
int32_t V_4 = 0;
int32_t V_5 = 0;
BigInteger_t925946152 * V_6 = NULL;
BigInteger_t925946152 * V_7 = NULL;
UInt32U5BU5D_t59386216* V_8 = NULL;
int32_t V_9 = 0;
int32_t V_10 = 0;
uint32_t V_11 = 0;
uint64_t V_12 = 0;
uint64_t V_13 = 0;
uint64_t V_14 = 0;
uint64_t V_15 = 0;
uint32_t V_16 = 0;
uint32_t V_17 = 0;
int32_t V_18 = 0;
uint64_t V_19 = 0;
uint32_t V_20 = 0;
uint64_t V_21 = 0;
BigIntegerU5BU5D_t3157146937* V_22 = NULL;
{
BigInteger_t925946152 * L_0 = ___bi10;
BigInteger_t925946152 * L_1 = ___bi21;
int32_t L_2 = Kernel_Compare_m25797552(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
if ((!(((uint32_t)L_2) == ((uint32_t)(-1)))))
{
goto IL_0026;
}
}
{
BigIntegerU5BU5D_t3157146937* L_3 = ((BigIntegerU5BU5D_t3157146937*)SZArrayNew(BigIntegerU5BU5D_t3157146937_il2cpp_TypeInfo_var, (uint32_t)2));
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_4 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, 0, /*hidden argument*/NULL);
ArrayElementTypeCheck (L_3, L_4);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(0), (BigInteger_t925946152 *)L_4);
BigIntegerU5BU5D_t3157146937* L_5 = L_3;
BigInteger_t925946152 * L_6 = ___bi10;
BigInteger_t925946152 * L_7 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m582670464(L_7, L_6, /*hidden argument*/NULL);
ArrayElementTypeCheck (L_5, L_7);
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(1), (BigInteger_t925946152 *)L_7);
return L_5;
}
IL_0026:
{
BigInteger_t925946152 * L_8 = ___bi10;
BigInteger_Normalize_m62229468(L_8, /*hidden argument*/NULL);
BigInteger_t925946152 * L_9 = ___bi21;
BigInteger_Normalize_m62229468(L_9, /*hidden argument*/NULL);
BigInteger_t925946152 * L_10 = ___bi21;
uint32_t L_11 = L_10->get_length_0();
if ((!(((uint32_t)L_11) == ((uint32_t)1))))
{
goto IL_004d;
}
}
{
BigInteger_t925946152 * L_12 = ___bi10;
BigInteger_t925946152 * L_13 = ___bi21;
UInt32U5BU5D_t59386216* L_14 = L_13->get_data_1();
int32_t L_15 = 0;
uint32_t L_16 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
BigIntegerU5BU5D_t3157146937* L_17 = Kernel_DwordDivMod_m4066997639(NULL /*static, unused*/, L_12, L_16, /*hidden argument*/NULL);
return L_17;
}
IL_004d:
{
BigInteger_t925946152 * L_18 = ___bi10;
uint32_t L_19 = L_18->get_length_0();
V_0 = ((int32_t)((int32_t)L_19+(int32_t)1));
BigInteger_t925946152 * L_20 = ___bi21;
uint32_t L_21 = L_20->get_length_0();
V_1 = ((int32_t)((int32_t)L_21+(int32_t)1));
V_2 = ((int32_t)-2147483648LL);
BigInteger_t925946152 * L_22 = ___bi21;
UInt32U5BU5D_t59386216* L_23 = L_22->get_data_1();
BigInteger_t925946152 * L_24 = ___bi21;
uint32_t L_25 = L_24->get_length_0();
uintptr_t L_26 = (((uintptr_t)((int32_t)((int32_t)L_25-(int32_t)1))));
uint32_t L_27 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
V_3 = L_27;
V_4 = 0;
BigInteger_t925946152 * L_28 = ___bi10;
uint32_t L_29 = L_28->get_length_0();
BigInteger_t925946152 * L_30 = ___bi21;
uint32_t L_31 = L_30->get_length_0();
V_5 = ((int32_t)((int32_t)L_29-(int32_t)L_31));
goto IL_0097;
}
IL_008d:
{
int32_t L_32 = V_4;
V_4 = ((int32_t)((int32_t)L_32+(int32_t)1));
uint32_t L_33 = V_2;
V_2 = ((int32_t)((uint32_t)L_33>>1));
}
IL_0097:
{
uint32_t L_34 = V_2;
if (!L_34)
{
goto IL_00a5;
}
}
{
uint32_t L_35 = V_3;
uint32_t L_36 = V_2;
if (!((int32_t)((int32_t)L_35&(int32_t)L_36)))
{
goto IL_008d;
}
}
IL_00a5:
{
BigInteger_t925946152 * L_37 = ___bi10;
uint32_t L_38 = L_37->get_length_0();
BigInteger_t925946152 * L_39 = ___bi21;
uint32_t L_40 = L_39->get_length_0();
BigInteger_t925946152 * L_41 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2087647354(L_41, 1, ((int32_t)((int32_t)((int32_t)((int32_t)L_38-(int32_t)L_40))+(int32_t)1)), /*hidden argument*/NULL);
V_6 = L_41;
BigInteger_t925946152 * L_42 = ___bi10;
int32_t L_43 = V_4;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_44 = BigInteger_op_LeftShift_m1612425812(NULL /*static, unused*/, L_42, L_43, /*hidden argument*/NULL);
V_7 = L_44;
BigInteger_t925946152 * L_45 = V_7;
UInt32U5BU5D_t59386216* L_46 = L_45->get_data_1();
V_8 = L_46;
BigInteger_t925946152 * L_47 = ___bi21;
int32_t L_48 = V_4;
BigInteger_t925946152 * L_49 = BigInteger_op_LeftShift_m1612425812(NULL /*static, unused*/, L_47, L_48, /*hidden argument*/NULL);
___bi21 = L_49;
uint32_t L_50 = V_0;
BigInteger_t925946152 * L_51 = ___bi21;
uint32_t L_52 = L_51->get_length_0();
V_9 = ((int32_t)((int32_t)L_50-(int32_t)L_52));
uint32_t L_53 = V_0;
V_10 = ((int32_t)((int32_t)L_53-(int32_t)1));
BigInteger_t925946152 * L_54 = ___bi21;
UInt32U5BU5D_t59386216* L_55 = L_54->get_data_1();
BigInteger_t925946152 * L_56 = ___bi21;
uint32_t L_57 = L_56->get_length_0();
uintptr_t L_58 = (((uintptr_t)((int32_t)((int32_t)L_57-(int32_t)1))));
uint32_t L_59 = (L_55)->GetAt(static_cast<il2cpp_array_size_t>(L_58));
V_11 = L_59;
BigInteger_t925946152 * L_60 = ___bi21;
UInt32U5BU5D_t59386216* L_61 = L_60->get_data_1();
BigInteger_t925946152 * L_62 = ___bi21;
uint32_t L_63 = L_62->get_length_0();
uintptr_t L_64 = (((uintptr_t)((int32_t)((int32_t)L_63-(int32_t)2))));
uint32_t L_65 = (L_61)->GetAt(static_cast<il2cpp_array_size_t>(L_64));
V_12 = (((int64_t)((uint64_t)L_65)));
goto IL_0270;
}
IL_0112:
{
UInt32U5BU5D_t59386216* L_66 = V_8;
int32_t L_67 = V_10;
int32_t L_68 = L_67;
uint32_t L_69 = (L_66)->GetAt(static_cast<il2cpp_array_size_t>(L_68));
UInt32U5BU5D_t59386216* L_70 = V_8;
int32_t L_71 = V_10;
int32_t L_72 = ((int32_t)((int32_t)L_71-(int32_t)1));
uint32_t L_73 = (L_70)->GetAt(static_cast<il2cpp_array_size_t>(L_72));
V_13 = ((int64_t)((int64_t)((int64_t)((int64_t)(((int64_t)((uint64_t)L_69)))<<(int32_t)((int32_t)32)))+(int64_t)(((int64_t)((uint64_t)L_73)))));
uint64_t L_74 = V_13;
uint32_t L_75 = V_11;
V_14 = ((int64_t)((uint64_t)(int64_t)L_74/(uint64_t)(int64_t)(((int64_t)((uint64_t)L_75)))));
uint64_t L_76 = V_13;
uint32_t L_77 = V_11;
V_15 = ((int64_t)((uint64_t)(int64_t)L_76%(uint64_t)(int64_t)(((int64_t)((uint64_t)L_77)))));
}
IL_0136:
{
uint64_t L_78 = V_14;
if ((((int64_t)L_78) == ((int64_t)((int64_t)4294967296LL))))
{
goto IL_015e;
}
}
{
uint64_t L_79 = V_14;
uint64_t L_80 = V_12;
uint64_t L_81 = V_15;
UInt32U5BU5D_t59386216* L_82 = V_8;
int32_t L_83 = V_10;
int32_t L_84 = ((int32_t)((int32_t)L_83-(int32_t)2));
uint32_t L_85 = (L_82)->GetAt(static_cast<il2cpp_array_size_t>(L_84));
if ((!(((uint64_t)((int64_t)((int64_t)L_79*(int64_t)L_80))) > ((uint64_t)((int64_t)((int64_t)((int64_t)((int64_t)L_81<<(int32_t)((int32_t)32)))+(int64_t)(((int64_t)((uint64_t)L_85)))))))))
{
goto IL_0182;
}
}
IL_015e:
{
uint64_t L_86 = V_14;
V_14 = ((int64_t)((int64_t)L_86-(int64_t)(((int64_t)((int64_t)1)))));
uint64_t L_87 = V_15;
uint32_t L_88 = V_11;
V_15 = ((int64_t)((int64_t)L_87+(int64_t)(((int64_t)((uint64_t)L_88)))));
uint64_t L_89 = V_15;
if ((!(((uint64_t)L_89) < ((uint64_t)((int64_t)4294967296LL)))))
{
goto IL_0182;
}
}
{
goto IL_0187;
}
IL_0182:
{
goto IL_018c;
}
IL_0187:
{
goto IL_0136;
}
IL_018c:
{
V_17 = 0;
int32_t L_90 = V_10;
int32_t L_91 = V_1;
V_18 = ((int32_t)((int32_t)((int32_t)((int32_t)L_90-(int32_t)L_91))+(int32_t)1));
V_19 = (((int64_t)((int64_t)0)));
uint64_t L_92 = V_14;
V_20 = (((int32_t)((uint32_t)L_92)));
}
IL_01a0:
{
uint64_t L_93 = V_19;
BigInteger_t925946152 * L_94 = ___bi21;
UInt32U5BU5D_t59386216* L_95 = L_94->get_data_1();
uint32_t L_96 = V_17;
uintptr_t L_97 = (((uintptr_t)L_96));
uint32_t L_98 = (L_95)->GetAt(static_cast<il2cpp_array_size_t>(L_97));
uint32_t L_99 = V_20;
V_19 = ((int64_t)((int64_t)L_93+(int64_t)((int64_t)((int64_t)(((int64_t)((uint64_t)L_98)))*(int64_t)(((int64_t)((uint64_t)L_99)))))));
UInt32U5BU5D_t59386216* L_100 = V_8;
int32_t L_101 = V_18;
int32_t L_102 = L_101;
uint32_t L_103 = (L_100)->GetAt(static_cast<il2cpp_array_size_t>(L_102));
V_16 = L_103;
UInt32U5BU5D_t59386216* L_104 = V_8;
int32_t L_105 = V_18;
uint32_t* L_106 = ((L_104)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_105)));
uint64_t L_107 = V_19;
*((int32_t*)(L_106)) = (int32_t)((int32_t)((int32_t)(*((uint32_t*)L_106))-(int32_t)(((int32_t)((uint32_t)L_107)))));
uint64_t L_108 = V_19;
V_19 = ((int64_t)((uint64_t)L_108>>((int32_t)32)));
UInt32U5BU5D_t59386216* L_109 = V_8;
int32_t L_110 = V_18;
int32_t L_111 = L_110;
uint32_t L_112 = (L_109)->GetAt(static_cast<il2cpp_array_size_t>(L_111));
uint32_t L_113 = V_16;
if ((!(((uint32_t)L_112) > ((uint32_t)L_113))))
{
goto IL_01e5;
}
}
{
uint64_t L_114 = V_19;
V_19 = ((int64_t)((int64_t)L_114+(int64_t)(((int64_t)((int64_t)1)))));
}
IL_01e5:
{
uint32_t L_115 = V_17;
V_17 = ((int32_t)((int32_t)L_115+(int32_t)1));
int32_t L_116 = V_18;
V_18 = ((int32_t)((int32_t)L_116+(int32_t)1));
uint32_t L_117 = V_17;
int32_t L_118 = V_1;
if ((((int64_t)(((int64_t)((uint64_t)L_117)))) < ((int64_t)(((int64_t)((int64_t)L_118))))))
{
goto IL_01a0;
}
}
{
int32_t L_119 = V_10;
int32_t L_120 = V_1;
V_18 = ((int32_t)((int32_t)((int32_t)((int32_t)L_119-(int32_t)L_120))+(int32_t)1));
V_17 = 0;
uint64_t L_121 = V_19;
if (!L_121)
{
goto IL_0253;
}
}
{
uint32_t L_122 = V_20;
V_20 = ((int32_t)((int32_t)L_122-(int32_t)1));
V_21 = (((int64_t)((int64_t)0)));
}
IL_0217:
{
UInt32U5BU5D_t59386216* L_123 = V_8;
int32_t L_124 = V_18;
int32_t L_125 = L_124;
uint32_t L_126 = (L_123)->GetAt(static_cast<il2cpp_array_size_t>(L_125));
BigInteger_t925946152 * L_127 = ___bi21;
UInt32U5BU5D_t59386216* L_128 = L_127->get_data_1();
uint32_t L_129 = V_17;
uintptr_t L_130 = (((uintptr_t)L_129));
uint32_t L_131 = (L_128)->GetAt(static_cast<il2cpp_array_size_t>(L_130));
uint64_t L_132 = V_21;
V_21 = ((int64_t)((int64_t)((int64_t)((int64_t)(((int64_t)((uint64_t)L_126)))+(int64_t)(((int64_t)((uint64_t)L_131)))))+(int64_t)L_132));
UInt32U5BU5D_t59386216* L_133 = V_8;
int32_t L_134 = V_18;
uint64_t L_135 = V_21;
(L_133)->SetAt(static_cast<il2cpp_array_size_t>(L_134), (uint32_t)(((int32_t)((uint32_t)L_135))));
uint64_t L_136 = V_21;
V_21 = ((int64_t)((uint64_t)L_136>>((int32_t)32)));
uint32_t L_137 = V_17;
V_17 = ((int32_t)((int32_t)L_137+(int32_t)1));
int32_t L_138 = V_18;
V_18 = ((int32_t)((int32_t)L_138+(int32_t)1));
uint32_t L_139 = V_17;
int32_t L_140 = V_1;
if ((((int64_t)(((int64_t)((uint64_t)L_139)))) < ((int64_t)(((int64_t)((int64_t)L_140))))))
{
goto IL_0217;
}
}
IL_0253:
{
BigInteger_t925946152 * L_141 = V_6;
UInt32U5BU5D_t59386216* L_142 = L_141->get_data_1();
int32_t L_143 = V_5;
int32_t L_144 = L_143;
V_5 = ((int32_t)((int32_t)L_144-(int32_t)1));
uint32_t L_145 = V_20;
(L_142)->SetAt(static_cast<il2cpp_array_size_t>(L_144), (uint32_t)L_145);
int32_t L_146 = V_10;
V_10 = ((int32_t)((int32_t)L_146-(int32_t)1));
int32_t L_147 = V_9;
V_9 = ((int32_t)((int32_t)L_147-(int32_t)1));
}
IL_0270:
{
int32_t L_148 = V_9;
if ((((int32_t)L_148) > ((int32_t)0)))
{
goto IL_0112;
}
}
{
BigInteger_t925946152 * L_149 = V_6;
BigInteger_Normalize_m62229468(L_149, /*hidden argument*/NULL);
BigInteger_t925946152 * L_150 = V_7;
BigInteger_Normalize_m62229468(L_150, /*hidden argument*/NULL);
BigIntegerU5BU5D_t3157146937* L_151 = ((BigIntegerU5BU5D_t3157146937*)SZArrayNew(BigIntegerU5BU5D_t3157146937_il2cpp_TypeInfo_var, (uint32_t)2));
BigInteger_t925946152 * L_152 = V_6;
ArrayElementTypeCheck (L_151, L_152);
(L_151)->SetAt(static_cast<il2cpp_array_size_t>(0), (BigInteger_t925946152 *)L_152);
BigIntegerU5BU5D_t3157146937* L_153 = L_151;
BigInteger_t925946152 * L_154 = V_7;
ArrayElementTypeCheck (L_153, L_154);
(L_153)->SetAt(static_cast<il2cpp_array_size_t>(1), (BigInteger_t925946152 *)L_154);
V_22 = L_153;
int32_t L_155 = V_4;
if (!L_155)
{
goto IL_02b1;
}
}
{
BigIntegerU5BU5D_t3157146937* L_156 = V_22;
BigInteger_t925946152 ** L_157 = ((L_156)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)));
int32_t L_158 = V_4;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_159 = BigInteger_op_RightShift_m1619744615(NULL /*static, unused*/, (*((BigInteger_t925946152 **)L_157)), L_158, /*hidden argument*/NULL);
*((Il2CppObject **)(L_157)) = (Il2CppObject *)L_159;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_157), (Il2CppObject *)L_159);
}
IL_02b1:
{
BigIntegerU5BU5D_t3157146937* L_160 = V_22;
return L_160;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger/Kernel::LeftShift(Mono.Math.BigInteger,System.Int32)
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t Kernel_LeftShift_m1507484288_MetadataUsageId;
extern "C" BigInteger_t925946152 * Kernel_LeftShift_m1507484288 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___bi0, int32_t ___n1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (Kernel_LeftShift_m1507484288_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
BigInteger_t925946152 * V_1 = NULL;
uint32_t V_2 = 0;
uint32_t V_3 = 0;
uint32_t V_4 = 0;
uint32_t V_5 = 0;
{
int32_t L_0 = ___n1;
if (L_0)
{
goto IL_0015;
}
}
{
BigInteger_t925946152 * L_1 = ___bi0;
BigInteger_t925946152 * L_2 = ___bi0;
uint32_t L_3 = L_2->get_length_0();
BigInteger_t925946152 * L_4 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2550657544(L_4, L_1, ((int32_t)((int32_t)L_3+(int32_t)1)), /*hidden argument*/NULL);
return L_4;
}
IL_0015:
{
int32_t L_5 = ___n1;
V_0 = ((int32_t)((int32_t)L_5>>(int32_t)5));
int32_t L_6 = ___n1;
___n1 = ((int32_t)((int32_t)L_6&(int32_t)((int32_t)31)));
BigInteger_t925946152 * L_7 = ___bi0;
uint32_t L_8 = L_7->get_length_0();
int32_t L_9 = V_0;
BigInteger_t925946152 * L_10 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2087647354(L_10, 1, ((int32_t)((int32_t)((int32_t)((int32_t)L_8+(int32_t)1))+(int32_t)L_9)), /*hidden argument*/NULL);
V_1 = L_10;
V_2 = 0;
BigInteger_t925946152 * L_11 = ___bi0;
uint32_t L_12 = L_11->get_length_0();
V_3 = L_12;
int32_t L_13 = ___n1;
if (!L_13)
{
goto IL_0094;
}
}
{
V_5 = 0;
goto IL_0079;
}
IL_0047:
{
BigInteger_t925946152 * L_14 = ___bi0;
UInt32U5BU5D_t59386216* L_15 = L_14->get_data_1();
uint32_t L_16 = V_2;
uintptr_t L_17 = (((uintptr_t)L_16));
uint32_t L_18 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
V_4 = L_18;
BigInteger_t925946152 * L_19 = V_1;
UInt32U5BU5D_t59386216* L_20 = L_19->get_data_1();
uint32_t L_21 = V_2;
int32_t L_22 = V_0;
if ((int64_t)(((int64_t)((int64_t)(((int64_t)((uint64_t)L_21)))+(int64_t)(((int64_t)((int64_t)L_22)))))) > INTPTR_MAX) IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception());
uint32_t L_23 = V_4;
int32_t L_24 = ___n1;
uint32_t L_25 = V_5;
(L_20)->SetAt(static_cast<il2cpp_array_size_t>((((intptr_t)((int64_t)((int64_t)(((int64_t)((uint64_t)L_21)))+(int64_t)(((int64_t)((int64_t)L_22)))))))), (uint32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_23<<(int32_t)((int32_t)((int32_t)L_24&(int32_t)((int32_t)31)))))|(int32_t)L_25)));
uint32_t L_26 = V_4;
int32_t L_27 = ___n1;
V_5 = ((int32_t)((uint32_t)L_26>>((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)32)-(int32_t)L_27))&(int32_t)((int32_t)31)))));
uint32_t L_28 = V_2;
V_2 = ((int32_t)((int32_t)L_28+(int32_t)1));
}
IL_0079:
{
uint32_t L_29 = V_2;
uint32_t L_30 = V_3;
if ((!(((uint32_t)L_29) >= ((uint32_t)L_30))))
{
goto IL_0047;
}
}
{
BigInteger_t925946152 * L_31 = V_1;
UInt32U5BU5D_t59386216* L_32 = L_31->get_data_1();
uint32_t L_33 = V_2;
int32_t L_34 = V_0;
if ((int64_t)(((int64_t)((int64_t)(((int64_t)((uint64_t)L_33)))+(int64_t)(((int64_t)((int64_t)L_34)))))) > INTPTR_MAX) IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception());
uint32_t L_35 = V_5;
(L_32)->SetAt(static_cast<il2cpp_array_size_t>((((intptr_t)((int64_t)((int64_t)(((int64_t)((uint64_t)L_33)))+(int64_t)(((int64_t)((int64_t)L_34)))))))), (uint32_t)L_35);
goto IL_00ba;
}
IL_0094:
{
goto IL_00b3;
}
IL_0099:
{
BigInteger_t925946152 * L_36 = V_1;
UInt32U5BU5D_t59386216* L_37 = L_36->get_data_1();
uint32_t L_38 = V_2;
int32_t L_39 = V_0;
if ((int64_t)(((int64_t)((int64_t)(((int64_t)((uint64_t)L_38)))+(int64_t)(((int64_t)((int64_t)L_39)))))) > INTPTR_MAX) IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception());
BigInteger_t925946152 * L_40 = ___bi0;
UInt32U5BU5D_t59386216* L_41 = L_40->get_data_1();
uint32_t L_42 = V_2;
uintptr_t L_43 = (((uintptr_t)L_42));
uint32_t L_44 = (L_41)->GetAt(static_cast<il2cpp_array_size_t>(L_43));
(L_37)->SetAt(static_cast<il2cpp_array_size_t>((((intptr_t)((int64_t)((int64_t)(((int64_t)((uint64_t)L_38)))+(int64_t)(((int64_t)((int64_t)L_39)))))))), (uint32_t)L_44);
uint32_t L_45 = V_2;
V_2 = ((int32_t)((int32_t)L_45+(int32_t)1));
}
IL_00b3:
{
uint32_t L_46 = V_2;
uint32_t L_47 = V_3;
if ((!(((uint32_t)L_46) >= ((uint32_t)L_47))))
{
goto IL_0099;
}
}
IL_00ba:
{
BigInteger_t925946152 * L_48 = V_1;
BigInteger_Normalize_m62229468(L_48, /*hidden argument*/NULL);
BigInteger_t925946152 * L_49 = V_1;
return L_49;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger/Kernel::RightShift(Mono.Math.BigInteger,System.Int32)
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t Kernel_RightShift_m1748207947_MetadataUsageId;
extern "C" BigInteger_t925946152 * Kernel_RightShift_m1748207947 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___bi0, int32_t ___n1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (Kernel_RightShift_m1748207947_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
BigInteger_t925946152 * V_2 = NULL;
uint32_t V_3 = 0;
uint32_t V_4 = 0;
uint32_t V_5 = 0;
{
int32_t L_0 = ___n1;
if (L_0)
{
goto IL_000d;
}
}
{
BigInteger_t925946152 * L_1 = ___bi0;
BigInteger_t925946152 * L_2 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m582670464(L_2, L_1, /*hidden argument*/NULL);
return L_2;
}
IL_000d:
{
int32_t L_3 = ___n1;
V_0 = ((int32_t)((int32_t)L_3>>(int32_t)5));
int32_t L_4 = ___n1;
V_1 = ((int32_t)((int32_t)L_4&(int32_t)((int32_t)31)));
BigInteger_t925946152 * L_5 = ___bi0;
uint32_t L_6 = L_5->get_length_0();
int32_t L_7 = V_0;
BigInteger_t925946152 * L_8 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2087647354(L_8, 1, ((int32_t)((int32_t)((int32_t)((int32_t)L_6-(int32_t)L_7))+(int32_t)1)), /*hidden argument*/NULL);
V_2 = L_8;
BigInteger_t925946152 * L_9 = V_2;
UInt32U5BU5D_t59386216* L_10 = L_9->get_data_1();
V_3 = ((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_10)->max_length))))-(int32_t)1));
int32_t L_11 = V_1;
if (!L_11)
{
goto IL_007e;
}
}
{
V_5 = 0;
goto IL_006e;
}
IL_0040:
{
BigInteger_t925946152 * L_12 = ___bi0;
UInt32U5BU5D_t59386216* L_13 = L_12->get_data_1();
uint32_t L_14 = V_3;
int32_t L_15 = V_0;
if ((int64_t)(((int64_t)((int64_t)(((int64_t)((uint64_t)L_14)))+(int64_t)(((int64_t)((int64_t)L_15)))))) > INTPTR_MAX) IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception());
intptr_t L_16 = (((intptr_t)((int64_t)((int64_t)(((int64_t)((uint64_t)L_14)))+(int64_t)(((int64_t)((int64_t)L_15)))))));
uint32_t L_17 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
V_4 = L_17;
BigInteger_t925946152 * L_18 = V_2;
UInt32U5BU5D_t59386216* L_19 = L_18->get_data_1();
uint32_t L_20 = V_3;
uint32_t L_21 = V_4;
int32_t L_22 = ___n1;
uint32_t L_23 = V_5;
(L_19)->SetAt(static_cast<il2cpp_array_size_t>((((uintptr_t)L_20))), (uint32_t)((int32_t)((int32_t)((int32_t)((uint32_t)L_21>>((int32_t)((int32_t)L_22&(int32_t)((int32_t)31)))))|(int32_t)L_23)));
uint32_t L_24 = V_4;
int32_t L_25 = ___n1;
V_5 = ((int32_t)((int32_t)L_24<<(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)32)-(int32_t)L_25))&(int32_t)((int32_t)31)))));
}
IL_006e:
{
uint32_t L_26 = V_3;
uint32_t L_27 = L_26;
V_3 = ((int32_t)((int32_t)L_27-(int32_t)1));
if ((!(((uint32_t)L_27) <= ((uint32_t)0))))
{
goto IL_0040;
}
}
{
goto IL_00a4;
}
IL_007e:
{
goto IL_0099;
}
IL_0083:
{
BigInteger_t925946152 * L_28 = V_2;
UInt32U5BU5D_t59386216* L_29 = L_28->get_data_1();
uint32_t L_30 = V_3;
BigInteger_t925946152 * L_31 = ___bi0;
UInt32U5BU5D_t59386216* L_32 = L_31->get_data_1();
uint32_t L_33 = V_3;
int32_t L_34 = V_0;
if ((int64_t)(((int64_t)((int64_t)(((int64_t)((uint64_t)L_33)))+(int64_t)(((int64_t)((int64_t)L_34)))))) > INTPTR_MAX) IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception());
intptr_t L_35 = (((intptr_t)((int64_t)((int64_t)(((int64_t)((uint64_t)L_33)))+(int64_t)(((int64_t)((int64_t)L_34)))))));
uint32_t L_36 = (L_32)->GetAt(static_cast<il2cpp_array_size_t>(L_35));
(L_29)->SetAt(static_cast<il2cpp_array_size_t>((((uintptr_t)L_30))), (uint32_t)L_36);
}
IL_0099:
{
uint32_t L_37 = V_3;
uint32_t L_38 = L_37;
V_3 = ((int32_t)((int32_t)L_38-(int32_t)1));
if ((!(((uint32_t)L_38) <= ((uint32_t)0))))
{
goto IL_0083;
}
}
IL_00a4:
{
BigInteger_t925946152 * L_39 = V_2;
BigInteger_Normalize_m62229468(L_39, /*hidden argument*/NULL);
BigInteger_t925946152 * L_40 = V_2;
return L_40;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger/Kernel::MultiplyByDword(Mono.Math.BigInteger,System.UInt32)
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t Kernel_MultiplyByDword_m155008287_MetadataUsageId;
extern "C" BigInteger_t925946152 * Kernel_MultiplyByDword_m155008287 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___n0, uint32_t ___f1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (Kernel_MultiplyByDword_m155008287_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
BigInteger_t925946152 * V_0 = NULL;
uint32_t V_1 = 0;
uint64_t V_2 = 0;
{
BigInteger_t925946152 * L_0 = ___n0;
uint32_t L_1 = L_0->get_length_0();
BigInteger_t925946152 * L_2 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2087647354(L_2, 1, ((int32_t)((int32_t)L_1+(int32_t)1)), /*hidden argument*/NULL);
V_0 = L_2;
V_1 = 0;
V_2 = (((int64_t)((int64_t)0)));
}
IL_0014:
{
uint64_t L_3 = V_2;
BigInteger_t925946152 * L_4 = ___n0;
UInt32U5BU5D_t59386216* L_5 = L_4->get_data_1();
uint32_t L_6 = V_1;
uintptr_t L_7 = (((uintptr_t)L_6));
uint32_t L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
uint32_t L_9 = ___f1;
V_2 = ((int64_t)((int64_t)L_3+(int64_t)((int64_t)((int64_t)(((int64_t)((uint64_t)L_8)))*(int64_t)(((int64_t)((uint64_t)L_9)))))));
BigInteger_t925946152 * L_10 = V_0;
UInt32U5BU5D_t59386216* L_11 = L_10->get_data_1();
uint32_t L_12 = V_1;
uint64_t L_13 = V_2;
(L_11)->SetAt(static_cast<il2cpp_array_size_t>((((uintptr_t)L_12))), (uint32_t)(((int32_t)((uint32_t)L_13))));
uint64_t L_14 = V_2;
V_2 = ((int64_t)((uint64_t)L_14>>((int32_t)32)));
uint32_t L_15 = V_1;
int32_t L_16 = ((int32_t)((int32_t)L_15+(int32_t)1));
V_1 = L_16;
BigInteger_t925946152 * L_17 = ___n0;
uint32_t L_18 = L_17->get_length_0();
if ((!(((uint32_t)L_16) >= ((uint32_t)L_18))))
{
goto IL_0014;
}
}
{
BigInteger_t925946152 * L_19 = V_0;
UInt32U5BU5D_t59386216* L_20 = L_19->get_data_1();
uint32_t L_21 = V_1;
uint64_t L_22 = V_2;
(L_20)->SetAt(static_cast<il2cpp_array_size_t>((((uintptr_t)L_21))), (uint32_t)(((int32_t)((uint32_t)L_22))));
BigInteger_t925946152 * L_23 = V_0;
BigInteger_Normalize_m62229468(L_23, /*hidden argument*/NULL);
BigInteger_t925946152 * L_24 = V_0;
return L_24;
}
}
// System.Void Mono.Math.BigInteger/Kernel::Multiply(System.UInt32[],System.UInt32,System.UInt32,System.UInt32[],System.UInt32,System.UInt32,System.UInt32[],System.UInt32)
extern "C" void Kernel_Multiply_m3585610531 (Il2CppObject * __this /* static, unused */, UInt32U5BU5D_t59386216* ___x0, uint32_t ___xOffset1, uint32_t ___xLen2, UInt32U5BU5D_t59386216* ___y3, uint32_t ___yOffset4, uint32_t ___yLen5, UInt32U5BU5D_t59386216* ___d6, uint32_t ___dOffset7, const MethodInfo* method)
{
uint32_t* V_0 = NULL;
uint32_t* V_1 = NULL;
uint32_t* V_2 = NULL;
uint32_t* V_3 = NULL;
uint32_t* V_4 = NULL;
uint32_t* V_5 = NULL;
uint32_t* V_6 = NULL;
uint32_t* V_7 = NULL;
uint64_t V_8 = 0;
uint32_t* V_9 = NULL;
uint32_t* V_10 = NULL;
uintptr_t G_B4_0 = 0;
uintptr_t G_B8_0 = 0;
uintptr_t G_B12_0 = 0;
{
UInt32U5BU5D_t59386216* L_0 = ___x0;
if (!L_0)
{
goto IL_000e;
}
}
{
UInt32U5BU5D_t59386216* L_1 = ___x0;
if ((((int32_t)((int32_t)(((Il2CppArray *)L_1)->max_length)))))
{
goto IL_0015;
}
}
IL_000e:
{
G_B4_0 = (((uintptr_t)0));
goto IL_001c;
}
IL_0015:
{
UInt32U5BU5D_t59386216* L_2 = ___x0;
G_B4_0 = ((uintptr_t)(((L_2)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))));
}
IL_001c:
{
V_0 = (uint32_t*)G_B4_0;
UInt32U5BU5D_t59386216* L_3 = ___y3;
if (!L_3)
{
goto IL_002b;
}
}
{
UInt32U5BU5D_t59386216* L_4 = ___y3;
if ((((int32_t)((int32_t)(((Il2CppArray *)L_4)->max_length)))))
{
goto IL_0032;
}
}
IL_002b:
{
G_B8_0 = (((uintptr_t)0));
goto IL_0039;
}
IL_0032:
{
UInt32U5BU5D_t59386216* L_5 = ___y3;
G_B8_0 = ((uintptr_t)(((L_5)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))));
}
IL_0039:
{
V_1 = (uint32_t*)G_B8_0;
UInt32U5BU5D_t59386216* L_6 = ___d6;
if (!L_6)
{
goto IL_004a;
}
}
{
UInt32U5BU5D_t59386216* L_7 = ___d6;
if ((((int32_t)((int32_t)(((Il2CppArray *)L_7)->max_length)))))
{
goto IL_0051;
}
}
IL_004a:
{
G_B12_0 = (((uintptr_t)0));
goto IL_0059;
}
IL_0051:
{
UInt32U5BU5D_t59386216* L_8 = ___d6;
G_B12_0 = ((uintptr_t)(((L_8)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))));
}
IL_0059:
{
V_2 = (uint32_t*)G_B12_0;
uint32_t* L_9 = V_0;
uint32_t L_10 = ___xOffset1;
V_3 = (uint32_t*)((uint32_t*)((intptr_t)L_9+(intptr_t)((intptr_t)((intptr_t)(((uintptr_t)L_10))*(int32_t)4))));
uint32_t* L_11 = V_3;
uint32_t L_12 = ___xLen2;
V_4 = (uint32_t*)((uint32_t*)((intptr_t)L_11+(intptr_t)((intptr_t)((intptr_t)(((uintptr_t)L_12))*(int32_t)4))));
uint32_t* L_13 = V_1;
uint32_t L_14 = ___yOffset4;
V_5 = (uint32_t*)((uint32_t*)((intptr_t)L_13+(intptr_t)((intptr_t)((intptr_t)(((uintptr_t)L_14))*(int32_t)4))));
uint32_t* L_15 = V_5;
uint32_t L_16 = ___yLen5;
V_6 = (uint32_t*)((uint32_t*)((intptr_t)L_15+(intptr_t)((intptr_t)((intptr_t)(((uintptr_t)L_16))*(int32_t)4))));
uint32_t* L_17 = V_2;
uint32_t L_18 = ___dOffset7;
V_7 = (uint32_t*)((uint32_t*)((intptr_t)L_17+(intptr_t)((intptr_t)((intptr_t)(((uintptr_t)L_18))*(int32_t)4))));
goto IL_00f6;
}
IL_008a:
{
uint32_t* L_19 = V_3;
if ((*((uint32_t*)L_19)))
{
goto IL_0096;
}
}
{
goto IL_00ea;
}
IL_0096:
{
V_8 = (((int64_t)((int64_t)0)));
uint32_t* L_20 = V_7;
V_9 = (uint32_t*)L_20;
uint32_t* L_21 = V_5;
V_10 = (uint32_t*)L_21;
goto IL_00d4;
}
IL_00a7:
{
uint64_t L_22 = V_8;
uint32_t* L_23 = V_3;
uint32_t* L_24 = V_10;
uint32_t* L_25 = V_9;
V_8 = ((int64_t)((int64_t)L_22+(int64_t)((int64_t)((int64_t)((int64_t)((int64_t)(((int64_t)((uint64_t)(((uint32_t)((uint32_t)(*((uint32_t*)L_23))))))))*(int64_t)(((int64_t)((uint64_t)(((uint32_t)((uint32_t)(*((uint32_t*)L_24))))))))))+(int64_t)(((int64_t)((uint64_t)(((uint32_t)((uint32_t)(*((uint32_t*)L_25))))))))))));
uint32_t* L_26 = V_9;
uint64_t L_27 = V_8;
*((int32_t*)(L_26)) = (int32_t)(((int32_t)((uint32_t)L_27)));
uint64_t L_28 = V_8;
V_8 = ((int64_t)((uint64_t)L_28>>((int32_t)32)));
uint32_t* L_29 = V_10;
V_10 = (uint32_t*)((uint32_t*)((intptr_t)L_29+(intptr_t)(((intptr_t)4))));
uint32_t* L_30 = V_9;
V_9 = (uint32_t*)((uint32_t*)((intptr_t)L_30+(intptr_t)(((intptr_t)4))));
}
IL_00d4:
{
uint32_t* L_31 = V_10;
uint32_t* L_32 = V_6;
if ((!(((uintptr_t)L_31) >= ((uintptr_t)L_32))))
{
goto IL_00a7;
}
}
{
uint64_t L_33 = V_8;
if (!L_33)
{
goto IL_00ea;
}
}
{
uint32_t* L_34 = V_9;
uint64_t L_35 = V_8;
*((int32_t*)(L_34)) = (int32_t)(((int32_t)((uint32_t)L_35)));
}
IL_00ea:
{
uint32_t* L_36 = V_3;
V_3 = (uint32_t*)((uint32_t*)((intptr_t)L_36+(intptr_t)(((intptr_t)4))));
uint32_t* L_37 = V_7;
V_7 = (uint32_t*)((uint32_t*)((intptr_t)L_37+(intptr_t)(((intptr_t)4))));
}
IL_00f6:
{
uint32_t* L_38 = V_3;
uint32_t* L_39 = V_4;
if ((!(((uintptr_t)L_38) >= ((uintptr_t)L_39))))
{
goto IL_008a;
}
}
{
V_0 = (uint32_t*)(((uintptr_t)0));
V_1 = (uint32_t*)(((uintptr_t)0));
V_2 = (uint32_t*)(((uintptr_t)0));
return;
}
}
// System.Void Mono.Math.BigInteger/Kernel::MultiplyMod2p32pmod(System.UInt32[],System.Int32,System.Int32,System.UInt32[],System.Int32,System.Int32,System.UInt32[],System.Int32,System.Int32)
extern "C" void Kernel_MultiplyMod2p32pmod_m4094851508 (Il2CppObject * __this /* static, unused */, UInt32U5BU5D_t59386216* ___x0, int32_t ___xOffset1, int32_t ___xLen2, UInt32U5BU5D_t59386216* ___y3, int32_t ___yOffest4, int32_t ___yLen5, UInt32U5BU5D_t59386216* ___d6, int32_t ___dOffset7, int32_t ___mod8, const MethodInfo* method)
{
uint32_t* V_0 = NULL;
uint32_t* V_1 = NULL;
uint32_t* V_2 = NULL;
uint32_t* V_3 = NULL;
uint32_t* V_4 = NULL;
uint32_t* V_5 = NULL;
uint32_t* V_6 = NULL;
uint32_t* V_7 = NULL;
uint32_t* V_8 = NULL;
uint64_t V_9 = 0;
uint32_t* V_10 = NULL;
uint32_t* V_11 = NULL;
uintptr_t G_B4_0 = 0;
uintptr_t G_B8_0 = 0;
uintptr_t G_B12_0 = 0;
{
UInt32U5BU5D_t59386216* L_0 = ___x0;
if (!L_0)
{
goto IL_000e;
}
}
{
UInt32U5BU5D_t59386216* L_1 = ___x0;
if ((((int32_t)((int32_t)(((Il2CppArray *)L_1)->max_length)))))
{
goto IL_0015;
}
}
IL_000e:
{
G_B4_0 = (((uintptr_t)0));
goto IL_001c;
}
IL_0015:
{
UInt32U5BU5D_t59386216* L_2 = ___x0;
G_B4_0 = ((uintptr_t)(((L_2)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))));
}
IL_001c:
{
V_0 = (uint32_t*)G_B4_0;
UInt32U5BU5D_t59386216* L_3 = ___y3;
if (!L_3)
{
goto IL_002b;
}
}
{
UInt32U5BU5D_t59386216* L_4 = ___y3;
if ((((int32_t)((int32_t)(((Il2CppArray *)L_4)->max_length)))))
{
goto IL_0032;
}
}
IL_002b:
{
G_B8_0 = (((uintptr_t)0));
goto IL_0039;
}
IL_0032:
{
UInt32U5BU5D_t59386216* L_5 = ___y3;
G_B8_0 = ((uintptr_t)(((L_5)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))));
}
IL_0039:
{
V_1 = (uint32_t*)G_B8_0;
UInt32U5BU5D_t59386216* L_6 = ___d6;
if (!L_6)
{
goto IL_004a;
}
}
{
UInt32U5BU5D_t59386216* L_7 = ___d6;
if ((((int32_t)((int32_t)(((Il2CppArray *)L_7)->max_length)))))
{
goto IL_0051;
}
}
IL_004a:
{
G_B12_0 = (((uintptr_t)0));
goto IL_0059;
}
IL_0051:
{
UInt32U5BU5D_t59386216* L_8 = ___d6;
G_B12_0 = ((uintptr_t)(((L_8)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))));
}
IL_0059:
{
V_2 = (uint32_t*)G_B12_0;
uint32_t* L_9 = V_0;
int32_t L_10 = ___xOffset1;
V_3 = (uint32_t*)((uint32_t*)((intptr_t)L_9+(int32_t)((int32_t)((int32_t)L_10*(int32_t)4))));
uint32_t* L_11 = V_3;
int32_t L_12 = ___xLen2;
V_4 = (uint32_t*)((uint32_t*)((intptr_t)L_11+(int32_t)((int32_t)((int32_t)L_12*(int32_t)4))));
uint32_t* L_13 = V_1;
int32_t L_14 = ___yOffest4;
V_5 = (uint32_t*)((uint32_t*)((intptr_t)L_13+(int32_t)((int32_t)((int32_t)L_14*(int32_t)4))));
uint32_t* L_15 = V_5;
int32_t L_16 = ___yLen5;
V_6 = (uint32_t*)((uint32_t*)((intptr_t)L_15+(int32_t)((int32_t)((int32_t)L_16*(int32_t)4))));
uint32_t* L_17 = V_2;
int32_t L_18 = ___dOffset7;
V_7 = (uint32_t*)((uint32_t*)((intptr_t)L_17+(int32_t)((int32_t)((int32_t)L_18*(int32_t)4))));
uint32_t* L_19 = V_7;
int32_t L_20 = ___mod8;
V_8 = (uint32_t*)((uint32_t*)((intptr_t)L_19+(int32_t)((int32_t)((int32_t)L_20*(int32_t)4))));
goto IL_010c;
}
IL_008e:
{
uint32_t* L_21 = V_3;
if ((*((uint32_t*)L_21)))
{
goto IL_009a;
}
}
{
goto IL_0100;
}
IL_009a:
{
V_9 = (((int64_t)((int64_t)0)));
uint32_t* L_22 = V_7;
V_10 = (uint32_t*)L_22;
uint32_t* L_23 = V_5;
V_11 = (uint32_t*)L_23;
goto IL_00d8;
}
IL_00ab:
{
uint64_t L_24 = V_9;
uint32_t* L_25 = V_3;
uint32_t* L_26 = V_11;
uint32_t* L_27 = V_10;
V_9 = ((int64_t)((int64_t)L_24+(int64_t)((int64_t)((int64_t)((int64_t)((int64_t)(((int64_t)((uint64_t)(((uint32_t)((uint32_t)(*((uint32_t*)L_25))))))))*(int64_t)(((int64_t)((uint64_t)(((uint32_t)((uint32_t)(*((uint32_t*)L_26))))))))))+(int64_t)(((int64_t)((uint64_t)(((uint32_t)((uint32_t)(*((uint32_t*)L_27))))))))))));
uint32_t* L_28 = V_10;
uint64_t L_29 = V_9;
*((int32_t*)(L_28)) = (int32_t)(((int32_t)((uint32_t)L_29)));
uint64_t L_30 = V_9;
V_9 = ((int64_t)((uint64_t)L_30>>((int32_t)32)));
uint32_t* L_31 = V_11;
V_11 = (uint32_t*)((uint32_t*)((intptr_t)L_31+(intptr_t)(((intptr_t)4))));
uint32_t* L_32 = V_10;
V_10 = (uint32_t*)((uint32_t*)((intptr_t)L_32+(intptr_t)(((intptr_t)4))));
}
IL_00d8:
{
uint32_t* L_33 = V_11;
uint32_t* L_34 = V_6;
if ((!(((uintptr_t)L_33) < ((uintptr_t)L_34))))
{
goto IL_00ea;
}
}
{
uint32_t* L_35 = V_10;
uint32_t* L_36 = V_8;
if ((!(((uintptr_t)L_35) >= ((uintptr_t)L_36))))
{
goto IL_00ab;
}
}
IL_00ea:
{
uint64_t L_37 = V_9;
if (!L_37)
{
goto IL_0100;
}
}
{
uint32_t* L_38 = V_10;
uint32_t* L_39 = V_8;
if ((!(((uintptr_t)L_38) < ((uintptr_t)L_39))))
{
goto IL_0100;
}
}
{
uint32_t* L_40 = V_10;
uint64_t L_41 = V_9;
*((int32_t*)(L_40)) = (int32_t)(((int32_t)((uint32_t)L_41)));
}
IL_0100:
{
uint32_t* L_42 = V_3;
V_3 = (uint32_t*)((uint32_t*)((intptr_t)L_42+(intptr_t)(((intptr_t)4))));
uint32_t* L_43 = V_7;
V_7 = (uint32_t*)((uint32_t*)((intptr_t)L_43+(intptr_t)(((intptr_t)4))));
}
IL_010c:
{
uint32_t* L_44 = V_3;
uint32_t* L_45 = V_4;
if ((!(((uintptr_t)L_44) >= ((uintptr_t)L_45))))
{
goto IL_008e;
}
}
{
V_0 = (uint32_t*)(((uintptr_t)0));
V_1 = (uint32_t*)(((uintptr_t)0));
V_2 = (uint32_t*)(((uintptr_t)0));
return;
}
}
// System.UInt32 Mono.Math.BigInteger/Kernel::modInverse(Mono.Math.BigInteger,System.UInt32)
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t Kernel_modInverse_m39351021_MetadataUsageId;
extern "C" uint32_t Kernel_modInverse_m39351021 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___bi0, uint32_t ___modulus1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (Kernel_modInverse_m39351021_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
uint32_t V_0 = 0;
uint32_t V_1 = 0;
uint32_t V_2 = 0;
uint32_t V_3 = 0;
{
uint32_t L_0 = ___modulus1;
V_0 = L_0;
BigInteger_t925946152 * L_1 = ___bi0;
uint32_t L_2 = ___modulus1;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
uint32_t L_3 = BigInteger_op_Modulus_m582549828(NULL /*static, unused*/, L_1, L_2, /*hidden argument*/NULL);
V_1 = L_3;
V_2 = 0;
V_3 = 1;
goto IL_004a;
}
IL_0013:
{
uint32_t L_4 = V_1;
if ((!(((uint32_t)L_4) == ((uint32_t)1))))
{
goto IL_001c;
}
}
{
uint32_t L_5 = V_3;
return L_5;
}
IL_001c:
{
uint32_t L_6 = V_2;
uint32_t L_7 = V_0;
uint32_t L_8 = V_1;
uint32_t L_9 = V_3;
V_2 = ((int32_t)((int32_t)L_6+(int32_t)((int32_t)((int32_t)((int32_t)((uint32_t)(int32_t)L_7/(uint32_t)(int32_t)L_8))*(int32_t)L_9))));
uint32_t L_10 = V_0;
uint32_t L_11 = V_1;
V_0 = ((int32_t)((uint32_t)(int32_t)L_10%(uint32_t)(int32_t)L_11));
uint32_t L_12 = V_0;
if (L_12)
{
goto IL_0033;
}
}
{
goto IL_0050;
}
IL_0033:
{
uint32_t L_13 = V_0;
if ((!(((uint32_t)L_13) == ((uint32_t)1))))
{
goto IL_003e;
}
}
{
uint32_t L_14 = ___modulus1;
uint32_t L_15 = V_2;
return ((int32_t)((int32_t)L_14-(int32_t)L_15));
}
IL_003e:
{
uint32_t L_16 = V_3;
uint32_t L_17 = V_1;
uint32_t L_18 = V_0;
uint32_t L_19 = V_2;
V_3 = ((int32_t)((int32_t)L_16+(int32_t)((int32_t)((int32_t)((int32_t)((uint32_t)(int32_t)L_17/(uint32_t)(int32_t)L_18))*(int32_t)L_19))));
uint32_t L_20 = V_1;
uint32_t L_21 = V_0;
V_1 = ((int32_t)((uint32_t)(int32_t)L_20%(uint32_t)(int32_t)L_21));
}
IL_004a:
{
uint32_t L_22 = V_1;
if (L_22)
{
goto IL_0013;
}
}
IL_0050:
{
return 0;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger/Kernel::modInverse(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern Il2CppClass* BigIntegerU5BU5D_t3157146937_il2cpp_TypeInfo_var;
extern Il2CppClass* ModulusRing_t80355991_il2cpp_TypeInfo_var;
extern Il2CppClass* ArithmeticException_t3261462543_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral4020384572;
extern const uint32_t Kernel_modInverse_m2619695041_MetadataUsageId;
extern "C" BigInteger_t925946152 * Kernel_modInverse_m2619695041 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___bi0, BigInteger_t925946152 * ___modulus1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (Kernel_modInverse_m2619695041_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
BigIntegerU5BU5D_t3157146937* V_0 = NULL;
BigIntegerU5BU5D_t3157146937* V_1 = NULL;
BigIntegerU5BU5D_t3157146937* V_2 = NULL;
int32_t V_3 = 0;
BigInteger_t925946152 * V_4 = NULL;
BigInteger_t925946152 * V_5 = NULL;
ModulusRing_t80355991 * V_6 = NULL;
BigInteger_t925946152 * V_7 = NULL;
BigIntegerU5BU5D_t3157146937* V_8 = NULL;
{
BigInteger_t925946152 * L_0 = ___modulus1;
uint32_t L_1 = L_0->get_length_0();
if ((!(((uint32_t)L_1) == ((uint32_t)1))))
{
goto IL_0020;
}
}
{
BigInteger_t925946152 * L_2 = ___bi0;
BigInteger_t925946152 * L_3 = ___modulus1;
UInt32U5BU5D_t59386216* L_4 = L_3->get_data_1();
int32_t L_5 = 0;
uint32_t L_6 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
uint32_t L_7 = Kernel_modInverse_m39351021(NULL /*static, unused*/, L_2, L_6, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_8 = BigInteger_op_Implicit_m799073176(NULL /*static, unused*/, L_7, /*hidden argument*/NULL);
return L_8;
}
IL_0020:
{
BigIntegerU5BU5D_t3157146937* L_9 = ((BigIntegerU5BU5D_t3157146937*)SZArrayNew(BigIntegerU5BU5D_t3157146937_il2cpp_TypeInfo_var, (uint32_t)2));
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_10 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, 0, /*hidden argument*/NULL);
ArrayElementTypeCheck (L_9, L_10);
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(0), (BigInteger_t925946152 *)L_10);
BigIntegerU5BU5D_t3157146937* L_11 = L_9;
BigInteger_t925946152 * L_12 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, 1, /*hidden argument*/NULL);
ArrayElementTypeCheck (L_11, L_12);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(1), (BigInteger_t925946152 *)L_12);
V_0 = L_11;
V_1 = ((BigIntegerU5BU5D_t3157146937*)SZArrayNew(BigIntegerU5BU5D_t3157146937_il2cpp_TypeInfo_var, (uint32_t)2));
BigIntegerU5BU5D_t3157146937* L_13 = ((BigIntegerU5BU5D_t3157146937*)SZArrayNew(BigIntegerU5BU5D_t3157146937_il2cpp_TypeInfo_var, (uint32_t)2));
BigInteger_t925946152 * L_14 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, 0, /*hidden argument*/NULL);
ArrayElementTypeCheck (L_13, L_14);
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(0), (BigInteger_t925946152 *)L_14);
BigIntegerU5BU5D_t3157146937* L_15 = L_13;
BigInteger_t925946152 * L_16 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, 0, /*hidden argument*/NULL);
ArrayElementTypeCheck (L_15, L_16);
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(1), (BigInteger_t925946152 *)L_16);
V_2 = L_15;
V_3 = 0;
BigInteger_t925946152 * L_17 = ___modulus1;
V_4 = L_17;
BigInteger_t925946152 * L_18 = ___bi0;
V_5 = L_18;
BigInteger_t925946152 * L_19 = ___modulus1;
ModulusRing_t80355991 * L_20 = (ModulusRing_t80355991 *)il2cpp_codegen_object_new(ModulusRing_t80355991_il2cpp_TypeInfo_var);
ModulusRing__ctor_m59363820(L_20, L_19, /*hidden argument*/NULL);
V_6 = L_20;
goto IL_00ca;
}
IL_006e:
{
int32_t L_21 = V_3;
if ((((int32_t)L_21) <= ((int32_t)1)))
{
goto IL_0097;
}
}
{
ModulusRing_t80355991 * L_22 = V_6;
BigIntegerU5BU5D_t3157146937* L_23 = V_0;
int32_t L_24 = 0;
BigInteger_t925946152 * L_25 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
BigIntegerU5BU5D_t3157146937* L_26 = V_0;
int32_t L_27 = 1;
BigInteger_t925946152 * L_28 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
BigIntegerU5BU5D_t3157146937* L_29 = V_1;
int32_t L_30 = 0;
BigInteger_t925946152 * L_31 = (L_29)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_32 = BigInteger_op_Multiply_m3289461939(NULL /*static, unused*/, L_28, L_31, /*hidden argument*/NULL);
BigInteger_t925946152 * L_33 = ModulusRing_Difference_m2183667534(L_22, L_25, L_32, /*hidden argument*/NULL);
V_7 = L_33;
BigIntegerU5BU5D_t3157146937* L_34 = V_0;
BigIntegerU5BU5D_t3157146937* L_35 = V_0;
int32_t L_36 = 1;
BigInteger_t925946152 * L_37 = (L_35)->GetAt(static_cast<il2cpp_array_size_t>(L_36));
ArrayElementTypeCheck (L_34, L_37);
(L_34)->SetAt(static_cast<il2cpp_array_size_t>(0), (BigInteger_t925946152 *)L_37);
BigIntegerU5BU5D_t3157146937* L_38 = V_0;
BigInteger_t925946152 * L_39 = V_7;
ArrayElementTypeCheck (L_38, L_39);
(L_38)->SetAt(static_cast<il2cpp_array_size_t>(1), (BigInteger_t925946152 *)L_39);
}
IL_0097:
{
BigInteger_t925946152 * L_40 = V_4;
BigInteger_t925946152 * L_41 = V_5;
BigIntegerU5BU5D_t3157146937* L_42 = Kernel_multiByteDivide_m735279869(NULL /*static, unused*/, L_40, L_41, /*hidden argument*/NULL);
V_8 = L_42;
BigIntegerU5BU5D_t3157146937* L_43 = V_1;
BigIntegerU5BU5D_t3157146937* L_44 = V_1;
int32_t L_45 = 1;
BigInteger_t925946152 * L_46 = (L_44)->GetAt(static_cast<il2cpp_array_size_t>(L_45));
ArrayElementTypeCheck (L_43, L_46);
(L_43)->SetAt(static_cast<il2cpp_array_size_t>(0), (BigInteger_t925946152 *)L_46);
BigIntegerU5BU5D_t3157146937* L_47 = V_1;
BigIntegerU5BU5D_t3157146937* L_48 = V_8;
int32_t L_49 = 0;
BigInteger_t925946152 * L_50 = (L_48)->GetAt(static_cast<il2cpp_array_size_t>(L_49));
ArrayElementTypeCheck (L_47, L_50);
(L_47)->SetAt(static_cast<il2cpp_array_size_t>(1), (BigInteger_t925946152 *)L_50);
BigIntegerU5BU5D_t3157146937* L_51 = V_2;
BigIntegerU5BU5D_t3157146937* L_52 = V_2;
int32_t L_53 = 1;
BigInteger_t925946152 * L_54 = (L_52)->GetAt(static_cast<il2cpp_array_size_t>(L_53));
ArrayElementTypeCheck (L_51, L_54);
(L_51)->SetAt(static_cast<il2cpp_array_size_t>(0), (BigInteger_t925946152 *)L_54);
BigIntegerU5BU5D_t3157146937* L_55 = V_2;
BigIntegerU5BU5D_t3157146937* L_56 = V_8;
int32_t L_57 = 1;
BigInteger_t925946152 * L_58 = (L_56)->GetAt(static_cast<il2cpp_array_size_t>(L_57));
ArrayElementTypeCheck (L_55, L_58);
(L_55)->SetAt(static_cast<il2cpp_array_size_t>(1), (BigInteger_t925946152 *)L_58);
BigInteger_t925946152 * L_59 = V_5;
V_4 = L_59;
BigIntegerU5BU5D_t3157146937* L_60 = V_8;
int32_t L_61 = 1;
BigInteger_t925946152 * L_62 = (L_60)->GetAt(static_cast<il2cpp_array_size_t>(L_61));
V_5 = L_62;
int32_t L_63 = V_3;
V_3 = ((int32_t)((int32_t)L_63+(int32_t)1));
}
IL_00ca:
{
BigInteger_t925946152 * L_64 = V_5;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_65 = BigInteger_op_Inequality_m628223799(NULL /*static, unused*/, L_64, 0, /*hidden argument*/NULL);
if (L_65)
{
goto IL_006e;
}
}
{
BigIntegerU5BU5D_t3157146937* L_66 = V_2;
int32_t L_67 = 0;
BigInteger_t925946152 * L_68 = (L_66)->GetAt(static_cast<il2cpp_array_size_t>(L_67));
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_69 = BigInteger_op_Inequality_m628223799(NULL /*static, unused*/, L_68, 1, /*hidden argument*/NULL);
if (!L_69)
{
goto IL_00f0;
}
}
{
ArithmeticException_t3261462543 * L_70 = (ArithmeticException_t3261462543 *)il2cpp_codegen_object_new(ArithmeticException_t3261462543_il2cpp_TypeInfo_var);
ArithmeticException__ctor_m4208398840(L_70, _stringLiteral4020384572, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_70);
}
IL_00f0:
{
ModulusRing_t80355991 * L_71 = V_6;
BigIntegerU5BU5D_t3157146937* L_72 = V_0;
int32_t L_73 = 0;
BigInteger_t925946152 * L_74 = (L_72)->GetAt(static_cast<il2cpp_array_size_t>(L_73));
BigIntegerU5BU5D_t3157146937* L_75 = V_0;
int32_t L_76 = 1;
BigInteger_t925946152 * L_77 = (L_75)->GetAt(static_cast<il2cpp_array_size_t>(L_76));
BigIntegerU5BU5D_t3157146937* L_78 = V_1;
int32_t L_79 = 0;
BigInteger_t925946152 * L_80 = (L_78)->GetAt(static_cast<il2cpp_array_size_t>(L_79));
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_81 = BigInteger_op_Multiply_m3289461939(NULL /*static, unused*/, L_77, L_80, /*hidden argument*/NULL);
BigInteger_t925946152 * L_82 = ModulusRing_Difference_m2183667534(L_71, L_74, L_81, /*hidden argument*/NULL);
return L_82;
}
}
// System.Void Mono.Math.BigInteger/ModulusRing::.ctor(Mono.Math.BigInteger)
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t ModulusRing__ctor_m59363820_MetadataUsageId;
extern "C" void ModulusRing__ctor_m59363820 (ModulusRing_t80355991 * __this, BigInteger_t925946152 * ___modulus0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ModulusRing__ctor_m59363820_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
uint32_t V_0 = 0;
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
BigInteger_t925946152 * L_0 = ___modulus0;
__this->set_mod_0(L_0);
BigInteger_t925946152 * L_1 = __this->get_mod_0();
uint32_t L_2 = L_1->get_length_0();
V_0 = ((int32_t)((int32_t)L_2<<(int32_t)1));
uint32_t L_3 = V_0;
BigInteger_t925946152 * L_4 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2087647354(L_4, 1, ((int32_t)((int32_t)L_3+(int32_t)1)), /*hidden argument*/NULL);
__this->set_constant_1(L_4);
BigInteger_t925946152 * L_5 = __this->get_constant_1();
UInt32U5BU5D_t59386216* L_6 = L_5->get_data_1();
uint32_t L_7 = V_0;
(L_6)->SetAt(static_cast<il2cpp_array_size_t>((((uintptr_t)L_7))), (uint32_t)1);
BigInteger_t925946152 * L_8 = __this->get_constant_1();
BigInteger_t925946152 * L_9 = __this->get_mod_0();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_10 = BigInteger_op_Division_m1581119694(NULL /*static, unused*/, L_8, L_9, /*hidden argument*/NULL);
__this->set_constant_1(L_10);
return;
}
}
// System.Void Mono.Math.BigInteger/ModulusRing::BarrettReduction(Mono.Math.BigInteger)
extern Il2CppClass* IndexOutOfRangeException_t3527622107_il2cpp_TypeInfo_var;
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral4079111162;
extern const uint32_t ModulusRing_BarrettReduction_m2175091295_MetadataUsageId;
extern "C" void ModulusRing_BarrettReduction_m2175091295 (ModulusRing_t80355991 * __this, BigInteger_t925946152 * ___x0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ModulusRing_BarrettReduction_m2175091295_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
BigInteger_t925946152 * V_0 = NULL;
uint32_t V_1 = 0;
uint32_t V_2 = 0;
uint32_t V_3 = 0;
BigInteger_t925946152 * V_4 = NULL;
uint32_t V_5 = 0;
BigInteger_t925946152 * V_6 = NULL;
BigInteger_t925946152 * V_7 = NULL;
uint32_t G_B7_0 = 0;
{
BigInteger_t925946152 * L_0 = __this->get_mod_0();
V_0 = L_0;
BigInteger_t925946152 * L_1 = V_0;
uint32_t L_2 = L_1->get_length_0();
V_1 = L_2;
uint32_t L_3 = V_1;
V_2 = ((int32_t)((int32_t)L_3+(int32_t)1));
uint32_t L_4 = V_1;
V_3 = ((int32_t)((int32_t)L_4-(int32_t)1));
BigInteger_t925946152 * L_5 = ___x0;
uint32_t L_6 = L_5->get_length_0();
uint32_t L_7 = V_1;
if ((!(((uint32_t)L_6) < ((uint32_t)L_7))))
{
goto IL_0023;
}
}
{
return;
}
IL_0023:
{
BigInteger_t925946152 * L_8 = ___x0;
UInt32U5BU5D_t59386216* L_9 = L_8->get_data_1();
BigInteger_t925946152 * L_10 = ___x0;
uint32_t L_11 = L_10->get_length_0();
if ((((int64_t)(((int64_t)((int64_t)(((int32_t)((int32_t)(((Il2CppArray *)L_9)->max_length)))))))) >= ((int64_t)(((int64_t)((uint64_t)L_11))))))
{
goto IL_0043;
}
}
{
IndexOutOfRangeException_t3527622107 * L_12 = (IndexOutOfRangeException_t3527622107 *)il2cpp_codegen_object_new(IndexOutOfRangeException_t3527622107_il2cpp_TypeInfo_var);
IndexOutOfRangeException__ctor_m1847153122(L_12, _stringLiteral4079111162, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_12);
}
IL_0043:
{
BigInteger_t925946152 * L_13 = ___x0;
uint32_t L_14 = L_13->get_length_0();
uint32_t L_15 = V_3;
BigInteger_t925946152 * L_16 = __this->get_constant_1();
uint32_t L_17 = L_16->get_length_0();
BigInteger_t925946152 * L_18 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2087647354(L_18, 1, ((int32_t)((int32_t)((int32_t)((int32_t)L_14-(int32_t)L_15))+(int32_t)L_17)), /*hidden argument*/NULL);
V_4 = L_18;
BigInteger_t925946152 * L_19 = ___x0;
UInt32U5BU5D_t59386216* L_20 = L_19->get_data_1();
uint32_t L_21 = V_3;
BigInteger_t925946152 * L_22 = ___x0;
uint32_t L_23 = L_22->get_length_0();
uint32_t L_24 = V_3;
BigInteger_t925946152 * L_25 = __this->get_constant_1();
UInt32U5BU5D_t59386216* L_26 = L_25->get_data_1();
BigInteger_t925946152 * L_27 = __this->get_constant_1();
uint32_t L_28 = L_27->get_length_0();
BigInteger_t925946152 * L_29 = V_4;
UInt32U5BU5D_t59386216* L_30 = L_29->get_data_1();
Kernel_Multiply_m3585610531(NULL /*static, unused*/, L_20, L_21, ((int32_t)((int32_t)L_23-(int32_t)L_24)), L_26, 0, L_28, L_30, 0, /*hidden argument*/NULL);
BigInteger_t925946152 * L_31 = ___x0;
uint32_t L_32 = L_31->get_length_0();
uint32_t L_33 = V_2;
if ((!(((uint32_t)L_32) > ((uint32_t)L_33))))
{
goto IL_00a4;
}
}
{
uint32_t L_34 = V_2;
G_B7_0 = L_34;
goto IL_00aa;
}
IL_00a4:
{
BigInteger_t925946152 * L_35 = ___x0;
uint32_t L_36 = L_35->get_length_0();
G_B7_0 = L_36;
}
IL_00aa:
{
V_5 = G_B7_0;
BigInteger_t925946152 * L_37 = ___x0;
uint32_t L_38 = V_5;
L_37->set_length_0(L_38);
BigInteger_t925946152 * L_39 = ___x0;
BigInteger_Normalize_m62229468(L_39, /*hidden argument*/NULL);
uint32_t L_40 = V_2;
BigInteger_t925946152 * L_41 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2087647354(L_41, 1, L_40, /*hidden argument*/NULL);
V_6 = L_41;
BigInteger_t925946152 * L_42 = V_4;
UInt32U5BU5D_t59386216* L_43 = L_42->get_data_1();
uint32_t L_44 = V_2;
BigInteger_t925946152 * L_45 = V_4;
uint32_t L_46 = L_45->get_length_0();
uint32_t L_47 = V_2;
BigInteger_t925946152 * L_48 = V_0;
UInt32U5BU5D_t59386216* L_49 = L_48->get_data_1();
BigInteger_t925946152 * L_50 = V_0;
uint32_t L_51 = L_50->get_length_0();
BigInteger_t925946152 * L_52 = V_6;
UInt32U5BU5D_t59386216* L_53 = L_52->get_data_1();
uint32_t L_54 = V_2;
Kernel_MultiplyMod2p32pmod_m4094851508(NULL /*static, unused*/, L_43, L_44, ((int32_t)((int32_t)L_46-(int32_t)L_47)), L_49, 0, L_51, L_53, 0, L_54, /*hidden argument*/NULL);
BigInteger_t925946152 * L_55 = V_6;
BigInteger_Normalize_m62229468(L_55, /*hidden argument*/NULL);
BigInteger_t925946152 * L_56 = V_6;
BigInteger_t925946152 * L_57 = ___x0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_58 = BigInteger_op_LessThanOrEqual_m1986506530(NULL /*static, unused*/, L_56, L_57, /*hidden argument*/NULL);
if (!L_58)
{
goto IL_0110;
}
}
{
BigInteger_t925946152 * L_59 = ___x0;
BigInteger_t925946152 * L_60 = V_6;
Kernel_MinusEq_m701500549(NULL /*static, unused*/, L_59, L_60, /*hidden argument*/NULL);
goto IL_0137;
}
IL_0110:
{
uint32_t L_61 = V_2;
BigInteger_t925946152 * L_62 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2087647354(L_62, 1, ((int32_t)((int32_t)L_61+(int32_t)1)), /*hidden argument*/NULL);
V_7 = L_62;
BigInteger_t925946152 * L_63 = V_7;
UInt32U5BU5D_t59386216* L_64 = L_63->get_data_1();
uint32_t L_65 = V_2;
(L_64)->SetAt(static_cast<il2cpp_array_size_t>((((uintptr_t)L_65))), (uint32_t)1);
BigInteger_t925946152 * L_66 = V_7;
BigInteger_t925946152 * L_67 = V_6;
Kernel_MinusEq_m701500549(NULL /*static, unused*/, L_66, L_67, /*hidden argument*/NULL);
BigInteger_t925946152 * L_68 = ___x0;
BigInteger_t925946152 * L_69 = V_7;
Kernel_PlusEq_m3677743255(NULL /*static, unused*/, L_68, L_69, /*hidden argument*/NULL);
}
IL_0137:
{
goto IL_0143;
}
IL_013c:
{
BigInteger_t925946152 * L_70 = ___x0;
BigInteger_t925946152 * L_71 = V_0;
Kernel_MinusEq_m701500549(NULL /*static, unused*/, L_70, L_71, /*hidden argument*/NULL);
}
IL_0143:
{
BigInteger_t925946152 * L_72 = ___x0;
BigInteger_t925946152 * L_73 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_74 = BigInteger_op_GreaterThanOrEqual_m1998498565(NULL /*static, unused*/, L_72, L_73, /*hidden argument*/NULL);
if (L_74)
{
goto IL_013c;
}
}
{
return;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger/ModulusRing::Multiply(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t ModulusRing_Multiply_m386339435_MetadataUsageId;
extern "C" BigInteger_t925946152 * ModulusRing_Multiply_m386339435 (ModulusRing_t80355991 * __this, BigInteger_t925946152 * ___a0, BigInteger_t925946152 * ___b1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ModulusRing_Multiply_m386339435_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
BigInteger_t925946152 * V_0 = NULL;
{
BigInteger_t925946152 * L_0 = ___a0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_1 = BigInteger_op_Equality_m3606819076(NULL /*static, unused*/, L_0, 0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0018;
}
}
{
BigInteger_t925946152 * L_2 = ___b1;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_3 = BigInteger_op_Equality_m3606819076(NULL /*static, unused*/, L_2, 0, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_001f;
}
}
IL_0018:
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_4 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, 0, /*hidden argument*/NULL);
return L_4;
}
IL_001f:
{
BigInteger_t925946152 * L_5 = ___a0;
BigInteger_t925946152 * L_6 = __this->get_mod_0();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_7 = BigInteger_op_GreaterThan_m2125509286(NULL /*static, unused*/, L_5, L_6, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_003e;
}
}
{
BigInteger_t925946152 * L_8 = ___a0;
BigInteger_t925946152 * L_9 = __this->get_mod_0();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_10 = BigInteger_op_Modulus_m3788401748(NULL /*static, unused*/, L_8, L_9, /*hidden argument*/NULL);
___a0 = L_10;
}
IL_003e:
{
BigInteger_t925946152 * L_11 = ___b1;
BigInteger_t925946152 * L_12 = __this->get_mod_0();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_13 = BigInteger_op_GreaterThan_m2125509286(NULL /*static, unused*/, L_11, L_12, /*hidden argument*/NULL);
if (!L_13)
{
goto IL_005d;
}
}
{
BigInteger_t925946152 * L_14 = ___b1;
BigInteger_t925946152 * L_15 = __this->get_mod_0();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_16 = BigInteger_op_Modulus_m3788401748(NULL /*static, unused*/, L_14, L_15, /*hidden argument*/NULL);
___b1 = L_16;
}
IL_005d:
{
BigInteger_t925946152 * L_17 = ___a0;
BigInteger_t925946152 * L_18 = ___b1;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_19 = BigInteger_op_Multiply_m3289461939(NULL /*static, unused*/, L_17, L_18, /*hidden argument*/NULL);
V_0 = L_19;
BigInteger_t925946152 * L_20 = V_0;
ModulusRing_BarrettReduction_m2175091295(__this, L_20, /*hidden argument*/NULL);
BigInteger_t925946152 * L_21 = V_0;
return L_21;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger/ModulusRing::Difference(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern Il2CppClass* Exception_t1927440687_il2cpp_TypeInfo_var;
extern const uint32_t ModulusRing_Difference_m2183667534_MetadataUsageId;
extern "C" BigInteger_t925946152 * ModulusRing_Difference_m2183667534 (ModulusRing_t80355991 * __this, BigInteger_t925946152 * ___a0, BigInteger_t925946152 * ___b1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ModulusRing_Difference_m2183667534_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
BigInteger_t925946152 * V_1 = NULL;
int32_t V_2 = 0;
{
BigInteger_t925946152 * L_0 = ___a0;
BigInteger_t925946152 * L_1 = ___b1;
int32_t L_2 = Kernel_Compare_m25797552(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
V_0 = L_2;
int32_t L_3 = V_0;
V_2 = L_3;
int32_t L_4 = V_2;
if (((int32_t)((int32_t)L_4+(int32_t)1)) == 0)
{
goto IL_0037;
}
if (((int32_t)((int32_t)L_4+(int32_t)1)) == 1)
{
goto IL_0023;
}
if (((int32_t)((int32_t)L_4+(int32_t)1)) == 2)
{
goto IL_002a;
}
}
{
goto IL_0044;
}
IL_0023:
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_5 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, 0, /*hidden argument*/NULL);
return L_5;
}
IL_002a:
{
BigInteger_t925946152 * L_6 = ___a0;
BigInteger_t925946152 * L_7 = ___b1;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_8 = BigInteger_op_Subtraction_m2941563507(NULL /*static, unused*/, L_6, L_7, /*hidden argument*/NULL);
V_1 = L_8;
goto IL_004a;
}
IL_0037:
{
BigInteger_t925946152 * L_9 = ___b1;
BigInteger_t925946152 * L_10 = ___a0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_11 = BigInteger_op_Subtraction_m2941563507(NULL /*static, unused*/, L_9, L_10, /*hidden argument*/NULL);
V_1 = L_11;
goto IL_004a;
}
IL_0044:
{
Exception_t1927440687 * L_12 = (Exception_t1927440687 *)il2cpp_codegen_object_new(Exception_t1927440687_il2cpp_TypeInfo_var);
Exception__ctor_m3886110570(L_12, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_12);
}
IL_004a:
{
BigInteger_t925946152 * L_13 = V_1;
BigInteger_t925946152 * L_14 = __this->get_mod_0();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_15 = BigInteger_op_GreaterThanOrEqual_m1998498565(NULL /*static, unused*/, L_13, L_14, /*hidden argument*/NULL);
if (!L_15)
{
goto IL_008c;
}
}
{
BigInteger_t925946152 * L_16 = V_1;
uint32_t L_17 = L_16->get_length_0();
BigInteger_t925946152 * L_18 = __this->get_mod_0();
uint32_t L_19 = L_18->get_length_0();
if ((!(((uint32_t)L_17) >= ((uint32_t)((int32_t)((int32_t)L_19<<(int32_t)1))))))
{
goto IL_0085;
}
}
{
BigInteger_t925946152 * L_20 = V_1;
BigInteger_t925946152 * L_21 = __this->get_mod_0();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_22 = BigInteger_op_Modulus_m3788401748(NULL /*static, unused*/, L_20, L_21, /*hidden argument*/NULL);
V_1 = L_22;
goto IL_008c;
}
IL_0085:
{
BigInteger_t925946152 * L_23 = V_1;
ModulusRing_BarrettReduction_m2175091295(__this, L_23, /*hidden argument*/NULL);
}
IL_008c:
{
int32_t L_24 = V_0;
if ((!(((uint32_t)L_24) == ((uint32_t)(-1)))))
{
goto IL_00a0;
}
}
{
BigInteger_t925946152 * L_25 = __this->get_mod_0();
BigInteger_t925946152 * L_26 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_27 = BigInteger_op_Subtraction_m2941563507(NULL /*static, unused*/, L_25, L_26, /*hidden argument*/NULL);
V_1 = L_27;
}
IL_00a0:
{
BigInteger_t925946152 * L_28 = V_1;
return L_28;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger/ModulusRing::Pow(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t ModulusRing_Pow_m1137250399_MetadataUsageId;
extern "C" BigInteger_t925946152 * ModulusRing_Pow_m1137250399 (ModulusRing_t80355991 * __this, BigInteger_t925946152 * ___a0, BigInteger_t925946152 * ___k1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ModulusRing_Pow_m1137250399_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
BigInteger_t925946152 * V_0 = NULL;
BigInteger_t925946152 * V_1 = NULL;
int32_t V_2 = 0;
{
BigInteger_t925946152 * L_0 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2945783161(L_0, 1, /*hidden argument*/NULL);
V_0 = L_0;
BigInteger_t925946152 * L_1 = ___k1;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_2 = BigInteger_op_Equality_m3606819076(NULL /*static, unused*/, L_1, 0, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0015;
}
}
{
BigInteger_t925946152 * L_3 = V_0;
return L_3;
}
IL_0015:
{
BigInteger_t925946152 * L_4 = ___a0;
V_1 = L_4;
BigInteger_t925946152 * L_5 = ___k1;
bool L_6 = BigInteger_TestBit_m2791151177(L_5, 0, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_0025;
}
}
{
BigInteger_t925946152 * L_7 = ___a0;
V_0 = L_7;
}
IL_0025:
{
V_2 = 1;
goto IL_004e;
}
IL_002c:
{
BigInteger_t925946152 * L_8 = V_1;
BigInteger_t925946152 * L_9 = V_1;
BigInteger_t925946152 * L_10 = ModulusRing_Multiply_m386339435(__this, L_8, L_9, /*hidden argument*/NULL);
V_1 = L_10;
BigInteger_t925946152 * L_11 = ___k1;
int32_t L_12 = V_2;
bool L_13 = BigInteger_TestBit_m2791151177(L_11, L_12, /*hidden argument*/NULL);
if (!L_13)
{
goto IL_004a;
}
}
{
BigInteger_t925946152 * L_14 = V_1;
BigInteger_t925946152 * L_15 = V_0;
BigInteger_t925946152 * L_16 = ModulusRing_Multiply_m386339435(__this, L_14, L_15, /*hidden argument*/NULL);
V_0 = L_16;
}
IL_004a:
{
int32_t L_17 = V_2;
V_2 = ((int32_t)((int32_t)L_17+(int32_t)1));
}
IL_004e:
{
int32_t L_18 = V_2;
BigInteger_t925946152 * L_19 = ___k1;
int32_t L_20 = BigInteger_BitCount_m3320427467(L_19, /*hidden argument*/NULL);
if ((((int32_t)L_18) < ((int32_t)L_20)))
{
goto IL_002c;
}
}
{
BigInteger_t925946152 * L_21 = V_0;
return L_21;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger/ModulusRing::Pow(System.UInt32,Mono.Math.BigInteger)
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t ModulusRing_Pow_m3751129772_MetadataUsageId;
extern "C" BigInteger_t925946152 * ModulusRing_Pow_m3751129772 (ModulusRing_t80355991 * __this, uint32_t ___b0, BigInteger_t925946152 * ___exp1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ModulusRing_Pow_m3751129772_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
uint32_t L_0 = ___b0;
BigInteger_t925946152 * L_1 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2945783161(L_1, L_0, /*hidden argument*/NULL);
BigInteger_t925946152 * L_2 = ___exp1;
BigInteger_t925946152 * L_3 = ModulusRing_Pow_m1137250399(__this, L_1, L_2, /*hidden argument*/NULL);
return L_3;
}
}
// System.Void Mono.Math.Prime.Generator.PrimeGeneratorBase::.ctor()
extern "C" void PrimeGeneratorBase__ctor_m1958652214 (PrimeGeneratorBase_t1053438167 * __this, const MethodInfo* method)
{
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
return;
}
}
// Mono.Math.Prime.ConfidenceFactor Mono.Math.Prime.Generator.PrimeGeneratorBase::get_Confidence()
extern "C" int32_t PrimeGeneratorBase_get_Confidence_m2716080143 (PrimeGeneratorBase_t1053438167 * __this, const MethodInfo* method)
{
{
return (int32_t)(2);
}
}
// Mono.Math.Prime.PrimalityTest Mono.Math.Prime.Generator.PrimeGeneratorBase::get_PrimalityTest()
extern Il2CppClass* PrimalityTest_t572679901_il2cpp_TypeInfo_var;
extern const MethodInfo* PrimalityTests_RabinMillerTest_m1376858197_MethodInfo_var;
extern const uint32_t PrimeGeneratorBase_get_PrimalityTest_m745694088_MetadataUsageId;
extern "C" PrimalityTest_t572679901 * PrimeGeneratorBase_get_PrimalityTest_m745694088 (PrimeGeneratorBase_t1053438167 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PrimeGeneratorBase_get_PrimalityTest_m745694088_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
IntPtr_t L_0;
L_0.set_m_value_0((void*)(void*)PrimalityTests_RabinMillerTest_m1376858197_MethodInfo_var);
PrimalityTest_t572679901 * L_1 = (PrimalityTest_t572679901 *)il2cpp_codegen_object_new(PrimalityTest_t572679901_il2cpp_TypeInfo_var);
PrimalityTest__ctor_m2405307051(L_1, NULL, L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Int32 Mono.Math.Prime.Generator.PrimeGeneratorBase::get_TrialDivisionBounds()
extern "C" int32_t PrimeGeneratorBase_get_TrialDivisionBounds_m2212046603 (PrimeGeneratorBase_t1053438167 * __this, const MethodInfo* method)
{
{
return ((int32_t)4000);
}
}
// System.Void Mono.Math.Prime.Generator.SequentialSearchPrimeGeneratorBase::.ctor()
extern "C" void SequentialSearchPrimeGeneratorBase__ctor_m1628348781 (SequentialSearchPrimeGeneratorBase_t463670656 * __this, const MethodInfo* method)
{
{
PrimeGeneratorBase__ctor_m1958652214(__this, /*hidden argument*/NULL);
return;
}
}
// Mono.Math.BigInteger Mono.Math.Prime.Generator.SequentialSearchPrimeGeneratorBase::GenerateSearchBase(System.Int32,System.Object)
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t SequentialSearchPrimeGeneratorBase_GenerateSearchBase_m909657064_MetadataUsageId;
extern "C" BigInteger_t925946152 * SequentialSearchPrimeGeneratorBase_GenerateSearchBase_m909657064 (SequentialSearchPrimeGeneratorBase_t463670656 * __this, int32_t ___bits0, Il2CppObject * ___context1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SequentialSearchPrimeGeneratorBase_GenerateSearchBase_m909657064_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
BigInteger_t925946152 * V_0 = NULL;
{
int32_t L_0 = ___bits0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_1 = BigInteger_GenerateRandom_m2507308768(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
V_0 = L_1;
BigInteger_t925946152 * L_2 = V_0;
BigInteger_SetBit_m3652815178(L_2, 0, /*hidden argument*/NULL);
BigInteger_t925946152 * L_3 = V_0;
return L_3;
}
}
// Mono.Math.BigInteger Mono.Math.Prime.Generator.SequentialSearchPrimeGeneratorBase::GenerateNewPrime(System.Int32)
extern "C" BigInteger_t925946152 * SequentialSearchPrimeGeneratorBase_GenerateNewPrime_m545729286 (SequentialSearchPrimeGeneratorBase_t463670656 * __this, int32_t ___bits0, const MethodInfo* method)
{
{
int32_t L_0 = ___bits0;
BigInteger_t925946152 * L_1 = VirtFuncInvoker2< BigInteger_t925946152 *, int32_t, Il2CppObject * >::Invoke(9 /* Mono.Math.BigInteger Mono.Math.Prime.Generator.SequentialSearchPrimeGeneratorBase::GenerateNewPrime(System.Int32,System.Object) */, __this, L_0, NULL);
return L_1;
}
}
// Mono.Math.BigInteger Mono.Math.Prime.Generator.SequentialSearchPrimeGeneratorBase::GenerateNewPrime(System.Int32,System.Object)
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t SequentialSearchPrimeGeneratorBase_GenerateNewPrime_m2351639568_MetadataUsageId;
extern "C" BigInteger_t925946152 * SequentialSearchPrimeGeneratorBase_GenerateNewPrime_m2351639568 (SequentialSearchPrimeGeneratorBase_t463670656 * __this, int32_t ___bits0, Il2CppObject * ___context1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SequentialSearchPrimeGeneratorBase_GenerateNewPrime_m2351639568_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
BigInteger_t925946152 * V_0 = NULL;
uint32_t V_1 = 0;
uint32_t V_2 = 0;
int32_t V_3 = 0;
UInt32U5BU5D_t59386216* V_4 = NULL;
int32_t V_5 = 0;
{
int32_t L_0 = ___bits0;
Il2CppObject * L_1 = ___context1;
BigInteger_t925946152 * L_2 = VirtFuncInvoker2< BigInteger_t925946152 *, int32_t, Il2CppObject * >::Invoke(8 /* Mono.Math.BigInteger Mono.Math.Prime.Generator.SequentialSearchPrimeGeneratorBase::GenerateSearchBase(System.Int32,System.Object) */, __this, L_0, L_1);
V_0 = L_2;
BigInteger_t925946152 * L_3 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
uint32_t L_4 = BigInteger_op_Modulus_m582549828(NULL /*static, unused*/, L_3, ((int32_t)-1060120681), /*hidden argument*/NULL);
V_2 = L_4;
int32_t L_5 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 Mono.Math.Prime.Generator.PrimeGeneratorBase::get_TrialDivisionBounds() */, __this);
V_3 = L_5;
UInt32U5BU5D_t59386216* L_6 = ((BigInteger_t925946152_StaticFields*)BigInteger_t925946152_il2cpp_TypeInfo_var->static_fields)->get_smallPrimes_2();
V_4 = L_6;
}
IL_0023:
{
uint32_t L_7 = V_2;
if (((int32_t)((uint32_t)(int32_t)L_7%(uint32_t)(int32_t)3)))
{
goto IL_0030;
}
}
{
goto IL_0105;
}
IL_0030:
{
uint32_t L_8 = V_2;
if (((int32_t)((uint32_t)(int32_t)L_8%(uint32_t)(int32_t)5)))
{
goto IL_003d;
}
}
{
goto IL_0105;
}
IL_003d:
{
uint32_t L_9 = V_2;
if (((int32_t)((uint32_t)(int32_t)L_9%(uint32_t)(int32_t)7)))
{
goto IL_004a;
}
}
{
goto IL_0105;
}
IL_004a:
{
uint32_t L_10 = V_2;
if (((int32_t)((uint32_t)(int32_t)L_10%(uint32_t)(int32_t)((int32_t)11))))
{
goto IL_0058;
}
}
{
goto IL_0105;
}
IL_0058:
{
uint32_t L_11 = V_2;
if (((int32_t)((uint32_t)(int32_t)L_11%(uint32_t)(int32_t)((int32_t)13))))
{
goto IL_0066;
}
}
{
goto IL_0105;
}
IL_0066:
{
uint32_t L_12 = V_2;
if (((int32_t)((uint32_t)(int32_t)L_12%(uint32_t)(int32_t)((int32_t)17))))
{
goto IL_0074;
}
}
{
goto IL_0105;
}
IL_0074:
{
uint32_t L_13 = V_2;
if (((int32_t)((uint32_t)(int32_t)L_13%(uint32_t)(int32_t)((int32_t)19))))
{
goto IL_0082;
}
}
{
goto IL_0105;
}
IL_0082:
{
uint32_t L_14 = V_2;
if (((int32_t)((uint32_t)(int32_t)L_14%(uint32_t)(int32_t)((int32_t)23))))
{
goto IL_0090;
}
}
{
goto IL_0105;
}
IL_0090:
{
uint32_t L_15 = V_2;
if (((int32_t)((uint32_t)(int32_t)L_15%(uint32_t)(int32_t)((int32_t)29))))
{
goto IL_009e;
}
}
{
goto IL_0105;
}
IL_009e:
{
V_5 = ((int32_t)10);
goto IL_00c2;
}
IL_00a7:
{
BigInteger_t925946152 * L_16 = V_0;
UInt32U5BU5D_t59386216* L_17 = V_4;
int32_t L_18 = V_5;
int32_t L_19 = L_18;
uint32_t L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
uint32_t L_21 = BigInteger_op_Modulus_m582549828(NULL /*static, unused*/, L_16, L_20, /*hidden argument*/NULL);
if (L_21)
{
goto IL_00bc;
}
}
{
goto IL_0105;
}
IL_00bc:
{
int32_t L_22 = V_5;
V_5 = ((int32_t)((int32_t)L_22+(int32_t)1));
}
IL_00c2:
{
int32_t L_23 = V_5;
UInt32U5BU5D_t59386216* L_24 = V_4;
if ((((int32_t)L_23) >= ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_24)->max_length)))))))
{
goto IL_00da;
}
}
{
UInt32U5BU5D_t59386216* L_25 = V_4;
int32_t L_26 = V_5;
int32_t L_27 = L_26;
uint32_t L_28 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
int32_t L_29 = V_3;
if ((((int64_t)(((int64_t)((uint64_t)L_28)))) <= ((int64_t)(((int64_t)((int64_t)L_29))))))
{
goto IL_00a7;
}
}
IL_00da:
{
BigInteger_t925946152 * L_30 = V_0;
Il2CppObject * L_31 = ___context1;
bool L_32 = VirtFuncInvoker2< bool, BigInteger_t925946152 *, Il2CppObject * >::Invoke(10 /* System.Boolean Mono.Math.Prime.Generator.SequentialSearchPrimeGeneratorBase::IsPrimeAcceptable(Mono.Math.BigInteger,System.Object) */, __this, L_30, L_31);
if (L_32)
{
goto IL_00ec;
}
}
{
goto IL_0105;
}
IL_00ec:
{
PrimalityTest_t572679901 * L_33 = VirtFuncInvoker0< PrimalityTest_t572679901 * >::Invoke(5 /* Mono.Math.Prime.PrimalityTest Mono.Math.Prime.Generator.PrimeGeneratorBase::get_PrimalityTest() */, __this);
BigInteger_t925946152 * L_34 = V_0;
int32_t L_35 = VirtFuncInvoker0< int32_t >::Invoke(4 /* Mono.Math.Prime.ConfidenceFactor Mono.Math.Prime.Generator.PrimeGeneratorBase::get_Confidence() */, __this);
bool L_36 = PrimalityTest_Invoke_m1352225933(L_33, L_34, L_35, /*hidden argument*/NULL);
if (!L_36)
{
goto IL_0105;
}
}
{
BigInteger_t925946152 * L_37 = V_0;
return L_37;
}
IL_0105:
{
uint32_t L_38 = V_2;
V_2 = ((int32_t)((int32_t)L_38+(int32_t)2));
uint32_t L_39 = V_2;
if ((!(((uint32_t)L_39) >= ((uint32_t)((int32_t)-1060120681)))))
{
goto IL_011c;
}
}
{
uint32_t L_40 = V_2;
V_2 = ((int32_t)((int32_t)L_40-(int32_t)((int32_t)-1060120681)));
}
IL_011c:
{
BigInteger_t925946152 * L_41 = V_0;
BigInteger_Incr2_m4072644401(L_41, /*hidden argument*/NULL);
goto IL_0023;
}
}
// System.Boolean Mono.Math.Prime.Generator.SequentialSearchPrimeGeneratorBase::IsPrimeAcceptable(Mono.Math.BigInteger,System.Object)
extern "C" bool SequentialSearchPrimeGeneratorBase_IsPrimeAcceptable_m4074701961 (SequentialSearchPrimeGeneratorBase_t463670656 * __this, BigInteger_t925946152 * ___bi0, Il2CppObject * ___context1, const MethodInfo* method)
{
{
return (bool)1;
}
}
// System.Void Mono.Math.Prime.PrimalityTest::.ctor(System.Object,System.IntPtr)
extern "C" void PrimalityTest__ctor_m2405307051 (PrimalityTest_t572679901 * __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.Boolean Mono.Math.Prime.PrimalityTest::Invoke(Mono.Math.BigInteger,Mono.Math.Prime.ConfidenceFactor)
extern "C" bool PrimalityTest_Invoke_m1352225933 (PrimalityTest_t572679901 * __this, BigInteger_t925946152 * ___bi0, int32_t ___confidence1, const MethodInfo* method)
{
if(__this->get_prev_9() != NULL)
{
PrimalityTest_Invoke_m1352225933((PrimalityTest_t572679901 *)__this->get_prev_9(),___bi0, ___confidence1, 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 bool (*FunctionPointerType) (Il2CppObject *, void* __this, BigInteger_t925946152 * ___bi0, int32_t ___confidence1, const MethodInfo* method);
return ((FunctionPointerType)__this->get_method_ptr_0())(NULL,il2cpp_codegen_get_delegate_this(__this),___bi0, ___confidence1,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
else if (__this->get_m_target_2() != NULL || ___methodIsStatic)
{
typedef bool (*FunctionPointerType) (void* __this, BigInteger_t925946152 * ___bi0, int32_t ___confidence1, const MethodInfo* method);
return ((FunctionPointerType)__this->get_method_ptr_0())(il2cpp_codegen_get_delegate_this(__this),___bi0, ___confidence1,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
else
{
typedef bool (*FunctionPointerType) (void* __this, int32_t ___confidence1, const MethodInfo* method);
return ((FunctionPointerType)__this->get_method_ptr_0())(___bi0, ___confidence1,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
}
// System.IAsyncResult Mono.Math.Prime.PrimalityTest::BeginInvoke(Mono.Math.BigInteger,Mono.Math.Prime.ConfidenceFactor,System.AsyncCallback,System.Object)
extern Il2CppClass* ConfidenceFactor_t1997037801_il2cpp_TypeInfo_var;
extern const uint32_t PrimalityTest_BeginInvoke_m966469054_MetadataUsageId;
extern "C" Il2CppObject * PrimalityTest_BeginInvoke_m966469054 (PrimalityTest_t572679901 * __this, BigInteger_t925946152 * ___bi0, int32_t ___confidence1, AsyncCallback_t163412349 * ___callback2, Il2CppObject * ___object3, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PrimalityTest_BeginInvoke_m966469054_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
void *__d_args[3] = {0};
__d_args[0] = ___bi0;
__d_args[1] = Box(ConfidenceFactor_t1997037801_il2cpp_TypeInfo_var, &___confidence1);
return (Il2CppObject *)il2cpp_delegate_begin_invoke((Il2CppDelegate*)__this, __d_args, (Il2CppDelegate*)___callback2, (Il2CppObject*)___object3);
}
// System.Boolean Mono.Math.Prime.PrimalityTest::EndInvoke(System.IAsyncResult)
extern "C" bool PrimalityTest_EndInvoke_m3726063833 (PrimalityTest_t572679901 * __this, Il2CppObject * ___result0, const MethodInfo* method)
{
Il2CppObject *__result = il2cpp_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
return *(bool*)UnBox ((Il2CppCodeGenObject*)__result);
}
// System.Int32 Mono.Math.Prime.PrimalityTests::GetSPPRounds(Mono.Math.BigInteger,Mono.Math.Prime.ConfidenceFactor)
extern Il2CppClass* Exception_t1927440687_il2cpp_TypeInfo_var;
extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral939326124;
extern Il2CppCodeGenString* _stringLiteral630944790;
extern const uint32_t PrimalityTests_GetSPPRounds_m1844115340_MetadataUsageId;
extern "C" int32_t PrimalityTests_GetSPPRounds_m1844115340 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___bi0, int32_t ___confidence1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PrimalityTests_GetSPPRounds_m1844115340_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
int32_t G_B28_0 = 0;
int32_t G_B32_0 = 0;
{
BigInteger_t925946152 * L_0 = ___bi0;
int32_t L_1 = BigInteger_BitCount_m3320427467(L_0, /*hidden argument*/NULL);
V_0 = L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) > ((int32_t)((int32_t)100))))
{
goto IL_0017;
}
}
{
V_1 = ((int32_t)27);
goto IL_00d1;
}
IL_0017:
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) > ((int32_t)((int32_t)150))))
{
goto IL_002a;
}
}
{
V_1 = ((int32_t)18);
goto IL_00d1;
}
IL_002a:
{
int32_t L_4 = V_0;
if ((((int32_t)L_4) > ((int32_t)((int32_t)200))))
{
goto IL_003d;
}
}
{
V_1 = ((int32_t)15);
goto IL_00d1;
}
IL_003d:
{
int32_t L_5 = V_0;
if ((((int32_t)L_5) > ((int32_t)((int32_t)250))))
{
goto IL_0050;
}
}
{
V_1 = ((int32_t)12);
goto IL_00d1;
}
IL_0050:
{
int32_t L_6 = V_0;
if ((((int32_t)L_6) > ((int32_t)((int32_t)300))))
{
goto IL_0063;
}
}
{
V_1 = ((int32_t)9);
goto IL_00d1;
}
IL_0063:
{
int32_t L_7 = V_0;
if ((((int32_t)L_7) > ((int32_t)((int32_t)350))))
{
goto IL_0075;
}
}
{
V_1 = 8;
goto IL_00d1;
}
IL_0075:
{
int32_t L_8 = V_0;
if ((((int32_t)L_8) > ((int32_t)((int32_t)400))))
{
goto IL_0087;
}
}
{
V_1 = 7;
goto IL_00d1;
}
IL_0087:
{
int32_t L_9 = V_0;
if ((((int32_t)L_9) > ((int32_t)((int32_t)500))))
{
goto IL_0099;
}
}
{
V_1 = 6;
goto IL_00d1;
}
IL_0099:
{
int32_t L_10 = V_0;
if ((((int32_t)L_10) > ((int32_t)((int32_t)600))))
{
goto IL_00ab;
}
}
{
V_1 = 5;
goto IL_00d1;
}
IL_00ab:
{
int32_t L_11 = V_0;
if ((((int32_t)L_11) > ((int32_t)((int32_t)800))))
{
goto IL_00bd;
}
}
{
V_1 = 4;
goto IL_00d1;
}
IL_00bd:
{
int32_t L_12 = V_0;
if ((((int32_t)L_12) > ((int32_t)((int32_t)1250))))
{
goto IL_00cf;
}
}
{
V_1 = 3;
goto IL_00d1;
}
IL_00cf:
{
V_1 = 2;
}
IL_00d1:
{
int32_t L_13 = ___confidence1;
V_2 = L_13;
int32_t L_14 = V_2;
if (L_14 == 0)
{
goto IL_00f6;
}
if (L_14 == 1)
{
goto IL_0108;
}
if (L_14 == 2)
{
goto IL_011a;
}
if (L_14 == 3)
{
goto IL_011c;
}
if (L_14 == 4)
{
goto IL_0120;
}
if (L_14 == 5)
{
goto IL_0124;
}
}
{
goto IL_012f;
}
IL_00f6:
{
int32_t L_15 = V_1;
V_1 = ((int32_t)((int32_t)L_15>>(int32_t)2));
int32_t L_16 = V_1;
if (!L_16)
{
goto IL_0106;
}
}
{
int32_t L_17 = V_1;
G_B28_0 = L_17;
goto IL_0107;
}
IL_0106:
{
G_B28_0 = 1;
}
IL_0107:
{
return G_B28_0;
}
IL_0108:
{
int32_t L_18 = V_1;
V_1 = ((int32_t)((int32_t)L_18>>(int32_t)1));
int32_t L_19 = V_1;
if (!L_19)
{
goto IL_0118;
}
}
{
int32_t L_20 = V_1;
G_B32_0 = L_20;
goto IL_0119;
}
IL_0118:
{
G_B32_0 = 1;
}
IL_0119:
{
return G_B32_0;
}
IL_011a:
{
int32_t L_21 = V_1;
return L_21;
}
IL_011c:
{
int32_t L_22 = V_1;
return ((int32_t)((int32_t)L_22<<(int32_t)1));
}
IL_0120:
{
int32_t L_23 = V_1;
return ((int32_t)((int32_t)L_23<<(int32_t)2));
}
IL_0124:
{
Exception_t1927440687 * L_24 = (Exception_t1927440687 *)il2cpp_codegen_object_new(Exception_t1927440687_il2cpp_TypeInfo_var);
Exception__ctor_m485833136(L_24, _stringLiteral939326124, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_24);
}
IL_012f:
{
ArgumentOutOfRangeException_t279959794 * L_25 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m1595007065(L_25, _stringLiteral630944790, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_25);
}
}
// System.Boolean Mono.Math.Prime.PrimalityTests::Test(Mono.Math.BigInteger,Mono.Math.Prime.ConfidenceFactor)
extern "C" bool PrimalityTests_Test_m1088386156 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___n0, int32_t ___confidence1, const MethodInfo* method)
{
{
BigInteger_t925946152 * L_0 = ___n0;
int32_t L_1 = BigInteger_BitCount_m3320427467(L_0, /*hidden argument*/NULL);
if ((((int32_t)L_1) >= ((int32_t)((int32_t)33))))
{
goto IL_0015;
}
}
{
BigInteger_t925946152 * L_2 = ___n0;
int32_t L_3 = ___confidence1;
bool L_4 = PrimalityTests_SmallPrimeSppTest_m3182530923(NULL /*static, unused*/, L_2, L_3, /*hidden argument*/NULL);
return L_4;
}
IL_0015:
{
BigInteger_t925946152 * L_5 = ___n0;
int32_t L_6 = ___confidence1;
bool L_7 = PrimalityTests_RabinMillerTest_m1376858197(NULL /*static, unused*/, L_5, L_6, /*hidden argument*/NULL);
return L_7;
}
}
// System.Boolean Mono.Math.Prime.PrimalityTests::RabinMillerTest(Mono.Math.BigInteger,Mono.Math.Prime.ConfidenceFactor)
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern Il2CppClass* ModulusRing_t80355991_il2cpp_TypeInfo_var;
extern const uint32_t PrimalityTests_RabinMillerTest_m1376858197_MetadataUsageId;
extern "C" bool PrimalityTests_RabinMillerTest_m1376858197 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___n0, int32_t ___confidence1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PrimalityTests_RabinMillerTest_m1376858197_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
BigInteger_t925946152 * V_2 = NULL;
int32_t V_3 = 0;
BigInteger_t925946152 * V_4 = NULL;
ModulusRing_t80355991 * V_5 = NULL;
BigInteger_t925946152 * V_6 = NULL;
int32_t V_7 = 0;
BigInteger_t925946152 * V_8 = NULL;
int32_t V_9 = 0;
{
BigInteger_t925946152 * L_0 = ___n0;
int32_t L_1 = BigInteger_BitCount_m3320427467(L_0, /*hidden argument*/NULL);
V_0 = L_1;
int32_t L_2 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_3 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
int32_t L_4 = ___confidence1;
int32_t L_5 = PrimalityTests_GetSPPRounds_m1844115340(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL);
V_1 = L_5;
BigInteger_t925946152 * L_6 = ___n0;
BigInteger_t925946152 * L_7 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, 1, /*hidden argument*/NULL);
BigInteger_t925946152 * L_8 = BigInteger_op_Subtraction_m2941563507(NULL /*static, unused*/, L_6, L_7, /*hidden argument*/NULL);
V_2 = L_8;
BigInteger_t925946152 * L_9 = V_2;
int32_t L_10 = BigInteger_LowestSetBit_m4236277214(L_9, /*hidden argument*/NULL);
V_3 = L_10;
BigInteger_t925946152 * L_11 = V_2;
int32_t L_12 = V_3;
BigInteger_t925946152 * L_13 = BigInteger_op_RightShift_m1619744615(NULL /*static, unused*/, L_11, L_12, /*hidden argument*/NULL);
V_4 = L_13;
BigInteger_t925946152 * L_14 = ___n0;
ModulusRing_t80355991 * L_15 = (ModulusRing_t80355991 *)il2cpp_codegen_object_new(ModulusRing_t80355991_il2cpp_TypeInfo_var);
ModulusRing__ctor_m59363820(L_15, L_14, /*hidden argument*/NULL);
V_5 = L_15;
V_6 = (BigInteger_t925946152 *)NULL;
BigInteger_t925946152 * L_16 = ___n0;
int32_t L_17 = BigInteger_BitCount_m3320427467(L_16, /*hidden argument*/NULL);
if ((((int32_t)L_17) <= ((int32_t)((int32_t)100))))
{
goto IL_0055;
}
}
{
ModulusRing_t80355991 * L_18 = V_5;
BigInteger_t925946152 * L_19 = V_4;
BigInteger_t925946152 * L_20 = ModulusRing_Pow_m3751129772(L_18, 2, L_19, /*hidden argument*/NULL);
V_6 = L_20;
}
IL_0055:
{
V_7 = 0;
goto IL_0113;
}
IL_005d:
{
int32_t L_21 = V_7;
if ((((int32_t)L_21) > ((int32_t)0)))
{
goto IL_0072;
}
}
{
BigInteger_t925946152 * L_22 = V_6;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_23 = BigInteger_op_Equality_m366854173(NULL /*static, unused*/, L_22, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
if (!L_23)
{
goto IL_00a9;
}
}
IL_0072:
{
V_8 = (BigInteger_t925946152 *)NULL;
}
IL_0075:
{
int32_t L_24 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_25 = BigInteger_GenerateRandom_m2507308768(NULL /*static, unused*/, L_24, /*hidden argument*/NULL);
V_8 = L_25;
BigInteger_t925946152 * L_26 = V_8;
BigInteger_t925946152 * L_27 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, 2, /*hidden argument*/NULL);
bool L_28 = BigInteger_op_LessThanOrEqual_m1986506530(NULL /*static, unused*/, L_26, L_27, /*hidden argument*/NULL);
if (!L_28)
{
goto IL_009c;
}
}
{
BigInteger_t925946152 * L_29 = V_8;
BigInteger_t925946152 * L_30 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_31 = BigInteger_op_GreaterThanOrEqual_m1998498565(NULL /*static, unused*/, L_29, L_30, /*hidden argument*/NULL);
if (L_31)
{
goto IL_0075;
}
}
IL_009c:
{
ModulusRing_t80355991 * L_32 = V_5;
BigInteger_t925946152 * L_33 = V_8;
BigInteger_t925946152 * L_34 = V_4;
BigInteger_t925946152 * L_35 = ModulusRing_Pow_m1137250399(L_32, L_33, L_34, /*hidden argument*/NULL);
V_6 = L_35;
}
IL_00a9:
{
BigInteger_t925946152 * L_36 = V_6;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_37 = BigInteger_op_Equality_m3606819076(NULL /*static, unused*/, L_36, 1, /*hidden argument*/NULL);
if (!L_37)
{
goto IL_00bb;
}
}
{
goto IL_010d;
}
IL_00bb:
{
V_9 = 0;
goto IL_00e9;
}
IL_00c3:
{
ModulusRing_t80355991 * L_38 = V_5;
BigInteger_t925946152 * L_39 = V_6;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_40 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, 2, /*hidden argument*/NULL);
BigInteger_t925946152 * L_41 = ModulusRing_Pow_m1137250399(L_38, L_39, L_40, /*hidden argument*/NULL);
V_6 = L_41;
BigInteger_t925946152 * L_42 = V_6;
bool L_43 = BigInteger_op_Equality_m3606819076(NULL /*static, unused*/, L_42, 1, /*hidden argument*/NULL);
if (!L_43)
{
goto IL_00e3;
}
}
{
return (bool)0;
}
IL_00e3:
{
int32_t L_44 = V_9;
V_9 = ((int32_t)((int32_t)L_44+(int32_t)1));
}
IL_00e9:
{
int32_t L_45 = V_9;
int32_t L_46 = V_3;
if ((((int32_t)L_45) >= ((int32_t)L_46)))
{
goto IL_00fe;
}
}
{
BigInteger_t925946152 * L_47 = V_6;
BigInteger_t925946152 * L_48 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_49 = BigInteger_op_Inequality_m1442635028(NULL /*static, unused*/, L_47, L_48, /*hidden argument*/NULL);
if (L_49)
{
goto IL_00c3;
}
}
IL_00fe:
{
BigInteger_t925946152 * L_50 = V_6;
BigInteger_t925946152 * L_51 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_52 = BigInteger_op_Inequality_m1442635028(NULL /*static, unused*/, L_50, L_51, /*hidden argument*/NULL);
if (!L_52)
{
goto IL_010d;
}
}
{
return (bool)0;
}
IL_010d:
{
int32_t L_53 = V_7;
V_7 = ((int32_t)((int32_t)L_53+(int32_t)1));
}
IL_0113:
{
int32_t L_54 = V_7;
int32_t L_55 = V_1;
if ((((int32_t)L_54) < ((int32_t)L_55)))
{
goto IL_005d;
}
}
{
return (bool)1;
}
}
// System.Boolean Mono.Math.Prime.PrimalityTests::SmallPrimeSppTest(Mono.Math.BigInteger,Mono.Math.Prime.ConfidenceFactor)
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern Il2CppClass* ModulusRing_t80355991_il2cpp_TypeInfo_var;
extern const uint32_t PrimalityTests_SmallPrimeSppTest_m3182530923_MetadataUsageId;
extern "C" bool PrimalityTests_SmallPrimeSppTest_m3182530923 (Il2CppObject * __this /* static, unused */, BigInteger_t925946152 * ___bi0, int32_t ___confidence1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PrimalityTests_SmallPrimeSppTest_m3182530923_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
BigInteger_t925946152 * V_1 = NULL;
int32_t V_2 = 0;
BigInteger_t925946152 * V_3 = NULL;
ModulusRing_t80355991 * V_4 = NULL;
int32_t V_5 = 0;
BigInteger_t925946152 * V_6 = NULL;
bool V_7 = false;
int32_t V_8 = 0;
{
BigInteger_t925946152 * L_0 = ___bi0;
int32_t L_1 = ___confidence1;
int32_t L_2 = PrimalityTests_GetSPPRounds_m1844115340(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
V_0 = L_2;
BigInteger_t925946152 * L_3 = ___bi0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_4 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, 1, /*hidden argument*/NULL);
BigInteger_t925946152 * L_5 = BigInteger_op_Subtraction_m2941563507(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL);
V_1 = L_5;
BigInteger_t925946152 * L_6 = V_1;
int32_t L_7 = BigInteger_LowestSetBit_m4236277214(L_6, /*hidden argument*/NULL);
V_2 = L_7;
BigInteger_t925946152 * L_8 = V_1;
int32_t L_9 = V_2;
BigInteger_t925946152 * L_10 = BigInteger_op_RightShift_m1619744615(NULL /*static, unused*/, L_8, L_9, /*hidden argument*/NULL);
V_3 = L_10;
BigInteger_t925946152 * L_11 = ___bi0;
ModulusRing_t80355991 * L_12 = (ModulusRing_t80355991 *)il2cpp_codegen_object_new(ModulusRing_t80355991_il2cpp_TypeInfo_var);
ModulusRing__ctor_m59363820(L_12, L_11, /*hidden argument*/NULL);
V_4 = L_12;
V_5 = 0;
goto IL_00a6;
}
IL_0034:
{
ModulusRing_t80355991 * L_13 = V_4;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
UInt32U5BU5D_t59386216* L_14 = ((BigInteger_t925946152_StaticFields*)BigInteger_t925946152_il2cpp_TypeInfo_var->static_fields)->get_smallPrimes_2();
int32_t L_15 = V_5;
int32_t L_16 = L_15;
uint32_t L_17 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
BigInteger_t925946152 * L_18 = V_3;
BigInteger_t925946152 * L_19 = ModulusRing_Pow_m3751129772(L_13, L_17, L_18, /*hidden argument*/NULL);
V_6 = L_19;
BigInteger_t925946152 * L_20 = V_6;
bool L_21 = BigInteger_op_Equality_m3606819076(NULL /*static, unused*/, L_20, 1, /*hidden argument*/NULL);
if (!L_21)
{
goto IL_0058;
}
}
{
goto IL_00a0;
}
IL_0058:
{
V_7 = (bool)0;
V_8 = 0;
goto IL_008f;
}
IL_0063:
{
BigInteger_t925946152 * L_22 = V_6;
BigInteger_t925946152 * L_23 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_24 = BigInteger_op_Equality_m366854173(NULL /*static, unused*/, L_22, L_23, /*hidden argument*/NULL);
if (!L_24)
{
goto IL_0078;
}
}
{
V_7 = (bool)1;
goto IL_0097;
}
IL_0078:
{
BigInteger_t925946152 * L_25 = V_6;
BigInteger_t925946152 * L_26 = V_6;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_27 = BigInteger_op_Multiply_m3289461939(NULL /*static, unused*/, L_25, L_26, /*hidden argument*/NULL);
BigInteger_t925946152 * L_28 = ___bi0;
BigInteger_t925946152 * L_29 = BigInteger_op_Modulus_m3788401748(NULL /*static, unused*/, L_27, L_28, /*hidden argument*/NULL);
V_6 = L_29;
int32_t L_30 = V_8;
V_8 = ((int32_t)((int32_t)L_30+(int32_t)1));
}
IL_008f:
{
int32_t L_31 = V_8;
int32_t L_32 = V_2;
if ((((int32_t)L_31) < ((int32_t)L_32)))
{
goto IL_0063;
}
}
IL_0097:
{
bool L_33 = V_7;
if (L_33)
{
goto IL_00a0;
}
}
{
return (bool)0;
}
IL_00a0:
{
int32_t L_34 = V_5;
V_5 = ((int32_t)((int32_t)L_34+(int32_t)1));
}
IL_00a6:
{
int32_t L_35 = V_5;
int32_t L_36 = V_0;
if ((((int32_t)L_35) < ((int32_t)L_36)))
{
goto IL_0034;
}
}
{
return (bool)1;
}
}
// System.String Mono.Runtime::GetDisplayName()
extern "C" String_t* Runtime_GetDisplayName_m238136843 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
using namespace il2cpp::icalls;
typedef String_t* (*Runtime_GetDisplayName_m238136843_ftn) ();
return ((Runtime_GetDisplayName_m238136843_ftn)mscorlib::Mono::Runtime::GetDisplayName) ();
}
// System.Void Mono.Security.ASN1::.ctor(System.Byte)
extern "C" void ASN1__ctor_m3389976449 (ASN1_t924533535 * __this, uint8_t ___tag0, const MethodInfo* method)
{
{
uint8_t L_0 = ___tag0;
ASN1__ctor_m3847124162(__this, L_0, (ByteU5BU5D_t3397334013*)(ByteU5BU5D_t3397334013*)NULL, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.ASN1::.ctor(System.Byte,System.Byte[])
extern "C" void ASN1__ctor_m3847124162 (ASN1_t924533535 * __this, uint8_t ___tag0, ByteU5BU5D_t3397334013* ___data1, const MethodInfo* method)
{
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
uint8_t L_0 = ___tag0;
__this->set_m_nTag_0(L_0);
ByteU5BU5D_t3397334013* L_1 = ___data1;
__this->set_m_aValue_1(L_1);
return;
}
}
// System.Void Mono.Security.ASN1::.ctor(System.Byte[])
extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var;
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral344208947;
extern const uint32_t ASN1__ctor_m3359093803_MetadataUsageId;
extern "C" void ASN1__ctor_m3359093803 (ASN1_t924533535 * __this, ByteU5BU5D_t3397334013* ___data0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ASN1__ctor_m3359093803_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
int32_t V_3 = 0;
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_0 = ___data0;
int32_t L_1 = 0;
uint8_t L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
__this->set_m_nTag_0(L_2);
V_0 = 0;
ByteU5BU5D_t3397334013* L_3 = ___data0;
int32_t L_4 = 1;
uint8_t L_5 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
V_1 = L_5;
int32_t L_6 = V_1;
if ((((int32_t)L_6) <= ((int32_t)((int32_t)128))))
{
goto IL_0051;
}
}
{
int32_t L_7 = V_1;
V_0 = ((int32_t)((int32_t)L_7-(int32_t)((int32_t)128)));
V_1 = 0;
V_2 = 0;
goto IL_0045;
}
IL_0031:
{
int32_t L_8 = V_1;
V_1 = ((int32_t)((int32_t)L_8*(int32_t)((int32_t)256)));
int32_t L_9 = V_1;
ByteU5BU5D_t3397334013* L_10 = ___data0;
int32_t L_11 = V_2;
int32_t L_12 = ((int32_t)((int32_t)L_11+(int32_t)2));
uint8_t L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
V_1 = ((int32_t)((int32_t)L_9+(int32_t)L_13));
int32_t L_14 = V_2;
V_2 = ((int32_t)((int32_t)L_14+(int32_t)1));
}
IL_0045:
{
int32_t L_15 = V_2;
int32_t L_16 = V_0;
if ((((int32_t)L_15) < ((int32_t)L_16)))
{
goto IL_0031;
}
}
{
goto IL_0067;
}
IL_0051:
{
int32_t L_17 = V_1;
if ((!(((uint32_t)L_17) == ((uint32_t)((int32_t)128)))))
{
goto IL_0067;
}
}
{
NotSupportedException_t1793819818 * L_18 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m836173213(L_18, _stringLiteral344208947, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_18);
}
IL_0067:
{
int32_t L_19 = V_1;
__this->set_m_aValue_1(((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_19)));
ByteU5BU5D_t3397334013* L_20 = ___data0;
int32_t L_21 = V_0;
ByteU5BU5D_t3397334013* L_22 = __this->get_m_aValue_1();
int32_t L_23 = V_1;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_20, ((int32_t)((int32_t)2+(int32_t)L_21)), (Il2CppArray *)(Il2CppArray *)L_22, 0, L_23, /*hidden argument*/NULL);
uint8_t L_24 = __this->get_m_nTag_0();
if ((!(((uint32_t)((int32_t)((int32_t)L_24&(int32_t)((int32_t)32)))) == ((uint32_t)((int32_t)32)))))
{
goto IL_00a4;
}
}
{
int32_t L_25 = V_0;
V_3 = ((int32_t)((int32_t)2+(int32_t)L_25));
ByteU5BU5D_t3397334013* L_26 = ___data0;
ByteU5BU5D_t3397334013* L_27 = ___data0;
ASN1_Decode_m3985125917(__this, L_26, (&V_3), (((int32_t)((int32_t)(((Il2CppArray *)L_27)->max_length)))), /*hidden argument*/NULL);
}
IL_00a4:
{
return;
}
}
// System.Int32 Mono.Security.ASN1::get_Count()
extern "C" int32_t ASN1_get_Count_m404940548 (ASN1_t924533535 * __this, const MethodInfo* method)
{
{
ArrayList_t4252133567 * L_0 = __this->get_elist_2();
if (L_0)
{
goto IL_000d;
}
}
{
return 0;
}
IL_000d:
{
ArrayList_t4252133567 * L_1 = __this->get_elist_2();
int32_t L_2 = VirtFuncInvoker0< int32_t >::Invoke(23 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_1);
return L_2;
}
}
// System.Byte Mono.Security.ASN1::get_Tag()
extern "C" uint8_t ASN1_get_Tag_m1462340837 (ASN1_t924533535 * __this, const MethodInfo* method)
{
{
uint8_t L_0 = __this->get_m_nTag_0();
return L_0;
}
}
// System.Int32 Mono.Security.ASN1::get_Length()
extern "C" int32_t ASN1_get_Length_m3359111015 (ASN1_t924533535 * __this, const MethodInfo* method)
{
{
ByteU5BU5D_t3397334013* L_0 = __this->get_m_aValue_1();
if (!L_0)
{
goto IL_0014;
}
}
{
ByteU5BU5D_t3397334013* L_1 = __this->get_m_aValue_1();
return (((int32_t)((int32_t)(((Il2CppArray *)L_1)->max_length))));
}
IL_0014:
{
return 0;
}
}
// System.Byte[] Mono.Security.ASN1::get_Value()
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t ASN1_get_Value_m2669044878_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* ASN1_get_Value_m2669044878 (ASN1_t924533535 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ASN1_get_Value_m2669044878_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
ByteU5BU5D_t3397334013* L_0 = __this->get_m_aValue_1();
if (L_0)
{
goto IL_0012;
}
}
{
VirtFuncInvoker0< ByteU5BU5D_t3397334013* >::Invoke(4 /* System.Byte[] Mono.Security.ASN1::GetBytes() */, __this);
}
IL_0012:
{
ByteU5BU5D_t3397334013* L_1 = __this->get_m_aValue_1();
Il2CppObject * L_2 = Array_Clone_m768574314((Il2CppArray *)(Il2CppArray *)L_1, /*hidden argument*/NULL);
return ((ByteU5BU5D_t3397334013*)Castclass(L_2, ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var));
}
}
// System.Void Mono.Security.ASN1::set_Value(System.Byte[])
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t ASN1_set_Value_m3605233753_MetadataUsageId;
extern "C" void ASN1_set_Value_m3605233753 (ASN1_t924533535 * __this, ByteU5BU5D_t3397334013* ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ASN1_set_Value_m3605233753_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
ByteU5BU5D_t3397334013* L_0 = ___value0;
if (!L_0)
{
goto IL_0017;
}
}
{
ByteU5BU5D_t3397334013* L_1 = ___value0;
Il2CppObject * L_2 = Array_Clone_m768574314((Il2CppArray *)(Il2CppArray *)L_1, /*hidden argument*/NULL);
__this->set_m_aValue_1(((ByteU5BU5D_t3397334013*)Castclass(L_2, ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var)));
}
IL_0017:
{
return;
}
}
// System.Boolean Mono.Security.ASN1::CompareArray(System.Byte[],System.Byte[])
extern "C" bool ASN1_CompareArray_m820836892 (ASN1_t924533535 * __this, ByteU5BU5D_t3397334013* ___array10, ByteU5BU5D_t3397334013* ___array21, const MethodInfo* method)
{
bool V_0 = false;
int32_t V_1 = 0;
{
ByteU5BU5D_t3397334013* L_0 = ___array10;
ByteU5BU5D_t3397334013* L_1 = ___array21;
V_0 = (bool)((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_0)->max_length))))) == ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_1)->max_length))))))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0030;
}
}
{
V_1 = 0;
goto IL_0027;
}
IL_0016:
{
ByteU5BU5D_t3397334013* L_3 = ___array10;
int32_t L_4 = V_1;
int32_t L_5 = L_4;
uint8_t L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
ByteU5BU5D_t3397334013* L_7 = ___array21;
int32_t L_8 = V_1;
int32_t L_9 = L_8;
uint8_t L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
if ((((int32_t)L_6) == ((int32_t)L_10)))
{
goto IL_0023;
}
}
{
return (bool)0;
}
IL_0023:
{
int32_t L_11 = V_1;
V_1 = ((int32_t)((int32_t)L_11+(int32_t)1));
}
IL_0027:
{
int32_t L_12 = V_1;
ByteU5BU5D_t3397334013* L_13 = ___array10;
if ((((int32_t)L_12) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_13)->max_length)))))))
{
goto IL_0016;
}
}
IL_0030:
{
bool L_14 = V_0;
return L_14;
}
}
// System.Boolean Mono.Security.ASN1::CompareValue(System.Byte[])
extern "C" bool ASN1_CompareValue_m774699463 (ASN1_t924533535 * __this, ByteU5BU5D_t3397334013* ___value0, const MethodInfo* method)
{
{
ByteU5BU5D_t3397334013* L_0 = __this->get_m_aValue_1();
ByteU5BU5D_t3397334013* L_1 = ___value0;
bool L_2 = ASN1_CompareArray_m820836892(__this, L_0, L_1, /*hidden argument*/NULL);
return L_2;
}
}
// Mono.Security.ASN1 Mono.Security.ASN1::Add(Mono.Security.ASN1)
extern Il2CppClass* ArrayList_t4252133567_il2cpp_TypeInfo_var;
extern const uint32_t ASN1_Add_m2540239672_MetadataUsageId;
extern "C" ASN1_t924533535 * ASN1_Add_m2540239672 (ASN1_t924533535 * __this, ASN1_t924533535 * ___asn10, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ASN1_Add_m2540239672_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
ASN1_t924533535 * L_0 = ___asn10;
if (!L_0)
{
goto IL_0029;
}
}
{
ArrayList_t4252133567 * L_1 = __this->get_elist_2();
if (L_1)
{
goto IL_001c;
}
}
{
ArrayList_t4252133567 * L_2 = (ArrayList_t4252133567 *)il2cpp_codegen_object_new(ArrayList_t4252133567_il2cpp_TypeInfo_var);
ArrayList__ctor_m4012174379(L_2, /*hidden argument*/NULL);
__this->set_elist_2(L_2);
}
IL_001c:
{
ArrayList_t4252133567 * L_3 = __this->get_elist_2();
ASN1_t924533535 * L_4 = ___asn10;
VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_3, L_4);
}
IL_0029:
{
ASN1_t924533535 * L_5 = ___asn10;
return L_5;
}
}
// System.Byte[] Mono.Security.ASN1::GetBytes()
extern Il2CppClass* ArrayList_t4252133567_il2cpp_TypeInfo_var;
extern Il2CppClass* IEnumerator_t1466026749_il2cpp_TypeInfo_var;
extern Il2CppClass* ASN1_t924533535_il2cpp_TypeInfo_var;
extern Il2CppClass* IDisposable_t2427283555_il2cpp_TypeInfo_var;
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t ASN1_GetBytes_m3424795611_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* ASN1_GetBytes_m3424795611 (ASN1_t924533535 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ASN1_GetBytes_m3424795611_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ByteU5BU5D_t3397334013* V_0 = NULL;
int32_t V_1 = 0;
ArrayList_t4252133567 * V_2 = NULL;
ASN1_t924533535 * V_3 = NULL;
Il2CppObject * V_4 = NULL;
ByteU5BU5D_t3397334013* V_5 = NULL;
int32_t V_6 = 0;
int32_t V_7 = 0;
ByteU5BU5D_t3397334013* V_8 = NULL;
ByteU5BU5D_t3397334013* V_9 = NULL;
int32_t V_10 = 0;
int32_t V_11 = 0;
Il2CppObject * V_12 = 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 = (ByteU5BU5D_t3397334013*)NULL;
int32_t L_0 = ASN1_get_Count_m404940548(__this, /*hidden argument*/NULL);
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_00ca;
}
}
{
V_1 = 0;
ArrayList_t4252133567 * L_1 = (ArrayList_t4252133567 *)il2cpp_codegen_object_new(ArrayList_t4252133567_il2cpp_TypeInfo_var);
ArrayList__ctor_m4012174379(L_1, /*hidden argument*/NULL);
V_2 = L_1;
ArrayList_t4252133567 * L_2 = __this->get_elist_2();
Il2CppObject * L_3 = VirtFuncInvoker0< Il2CppObject * >::Invoke(43 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_2);
V_4 = L_3;
}
IL_0023:
try
{ // begin try (depth: 1)
{
goto IL_004d;
}
IL_0028:
{
Il2CppObject * L_4 = V_4;
Il2CppObject * L_5 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(0 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_4);
V_3 = ((ASN1_t924533535 *)CastclassClass(L_5, ASN1_t924533535_il2cpp_TypeInfo_var));
ASN1_t924533535 * L_6 = V_3;
ByteU5BU5D_t3397334013* L_7 = VirtFuncInvoker0< ByteU5BU5D_t3397334013* >::Invoke(4 /* System.Byte[] Mono.Security.ASN1::GetBytes() */, L_6);
V_5 = L_7;
ArrayList_t4252133567 * L_8 = V_2;
ByteU5BU5D_t3397334013* L_9 = V_5;
VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_8, (Il2CppObject *)(Il2CppObject *)L_9);
int32_t L_10 = V_1;
ByteU5BU5D_t3397334013* L_11 = V_5;
V_1 = ((int32_t)((int32_t)L_10+(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_11)->max_length))))));
}
IL_004d:
{
Il2CppObject * L_12 = V_4;
bool L_13 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_12);
if (L_13)
{
goto IL_0028;
}
}
IL_0059:
{
IL2CPP_LEAVE(0x74, FINALLY_005e);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_005e;
}
FINALLY_005e:
{ // begin finally (depth: 1)
{
Il2CppObject * L_14 = V_4;
V_12 = ((Il2CppObject *)IsInst(L_14, IDisposable_t2427283555_il2cpp_TypeInfo_var));
Il2CppObject * L_15 = V_12;
if (L_15)
{
goto IL_006c;
}
}
IL_006b:
{
IL2CPP_END_FINALLY(94)
}
IL_006c:
{
Il2CppObject * L_16 = V_12;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t2427283555_il2cpp_TypeInfo_var, L_16);
IL2CPP_END_FINALLY(94)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(94)
{
IL2CPP_JUMP_TBL(0x74, IL_0074)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_0074:
{
int32_t L_17 = V_1;
V_0 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_17));
V_6 = 0;
V_7 = 0;
goto IL_00b3;
}
IL_0086:
{
ArrayList_t4252133567 * L_18 = V_2;
int32_t L_19 = V_7;
Il2CppObject * L_20 = VirtFuncInvoker1< Il2CppObject *, int32_t >::Invoke(21 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_18, L_19);
V_8 = ((ByteU5BU5D_t3397334013*)Castclass(L_20, ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var));
ByteU5BU5D_t3397334013* L_21 = V_8;
ByteU5BU5D_t3397334013* L_22 = V_0;
int32_t L_23 = V_6;
ByteU5BU5D_t3397334013* L_24 = V_8;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_21, 0, (Il2CppArray *)(Il2CppArray *)L_22, L_23, (((int32_t)((int32_t)(((Il2CppArray *)L_24)->max_length)))), /*hidden argument*/NULL);
int32_t L_25 = V_6;
ByteU5BU5D_t3397334013* L_26 = V_8;
V_6 = ((int32_t)((int32_t)L_25+(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_26)->max_length))))));
int32_t L_27 = V_7;
V_7 = ((int32_t)((int32_t)L_27+(int32_t)1));
}
IL_00b3:
{
int32_t L_28 = V_7;
ArrayList_t4252133567 * L_29 = __this->get_elist_2();
int32_t L_30 = VirtFuncInvoker0< int32_t >::Invoke(23 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_29);
if ((((int32_t)L_28) < ((int32_t)L_30)))
{
goto IL_0086;
}
}
{
goto IL_00dc;
}
IL_00ca:
{
ByteU5BU5D_t3397334013* L_31 = __this->get_m_aValue_1();
if (!L_31)
{
goto IL_00dc;
}
}
{
ByteU5BU5D_t3397334013* L_32 = __this->get_m_aValue_1();
V_0 = L_32;
}
IL_00dc:
{
V_10 = 0;
ByteU5BU5D_t3397334013* L_33 = V_0;
if (!L_33)
{
goto IL_022a;
}
}
{
ByteU5BU5D_t3397334013* L_34 = V_0;
V_11 = (((int32_t)((int32_t)(((Il2CppArray *)L_34)->max_length))));
int32_t L_35 = V_11;
if ((((int32_t)L_35) <= ((int32_t)((int32_t)127))))
{
goto IL_01f8;
}
}
{
int32_t L_36 = V_11;
if ((((int32_t)L_36) > ((int32_t)((int32_t)255))))
{
goto IL_0129;
}
}
{
int32_t L_37 = V_11;
V_9 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)3+(int32_t)L_37))));
ByteU5BU5D_t3397334013* L_38 = V_0;
ByteU5BU5D_t3397334013* L_39 = V_9;
int32_t L_40 = V_11;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_38, 0, (Il2CppArray *)(Il2CppArray *)L_39, 3, L_40, /*hidden argument*/NULL);
V_10 = ((int32_t)129);
ByteU5BU5D_t3397334013* L_41 = V_9;
int32_t L_42 = V_11;
(L_41)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)(((int32_t)((uint8_t)L_42))));
goto IL_01f3;
}
IL_0129:
{
int32_t L_43 = V_11;
if ((((int32_t)L_43) > ((int32_t)((int32_t)65535))))
{
goto IL_0168;
}
}
{
int32_t L_44 = V_11;
V_9 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)4+(int32_t)L_44))));
ByteU5BU5D_t3397334013* L_45 = V_0;
ByteU5BU5D_t3397334013* L_46 = V_9;
int32_t L_47 = V_11;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_45, 0, (Il2CppArray *)(Il2CppArray *)L_46, 4, L_47, /*hidden argument*/NULL);
V_10 = ((int32_t)130);
ByteU5BU5D_t3397334013* L_48 = V_9;
int32_t L_49 = V_11;
(L_48)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_49>>(int32_t)8))))));
ByteU5BU5D_t3397334013* L_50 = V_9;
int32_t L_51 = V_11;
(L_50)->SetAt(static_cast<il2cpp_array_size_t>(3), (uint8_t)(((int32_t)((uint8_t)L_51))));
goto IL_01f3;
}
IL_0168:
{
int32_t L_52 = V_11;
if ((((int32_t)L_52) > ((int32_t)((int32_t)16777215))))
{
goto IL_01b1;
}
}
{
int32_t L_53 = V_11;
V_9 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)5+(int32_t)L_53))));
ByteU5BU5D_t3397334013* L_54 = V_0;
ByteU5BU5D_t3397334013* L_55 = V_9;
int32_t L_56 = V_11;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_54, 0, (Il2CppArray *)(Il2CppArray *)L_55, 5, L_56, /*hidden argument*/NULL);
V_10 = ((int32_t)131);
ByteU5BU5D_t3397334013* L_57 = V_9;
int32_t L_58 = V_11;
(L_57)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_58>>(int32_t)((int32_t)16)))))));
ByteU5BU5D_t3397334013* L_59 = V_9;
int32_t L_60 = V_11;
(L_59)->SetAt(static_cast<il2cpp_array_size_t>(3), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_60>>(int32_t)8))))));
ByteU5BU5D_t3397334013* L_61 = V_9;
int32_t L_62 = V_11;
(L_61)->SetAt(static_cast<il2cpp_array_size_t>(4), (uint8_t)(((int32_t)((uint8_t)L_62))));
goto IL_01f3;
}
IL_01b1:
{
int32_t L_63 = V_11;
V_9 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)6+(int32_t)L_63))));
ByteU5BU5D_t3397334013* L_64 = V_0;
ByteU5BU5D_t3397334013* L_65 = V_9;
int32_t L_66 = V_11;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_64, 0, (Il2CppArray *)(Il2CppArray *)L_65, 6, L_66, /*hidden argument*/NULL);
V_10 = ((int32_t)132);
ByteU5BU5D_t3397334013* L_67 = V_9;
int32_t L_68 = V_11;
(L_67)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_68>>(int32_t)((int32_t)24)))))));
ByteU5BU5D_t3397334013* L_69 = V_9;
int32_t L_70 = V_11;
(L_69)->SetAt(static_cast<il2cpp_array_size_t>(3), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_70>>(int32_t)((int32_t)16)))))));
ByteU5BU5D_t3397334013* L_71 = V_9;
int32_t L_72 = V_11;
(L_71)->SetAt(static_cast<il2cpp_array_size_t>(4), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_72>>(int32_t)8))))));
ByteU5BU5D_t3397334013* L_73 = V_9;
int32_t L_74 = V_11;
(L_73)->SetAt(static_cast<il2cpp_array_size_t>(5), (uint8_t)(((int32_t)((uint8_t)L_74))));
}
IL_01f3:
{
goto IL_0213;
}
IL_01f8:
{
int32_t L_75 = V_11;
V_9 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)2+(int32_t)L_75))));
ByteU5BU5D_t3397334013* L_76 = V_0;
ByteU5BU5D_t3397334013* L_77 = V_9;
int32_t L_78 = V_11;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_76, 0, (Il2CppArray *)(Il2CppArray *)L_77, 2, L_78, /*hidden argument*/NULL);
int32_t L_79 = V_11;
V_10 = L_79;
}
IL_0213:
{
ByteU5BU5D_t3397334013* L_80 = __this->get_m_aValue_1();
if (L_80)
{
goto IL_0225;
}
}
{
ByteU5BU5D_t3397334013* L_81 = V_0;
__this->set_m_aValue_1(L_81);
}
IL_0225:
{
goto IL_0232;
}
IL_022a:
{
V_9 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)2));
}
IL_0232:
{
ByteU5BU5D_t3397334013* L_82 = V_9;
uint8_t L_83 = __this->get_m_nTag_0();
(L_82)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)L_83);
ByteU5BU5D_t3397334013* L_84 = V_9;
int32_t L_85 = V_10;
(L_84)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)(((int32_t)((uint8_t)L_85))));
ByteU5BU5D_t3397334013* L_86 = V_9;
return L_86;
}
}
// System.Void Mono.Security.ASN1::Decode(System.Byte[],System.Int32&,System.Int32)
extern Il2CppClass* ASN1_t924533535_il2cpp_TypeInfo_var;
extern const uint32_t ASN1_Decode_m3985125917_MetadataUsageId;
extern "C" void ASN1_Decode_m3985125917 (ASN1_t924533535 * __this, ByteU5BU5D_t3397334013* ___asn10, int32_t* ___anPos1, int32_t ___anLength2, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ASN1_Decode_m3985125917_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
uint8_t V_0 = 0x0;
int32_t V_1 = 0;
ByteU5BU5D_t3397334013* V_2 = NULL;
ASN1_t924533535 * V_3 = NULL;
int32_t V_4 = 0;
{
goto IL_004e;
}
IL_0005:
{
ByteU5BU5D_t3397334013* L_0 = ___asn10;
int32_t* L_1 = ___anPos1;
ASN1_DecodeTLV_m3210347747(__this, L_0, L_1, (&V_0), (&V_1), (&V_2), /*hidden argument*/NULL);
uint8_t L_2 = V_0;
if (L_2)
{
goto IL_001e;
}
}
{
goto IL_004e;
}
IL_001e:
{
uint8_t L_3 = V_0;
ByteU5BU5D_t3397334013* L_4 = V_2;
ASN1_t924533535 * L_5 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3847124162(L_5, L_3, L_4, /*hidden argument*/NULL);
ASN1_t924533535 * L_6 = ASN1_Add_m2540239672(__this, L_5, /*hidden argument*/NULL);
V_3 = L_6;
uint8_t L_7 = V_0;
if ((!(((uint32_t)((int32_t)((int32_t)L_7&(int32_t)((int32_t)32)))) == ((uint32_t)((int32_t)32)))))
{
goto IL_0048;
}
}
{
int32_t* L_8 = ___anPos1;
V_4 = (*((int32_t*)L_8));
ASN1_t924533535 * L_9 = V_3;
ByteU5BU5D_t3397334013* L_10 = ___asn10;
int32_t L_11 = V_4;
int32_t L_12 = V_1;
ASN1_Decode_m3985125917(L_9, L_10, (&V_4), ((int32_t)((int32_t)L_11+(int32_t)L_12)), /*hidden argument*/NULL);
}
IL_0048:
{
int32_t* L_13 = ___anPos1;
int32_t* L_14 = ___anPos1;
int32_t L_15 = V_1;
*((int32_t*)(L_13)) = (int32_t)((int32_t)((int32_t)(*((int32_t*)L_14))+(int32_t)L_15));
}
IL_004e:
{
int32_t* L_16 = ___anPos1;
int32_t L_17 = ___anLength2;
if ((((int32_t)(*((int32_t*)L_16))) < ((int32_t)((int32_t)((int32_t)L_17-(int32_t)1)))))
{
goto IL_0005;
}
}
{
return;
}
}
// System.Void Mono.Security.ASN1::DecodeTLV(System.Byte[],System.Int32&,System.Byte&,System.Int32&,System.Byte[]&)
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t ASN1_DecodeTLV_m3210347747_MetadataUsageId;
extern "C" void ASN1_DecodeTLV_m3210347747 (ASN1_t924533535 * __this, ByteU5BU5D_t3397334013* ___asn10, int32_t* ___pos1, uint8_t* ___tag2, int32_t* ___length3, ByteU5BU5D_t3397334013** ___content4, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ASN1_DecodeTLV_m3210347747_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
{
uint8_t* L_0 = ___tag2;
ByteU5BU5D_t3397334013* L_1 = ___asn10;
int32_t* L_2 = ___pos1;
int32_t* L_3 = ___pos1;
int32_t L_4 = (*((int32_t*)L_3));
V_2 = L_4;
*((int32_t*)(L_2)) = (int32_t)((int32_t)((int32_t)L_4+(int32_t)1));
int32_t L_5 = V_2;
int32_t L_6 = L_5;
uint8_t L_7 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
*((int8_t*)(L_0)) = (int8_t)L_7;
int32_t* L_8 = ___length3;
ByteU5BU5D_t3397334013* L_9 = ___asn10;
int32_t* L_10 = ___pos1;
int32_t* L_11 = ___pos1;
int32_t L_12 = (*((int32_t*)L_11));
V_2 = L_12;
*((int32_t*)(L_10)) = (int32_t)((int32_t)((int32_t)L_12+(int32_t)1));
int32_t L_13 = V_2;
int32_t L_14 = L_13;
uint8_t L_15 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
*((int32_t*)(L_8)) = (int32_t)L_15;
int32_t* L_16 = ___length3;
if ((!(((uint32_t)((int32_t)((int32_t)(*((int32_t*)L_16))&(int32_t)((int32_t)128)))) == ((uint32_t)((int32_t)128)))))
{
goto IL_0063;
}
}
{
int32_t* L_17 = ___length3;
V_0 = ((int32_t)((int32_t)(*((int32_t*)L_17))&(int32_t)((int32_t)127)));
int32_t* L_18 = ___length3;
*((int32_t*)(L_18)) = (int32_t)0;
V_1 = 0;
goto IL_005c;
}
IL_0040:
{
int32_t* L_19 = ___length3;
int32_t* L_20 = ___length3;
ByteU5BU5D_t3397334013* L_21 = ___asn10;
int32_t* L_22 = ___pos1;
int32_t* L_23 = ___pos1;
int32_t L_24 = (*((int32_t*)L_23));
V_2 = L_24;
*((int32_t*)(L_22)) = (int32_t)((int32_t)((int32_t)L_24+(int32_t)1));
int32_t L_25 = V_2;
int32_t L_26 = L_25;
uint8_t L_27 = (L_21)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
*((int32_t*)(L_19)) = (int32_t)((int32_t)((int32_t)((int32_t)((int32_t)(*((int32_t*)L_20))*(int32_t)((int32_t)256)))+(int32_t)L_27));
int32_t L_28 = V_1;
V_1 = ((int32_t)((int32_t)L_28+(int32_t)1));
}
IL_005c:
{
int32_t L_29 = V_1;
int32_t L_30 = V_0;
if ((((int32_t)L_29) < ((int32_t)L_30)))
{
goto IL_0040;
}
}
IL_0063:
{
ByteU5BU5D_t3397334013** L_31 = ___content4;
int32_t* L_32 = ___length3;
*((Il2CppObject **)(L_31)) = (Il2CppObject *)((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)(*((int32_t*)L_32))));
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_31), (Il2CppObject *)((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)(*((int32_t*)L_32)))));
ByteU5BU5D_t3397334013* L_33 = ___asn10;
int32_t* L_34 = ___pos1;
ByteU5BU5D_t3397334013** L_35 = ___content4;
int32_t* L_36 = ___length3;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_33, (*((int32_t*)L_34)), (Il2CppArray *)(Il2CppArray *)(*((ByteU5BU5D_t3397334013**)L_35)), 0, (*((int32_t*)L_36)), /*hidden argument*/NULL);
return;
}
}
// Mono.Security.ASN1 Mono.Security.ASN1::get_Item(System.Int32)
extern Il2CppClass* ASN1_t924533535_il2cpp_TypeInfo_var;
extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var;
extern const uint32_t ASN1_get_Item_m1784978716_MetadataUsageId;
extern "C" ASN1_t924533535 * ASN1_get_Item_m1784978716 (ASN1_t924533535 * __this, int32_t ___index0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ASN1_get_Item_m1784978716_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ASN1_t924533535 * 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)
{
ArrayList_t4252133567 * L_0 = __this->get_elist_2();
if (!L_0)
{
goto IL_001c;
}
}
IL_000b:
{
int32_t L_1 = ___index0;
ArrayList_t4252133567 * L_2 = __this->get_elist_2();
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_001c:
{
V_0 = (ASN1_t924533535 *)NULL;
goto IL_004c;
}
IL_0023:
{
ArrayList_t4252133567 * L_4 = __this->get_elist_2();
int32_t L_5 = ___index0;
Il2CppObject * L_6 = VirtFuncInvoker1< Il2CppObject *, int32_t >::Invoke(21 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_4, L_5);
V_0 = ((ASN1_t924533535 *)CastclassClass(L_6, ASN1_t924533535_il2cpp_TypeInfo_var));
goto IL_004c;
}
IL_003a:
{
; // IL_003a: leave IL_004c
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t1927440687 *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var, e.ex->object.klass))
goto CATCH_003f;
throw e;
}
CATCH_003f:
{ // begin catch(System.ArgumentOutOfRangeException)
{
V_0 = (ASN1_t924533535 *)NULL;
goto IL_004c;
}
IL_0047:
{
; // IL_0047: leave IL_004c
}
} // end catch (depth: 1)
IL_004c:
{
ASN1_t924533535 * L_7 = V_0;
return L_7;
}
}
// Mono.Security.ASN1 Mono.Security.ASN1::Element(System.Int32,System.Byte)
extern Il2CppClass* ASN1_t924533535_il2cpp_TypeInfo_var;
extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var;
extern const uint32_t ASN1_Element_m2600236165_MetadataUsageId;
extern "C" ASN1_t924533535 * ASN1_Element_m2600236165 (ASN1_t924533535 * __this, int32_t ___index0, uint8_t ___anTag1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ASN1_Element_m2600236165_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ASN1_t924533535 * V_0 = NULL;
ASN1_t924533535 * 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);
IL_0000:
try
{ // begin try (depth: 1)
{
ArrayList_t4252133567 * L_0 = __this->get_elist_2();
if (!L_0)
{
goto IL_001c;
}
}
IL_000b:
{
int32_t L_1 = ___index0;
ArrayList_t4252133567 * L_2 = __this->get_elist_2();
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_001c:
{
V_1 = (ASN1_t924533535 *)NULL;
goto IL_0061;
}
IL_0023:
{
ArrayList_t4252133567 * L_4 = __this->get_elist_2();
int32_t L_5 = ___index0;
Il2CppObject * L_6 = VirtFuncInvoker1< Il2CppObject *, int32_t >::Invoke(21 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_4, L_5);
V_0 = ((ASN1_t924533535 *)CastclassClass(L_6, ASN1_t924533535_il2cpp_TypeInfo_var));
ASN1_t924533535 * L_7 = V_0;
uint8_t L_8 = ASN1_get_Tag_m1462340837(L_7, /*hidden argument*/NULL);
uint8_t L_9 = ___anTag1;
if ((!(((uint32_t)L_8) == ((uint32_t)L_9))))
{
goto IL_0048;
}
}
IL_0041:
{
ASN1_t924533535 * L_10 = V_0;
V_1 = L_10;
goto IL_0061;
}
IL_0048:
{
V_1 = (ASN1_t924533535 *)NULL;
goto IL_0061;
}
IL_004f:
{
; // IL_004f: leave IL_0061
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t1927440687 *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var, e.ex->object.klass))
goto CATCH_0054;
throw e;
}
CATCH_0054:
{ // begin catch(System.ArgumentOutOfRangeException)
{
V_1 = (ASN1_t924533535 *)NULL;
goto IL_0061;
}
IL_005c:
{
; // IL_005c: leave IL_0061
}
} // end catch (depth: 1)
IL_0061:
{
ASN1_t924533535 * L_11 = V_1;
return L_11;
}
}
// System.String Mono.Security.ASN1::ToString()
extern Il2CppClass* StringBuilder_t1221177846_il2cpp_TypeInfo_var;
extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var;
extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral4064076781;
extern Il2CppCodeGenString* _stringLiteral3231012752;
extern Il2CppCodeGenString* _stringLiteral944141263;
extern Il2CppCodeGenString* _stringLiteral1444762321;
extern Il2CppCodeGenString* _stringLiteral391833900;
extern const uint32_t ASN1_ToString_m1171941719_MetadataUsageId;
extern "C" String_t* ASN1_ToString_m1171941719 (ASN1_t924533535 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ASN1_ToString_m1171941719_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
StringBuilder_t1221177846 * V_0 = NULL;
int32_t V_1 = 0;
{
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;
StringBuilder_t1221177846 * L_1 = V_0;
uint8_t* L_2 = __this->get_address_of_m_nTag_0();
String_t* L_3 = Byte_ToString_m1309661918(L_2, _stringLiteral3231012752, /*hidden argument*/NULL);
String_t* L_4 = Environment_get_NewLine_m266316410(NULL /*static, unused*/, /*hidden argument*/NULL);
StringBuilder_AppendFormat_m759296786(L_1, _stringLiteral4064076781, L_3, L_4, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_5 = V_0;
ByteU5BU5D_t3397334013* L_6 = ASN1_get_Value_m2669044878(__this, /*hidden argument*/NULL);
int32_t L_7 = (((int32_t)((int32_t)(((Il2CppArray *)L_6)->max_length))));
Il2CppObject * L_8 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_7);
String_t* L_9 = Environment_get_NewLine_m266316410(NULL /*static, unused*/, /*hidden argument*/NULL);
StringBuilder_AppendFormat_m759296786(L_5, _stringLiteral944141263, L_8, L_9, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_10 = V_0;
StringBuilder_Append_m3636508479(L_10, _stringLiteral1444762321, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_11 = V_0;
String_t* L_12 = Environment_get_NewLine_m266316410(NULL /*static, unused*/, /*hidden argument*/NULL);
StringBuilder_Append_m3636508479(L_11, L_12, /*hidden argument*/NULL);
V_1 = 0;
goto IL_00a7;
}
IL_0064:
{
StringBuilder_t1221177846 * L_13 = V_0;
ByteU5BU5D_t3397334013* L_14 = ASN1_get_Value_m2669044878(__this, /*hidden argument*/NULL);
int32_t L_15 = V_1;
String_t* L_16 = Byte_ToString_m1309661918(((L_14)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_15))), _stringLiteral3231012752, /*hidden argument*/NULL);
StringBuilder_AppendFormat_m3265503696(L_13, _stringLiteral391833900, L_16, /*hidden argument*/NULL);
int32_t L_17 = V_1;
if (((int32_t)((int32_t)((int32_t)((int32_t)L_17+(int32_t)1))%(int32_t)((int32_t)16))))
{
goto IL_00a3;
}
}
{
StringBuilder_t1221177846 * L_18 = V_0;
String_t* L_19 = Environment_get_NewLine_m266316410(NULL /*static, unused*/, /*hidden argument*/NULL);
StringBuilder_AppendFormat_m1879616656(L_18, L_19, ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)0)), /*hidden argument*/NULL);
}
IL_00a3:
{
int32_t L_20 = V_1;
V_1 = ((int32_t)((int32_t)L_20+(int32_t)1));
}
IL_00a7:
{
int32_t L_21 = V_1;
ByteU5BU5D_t3397334013* L_22 = ASN1_get_Value_m2669044878(__this, /*hidden argument*/NULL);
if ((((int32_t)L_21) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_22)->max_length)))))))
{
goto IL_0064;
}
}
{
StringBuilder_t1221177846 * L_23 = V_0;
String_t* L_24 = StringBuilder_ToString_m1507807375(L_23, /*hidden argument*/NULL);
return L_24;
}
}
// Mono.Security.ASN1 Mono.Security.ASN1Convert::FromInt32(System.Int32)
extern Il2CppClass* ASN1_t924533535_il2cpp_TypeInfo_var;
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t ASN1Convert_FromInt32_m1541043489_MetadataUsageId;
extern "C" ASN1_t924533535 * ASN1Convert_FromInt32_m1541043489 (Il2CppObject * __this /* static, unused */, int32_t ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ASN1Convert_FromInt32_m1541043489_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ByteU5BU5D_t3397334013* V_0 = NULL;
int32_t V_1 = 0;
ASN1_t924533535 * V_2 = NULL;
ByteU5BU5D_t3397334013* V_3 = NULL;
int32_t V_4 = 0;
{
int32_t L_0 = ___value0;
ByteU5BU5D_t3397334013* L_1 = BitConverterLE_GetBytes_m10699861(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
V_0 = L_1;
ByteU5BU5D_t3397334013* L_2 = V_0;
Array_Reverse_m3883292526(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_2, /*hidden argument*/NULL);
V_1 = 0;
goto IL_0018;
}
IL_0014:
{
int32_t L_3 = V_1;
V_1 = ((int32_t)((int32_t)L_3+(int32_t)1));
}
IL_0018:
{
int32_t L_4 = V_1;
ByteU5BU5D_t3397334013* L_5 = V_0;
if ((((int32_t)L_4) >= ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_5)->max_length)))))))
{
goto IL_0029;
}
}
{
ByteU5BU5D_t3397334013* L_6 = V_0;
int32_t L_7 = V_1;
int32_t L_8 = L_7;
uint8_t L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
if (!L_9)
{
goto IL_0014;
}
}
IL_0029:
{
ASN1_t924533535 * L_10 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_10, 2, /*hidden argument*/NULL);
V_2 = L_10;
int32_t L_11 = V_1;
V_4 = L_11;
int32_t L_12 = V_4;
if (!L_12)
{
goto IL_0047;
}
}
{
int32_t L_13 = V_4;
if ((((int32_t)L_13) == ((int32_t)4)))
{
goto IL_0053;
}
}
{
goto IL_0064;
}
IL_0047:
{
ASN1_t924533535 * L_14 = V_2;
ByteU5BU5D_t3397334013* L_15 = V_0;
ASN1_set_Value_m3605233753(L_14, L_15, /*hidden argument*/NULL);
goto IL_0085;
}
IL_0053:
{
ASN1_t924533535 * L_16 = V_2;
ASN1_set_Value_m3605233753(L_16, ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)1)), /*hidden argument*/NULL);
goto IL_0085;
}
IL_0064:
{
int32_t L_17 = V_1;
V_3 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)4-(int32_t)L_17))));
ByteU5BU5D_t3397334013* L_18 = V_0;
int32_t L_19 = V_1;
ByteU5BU5D_t3397334013* L_20 = V_3;
ByteU5BU5D_t3397334013* L_21 = V_3;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_18, L_19, (Il2CppArray *)(Il2CppArray *)L_20, 0, (((int32_t)((int32_t)(((Il2CppArray *)L_21)->max_length)))), /*hidden argument*/NULL);
ASN1_t924533535 * L_22 = V_2;
ByteU5BU5D_t3397334013* L_23 = V_3;
ASN1_set_Value_m3605233753(L_22, L_23, /*hidden argument*/NULL);
goto IL_0085;
}
IL_0085:
{
ASN1_t924533535 * L_24 = V_2;
return L_24;
}
}
// Mono.Security.ASN1 Mono.Security.ASN1Convert::FromOid(System.String)
extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var;
extern Il2CppClass* CryptoConfig_t896479599_il2cpp_TypeInfo_var;
extern Il2CppClass* ASN1_t924533535_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral339799274;
extern const uint32_t ASN1Convert_FromOid_m3889963396_MetadataUsageId;
extern "C" ASN1_t924533535 * ASN1Convert_FromOid_m3889963396 (Il2CppObject * __this /* static, unused */, String_t* ___oid0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ASN1Convert_FromOid_m3889963396_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
String_t* L_0 = ___oid0;
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, _stringLiteral339799274, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1);
}
IL_0011:
{
String_t* L_2 = ___oid0;
IL2CPP_RUNTIME_CLASS_INIT(CryptoConfig_t896479599_il2cpp_TypeInfo_var);
ByteU5BU5D_t3397334013* L_3 = CryptoConfig_EncodeOID_m276236568(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
ASN1_t924533535 * L_4 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3359093803(L_4, L_3, /*hidden argument*/NULL);
return L_4;
}
}
// System.Int32 Mono.Security.ASN1Convert::ToInt32(Mono.Security.ASN1)
extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var;
extern Il2CppClass* FormatException_t2948921286_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral406162701;
extern Il2CppCodeGenString* _stringLiteral1796848059;
extern const uint32_t ASN1Convert_ToInt32_m2828871616_MetadataUsageId;
extern "C" int32_t ASN1Convert_ToInt32_m2828871616 (Il2CppObject * __this /* static, unused */, ASN1_t924533535 * ___asn10, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ASN1Convert_ToInt32_m2828871616_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
ASN1_t924533535 * L_0 = ___asn10;
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, _stringLiteral406162701, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1);
}
IL_0011:
{
ASN1_t924533535 * L_2 = ___asn10;
uint8_t L_3 = ASN1_get_Tag_m1462340837(L_2, /*hidden argument*/NULL);
if ((((int32_t)L_3) == ((int32_t)2)))
{
goto IL_0028;
}
}
{
FormatException_t2948921286 * L_4 = (FormatException_t2948921286 *)il2cpp_codegen_object_new(FormatException_t2948921286_il2cpp_TypeInfo_var);
FormatException__ctor_m1466217969(L_4, _stringLiteral1796848059, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4);
}
IL_0028:
{
V_0 = 0;
V_1 = 0;
goto IL_0042;
}
IL_0031:
{
int32_t L_5 = V_0;
ASN1_t924533535 * L_6 = ___asn10;
ByteU5BU5D_t3397334013* L_7 = ASN1_get_Value_m2669044878(L_6, /*hidden argument*/NULL);
int32_t L_8 = V_1;
int32_t L_9 = L_8;
uint8_t L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
V_0 = ((int32_t)((int32_t)((int32_t)((int32_t)L_5<<(int32_t)8))+(int32_t)L_10));
int32_t L_11 = V_1;
V_1 = ((int32_t)((int32_t)L_11+(int32_t)1));
}
IL_0042:
{
int32_t L_12 = V_1;
ASN1_t924533535 * L_13 = ___asn10;
ByteU5BU5D_t3397334013* L_14 = ASN1_get_Value_m2669044878(L_13, /*hidden argument*/NULL);
if ((((int32_t)L_12) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_14)->max_length)))))))
{
goto IL_0031;
}
}
{
int32_t L_15 = V_0;
return L_15;
}
}
// System.String Mono.Security.ASN1Convert::ToOid(Mono.Security.ASN1)
extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var;
extern Il2CppClass* StringBuilder_t1221177846_il2cpp_TypeInfo_var;
extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral406162701;
extern Il2CppCodeGenString* _stringLiteral372029316;
extern const uint32_t ASN1Convert_ToOid_m2695991795_MetadataUsageId;
extern "C" String_t* ASN1Convert_ToOid_m2695991795 (Il2CppObject * __this /* static, unused */, ASN1_t924533535 * ___asn10, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ASN1Convert_ToOid_m2695991795_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ByteU5BU5D_t3397334013* V_0 = NULL;
StringBuilder_t1221177846 * V_1 = NULL;
uint8_t V_2 = 0x0;
uint8_t V_3 = 0x0;
uint64_t V_4 = 0;
{
ASN1_t924533535 * L_0 = ___asn10;
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, _stringLiteral406162701, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1);
}
IL_0011:
{
ASN1_t924533535 * L_2 = ___asn10;
ByteU5BU5D_t3397334013* L_3 = ASN1_get_Value_m2669044878(L_2, /*hidden argument*/NULL);
V_0 = L_3;
StringBuilder_t1221177846 * L_4 = (StringBuilder_t1221177846 *)il2cpp_codegen_object_new(StringBuilder_t1221177846_il2cpp_TypeInfo_var);
StringBuilder__ctor_m3946851802(L_4, /*hidden argument*/NULL);
V_1 = L_4;
ByteU5BU5D_t3397334013* L_5 = V_0;
int32_t L_6 = 0;
uint8_t L_7 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
V_2 = (((int32_t)((uint8_t)((int32_t)((int32_t)L_7/(int32_t)((int32_t)40))))));
ByteU5BU5D_t3397334013* L_8 = V_0;
int32_t L_9 = 0;
uint8_t L_10 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
V_3 = (((int32_t)((uint8_t)((int32_t)((int32_t)L_10%(int32_t)((int32_t)40))))));
uint8_t L_11 = V_2;
if ((((int32_t)L_11) <= ((int32_t)2)))
{
goto IL_0042;
}
}
{
uint8_t L_12 = V_3;
uint8_t L_13 = V_2;
V_3 = (((int32_t)((uint8_t)((int32_t)((int32_t)L_12+(int32_t)(((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)((int32_t)L_13-(int32_t)2))*(int32_t)((int32_t)40)))))))))));
V_2 = 2;
}
IL_0042:
{
StringBuilder_t1221177846 * L_14 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var);
CultureInfo_t3500843524 * L_15 = CultureInfo_get_InvariantCulture_m398972276(NULL /*static, unused*/, /*hidden argument*/NULL);
String_t* L_16 = Byte_ToString_m3547765450((&V_2), L_15, /*hidden argument*/NULL);
StringBuilder_Append_m3636508479(L_14, L_16, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_17 = V_1;
StringBuilder_Append_m3636508479(L_17, _stringLiteral372029316, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_18 = V_1;
CultureInfo_t3500843524 * L_19 = CultureInfo_get_InvariantCulture_m398972276(NULL /*static, unused*/, /*hidden argument*/NULL);
String_t* L_20 = Byte_ToString_m3547765450((&V_3), L_19, /*hidden argument*/NULL);
StringBuilder_Append_m3636508479(L_18, L_20, /*hidden argument*/NULL);
V_4 = (((int64_t)((int64_t)0)));
V_2 = 1;
goto IL_00c9;
}
IL_007f:
{
uint64_t L_21 = V_4;
ByteU5BU5D_t3397334013* L_22 = V_0;
uint8_t L_23 = V_2;
uint8_t L_24 = L_23;
uint8_t L_25 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
V_4 = ((int64_t)((int64_t)((int64_t)((int64_t)L_21<<(int32_t)7))|(int64_t)(((int64_t)((uint64_t)(((uint32_t)((uint32_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_25&(int32_t)((int32_t)127))))))))))))));
ByteU5BU5D_t3397334013* L_26 = V_0;
uint8_t L_27 = V_2;
uint8_t L_28 = L_27;
uint8_t L_29 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
if ((((int32_t)((int32_t)((int32_t)L_29&(int32_t)((int32_t)128)))) == ((int32_t)((int32_t)128))))
{
goto IL_00c4;
}
}
{
StringBuilder_t1221177846 * L_30 = V_1;
StringBuilder_Append_m3636508479(L_30, _stringLiteral372029316, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_31 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var);
CultureInfo_t3500843524 * L_32 = CultureInfo_get_InvariantCulture_m398972276(NULL /*static, unused*/, /*hidden argument*/NULL);
String_t* L_33 = UInt64_ToString_m2892887310((&V_4), L_32, /*hidden argument*/NULL);
StringBuilder_Append_m3636508479(L_31, L_33, /*hidden argument*/NULL);
V_4 = (((int64_t)((int64_t)0)));
}
IL_00c4:
{
uint8_t L_34 = V_2;
V_2 = (((int32_t)((uint8_t)((int32_t)((int32_t)L_34+(int32_t)1)))));
}
IL_00c9:
{
uint8_t L_35 = V_2;
ByteU5BU5D_t3397334013* L_36 = V_0;
if ((((int32_t)L_35) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_36)->max_length)))))))
{
goto IL_007f;
}
}
{
StringBuilder_t1221177846 * L_37 = V_1;
String_t* L_38 = StringBuilder_ToString_m1507807375(L_37, /*hidden argument*/NULL);
return L_38;
}
}
// System.DateTime Mono.Security.ASN1Convert::ToDateTime(Mono.Security.ASN1)
extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var;
extern Il2CppClass* Encoding_t663144255_il2cpp_TypeInfo_var;
extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var;
extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var;
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var;
extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var;
extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral3457519049;
extern Il2CppCodeGenString* _stringLiteral2971002714;
extern Il2CppCodeGenString* _stringLiteral2471497760;
extern Il2CppCodeGenString* _stringLiteral98844768;
extern Il2CppCodeGenString* _stringLiteral3776705602;
extern Il2CppCodeGenString* _stringLiteral2436348051;
extern Il2CppCodeGenString* _stringLiteral3733646330;
extern const uint32_t ASN1Convert_ToDateTime_m2613700036_MetadataUsageId;
extern "C" DateTime_t693205669 ASN1Convert_ToDateTime_m2613700036 (Il2CppObject * __this /* static, unused */, ASN1_t924533535 * ___time0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ASN1Convert_ToDateTime_m2613700036_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
String_t* V_0 = NULL;
String_t* V_1 = NULL;
int32_t V_2 = 0;
String_t* V_3 = NULL;
Il2CppChar V_4 = 0x0;
int32_t V_5 = 0;
String_t* G_B13_0 = NULL;
int32_t G_B16_0 = 0;
{
ASN1_t924533535 * L_0 = ___time0;
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, _stringLiteral3457519049, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1);
}
IL_0011:
{
IL2CPP_RUNTIME_CLASS_INIT(Encoding_t663144255_il2cpp_TypeInfo_var);
Encoding_t663144255 * L_2 = Encoding_get_ASCII_m2727409419(NULL /*static, unused*/, /*hidden argument*/NULL);
ASN1_t924533535 * L_3 = ___time0;
ByteU5BU5D_t3397334013* L_4 = ASN1_get_Value_m2669044878(L_3, /*hidden argument*/NULL);
String_t* L_5 = VirtFuncInvoker1< String_t*, ByteU5BU5D_t3397334013* >::Invoke(22 /* System.String System.Text.Encoding::GetString(System.Byte[]) */, L_2, L_4);
V_0 = L_5;
V_1 = (String_t*)NULL;
String_t* L_6 = V_0;
int32_t L_7 = String_get_Length_m1606060069(L_6, /*hidden argument*/NULL);
V_5 = L_7;
int32_t L_8 = V_5;
if (((int32_t)((int32_t)L_8-(int32_t)((int32_t)11))) == 0)
{
goto IL_0057;
}
if (((int32_t)((int32_t)L_8-(int32_t)((int32_t)11))) == 1)
{
goto IL_016b;
}
if (((int32_t)((int32_t)L_8-(int32_t)((int32_t)11))) == 2)
{
goto IL_0062;
}
if (((int32_t)((int32_t)L_8-(int32_t)((int32_t)11))) == 3)
{
goto IL_016b;
}
if (((int32_t)((int32_t)L_8-(int32_t)((int32_t)11))) == 4)
{
goto IL_00a5;
}
if (((int32_t)((int32_t)L_8-(int32_t)((int32_t)11))) == 5)
{
goto IL_016b;
}
if (((int32_t)((int32_t)L_8-(int32_t)((int32_t)11))) == 6)
{
goto IL_00b0;
}
}
{
goto IL_016b;
}
IL_0057:
{
V_1 = _stringLiteral2971002714;
goto IL_016b;
}
IL_0062:
{
String_t* L_9 = V_0;
String_t* L_10 = String_Substring_m12482732(L_9, 0, 2, /*hidden argument*/NULL);
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(Convert_t2607082565_il2cpp_TypeInfo_var);
int16_t L_12 = Convert_ToInt16_m3462984061(NULL /*static, unused*/, L_10, L_11, /*hidden argument*/NULL);
V_2 = L_12;
int32_t L_13 = V_2;
if ((((int32_t)L_13) < ((int32_t)((int32_t)50))))
{
goto IL_008e;
}
}
{
String_t* L_14 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_15 = String_Concat_m2596409543(NULL /*static, unused*/, _stringLiteral2471497760, L_14, /*hidden argument*/NULL);
V_0 = L_15;
goto IL_009a;
}
IL_008e:
{
String_t* L_16 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_17 = String_Concat_m2596409543(NULL /*static, unused*/, _stringLiteral98844768, L_16, /*hidden argument*/NULL);
V_0 = L_17;
}
IL_009a:
{
V_1 = _stringLiteral3776705602;
goto IL_016b;
}
IL_00a5:
{
V_1 = _stringLiteral3776705602;
goto IL_016b;
}
IL_00b0:
{
String_t* L_18 = V_0;
String_t* L_19 = String_Substring_m12482732(L_18, 0, 2, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var);
CultureInfo_t3500843524 * L_20 = CultureInfo_get_InvariantCulture_m398972276(NULL /*static, unused*/, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var);
int16_t L_21 = Convert_ToInt16_m3462984061(NULL /*static, unused*/, L_19, L_20, /*hidden argument*/NULL);
V_2 = L_21;
int32_t L_22 = V_2;
if ((((int32_t)L_22) < ((int32_t)((int32_t)50))))
{
goto IL_00d5;
}
}
{
G_B13_0 = _stringLiteral2471497760;
goto IL_00da;
}
IL_00d5:
{
G_B13_0 = _stringLiteral98844768;
}
IL_00da:
{
V_3 = G_B13_0;
String_t* L_23 = V_0;
Il2CppChar L_24 = String_get_Chars_m4230566705(L_23, ((int32_t)12), /*hidden argument*/NULL);
if ((!(((uint32_t)L_24) == ((uint32_t)((int32_t)43)))))
{
goto IL_00f1;
}
}
{
G_B16_0 = ((int32_t)45);
goto IL_00f3;
}
IL_00f1:
{
G_B16_0 = ((int32_t)43);
}
IL_00f3:
{
V_4 = G_B16_0;
ObjectU5BU5D_t3614634134* L_25 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)7));
String_t* L_26 = V_3;
ArrayElementTypeCheck (L_25, L_26);
(L_25)->SetAt(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)L_26);
ObjectU5BU5D_t3614634134* L_27 = L_25;
String_t* L_28 = V_0;
String_t* L_29 = String_Substring_m12482732(L_28, 0, ((int32_t)12), /*hidden argument*/NULL);
ArrayElementTypeCheck (L_27, L_29);
(L_27)->SetAt(static_cast<il2cpp_array_size_t>(1), (Il2CppObject *)L_29);
ObjectU5BU5D_t3614634134* L_30 = L_27;
Il2CppChar L_31 = V_4;
Il2CppChar L_32 = L_31;
Il2CppObject * L_33 = Box(Char_t3454481338_il2cpp_TypeInfo_var, &L_32);
ArrayElementTypeCheck (L_30, L_33);
(L_30)->SetAt(static_cast<il2cpp_array_size_t>(2), (Il2CppObject *)L_33);
ObjectU5BU5D_t3614634134* L_34 = L_30;
String_t* L_35 = V_0;
Il2CppChar L_36 = String_get_Chars_m4230566705(L_35, ((int32_t)13), /*hidden argument*/NULL);
Il2CppChar L_37 = L_36;
Il2CppObject * L_38 = Box(Char_t3454481338_il2cpp_TypeInfo_var, &L_37);
ArrayElementTypeCheck (L_34, L_38);
(L_34)->SetAt(static_cast<il2cpp_array_size_t>(3), (Il2CppObject *)L_38);
ObjectU5BU5D_t3614634134* L_39 = L_34;
String_t* L_40 = V_0;
Il2CppChar L_41 = String_get_Chars_m4230566705(L_40, ((int32_t)14), /*hidden argument*/NULL);
Il2CppChar L_42 = L_41;
Il2CppObject * L_43 = Box(Char_t3454481338_il2cpp_TypeInfo_var, &L_42);
ArrayElementTypeCheck (L_39, L_43);
(L_39)->SetAt(static_cast<il2cpp_array_size_t>(4), (Il2CppObject *)L_43);
ObjectU5BU5D_t3614634134* L_44 = L_39;
String_t* L_45 = V_0;
Il2CppChar L_46 = String_get_Chars_m4230566705(L_45, ((int32_t)15), /*hidden argument*/NULL);
Il2CppChar L_47 = L_46;
Il2CppObject * L_48 = Box(Char_t3454481338_il2cpp_TypeInfo_var, &L_47);
ArrayElementTypeCheck (L_44, L_48);
(L_44)->SetAt(static_cast<il2cpp_array_size_t>(5), (Il2CppObject *)L_48);
ObjectU5BU5D_t3614634134* L_49 = L_44;
String_t* L_50 = V_0;
Il2CppChar L_51 = String_get_Chars_m4230566705(L_50, ((int32_t)16), /*hidden argument*/NULL);
Il2CppChar L_52 = L_51;
Il2CppObject * L_53 = Box(Char_t3454481338_il2cpp_TypeInfo_var, &L_52);
ArrayElementTypeCheck (L_49, L_53);
(L_49)->SetAt(static_cast<il2cpp_array_size_t>(6), (Il2CppObject *)L_53);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_54 = String_Format_m1263743648(NULL /*static, unused*/, _stringLiteral2436348051, L_49, /*hidden argument*/NULL);
V_0 = L_54;
V_1 = _stringLiteral3733646330;
goto IL_016b;
}
IL_016b:
{
String_t* L_55 = V_0;
String_t* L_56 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var);
CultureInfo_t3500843524 * L_57 = CultureInfo_get_InvariantCulture_m398972276(NULL /*static, unused*/, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var);
DateTime_t693205669 L_58 = DateTime_ParseExact_m1833429974(NULL /*static, unused*/, L_55, L_56, L_57, ((int32_t)16), /*hidden argument*/NULL);
return L_58;
}
}
// System.Byte[] Mono.Security.BitConverterLE::GetUIntBytes(System.Byte*)
extern Il2CppClass* BitConverter_t3195628829_il2cpp_TypeInfo_var;
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t BitConverterLE_GetUIntBytes_m3774691861_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* BitConverterLE_GetUIntBytes_m3774691861 (Il2CppObject * __this /* static, unused */, uint8_t* ___bytes0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BitConverterLE_GetUIntBytes_m3774691861_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(BitConverter_t3195628829_il2cpp_TypeInfo_var);
bool L_0 = ((BitConverter_t3195628829_StaticFields*)BitConverter_t3195628829_il2cpp_TypeInfo_var->static_fields)->get_IsLittleEndian_1();
if (!L_0)
{
goto IL_002b;
}
}
{
ByteU5BU5D_t3397334013* L_1 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)4));
uint8_t* L_2 = ___bytes0;
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)(*((uint8_t*)L_2)));
ByteU5BU5D_t3397334013* L_3 = L_1;
uint8_t* L_4 = ___bytes0;
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_4+(int32_t)1)))));
ByteU5BU5D_t3397334013* L_5 = L_3;
uint8_t* L_6 = ___bytes0;
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_6+(int32_t)2)))));
ByteU5BU5D_t3397334013* L_7 = L_5;
uint8_t* L_8 = ___bytes0;
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(3), (uint8_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_8+(int32_t)3)))));
return L_7;
}
IL_002b:
{
ByteU5BU5D_t3397334013* L_9 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)4));
uint8_t* L_10 = ___bytes0;
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_10+(int32_t)3)))));
ByteU5BU5D_t3397334013* L_11 = L_9;
uint8_t* L_12 = ___bytes0;
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_12+(int32_t)2)))));
ByteU5BU5D_t3397334013* L_13 = L_11;
uint8_t* L_14 = ___bytes0;
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)(*((uint8_t*)((uint8_t*)((intptr_t)L_14+(int32_t)1)))));
ByteU5BU5D_t3397334013* L_15 = L_13;
uint8_t* L_16 = ___bytes0;
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(3), (uint8_t)(*((uint8_t*)L_16)));
return L_15;
}
}
// System.Byte[] Mono.Security.BitConverterLE::GetBytes(System.Int32)
extern "C" ByteU5BU5D_t3397334013* BitConverterLE_GetBytes_m10699861 (Il2CppObject * __this /* static, unused */, int32_t ___value0, const MethodInfo* method)
{
{
ByteU5BU5D_t3397334013* L_0 = BitConverterLE_GetUIntBytes_m3774691861(NULL /*static, unused*/, (uint8_t*)(uint8_t*)(&___value0), /*hidden argument*/NULL);
return L_0;
}
}
// System.Void Mono.Security.BitConverterLE::UShortFromBytes(System.Byte*,System.Byte[],System.Int32)
extern Il2CppClass* BitConverter_t3195628829_il2cpp_TypeInfo_var;
extern const uint32_t BitConverterLE_UShortFromBytes_m2795078058_MetadataUsageId;
extern "C" void BitConverterLE_UShortFromBytes_m2795078058 (Il2CppObject * __this /* static, unused */, uint8_t* ___dst0, ByteU5BU5D_t3397334013* ___src1, int32_t ___startIndex2, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BitConverterLE_UShortFromBytes_m2795078058_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(BitConverter_t3195628829_il2cpp_TypeInfo_var);
bool L_0 = ((BitConverter_t3195628829_StaticFields*)BitConverter_t3195628829_il2cpp_TypeInfo_var->static_fields)->get_IsLittleEndian_1();
if (!L_0)
{
goto IL_001d;
}
}
{
uint8_t* L_1 = ___dst0;
ByteU5BU5D_t3397334013* L_2 = ___src1;
int32_t L_3 = ___startIndex2;
int32_t L_4 = L_3;
uint8_t L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
*((int8_t*)(L_1)) = (int8_t)L_5;
uint8_t* L_6 = ___dst0;
ByteU5BU5D_t3397334013* L_7 = ___src1;
int32_t L_8 = ___startIndex2;
int32_t L_9 = ((int32_t)((int32_t)L_8+(int32_t)1));
uint8_t L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
*((int8_t*)(((uint8_t*)((intptr_t)L_6+(int32_t)1)))) = (int8_t)L_10;
goto IL_002b;
}
IL_001d:
{
uint8_t* L_11 = ___dst0;
ByteU5BU5D_t3397334013* L_12 = ___src1;
int32_t L_13 = ___startIndex2;
int32_t L_14 = ((int32_t)((int32_t)L_13+(int32_t)1));
uint8_t L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
*((int8_t*)(L_11)) = (int8_t)L_15;
uint8_t* L_16 = ___dst0;
ByteU5BU5D_t3397334013* L_17 = ___src1;
int32_t L_18 = ___startIndex2;
int32_t L_19 = L_18;
uint8_t L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
*((int8_t*)(((uint8_t*)((intptr_t)L_16+(int32_t)1)))) = (int8_t)L_20;
}
IL_002b:
{
return;
}
}
// System.Void Mono.Security.BitConverterLE::UIntFromBytes(System.Byte*,System.Byte[],System.Int32)
extern Il2CppClass* BitConverter_t3195628829_il2cpp_TypeInfo_var;
extern const uint32_t BitConverterLE_UIntFromBytes_m1379314819_MetadataUsageId;
extern "C" void BitConverterLE_UIntFromBytes_m1379314819 (Il2CppObject * __this /* static, unused */, uint8_t* ___dst0, ByteU5BU5D_t3397334013* ___src1, int32_t ___startIndex2, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BitConverterLE_UIntFromBytes_m1379314819_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(BitConverter_t3195628829_il2cpp_TypeInfo_var);
bool L_0 = ((BitConverter_t3195628829_StaticFields*)BitConverter_t3195628829_il2cpp_TypeInfo_var->static_fields)->get_IsLittleEndian_1();
if (!L_0)
{
goto IL_002f;
}
}
{
uint8_t* L_1 = ___dst0;
ByteU5BU5D_t3397334013* L_2 = ___src1;
int32_t L_3 = ___startIndex2;
int32_t L_4 = L_3;
uint8_t L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
*((int8_t*)(L_1)) = (int8_t)L_5;
uint8_t* L_6 = ___dst0;
ByteU5BU5D_t3397334013* L_7 = ___src1;
int32_t L_8 = ___startIndex2;
int32_t L_9 = ((int32_t)((int32_t)L_8+(int32_t)1));
uint8_t L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
*((int8_t*)(((uint8_t*)((intptr_t)L_6+(int32_t)1)))) = (int8_t)L_10;
uint8_t* L_11 = ___dst0;
ByteU5BU5D_t3397334013* L_12 = ___src1;
int32_t L_13 = ___startIndex2;
int32_t L_14 = ((int32_t)((int32_t)L_13+(int32_t)2));
uint8_t L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
*((int8_t*)(((uint8_t*)((intptr_t)L_11+(int32_t)2)))) = (int8_t)L_15;
uint8_t* L_16 = ___dst0;
ByteU5BU5D_t3397334013* L_17 = ___src1;
int32_t L_18 = ___startIndex2;
int32_t L_19 = ((int32_t)((int32_t)L_18+(int32_t)3));
uint8_t L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
*((int8_t*)(((uint8_t*)((intptr_t)L_16+(int32_t)3)))) = (int8_t)L_20;
goto IL_004f;
}
IL_002f:
{
uint8_t* L_21 = ___dst0;
ByteU5BU5D_t3397334013* L_22 = ___src1;
int32_t L_23 = ___startIndex2;
int32_t L_24 = ((int32_t)((int32_t)L_23+(int32_t)3));
uint8_t L_25 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
*((int8_t*)(L_21)) = (int8_t)L_25;
uint8_t* L_26 = ___dst0;
ByteU5BU5D_t3397334013* L_27 = ___src1;
int32_t L_28 = ___startIndex2;
int32_t L_29 = ((int32_t)((int32_t)L_28+(int32_t)2));
uint8_t L_30 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
*((int8_t*)(((uint8_t*)((intptr_t)L_26+(int32_t)1)))) = (int8_t)L_30;
uint8_t* L_31 = ___dst0;
ByteU5BU5D_t3397334013* L_32 = ___src1;
int32_t L_33 = ___startIndex2;
int32_t L_34 = ((int32_t)((int32_t)L_33+(int32_t)1));
uint8_t L_35 = (L_32)->GetAt(static_cast<il2cpp_array_size_t>(L_34));
*((int8_t*)(((uint8_t*)((intptr_t)L_31+(int32_t)2)))) = (int8_t)L_35;
uint8_t* L_36 = ___dst0;
ByteU5BU5D_t3397334013* L_37 = ___src1;
int32_t L_38 = ___startIndex2;
int32_t L_39 = L_38;
uint8_t L_40 = (L_37)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
*((int8_t*)(((uint8_t*)((intptr_t)L_36+(int32_t)3)))) = (int8_t)L_40;
}
IL_004f:
{
return;
}
}
// System.Void Mono.Security.BitConverterLE::ULongFromBytes(System.Byte*,System.Byte[],System.Int32)
extern Il2CppClass* BitConverter_t3195628829_il2cpp_TypeInfo_var;
extern const uint32_t BitConverterLE_ULongFromBytes_m2583105400_MetadataUsageId;
extern "C" void BitConverterLE_ULongFromBytes_m2583105400 (Il2CppObject * __this /* static, unused */, uint8_t* ___dst0, ByteU5BU5D_t3397334013* ___src1, int32_t ___startIndex2, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BitConverterLE_ULongFromBytes_m2583105400_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
IL2CPP_RUNTIME_CLASS_INIT(BitConverter_t3195628829_il2cpp_TypeInfo_var);
bool L_0 = ((BitConverter_t3195628829_StaticFields*)BitConverter_t3195628829_il2cpp_TypeInfo_var->static_fields)->get_IsLittleEndian_1();
if (!L_0)
{
goto IL_002a;
}
}
{
V_0 = 0;
goto IL_001e;
}
IL_0011:
{
uint8_t* L_1 = ___dst0;
int32_t L_2 = V_0;
ByteU5BU5D_t3397334013* L_3 = ___src1;
int32_t L_4 = ___startIndex2;
int32_t L_5 = V_0;
int32_t L_6 = ((int32_t)((int32_t)L_4+(int32_t)L_5));
uint8_t L_7 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
*((int8_t*)(((uint8_t*)((intptr_t)L_1+(int32_t)L_2)))) = (int8_t)L_7;
int32_t L_8 = V_0;
V_0 = ((int32_t)((int32_t)L_8+(int32_t)1));
}
IL_001e:
{
int32_t L_9 = V_0;
if ((((int32_t)L_9) < ((int32_t)8)))
{
goto IL_0011;
}
}
{
goto IL_0047;
}
IL_002a:
{
V_1 = 0;
goto IL_0040;
}
IL_0031:
{
uint8_t* L_10 = ___dst0;
int32_t L_11 = V_1;
ByteU5BU5D_t3397334013* L_12 = ___src1;
int32_t L_13 = ___startIndex2;
int32_t L_14 = V_1;
int32_t L_15 = ((int32_t)((int32_t)L_13+(int32_t)((int32_t)((int32_t)7-(int32_t)L_14))));
uint8_t L_16 = (L_12)->GetAt(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_1;
V_1 = ((int32_t)((int32_t)L_17+(int32_t)1));
}
IL_0040:
{
int32_t L_18 = V_1;
if ((((int32_t)L_18) < ((int32_t)8)))
{
goto IL_0031;
}
}
IL_0047:
{
return;
}
}
// System.Int16 Mono.Security.BitConverterLE::ToInt16(System.Byte[],System.Int32)
extern "C" int16_t BitConverterLE_ToInt16_m1072210656 (Il2CppObject * __this /* static, unused */, ByteU5BU5D_t3397334013* ___value0, int32_t ___startIndex1, const MethodInfo* method)
{
int16_t V_0 = 0;
{
ByteU5BU5D_t3397334013* L_0 = ___value0;
int32_t L_1 = ___startIndex1;
BitConverterLE_UShortFromBytes_m2795078058(NULL /*static, unused*/, (uint8_t*)(uint8_t*)(&V_0), L_0, L_1, /*hidden argument*/NULL);
int16_t L_2 = V_0;
return L_2;
}
}
// System.Int32 Mono.Security.BitConverterLE::ToInt32(System.Byte[],System.Int32)
extern "C" int32_t BitConverterLE_ToInt32_m2896100640 (Il2CppObject * __this /* static, unused */, ByteU5BU5D_t3397334013* ___value0, int32_t ___startIndex1, const MethodInfo* method)
{
int32_t V_0 = 0;
{
ByteU5BU5D_t3397334013* L_0 = ___value0;
int32_t L_1 = ___startIndex1;
BitConverterLE_UIntFromBytes_m1379314819(NULL /*static, unused*/, (uint8_t*)(uint8_t*)(&V_0), L_0, L_1, /*hidden argument*/NULL);
int32_t L_2 = V_0;
return L_2;
}
}
// System.Single Mono.Security.BitConverterLE::ToSingle(System.Byte[],System.Int32)
extern "C" float BitConverterLE_ToSingle_m1734213640 (Il2CppObject * __this /* static, unused */, ByteU5BU5D_t3397334013* ___value0, int32_t ___startIndex1, const MethodInfo* method)
{
float V_0 = 0.0f;
{
ByteU5BU5D_t3397334013* L_0 = ___value0;
int32_t L_1 = ___startIndex1;
BitConverterLE_UIntFromBytes_m1379314819(NULL /*static, unused*/, (uint8_t*)(uint8_t*)(&V_0), L_0, L_1, /*hidden argument*/NULL);
float L_2 = V_0;
return L_2;
}
}
// System.Double Mono.Security.BitConverterLE::ToDouble(System.Byte[],System.Int32)
extern "C" double BitConverterLE_ToDouble_m516016818 (Il2CppObject * __this /* static, unused */, ByteU5BU5D_t3397334013* ___value0, int32_t ___startIndex1, const MethodInfo* method)
{
double V_0 = 0.0;
{
ByteU5BU5D_t3397334013* L_0 = ___value0;
int32_t L_1 = ___startIndex1;
BitConverterLE_ULongFromBytes_m2583105400(NULL /*static, unused*/, (uint8_t*)(uint8_t*)(&V_0), L_0, L_1, /*hidden argument*/NULL);
double L_2 = V_0;
return L_2;
}
}
// System.Void Mono.Security.Cryptography.BlockProcessor::.ctor(System.Security.Cryptography.ICryptoTransform,System.Int32)
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t BlockProcessor__ctor_m1457080072_MetadataUsageId;
extern "C" void BlockProcessor__ctor_m1457080072 (BlockProcessor_t3158419191 * __this, Il2CppObject * ___transform0, int32_t ___blockSize1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BlockProcessor__ctor_m1457080072_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
Il2CppObject * L_0 = ___transform0;
__this->set_transform_0(L_0);
int32_t L_1 = ___blockSize1;
__this->set_blockSize_2(L_1);
int32_t L_2 = ___blockSize1;
__this->set_block_1(((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_2)));
return;
}
}
// System.Void Mono.Security.Cryptography.BlockProcessor::Finalize()
extern "C" void BlockProcessor_Finalize_m379027478 (BlockProcessor_t3158419191 * __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)
ByteU5BU5D_t3397334013* L_0 = __this->get_block_1();
int32_t L_1 = __this->get_blockSize_2();
Array_Clear_m782967417(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_0, 0, L_1, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x1E, FINALLY_0017);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_0017;
}
FINALLY_0017:
{ // begin finally (depth: 1)
Object_Finalize_m4087144328(__this, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(23)
} // end finally (depth: 1)
IL2CPP_CLEANUP(23)
{
IL2CPP_JUMP_TBL(0x1E, IL_001e)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_001e:
{
return;
}
}
// System.Void Mono.Security.Cryptography.BlockProcessor::Initialize()
extern "C" void BlockProcessor_Initialize_m3476609078 (BlockProcessor_t3158419191 * __this, const MethodInfo* method)
{
{
ByteU5BU5D_t3397334013* L_0 = __this->get_block_1();
int32_t L_1 = __this->get_blockSize_2();
Array_Clear_m782967417(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_0, 0, L_1, /*hidden argument*/NULL);
__this->set_blockCount_3(0);
return;
}
}
// System.Void Mono.Security.Cryptography.BlockProcessor::Core(System.Byte[])
extern "C" void BlockProcessor_Core_m1914205130 (BlockProcessor_t3158419191 * __this, ByteU5BU5D_t3397334013* ___rgb0, const MethodInfo* method)
{
{
ByteU5BU5D_t3397334013* L_0 = ___rgb0;
ByteU5BU5D_t3397334013* L_1 = ___rgb0;
BlockProcessor_Core_m582731880(__this, L_0, 0, (((int32_t)((int32_t)(((Il2CppArray *)L_1)->max_length)))), /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Cryptography.BlockProcessor::Core(System.Byte[],System.Int32,System.Int32)
extern Il2CppClass* ICryptoTransform_t281704372_il2cpp_TypeInfo_var;
extern const uint32_t BlockProcessor_Core_m582731880_MetadataUsageId;
extern "C" void BlockProcessor_Core_m582731880 (BlockProcessor_t3158419191 * __this, ByteU5BU5D_t3397334013* ___rgb0, int32_t ___ib1, int32_t ___cb2, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BlockProcessor_Core_m582731880_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
{
int32_t L_0 = __this->get_blockSize_2();
int32_t L_1 = __this->get_blockCount_3();
int32_t L_2 = ___cb2;
int32_t L_3 = Math_Min_m4290821911(NULL /*static, unused*/, ((int32_t)((int32_t)L_0-(int32_t)L_1)), L_2, /*hidden argument*/NULL);
V_0 = L_3;
ByteU5BU5D_t3397334013* L_4 = ___rgb0;
int32_t L_5 = ___ib1;
ByteU5BU5D_t3397334013* L_6 = __this->get_block_1();
int32_t L_7 = __this->get_blockCount_3();
int32_t L_8 = V_0;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_4, L_5, (Il2CppArray *)(Il2CppArray *)L_6, L_7, L_8, /*hidden argument*/NULL);
int32_t L_9 = __this->get_blockCount_3();
int32_t L_10 = V_0;
__this->set_blockCount_3(((int32_t)((int32_t)L_9+(int32_t)L_10)));
int32_t L_11 = __this->get_blockCount_3();
int32_t L_12 = __this->get_blockSize_2();
if ((!(((uint32_t)L_11) == ((uint32_t)L_12))))
{
goto IL_00d5;
}
}
{
Il2CppObject * L_13 = __this->get_transform_0();
ByteU5BU5D_t3397334013* L_14 = __this->get_block_1();
int32_t L_15 = __this->get_blockSize_2();
ByteU5BU5D_t3397334013* L_16 = __this->get_block_1();
InterfaceFuncInvoker5< int32_t, ByteU5BU5D_t3397334013*, int32_t, int32_t, ByteU5BU5D_t3397334013*, int32_t >::Invoke(1 /* System.Int32 System.Security.Cryptography.ICryptoTransform::TransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32) */, ICryptoTransform_t281704372_il2cpp_TypeInfo_var, L_13, L_14, 0, L_15, L_16, 0);
int32_t L_17 = ___cb2;
int32_t L_18 = V_0;
int32_t L_19 = __this->get_blockSize_2();
V_1 = ((int32_t)((int32_t)((int32_t)((int32_t)L_17-(int32_t)L_18))/(int32_t)L_19));
V_2 = 0;
goto IL_00a3;
}
IL_0079:
{
Il2CppObject * L_20 = __this->get_transform_0();
ByteU5BU5D_t3397334013* L_21 = ___rgb0;
int32_t L_22 = V_0;
int32_t L_23 = ___ib1;
int32_t L_24 = __this->get_blockSize_2();
ByteU5BU5D_t3397334013* L_25 = __this->get_block_1();
InterfaceFuncInvoker5< int32_t, ByteU5BU5D_t3397334013*, int32_t, int32_t, ByteU5BU5D_t3397334013*, int32_t >::Invoke(1 /* System.Int32 System.Security.Cryptography.ICryptoTransform::TransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32) */, ICryptoTransform_t281704372_il2cpp_TypeInfo_var, L_20, L_21, ((int32_t)((int32_t)L_22+(int32_t)L_23)), L_24, L_25, 0);
int32_t L_26 = V_0;
int32_t L_27 = __this->get_blockSize_2();
V_0 = ((int32_t)((int32_t)L_26+(int32_t)L_27));
int32_t L_28 = V_2;
V_2 = ((int32_t)((int32_t)L_28+(int32_t)1));
}
IL_00a3:
{
int32_t L_29 = V_2;
int32_t L_30 = V_1;
if ((((int32_t)L_29) < ((int32_t)L_30)))
{
goto IL_0079;
}
}
{
int32_t L_31 = ___cb2;
int32_t L_32 = V_0;
__this->set_blockCount_3(((int32_t)((int32_t)L_31-(int32_t)L_32)));
int32_t L_33 = __this->get_blockCount_3();
if ((((int32_t)L_33) <= ((int32_t)0)))
{
goto IL_00d5;
}
}
{
ByteU5BU5D_t3397334013* L_34 = ___rgb0;
int32_t L_35 = V_0;
int32_t L_36 = ___ib1;
ByteU5BU5D_t3397334013* L_37 = __this->get_block_1();
int32_t L_38 = __this->get_blockCount_3();
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_34, ((int32_t)((int32_t)L_35+(int32_t)L_36)), (Il2CppArray *)(Il2CppArray *)L_37, 0, L_38, /*hidden argument*/NULL);
}
IL_00d5:
{
return;
}
}
// System.Byte[] Mono.Security.Cryptography.BlockProcessor::Final()
extern Il2CppClass* ICryptoTransform_t281704372_il2cpp_TypeInfo_var;
extern const uint32_t BlockProcessor_Final_m3453807370_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* BlockProcessor_Final_m3453807370 (BlockProcessor_t3158419191 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (BlockProcessor_Final_m3453807370_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
Il2CppObject * L_0 = __this->get_transform_0();
ByteU5BU5D_t3397334013* L_1 = __this->get_block_1();
int32_t L_2 = __this->get_blockCount_3();
ByteU5BU5D_t3397334013* L_3 = InterfaceFuncInvoker3< ByteU5BU5D_t3397334013*, ByteU5BU5D_t3397334013*, int32_t, int32_t >::Invoke(2 /* System.Byte[] System.Security.Cryptography.ICryptoTransform::TransformFinalBlock(System.Byte[],System.Int32,System.Int32) */, ICryptoTransform_t281704372_il2cpp_TypeInfo_var, L_0, L_1, 0, L_2);
return L_3;
}
}
// System.Int32 Mono.Security.Cryptography.CryptoConvert::ToInt32LE(System.Byte[],System.Int32)
extern "C" int32_t CryptoConvert_ToInt32LE_m3103589321 (Il2CppObject * __this /* static, unused */, ByteU5BU5D_t3397334013* ___bytes0, int32_t ___offset1, const MethodInfo* method)
{
{
ByteU5BU5D_t3397334013* L_0 = ___bytes0;
int32_t L_1 = ___offset1;
int32_t L_2 = ((int32_t)((int32_t)L_1+(int32_t)3));
uint8_t L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
ByteU5BU5D_t3397334013* L_4 = ___bytes0;
int32_t L_5 = ___offset1;
int32_t L_6 = ((int32_t)((int32_t)L_5+(int32_t)2));
uint8_t L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
ByteU5BU5D_t3397334013* L_8 = ___bytes0;
int32_t L_9 = ___offset1;
int32_t L_10 = ((int32_t)((int32_t)L_9+(int32_t)1));
uint8_t L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
ByteU5BU5D_t3397334013* L_12 = ___bytes0;
int32_t L_13 = ___offset1;
int32_t L_14 = L_13;
uint8_t L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
return ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_3<<(int32_t)((int32_t)24)))|(int32_t)((int32_t)((int32_t)L_7<<(int32_t)((int32_t)16)))))|(int32_t)((int32_t)((int32_t)L_11<<(int32_t)8))))|(int32_t)L_15));
}
}
// System.UInt32 Mono.Security.Cryptography.CryptoConvert::ToUInt32LE(System.Byte[],System.Int32)
extern "C" uint32_t CryptoConvert_ToUInt32LE_m27102829 (Il2CppObject * __this /* static, unused */, ByteU5BU5D_t3397334013* ___bytes0, int32_t ___offset1, const MethodInfo* method)
{
{
ByteU5BU5D_t3397334013* L_0 = ___bytes0;
int32_t L_1 = ___offset1;
int32_t L_2 = ((int32_t)((int32_t)L_1+(int32_t)3));
uint8_t L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
ByteU5BU5D_t3397334013* L_4 = ___bytes0;
int32_t L_5 = ___offset1;
int32_t L_6 = ((int32_t)((int32_t)L_5+(int32_t)2));
uint8_t L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
ByteU5BU5D_t3397334013* L_8 = ___bytes0;
int32_t L_9 = ___offset1;
int32_t L_10 = ((int32_t)((int32_t)L_9+(int32_t)1));
uint8_t L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
ByteU5BU5D_t3397334013* L_12 = ___bytes0;
int32_t L_13 = ___offset1;
int32_t L_14 = L_13;
uint8_t L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
return ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_3<<(int32_t)((int32_t)24)))|(int32_t)((int32_t)((int32_t)L_7<<(int32_t)((int32_t)16)))))|(int32_t)((int32_t)((int32_t)L_11<<(int32_t)8))))|(int32_t)L_15));
}
}
// System.Byte[] Mono.Security.Cryptography.CryptoConvert::GetBytesLE(System.Int32)
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t CryptoConvert_GetBytesLE_m4026062242_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* CryptoConvert_GetBytesLE_m4026062242 (Il2CppObject * __this /* static, unused */, int32_t ___val0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (CryptoConvert_GetBytesLE_m4026062242_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
ByteU5BU5D_t3397334013* L_0 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)4));
int32_t L_1 = ___val0;
(L_0)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_1&(int32_t)((int32_t)255)))))));
ByteU5BU5D_t3397334013* L_2 = L_0;
int32_t L_3 = ___val0;
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)((int32_t)L_3>>(int32_t)8))&(int32_t)((int32_t)255)))))));
ByteU5BU5D_t3397334013* L_4 = L_2;
int32_t L_5 = ___val0;
(L_4)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)((int32_t)L_5>>(int32_t)((int32_t)16)))&(int32_t)((int32_t)255)))))));
ByteU5BU5D_t3397334013* L_6 = L_4;
int32_t L_7 = ___val0;
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(3), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)((int32_t)L_7>>(int32_t)((int32_t)24)))&(int32_t)((int32_t)255)))))));
return L_6;
}
}
// System.Byte[] Mono.Security.Cryptography.CryptoConvert::ToCapiPrivateKeyBlob(System.Security.Cryptography.RSA)
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t CryptoConvert_ToCapiPrivateKeyBlob_m850465939_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* CryptoConvert_ToCapiPrivateKeyBlob_m850465939 (Il2CppObject * __this /* static, unused */, RSA_t3719518354 * ___rsa0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (CryptoConvert_ToCapiPrivateKeyBlob_m850465939_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
RSAParameters_t1462703416 V_0;
memset(&V_0, 0, sizeof(V_0));
int32_t V_1 = 0;
ByteU5BU5D_t3397334013* V_2 = NULL;
ByteU5BU5D_t3397334013* V_3 = NULL;
int32_t V_4 = 0;
int32_t V_5 = 0;
ByteU5BU5D_t3397334013* V_6 = NULL;
int32_t V_7 = 0;
{
RSA_t3719518354 * L_0 = ___rsa0;
RSAParameters_t1462703416 L_1 = VirtFuncInvoker1< RSAParameters_t1462703416 , bool >::Invoke(12 /* System.Security.Cryptography.RSAParameters System.Security.Cryptography.RSA::ExportParameters(System.Boolean) */, L_0, (bool)1);
V_0 = L_1;
ByteU5BU5D_t3397334013* L_2 = (&V_0)->get_Modulus_6();
V_1 = (((int32_t)((int32_t)(((Il2CppArray *)L_2)->max_length))));
int32_t L_3 = V_1;
int32_t L_4 = V_1;
V_2 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)20)+(int32_t)((int32_t)((int32_t)L_3<<(int32_t)2))))+(int32_t)((int32_t)((int32_t)L_4>>(int32_t)1))))));
ByteU5BU5D_t3397334013* L_5 = V_2;
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)7);
ByteU5BU5D_t3397334013* L_6 = V_2;
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)2);
ByteU5BU5D_t3397334013* L_7 = V_2;
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(5), (uint8_t)((int32_t)36));
ByteU5BU5D_t3397334013* L_8 = V_2;
(L_8)->SetAt(static_cast<il2cpp_array_size_t>(8), (uint8_t)((int32_t)82));
ByteU5BU5D_t3397334013* L_9 = V_2;
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)9)), (uint8_t)((int32_t)83));
ByteU5BU5D_t3397334013* L_10 = V_2;
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)10)), (uint8_t)((int32_t)65));
ByteU5BU5D_t3397334013* L_11 = V_2;
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)11)), (uint8_t)((int32_t)50));
int32_t L_12 = V_1;
ByteU5BU5D_t3397334013* L_13 = CryptoConvert_GetBytesLE_m4026062242(NULL /*static, unused*/, ((int32_t)((int32_t)L_12<<(int32_t)3)), /*hidden argument*/NULL);
V_3 = L_13;
ByteU5BU5D_t3397334013* L_14 = V_2;
ByteU5BU5D_t3397334013* L_15 = V_3;
int32_t L_16 = 0;
uint8_t L_17 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
(L_14)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)12)), (uint8_t)L_17);
ByteU5BU5D_t3397334013* L_18 = V_2;
ByteU5BU5D_t3397334013* L_19 = V_3;
int32_t L_20 = 1;
uint8_t L_21 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
(L_18)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)13)), (uint8_t)L_21);
ByteU5BU5D_t3397334013* L_22 = V_2;
ByteU5BU5D_t3397334013* L_23 = V_3;
int32_t L_24 = 2;
uint8_t L_25 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
(L_22)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)14)), (uint8_t)L_25);
ByteU5BU5D_t3397334013* L_26 = V_2;
ByteU5BU5D_t3397334013* L_27 = V_3;
int32_t L_28 = 3;
uint8_t L_29 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
(L_26)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)15)), (uint8_t)L_29);
V_4 = ((int32_t)16);
ByteU5BU5D_t3397334013* L_30 = (&V_0)->get_Exponent_7();
V_5 = (((int32_t)((int32_t)(((Il2CppArray *)L_30)->max_length))));
goto IL_0097;
}
IL_007f:
{
ByteU5BU5D_t3397334013* L_31 = V_2;
int32_t L_32 = V_4;
int32_t L_33 = L_32;
V_4 = ((int32_t)((int32_t)L_33+(int32_t)1));
ByteU5BU5D_t3397334013* L_34 = (&V_0)->get_Exponent_7();
int32_t L_35 = V_5;
int32_t L_36 = ((int32_t)((int32_t)L_35-(int32_t)1));
V_5 = L_36;
int32_t L_37 = L_36;
uint8_t L_38 = (L_34)->GetAt(static_cast<il2cpp_array_size_t>(L_37));
(L_31)->SetAt(static_cast<il2cpp_array_size_t>(L_33), (uint8_t)L_38);
}
IL_0097:
{
int32_t L_39 = V_5;
if ((((int32_t)L_39) > ((int32_t)0)))
{
goto IL_007f;
}
}
{
V_4 = ((int32_t)20);
ByteU5BU5D_t3397334013* L_40 = (&V_0)->get_Modulus_6();
V_6 = L_40;
ByteU5BU5D_t3397334013* L_41 = V_6;
V_7 = (((int32_t)((int32_t)(((Il2CppArray *)L_41)->max_length))));
ByteU5BU5D_t3397334013* L_42 = V_6;
int32_t L_43 = V_7;
Array_Reverse_m3433347928(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_42, 0, L_43, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_44 = V_6;
ByteU5BU5D_t3397334013* L_45 = V_2;
int32_t L_46 = V_4;
int32_t L_47 = V_7;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_44, 0, (Il2CppArray *)(Il2CppArray *)L_45, L_46, L_47, /*hidden argument*/NULL);
int32_t L_48 = V_4;
int32_t L_49 = V_7;
V_4 = ((int32_t)((int32_t)L_48+(int32_t)L_49));
ByteU5BU5D_t3397334013* L_50 = (&V_0)->get_P_0();
V_6 = L_50;
ByteU5BU5D_t3397334013* L_51 = V_6;
V_7 = (((int32_t)((int32_t)(((Il2CppArray *)L_51)->max_length))));
ByteU5BU5D_t3397334013* L_52 = V_6;
int32_t L_53 = V_7;
Array_Reverse_m3433347928(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_52, 0, L_53, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_54 = V_6;
ByteU5BU5D_t3397334013* L_55 = V_2;
int32_t L_56 = V_4;
int32_t L_57 = V_7;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_54, 0, (Il2CppArray *)(Il2CppArray *)L_55, L_56, L_57, /*hidden argument*/NULL);
int32_t L_58 = V_4;
int32_t L_59 = V_7;
V_4 = ((int32_t)((int32_t)L_58+(int32_t)L_59));
ByteU5BU5D_t3397334013* L_60 = (&V_0)->get_Q_1();
V_6 = L_60;
ByteU5BU5D_t3397334013* L_61 = V_6;
V_7 = (((int32_t)((int32_t)(((Il2CppArray *)L_61)->max_length))));
ByteU5BU5D_t3397334013* L_62 = V_6;
int32_t L_63 = V_7;
Array_Reverse_m3433347928(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_62, 0, L_63, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_64 = V_6;
ByteU5BU5D_t3397334013* L_65 = V_2;
int32_t L_66 = V_4;
int32_t L_67 = V_7;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_64, 0, (Il2CppArray *)(Il2CppArray *)L_65, L_66, L_67, /*hidden argument*/NULL);
int32_t L_68 = V_4;
int32_t L_69 = V_7;
V_4 = ((int32_t)((int32_t)L_68+(int32_t)L_69));
ByteU5BU5D_t3397334013* L_70 = (&V_0)->get_DP_3();
V_6 = L_70;
ByteU5BU5D_t3397334013* L_71 = V_6;
V_7 = (((int32_t)((int32_t)(((Il2CppArray *)L_71)->max_length))));
ByteU5BU5D_t3397334013* L_72 = V_6;
int32_t L_73 = V_7;
Array_Reverse_m3433347928(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_72, 0, L_73, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_74 = V_6;
ByteU5BU5D_t3397334013* L_75 = V_2;
int32_t L_76 = V_4;
int32_t L_77 = V_7;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_74, 0, (Il2CppArray *)(Il2CppArray *)L_75, L_76, L_77, /*hidden argument*/NULL);
int32_t L_78 = V_4;
int32_t L_79 = V_7;
V_4 = ((int32_t)((int32_t)L_78+(int32_t)L_79));
ByteU5BU5D_t3397334013* L_80 = (&V_0)->get_DQ_4();
V_6 = L_80;
ByteU5BU5D_t3397334013* L_81 = V_6;
V_7 = (((int32_t)((int32_t)(((Il2CppArray *)L_81)->max_length))));
ByteU5BU5D_t3397334013* L_82 = V_6;
int32_t L_83 = V_7;
Array_Reverse_m3433347928(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_82, 0, L_83, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_84 = V_6;
ByteU5BU5D_t3397334013* L_85 = V_2;
int32_t L_86 = V_4;
int32_t L_87 = V_7;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_84, 0, (Il2CppArray *)(Il2CppArray *)L_85, L_86, L_87, /*hidden argument*/NULL);
int32_t L_88 = V_4;
int32_t L_89 = V_7;
V_4 = ((int32_t)((int32_t)L_88+(int32_t)L_89));
ByteU5BU5D_t3397334013* L_90 = (&V_0)->get_InverseQ_5();
V_6 = L_90;
ByteU5BU5D_t3397334013* L_91 = V_6;
V_7 = (((int32_t)((int32_t)(((Il2CppArray *)L_91)->max_length))));
ByteU5BU5D_t3397334013* L_92 = V_6;
int32_t L_93 = V_7;
Array_Reverse_m3433347928(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_92, 0, L_93, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_94 = V_6;
ByteU5BU5D_t3397334013* L_95 = V_2;
int32_t L_96 = V_4;
int32_t L_97 = V_7;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_94, 0, (Il2CppArray *)(Il2CppArray *)L_95, L_96, L_97, /*hidden argument*/NULL);
int32_t L_98 = V_4;
int32_t L_99 = V_7;
V_4 = ((int32_t)((int32_t)L_98+(int32_t)L_99));
ByteU5BU5D_t3397334013* L_100 = (&V_0)->get_D_2();
V_6 = L_100;
ByteU5BU5D_t3397334013* L_101 = V_6;
V_7 = (((int32_t)((int32_t)(((Il2CppArray *)L_101)->max_length))));
ByteU5BU5D_t3397334013* L_102 = V_6;
int32_t L_103 = V_7;
Array_Reverse_m3433347928(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_102, 0, L_103, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_104 = V_6;
ByteU5BU5D_t3397334013* L_105 = V_2;
int32_t L_106 = V_4;
int32_t L_107 = V_7;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_104, 0, (Il2CppArray *)(Il2CppArray *)L_105, L_106, L_107, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_108 = V_2;
return L_108;
}
}
// System.Security.Cryptography.RSA Mono.Security.Cryptography.CryptoConvert::FromCapiPublicKeyBlob(System.Byte[])
extern "C" RSA_t3719518354 * CryptoConvert_FromCapiPublicKeyBlob_m547807126 (Il2CppObject * __this /* static, unused */, ByteU5BU5D_t3397334013* ___blob0, const MethodInfo* method)
{
{
ByteU5BU5D_t3397334013* L_0 = ___blob0;
RSA_t3719518354 * L_1 = CryptoConvert_FromCapiPublicKeyBlob_m812595523(NULL /*static, unused*/, L_0, 0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Security.Cryptography.RSA Mono.Security.Cryptography.CryptoConvert::FromCapiPublicKeyBlob(System.Byte[],System.Int32)
extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var;
extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var;
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppClass* RSAParameters_t1462703416_il2cpp_TypeInfo_var;
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern Il2CppClass* Exception_t1927440687_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral829392031;
extern Il2CppCodeGenString* _stringLiteral857693224;
extern Il2CppCodeGenString* _stringLiteral3863508209;
extern Il2CppCodeGenString* _stringLiteral2026766354;
extern const uint32_t CryptoConvert_FromCapiPublicKeyBlob_m812595523_MetadataUsageId;
extern "C" RSA_t3719518354 * CryptoConvert_FromCapiPublicKeyBlob_m812595523 (Il2CppObject * __this /* static, unused */, ByteU5BU5D_t3397334013* ___blob0, int32_t ___offset1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (CryptoConvert_FromCapiPublicKeyBlob_m812595523_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
RSAParameters_t1462703416 V_1;
memset(&V_1, 0, sizeof(V_1));
int32_t V_2 = 0;
int32_t V_3 = 0;
RSA_t3719518354 * V_4 = NULL;
Exception_t1927440687 * V_5 = NULL;
RSA_t3719518354 * V_6 = 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);
{
ByteU5BU5D_t3397334013* L_0 = ___blob0;
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, _stringLiteral829392031, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1);
}
IL_0011:
{
int32_t L_2 = ___offset1;
ByteU5BU5D_t3397334013* L_3 = ___blob0;
if ((((int32_t)L_2) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_3)->max_length)))))))
{
goto IL_0025;
}
}
{
ArgumentException_t3259014390 * L_4 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_4, _stringLiteral857693224, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4);
}
IL_0025:
try
{ // begin try (depth: 1)
{
ByteU5BU5D_t3397334013* L_5 = ___blob0;
int32_t L_6 = ___offset1;
int32_t L_7 = L_6;
uint8_t L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
if ((!(((uint32_t)L_8) == ((uint32_t)6))))
{
goto IL_0060;
}
}
IL_002e:
{
ByteU5BU5D_t3397334013* L_9 = ___blob0;
int32_t L_10 = ___offset1;
int32_t L_11 = ((int32_t)((int32_t)L_10+(int32_t)1));
uint8_t L_12 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
if ((!(((uint32_t)L_12) == ((uint32_t)2))))
{
goto IL_0060;
}
}
IL_0039:
{
ByteU5BU5D_t3397334013* L_13 = ___blob0;
int32_t L_14 = ___offset1;
int32_t L_15 = ((int32_t)((int32_t)L_14+(int32_t)2));
uint8_t L_16 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
if (L_16)
{
goto IL_0060;
}
}
IL_0043:
{
ByteU5BU5D_t3397334013* L_17 = ___blob0;
int32_t L_18 = ___offset1;
int32_t L_19 = ((int32_t)((int32_t)L_18+(int32_t)3));
uint8_t L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
if (L_20)
{
goto IL_0060;
}
}
IL_004d:
{
ByteU5BU5D_t3397334013* L_21 = ___blob0;
int32_t L_22 = ___offset1;
uint32_t L_23 = CryptoConvert_ToUInt32LE_m27102829(NULL /*static, unused*/, L_21, ((int32_t)((int32_t)L_22+(int32_t)8)), /*hidden argument*/NULL);
if ((((int32_t)L_23) == ((int32_t)((int32_t)826364754))))
{
goto IL_006b;
}
}
IL_0060:
{
CryptographicException_t3349726436 * L_24 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_24, _stringLiteral3863508209, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_24);
}
IL_006b:
{
ByteU5BU5D_t3397334013* L_25 = ___blob0;
int32_t L_26 = ___offset1;
int32_t L_27 = CryptoConvert_ToInt32LE_m3103589321(NULL /*static, unused*/, L_25, ((int32_t)((int32_t)L_26+(int32_t)((int32_t)12))), /*hidden argument*/NULL);
V_0 = L_27;
Initobj (RSAParameters_t1462703416_il2cpp_TypeInfo_var, (&V_1));
(&V_1)->set_Exponent_7(((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)3)));
ByteU5BU5D_t3397334013* L_28 = (&V_1)->get_Exponent_7();
ByteU5BU5D_t3397334013* L_29 = ___blob0;
int32_t L_30 = ___offset1;
int32_t L_31 = ((int32_t)((int32_t)L_30+(int32_t)((int32_t)18)));
uint8_t L_32 = (L_29)->GetAt(static_cast<il2cpp_array_size_t>(L_31));
(L_28)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)L_32);
ByteU5BU5D_t3397334013* L_33 = (&V_1)->get_Exponent_7();
ByteU5BU5D_t3397334013* L_34 = ___blob0;
int32_t L_35 = ___offset1;
int32_t L_36 = ((int32_t)((int32_t)L_35+(int32_t)((int32_t)17)));
uint8_t L_37 = (L_34)->GetAt(static_cast<il2cpp_array_size_t>(L_36));
(L_33)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)L_37);
ByteU5BU5D_t3397334013* L_38 = (&V_1)->get_Exponent_7();
ByteU5BU5D_t3397334013* L_39 = ___blob0;
int32_t L_40 = ___offset1;
int32_t L_41 = ((int32_t)((int32_t)L_40+(int32_t)((int32_t)16)));
uint8_t L_42 = (L_39)->GetAt(static_cast<il2cpp_array_size_t>(L_41));
(L_38)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)L_42);
int32_t L_43 = ___offset1;
V_2 = ((int32_t)((int32_t)L_43+(int32_t)((int32_t)20)));
int32_t L_44 = V_0;
V_3 = ((int32_t)((int32_t)L_44>>(int32_t)3));
int32_t L_45 = V_3;
(&V_1)->set_Modulus_6(((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_45)));
ByteU5BU5D_t3397334013* L_46 = ___blob0;
int32_t L_47 = V_2;
ByteU5BU5D_t3397334013* L_48 = (&V_1)->get_Modulus_6();
int32_t L_49 = V_3;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_46, L_47, (Il2CppArray *)(Il2CppArray *)L_48, 0, L_49, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_50 = (&V_1)->get_Modulus_6();
Array_Reverse_m3883292526(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_50, /*hidden argument*/NULL);
RSA_t3719518354 * L_51 = RSA_Create_m4148185627(NULL /*static, unused*/, /*hidden argument*/NULL);
V_4 = L_51;
RSA_t3719518354 * L_52 = V_4;
RSAParameters_t1462703416 L_53 = V_1;
VirtActionInvoker1< RSAParameters_t1462703416 >::Invoke(13 /* System.Void System.Security.Cryptography.RSA::ImportParameters(System.Security.Cryptography.RSAParameters) */, L_52, L_53);
RSA_t3719518354 * L_54 = V_4;
V_6 = L_54;
goto IL_011b;
}
IL_0102:
{
; // IL_0102: leave IL_011b
}
} // 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_0107;
throw e;
}
CATCH_0107:
{ // begin catch(System.Exception)
{
V_5 = ((Exception_t1927440687 *)__exception_local);
Exception_t1927440687 * L_55 = V_5;
CryptographicException_t3349726436 * L_56 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m1012314467(L_56, _stringLiteral2026766354, L_55, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_56);
}
IL_0116:
{
goto IL_011b;
}
} // end catch (depth: 1)
IL_011b:
{
RSA_t3719518354 * L_57 = V_6;
return L_57;
}
}
// System.Byte[] Mono.Security.Cryptography.CryptoConvert::ToCapiPublicKeyBlob(System.Security.Cryptography.RSA)
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t CryptoConvert_ToCapiPublicKeyBlob_m924651951_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* CryptoConvert_ToCapiPublicKeyBlob_m924651951 (Il2CppObject * __this /* static, unused */, RSA_t3719518354 * ___rsa0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (CryptoConvert_ToCapiPublicKeyBlob_m924651951_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
RSAParameters_t1462703416 V_0;
memset(&V_0, 0, sizeof(V_0));
int32_t V_1 = 0;
ByteU5BU5D_t3397334013* V_2 = NULL;
ByteU5BU5D_t3397334013* V_3 = NULL;
int32_t V_4 = 0;
int32_t V_5 = 0;
ByteU5BU5D_t3397334013* V_6 = NULL;
int32_t V_7 = 0;
{
RSA_t3719518354 * L_0 = ___rsa0;
RSAParameters_t1462703416 L_1 = VirtFuncInvoker1< RSAParameters_t1462703416 , bool >::Invoke(12 /* System.Security.Cryptography.RSAParameters System.Security.Cryptography.RSA::ExportParameters(System.Boolean) */, L_0, (bool)0);
V_0 = L_1;
ByteU5BU5D_t3397334013* L_2 = (&V_0)->get_Modulus_6();
V_1 = (((int32_t)((int32_t)(((Il2CppArray *)L_2)->max_length))));
int32_t L_3 = V_1;
V_2 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)((int32_t)20)+(int32_t)L_3))));
ByteU5BU5D_t3397334013* L_4 = V_2;
(L_4)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)6);
ByteU5BU5D_t3397334013* L_5 = V_2;
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)2);
ByteU5BU5D_t3397334013* L_6 = V_2;
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(5), (uint8_t)((int32_t)36));
ByteU5BU5D_t3397334013* L_7 = V_2;
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(8), (uint8_t)((int32_t)82));
ByteU5BU5D_t3397334013* L_8 = V_2;
(L_8)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)9)), (uint8_t)((int32_t)83));
ByteU5BU5D_t3397334013* L_9 = V_2;
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)10)), (uint8_t)((int32_t)65));
ByteU5BU5D_t3397334013* L_10 = V_2;
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)11)), (uint8_t)((int32_t)49));
int32_t L_11 = V_1;
ByteU5BU5D_t3397334013* L_12 = CryptoConvert_GetBytesLE_m4026062242(NULL /*static, unused*/, ((int32_t)((int32_t)L_11<<(int32_t)3)), /*hidden argument*/NULL);
V_3 = L_12;
ByteU5BU5D_t3397334013* L_13 = V_2;
ByteU5BU5D_t3397334013* L_14 = V_3;
int32_t L_15 = 0;
uint8_t L_16 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)12)), (uint8_t)L_16);
ByteU5BU5D_t3397334013* L_17 = V_2;
ByteU5BU5D_t3397334013* L_18 = V_3;
int32_t L_19 = 1;
uint8_t L_20 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
(L_17)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)13)), (uint8_t)L_20);
ByteU5BU5D_t3397334013* L_21 = V_2;
ByteU5BU5D_t3397334013* L_22 = V_3;
int32_t L_23 = 2;
uint8_t L_24 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_23));
(L_21)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)14)), (uint8_t)L_24);
ByteU5BU5D_t3397334013* L_25 = V_2;
ByteU5BU5D_t3397334013* L_26 = V_3;
int32_t L_27 = 3;
uint8_t L_28 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
(L_25)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)15)), (uint8_t)L_28);
V_4 = ((int32_t)16);
ByteU5BU5D_t3397334013* L_29 = (&V_0)->get_Exponent_7();
V_5 = (((int32_t)((int32_t)(((Il2CppArray *)L_29)->max_length))));
goto IL_0091;
}
IL_0079:
{
ByteU5BU5D_t3397334013* L_30 = V_2;
int32_t L_31 = V_4;
int32_t L_32 = L_31;
V_4 = ((int32_t)((int32_t)L_32+(int32_t)1));
ByteU5BU5D_t3397334013* L_33 = (&V_0)->get_Exponent_7();
int32_t L_34 = V_5;
int32_t L_35 = ((int32_t)((int32_t)L_34-(int32_t)1));
V_5 = L_35;
int32_t L_36 = L_35;
uint8_t L_37 = (L_33)->GetAt(static_cast<il2cpp_array_size_t>(L_36));
(L_30)->SetAt(static_cast<il2cpp_array_size_t>(L_32), (uint8_t)L_37);
}
IL_0091:
{
int32_t L_38 = V_5;
if ((((int32_t)L_38) > ((int32_t)0)))
{
goto IL_0079;
}
}
{
V_4 = ((int32_t)20);
ByteU5BU5D_t3397334013* L_39 = (&V_0)->get_Modulus_6();
V_6 = L_39;
ByteU5BU5D_t3397334013* L_40 = V_6;
V_7 = (((int32_t)((int32_t)(((Il2CppArray *)L_40)->max_length))));
ByteU5BU5D_t3397334013* L_41 = V_6;
int32_t L_42 = V_7;
Array_Reverse_m3433347928(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_41, 0, L_42, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_43 = V_6;
ByteU5BU5D_t3397334013* L_44 = V_2;
int32_t L_45 = V_4;
int32_t L_46 = V_7;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_43, 0, (Il2CppArray *)(Il2CppArray *)L_44, L_45, L_46, /*hidden argument*/NULL);
int32_t L_47 = V_4;
int32_t L_48 = V_7;
V_4 = ((int32_t)((int32_t)L_47+(int32_t)L_48));
ByteU5BU5D_t3397334013* L_49 = V_2;
return L_49;
}
}
// System.Byte[] Mono.Security.Cryptography.CryptoConvert::ToCapiKeyBlob(System.Security.Cryptography.RSA,System.Boolean)
extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral3115737156;
extern const uint32_t CryptoConvert_ToCapiKeyBlob_m607484285_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* CryptoConvert_ToCapiKeyBlob_m607484285 (Il2CppObject * __this /* static, unused */, RSA_t3719518354 * ___rsa0, bool ___includePrivateKey1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (CryptoConvert_ToCapiKeyBlob_m607484285_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
RSA_t3719518354 * L_0 = ___rsa0;
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, _stringLiteral3115737156, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1);
}
IL_0011:
{
bool L_2 = ___includePrivateKey1;
if (!L_2)
{
goto IL_001e;
}
}
{
RSA_t3719518354 * L_3 = ___rsa0;
ByteU5BU5D_t3397334013* L_4 = CryptoConvert_ToCapiPrivateKeyBlob_m850465939(NULL /*static, unused*/, L_3, /*hidden argument*/NULL);
return L_4;
}
IL_001e:
{
RSA_t3719518354 * L_5 = ___rsa0;
ByteU5BU5D_t3397334013* L_6 = CryptoConvert_ToCapiPublicKeyBlob_m924651951(NULL /*static, unused*/, L_5, /*hidden argument*/NULL);
return L_6;
}
}
// System.Void Mono.Security.Cryptography.DSAManaged::.ctor(System.Int32)
extern Il2CppClass* KeySizesU5BU5D_t1153004758_il2cpp_TypeInfo_var;
extern Il2CppClass* KeySizes_t3144736271_il2cpp_TypeInfo_var;
extern const uint32_t DSAManaged__ctor_m3339082535_MetadataUsageId;
extern "C" void DSAManaged__ctor_m3339082535 (DSAManaged_t892502321 * __this, int32_t ___dwKeySize0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (DSAManaged__ctor_m3339082535_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
DSA__ctor_m613430209(__this, /*hidden argument*/NULL);
int32_t L_0 = ___dwKeySize0;
((AsymmetricAlgorithm_t784058677 *)__this)->set_KeySizeValue_0(L_0);
((AsymmetricAlgorithm_t784058677 *)__this)->set_LegalKeySizesValue_1(((KeySizesU5BU5D_t1153004758*)SZArrayNew(KeySizesU5BU5D_t1153004758_il2cpp_TypeInfo_var, (uint32_t)1)));
KeySizesU5BU5D_t1153004758* L_1 = ((AsymmetricAlgorithm_t784058677 *)__this)->get_LegalKeySizesValue_1();
KeySizes_t3144736271 * L_2 = (KeySizes_t3144736271 *)il2cpp_codegen_object_new(KeySizes_t3144736271_il2cpp_TypeInfo_var);
KeySizes__ctor_m3526899007(L_2, ((int32_t)512), ((int32_t)1024), ((int32_t)64), /*hidden argument*/NULL);
ArrayElementTypeCheck (L_1, L_2);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (KeySizes_t3144736271 *)L_2);
return;
}
}
// System.Void Mono.Security.Cryptography.DSAManaged::add_KeyGenerated(Mono.Security.Cryptography.DSAManaged/KeyGeneratedEventHandler)
extern Il2CppClass* KeyGeneratedEventHandler_t2001522803_il2cpp_TypeInfo_var;
extern const uint32_t DSAManaged_add_KeyGenerated_m46818873_MetadataUsageId;
extern "C" void DSAManaged_add_KeyGenerated_m46818873 (DSAManaged_t892502321 * __this, KeyGeneratedEventHandler_t2001522803 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (DSAManaged_add_KeyGenerated_m46818873_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
KeyGeneratedEventHandler_t2001522803 * L_0 = __this->get_KeyGenerated_14();
KeyGeneratedEventHandler_t2001522803 * L_1 = ___value0;
Delegate_t3022476291 * L_2 = Delegate_Combine_m3791207084(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
__this->set_KeyGenerated_14(((KeyGeneratedEventHandler_t2001522803 *)CastclassSealed(L_2, KeyGeneratedEventHandler_t2001522803_il2cpp_TypeInfo_var)));
return;
}
}
// System.Void Mono.Security.Cryptography.DSAManaged::remove_KeyGenerated(Mono.Security.Cryptography.DSAManaged/KeyGeneratedEventHandler)
extern Il2CppClass* KeyGeneratedEventHandler_t2001522803_il2cpp_TypeInfo_var;
extern const uint32_t DSAManaged_remove_KeyGenerated_m61544860_MetadataUsageId;
extern "C" void DSAManaged_remove_KeyGenerated_m61544860 (DSAManaged_t892502321 * __this, KeyGeneratedEventHandler_t2001522803 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (DSAManaged_remove_KeyGenerated_m61544860_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
KeyGeneratedEventHandler_t2001522803 * L_0 = __this->get_KeyGenerated_14();
KeyGeneratedEventHandler_t2001522803 * L_1 = ___value0;
Delegate_t3022476291 * L_2 = Delegate_Remove_m2626518725(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
__this->set_KeyGenerated_14(((KeyGeneratedEventHandler_t2001522803 *)CastclassSealed(L_2, KeyGeneratedEventHandler_t2001522803_il2cpp_TypeInfo_var)));
return;
}
}
// System.Void Mono.Security.Cryptography.DSAManaged::Finalize()
extern "C" void DSAManaged_Finalize_m2447404200 (DSAManaged_t892502321 * __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)
VirtActionInvoker1< bool >::Invoke(7 /* System.Void Mono.Security.Cryptography.DSAManaged::Dispose(System.Boolean) */, __this, (bool)0);
IL2CPP_LEAVE(0x13, FINALLY_000c);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_000c;
}
FINALLY_000c:
{ // begin finally (depth: 1)
Object_Finalize_m4087144328(__this, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(12)
} // end finally (depth: 1)
IL2CPP_CLEANUP(12)
{
IL2CPP_JUMP_TBL(0x13, IL_0013)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_0013:
{
return;
}
}
// System.Void Mono.Security.Cryptography.DSAManaged::Generate()
extern "C" void DSAManaged_Generate_m3166917081 (DSAManaged_t892502321 * __this, const MethodInfo* method)
{
{
int32_t L_0 = AsymmetricAlgorithm_get_KeySize_m566706127(__this, /*hidden argument*/NULL);
DSAManaged_GenerateParams_m4227218898(__this, L_0, /*hidden argument*/NULL);
DSAManaged_GenerateKeyPair_m2711647034(__this, /*hidden argument*/NULL);
__this->set_keypairGenerated_2((bool)1);
KeyGeneratedEventHandler_t2001522803 * L_1 = __this->get_KeyGenerated_14();
if (!L_1)
{
goto IL_0031;
}
}
{
KeyGeneratedEventHandler_t2001522803 * L_2 = __this->get_KeyGenerated_14();
KeyGeneratedEventHandler_Invoke_m4220935979(L_2, __this, (EventArgs_t3289624707 *)NULL, /*hidden argument*/NULL);
}
IL_0031:
{
return;
}
}
// System.Void Mono.Security.Cryptography.DSAManaged::GenerateKeyPair()
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t DSAManaged_GenerateKeyPair_m2711647034_MetadataUsageId;
extern "C" void DSAManaged_GenerateKeyPair_m2711647034 (DSAManaged_t892502321 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (DSAManaged_GenerateKeyPair_m2711647034_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_0 = BigInteger_GenerateRandom_m2507308768(NULL /*static, unused*/, ((int32_t)160), /*hidden argument*/NULL);
__this->set_x_7(L_0);
goto IL_0020;
}
IL_0015:
{
BigInteger_t925946152 * L_1 = __this->get_x_7();
BigInteger_Randomize_m4237512560(L_1, /*hidden argument*/NULL);
}
IL_0020:
{
BigInteger_t925946152 * L_2 = __this->get_x_7();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_3 = BigInteger_op_Equality_m3606819076(NULL /*static, unused*/, L_2, 0, /*hidden argument*/NULL);
if (L_3)
{
goto IL_0015;
}
}
{
BigInteger_t925946152 * L_4 = __this->get_x_7();
BigInteger_t925946152 * L_5 = __this->get_q_5();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_6 = BigInteger_op_GreaterThanOrEqual_m1998498565(NULL /*static, unused*/, L_4, L_5, /*hidden argument*/NULL);
if (L_6)
{
goto IL_0015;
}
}
{
BigInteger_t925946152 * L_7 = __this->get_g_6();
BigInteger_t925946152 * L_8 = __this->get_x_7();
BigInteger_t925946152 * L_9 = __this->get_p_4();
BigInteger_t925946152 * L_10 = BigInteger_ModPow_m887553845(L_7, L_8, L_9, /*hidden argument*/NULL);
__this->set_y_8(L_10);
return;
}
}
// System.Void Mono.Security.Cryptography.DSAManaged::add(System.Byte[],System.Byte[],System.Int32)
extern "C" void DSAManaged_add_m910149930 (DSAManaged_t892502321 * __this, ByteU5BU5D_t3397334013* ___a0, ByteU5BU5D_t3397334013* ___b1, int32_t ___value2, const MethodInfo* method)
{
uint32_t V_0 = 0;
int32_t V_1 = 0;
{
ByteU5BU5D_t3397334013* L_0 = ___b1;
ByteU5BU5D_t3397334013* L_1 = ___b1;
int32_t L_2 = ((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_1)->max_length))))-(int32_t)1));
uint8_t L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
int32_t L_4 = ___value2;
V_0 = ((int32_t)((int32_t)((int32_t)((int32_t)L_3&(int32_t)((int32_t)255)))+(int32_t)L_4));
ByteU5BU5D_t3397334013* L_5 = ___a0;
ByteU5BU5D_t3397334013* L_6 = ___b1;
uint32_t L_7 = V_0;
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_6)->max_length))))-(int32_t)1))), (uint8_t)(((int32_t)((uint8_t)L_7))));
uint32_t L_8 = V_0;
V_0 = ((int32_t)((uint32_t)L_8>>8));
ByteU5BU5D_t3397334013* L_9 = ___b1;
V_1 = ((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_9)->max_length))))-(int32_t)2));
goto IL_0041;
}
IL_0028:
{
uint32_t L_10 = V_0;
ByteU5BU5D_t3397334013* L_11 = ___b1;
int32_t L_12 = V_1;
int32_t L_13 = L_12;
uint8_t L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
V_0 = ((int32_t)((int32_t)L_10+(int32_t)((int32_t)((int32_t)L_14&(int32_t)((int32_t)255)))));
ByteU5BU5D_t3397334013* L_15 = ___a0;
int32_t L_16 = V_1;
uint32_t L_17 = V_0;
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(L_16), (uint8_t)(((int32_t)((uint8_t)L_17))));
uint32_t L_18 = V_0;
V_0 = ((int32_t)((uint32_t)L_18>>8));
int32_t L_19 = V_1;
V_1 = ((int32_t)((int32_t)L_19-(int32_t)1));
}
IL_0041:
{
int32_t L_20 = V_1;
if ((((int32_t)L_20) >= ((int32_t)0)))
{
goto IL_0028;
}
}
{
return;
}
}
// System.Void Mono.Security.Cryptography.DSAManaged::GenerateParams(System.Int32)
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t DSAManaged_GenerateParams_m4227218898_MetadataUsageId;
extern "C" void DSAManaged_GenerateParams_m4227218898 (DSAManaged_t892502321 * __this, int32_t ___keyLength0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (DSAManaged_GenerateParams_m4227218898_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ByteU5BU5D_t3397334013* V_0 = NULL;
ByteU5BU5D_t3397334013* V_1 = NULL;
ByteU5BU5D_t3397334013* V_2 = NULL;
ByteU5BU5D_t3397334013* V_3 = NULL;
SHA1_t3336793149 * V_4 = NULL;
int32_t V_5 = 0;
ByteU5BU5D_t3397334013* V_6 = NULL;
bool V_7 = false;
int32_t V_8 = 0;
int32_t V_9 = 0;
int32_t V_10 = 0;
BigInteger_t925946152 * V_11 = NULL;
BigInteger_t925946152 * V_12 = NULL;
BigInteger_t925946152 * V_13 = NULL;
BigInteger_t925946152 * V_14 = NULL;
{
V_0 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)20)));
V_1 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)20)));
V_2 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)20)));
V_3 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)20)));
SHA1_t3336793149 * L_0 = SHA1_Create_m139442991(NULL /*static, unused*/, /*hidden argument*/NULL);
V_4 = L_0;
int32_t L_1 = ___keyLength0;
V_5 = ((int32_t)((int32_t)((int32_t)((int32_t)L_1-(int32_t)1))/(int32_t)((int32_t)160)));
int32_t L_2 = ___keyLength0;
V_6 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)L_2/(int32_t)8))));
V_7 = (bool)0;
goto IL_0202;
}
IL_0044:
{
RandomNumberGenerator_t2510243513 * L_3 = DSAManaged_get_Random_m1992022707(__this, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_4 = V_0;
VirtActionInvoker1< ByteU5BU5D_t3397334013* >::Invoke(4 /* System.Void System.Security.Cryptography.RandomNumberGenerator::GetBytes(System.Byte[]) */, L_3, L_4);
SHA1_t3336793149 * L_5 = V_4;
ByteU5BU5D_t3397334013* L_6 = V_0;
ByteU5BU5D_t3397334013* L_7 = HashAlgorithm_ComputeHash_m3637856778(L_5, L_6, /*hidden argument*/NULL);
V_1 = L_7;
ByteU5BU5D_t3397334013* L_8 = V_0;
ByteU5BU5D_t3397334013* L_9 = V_2;
ByteU5BU5D_t3397334013* L_10 = V_0;
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);
ByteU5BU5D_t3397334013* L_11 = V_2;
ByteU5BU5D_t3397334013* L_12 = V_0;
DSAManaged_add_m910149930(__this, L_11, L_12, 1, /*hidden argument*/NULL);
SHA1_t3336793149 * L_13 = V_4;
ByteU5BU5D_t3397334013* L_14 = V_2;
ByteU5BU5D_t3397334013* L_15 = HashAlgorithm_ComputeHash_m3637856778(L_13, L_14, /*hidden argument*/NULL);
V_2 = L_15;
V_8 = 0;
goto IL_0093;
}
IL_007f:
{
ByteU5BU5D_t3397334013* L_16 = V_3;
int32_t L_17 = V_8;
ByteU5BU5D_t3397334013* L_18 = V_1;
int32_t L_19 = V_8;
int32_t L_20 = L_19;
uint8_t L_21 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
ByteU5BU5D_t3397334013* L_22 = V_2;
int32_t L_23 = V_8;
int32_t L_24 = L_23;
uint8_t L_25 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
(L_16)->SetAt(static_cast<il2cpp_array_size_t>(L_17), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_21^(int32_t)L_25))))));
int32_t L_26 = V_8;
V_8 = ((int32_t)((int32_t)L_26+(int32_t)1));
}
IL_0093:
{
int32_t L_27 = V_8;
ByteU5BU5D_t3397334013* L_28 = V_3;
if ((!(((uint32_t)L_27) == ((uint32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_28)->max_length))))))))
{
goto IL_007f;
}
}
{
ByteU5BU5D_t3397334013* L_29 = V_3;
uint8_t* L_30 = ((L_29)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)));
*((int8_t*)(L_30)) = (int8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)(*((uint8_t*)L_30))|(int32_t)((int32_t)128))))));
ByteU5BU5D_t3397334013* L_31 = V_3;
uint8_t* L_32 = ((L_31)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)19))));
*((int8_t*)(L_32)) = (int8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)(*((uint8_t*)L_32))|(int32_t)1)))));
ByteU5BU5D_t3397334013* L_33 = V_3;
BigInteger_t925946152 * L_34 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2233526054(L_34, L_33, /*hidden argument*/NULL);
__this->set_q_5(L_34);
BigInteger_t925946152 * L_35 = __this->get_q_5();
bool L_36 = BigInteger_IsProbablePrime_m3945802749(L_35, /*hidden argument*/NULL);
if (!L_36)
{
goto IL_0044;
}
}
{
__this->set_counter_11(0);
V_9 = 2;
goto IL_01f2;
}
IL_00e7:
{
V_10 = 0;
goto IL_0124;
}
IL_00ef:
{
ByteU5BU5D_t3397334013* L_37 = V_1;
ByteU5BU5D_t3397334013* L_38 = V_0;
int32_t L_39 = V_9;
int32_t L_40 = V_10;
DSAManaged_add_m910149930(__this, L_37, L_38, ((int32_t)((int32_t)L_39+(int32_t)L_40)), /*hidden argument*/NULL);
SHA1_t3336793149 * L_41 = V_4;
ByteU5BU5D_t3397334013* L_42 = V_1;
ByteU5BU5D_t3397334013* L_43 = HashAlgorithm_ComputeHash_m3637856778(L_41, L_42, /*hidden argument*/NULL);
V_1 = L_43;
ByteU5BU5D_t3397334013* L_44 = V_1;
ByteU5BU5D_t3397334013* L_45 = V_6;
ByteU5BU5D_t3397334013* L_46 = V_6;
int32_t L_47 = V_10;
ByteU5BU5D_t3397334013* L_48 = V_1;
ByteU5BU5D_t3397334013* L_49 = V_1;
Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_44, 0, (Il2CppArray *)(Il2CppArray *)L_45, ((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_46)->max_length))))-(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_47+(int32_t)1))*(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_48)->max_length)))))))), (((int32_t)((int32_t)(((Il2CppArray *)L_49)->max_length)))), /*hidden argument*/NULL);
int32_t L_50 = V_10;
V_10 = ((int32_t)((int32_t)L_50+(int32_t)1));
}
IL_0124:
{
int32_t L_51 = V_10;
int32_t L_52 = V_5;
if ((((int32_t)L_51) < ((int32_t)L_52)))
{
goto IL_00ef;
}
}
{
ByteU5BU5D_t3397334013* L_53 = V_1;
ByteU5BU5D_t3397334013* L_54 = V_0;
int32_t L_55 = V_9;
int32_t L_56 = V_5;
DSAManaged_add_m910149930(__this, L_53, L_54, ((int32_t)((int32_t)L_55+(int32_t)L_56)), /*hidden argument*/NULL);
SHA1_t3336793149 * L_57 = V_4;
ByteU5BU5D_t3397334013* L_58 = V_1;
ByteU5BU5D_t3397334013* L_59 = HashAlgorithm_ComputeHash_m3637856778(L_57, L_58, /*hidden argument*/NULL);
V_1 = L_59;
ByteU5BU5D_t3397334013* L_60 = V_1;
ByteU5BU5D_t3397334013* L_61 = V_1;
ByteU5BU5D_t3397334013* L_62 = V_6;
int32_t L_63 = V_5;
ByteU5BU5D_t3397334013* L_64 = V_1;
ByteU5BU5D_t3397334013* L_65 = V_6;
ByteU5BU5D_t3397334013* L_66 = V_6;
int32_t L_67 = V_5;
ByteU5BU5D_t3397334013* L_68 = V_1;
Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_60, ((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_61)->max_length))))-(int32_t)((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_62)->max_length))))-(int32_t)((int32_t)((int32_t)L_63*(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_64)->max_length)))))))))), (Il2CppArray *)(Il2CppArray *)L_65, 0, ((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_66)->max_length))))-(int32_t)((int32_t)((int32_t)L_67*(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_68)->max_length)))))))), /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_69 = V_6;
uint8_t* L_70 = ((L_69)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)));
*((int8_t*)(L_70)) = (int8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)(*((uint8_t*)L_70))|(int32_t)((int32_t)128))))));
ByteU5BU5D_t3397334013* L_71 = V_6;
BigInteger_t925946152 * L_72 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2233526054(L_72, L_71, /*hidden argument*/NULL);
V_11 = L_72;
BigInteger_t925946152 * L_73 = V_11;
BigInteger_t925946152 * L_74 = __this->get_q_5();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_75 = BigInteger_op_Multiply_m142859783(NULL /*static, unused*/, L_74, 2, /*hidden argument*/NULL);
BigInteger_t925946152 * L_76 = BigInteger_op_Modulus_m3788401748(NULL /*static, unused*/, L_73, L_75, /*hidden argument*/NULL);
V_12 = L_76;
BigInteger_t925946152 * L_77 = V_11;
BigInteger_t925946152 * L_78 = V_12;
BigInteger_t925946152 * L_79 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, 1, /*hidden argument*/NULL);
BigInteger_t925946152 * L_80 = BigInteger_op_Subtraction_m2941563507(NULL /*static, unused*/, L_78, L_79, /*hidden argument*/NULL);
BigInteger_t925946152 * L_81 = BigInteger_op_Subtraction_m2941563507(NULL /*static, unused*/, L_77, L_80, /*hidden argument*/NULL);
__this->set_p_4(L_81);
BigInteger_t925946152 * L_82 = __this->get_p_4();
int32_t L_83 = ___keyLength0;
bool L_84 = BigInteger_TestBit_m2116575810(L_82, ((int32_t)((int32_t)L_83-(int32_t)1)), /*hidden argument*/NULL);
if (!L_84)
{
goto IL_01db;
}
}
{
BigInteger_t925946152 * L_85 = __this->get_p_4();
bool L_86 = BigInteger_IsProbablePrime_m3945802749(L_85, /*hidden argument*/NULL);
if (!L_86)
{
goto IL_01db;
}
}
{
V_7 = (bool)1;
goto IL_0202;
}
IL_01db:
{
int32_t L_87 = __this->get_counter_11();
__this->set_counter_11(((int32_t)((int32_t)L_87+(int32_t)1)));
int32_t L_88 = V_9;
int32_t L_89 = V_5;
V_9 = ((int32_t)((int32_t)L_88+(int32_t)((int32_t)((int32_t)L_89+(int32_t)1))));
}
IL_01f2:
{
int32_t L_90 = __this->get_counter_11();
if ((((int32_t)L_90) < ((int32_t)((int32_t)4096))))
{
goto IL_00e7;
}
}
IL_0202:
{
bool L_91 = V_7;
if (!L_91)
{
goto IL_0044;
}
}
{
BigInteger_t925946152 * L_92 = __this->get_p_4();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_93 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, 1, /*hidden argument*/NULL);
BigInteger_t925946152 * L_94 = BigInteger_op_Subtraction_m2941563507(NULL /*static, unused*/, L_92, L_93, /*hidden argument*/NULL);
BigInteger_t925946152 * L_95 = __this->get_q_5();
BigInteger_t925946152 * L_96 = BigInteger_op_Division_m1581119694(NULL /*static, unused*/, L_94, L_95, /*hidden argument*/NULL);
V_13 = L_96;
goto IL_029d;
}
IL_022c:
{
int32_t L_97 = ___keyLength0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_98 = BigInteger_GenerateRandom_m2507308768(NULL /*static, unused*/, L_97, /*hidden argument*/NULL);
V_14 = L_98;
BigInteger_t925946152 * L_99 = V_14;
BigInteger_t925946152 * L_100 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, 1, /*hidden argument*/NULL);
bool L_101 = BigInteger_op_LessThanOrEqual_m1986506530(NULL /*static, unused*/, L_99, L_100, /*hidden argument*/NULL);
if (L_101)
{
goto IL_0263;
}
}
{
BigInteger_t925946152 * L_102 = V_14;
BigInteger_t925946152 * L_103 = __this->get_p_4();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_104 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, 1, /*hidden argument*/NULL);
BigInteger_t925946152 * L_105 = BigInteger_op_Subtraction_m2941563507(NULL /*static, unused*/, L_103, L_104, /*hidden argument*/NULL);
bool L_106 = BigInteger_op_GreaterThanOrEqual_m1998498565(NULL /*static, unused*/, L_102, L_105, /*hidden argument*/NULL);
if (!L_106)
{
goto IL_0268;
}
}
IL_0263:
{
goto IL_029d;
}
IL_0268:
{
BigInteger_t925946152 * L_107 = V_14;
BigInteger_t925946152 * L_108 = V_13;
BigInteger_t925946152 * L_109 = __this->get_p_4();
BigInteger_t925946152 * L_110 = BigInteger_ModPow_m887553845(L_107, L_108, L_109, /*hidden argument*/NULL);
__this->set_g_6(L_110);
BigInteger_t925946152 * L_111 = __this->get_g_6();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_112 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, 1, /*hidden argument*/NULL);
bool L_113 = BigInteger_op_LessThanOrEqual_m1986506530(NULL /*static, unused*/, L_111, L_112, /*hidden argument*/NULL);
if (!L_113)
{
goto IL_0298;
}
}
{
goto IL_029d;
}
IL_0298:
{
goto IL_02a2;
}
IL_029d:
{
goto IL_022c;
}
IL_02a2:
{
ByteU5BU5D_t3397334013* L_114 = V_0;
BigInteger_t925946152 * L_115 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2233526054(L_115, L_114, /*hidden argument*/NULL);
__this->set_seed_10(L_115);
BigInteger_t925946152 * L_116 = __this->get_p_4();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_117 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, 1, /*hidden argument*/NULL);
BigInteger_t925946152 * L_118 = BigInteger_op_Subtraction_m2941563507(NULL /*static, unused*/, L_116, L_117, /*hidden argument*/NULL);
BigInteger_t925946152 * L_119 = __this->get_q_5();
BigInteger_t925946152 * L_120 = BigInteger_op_Division_m1581119694(NULL /*static, unused*/, L_118, L_119, /*hidden argument*/NULL);
__this->set_j_9(L_120);
return;
}
}
// System.Security.Cryptography.RandomNumberGenerator Mono.Security.Cryptography.DSAManaged::get_Random()
extern "C" RandomNumberGenerator_t2510243513 * DSAManaged_get_Random_m1992022707 (DSAManaged_t892502321 * __this, const MethodInfo* method)
{
{
RandomNumberGenerator_t2510243513 * L_0 = __this->get_rng_13();
if (L_0)
{
goto IL_0016;
}
}
{
RandomNumberGenerator_t2510243513 * L_1 = RandomNumberGenerator_Create_m2275686895(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_rng_13(L_1);
}
IL_0016:
{
RandomNumberGenerator_t2510243513 * L_2 = __this->get_rng_13();
return L_2;
}
}
// System.Int32 Mono.Security.Cryptography.DSAManaged::get_KeySize()
extern "C" int32_t DSAManaged_get_KeySize_m3029954771 (DSAManaged_t892502321 * __this, const MethodInfo* method)
{
{
bool L_0 = __this->get_keypairGenerated_2();
if (!L_0)
{
goto IL_0017;
}
}
{
BigInteger_t925946152 * L_1 = __this->get_p_4();
int32_t L_2 = BigInteger_BitCount_m3320427467(L_1, /*hidden argument*/NULL);
return L_2;
}
IL_0017:
{
int32_t L_3 = AsymmetricAlgorithm_get_KeySize_m566706127(__this, /*hidden argument*/NULL);
return L_3;
}
}
// System.Boolean Mono.Security.Cryptography.DSAManaged::get_PublicOnly()
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t DSAManaged_get_PublicOnly_m1397398436_MetadataUsageId;
extern "C" bool DSAManaged_get_PublicOnly_m1397398436 (DSAManaged_t892502321 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (DSAManaged_get_PublicOnly_m1397398436_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t G_B3_0 = 0;
{
bool L_0 = __this->get_keypairGenerated_2();
if (!L_0)
{
goto IL_0019;
}
}
{
BigInteger_t925946152 * L_1 = __this->get_x_7();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_2 = BigInteger_op_Equality_m366854173(NULL /*static, unused*/, L_1, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
G_B3_0 = ((int32_t)(L_2));
goto IL_001a;
}
IL_0019:
{
G_B3_0 = 0;
}
IL_001a:
{
return (bool)G_B3_0;
}
}
// System.Byte[] Mono.Security.Cryptography.DSAManaged::NormalizeArray(System.Byte[])
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t DSAManaged_NormalizeArray_m2287089393_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* DSAManaged_NormalizeArray_m2287089393 (DSAManaged_t892502321 * __this, ByteU5BU5D_t3397334013* ___array0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (DSAManaged_NormalizeArray_m2287089393_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
ByteU5BU5D_t3397334013* V_1 = NULL;
{
ByteU5BU5D_t3397334013* L_0 = ___array0;
V_0 = ((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_0)->max_length))))%(int32_t)4));
int32_t L_1 = V_0;
if ((((int32_t)L_1) <= ((int32_t)0)))
{
goto IL_002a;
}
}
{
ByteU5BU5D_t3397334013* L_2 = ___array0;
int32_t L_3 = V_0;
V_1 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_2)->max_length))))+(int32_t)4))-(int32_t)L_3))));
ByteU5BU5D_t3397334013* L_4 = ___array0;
ByteU5BU5D_t3397334013* L_5 = V_1;
int32_t L_6 = V_0;
ByteU5BU5D_t3397334013* L_7 = ___array0;
Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_4, 0, (Il2CppArray *)(Il2CppArray *)L_5, ((int32_t)((int32_t)4-(int32_t)L_6)), (((int32_t)((int32_t)(((Il2CppArray *)L_7)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_8 = V_1;
return L_8;
}
IL_002a:
{
ByteU5BU5D_t3397334013* L_9 = ___array0;
return L_9;
}
}
// System.Security.Cryptography.DSAParameters Mono.Security.Cryptography.DSAManaged::ExportParameters(System.Boolean)
extern Il2CppClass* ObjectDisposedException_t2695136451_il2cpp_TypeInfo_var;
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppClass* DSAParameters_t1872138834_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral216748811;
extern Il2CppCodeGenString* _stringLiteral1279300048;
extern const uint32_t DSAManaged_ExportParameters_m727133363_MetadataUsageId;
extern "C" DSAParameters_t1872138834 DSAManaged_ExportParameters_m727133363 (DSAManaged_t892502321 * __this, bool ___includePrivateParameters0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (DSAManaged_ExportParameters_m727133363_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
DSAParameters_t1872138834 V_0;
memset(&V_0, 0, sizeof(V_0));
ByteU5BU5D_t3397334013* V_1 = NULL;
{
bool L_0 = __this->get_m_disposed_3();
if (!L_0)
{
goto IL_001b;
}
}
{
String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral216748811, /*hidden argument*/NULL);
ObjectDisposedException_t2695136451 * L_2 = (ObjectDisposedException_t2695136451 *)il2cpp_codegen_object_new(ObjectDisposedException_t2695136451_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3156784572(L_2, L_1, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2);
}
IL_001b:
{
bool L_3 = __this->get_keypairGenerated_2();
if (L_3)
{
goto IL_002c;
}
}
{
DSAManaged_Generate_m3166917081(__this, /*hidden argument*/NULL);
}
IL_002c:
{
bool L_4 = ___includePrivateParameters0;
if (!L_4)
{
goto IL_004e;
}
}
{
BigInteger_t925946152 * L_5 = __this->get_x_7();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_6 = BigInteger_op_Equality_m366854173(NULL /*static, unused*/, L_5, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_004e;
}
}
{
CryptographicException_t3349726436 * L_7 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_7, _stringLiteral1279300048, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_7);
}
IL_004e:
{
Initobj (DSAParameters_t1872138834_il2cpp_TypeInfo_var, (&V_0));
BigInteger_t925946152 * L_8 = __this->get_p_4();
ByteU5BU5D_t3397334013* L_9 = BigInteger_GetBytes_m2935282248(L_8, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_10 = DSAManaged_NormalizeArray_m2287089393(__this, L_9, /*hidden argument*/NULL);
(&V_0)->set_P_3(L_10);
BigInteger_t925946152 * L_11 = __this->get_q_5();
ByteU5BU5D_t3397334013* L_12 = BigInteger_GetBytes_m2935282248(L_11, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_13 = DSAManaged_NormalizeArray_m2287089393(__this, L_12, /*hidden argument*/NULL);
(&V_0)->set_Q_4(L_13);
BigInteger_t925946152 * L_14 = __this->get_g_6();
ByteU5BU5D_t3397334013* L_15 = BigInteger_GetBytes_m2935282248(L_14, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_16 = DSAManaged_NormalizeArray_m2287089393(__this, L_15, /*hidden argument*/NULL);
(&V_0)->set_G_1(L_16);
BigInteger_t925946152 * L_17 = __this->get_y_8();
ByteU5BU5D_t3397334013* L_18 = BigInteger_GetBytes_m2935282248(L_17, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_19 = DSAManaged_NormalizeArray_m2287089393(__this, L_18, /*hidden argument*/NULL);
(&V_0)->set_Y_7(L_19);
bool L_20 = __this->get_j_missing_12();
if (L_20)
{
goto IL_00d9;
}
}
{
BigInteger_t925946152 * L_21 = __this->get_j_9();
ByteU5BU5D_t3397334013* L_22 = BigInteger_GetBytes_m2935282248(L_21, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_23 = DSAManaged_NormalizeArray_m2287089393(__this, L_22, /*hidden argument*/NULL);
(&V_0)->set_J_2(L_23);
}
IL_00d9:
{
BigInteger_t925946152 * L_24 = __this->get_seed_10();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_25 = BigInteger_op_Inequality_m628223799(NULL /*static, unused*/, L_24, 0, /*hidden argument*/NULL);
if (!L_25)
{
goto IL_010f;
}
}
{
BigInteger_t925946152 * L_26 = __this->get_seed_10();
ByteU5BU5D_t3397334013* L_27 = BigInteger_GetBytes_m2935282248(L_26, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_28 = DSAManaged_NormalizeArray_m2287089393(__this, L_27, /*hidden argument*/NULL);
(&V_0)->set_Seed_5(L_28);
int32_t L_29 = __this->get_counter_11();
(&V_0)->set_Counter_0(L_29);
}
IL_010f:
{
bool L_30 = ___includePrivateParameters0;
if (!L_30)
{
goto IL_0139;
}
}
{
BigInteger_t925946152 * L_31 = __this->get_x_7();
ByteU5BU5D_t3397334013* L_32 = BigInteger_GetBytes_m2935282248(L_31, /*hidden argument*/NULL);
V_1 = L_32;
ByteU5BU5D_t3397334013* L_33 = V_1;
if ((!(((uint32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_33)->max_length))))) == ((uint32_t)((int32_t)20)))))
{
goto IL_0139;
}
}
{
ByteU5BU5D_t3397334013* L_34 = V_1;
ByteU5BU5D_t3397334013* L_35 = DSAManaged_NormalizeArray_m2287089393(__this, L_34, /*hidden argument*/NULL);
(&V_0)->set_X_6(L_35);
}
IL_0139:
{
DSAParameters_t1872138834 L_36 = V_0;
return L_36;
}
}
// System.Void Mono.Security.Cryptography.DSAManaged::ImportParameters(System.Security.Cryptography.DSAParameters)
extern Il2CppClass* ObjectDisposedException_t2695136451_il2cpp_TypeInfo_var;
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral216748811;
extern Il2CppCodeGenString* _stringLiteral2708415435;
extern Il2CppCodeGenString* _stringLiteral1348138961;
extern const uint32_t DSAManaged_ImportParameters_m987307570_MetadataUsageId;
extern "C" void DSAManaged_ImportParameters_m987307570 (DSAManaged_t892502321 * __this, DSAParameters_t1872138834 ___parameters0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (DSAManaged_ImportParameters_m987307570_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
bool L_0 = __this->get_m_disposed_3();
if (!L_0)
{
goto IL_001b;
}
}
{
String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral216748811, /*hidden argument*/NULL);
ObjectDisposedException_t2695136451 * L_2 = (ObjectDisposedException_t2695136451 *)il2cpp_codegen_object_new(ObjectDisposedException_t2695136451_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3156784572(L_2, L_1, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2);
}
IL_001b:
{
ByteU5BU5D_t3397334013* L_3 = (&___parameters0)->get_P_3();
if (!L_3)
{
goto IL_003f;
}
}
{
ByteU5BU5D_t3397334013* L_4 = (&___parameters0)->get_Q_4();
if (!L_4)
{
goto IL_003f;
}
}
{
ByteU5BU5D_t3397334013* L_5 = (&___parameters0)->get_G_1();
if (L_5)
{
goto IL_004f;
}
}
IL_003f:
{
String_t* L_6 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2708415435, /*hidden argument*/NULL);
CryptographicException_t3349726436 * L_7 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_7, L_6, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_7);
}
IL_004f:
{
ByteU5BU5D_t3397334013* L_8 = (&___parameters0)->get_X_6();
if (L_8)
{
goto IL_0077;
}
}
{
ByteU5BU5D_t3397334013* L_9 = (&___parameters0)->get_Y_7();
if (L_9)
{
goto IL_0077;
}
}
{
String_t* L_10 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1348138961, /*hidden argument*/NULL);
CryptographicException_t3349726436 * L_11 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_11, L_10, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_11);
}
IL_0077:
{
ByteU5BU5D_t3397334013* L_12 = (&___parameters0)->get_P_3();
BigInteger_t925946152 * L_13 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2233526054(L_13, L_12, /*hidden argument*/NULL);
__this->set_p_4(L_13);
ByteU5BU5D_t3397334013* L_14 = (&___parameters0)->get_Q_4();
BigInteger_t925946152 * L_15 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2233526054(L_15, L_14, /*hidden argument*/NULL);
__this->set_q_5(L_15);
ByteU5BU5D_t3397334013* L_16 = (&___parameters0)->get_G_1();
BigInteger_t925946152 * L_17 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2233526054(L_17, L_16, /*hidden argument*/NULL);
__this->set_g_6(L_17);
ByteU5BU5D_t3397334013* L_18 = (&___parameters0)->get_X_6();
if (!L_18)
{
goto IL_00d0;
}
}
{
ByteU5BU5D_t3397334013* L_19 = (&___parameters0)->get_X_6();
BigInteger_t925946152 * L_20 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2233526054(L_20, L_19, /*hidden argument*/NULL);
__this->set_x_7(L_20);
goto IL_00d7;
}
IL_00d0:
{
__this->set_x_7((BigInteger_t925946152 *)NULL);
}
IL_00d7:
{
ByteU5BU5D_t3397334013* L_21 = (&___parameters0)->get_Y_7();
if (!L_21)
{
goto IL_00fa;
}
}
{
ByteU5BU5D_t3397334013* L_22 = (&___parameters0)->get_Y_7();
BigInteger_t925946152 * L_23 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2233526054(L_23, L_22, /*hidden argument*/NULL);
__this->set_y_8(L_23);
goto IL_0117;
}
IL_00fa:
{
BigInteger_t925946152 * L_24 = __this->get_g_6();
BigInteger_t925946152 * L_25 = __this->get_x_7();
BigInteger_t925946152 * L_26 = __this->get_p_4();
BigInteger_t925946152 * L_27 = BigInteger_ModPow_m887553845(L_24, L_25, L_26, /*hidden argument*/NULL);
__this->set_y_8(L_27);
}
IL_0117:
{
ByteU5BU5D_t3397334013* L_28 = (&___parameters0)->get_J_2();
if (!L_28)
{
goto IL_013a;
}
}
{
ByteU5BU5D_t3397334013* L_29 = (&___parameters0)->get_J_2();
BigInteger_t925946152 * L_30 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2233526054(L_30, L_29, /*hidden argument*/NULL);
__this->set_j_9(L_30);
goto IL_0163;
}
IL_013a:
{
BigInteger_t925946152 * L_31 = __this->get_p_4();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_32 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, 1, /*hidden argument*/NULL);
BigInteger_t925946152 * L_33 = BigInteger_op_Subtraction_m2941563507(NULL /*static, unused*/, L_31, L_32, /*hidden argument*/NULL);
BigInteger_t925946152 * L_34 = __this->get_q_5();
BigInteger_t925946152 * L_35 = BigInteger_op_Division_m1581119694(NULL /*static, unused*/, L_33, L_34, /*hidden argument*/NULL);
__this->set_j_9(L_35);
__this->set_j_missing_12((bool)1);
}
IL_0163:
{
ByteU5BU5D_t3397334013* L_36 = (&___parameters0)->get_Seed_5();
if (!L_36)
{
goto IL_0193;
}
}
{
ByteU5BU5D_t3397334013* L_37 = (&___parameters0)->get_Seed_5();
BigInteger_t925946152 * L_38 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2233526054(L_38, L_37, /*hidden argument*/NULL);
__this->set_seed_10(L_38);
int32_t L_39 = (&___parameters0)->get_Counter_0();
__this->set_counter_11(L_39);
goto IL_019f;
}
IL_0193:
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_40 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, 0, /*hidden argument*/NULL);
__this->set_seed_10(L_40);
}
IL_019f:
{
__this->set_keypairGenerated_2((bool)1);
return;
}
}
// System.Byte[] Mono.Security.Cryptography.DSAManaged::CreateSignature(System.Byte[])
extern Il2CppClass* ObjectDisposedException_t2695136451_il2cpp_TypeInfo_var;
extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var;
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral216748811;
extern Il2CppCodeGenString* _stringLiteral651048505;
extern Il2CppCodeGenString* _stringLiteral3814982511;
extern Il2CppCodeGenString* _stringLiteral130266973;
extern const uint32_t DSAManaged_CreateSignature_m1139224029_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* DSAManaged_CreateSignature_m1139224029 (DSAManaged_t892502321 * __this, ByteU5BU5D_t3397334013* ___rgbHash0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (DSAManaged_CreateSignature_m1139224029_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
BigInteger_t925946152 * V_0 = NULL;
BigInteger_t925946152 * V_1 = NULL;
BigInteger_t925946152 * V_2 = NULL;
BigInteger_t925946152 * V_3 = NULL;
ByteU5BU5D_t3397334013* V_4 = NULL;
ByteU5BU5D_t3397334013* V_5 = NULL;
ByteU5BU5D_t3397334013* V_6 = NULL;
int32_t V_7 = 0;
{
bool L_0 = __this->get_m_disposed_3();
if (!L_0)
{
goto IL_001b;
}
}
{
String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral216748811, /*hidden argument*/NULL);
ObjectDisposedException_t2695136451 * L_2 = (ObjectDisposedException_t2695136451 *)il2cpp_codegen_object_new(ObjectDisposedException_t2695136451_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3156784572(L_2, L_1, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2);
}
IL_001b:
{
ByteU5BU5D_t3397334013* L_3 = ___rgbHash0;
if (L_3)
{
goto IL_002c;
}
}
{
ArgumentNullException_t628810857 * L_4 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m3380712306(L_4, _stringLiteral651048505, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4);
}
IL_002c:
{
ByteU5BU5D_t3397334013* L_5 = ___rgbHash0;
if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_5)->max_length))))) == ((int32_t)((int32_t)20))))
{
goto IL_0041;
}
}
{
CryptographicException_t3349726436 * L_6 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_6, _stringLiteral3814982511, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6);
}
IL_0041:
{
bool L_7 = __this->get_keypairGenerated_2();
if (L_7)
{
goto IL_0052;
}
}
{
DSAManaged_Generate_m3166917081(__this, /*hidden argument*/NULL);
}
IL_0052:
{
BigInteger_t925946152 * L_8 = __this->get_x_7();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_9 = BigInteger_op_Equality_m366854173(NULL /*static, unused*/, L_8, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
if (!L_9)
{
goto IL_006e;
}
}
{
CryptographicException_t3349726436 * L_10 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_10, _stringLiteral130266973, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_10);
}
IL_006e:
{
ByteU5BU5D_t3397334013* L_11 = ___rgbHash0;
BigInteger_t925946152 * L_12 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2233526054(L_12, L_11, /*hidden argument*/NULL);
V_0 = L_12;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_13 = BigInteger_GenerateRandom_m2507308768(NULL /*static, unused*/, ((int32_t)160), /*hidden argument*/NULL);
V_1 = L_13;
goto IL_008b;
}
IL_0085:
{
BigInteger_t925946152 * L_14 = V_1;
BigInteger_Randomize_m4237512560(L_14, /*hidden argument*/NULL);
}
IL_008b:
{
BigInteger_t925946152 * L_15 = V_1;
BigInteger_t925946152 * L_16 = __this->get_q_5();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_17 = BigInteger_op_GreaterThanOrEqual_m1998498565(NULL /*static, unused*/, L_15, L_16, /*hidden argument*/NULL);
if (L_17)
{
goto IL_0085;
}
}
{
BigInteger_t925946152 * L_18 = __this->get_g_6();
BigInteger_t925946152 * L_19 = V_1;
BigInteger_t925946152 * L_20 = __this->get_p_4();
BigInteger_t925946152 * L_21 = BigInteger_ModPow_m887553845(L_18, L_19, L_20, /*hidden argument*/NULL);
BigInteger_t925946152 * L_22 = __this->get_q_5();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_23 = BigInteger_op_Modulus_m3788401748(NULL /*static, unused*/, L_21, L_22, /*hidden argument*/NULL);
V_2 = L_23;
BigInteger_t925946152 * L_24 = V_1;
BigInteger_t925946152 * L_25 = __this->get_q_5();
BigInteger_t925946152 * L_26 = BigInteger_ModInverse_m506185746(L_24, L_25, /*hidden argument*/NULL);
BigInteger_t925946152 * L_27 = V_0;
BigInteger_t925946152 * L_28 = __this->get_x_7();
BigInteger_t925946152 * L_29 = V_2;
BigInteger_t925946152 * L_30 = BigInteger_op_Multiply_m3289461939(NULL /*static, unused*/, L_28, L_29, /*hidden argument*/NULL);
BigInteger_t925946152 * L_31 = BigInteger_op_Addition_m1196561843(NULL /*static, unused*/, L_27, L_30, /*hidden argument*/NULL);
BigInteger_t925946152 * L_32 = BigInteger_op_Multiply_m3289461939(NULL /*static, unused*/, L_26, L_31, /*hidden argument*/NULL);
BigInteger_t925946152 * L_33 = __this->get_q_5();
BigInteger_t925946152 * L_34 = BigInteger_op_Modulus_m3788401748(NULL /*static, unused*/, L_32, L_33, /*hidden argument*/NULL);
V_3 = L_34;
V_4 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)40)));
BigInteger_t925946152 * L_35 = V_2;
ByteU5BU5D_t3397334013* L_36 = BigInteger_GetBytes_m2935282248(L_35, /*hidden argument*/NULL);
V_5 = L_36;
BigInteger_t925946152 * L_37 = V_3;
ByteU5BU5D_t3397334013* L_38 = BigInteger_GetBytes_m2935282248(L_37, /*hidden argument*/NULL);
V_6 = L_38;
ByteU5BU5D_t3397334013* L_39 = V_5;
V_7 = ((int32_t)((int32_t)((int32_t)20)-(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_39)->max_length))))));
ByteU5BU5D_t3397334013* L_40 = V_5;
ByteU5BU5D_t3397334013* L_41 = V_4;
int32_t L_42 = V_7;
ByteU5BU5D_t3397334013* L_43 = V_5;
Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_40, 0, (Il2CppArray *)(Il2CppArray *)L_41, L_42, (((int32_t)((int32_t)(((Il2CppArray *)L_43)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_44 = V_6;
V_7 = ((int32_t)((int32_t)((int32_t)40)-(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_44)->max_length))))));
ByteU5BU5D_t3397334013* L_45 = V_6;
ByteU5BU5D_t3397334013* L_46 = V_4;
int32_t L_47 = V_7;
ByteU5BU5D_t3397334013* L_48 = V_6;
Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_45, 0, (Il2CppArray *)(Il2CppArray *)L_46, L_47, (((int32_t)((int32_t)(((Il2CppArray *)L_48)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_49 = V_4;
return L_49;
}
}
// System.Boolean Mono.Security.Cryptography.DSAManaged::VerifySignature(System.Byte[],System.Byte[])
extern Il2CppClass* ObjectDisposedException_t2695136451_il2cpp_TypeInfo_var;
extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var;
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern Il2CppClass* Il2CppObject_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral216748811;
extern Il2CppCodeGenString* _stringLiteral651048505;
extern Il2CppCodeGenString* _stringLiteral4199376247;
extern Il2CppCodeGenString* _stringLiteral3814982511;
extern Il2CppCodeGenString* _stringLiteral3263387401;
extern Il2CppCodeGenString* _stringLiteral3520568202;
extern const uint32_t DSAManaged_VerifySignature_m2580707953_MetadataUsageId;
extern "C" bool DSAManaged_VerifySignature_m2580707953 (DSAManaged_t892502321 * __this, ByteU5BU5D_t3397334013* ___rgbHash0, ByteU5BU5D_t3397334013* ___rgbSignature1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (DSAManaged_VerifySignature_m2580707953_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
BigInteger_t925946152 * V_0 = NULL;
ByteU5BU5D_t3397334013* V_1 = NULL;
BigInteger_t925946152 * V_2 = NULL;
BigInteger_t925946152 * V_3 = NULL;
BigInteger_t925946152 * V_4 = NULL;
BigInteger_t925946152 * V_5 = NULL;
BigInteger_t925946152 * V_6 = NULL;
BigInteger_t925946152 * V_7 = NULL;
bool V_8 = 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);
{
bool L_0 = __this->get_m_disposed_3();
if (!L_0)
{
goto IL_001b;
}
}
{
String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral216748811, /*hidden argument*/NULL);
ObjectDisposedException_t2695136451 * L_2 = (ObjectDisposedException_t2695136451 *)il2cpp_codegen_object_new(ObjectDisposedException_t2695136451_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3156784572(L_2, L_1, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2);
}
IL_001b:
{
ByteU5BU5D_t3397334013* L_3 = ___rgbHash0;
if (L_3)
{
goto IL_002c;
}
}
{
ArgumentNullException_t628810857 * L_4 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m3380712306(L_4, _stringLiteral651048505, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4);
}
IL_002c:
{
ByteU5BU5D_t3397334013* L_5 = ___rgbSignature1;
if (L_5)
{
goto IL_003d;
}
}
{
ArgumentNullException_t628810857 * L_6 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m3380712306(L_6, _stringLiteral4199376247, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6);
}
IL_003d:
{
ByteU5BU5D_t3397334013* L_7 = ___rgbHash0;
if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_7)->max_length))))) == ((int32_t)((int32_t)20))))
{
goto IL_0052;
}
}
{
CryptographicException_t3349726436 * L_8 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_8, _stringLiteral3814982511, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8);
}
IL_0052:
{
ByteU5BU5D_t3397334013* L_9 = ___rgbSignature1;
if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_9)->max_length))))) == ((int32_t)((int32_t)40))))
{
goto IL_0067;
}
}
{
CryptographicException_t3349726436 * L_10 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_10, _stringLiteral3263387401, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_10);
}
IL_0067:
{
bool L_11 = __this->get_keypairGenerated_2();
if (L_11)
{
goto IL_0074;
}
}
{
return (bool)0;
}
IL_0074:
try
{ // begin try (depth: 1)
{
ByteU5BU5D_t3397334013* L_12 = ___rgbHash0;
BigInteger_t925946152 * L_13 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2233526054(L_13, L_12, /*hidden argument*/NULL);
V_0 = L_13;
V_1 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)20)));
ByteU5BU5D_t3397334013* L_14 = ___rgbSignature1;
ByteU5BU5D_t3397334013* L_15 = V_1;
Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_14, 0, (Il2CppArray *)(Il2CppArray *)L_15, 0, ((int32_t)20), /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_16 = V_1;
BigInteger_t925946152 * L_17 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2233526054(L_17, L_16, /*hidden argument*/NULL);
V_2 = L_17;
ByteU5BU5D_t3397334013* L_18 = ___rgbSignature1;
ByteU5BU5D_t3397334013* L_19 = V_1;
Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_18, ((int32_t)20), (Il2CppArray *)(Il2CppArray *)L_19, 0, ((int32_t)20), /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_20 = V_1;
BigInteger_t925946152 * L_21 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2233526054(L_21, L_20, /*hidden argument*/NULL);
V_3 = L_21;
BigInteger_t925946152 * L_22 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_23 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, 0, /*hidden argument*/NULL);
bool L_24 = BigInteger_op_LessThan_m3575820387(NULL /*static, unused*/, L_22, L_23, /*hidden argument*/NULL);
if (L_24)
{
goto IL_00ca;
}
}
IL_00b9:
{
BigInteger_t925946152 * L_25 = __this->get_q_5();
BigInteger_t925946152 * L_26 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_27 = BigInteger_op_LessThanOrEqual_m1986506530(NULL /*static, unused*/, L_25, L_26, /*hidden argument*/NULL);
if (!L_27)
{
goto IL_00d2;
}
}
IL_00ca:
{
V_8 = (bool)0;
goto IL_01a4;
}
IL_00d2:
{
BigInteger_t925946152 * L_28 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_29 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, 0, /*hidden argument*/NULL);
bool L_30 = BigInteger_op_LessThan_m3575820387(NULL /*static, unused*/, L_28, L_29, /*hidden argument*/NULL);
if (L_30)
{
goto IL_00f4;
}
}
IL_00e3:
{
BigInteger_t925946152 * L_31 = __this->get_q_5();
BigInteger_t925946152 * L_32 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_33 = BigInteger_op_LessThanOrEqual_m1986506530(NULL /*static, unused*/, L_31, L_32, /*hidden argument*/NULL);
if (!L_33)
{
goto IL_00fc;
}
}
IL_00f4:
{
V_8 = (bool)0;
goto IL_01a4;
}
IL_00fc:
{
BigInteger_t925946152 * L_34 = V_3;
BigInteger_t925946152 * L_35 = __this->get_q_5();
BigInteger_t925946152 * L_36 = BigInteger_ModInverse_m506185746(L_34, L_35, /*hidden argument*/NULL);
V_4 = L_36;
BigInteger_t925946152 * L_37 = V_0;
BigInteger_t925946152 * L_38 = V_4;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_39 = BigInteger_op_Multiply_m3289461939(NULL /*static, unused*/, L_37, L_38, /*hidden argument*/NULL);
BigInteger_t925946152 * L_40 = __this->get_q_5();
BigInteger_t925946152 * L_41 = BigInteger_op_Modulus_m3788401748(NULL /*static, unused*/, L_39, L_40, /*hidden argument*/NULL);
V_5 = L_41;
BigInteger_t925946152 * L_42 = V_2;
BigInteger_t925946152 * L_43 = V_4;
BigInteger_t925946152 * L_44 = BigInteger_op_Multiply_m3289461939(NULL /*static, unused*/, L_42, L_43, /*hidden argument*/NULL);
BigInteger_t925946152 * L_45 = __this->get_q_5();
BigInteger_t925946152 * L_46 = BigInteger_op_Modulus_m3788401748(NULL /*static, unused*/, L_44, L_45, /*hidden argument*/NULL);
V_6 = L_46;
BigInteger_t925946152 * L_47 = __this->get_g_6();
BigInteger_t925946152 * L_48 = V_5;
BigInteger_t925946152 * L_49 = __this->get_p_4();
BigInteger_t925946152 * L_50 = BigInteger_ModPow_m887553845(L_47, L_48, L_49, /*hidden argument*/NULL);
V_5 = L_50;
BigInteger_t925946152 * L_51 = __this->get_y_8();
BigInteger_t925946152 * L_52 = V_6;
BigInteger_t925946152 * L_53 = __this->get_p_4();
BigInteger_t925946152 * L_54 = BigInteger_ModPow_m887553845(L_51, L_52, L_53, /*hidden argument*/NULL);
V_6 = L_54;
BigInteger_t925946152 * L_55 = V_5;
BigInteger_t925946152 * L_56 = V_6;
BigInteger_t925946152 * L_57 = BigInteger_op_Multiply_m3289461939(NULL /*static, unused*/, L_55, L_56, /*hidden argument*/NULL);
BigInteger_t925946152 * L_58 = __this->get_p_4();
BigInteger_t925946152 * L_59 = BigInteger_op_Modulus_m3788401748(NULL /*static, unused*/, L_57, L_58, /*hidden argument*/NULL);
BigInteger_t925946152 * L_60 = __this->get_q_5();
BigInteger_t925946152 * L_61 = BigInteger_op_Modulus_m3788401748(NULL /*static, unused*/, L_59, L_60, /*hidden argument*/NULL);
V_7 = L_61;
BigInteger_t925946152 * L_62 = V_7;
BigInteger_t925946152 * L_63 = V_2;
bool L_64 = BigInteger_op_Equality_m366854173(NULL /*static, unused*/, L_62, L_63, /*hidden argument*/NULL);
V_8 = L_64;
goto IL_01a4;
}
IL_018e:
{
; // IL_018e: leave IL_01a4
}
} // 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_0193;
throw e;
}
CATCH_0193:
{ // begin catch(System.Object)
{
CryptographicException_t3349726436 * L_65 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_65, _stringLiteral3520568202, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_65);
}
IL_019f:
{
goto IL_01a4;
}
} // end catch (depth: 1)
IL_01a4:
{
bool L_66 = V_8;
return L_66;
}
}
// System.Void Mono.Security.Cryptography.DSAManaged::Dispose(System.Boolean)
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t DSAManaged_Dispose_m4084007120_MetadataUsageId;
extern "C" void DSAManaged_Dispose_m4084007120 (DSAManaged_t892502321 * __this, bool ___disposing0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (DSAManaged_Dispose_m4084007120_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
bool L_0 = __this->get_m_disposed_3();
if (L_0)
{
goto IL_0106;
}
}
{
BigInteger_t925946152 * L_1 = __this->get_x_7();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_2 = BigInteger_op_Inequality_m1442635028(NULL /*static, unused*/, L_1, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_002e;
}
}
{
BigInteger_t925946152 * L_3 = __this->get_x_7();
BigInteger_Clear_m433805134(L_3, /*hidden argument*/NULL);
__this->set_x_7((BigInteger_t925946152 *)NULL);
}
IL_002e:
{
bool L_4 = ___disposing0;
if (!L_4)
{
goto IL_0106;
}
}
{
BigInteger_t925946152 * L_5 = __this->get_p_4();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_6 = BigInteger_op_Inequality_m1442635028(NULL /*static, unused*/, L_5, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_0057;
}
}
{
BigInteger_t925946152 * L_7 = __this->get_p_4();
BigInteger_Clear_m433805134(L_7, /*hidden argument*/NULL);
__this->set_p_4((BigInteger_t925946152 *)NULL);
}
IL_0057:
{
BigInteger_t925946152 * L_8 = __this->get_q_5();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_9 = BigInteger_op_Inequality_m1442635028(NULL /*static, unused*/, L_8, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
if (!L_9)
{
goto IL_007a;
}
}
{
BigInteger_t925946152 * L_10 = __this->get_q_5();
BigInteger_Clear_m433805134(L_10, /*hidden argument*/NULL);
__this->set_q_5((BigInteger_t925946152 *)NULL);
}
IL_007a:
{
BigInteger_t925946152 * L_11 = __this->get_g_6();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_12 = BigInteger_op_Inequality_m1442635028(NULL /*static, unused*/, L_11, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
if (!L_12)
{
goto IL_009d;
}
}
{
BigInteger_t925946152 * L_13 = __this->get_g_6();
BigInteger_Clear_m433805134(L_13, /*hidden argument*/NULL);
__this->set_g_6((BigInteger_t925946152 *)NULL);
}
IL_009d:
{
BigInteger_t925946152 * L_14 = __this->get_j_9();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_15 = BigInteger_op_Inequality_m1442635028(NULL /*static, unused*/, L_14, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
if (!L_15)
{
goto IL_00c0;
}
}
{
BigInteger_t925946152 * L_16 = __this->get_j_9();
BigInteger_Clear_m433805134(L_16, /*hidden argument*/NULL);
__this->set_j_9((BigInteger_t925946152 *)NULL);
}
IL_00c0:
{
BigInteger_t925946152 * L_17 = __this->get_seed_10();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_18 = BigInteger_op_Inequality_m1442635028(NULL /*static, unused*/, L_17, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
if (!L_18)
{
goto IL_00e3;
}
}
{
BigInteger_t925946152 * L_19 = __this->get_seed_10();
BigInteger_Clear_m433805134(L_19, /*hidden argument*/NULL);
__this->set_seed_10((BigInteger_t925946152 *)NULL);
}
IL_00e3:
{
BigInteger_t925946152 * L_20 = __this->get_y_8();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_21 = BigInteger_op_Inequality_m1442635028(NULL /*static, unused*/, L_20, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
if (!L_21)
{
goto IL_0106;
}
}
{
BigInteger_t925946152 * L_22 = __this->get_y_8();
BigInteger_Clear_m433805134(L_22, /*hidden argument*/NULL);
__this->set_y_8((BigInteger_t925946152 *)NULL);
}
IL_0106:
{
__this->set_m_disposed_3((bool)1);
return;
}
}
// System.Void Mono.Security.Cryptography.DSAManaged/KeyGeneratedEventHandler::.ctor(System.Object,System.IntPtr)
extern "C" void KeyGeneratedEventHandler__ctor_m553546121 (KeyGeneratedEventHandler_t2001522803 * __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 Mono.Security.Cryptography.DSAManaged/KeyGeneratedEventHandler::Invoke(System.Object,System.EventArgs)
extern "C" void KeyGeneratedEventHandler_Invoke_m4220935979 (KeyGeneratedEventHandler_t2001522803 * __this, Il2CppObject * ___sender0, EventArgs_t3289624707 * ___e1, const MethodInfo* method)
{
if(__this->get_prev_9() != NULL)
{
KeyGeneratedEventHandler_Invoke_m4220935979((KeyGeneratedEventHandler_t2001522803 *)__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,il2cpp_codegen_get_delegate_this(__this),___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())(il2cpp_codegen_get_delegate_this(__this),___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 Mono.Security.Cryptography.DSAManaged/KeyGeneratedEventHandler::BeginInvoke(System.Object,System.EventArgs,System.AsyncCallback,System.Object)
extern "C" Il2CppObject * KeyGeneratedEventHandler_BeginInvoke_m3006764834 (KeyGeneratedEventHandler_t2001522803 * __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_delegate_begin_invoke((Il2CppDelegate*)__this, __d_args, (Il2CppDelegate*)___callback2, (Il2CppObject*)___object3);
}
// System.Void Mono.Security.Cryptography.DSAManaged/KeyGeneratedEventHandler::EndInvoke(System.IAsyncResult)
extern "C" void KeyGeneratedEventHandler_EndInvoke_m1587195139 (KeyGeneratedEventHandler_t2001522803 * __this, Il2CppObject * ___result0, const MethodInfo* method)
{
il2cpp_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
}
// System.Security.Cryptography.RandomNumberGenerator Mono.Security.Cryptography.KeyBuilder::get_Rng()
extern Il2CppClass* KeyBuilder_t3965881084_il2cpp_TypeInfo_var;
extern const uint32_t KeyBuilder_get_Rng_m2650686994_MetadataUsageId;
extern "C" RandomNumberGenerator_t2510243513 * KeyBuilder_get_Rng_m2650686994 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (KeyBuilder_get_Rng_m2650686994_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
RandomNumberGenerator_t2510243513 * L_0 = ((KeyBuilder_t3965881084_StaticFields*)KeyBuilder_t3965881084_il2cpp_TypeInfo_var->static_fields)->get_rng_0();
if (L_0)
{
goto IL_0014;
}
}
{
RandomNumberGenerator_t2510243513 * L_1 = RandomNumberGenerator_Create_m2275686895(NULL /*static, unused*/, /*hidden argument*/NULL);
((KeyBuilder_t3965881084_StaticFields*)KeyBuilder_t3965881084_il2cpp_TypeInfo_var->static_fields)->set_rng_0(L_1);
}
IL_0014:
{
RandomNumberGenerator_t2510243513 * L_2 = ((KeyBuilder_t3965881084_StaticFields*)KeyBuilder_t3965881084_il2cpp_TypeInfo_var->static_fields)->get_rng_0();
return L_2;
}
}
// System.Byte[] Mono.Security.Cryptography.KeyBuilder::Key(System.Int32)
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t KeyBuilder_Key_m96369605_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* KeyBuilder_Key_m96369605 (Il2CppObject * __this /* static, unused */, int32_t ___size0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (KeyBuilder_Key_m96369605_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ByteU5BU5D_t3397334013* V_0 = NULL;
{
int32_t L_0 = ___size0;
V_0 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_0));
RandomNumberGenerator_t2510243513 * L_1 = KeyBuilder_get_Rng_m2650686994(NULL /*static, unused*/, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_2 = V_0;
VirtActionInvoker1< ByteU5BU5D_t3397334013* >::Invoke(4 /* System.Void System.Security.Cryptography.RandomNumberGenerator::GetBytes(System.Byte[]) */, L_1, L_2);
ByteU5BU5D_t3397334013* L_3 = V_0;
return L_3;
}
}
// System.Byte[] Mono.Security.Cryptography.KeyBuilder::IV(System.Int32)
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t KeyBuilder_IV_m1778372645_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* KeyBuilder_IV_m1778372645 (Il2CppObject * __this /* static, unused */, int32_t ___size0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (KeyBuilder_IV_m1778372645_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ByteU5BU5D_t3397334013* V_0 = NULL;
{
int32_t L_0 = ___size0;
V_0 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_0));
RandomNumberGenerator_t2510243513 * L_1 = KeyBuilder_get_Rng_m2650686994(NULL /*static, unused*/, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_2 = V_0;
VirtActionInvoker1< ByteU5BU5D_t3397334013* >::Invoke(4 /* System.Void System.Security.Cryptography.RandomNumberGenerator::GetBytes(System.Byte[]) */, L_1, L_2);
ByteU5BU5D_t3397334013* L_3 = V_0;
return L_3;
}
}
// System.Void Mono.Security.Cryptography.KeyPairPersistence::.ctor(System.Security.Cryptography.CspParameters)
extern "C" void KeyPairPersistence__ctor_m2662458254 (KeyPairPersistence_t3637935872 * __this, CspParameters_t46065560 * ___parameters0, const MethodInfo* method)
{
{
CspParameters_t46065560 * L_0 = ___parameters0;
KeyPairPersistence__ctor_m1817312194(__this, L_0, (String_t*)NULL, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Cryptography.KeyPairPersistence::.ctor(System.Security.Cryptography.CspParameters,System.String)
extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral877801146;
extern const uint32_t KeyPairPersistence__ctor_m1817312194_MetadataUsageId;
extern "C" void KeyPairPersistence__ctor_m1817312194 (KeyPairPersistence_t3637935872 * __this, CspParameters_t46065560 * ___parameters0, String_t* ___keyPair1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (KeyPairPersistence__ctor_m1817312194_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
CspParameters_t46065560 * L_0 = ___parameters0;
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, _stringLiteral877801146, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1);
}
IL_0017:
{
CspParameters_t46065560 * L_2 = ___parameters0;
CspParameters_t46065560 * L_3 = KeyPairPersistence_Copy_m2609734593(__this, L_2, /*hidden argument*/NULL);
__this->set__params_4(L_3);
String_t* L_4 = ___keyPair1;
__this->set__keyvalue_5(L_4);
return;
}
}
// System.Void Mono.Security.Cryptography.KeyPairPersistence::.cctor()
extern Il2CppClass* KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var;
extern Il2CppClass* Il2CppObject_il2cpp_TypeInfo_var;
extern const uint32_t KeyPairPersistence__cctor_m3956774456_MetadataUsageId;
extern "C" void KeyPairPersistence__cctor_m3956774456 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (KeyPairPersistence__cctor_m3956774456_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->set__userPathExists_0((bool)0);
((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->set__machinePathExists_2((bool)0);
Il2CppObject * L_0 = (Il2CppObject *)il2cpp_codegen_object_new(Il2CppObject_il2cpp_TypeInfo_var);
Object__ctor_m2551263788(L_0, /*hidden argument*/NULL);
((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->set_lockobj_8(L_0);
return;
}
}
// System.String Mono.Security.Cryptography.KeyPairPersistence::get_Filename()
extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var;
extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var;
extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var;
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppClass* KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var;
extern Il2CppClass* Path_t41728875_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral2825948490;
extern const uint32_t KeyPairPersistence_get_Filename_m152060602_MetadataUsageId;
extern "C" String_t* KeyPairPersistence_get_Filename_m152060602 (KeyPairPersistence_t3637935872 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (KeyPairPersistence_get_Filename_m152060602_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
String_t* L_0 = __this->get__filename_6();
if (L_0)
{
goto IL_0091;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var);
CultureInfo_t3500843524 * L_1 = CultureInfo_get_InvariantCulture_m398972276(NULL /*static, unused*/, /*hidden argument*/NULL);
ObjectU5BU5D_t3614634134* L_2 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)3));
CspParameters_t46065560 * L_3 = __this->get__params_4();
int32_t L_4 = L_3->get_ProviderType_4();
int32_t L_5 = L_4;
Il2CppObject * L_6 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_5);
ArrayElementTypeCheck (L_2, L_6);
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)L_6);
ObjectU5BU5D_t3614634134* L_7 = L_2;
String_t* L_8 = KeyPairPersistence_get_ContainerName_m3502301303(__this, /*hidden argument*/NULL);
ArrayElementTypeCheck (L_7, L_8);
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(1), (Il2CppObject *)L_8);
ObjectU5BU5D_t3614634134* L_9 = L_7;
CspParameters_t46065560 * L_10 = __this->get__params_4();
int32_t L_11 = L_10->get_KeyNumber_2();
int32_t L_12 = L_11;
Il2CppObject * L_13 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_12);
ArrayElementTypeCheck (L_9, L_13);
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(2), (Il2CppObject *)L_13);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_14 = String_Format_m876527052(NULL /*static, unused*/, L_1, _stringLiteral2825948490, L_9, /*hidden argument*/NULL);
__this->set__filename_6(L_14);
bool L_15 = KeyPairPersistence_get_UseMachineKeyStore_m560802076(__this, /*hidden argument*/NULL);
if (!L_15)
{
goto IL_007b;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
String_t* L_16 = KeyPairPersistence_get_MachinePath_m552408523(NULL /*static, unused*/, /*hidden argument*/NULL);
String_t* L_17 = __this->get__filename_6();
IL2CPP_RUNTIME_CLASS_INIT(Path_t41728875_il2cpp_TypeInfo_var);
String_t* L_18 = Path_Combine_m3185811654(NULL /*static, unused*/, L_16, L_17, /*hidden argument*/NULL);
__this->set__filename_6(L_18);
goto IL_0091;
}
IL_007b:
{
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
String_t* L_19 = KeyPairPersistence_get_UserPath_m3433052783(NULL /*static, unused*/, /*hidden argument*/NULL);
String_t* L_20 = __this->get__filename_6();
IL2CPP_RUNTIME_CLASS_INIT(Path_t41728875_il2cpp_TypeInfo_var);
String_t* L_21 = Path_Combine_m3185811654(NULL /*static, unused*/, L_19, L_20, /*hidden argument*/NULL);
__this->set__filename_6(L_21);
}
IL_0091:
{
String_t* L_22 = __this->get__filename_6();
return L_22;
}
}
// System.String Mono.Security.Cryptography.KeyPairPersistence::get_KeyValue()
extern "C" String_t* KeyPairPersistence_get_KeyValue_m140512119 (KeyPairPersistence_t3637935872 * __this, const MethodInfo* method)
{
{
String_t* L_0 = __this->get__keyvalue_5();
return L_0;
}
}
// System.Void Mono.Security.Cryptography.KeyPairPersistence::set_KeyValue(System.String)
extern "C" void KeyPairPersistence_set_KeyValue_m243780262 (KeyPairPersistence_t3637935872 * __this, String_t* ___value0, const MethodInfo* method)
{
{
bool L_0 = KeyPairPersistence_get_CanChange_m471859120(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0012;
}
}
{
String_t* L_1 = ___value0;
__this->set__keyvalue_5(L_1);
}
IL_0012:
{
return;
}
}
// System.Boolean Mono.Security.Cryptography.KeyPairPersistence::Load()
extern Il2CppClass* IDisposable_t2427283555_il2cpp_TypeInfo_var;
extern const uint32_t KeyPairPersistence_Load_m1355205585_MetadataUsageId;
extern "C" bool KeyPairPersistence_Load_m1355205585 (KeyPairPersistence_t3637935872 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (KeyPairPersistence_Load_m1355205585_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
bool V_0 = false;
StreamReader_t2360341767 * 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);
{
bool L_0 = Environment_get_SocketSecurityEnabled_m1758378561(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_000c;
}
}
{
return (bool)0;
}
IL_000c:
{
String_t* L_1 = KeyPairPersistence_get_Filename_m152060602(__this, /*hidden argument*/NULL);
bool L_2 = File_Exists_m1685968367(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
V_0 = L_2;
bool L_3 = V_0;
if (!L_3)
{
goto IL_0048;
}
}
{
String_t* L_4 = KeyPairPersistence_get_Filename_m152060602(__this, /*hidden argument*/NULL);
StreamReader_t2360341767 * L_5 = File_OpenText_m4058508963(NULL /*static, unused*/, L_4, /*hidden argument*/NULL);
V_1 = L_5;
}
IL_002a:
try
{ // begin try (depth: 1)
StreamReader_t2360341767 * L_6 = V_1;
String_t* L_7 = VirtFuncInvoker0< String_t* >::Invoke(10 /* System.String System.IO.StreamReader::ReadToEnd() */, L_6);
KeyPairPersistence_FromXml_m2310151202(__this, L_7, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x48, FINALLY_003b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_003b;
}
FINALLY_003b:
{ // begin finally (depth: 1)
{
StreamReader_t2360341767 * L_8 = V_1;
if (!L_8)
{
goto IL_0047;
}
}
IL_0041:
{
StreamReader_t2360341767 * L_9 = V_1;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t2427283555_il2cpp_TypeInfo_var, L_9);
}
IL_0047:
{
IL2CPP_END_FINALLY(59)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(59)
{
IL2CPP_JUMP_TBL(0x48, IL_0048)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_0048:
{
bool L_10 = V_0;
return L_10;
}
}
// System.Void Mono.Security.Cryptography.KeyPairPersistence::Save()
extern Il2CppClass* Encoding_t663144255_il2cpp_TypeInfo_var;
extern Il2CppClass* StreamWriter_t3858580635_il2cpp_TypeInfo_var;
extern Il2CppClass* IDisposable_t2427283555_il2cpp_TypeInfo_var;
extern Il2CppClass* KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var;
extern const uint32_t KeyPairPersistence_Save_m471726936_MetadataUsageId;
extern "C" void KeyPairPersistence_Save_m471726936 (KeyPairPersistence_t3637935872 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (KeyPairPersistence_Save_m471726936_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
FileStream_t1695958676 * V_0 = NULL;
StreamWriter_t3858580635 * 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);
{
bool L_0 = Environment_get_SocketSecurityEnabled_m1758378561(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_000b;
}
}
{
return;
}
IL_000b:
{
String_t* L_1 = KeyPairPersistence_get_Filename_m152060602(__this, /*hidden argument*/NULL);
FileStream_t1695958676 * L_2 = File_Open_m1543461971(NULL /*static, unused*/, L_1, 2, /*hidden argument*/NULL);
V_0 = L_2;
}
IL_0018:
try
{ // begin try (depth: 1)
FileStream_t1695958676 * L_3 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Encoding_t663144255_il2cpp_TypeInfo_var);
Encoding_t663144255 * L_4 = Encoding_get_UTF8_m1752852937(NULL /*static, unused*/, /*hidden argument*/NULL);
StreamWriter_t3858580635 * L_5 = (StreamWriter_t3858580635 *)il2cpp_codegen_object_new(StreamWriter_t3858580635_il2cpp_TypeInfo_var);
StreamWriter__ctor_m3823607994(L_5, L_3, L_4, /*hidden argument*/NULL);
V_1 = L_5;
StreamWriter_t3858580635 * L_6 = V_1;
String_t* L_7 = KeyPairPersistence_ToXml_m207061510(__this, /*hidden argument*/NULL);
VirtActionInvoker1< String_t* >::Invoke(10 /* System.Void System.IO.StreamWriter::Write(System.String) */, L_6, L_7);
StreamWriter_t3858580635 * L_8 = V_1;
VirtActionInvoker0::Invoke(5 /* System.Void System.IO.StreamWriter::Close() */, L_8);
IL2CPP_LEAVE(0x48, FINALLY_003b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_003b;
}
FINALLY_003b:
{ // begin finally (depth: 1)
{
FileStream_t1695958676 * L_9 = V_0;
if (!L_9)
{
goto IL_0047;
}
}
IL_0041:
{
FileStream_t1695958676 * L_10 = V_0;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t2427283555_il2cpp_TypeInfo_var, L_10);
}
IL_0047:
{
IL2CPP_END_FINALLY(59)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(59)
{
IL2CPP_JUMP_TBL(0x48, IL_0048)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_0048:
{
bool L_11 = KeyPairPersistence_get_UseMachineKeyStore_m560802076(__this, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_0064;
}
}
{
String_t* L_12 = KeyPairPersistence_get_Filename_m152060602(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
KeyPairPersistence_ProtectMachine_m2215143759(NULL /*static, unused*/, L_12, /*hidden argument*/NULL);
goto IL_0070;
}
IL_0064:
{
String_t* L_13 = KeyPairPersistence_get_Filename_m152060602(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
KeyPairPersistence_ProtectUser_m4103539639(NULL /*static, unused*/, L_13, /*hidden argument*/NULL);
}
IL_0070:
{
return;
}
}
// System.Void Mono.Security.Cryptography.KeyPairPersistence::Remove()
extern "C" void KeyPairPersistence_Remove_m3188674989 (KeyPairPersistence_t3637935872 * __this, const MethodInfo* method)
{
{
bool L_0 = Environment_get_SocketSecurityEnabled_m1758378561(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_000b;
}
}
{
return;
}
IL_000b:
{
String_t* L_1 = KeyPairPersistence_get_Filename_m152060602(__this, /*hidden argument*/NULL);
File_Delete_m2115477556(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
return;
}
}
// System.String Mono.Security.Cryptography.KeyPairPersistence::get_UserPath()
extern Il2CppClass* KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var;
extern Il2CppClass* Path_t41728875_il2cpp_TypeInfo_var;
extern Il2CppClass* Exception_t1927440687_il2cpp_TypeInfo_var;
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral351469801;
extern Il2CppCodeGenString* _stringLiteral2742009718;
extern Il2CppCodeGenString* _stringLiteral2719114265;
extern Il2CppCodeGenString* _stringLiteral846371413;
extern const uint32_t KeyPairPersistence_get_UserPath_m3433052783_MetadataUsageId;
extern "C" String_t* KeyPairPersistence_get_UserPath_m3433052783 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (KeyPairPersistence_get_UserPath_m3433052783_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
Il2CppObject * V_0 = NULL;
Exception_t1927440687 * V_1 = NULL;
String_t* V_2 = NULL;
String_t* 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);
{
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
Il2CppObject * L_0 = ((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->get_lockobj_8();
V_0 = L_0;
Il2CppObject * L_1 = V_0;
Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
}
IL_000c:
try
{ // begin try (depth: 1)
{
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
String_t* L_2 = ((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->get__userPath_1();
if (!L_2)
{
goto IL_0020;
}
}
IL_0016:
{
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
bool L_3 = ((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->get__userPathExists_0();
if (L_3)
{
goto IL_00a7;
}
}
IL_0020:
{
String_t* L_4 = Environment_GetFolderPath_m1849163024(NULL /*static, unused*/, ((int32_t)26), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Path_t41728875_il2cpp_TypeInfo_var);
String_t* L_5 = Path_Combine_m3185811654(NULL /*static, unused*/, L_4, _stringLiteral351469801, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->set__userPath_1(L_5);
String_t* L_6 = ((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->get__userPath_1();
String_t* L_7 = Path_Combine_m3185811654(NULL /*static, unused*/, L_6, _stringLiteral2742009718, /*hidden argument*/NULL);
((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->set__userPath_1(L_7);
String_t* L_8 = ((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->get__userPath_1();
bool L_9 = Directory_Exists_m2663601042(NULL /*static, unused*/, L_8, /*hidden argument*/NULL);
((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->set__userPathExists_0(L_9);
bool L_10 = ((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->get__userPathExists_0();
if (L_10)
{
goto IL_00a7;
}
}
IL_0063:
try
{ // begin try (depth: 2)
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
String_t* L_11 = ((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->get__userPath_1();
Directory_CreateDirectory_m3561886598(NULL /*static, unused*/, L_11, /*hidden argument*/NULL);
String_t* L_12 = ((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->get__userPath_1();
KeyPairPersistence_ProtectUser_m4103539639(NULL /*static, unused*/, L_12, /*hidden argument*/NULL);
((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->set__userPathExists_0((bool)1);
goto IL_00a7;
} // end try (depth: 2)
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_0084;
throw e;
}
CATCH_0084:
{ // begin catch(System.Exception)
{
V_1 = ((Exception_t1927440687 *)__exception_local);
String_t* L_13 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2719114265, /*hidden argument*/NULL);
V_2 = L_13;
String_t* L_14 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
String_t* L_15 = ((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->get__userPath_1();
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_16 = String_Format_m2024975688(NULL /*static, unused*/, L_14, L_15, /*hidden argument*/NULL);
Exception_t1927440687 * L_17 = V_1;
CryptographicException_t3349726436 * L_18 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m1012314467(L_18, L_16, L_17, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_18);
}
IL_00a2:
{
goto IL_00a7;
}
} // end catch (depth: 2)
IL_00a7:
{
IL2CPP_LEAVE(0xB3, FINALLY_00ac);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_00ac;
}
FINALLY_00ac:
{ // begin finally (depth: 1)
Il2CppObject * L_19 = V_0;
Monitor_Exit_m2677760297(NULL /*static, unused*/, L_19, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(172)
} // end finally (depth: 1)
IL2CPP_CLEANUP(172)
{
IL2CPP_JUMP_TBL(0xB3, IL_00b3)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_00b3:
{
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
String_t* L_20 = ((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->get__userPath_1();
bool L_21 = KeyPairPersistence_IsUserProtected_m37342608(NULL /*static, unused*/, L_20, /*hidden argument*/NULL);
if (L_21)
{
goto IL_00de;
}
}
{
String_t* L_22 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral846371413, /*hidden argument*/NULL);
V_3 = L_22;
String_t* L_23 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
String_t* L_24 = ((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->get__userPath_1();
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_25 = String_Format_m2024975688(NULL /*static, unused*/, L_23, L_24, /*hidden argument*/NULL);
CryptographicException_t3349726436 * L_26 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_26, L_25, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_26);
}
IL_00de:
{
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
String_t* L_27 = ((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->get__userPath_1();
return L_27;
}
}
// System.String Mono.Security.Cryptography.KeyPairPersistence::get_MachinePath()
extern Il2CppClass* KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var;
extern Il2CppClass* Path_t41728875_il2cpp_TypeInfo_var;
extern Il2CppClass* Exception_t1927440687_il2cpp_TypeInfo_var;
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral351469801;
extern Il2CppCodeGenString* _stringLiteral2742009718;
extern Il2CppCodeGenString* _stringLiteral848133009;
extern Il2CppCodeGenString* _stringLiteral1221912897;
extern const uint32_t KeyPairPersistence_get_MachinePath_m552408523_MetadataUsageId;
extern "C" String_t* KeyPairPersistence_get_MachinePath_m552408523 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (KeyPairPersistence_get_MachinePath_m552408523_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
Il2CppObject * V_0 = NULL;
Exception_t1927440687 * V_1 = NULL;
String_t* V_2 = NULL;
String_t* 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);
{
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
Il2CppObject * L_0 = ((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->get_lockobj_8();
V_0 = L_0;
Il2CppObject * L_1 = V_0;
Monitor_Enter_m2136705809(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
}
IL_000c:
try
{ // begin try (depth: 1)
{
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
String_t* L_2 = ((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->get__machinePath_3();
if (!L_2)
{
goto IL_0020;
}
}
IL_0016:
{
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
bool L_3 = ((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->get__machinePathExists_2();
if (L_3)
{
goto IL_00a7;
}
}
IL_0020:
{
String_t* L_4 = Environment_GetFolderPath_m1849163024(NULL /*static, unused*/, ((int32_t)35), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Path_t41728875_il2cpp_TypeInfo_var);
String_t* L_5 = Path_Combine_m3185811654(NULL /*static, unused*/, L_4, _stringLiteral351469801, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->set__machinePath_3(L_5);
String_t* L_6 = ((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->get__machinePath_3();
String_t* L_7 = Path_Combine_m3185811654(NULL /*static, unused*/, L_6, _stringLiteral2742009718, /*hidden argument*/NULL);
((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->set__machinePath_3(L_7);
String_t* L_8 = ((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->get__machinePath_3();
bool L_9 = Directory_Exists_m2663601042(NULL /*static, unused*/, L_8, /*hidden argument*/NULL);
((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->set__machinePathExists_2(L_9);
bool L_10 = ((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->get__machinePathExists_2();
if (L_10)
{
goto IL_00a7;
}
}
IL_0063:
try
{ // begin try (depth: 2)
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
String_t* L_11 = ((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->get__machinePath_3();
Directory_CreateDirectory_m3561886598(NULL /*static, unused*/, L_11, /*hidden argument*/NULL);
String_t* L_12 = ((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->get__machinePath_3();
KeyPairPersistence_ProtectMachine_m2215143759(NULL /*static, unused*/, L_12, /*hidden argument*/NULL);
((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->set__machinePathExists_2((bool)1);
goto IL_00a7;
} // end try (depth: 2)
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_0084;
throw e;
}
CATCH_0084:
{ // begin catch(System.Exception)
{
V_1 = ((Exception_t1927440687 *)__exception_local);
String_t* L_13 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral848133009, /*hidden argument*/NULL);
V_2 = L_13;
String_t* L_14 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
String_t* L_15 = ((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->get__machinePath_3();
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_16 = String_Format_m2024975688(NULL /*static, unused*/, L_14, L_15, /*hidden argument*/NULL);
Exception_t1927440687 * L_17 = V_1;
CryptographicException_t3349726436 * L_18 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m1012314467(L_18, L_16, L_17, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_18);
}
IL_00a2:
{
goto IL_00a7;
}
} // end catch (depth: 2)
IL_00a7:
{
IL2CPP_LEAVE(0xB3, FINALLY_00ac);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_00ac;
}
FINALLY_00ac:
{ // begin finally (depth: 1)
Il2CppObject * L_19 = V_0;
Monitor_Exit_m2677760297(NULL /*static, unused*/, L_19, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(172)
} // end finally (depth: 1)
IL2CPP_CLEANUP(172)
{
IL2CPP_JUMP_TBL(0xB3, IL_00b3)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_00b3:
{
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
String_t* L_20 = ((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->get__machinePath_3();
bool L_21 = KeyPairPersistence_IsMachineProtected_m4095716302(NULL /*static, unused*/, L_20, /*hidden argument*/NULL);
if (L_21)
{
goto IL_00de;
}
}
{
String_t* L_22 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1221912897, /*hidden argument*/NULL);
V_3 = L_22;
String_t* L_23 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
String_t* L_24 = ((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->get__machinePath_3();
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_25 = String_Format_m2024975688(NULL /*static, unused*/, L_23, L_24, /*hidden argument*/NULL);
CryptographicException_t3349726436 * L_26 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_26, L_25, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_26);
}
IL_00de:
{
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
String_t* L_27 = ((KeyPairPersistence_t3637935872_StaticFields*)KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var->static_fields)->get__machinePath_3();
return L_27;
}
}
// System.Boolean Mono.Security.Cryptography.KeyPairPersistence::_CanSecure(System.String)
extern "C" bool KeyPairPersistence__CanSecure_m1449153133 (Il2CppObject * __this /* static, unused */, String_t* ___root0, const MethodInfo* method)
{
using namespace il2cpp::icalls;
typedef bool (*KeyPairPersistence__CanSecure_m1449153133_ftn) (String_t*);
return ((KeyPairPersistence__CanSecure_m1449153133_ftn)mscorlib::Mono::Security::Cryptography::KeyPairPersistence::_CanSecure) (___root0);
}
// System.Boolean Mono.Security.Cryptography.KeyPairPersistence::_ProtectUser(System.String)
extern "C" bool KeyPairPersistence__ProtectUser_m1131717336 (Il2CppObject * __this /* static, unused */, String_t* ___path0, const MethodInfo* method)
{
using namespace il2cpp::icalls;
typedef bool (*KeyPairPersistence__ProtectUser_m1131717336_ftn) (String_t*);
return ((KeyPairPersistence__ProtectUser_m1131717336_ftn)mscorlib::Mono::Security::Cryptography::KeyPairPersistence::_ProtectUser) (___path0);
}
// System.Boolean Mono.Security.Cryptography.KeyPairPersistence::_ProtectMachine(System.String)
extern "C" bool KeyPairPersistence__ProtectMachine_m318782442 (Il2CppObject * __this /* static, unused */, String_t* ___path0, const MethodInfo* method)
{
using namespace il2cpp::icalls;
typedef bool (*KeyPairPersistence__ProtectMachine_m318782442_ftn) (String_t*);
return ((KeyPairPersistence__ProtectMachine_m318782442_ftn)mscorlib::Mono::Security::Cryptography::KeyPairPersistence::_ProtectMachine) (___path0);
}
// System.Boolean Mono.Security.Cryptography.KeyPairPersistence::_IsUserProtected(System.String)
extern "C" bool KeyPairPersistence__IsUserProtected_m3417764903 (Il2CppObject * __this /* static, unused */, String_t* ___path0, const MethodInfo* method)
{
using namespace il2cpp::icalls;
typedef bool (*KeyPairPersistence__IsUserProtected_m3417764903_ftn) (String_t*);
return ((KeyPairPersistence__IsUserProtected_m3417764903_ftn)mscorlib::Mono::Security::Cryptography::KeyPairPersistence::_IsUserProtected) (___path0);
}
// System.Boolean Mono.Security.Cryptography.KeyPairPersistence::_IsMachineProtected(System.String)
extern "C" bool KeyPairPersistence__IsMachineProtected_m2586034415 (Il2CppObject * __this /* static, unused */, String_t* ___path0, const MethodInfo* method)
{
using namespace il2cpp::icalls;
typedef bool (*KeyPairPersistence__IsMachineProtected_m2586034415_ftn) (String_t*);
return ((KeyPairPersistence__IsMachineProtected_m2586034415_ftn)mscorlib::Mono::Security::Cryptography::KeyPairPersistence::_IsMachineProtected) (___path0);
}
// System.Boolean Mono.Security.Cryptography.KeyPairPersistence::CanSecure(System.String)
extern Il2CppClass* Path_t41728875_il2cpp_TypeInfo_var;
extern Il2CppClass* KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var;
extern const uint32_t KeyPairPersistence_CanSecure_m2251009700_MetadataUsageId;
extern "C" bool KeyPairPersistence_CanSecure_m2251009700 (Il2CppObject * __this /* static, unused */, String_t* ___path0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (KeyPairPersistence_CanSecure_m2251009700_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
{
OperatingSystem_t290860502 * L_0 = Environment_get_OSVersion_m1247315981(NULL /*static, unused*/, /*hidden argument*/NULL);
int32_t L_1 = OperatingSystem_get_Platform_m2260343279(L_0, /*hidden argument*/NULL);
V_0 = L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) == ((int32_t)4)))
{
goto IL_0024;
}
}
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) == ((int32_t)((int32_t)128))))
{
goto IL_0024;
}
}
{
int32_t L_4 = V_0;
if ((!(((uint32_t)L_4) == ((uint32_t)6))))
{
goto IL_0026;
}
}
IL_0024:
{
return (bool)1;
}
IL_0026:
{
String_t* L_5 = ___path0;
IL2CPP_RUNTIME_CLASS_INIT(Path_t41728875_il2cpp_TypeInfo_var);
String_t* L_6 = Path_GetPathRoot_m1269357080(NULL /*static, unused*/, L_5, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
bool L_7 = KeyPairPersistence__CanSecure_m1449153133(NULL /*static, unused*/, L_6, /*hidden argument*/NULL);
return L_7;
}
}
// System.Boolean Mono.Security.Cryptography.KeyPairPersistence::ProtectUser(System.String)
extern Il2CppClass* KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var;
extern const uint32_t KeyPairPersistence_ProtectUser_m4103539639_MetadataUsageId;
extern "C" bool KeyPairPersistence_ProtectUser_m4103539639 (Il2CppObject * __this /* static, unused */, String_t* ___path0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (KeyPairPersistence_ProtectUser_m4103539639_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
String_t* L_0 = ___path0;
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
bool L_1 = KeyPairPersistence_CanSecure_m2251009700(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0012;
}
}
{
String_t* L_2 = ___path0;
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
bool L_3 = KeyPairPersistence__ProtectUser_m1131717336(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
return L_3;
}
IL_0012:
{
return (bool)1;
}
}
// System.Boolean Mono.Security.Cryptography.KeyPairPersistence::ProtectMachine(System.String)
extern Il2CppClass* KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var;
extern const uint32_t KeyPairPersistence_ProtectMachine_m2215143759_MetadataUsageId;
extern "C" bool KeyPairPersistence_ProtectMachine_m2215143759 (Il2CppObject * __this /* static, unused */, String_t* ___path0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (KeyPairPersistence_ProtectMachine_m2215143759_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
String_t* L_0 = ___path0;
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
bool L_1 = KeyPairPersistence_CanSecure_m2251009700(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0012;
}
}
{
String_t* L_2 = ___path0;
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
bool L_3 = KeyPairPersistence__ProtectMachine_m318782442(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
return L_3;
}
IL_0012:
{
return (bool)1;
}
}
// System.Boolean Mono.Security.Cryptography.KeyPairPersistence::IsUserProtected(System.String)
extern Il2CppClass* KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var;
extern const uint32_t KeyPairPersistence_IsUserProtected_m37342608_MetadataUsageId;
extern "C" bool KeyPairPersistence_IsUserProtected_m37342608 (Il2CppObject * __this /* static, unused */, String_t* ___path0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (KeyPairPersistence_IsUserProtected_m37342608_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
String_t* L_0 = ___path0;
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
bool L_1 = KeyPairPersistence_CanSecure_m2251009700(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0012;
}
}
{
String_t* L_2 = ___path0;
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
bool L_3 = KeyPairPersistence__IsUserProtected_m3417764903(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
return L_3;
}
IL_0012:
{
return (bool)1;
}
}
// System.Boolean Mono.Security.Cryptography.KeyPairPersistence::IsMachineProtected(System.String)
extern Il2CppClass* KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var;
extern const uint32_t KeyPairPersistence_IsMachineProtected_m4095716302_MetadataUsageId;
extern "C" bool KeyPairPersistence_IsMachineProtected_m4095716302 (Il2CppObject * __this /* static, unused */, String_t* ___path0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (KeyPairPersistence_IsMachineProtected_m4095716302_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
String_t* L_0 = ___path0;
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
bool L_1 = KeyPairPersistence_CanSecure_m2251009700(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0012;
}
}
{
String_t* L_2 = ___path0;
IL2CPP_RUNTIME_CLASS_INIT(KeyPairPersistence_t3637935872_il2cpp_TypeInfo_var);
bool L_3 = KeyPairPersistence__IsMachineProtected_m2586034415(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
return L_3;
}
IL_0012:
{
return (bool)1;
}
}
// System.Boolean Mono.Security.Cryptography.KeyPairPersistence::get_CanChange()
extern "C" bool KeyPairPersistence_get_CanChange_m471859120 (KeyPairPersistence_t3637935872 * __this, const MethodInfo* method)
{
{
String_t* L_0 = __this->get__keyvalue_5();
return (bool)((((Il2CppObject*)(String_t*)L_0) == ((Il2CppObject*)(Il2CppObject *)NULL))? 1 : 0);
}
}
// System.Boolean Mono.Security.Cryptography.KeyPairPersistence::get_UseDefaultKeyContainer()
extern "C" bool KeyPairPersistence_get_UseDefaultKeyContainer_m1428226410 (KeyPairPersistence_t3637935872 * __this, const MethodInfo* method)
{
{
CspParameters_t46065560 * L_0 = __this->get__params_4();
int32_t L_1 = CspParameters_get_Flags_m3649573501(L_0, /*hidden argument*/NULL);
return (bool)((((int32_t)((int32_t)((int32_t)L_1&(int32_t)2))) == ((int32_t)2))? 1 : 0);
}
}
// System.Boolean Mono.Security.Cryptography.KeyPairPersistence::get_UseMachineKeyStore()
extern "C" bool KeyPairPersistence_get_UseMachineKeyStore_m560802076 (KeyPairPersistence_t3637935872 * __this, const MethodInfo* method)
{
{
CspParameters_t46065560 * L_0 = __this->get__params_4();
int32_t L_1 = CspParameters_get_Flags_m3649573501(L_0, /*hidden argument*/NULL);
return (bool)((((int32_t)((int32_t)((int32_t)L_1&(int32_t)1))) == ((int32_t)1))? 1 : 0);
}
}
// System.String Mono.Security.Cryptography.KeyPairPersistence::get_ContainerName()
extern Il2CppClass* Guid_t2533601593_il2cpp_TypeInfo_var;
extern Il2CppClass* Encoding_t663144255_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral3564902503;
extern const uint32_t KeyPairPersistence_get_ContainerName_m3502301303_MetadataUsageId;
extern "C" String_t* KeyPairPersistence_get_ContainerName_m3502301303 (KeyPairPersistence_t3637935872 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (KeyPairPersistence_get_ContainerName_m3502301303_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ByteU5BU5D_t3397334013* V_0 = NULL;
MD5_t1507972490 * V_1 = NULL;
ByteU5BU5D_t3397334013* V_2 = NULL;
Guid_t2533601593 V_3;
memset(&V_3, 0, sizeof(V_3));
Guid_t2533601593 V_4;
memset(&V_4, 0, sizeof(V_4));
{
String_t* L_0 = __this->get__container_7();
if (L_0)
{
goto IL_009c;
}
}
{
bool L_1 = KeyPairPersistence_get_UseDefaultKeyContainer_m1428226410(__this, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0026;
}
}
{
__this->set__container_7(_stringLiteral3564902503);
goto IL_009c;
}
IL_0026:
{
CspParameters_t46065560 * L_2 = __this->get__params_4();
String_t* L_3 = L_2->get_KeyContainerName_1();
if (!L_3)
{
goto IL_004b;
}
}
{
CspParameters_t46065560 * L_4 = __this->get__params_4();
String_t* L_5 = L_4->get_KeyContainerName_1();
int32_t L_6 = String_get_Length_m1606060069(L_5, /*hidden argument*/NULL);
if (L_6)
{
goto IL_0063;
}
}
IL_004b:
{
IL2CPP_RUNTIME_CLASS_INIT(Guid_t2533601593_il2cpp_TypeInfo_var);
Guid_t2533601593 L_7 = Guid_NewGuid_m3493657620(NULL /*static, unused*/, /*hidden argument*/NULL);
V_3 = L_7;
String_t* L_8 = Guid_ToString_m3927110175((&V_3), /*hidden argument*/NULL);
__this->set__container_7(L_8);
goto IL_009c;
}
IL_0063:
{
IL2CPP_RUNTIME_CLASS_INIT(Encoding_t663144255_il2cpp_TypeInfo_var);
Encoding_t663144255 * L_9 = Encoding_get_UTF8_m1752852937(NULL /*static, unused*/, /*hidden argument*/NULL);
CspParameters_t46065560 * L_10 = __this->get__params_4();
String_t* L_11 = L_10->get_KeyContainerName_1();
ByteU5BU5D_t3397334013* L_12 = VirtFuncInvoker1< ByteU5BU5D_t3397334013*, String_t* >::Invoke(10 /* System.Byte[] System.Text.Encoding::GetBytes(System.String) */, L_9, L_11);
V_0 = L_12;
MD5_t1507972490 * L_13 = MD5_Create_m1572997499(NULL /*static, unused*/, /*hidden argument*/NULL);
V_1 = L_13;
MD5_t1507972490 * L_14 = V_1;
ByteU5BU5D_t3397334013* L_15 = V_0;
ByteU5BU5D_t3397334013* L_16 = HashAlgorithm_ComputeHash_m3637856778(L_14, L_15, /*hidden argument*/NULL);
V_2 = L_16;
ByteU5BU5D_t3397334013* L_17 = V_2;
Guid__ctor_m2958090239((&V_4), L_17, /*hidden argument*/NULL);
String_t* L_18 = Guid_ToString_m3927110175((&V_4), /*hidden argument*/NULL);
__this->set__container_7(L_18);
}
IL_009c:
{
String_t* L_19 = __this->get__container_7();
return L_19;
}
}
// System.Security.Cryptography.CspParameters Mono.Security.Cryptography.KeyPairPersistence::Copy(System.Security.Cryptography.CspParameters)
extern Il2CppClass* CspParameters_t46065560_il2cpp_TypeInfo_var;
extern const uint32_t KeyPairPersistence_Copy_m2609734593_MetadataUsageId;
extern "C" CspParameters_t46065560 * KeyPairPersistence_Copy_m2609734593 (KeyPairPersistence_t3637935872 * __this, CspParameters_t46065560 * ___p0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (KeyPairPersistence_Copy_m2609734593_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
CspParameters_t46065560 * V_0 = NULL;
{
CspParameters_t46065560 * L_0 = ___p0;
int32_t L_1 = L_0->get_ProviderType_4();
CspParameters_t46065560 * L_2 = ___p0;
String_t* L_3 = L_2->get_ProviderName_3();
CspParameters_t46065560 * L_4 = ___p0;
String_t* L_5 = L_4->get_KeyContainerName_1();
CspParameters_t46065560 * L_6 = (CspParameters_t46065560 *)il2cpp_codegen_object_new(CspParameters_t46065560_il2cpp_TypeInfo_var);
CspParameters__ctor_m3476491054(L_6, L_1, L_3, L_5, /*hidden argument*/NULL);
V_0 = L_6;
CspParameters_t46065560 * L_7 = V_0;
CspParameters_t46065560 * L_8 = ___p0;
int32_t L_9 = L_8->get_KeyNumber_2();
L_7->set_KeyNumber_2(L_9);
CspParameters_t46065560 * L_10 = V_0;
CspParameters_t46065560 * L_11 = ___p0;
int32_t L_12 = CspParameters_get_Flags_m3649573501(L_11, /*hidden argument*/NULL);
CspParameters_set_Flags_m4131471722(L_10, L_12, /*hidden argument*/NULL);
CspParameters_t46065560 * L_13 = V_0;
return L_13;
}
}
// System.Void Mono.Security.Cryptography.KeyPairPersistence::FromXml(System.String)
extern Il2CppClass* SecurityParser_t30730985_il2cpp_TypeInfo_var;
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral3653868065;
extern Il2CppCodeGenString* _stringLiteral1991380510;
extern const uint32_t KeyPairPersistence_FromXml_m2310151202_MetadataUsageId;
extern "C" void KeyPairPersistence_FromXml_m2310151202 (KeyPairPersistence_t3637935872 * __this, String_t* ___xml0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (KeyPairPersistence_FromXml_m2310151202_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
SecurityParser_t30730985 * V_0 = NULL;
SecurityElement_t2325568386 * V_1 = NULL;
SecurityElement_t2325568386 * V_2 = NULL;
{
SecurityParser_t30730985 * L_0 = (SecurityParser_t30730985 *)il2cpp_codegen_object_new(SecurityParser_t30730985_il2cpp_TypeInfo_var);
SecurityParser__ctor_m2477861623(L_0, /*hidden argument*/NULL);
V_0 = L_0;
SecurityParser_t30730985 * L_1 = V_0;
String_t* L_2 = ___xml0;
SecurityParser_LoadXml_m3105973588(L_1, L_2, /*hidden argument*/NULL);
SecurityParser_t30730985 * L_3 = V_0;
SecurityElement_t2325568386 * L_4 = SecurityParser_ToXml_m477609901(L_3, /*hidden argument*/NULL);
V_1 = L_4;
SecurityElement_t2325568386 * L_5 = V_1;
String_t* L_6 = SecurityElement_get_Tag_m3790054077(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_6, _stringLiteral3653868065, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_005d;
}
}
{
SecurityElement_t2325568386 * L_8 = V_1;
SecurityElement_t2325568386 * L_9 = SecurityElement_SearchForChildByTag_m1622912855(L_8, _stringLiteral1991380510, /*hidden argument*/NULL);
V_2 = L_9;
SecurityElement_t2325568386 * L_10 = V_2;
ArrayList_t4252133567 * L_11 = SecurityElement_get_Children_m38620993(L_10, /*hidden argument*/NULL);
int32_t L_12 = VirtFuncInvoker0< int32_t >::Invoke(23 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_11);
if ((((int32_t)L_12) <= ((int32_t)0)))
{
goto IL_005d;
}
}
{
SecurityElement_t2325568386 * L_13 = V_2;
ArrayList_t4252133567 * L_14 = SecurityElement_get_Children_m38620993(L_13, /*hidden argument*/NULL);
Il2CppObject * L_15 = VirtFuncInvoker1< Il2CppObject *, int32_t >::Invoke(21 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_14, 0);
String_t* L_16 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_15);
__this->set__keyvalue_5(L_16);
}
IL_005d:
{
return;
}
}
// System.String Mono.Security.Cryptography.KeyPairPersistence::ToXml()
extern Il2CppClass* StringBuilder_t1221177846_il2cpp_TypeInfo_var;
extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral2306036072;
extern Il2CppCodeGenString* _stringLiteral3283016594;
extern Il2CppCodeGenString* _stringLiteral1552352500;
extern Il2CppCodeGenString* _stringLiteral136282889;
extern Il2CppCodeGenString* _stringLiteral4265735300;
extern Il2CppCodeGenString* _stringLiteral3087431468;
extern const uint32_t KeyPairPersistence_ToXml_m207061510_MetadataUsageId;
extern "C" String_t* KeyPairPersistence_ToXml_m207061510 (KeyPairPersistence_t3637935872 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (KeyPairPersistence_ToXml_m207061510_MetadataUsageId);
s_Il2CppMethodIntialized = 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;
StringBuilder_t1221177846 * L_1 = V_0;
String_t* L_2 = Environment_get_NewLine_m266316410(NULL /*static, unused*/, /*hidden argument*/NULL);
StringBuilder_AppendFormat_m3265503696(L_1, _stringLiteral2306036072, L_2, /*hidden argument*/NULL);
CspParameters_t46065560 * L_3 = __this->get__params_4();
String_t* L_4 = L_3->get_ProviderName_3();
if (!L_4)
{
goto IL_0053;
}
}
{
CspParameters_t46065560 * L_5 = __this->get__params_4();
String_t* L_6 = L_5->get_ProviderName_3();
int32_t L_7 = String_get_Length_m1606060069(L_6, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_0053;
}
}
{
StringBuilder_t1221177846 * L_8 = V_0;
CspParameters_t46065560 * L_9 = __this->get__params_4();
String_t* L_10 = L_9->get_ProviderName_3();
StringBuilder_AppendFormat_m3265503696(L_8, _stringLiteral3283016594, L_10, /*hidden argument*/NULL);
}
IL_0053:
{
StringBuilder_t1221177846 * L_11 = V_0;
CspParameters_t46065560 * L_12 = __this->get__params_4();
int32_t L_13 = L_12->get_ProviderType_4();
int32_t L_14 = L_13;
Il2CppObject * L_15 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_14);
String_t* L_16 = Environment_get_NewLine_m266316410(NULL /*static, unused*/, /*hidden argument*/NULL);
StringBuilder_AppendFormat_m759296786(L_11, _stringLiteral1552352500, L_15, L_16, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_17 = V_0;
String_t* L_18 = KeyPairPersistence_get_ContainerName_m3502301303(__this, /*hidden argument*/NULL);
String_t* L_19 = Environment_get_NewLine_m266316410(NULL /*static, unused*/, /*hidden argument*/NULL);
StringBuilder_AppendFormat_m759296786(L_17, _stringLiteral136282889, L_18, L_19, /*hidden argument*/NULL);
CspParameters_t46065560 * L_20 = __this->get__params_4();
int32_t L_21 = L_20->get_KeyNumber_2();
if ((((int32_t)L_21) == ((int32_t)(-1))))
{
goto IL_00b8;
}
}
{
StringBuilder_t1221177846 * L_22 = V_0;
CspParameters_t46065560 * L_23 = __this->get__params_4();
int32_t L_24 = L_23->get_KeyNumber_2();
int32_t L_25 = L_24;
Il2CppObject * L_26 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_25);
StringBuilder_AppendFormat_m3265503696(L_22, _stringLiteral4265735300, L_26, /*hidden argument*/NULL);
}
IL_00b8:
{
StringBuilder_t1221177846 * L_27 = V_0;
String_t* L_28 = KeyPairPersistence_get_KeyValue_m140512119(__this, /*hidden argument*/NULL);
String_t* L_29 = Environment_get_NewLine_m266316410(NULL /*static, unused*/, /*hidden argument*/NULL);
StringBuilder_AppendFormat_m759296786(L_27, _stringLiteral3087431468, L_28, L_29, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_30 = V_0;
String_t* L_31 = StringBuilder_ToString_m1507807375(L_30, /*hidden argument*/NULL);
return L_31;
}
}
// System.Void Mono.Security.Cryptography.MACAlgorithm::.ctor(System.Security.Cryptography.SymmetricAlgorithm)
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t MACAlgorithm__ctor_m2165161608_MetadataUsageId;
extern "C" void MACAlgorithm__ctor_m2165161608 (MACAlgorithm_t2739465458 * __this, SymmetricAlgorithm_t1108166522 * ___algorithm0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (MACAlgorithm__ctor_m2165161608_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
SymmetricAlgorithm_t1108166522 * L_0 = ___algorithm0;
__this->set_algo_0(L_0);
SymmetricAlgorithm_t1108166522 * L_1 = __this->get_algo_0();
VirtActionInvoker1< int32_t >::Invoke(17 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_Mode(System.Security.Cryptography.CipherMode) */, L_1, 1);
SymmetricAlgorithm_t1108166522 * L_2 = __this->get_algo_0();
int32_t L_3 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 System.Security.Cryptography.SymmetricAlgorithm::get_BlockSize() */, L_2);
__this->set_blockSize_3(((int32_t)((int32_t)L_3>>(int32_t)3)));
SymmetricAlgorithm_t1108166522 * L_4 = __this->get_algo_0();
int32_t L_5 = __this->get_blockSize_3();
VirtActionInvoker1< ByteU5BU5D_t3397334013* >::Invoke(10 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_IV(System.Byte[]) */, L_4, ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_5)));
int32_t L_6 = __this->get_blockSize_3();
__this->set_block_2(((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_6)));
return;
}
}
// System.Void Mono.Security.Cryptography.MACAlgorithm::Initialize(System.Byte[])
extern "C" void MACAlgorithm_Initialize_m133885420 (MACAlgorithm_t2739465458 * __this, ByteU5BU5D_t3397334013* ___key0, const MethodInfo* method)
{
{
SymmetricAlgorithm_t1108166522 * L_0 = __this->get_algo_0();
ByteU5BU5D_t3397334013* L_1 = ___key0;
VirtActionInvoker1< ByteU5BU5D_t3397334013* >::Invoke(12 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_Key(System.Byte[]) */, L_0, L_1);
Il2CppObject * L_2 = __this->get_enc_1();
if (L_2)
{
goto IL_0028;
}
}
{
SymmetricAlgorithm_t1108166522 * L_3 = __this->get_algo_0();
Il2CppObject * L_4 = VirtFuncInvoker0< Il2CppObject * >::Invoke(22 /* System.Security.Cryptography.ICryptoTransform System.Security.Cryptography.SymmetricAlgorithm::CreateEncryptor() */, L_3);
__this->set_enc_1(L_4);
}
IL_0028:
{
ByteU5BU5D_t3397334013* L_5 = __this->get_block_2();
int32_t L_6 = __this->get_blockSize_3();
Array_Clear_m782967417(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_5, 0, L_6, /*hidden argument*/NULL);
__this->set_blockCount_4(0);
return;
}
}
// System.Void Mono.Security.Cryptography.MACAlgorithm::Core(System.Byte[],System.Int32,System.Int32)
extern Il2CppClass* ICryptoTransform_t281704372_il2cpp_TypeInfo_var;
extern const uint32_t MACAlgorithm_Core_m2390605245_MetadataUsageId;
extern "C" void MACAlgorithm_Core_m2390605245 (MACAlgorithm_t2739465458 * __this, ByteU5BU5D_t3397334013* ___rgb0, int32_t ___ib1, int32_t ___cb2, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (MACAlgorithm_Core_m2390605245_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
{
int32_t L_0 = __this->get_blockSize_3();
int32_t L_1 = __this->get_blockCount_4();
int32_t L_2 = ___cb2;
int32_t L_3 = Math_Min_m4290821911(NULL /*static, unused*/, ((int32_t)((int32_t)L_0-(int32_t)L_1)), L_2, /*hidden argument*/NULL);
V_0 = L_3;
ByteU5BU5D_t3397334013* L_4 = ___rgb0;
int32_t L_5 = ___ib1;
ByteU5BU5D_t3397334013* L_6 = __this->get_block_2();
int32_t L_7 = __this->get_blockCount_4();
int32_t L_8 = V_0;
Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_4, L_5, (Il2CppArray *)(Il2CppArray *)L_6, L_7, L_8, /*hidden argument*/NULL);
int32_t L_9 = __this->get_blockCount_4();
int32_t L_10 = V_0;
__this->set_blockCount_4(((int32_t)((int32_t)L_9+(int32_t)L_10)));
int32_t L_11 = __this->get_blockCount_4();
int32_t L_12 = __this->get_blockSize_3();
if ((!(((uint32_t)L_11) == ((uint32_t)L_12))))
{
goto IL_00d1;
}
}
{
Il2CppObject * L_13 = __this->get_enc_1();
ByteU5BU5D_t3397334013* L_14 = __this->get_block_2();
int32_t L_15 = __this->get_blockSize_3();
ByteU5BU5D_t3397334013* L_16 = __this->get_block_2();
InterfaceFuncInvoker5< int32_t, ByteU5BU5D_t3397334013*, int32_t, int32_t, ByteU5BU5D_t3397334013*, int32_t >::Invoke(1 /* System.Int32 System.Security.Cryptography.ICryptoTransform::TransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32) */, ICryptoTransform_t281704372_il2cpp_TypeInfo_var, L_13, L_14, 0, L_15, L_16, 0);
int32_t L_17 = ___cb2;
int32_t L_18 = V_0;
int32_t L_19 = __this->get_blockSize_3();
V_1 = ((int32_t)((int32_t)((int32_t)((int32_t)L_17-(int32_t)L_18))/(int32_t)L_19));
V_2 = 0;
goto IL_00a1;
}
IL_0079:
{
Il2CppObject * L_20 = __this->get_enc_1();
ByteU5BU5D_t3397334013* L_21 = ___rgb0;
int32_t L_22 = V_0;
int32_t L_23 = __this->get_blockSize_3();
ByteU5BU5D_t3397334013* L_24 = __this->get_block_2();
InterfaceFuncInvoker5< int32_t, ByteU5BU5D_t3397334013*, int32_t, int32_t, ByteU5BU5D_t3397334013*, int32_t >::Invoke(1 /* System.Int32 System.Security.Cryptography.ICryptoTransform::TransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32) */, ICryptoTransform_t281704372_il2cpp_TypeInfo_var, L_20, L_21, L_22, L_23, L_24, 0);
int32_t L_25 = V_0;
int32_t L_26 = __this->get_blockSize_3();
V_0 = ((int32_t)((int32_t)L_25+(int32_t)L_26));
int32_t L_27 = V_2;
V_2 = ((int32_t)((int32_t)L_27+(int32_t)1));
}
IL_00a1:
{
int32_t L_28 = V_2;
int32_t L_29 = V_1;
if ((((int32_t)L_28) < ((int32_t)L_29)))
{
goto IL_0079;
}
}
{
int32_t L_30 = ___cb2;
int32_t L_31 = V_0;
__this->set_blockCount_4(((int32_t)((int32_t)L_30-(int32_t)L_31)));
int32_t L_32 = __this->get_blockCount_4();
if ((((int32_t)L_32) <= ((int32_t)0)))
{
goto IL_00d1;
}
}
{
ByteU5BU5D_t3397334013* L_33 = ___rgb0;
int32_t L_34 = V_0;
ByteU5BU5D_t3397334013* L_35 = __this->get_block_2();
int32_t L_36 = __this->get_blockCount_4();
Array_Copy_m3808317496(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_33, L_34, (Il2CppArray *)(Il2CppArray *)L_35, 0, L_36, /*hidden argument*/NULL);
}
IL_00d1:
{
return;
}
}
// System.Byte[] Mono.Security.Cryptography.MACAlgorithm::Final()
extern Il2CppClass* ICryptoTransform_t281704372_il2cpp_TypeInfo_var;
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern Il2CppClass* IDisposable_t2427283555_il2cpp_TypeInfo_var;
extern const uint32_t MACAlgorithm_Final_m4076939925_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* MACAlgorithm_Final_m4076939925 (MACAlgorithm_t2739465458 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (MACAlgorithm_Final_m4076939925_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ByteU5BU5D_t3397334013* V_0 = NULL;
{
int32_t L_0 = __this->get_blockCount_4();
if ((((int32_t)L_0) > ((int32_t)0)))
{
goto IL_002e;
}
}
{
SymmetricAlgorithm_t1108166522 * L_1 = __this->get_algo_0();
int32_t L_2 = VirtFuncInvoker0< int32_t >::Invoke(18 /* System.Security.Cryptography.PaddingMode System.Security.Cryptography.SymmetricAlgorithm::get_Padding() */, L_1);
if ((((int32_t)L_2) == ((int32_t)3)))
{
goto IL_004c;
}
}
{
SymmetricAlgorithm_t1108166522 * L_3 = __this->get_algo_0();
int32_t L_4 = VirtFuncInvoker0< int32_t >::Invoke(18 /* System.Security.Cryptography.PaddingMode System.Security.Cryptography.SymmetricAlgorithm::get_Padding() */, L_3);
if ((((int32_t)L_4) == ((int32_t)1)))
{
goto IL_004c;
}
}
IL_002e:
{
Il2CppObject * L_5 = __this->get_enc_1();
ByteU5BU5D_t3397334013* L_6 = __this->get_block_2();
int32_t L_7 = __this->get_blockCount_4();
ByteU5BU5D_t3397334013* L_8 = InterfaceFuncInvoker3< ByteU5BU5D_t3397334013*, ByteU5BU5D_t3397334013*, int32_t, int32_t >::Invoke(2 /* System.Byte[] System.Security.Cryptography.ICryptoTransform::TransformFinalBlock(System.Byte[],System.Int32,System.Int32) */, ICryptoTransform_t281704372_il2cpp_TypeInfo_var, L_5, L_6, 0, L_7);
V_0 = L_8;
goto IL_005d;
}
IL_004c:
{
ByteU5BU5D_t3397334013* L_9 = __this->get_block_2();
Il2CppObject * L_10 = Array_Clone_m768574314((Il2CppArray *)(Il2CppArray *)L_9, /*hidden argument*/NULL);
V_0 = ((ByteU5BU5D_t3397334013*)Castclass(L_10, ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var));
}
IL_005d:
{
Il2CppObject * L_11 = __this->get_enc_1();
bool L_12 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Security.Cryptography.ICryptoTransform::get_CanReuseTransform() */, ICryptoTransform_t281704372_il2cpp_TypeInfo_var, L_11);
if (L_12)
{
goto IL_007f;
}
}
{
Il2CppObject * L_13 = __this->get_enc_1();
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t2427283555_il2cpp_TypeInfo_var, L_13);
__this->set_enc_1((Il2CppObject *)NULL);
}
IL_007f:
{
ByteU5BU5D_t3397334013* L_14 = V_0;
return L_14;
}
}
// System.Void Mono.Security.Cryptography.PKCS1::.cctor()
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern Il2CppClass* PKCS1_t3312870480_il2cpp_TypeInfo_var;
extern FieldInfo* U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D16_8_FieldInfo_var;
extern FieldInfo* U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D17_9_FieldInfo_var;
extern FieldInfo* U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D18_10_FieldInfo_var;
extern FieldInfo* U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D19_11_FieldInfo_var;
extern const uint32_t PKCS1__cctor_m3343707276_MetadataUsageId;
extern "C" void PKCS1__cctor_m3343707276 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PKCS1__cctor_m3343707276_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
ByteU5BU5D_t3397334013* L_0 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)20)));
RuntimeHelpers_InitializeArray_m3920580167(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_0, LoadFieldToken(U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D16_8_FieldInfo_var), /*hidden argument*/NULL);
((PKCS1_t3312870480_StaticFields*)PKCS1_t3312870480_il2cpp_TypeInfo_var->static_fields)->set_emptySHA1_0(L_0);
ByteU5BU5D_t3397334013* L_1 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)32)));
RuntimeHelpers_InitializeArray_m3920580167(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_1, LoadFieldToken(U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D17_9_FieldInfo_var), /*hidden argument*/NULL);
((PKCS1_t3312870480_StaticFields*)PKCS1_t3312870480_il2cpp_TypeInfo_var->static_fields)->set_emptySHA256_1(L_1);
ByteU5BU5D_t3397334013* L_2 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)48)));
RuntimeHelpers_InitializeArray_m3920580167(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_2, LoadFieldToken(U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D18_10_FieldInfo_var), /*hidden argument*/NULL);
((PKCS1_t3312870480_StaticFields*)PKCS1_t3312870480_il2cpp_TypeInfo_var->static_fields)->set_emptySHA384_2(L_2);
ByteU5BU5D_t3397334013* L_3 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)64)));
RuntimeHelpers_InitializeArray_m3920580167(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_3, LoadFieldToken(U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D19_11_FieldInfo_var), /*hidden argument*/NULL);
((PKCS1_t3312870480_StaticFields*)PKCS1_t3312870480_il2cpp_TypeInfo_var->static_fields)->set_emptySHA512_3(L_3);
return;
}
}
// System.Boolean Mono.Security.Cryptography.PKCS1::Compare(System.Byte[],System.Byte[])
extern "C" bool PKCS1_Compare_m4211756960 (Il2CppObject * __this /* static, unused */, ByteU5BU5D_t3397334013* ___array10, ByteU5BU5D_t3397334013* ___array21, const MethodInfo* method)
{
bool V_0 = false;
int32_t V_1 = 0;
{
ByteU5BU5D_t3397334013* L_0 = ___array10;
ByteU5BU5D_t3397334013* L_1 = ___array21;
V_0 = (bool)((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_0)->max_length))))) == ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_1)->max_length))))))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0030;
}
}
{
V_1 = 0;
goto IL_0027;
}
IL_0016:
{
ByteU5BU5D_t3397334013* L_3 = ___array10;
int32_t L_4 = V_1;
int32_t L_5 = L_4;
uint8_t L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
ByteU5BU5D_t3397334013* L_7 = ___array21;
int32_t L_8 = V_1;
int32_t L_9 = L_8;
uint8_t L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
if ((((int32_t)L_6) == ((int32_t)L_10)))
{
goto IL_0023;
}
}
{
return (bool)0;
}
IL_0023:
{
int32_t L_11 = V_1;
V_1 = ((int32_t)((int32_t)L_11+(int32_t)1));
}
IL_0027:
{
int32_t L_12 = V_1;
ByteU5BU5D_t3397334013* L_13 = ___array10;
if ((((int32_t)L_12) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_13)->max_length)))))))
{
goto IL_0016;
}
}
IL_0030:
{
bool L_14 = V_0;
return L_14;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS1::I2OSP(System.Byte[],System.Int32)
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t PKCS1_I2OSP_m3905712516_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* PKCS1_I2OSP_m3905712516 (Il2CppObject * __this /* static, unused */, ByteU5BU5D_t3397334013* ___x0, int32_t ___size1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PKCS1_I2OSP_m3905712516_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ByteU5BU5D_t3397334013* V_0 = NULL;
{
int32_t L_0 = ___size1;
V_0 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_0));
ByteU5BU5D_t3397334013* L_1 = ___x0;
ByteU5BU5D_t3397334013* L_2 = V_0;
ByteU5BU5D_t3397334013* L_3 = V_0;
ByteU5BU5D_t3397334013* L_4 = ___x0;
ByteU5BU5D_t3397334013* L_5 = ___x0;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_1, 0, (Il2CppArray *)(Il2CppArray *)L_2, ((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_3)->max_length))))-(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_4)->max_length)))))), (((int32_t)((int32_t)(((Il2CppArray *)L_5)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_6 = V_0;
return L_6;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS1::OS2IP(System.Byte[])
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t PKCS1_OS2IP_m1273945439_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* PKCS1_OS2IP_m1273945439 (Il2CppObject * __this /* static, unused */, ByteU5BU5D_t3397334013* ___x0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PKCS1_OS2IP_m1273945439_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
ByteU5BU5D_t3397334013* V_1 = NULL;
{
V_0 = 0;
goto IL_0007;
}
IL_0007:
{
ByteU5BU5D_t3397334013* L_0 = ___x0;
int32_t L_1 = V_0;
int32_t L_2 = L_1;
V_0 = ((int32_t)((int32_t)L_2+(int32_t)1));
int32_t L_3 = L_2;
uint8_t L_4 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
if (L_4)
{
goto IL_001c;
}
}
{
int32_t L_5 = V_0;
ByteU5BU5D_t3397334013* L_6 = ___x0;
if ((((int32_t)L_5) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_6)->max_length)))))))
{
goto IL_0007;
}
}
IL_001c:
{
int32_t L_7 = V_0;
V_0 = ((int32_t)((int32_t)L_7-(int32_t)1));
int32_t L_8 = V_0;
if ((((int32_t)L_8) <= ((int32_t)0)))
{
goto IL_0040;
}
}
{
ByteU5BU5D_t3397334013* L_9 = ___x0;
int32_t L_10 = V_0;
V_1 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_9)->max_length))))-(int32_t)L_10))));
ByteU5BU5D_t3397334013* L_11 = ___x0;
int32_t L_12 = V_0;
ByteU5BU5D_t3397334013* L_13 = V_1;
ByteU5BU5D_t3397334013* L_14 = V_1;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_11, L_12, (Il2CppArray *)(Il2CppArray *)L_13, 0, (((int32_t)((int32_t)(((Il2CppArray *)L_14)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_15 = V_1;
return L_15;
}
IL_0040:
{
ByteU5BU5D_t3397334013* L_16 = ___x0;
return L_16;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS1::RSAEP(System.Security.Cryptography.RSA,System.Byte[])
extern "C" ByteU5BU5D_t3397334013* PKCS1_RSAEP_m3065689068 (Il2CppObject * __this /* static, unused */, RSA_t3719518354 * ___rsa0, ByteU5BU5D_t3397334013* ___m1, const MethodInfo* method)
{
{
RSA_t3719518354 * L_0 = ___rsa0;
ByteU5BU5D_t3397334013* L_1 = ___m1;
ByteU5BU5D_t3397334013* L_2 = VirtFuncInvoker1< ByteU5BU5D_t3397334013*, ByteU5BU5D_t3397334013* >::Invoke(10 /* System.Byte[] System.Security.Cryptography.RSA::EncryptValue(System.Byte[]) */, L_0, L_1);
return L_2;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS1::RSASP1(System.Security.Cryptography.RSA,System.Byte[])
extern "C" ByteU5BU5D_t3397334013* PKCS1_RSASP1_m1786291617 (Il2CppObject * __this /* static, unused */, RSA_t3719518354 * ___rsa0, ByteU5BU5D_t3397334013* ___m1, const MethodInfo* method)
{
{
RSA_t3719518354 * L_0 = ___rsa0;
ByteU5BU5D_t3397334013* L_1 = ___m1;
ByteU5BU5D_t3397334013* L_2 = VirtFuncInvoker1< ByteU5BU5D_t3397334013*, ByteU5BU5D_t3397334013* >::Invoke(11 /* System.Byte[] System.Security.Cryptography.RSA::DecryptValue(System.Byte[]) */, L_0, L_1);
return L_2;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS1::RSAVP1(System.Security.Cryptography.RSA,System.Byte[])
extern "C" ByteU5BU5D_t3397334013* PKCS1_RSAVP1_m4144423556 (Il2CppObject * __this /* static, unused */, RSA_t3719518354 * ___rsa0, ByteU5BU5D_t3397334013* ___s1, const MethodInfo* method)
{
{
RSA_t3719518354 * L_0 = ___rsa0;
ByteU5BU5D_t3397334013* L_1 = ___s1;
ByteU5BU5D_t3397334013* L_2 = VirtFuncInvoker1< ByteU5BU5D_t3397334013*, ByteU5BU5D_t3397334013* >::Invoke(10 /* System.Byte[] System.Security.Cryptography.RSA::EncryptValue(System.Byte[]) */, L_0, L_1);
return L_2;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS1::Encrypt_v15(System.Security.Cryptography.RSA,System.Security.Cryptography.RandomNumberGenerator,System.Byte[])
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern Il2CppClass* PKCS1_t3312870480_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral207091141;
extern const uint32_t PKCS1_Encrypt_v15_m1473661153_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* PKCS1_Encrypt_v15_m1473661153 (Il2CppObject * __this /* static, unused */, RSA_t3719518354 * ___rsa0, RandomNumberGenerator_t2510243513 * ___rng1, ByteU5BU5D_t3397334013* ___M2, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PKCS1_Encrypt_v15_m1473661153_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
ByteU5BU5D_t3397334013* V_2 = NULL;
ByteU5BU5D_t3397334013* V_3 = NULL;
ByteU5BU5D_t3397334013* V_4 = NULL;
ByteU5BU5D_t3397334013* V_5 = NULL;
ByteU5BU5D_t3397334013* V_6 = NULL;
{
RSA_t3719518354 * L_0 = ___rsa0;
int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 System.Security.Cryptography.AsymmetricAlgorithm::get_KeySize() */, L_0);
V_0 = ((int32_t)((int32_t)L_1/(int32_t)8));
ByteU5BU5D_t3397334013* L_2 = ___M2;
int32_t L_3 = V_0;
if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_2)->max_length))))) <= ((int32_t)((int32_t)((int32_t)L_3-(int32_t)((int32_t)11))))))
{
goto IL_0020;
}
}
{
CryptographicException_t3349726436 * L_4 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_4, _stringLiteral207091141, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4);
}
IL_0020:
{
int32_t L_5 = V_0;
ByteU5BU5D_t3397334013* L_6 = ___M2;
int32_t L_7 = Math_Max_m2671311541(NULL /*static, unused*/, 8, ((int32_t)((int32_t)((int32_t)((int32_t)L_5-(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_6)->max_length))))))-(int32_t)3)), /*hidden argument*/NULL);
V_1 = L_7;
int32_t L_8 = V_1;
V_2 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_8));
RandomNumberGenerator_t2510243513 * L_9 = ___rng1;
ByteU5BU5D_t3397334013* L_10 = V_2;
VirtActionInvoker1< ByteU5BU5D_t3397334013* >::Invoke(5 /* System.Void System.Security.Cryptography.RandomNumberGenerator::GetNonZeroBytes(System.Byte[]) */, L_9, L_10);
int32_t L_11 = V_0;
V_3 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_11));
ByteU5BU5D_t3397334013* L_12 = V_3;
(L_12)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)2);
ByteU5BU5D_t3397334013* L_13 = V_2;
ByteU5BU5D_t3397334013* L_14 = V_3;
int32_t L_15 = V_1;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_13, 0, (Il2CppArray *)(Il2CppArray *)L_14, 2, L_15, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_16 = ___M2;
ByteU5BU5D_t3397334013* L_17 = V_3;
int32_t L_18 = V_0;
ByteU5BU5D_t3397334013* L_19 = ___M2;
ByteU5BU5D_t3397334013* L_20 = ___M2;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_16, 0, (Il2CppArray *)(Il2CppArray *)L_17, ((int32_t)((int32_t)L_18-(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_19)->max_length)))))), (((int32_t)((int32_t)(((Il2CppArray *)L_20)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_21 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(PKCS1_t3312870480_il2cpp_TypeInfo_var);
ByteU5BU5D_t3397334013* L_22 = PKCS1_OS2IP_m1273945439(NULL /*static, unused*/, L_21, /*hidden argument*/NULL);
V_4 = L_22;
RSA_t3719518354 * L_23 = ___rsa0;
ByteU5BU5D_t3397334013* L_24 = V_4;
ByteU5BU5D_t3397334013* L_25 = PKCS1_RSAEP_m3065689068(NULL /*static, unused*/, L_23, L_24, /*hidden argument*/NULL);
V_5 = L_25;
ByteU5BU5D_t3397334013* L_26 = V_5;
int32_t L_27 = V_0;
ByteU5BU5D_t3397334013* L_28 = PKCS1_I2OSP_m3905712516(NULL /*static, unused*/, L_26, L_27, /*hidden argument*/NULL);
V_6 = L_28;
ByteU5BU5D_t3397334013* L_29 = V_6;
return L_29;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS1::Sign_v15(System.Security.Cryptography.RSA,System.Security.Cryptography.HashAlgorithm,System.Byte[])
extern Il2CppClass* PKCS1_t3312870480_il2cpp_TypeInfo_var;
extern const uint32_t PKCS1_Sign_v15_m2137018891_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* PKCS1_Sign_v15_m2137018891 (Il2CppObject * __this /* static, unused */, RSA_t3719518354 * ___rsa0, HashAlgorithm_t2624936259 * ___hash1, ByteU5BU5D_t3397334013* ___hashValue2, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PKCS1_Sign_v15_m2137018891_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
ByteU5BU5D_t3397334013* V_1 = NULL;
ByteU5BU5D_t3397334013* V_2 = NULL;
ByteU5BU5D_t3397334013* V_3 = NULL;
ByteU5BU5D_t3397334013* V_4 = NULL;
{
RSA_t3719518354 * L_0 = ___rsa0;
int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 System.Security.Cryptography.AsymmetricAlgorithm::get_KeySize() */, L_0);
V_0 = ((int32_t)((int32_t)L_1>>(int32_t)3));
HashAlgorithm_t2624936259 * L_2 = ___hash1;
ByteU5BU5D_t3397334013* L_3 = ___hashValue2;
int32_t L_4 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(PKCS1_t3312870480_il2cpp_TypeInfo_var);
ByteU5BU5D_t3397334013* L_5 = PKCS1_Encode_v15_m2462715278(NULL /*static, unused*/, L_2, L_3, L_4, /*hidden argument*/NULL);
V_1 = L_5;
ByteU5BU5D_t3397334013* L_6 = V_1;
ByteU5BU5D_t3397334013* L_7 = PKCS1_OS2IP_m1273945439(NULL /*static, unused*/, L_6, /*hidden argument*/NULL);
V_2 = L_7;
RSA_t3719518354 * L_8 = ___rsa0;
ByteU5BU5D_t3397334013* L_9 = V_2;
ByteU5BU5D_t3397334013* L_10 = PKCS1_RSASP1_m1786291617(NULL /*static, unused*/, L_8, L_9, /*hidden argument*/NULL);
V_3 = L_10;
ByteU5BU5D_t3397334013* L_11 = V_3;
int32_t L_12 = V_0;
ByteU5BU5D_t3397334013* L_13 = PKCS1_I2OSP_m3905712516(NULL /*static, unused*/, L_11, L_12, /*hidden argument*/NULL);
V_4 = L_13;
ByteU5BU5D_t3397334013* L_14 = V_4;
return L_14;
}
}
// System.Boolean Mono.Security.Cryptography.PKCS1::Verify_v15(System.Security.Cryptography.RSA,System.Security.Cryptography.HashAlgorithm,System.Byte[],System.Byte[])
extern Il2CppClass* PKCS1_t3312870480_il2cpp_TypeInfo_var;
extern const uint32_t PKCS1_Verify_v15_m1048842936_MetadataUsageId;
extern "C" bool PKCS1_Verify_v15_m1048842936 (Il2CppObject * __this /* static, unused */, RSA_t3719518354 * ___rsa0, HashAlgorithm_t2624936259 * ___hash1, ByteU5BU5D_t3397334013* ___hashValue2, ByteU5BU5D_t3397334013* ___signature3, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PKCS1_Verify_v15_m1048842936_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
RSA_t3719518354 * L_0 = ___rsa0;
HashAlgorithm_t2624936259 * L_1 = ___hash1;
ByteU5BU5D_t3397334013* L_2 = ___hashValue2;
ByteU5BU5D_t3397334013* L_3 = ___signature3;
IL2CPP_RUNTIME_CLASS_INIT(PKCS1_t3312870480_il2cpp_TypeInfo_var);
bool L_4 = PKCS1_Verify_v15_m2571212635(NULL /*static, unused*/, L_0, L_1, L_2, L_3, (bool)0, /*hidden argument*/NULL);
return L_4;
}
}
// System.Boolean Mono.Security.Cryptography.PKCS1::Verify_v15(System.Security.Cryptography.RSA,System.Security.Cryptography.HashAlgorithm,System.Byte[],System.Byte[],System.Boolean)
extern Il2CppClass* PKCS1_t3312870480_il2cpp_TypeInfo_var;
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t PKCS1_Verify_v15_m2571212635_MetadataUsageId;
extern "C" bool PKCS1_Verify_v15_m2571212635 (Il2CppObject * __this /* static, unused */, RSA_t3719518354 * ___rsa0, HashAlgorithm_t2624936259 * ___hash1, ByteU5BU5D_t3397334013* ___hashValue2, ByteU5BU5D_t3397334013* ___signature3, bool ___tryNonStandardEncoding4, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PKCS1_Verify_v15_m2571212635_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
ByteU5BU5D_t3397334013* V_1 = NULL;
ByteU5BU5D_t3397334013* V_2 = NULL;
ByteU5BU5D_t3397334013* V_3 = NULL;
ByteU5BU5D_t3397334013* V_4 = NULL;
bool V_5 = false;
int32_t V_6 = 0;
ByteU5BU5D_t3397334013* V_7 = NULL;
{
RSA_t3719518354 * L_0 = ___rsa0;
int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 System.Security.Cryptography.AsymmetricAlgorithm::get_KeySize() */, L_0);
V_0 = ((int32_t)((int32_t)L_1>>(int32_t)3));
ByteU5BU5D_t3397334013* L_2 = ___signature3;
IL2CPP_RUNTIME_CLASS_INIT(PKCS1_t3312870480_il2cpp_TypeInfo_var);
ByteU5BU5D_t3397334013* L_3 = PKCS1_OS2IP_m1273945439(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
V_1 = L_3;
RSA_t3719518354 * L_4 = ___rsa0;
ByteU5BU5D_t3397334013* L_5 = V_1;
ByteU5BU5D_t3397334013* L_6 = PKCS1_RSAVP1_m4144423556(NULL /*static, unused*/, L_4, L_5, /*hidden argument*/NULL);
V_2 = L_6;
ByteU5BU5D_t3397334013* L_7 = V_2;
int32_t L_8 = V_0;
ByteU5BU5D_t3397334013* L_9 = PKCS1_I2OSP_m3905712516(NULL /*static, unused*/, L_7, L_8, /*hidden argument*/NULL);
V_3 = L_9;
HashAlgorithm_t2624936259 * L_10 = ___hash1;
ByteU5BU5D_t3397334013* L_11 = ___hashValue2;
int32_t L_12 = V_0;
ByteU5BU5D_t3397334013* L_13 = PKCS1_Encode_v15_m2462715278(NULL /*static, unused*/, L_10, L_11, L_12, /*hidden argument*/NULL);
V_4 = L_13;
ByteU5BU5D_t3397334013* L_14 = V_4;
ByteU5BU5D_t3397334013* L_15 = V_3;
bool L_16 = PKCS1_Compare_m4211756960(NULL /*static, unused*/, L_14, L_15, /*hidden argument*/NULL);
V_5 = L_16;
bool L_17 = V_5;
if (L_17)
{
goto IL_0042;
}
}
{
bool L_18 = ___tryNonStandardEncoding4;
if (L_18)
{
goto IL_0045;
}
}
IL_0042:
{
bool L_19 = V_5;
return L_19;
}
IL_0045:
{
ByteU5BU5D_t3397334013* L_20 = V_3;
int32_t L_21 = 0;
uint8_t L_22 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
if (L_22)
{
goto IL_0056;
}
}
{
ByteU5BU5D_t3397334013* L_23 = V_3;
int32_t L_24 = 1;
uint8_t L_25 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
if ((((int32_t)L_25) == ((int32_t)1)))
{
goto IL_0058;
}
}
IL_0056:
{
return (bool)0;
}
IL_0058:
{
V_6 = 2;
goto IL_0076;
}
IL_0060:
{
ByteU5BU5D_t3397334013* L_26 = V_3;
int32_t L_27 = V_6;
int32_t L_28 = L_27;
uint8_t L_29 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
if ((((int32_t)L_29) == ((int32_t)((int32_t)255))))
{
goto IL_0070;
}
}
{
return (bool)0;
}
IL_0070:
{
int32_t L_30 = V_6;
V_6 = ((int32_t)((int32_t)L_30+(int32_t)1));
}
IL_0076:
{
int32_t L_31 = V_6;
ByteU5BU5D_t3397334013* L_32 = V_3;
ByteU5BU5D_t3397334013* L_33 = ___hashValue2;
if ((((int32_t)L_31) < ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_32)->max_length))))-(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_33)->max_length))))))-(int32_t)1)))))
{
goto IL_0060;
}
}
{
ByteU5BU5D_t3397334013* L_34 = V_3;
int32_t L_35 = V_6;
int32_t L_36 = L_35;
V_6 = ((int32_t)((int32_t)L_36+(int32_t)1));
int32_t L_37 = L_36;
uint8_t L_38 = (L_34)->GetAt(static_cast<il2cpp_array_size_t>(L_37));
if (!L_38)
{
goto IL_0096;
}
}
{
return (bool)0;
}
IL_0096:
{
ByteU5BU5D_t3397334013* L_39 = ___hashValue2;
V_7 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_39)->max_length))))));
ByteU5BU5D_t3397334013* L_40 = V_3;
int32_t L_41 = V_6;
ByteU5BU5D_t3397334013* L_42 = V_7;
ByteU5BU5D_t3397334013* L_43 = V_7;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_40, L_41, (Il2CppArray *)(Il2CppArray *)L_42, 0, (((int32_t)((int32_t)(((Il2CppArray *)L_43)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_44 = V_7;
ByteU5BU5D_t3397334013* L_45 = ___hashValue2;
IL2CPP_RUNTIME_CLASS_INIT(PKCS1_t3312870480_il2cpp_TypeInfo_var);
bool L_46 = PKCS1_Compare_m4211756960(NULL /*static, unused*/, L_44, L_45, /*hidden argument*/NULL);
return L_46;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS1::Encode_v15(System.Security.Cryptography.HashAlgorithm,System.Byte[],System.Int32)
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppClass* CryptoConfig_t896479599_il2cpp_TypeInfo_var;
extern Il2CppClass* ASN1_t924533535_il2cpp_TypeInfo_var;
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral4199231658;
extern const uint32_t PKCS1_Encode_v15_m2462715278_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* PKCS1_Encode_v15_m2462715278 (Il2CppObject * __this /* static, unused */, HashAlgorithm_t2624936259 * ___hash0, ByteU5BU5D_t3397334013* ___hashValue1, int32_t ___emLength2, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PKCS1_Encode_v15_m2462715278_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ByteU5BU5D_t3397334013* V_0 = NULL;
String_t* V_1 = NULL;
ASN1_t924533535 * V_2 = NULL;
ASN1_t924533535 * V_3 = NULL;
ASN1_t924533535 * V_4 = NULL;
int32_t V_5 = 0;
ByteU5BU5D_t3397334013* V_6 = NULL;
int32_t V_7 = 0;
{
ByteU5BU5D_t3397334013* L_0 = ___hashValue1;
HashAlgorithm_t2624936259 * L_1 = ___hash0;
int32_t L_2 = VirtFuncInvoker0< int32_t >::Invoke(12 /* System.Int32 System.Security.Cryptography.HashAlgorithm::get_HashSize() */, L_1);
if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_0)->max_length))))) == ((int32_t)((int32_t)((int32_t)L_2>>(int32_t)3)))))
{
goto IL_0026;
}
}
{
HashAlgorithm_t2624936259 * L_3 = ___hash0;
String_t* L_4 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_3);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_5 = String_Concat_m2596409543(NULL /*static, unused*/, _stringLiteral4199231658, L_4, /*hidden argument*/NULL);
CryptographicException_t3349726436 * L_6 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_6, L_5, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6);
}
IL_0026:
{
V_0 = (ByteU5BU5D_t3397334013*)NULL;
HashAlgorithm_t2624936259 * L_7 = ___hash0;
String_t* L_8 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_7);
IL2CPP_RUNTIME_CLASS_INIT(CryptoConfig_t896479599_il2cpp_TypeInfo_var);
String_t* L_9 = CryptoConfig_MapNameToOID_m2433158723(NULL /*static, unused*/, L_8, /*hidden argument*/NULL);
V_1 = L_9;
String_t* L_10 = V_1;
if (!L_10)
{
goto IL_0091;
}
}
{
ASN1_t924533535 * L_11 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_11, ((int32_t)48), /*hidden argument*/NULL);
V_2 = L_11;
ASN1_t924533535 * L_12 = V_2;
String_t* L_13 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(CryptoConfig_t896479599_il2cpp_TypeInfo_var);
ByteU5BU5D_t3397334013* L_14 = CryptoConfig_EncodeOID_m276236568(NULL /*static, unused*/, L_13, /*hidden argument*/NULL);
ASN1_t924533535 * L_15 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3359093803(L_15, L_14, /*hidden argument*/NULL);
ASN1_Add_m2540239672(L_12, L_15, /*hidden argument*/NULL);
ASN1_t924533535 * L_16 = V_2;
ASN1_t924533535 * L_17 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_17, 5, /*hidden argument*/NULL);
ASN1_Add_m2540239672(L_16, L_17, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_18 = ___hashValue1;
ASN1_t924533535 * L_19 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3847124162(L_19, 4, L_18, /*hidden argument*/NULL);
V_3 = L_19;
ASN1_t924533535 * L_20 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_20, ((int32_t)48), /*hidden argument*/NULL);
V_4 = L_20;
ASN1_t924533535 * L_21 = V_4;
ASN1_t924533535 * L_22 = V_2;
ASN1_Add_m2540239672(L_21, L_22, /*hidden argument*/NULL);
ASN1_t924533535 * L_23 = V_4;
ASN1_t924533535 * L_24 = V_3;
ASN1_Add_m2540239672(L_23, L_24, /*hidden argument*/NULL);
ASN1_t924533535 * L_25 = V_4;
ByteU5BU5D_t3397334013* L_26 = VirtFuncInvoker0< ByteU5BU5D_t3397334013* >::Invoke(4 /* System.Byte[] Mono.Security.ASN1::GetBytes() */, L_25);
V_0 = L_26;
goto IL_0093;
}
IL_0091:
{
ByteU5BU5D_t3397334013* L_27 = ___hashValue1;
V_0 = L_27;
}
IL_0093:
{
ByteU5BU5D_t3397334013* L_28 = ___hashValue1;
ByteU5BU5D_t3397334013* L_29 = V_0;
ByteU5BU5D_t3397334013* L_30 = V_0;
ByteU5BU5D_t3397334013* L_31 = ___hashValue1;
ByteU5BU5D_t3397334013* L_32 = ___hashValue1;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_28, 0, (Il2CppArray *)(Il2CppArray *)L_29, ((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_30)->max_length))))-(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_31)->max_length)))))), (((int32_t)((int32_t)(((Il2CppArray *)L_32)->max_length)))), /*hidden argument*/NULL);
int32_t L_33 = ___emLength2;
ByteU5BU5D_t3397334013* L_34 = V_0;
int32_t L_35 = Math_Max_m2671311541(NULL /*static, unused*/, 8, ((int32_t)((int32_t)((int32_t)((int32_t)L_33-(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_34)->max_length))))))-(int32_t)3)), /*hidden argument*/NULL);
V_5 = L_35;
int32_t L_36 = V_5;
ByteU5BU5D_t3397334013* L_37 = V_0;
V_6 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_36+(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_37)->max_length))))))+(int32_t)3))));
ByteU5BU5D_t3397334013* L_38 = V_6;
(L_38)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)1);
V_7 = 2;
goto IL_00e0;
}
IL_00d0:
{
ByteU5BU5D_t3397334013* L_39 = V_6;
int32_t L_40 = V_7;
(L_39)->SetAt(static_cast<il2cpp_array_size_t>(L_40), (uint8_t)((int32_t)255));
int32_t L_41 = V_7;
V_7 = ((int32_t)((int32_t)L_41+(int32_t)1));
}
IL_00e0:
{
int32_t L_42 = V_7;
int32_t L_43 = V_5;
if ((((int32_t)L_42) < ((int32_t)((int32_t)((int32_t)L_43+(int32_t)2)))))
{
goto IL_00d0;
}
}
{
ByteU5BU5D_t3397334013* L_44 = V_0;
ByteU5BU5D_t3397334013* L_45 = V_6;
int32_t L_46 = V_5;
ByteU5BU5D_t3397334013* L_47 = V_0;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_44, 0, (Il2CppArray *)(Il2CppArray *)L_45, ((int32_t)((int32_t)L_46+(int32_t)3)), (((int32_t)((int32_t)(((Il2CppArray *)L_47)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_48 = V_6;
return L_48;
}
}
// System.Void Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo::.ctor()
extern "C" void EncryptedPrivateKeyInfo__ctor_m3964541963 (EncryptedPrivateKeyInfo_t1722354997 * __this, const MethodInfo* method)
{
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo::.ctor(System.Byte[])
extern "C" void EncryptedPrivateKeyInfo__ctor_m832236482 (EncryptedPrivateKeyInfo_t1722354997 * __this, ByteU5BU5D_t3397334013* ___data0, const MethodInfo* method)
{
{
EncryptedPrivateKeyInfo__ctor_m3964541963(__this, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_0 = ___data0;
EncryptedPrivateKeyInfo_Decode_m1824098820(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// System.String Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo::get_Algorithm()
extern "C" String_t* EncryptedPrivateKeyInfo_get_Algorithm_m2779196942 (EncryptedPrivateKeyInfo_t1722354997 * __this, const MethodInfo* method)
{
{
String_t* L_0 = __this->get__algorithm_0();
return L_0;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo::get_EncryptedData()
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t EncryptedPrivateKeyInfo_get_EncryptedData_m345125768_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* EncryptedPrivateKeyInfo_get_EncryptedData_m345125768 (EncryptedPrivateKeyInfo_t1722354997 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (EncryptedPrivateKeyInfo_get_EncryptedData_m345125768_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ByteU5BU5D_t3397334013* G_B3_0 = NULL;
{
ByteU5BU5D_t3397334013* L_0 = __this->get__data_3();
if (L_0)
{
goto IL_0011;
}
}
{
G_B3_0 = ((ByteU5BU5D_t3397334013*)(NULL));
goto IL_0021;
}
IL_0011:
{
ByteU5BU5D_t3397334013* L_1 = __this->get__data_3();
Il2CppObject * L_2 = Array_Clone_m768574314((Il2CppArray *)(Il2CppArray *)L_1, /*hidden argument*/NULL);
G_B3_0 = ((ByteU5BU5D_t3397334013*)Castclass(L_2, ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var));
}
IL_0021:
{
return G_B3_0;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo::get_Salt()
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t EncryptedPrivateKeyInfo_get_Salt_m2734354394_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* EncryptedPrivateKeyInfo_get_Salt_m2734354394 (EncryptedPrivateKeyInfo_t1722354997 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (EncryptedPrivateKeyInfo_get_Salt_m2734354394_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
RandomNumberGenerator_t2510243513 * V_0 = NULL;
{
ByteU5BU5D_t3397334013* L_0 = __this->get__salt_1();
if (L_0)
{
goto IL_0029;
}
}
{
RandomNumberGenerator_t2510243513 * L_1 = RandomNumberGenerator_Create_m2275686895(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = L_1;
__this->set__salt_1(((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)8)));
RandomNumberGenerator_t2510243513 * L_2 = V_0;
ByteU5BU5D_t3397334013* L_3 = __this->get__salt_1();
VirtActionInvoker1< ByteU5BU5D_t3397334013* >::Invoke(4 /* System.Void System.Security.Cryptography.RandomNumberGenerator::GetBytes(System.Byte[]) */, L_2, L_3);
}
IL_0029:
{
ByteU5BU5D_t3397334013* L_4 = __this->get__salt_1();
Il2CppObject * L_5 = Array_Clone_m768574314((Il2CppArray *)(Il2CppArray *)L_4, /*hidden argument*/NULL);
return ((ByteU5BU5D_t3397334013*)Castclass(L_5, ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var));
}
}
// System.Int32 Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo::get_IterationCount()
extern "C" int32_t EncryptedPrivateKeyInfo_get_IterationCount_m1505875216 (EncryptedPrivateKeyInfo_t1722354997 * __this, const MethodInfo* method)
{
{
int32_t L_0 = __this->get__iterations_2();
return L_0;
}
}
// System.Void Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo::Decode(System.Byte[])
extern Il2CppClass* ASN1_t924533535_il2cpp_TypeInfo_var;
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral3671805615;
extern Il2CppCodeGenString* _stringLiteral4075326317;
extern Il2CppCodeGenString* _stringLiteral2181690916;
extern Il2CppCodeGenString* _stringLiteral3658957323;
extern Il2CppCodeGenString* _stringLiteral3571332347;
extern Il2CppCodeGenString* _stringLiteral2941059717;
extern Il2CppCodeGenString* _stringLiteral2894171519;
extern const uint32_t EncryptedPrivateKeyInfo_Decode_m1824098820_MetadataUsageId;
extern "C" void EncryptedPrivateKeyInfo_Decode_m1824098820 (EncryptedPrivateKeyInfo_t1722354997 * __this, ByteU5BU5D_t3397334013* ___data0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (EncryptedPrivateKeyInfo_Decode_m1824098820_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ASN1_t924533535 * V_0 = NULL;
ASN1_t924533535 * V_1 = NULL;
ASN1_t924533535 * V_2 = NULL;
ASN1_t924533535 * V_3 = NULL;
ASN1_t924533535 * V_4 = NULL;
ASN1_t924533535 * V_5 = NULL;
ASN1_t924533535 * V_6 = NULL;
{
ByteU5BU5D_t3397334013* L_0 = ___data0;
ASN1_t924533535 * L_1 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3359093803(L_1, L_0, /*hidden argument*/NULL);
V_0 = L_1;
ASN1_t924533535 * L_2 = V_0;
uint8_t L_3 = ASN1_get_Tag_m1462340837(L_2, /*hidden argument*/NULL);
if ((((int32_t)L_3) == ((int32_t)((int32_t)48))))
{
goto IL_001f;
}
}
{
CryptographicException_t3349726436 * L_4 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_4, _stringLiteral3671805615, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4);
}
IL_001f:
{
ASN1_t924533535 * L_5 = V_0;
ASN1_t924533535 * L_6 = ASN1_get_Item_m1784978716(L_5, 0, /*hidden argument*/NULL);
V_1 = L_6;
ASN1_t924533535 * L_7 = V_1;
uint8_t L_8 = ASN1_get_Tag_m1462340837(L_7, /*hidden argument*/NULL);
if ((((int32_t)L_8) == ((int32_t)((int32_t)48))))
{
goto IL_003f;
}
}
{
CryptographicException_t3349726436 * L_9 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_9, _stringLiteral4075326317, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_9);
}
IL_003f:
{
ASN1_t924533535 * L_10 = V_1;
ASN1_t924533535 * L_11 = ASN1_get_Item_m1784978716(L_10, 0, /*hidden argument*/NULL);
V_2 = L_11;
ASN1_t924533535 * L_12 = V_2;
uint8_t L_13 = ASN1_get_Tag_m1462340837(L_12, /*hidden argument*/NULL);
if ((((int32_t)L_13) == ((int32_t)6)))
{
goto IL_005e;
}
}
{
CryptographicException_t3349726436 * L_14 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_14, _stringLiteral2181690916, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_14);
}
IL_005e:
{
ASN1_t924533535 * L_15 = V_2;
String_t* L_16 = ASN1Convert_ToOid_m2695991795(NULL /*static, unused*/, L_15, /*hidden argument*/NULL);
__this->set__algorithm_0(L_16);
ASN1_t924533535 * L_17 = V_1;
int32_t L_18 = ASN1_get_Count_m404940548(L_17, /*hidden argument*/NULL);
if ((((int32_t)L_18) <= ((int32_t)1)))
{
goto IL_00f2;
}
}
{
ASN1_t924533535 * L_19 = V_1;
ASN1_t924533535 * L_20 = ASN1_get_Item_m1784978716(L_19, 1, /*hidden argument*/NULL);
V_3 = L_20;
ASN1_t924533535 * L_21 = V_3;
uint8_t L_22 = ASN1_get_Tag_m1462340837(L_21, /*hidden argument*/NULL);
if ((((int32_t)L_22) == ((int32_t)((int32_t)48))))
{
goto IL_0096;
}
}
{
CryptographicException_t3349726436 * L_23 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_23, _stringLiteral3658957323, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_23);
}
IL_0096:
{
ASN1_t924533535 * L_24 = V_3;
ASN1_t924533535 * L_25 = ASN1_get_Item_m1784978716(L_24, 0, /*hidden argument*/NULL);
V_4 = L_25;
ASN1_t924533535 * L_26 = V_4;
uint8_t L_27 = ASN1_get_Tag_m1462340837(L_26, /*hidden argument*/NULL);
if ((((int32_t)L_27) == ((int32_t)4)))
{
goto IL_00b7;
}
}
{
CryptographicException_t3349726436 * L_28 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_28, _stringLiteral3571332347, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_28);
}
IL_00b7:
{
ASN1_t924533535 * L_29 = V_4;
ByteU5BU5D_t3397334013* L_30 = ASN1_get_Value_m2669044878(L_29, /*hidden argument*/NULL);
__this->set__salt_1(L_30);
ASN1_t924533535 * L_31 = V_3;
ASN1_t924533535 * L_32 = ASN1_get_Item_m1784978716(L_31, 1, /*hidden argument*/NULL);
V_5 = L_32;
ASN1_t924533535 * L_33 = V_5;
uint8_t L_34 = ASN1_get_Tag_m1462340837(L_33, /*hidden argument*/NULL);
if ((((int32_t)L_34) == ((int32_t)2)))
{
goto IL_00e5;
}
}
{
CryptographicException_t3349726436 * L_35 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_35, _stringLiteral2941059717, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_35);
}
IL_00e5:
{
ASN1_t924533535 * L_36 = V_5;
int32_t L_37 = ASN1Convert_ToInt32_m2828871616(NULL /*static, unused*/, L_36, /*hidden argument*/NULL);
__this->set__iterations_2(L_37);
}
IL_00f2:
{
ASN1_t924533535 * L_38 = V_0;
ASN1_t924533535 * L_39 = ASN1_get_Item_m1784978716(L_38, 1, /*hidden argument*/NULL);
V_6 = L_39;
ASN1_t924533535 * L_40 = V_6;
uint8_t L_41 = ASN1_get_Tag_m1462340837(L_40, /*hidden argument*/NULL);
if ((((int32_t)L_41) == ((int32_t)4)))
{
goto IL_0113;
}
}
{
CryptographicException_t3349726436 * L_42 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_42, _stringLiteral2894171519, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_42);
}
IL_0113:
{
ASN1_t924533535 * L_43 = V_6;
ByteU5BU5D_t3397334013* L_44 = ASN1_get_Value_m2669044878(L_43, /*hidden argument*/NULL);
__this->set__data_3(L_44);
return;
}
}
// System.Void Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::.ctor()
extern Il2CppClass* ArrayList_t4252133567_il2cpp_TypeInfo_var;
extern const uint32_t PrivateKeyInfo__ctor_m3848692521_MetadataUsageId;
extern "C" void PrivateKeyInfo__ctor_m3848692521 (PrivateKeyInfo_t92917103 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PrivateKeyInfo__ctor_m3848692521_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
__this->set__version_0(0);
ArrayList_t4252133567 * L_0 = (ArrayList_t4252133567 *)il2cpp_codegen_object_new(ArrayList_t4252133567_il2cpp_TypeInfo_var);
ArrayList__ctor_m4012174379(L_0, /*hidden argument*/NULL);
__this->set__list_3(L_0);
return;
}
}
// System.Void Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::.ctor(System.Byte[])
extern "C" void PrivateKeyInfo__ctor_m4104109714 (PrivateKeyInfo_t92917103 * __this, ByteU5BU5D_t3397334013* ___data0, const MethodInfo* method)
{
{
PrivateKeyInfo__ctor_m3848692521(__this, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_0 = ___data0;
PrivateKeyInfo_Decode_m3614741064(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::get_PrivateKey()
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t PrivateKeyInfo_get_PrivateKey_m3481091992_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* PrivateKeyInfo_get_PrivateKey_m3481091992 (PrivateKeyInfo_t92917103 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PrivateKeyInfo_get_PrivateKey_m3481091992_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
ByteU5BU5D_t3397334013* L_0 = __this->get__key_2();
if (L_0)
{
goto IL_000d;
}
}
{
return (ByteU5BU5D_t3397334013*)NULL;
}
IL_000d:
{
ByteU5BU5D_t3397334013* L_1 = __this->get__key_2();
Il2CppObject * L_2 = Array_Clone_m768574314((Il2CppArray *)(Il2CppArray *)L_1, /*hidden argument*/NULL);
return ((ByteU5BU5D_t3397334013*)Castclass(L_2, ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var));
}
}
// System.Void Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::Decode(System.Byte[])
extern Il2CppClass* ASN1_t924533535_il2cpp_TypeInfo_var;
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral1266891717;
extern Il2CppCodeGenString* _stringLiteral2992694867;
extern Il2CppCodeGenString* _stringLiteral2181690916;
extern Il2CppCodeGenString* _stringLiteral1646033205;
extern const uint32_t PrivateKeyInfo_Decode_m3614741064_MetadataUsageId;
extern "C" void PrivateKeyInfo_Decode_m3614741064 (PrivateKeyInfo_t92917103 * __this, ByteU5BU5D_t3397334013* ___data0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PrivateKeyInfo_Decode_m3614741064_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ASN1_t924533535 * V_0 = NULL;
ASN1_t924533535 * V_1 = NULL;
ASN1_t924533535 * V_2 = NULL;
ASN1_t924533535 * V_3 = NULL;
ASN1_t924533535 * V_4 = NULL;
ASN1_t924533535 * V_5 = NULL;
int32_t V_6 = 0;
{
ByteU5BU5D_t3397334013* L_0 = ___data0;
ASN1_t924533535 * L_1 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3359093803(L_1, L_0, /*hidden argument*/NULL);
V_0 = L_1;
ASN1_t924533535 * L_2 = V_0;
uint8_t L_3 = ASN1_get_Tag_m1462340837(L_2, /*hidden argument*/NULL);
if ((((int32_t)L_3) == ((int32_t)((int32_t)48))))
{
goto IL_001f;
}
}
{
CryptographicException_t3349726436 * L_4 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_4, _stringLiteral1266891717, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4);
}
IL_001f:
{
ASN1_t924533535 * L_5 = V_0;
ASN1_t924533535 * L_6 = ASN1_get_Item_m1784978716(L_5, 0, /*hidden argument*/NULL);
V_1 = L_6;
ASN1_t924533535 * L_7 = V_1;
uint8_t L_8 = ASN1_get_Tag_m1462340837(L_7, /*hidden argument*/NULL);
if ((((int32_t)L_8) == ((int32_t)2)))
{
goto IL_003e;
}
}
{
CryptographicException_t3349726436 * L_9 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_9, _stringLiteral2992694867, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_9);
}
IL_003e:
{
ASN1_t924533535 * L_10 = V_1;
ByteU5BU5D_t3397334013* L_11 = ASN1_get_Value_m2669044878(L_10, /*hidden argument*/NULL);
int32_t L_12 = 0;
uint8_t L_13 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
__this->set__version_0(L_13);
ASN1_t924533535 * L_14 = V_0;
ASN1_t924533535 * L_15 = ASN1_get_Item_m1784978716(L_14, 1, /*hidden argument*/NULL);
V_2 = L_15;
ASN1_t924533535 * L_16 = V_2;
uint8_t L_17 = ASN1_get_Tag_m1462340837(L_16, /*hidden argument*/NULL);
if ((((int32_t)L_17) == ((int32_t)((int32_t)48))))
{
goto IL_006c;
}
}
{
CryptographicException_t3349726436 * L_18 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_18, _stringLiteral2181690916, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_18);
}
IL_006c:
{
ASN1_t924533535 * L_19 = V_2;
ASN1_t924533535 * L_20 = ASN1_get_Item_m1784978716(L_19, 0, /*hidden argument*/NULL);
V_3 = L_20;
ASN1_t924533535 * L_21 = V_3;
uint8_t L_22 = ASN1_get_Tag_m1462340837(L_21, /*hidden argument*/NULL);
if ((((int32_t)L_22) == ((int32_t)6)))
{
goto IL_008b;
}
}
{
CryptographicException_t3349726436 * L_23 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_23, _stringLiteral1646033205, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_23);
}
IL_008b:
{
ASN1_t924533535 * L_24 = V_3;
String_t* L_25 = ASN1Convert_ToOid_m2695991795(NULL /*static, unused*/, L_24, /*hidden argument*/NULL);
__this->set__algorithm_1(L_25);
ASN1_t924533535 * L_26 = V_0;
ASN1_t924533535 * L_27 = ASN1_get_Item_m1784978716(L_26, 2, /*hidden argument*/NULL);
V_4 = L_27;
ASN1_t924533535 * L_28 = V_4;
ByteU5BU5D_t3397334013* L_29 = ASN1_get_Value_m2669044878(L_28, /*hidden argument*/NULL);
__this->set__key_2(L_29);
ASN1_t924533535 * L_30 = V_0;
int32_t L_31 = ASN1_get_Count_m404940548(L_30, /*hidden argument*/NULL);
if ((((int32_t)L_31) <= ((int32_t)3)))
{
goto IL_00f3;
}
}
{
ASN1_t924533535 * L_32 = V_0;
ASN1_t924533535 * L_33 = ASN1_get_Item_m1784978716(L_32, 3, /*hidden argument*/NULL);
V_5 = L_33;
V_6 = 0;
goto IL_00e5;
}
IL_00ca:
{
ArrayList_t4252133567 * L_34 = __this->get__list_3();
ASN1_t924533535 * L_35 = V_5;
int32_t L_36 = V_6;
ASN1_t924533535 * L_37 = ASN1_get_Item_m1784978716(L_35, L_36, /*hidden argument*/NULL);
VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_34, L_37);
int32_t L_38 = V_6;
V_6 = ((int32_t)((int32_t)L_38+(int32_t)1));
}
IL_00e5:
{
int32_t L_39 = V_6;
ASN1_t924533535 * L_40 = V_5;
int32_t L_41 = ASN1_get_Count_m404940548(L_40, /*hidden argument*/NULL);
if ((((int32_t)L_39) < ((int32_t)L_41)))
{
goto IL_00ca;
}
}
IL_00f3:
{
return;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::RemoveLeadingZero(System.Byte[])
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t PrivateKeyInfo_RemoveLeadingZero_m1452692206_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* PrivateKeyInfo_RemoveLeadingZero_m1452692206 (Il2CppObject * __this /* static, unused */, ByteU5BU5D_t3397334013* ___bigInt0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PrivateKeyInfo_RemoveLeadingZero_m1452692206_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
ByteU5BU5D_t3397334013* V_2 = NULL;
{
V_0 = 0;
ByteU5BU5D_t3397334013* L_0 = ___bigInt0;
V_1 = (((int32_t)((int32_t)(((Il2CppArray *)L_0)->max_length))));
ByteU5BU5D_t3397334013* L_1 = ___bigInt0;
int32_t L_2 = 0;
uint8_t L_3 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
if (L_3)
{
goto IL_0014;
}
}
{
V_0 = 1;
int32_t L_4 = V_1;
V_1 = ((int32_t)((int32_t)L_4-(int32_t)1));
}
IL_0014:
{
int32_t L_5 = V_1;
V_2 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_5));
ByteU5BU5D_t3397334013* L_6 = ___bigInt0;
int32_t L_7 = V_0;
ByteU5BU5D_t3397334013* L_8 = V_2;
int32_t L_9 = V_1;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_6, L_7, (Il2CppArray *)(Il2CppArray *)L_8, 0, L_9, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_10 = V_2;
return L_10;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::Normalize(System.Byte[],System.Int32)
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t PrivateKeyInfo_Normalize_m3959595934_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* PrivateKeyInfo_Normalize_m3959595934 (Il2CppObject * __this /* static, unused */, ByteU5BU5D_t3397334013* ___bigInt0, int32_t ___length1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PrivateKeyInfo_Normalize_m3959595934_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ByteU5BU5D_t3397334013* V_0 = NULL;
{
ByteU5BU5D_t3397334013* L_0 = ___bigInt0;
int32_t L_1 = ___length1;
if ((!(((uint32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_0)->max_length))))) == ((uint32_t)L_1))))
{
goto IL_000b;
}
}
{
ByteU5BU5D_t3397334013* L_2 = ___bigInt0;
return L_2;
}
IL_000b:
{
ByteU5BU5D_t3397334013* L_3 = ___bigInt0;
int32_t L_4 = ___length1;
if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_3)->max_length))))) <= ((int32_t)L_4)))
{
goto IL_001b;
}
}
{
ByteU5BU5D_t3397334013* L_5 = ___bigInt0;
ByteU5BU5D_t3397334013* L_6 = PrivateKeyInfo_RemoveLeadingZero_m1452692206(NULL /*static, unused*/, L_5, /*hidden argument*/NULL);
return L_6;
}
IL_001b:
{
int32_t L_7 = ___length1;
V_0 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_7));
ByteU5BU5D_t3397334013* L_8 = ___bigInt0;
ByteU5BU5D_t3397334013* L_9 = V_0;
int32_t L_10 = ___length1;
ByteU5BU5D_t3397334013* L_11 = ___bigInt0;
ByteU5BU5D_t3397334013* L_12 = ___bigInt0;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_8, 0, (Il2CppArray *)(Il2CppArray *)L_9, ((int32_t)((int32_t)L_10-(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_11)->max_length)))))), (((int32_t)((int32_t)(((Il2CppArray *)L_12)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_13 = V_0;
return L_13;
}
}
// System.Security.Cryptography.RSA Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::DecodeRSA(System.Byte[])
extern Il2CppClass* ASN1_t924533535_il2cpp_TypeInfo_var;
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppClass* RSAParameters_t1462703416_il2cpp_TypeInfo_var;
extern Il2CppClass* CspParameters_t46065560_il2cpp_TypeInfo_var;
extern Il2CppClass* RSACryptoServiceProvider_t4229286967_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral600239592;
extern Il2CppCodeGenString* _stringLiteral1441437598;
extern Il2CppCodeGenString* _stringLiteral2155676142;
extern const uint32_t PrivateKeyInfo_DecodeRSA_m1427048948_MetadataUsageId;
extern "C" RSA_t3719518354 * PrivateKeyInfo_DecodeRSA_m1427048948 (Il2CppObject * __this /* static, unused */, ByteU5BU5D_t3397334013* ___keypair0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PrivateKeyInfo_DecodeRSA_m1427048948_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ASN1_t924533535 * V_0 = NULL;
ASN1_t924533535 * V_1 = NULL;
RSAParameters_t1462703416 V_2;
memset(&V_2, 0, sizeof(V_2));
int32_t V_3 = 0;
int32_t V_4 = 0;
RSA_t3719518354 * V_5 = NULL;
CspParameters_t46065560 * V_6 = 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);
{
ByteU5BU5D_t3397334013* L_0 = ___keypair0;
ASN1_t924533535 * L_1 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3359093803(L_1, L_0, /*hidden argument*/NULL);
V_0 = L_1;
ASN1_t924533535 * L_2 = V_0;
uint8_t L_3 = ASN1_get_Tag_m1462340837(L_2, /*hidden argument*/NULL);
if ((((int32_t)L_3) == ((int32_t)((int32_t)48))))
{
goto IL_001f;
}
}
{
CryptographicException_t3349726436 * L_4 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_4, _stringLiteral600239592, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4);
}
IL_001f:
{
ASN1_t924533535 * L_5 = V_0;
ASN1_t924533535 * L_6 = ASN1_get_Item_m1784978716(L_5, 0, /*hidden argument*/NULL);
V_1 = L_6;
ASN1_t924533535 * L_7 = V_1;
uint8_t L_8 = ASN1_get_Tag_m1462340837(L_7, /*hidden argument*/NULL);
if ((((int32_t)L_8) == ((int32_t)2)))
{
goto IL_003e;
}
}
{
CryptographicException_t3349726436 * L_9 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_9, _stringLiteral1441437598, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_9);
}
IL_003e:
{
ASN1_t924533535 * L_10 = V_0;
int32_t L_11 = ASN1_get_Count_m404940548(L_10, /*hidden argument*/NULL);
if ((((int32_t)L_11) >= ((int32_t)((int32_t)9))))
{
goto IL_0056;
}
}
{
CryptographicException_t3349726436 * L_12 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_12, _stringLiteral2155676142, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_12);
}
IL_0056:
{
Initobj (RSAParameters_t1462703416_il2cpp_TypeInfo_var, (&V_2));
ASN1_t924533535 * L_13 = V_0;
ASN1_t924533535 * L_14 = ASN1_get_Item_m1784978716(L_13, 1, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_15 = ASN1_get_Value_m2669044878(L_14, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_16 = PrivateKeyInfo_RemoveLeadingZero_m1452692206(NULL /*static, unused*/, L_15, /*hidden argument*/NULL);
(&V_2)->set_Modulus_6(L_16);
ByteU5BU5D_t3397334013* L_17 = (&V_2)->get_Modulus_6();
V_3 = (((int32_t)((int32_t)(((Il2CppArray *)L_17)->max_length))));
int32_t L_18 = V_3;
V_4 = ((int32_t)((int32_t)L_18>>(int32_t)1));
ASN1_t924533535 * L_19 = V_0;
ASN1_t924533535 * L_20 = ASN1_get_Item_m1784978716(L_19, 3, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_21 = ASN1_get_Value_m2669044878(L_20, /*hidden argument*/NULL);
int32_t L_22 = V_3;
ByteU5BU5D_t3397334013* L_23 = PrivateKeyInfo_Normalize_m3959595934(NULL /*static, unused*/, L_21, L_22, /*hidden argument*/NULL);
(&V_2)->set_D_2(L_23);
ASN1_t924533535 * L_24 = V_0;
ASN1_t924533535 * L_25 = ASN1_get_Item_m1784978716(L_24, 6, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_26 = ASN1_get_Value_m2669044878(L_25, /*hidden argument*/NULL);
int32_t L_27 = V_4;
ByteU5BU5D_t3397334013* L_28 = PrivateKeyInfo_Normalize_m3959595934(NULL /*static, unused*/, L_26, L_27, /*hidden argument*/NULL);
(&V_2)->set_DP_3(L_28);
ASN1_t924533535 * L_29 = V_0;
ASN1_t924533535 * L_30 = ASN1_get_Item_m1784978716(L_29, 7, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_31 = ASN1_get_Value_m2669044878(L_30, /*hidden argument*/NULL);
int32_t L_32 = V_4;
ByteU5BU5D_t3397334013* L_33 = PrivateKeyInfo_Normalize_m3959595934(NULL /*static, unused*/, L_31, L_32, /*hidden argument*/NULL);
(&V_2)->set_DQ_4(L_33);
ASN1_t924533535 * L_34 = V_0;
ASN1_t924533535 * L_35 = ASN1_get_Item_m1784978716(L_34, 2, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_36 = ASN1_get_Value_m2669044878(L_35, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_37 = PrivateKeyInfo_RemoveLeadingZero_m1452692206(NULL /*static, unused*/, L_36, /*hidden argument*/NULL);
(&V_2)->set_Exponent_7(L_37);
ASN1_t924533535 * L_38 = V_0;
ASN1_t924533535 * L_39 = ASN1_get_Item_m1784978716(L_38, 8, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_40 = ASN1_get_Value_m2669044878(L_39, /*hidden argument*/NULL);
int32_t L_41 = V_4;
ByteU5BU5D_t3397334013* L_42 = PrivateKeyInfo_Normalize_m3959595934(NULL /*static, unused*/, L_40, L_41, /*hidden argument*/NULL);
(&V_2)->set_InverseQ_5(L_42);
ASN1_t924533535 * L_43 = V_0;
ASN1_t924533535 * L_44 = ASN1_get_Item_m1784978716(L_43, 4, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_45 = ASN1_get_Value_m2669044878(L_44, /*hidden argument*/NULL);
int32_t L_46 = V_4;
ByteU5BU5D_t3397334013* L_47 = PrivateKeyInfo_Normalize_m3959595934(NULL /*static, unused*/, L_45, L_46, /*hidden argument*/NULL);
(&V_2)->set_P_0(L_47);
ASN1_t924533535 * L_48 = V_0;
ASN1_t924533535 * L_49 = ASN1_get_Item_m1784978716(L_48, 5, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_50 = ASN1_get_Value_m2669044878(L_49, /*hidden argument*/NULL);
int32_t L_51 = V_4;
ByteU5BU5D_t3397334013* L_52 = PrivateKeyInfo_Normalize_m3959595934(NULL /*static, unused*/, L_50, L_51, /*hidden argument*/NULL);
(&V_2)->set_Q_1(L_52);
V_5 = (RSA_t3719518354 *)NULL;
}
IL_013b:
try
{ // begin try (depth: 1)
RSA_t3719518354 * L_53 = RSA_Create_m4148185627(NULL /*static, unused*/, /*hidden argument*/NULL);
V_5 = L_53;
RSA_t3719518354 * L_54 = V_5;
RSAParameters_t1462703416 L_55 = V_2;
VirtActionInvoker1< RSAParameters_t1462703416 >::Invoke(13 /* System.Void System.Security.Cryptography.RSA::ImportParameters(System.Security.Cryptography.RSAParameters) */, L_54, L_55);
goto IL_0175;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t1927440687 *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (CryptographicException_t3349726436_il2cpp_TypeInfo_var, e.ex->object.klass))
goto CATCH_014f;
throw e;
}
CATCH_014f:
{ // begin catch(System.Security.Cryptography.CryptographicException)
CspParameters_t46065560 * L_56 = (CspParameters_t46065560 *)il2cpp_codegen_object_new(CspParameters_t46065560_il2cpp_TypeInfo_var);
CspParameters__ctor_m2480441577(L_56, /*hidden argument*/NULL);
V_6 = L_56;
CspParameters_t46065560 * L_57 = V_6;
CspParameters_set_Flags_m4131471722(L_57, 1, /*hidden argument*/NULL);
CspParameters_t46065560 * L_58 = V_6;
RSACryptoServiceProvider_t4229286967 * L_59 = (RSACryptoServiceProvider_t4229286967 *)il2cpp_codegen_object_new(RSACryptoServiceProvider_t4229286967_il2cpp_TypeInfo_var);
RSACryptoServiceProvider__ctor_m4088808429(L_59, L_58, /*hidden argument*/NULL);
V_5 = L_59;
RSA_t3719518354 * L_60 = V_5;
RSAParameters_t1462703416 L_61 = V_2;
VirtActionInvoker1< RSAParameters_t1462703416 >::Invoke(13 /* System.Void System.Security.Cryptography.RSA::ImportParameters(System.Security.Cryptography.RSAParameters) */, L_60, L_61);
goto IL_0175;
} // end catch (depth: 1)
IL_0175:
{
RSA_t3719518354 * L_62 = V_5;
return L_62;
}
}
// System.Security.Cryptography.DSA Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::DecodeDSA(System.Byte[],System.Security.Cryptography.DSAParameters)
extern Il2CppClass* ASN1_t924533535_il2cpp_TypeInfo_var;
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral600239592;
extern const uint32_t PrivateKeyInfo_DecodeDSA_m2717913261_MetadataUsageId;
extern "C" DSA_t903174880 * PrivateKeyInfo_DecodeDSA_m2717913261 (Il2CppObject * __this /* static, unused */, ByteU5BU5D_t3397334013* ___privateKey0, DSAParameters_t1872138834 ___dsaParameters1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PrivateKeyInfo_DecodeDSA_m2717913261_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ASN1_t924533535 * V_0 = NULL;
DSA_t903174880 * V_1 = NULL;
{
ByteU5BU5D_t3397334013* L_0 = ___privateKey0;
ASN1_t924533535 * L_1 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3359093803(L_1, L_0, /*hidden argument*/NULL);
V_0 = L_1;
ASN1_t924533535 * L_2 = V_0;
uint8_t L_3 = ASN1_get_Tag_m1462340837(L_2, /*hidden argument*/NULL);
if ((((int32_t)L_3) == ((int32_t)2)))
{
goto IL_001e;
}
}
{
CryptographicException_t3349726436 * L_4 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_4, _stringLiteral600239592, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4);
}
IL_001e:
{
ASN1_t924533535 * L_5 = V_0;
ByteU5BU5D_t3397334013* L_6 = ASN1_get_Value_m2669044878(L_5, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_7 = PrivateKeyInfo_Normalize_m3959595934(NULL /*static, unused*/, L_6, ((int32_t)20), /*hidden argument*/NULL);
(&___dsaParameters1)->set_X_6(L_7);
DSA_t903174880 * L_8 = DSA_Create_m1032215987(NULL /*static, unused*/, /*hidden argument*/NULL);
V_1 = L_8;
DSA_t903174880 * L_9 = V_1;
DSAParameters_t1872138834 L_10 = ___dsaParameters1;
VirtActionInvoker1< DSAParameters_t1872138834 >::Invoke(12 /* System.Void System.Security.Cryptography.DSA::ImportParameters(System.Security.Cryptography.DSAParameters) */, L_9, L_10);
DSA_t903174880 * L_11 = V_1;
return L_11;
}
}
// System.Void Mono.Security.Cryptography.RSAManaged::.ctor(System.Int32)
extern Il2CppClass* KeySizesU5BU5D_t1153004758_il2cpp_TypeInfo_var;
extern Il2CppClass* KeySizes_t3144736271_il2cpp_TypeInfo_var;
extern const uint32_t RSAManaged__ctor_m4210377437_MetadataUsageId;
extern "C" void RSAManaged__ctor_m4210377437 (RSAManaged_t3034748747 * __this, int32_t ___keySize0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (RSAManaged__ctor_m4210377437_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
__this->set_keyBlinding_3((bool)1);
RSA__ctor_m375023755(__this, /*hidden argument*/NULL);
((AsymmetricAlgorithm_t784058677 *)__this)->set_LegalKeySizesValue_1(((KeySizesU5BU5D_t1153004758*)SZArrayNew(KeySizesU5BU5D_t1153004758_il2cpp_TypeInfo_var, (uint32_t)1)));
KeySizesU5BU5D_t1153004758* L_0 = ((AsymmetricAlgorithm_t784058677 *)__this)->get_LegalKeySizesValue_1();
KeySizes_t3144736271 * L_1 = (KeySizes_t3144736271 *)il2cpp_codegen_object_new(KeySizes_t3144736271_il2cpp_TypeInfo_var);
KeySizes__ctor_m3526899007(L_1, ((int32_t)384), ((int32_t)16384), 8, /*hidden argument*/NULL);
ArrayElementTypeCheck (L_0, L_1);
(L_0)->SetAt(static_cast<il2cpp_array_size_t>(0), (KeySizes_t3144736271 *)L_1);
int32_t L_2 = ___keySize0;
AsymmetricAlgorithm_set_KeySize_m3920505304(__this, L_2, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Cryptography.RSAManaged::add_KeyGenerated(Mono.Security.Cryptography.RSAManaged/KeyGeneratedEventHandler)
extern Il2CppClass* KeyGeneratedEventHandler_t108853709_il2cpp_TypeInfo_var;
extern const uint32_t RSAManaged_add_KeyGenerated_m4116417337_MetadataUsageId;
extern "C" void RSAManaged_add_KeyGenerated_m4116417337 (RSAManaged_t3034748747 * __this, KeyGeneratedEventHandler_t108853709 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (RSAManaged_add_KeyGenerated_m4116417337_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
KeyGeneratedEventHandler_t108853709 * L_0 = __this->get_KeyGenerated_14();
KeyGeneratedEventHandler_t108853709 * L_1 = ___value0;
Delegate_t3022476291 * L_2 = Delegate_Combine_m3791207084(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
__this->set_KeyGenerated_14(((KeyGeneratedEventHandler_t108853709 *)CastclassSealed(L_2, KeyGeneratedEventHandler_t108853709_il2cpp_TypeInfo_var)));
return;
}
}
// System.Void Mono.Security.Cryptography.RSAManaged::remove_KeyGenerated(Mono.Security.Cryptography.RSAManaged/KeyGeneratedEventHandler)
extern Il2CppClass* KeyGeneratedEventHandler_t108853709_il2cpp_TypeInfo_var;
extern const uint32_t RSAManaged_remove_KeyGenerated_m452989252_MetadataUsageId;
extern "C" void RSAManaged_remove_KeyGenerated_m452989252 (RSAManaged_t3034748747 * __this, KeyGeneratedEventHandler_t108853709 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (RSAManaged_remove_KeyGenerated_m452989252_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
KeyGeneratedEventHandler_t108853709 * L_0 = __this->get_KeyGenerated_14();
KeyGeneratedEventHandler_t108853709 * L_1 = ___value0;
Delegate_t3022476291 * L_2 = Delegate_Remove_m2626518725(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
__this->set_KeyGenerated_14(((KeyGeneratedEventHandler_t108853709 *)CastclassSealed(L_2, KeyGeneratedEventHandler_t108853709_il2cpp_TypeInfo_var)));
return;
}
}
// System.Void Mono.Security.Cryptography.RSAManaged::Finalize()
extern "C" void RSAManaged_Finalize_m279303070 (RSAManaged_t3034748747 * __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)
VirtActionInvoker1< bool >::Invoke(7 /* System.Void Mono.Security.Cryptography.RSAManaged::Dispose(System.Boolean) */, __this, (bool)0);
IL2CPP_LEAVE(0x13, FINALLY_000c);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_000c;
}
FINALLY_000c:
{ // begin finally (depth: 1)
Object_Finalize_m4087144328(__this, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(12)
} // end finally (depth: 1)
IL2CPP_CLEANUP(12)
{
IL2CPP_JUMP_TBL(0x13, IL_0013)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_0013:
{
return;
}
}
// System.Void Mono.Security.Cryptography.RSAManaged::GenerateKeyPair()
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t RSAManaged_GenerateKeyPair_m3091094352_MetadataUsageId;
extern "C" void RSAManaged_GenerateKeyPair_m3091094352 (RSAManaged_t3034748747 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (RSAManaged_GenerateKeyPair_m3091094352_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
uint32_t V_2 = 0;
BigInteger_t925946152 * V_3 = NULL;
BigInteger_t925946152 * V_4 = NULL;
BigInteger_t925946152 * V_5 = NULL;
{
int32_t L_0 = VirtFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 Mono.Security.Cryptography.RSAManaged::get_KeySize() */, __this);
V_0 = ((int32_t)((int32_t)((int32_t)((int32_t)L_0+(int32_t)1))>>(int32_t)1));
int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 Mono.Security.Cryptography.RSAManaged::get_KeySize() */, __this);
int32_t L_2 = V_0;
V_1 = ((int32_t)((int32_t)L_1-(int32_t)L_2));
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_3 = BigInteger_op_Implicit_m799073176(NULL /*static, unused*/, ((int32_t)17), /*hidden argument*/NULL);
__this->set_e_13(L_3);
goto IL_004a;
}
IL_0026:
{
int32_t L_4 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_5 = BigInteger_GeneratePseudoPrime_m2606361440(NULL /*static, unused*/, L_4, /*hidden argument*/NULL);
__this->set_p_7(L_5);
BigInteger_t925946152 * L_6 = __this->get_p_7();
uint32_t L_7 = BigInteger_op_Modulus_m582549828(NULL /*static, unused*/, L_6, ((int32_t)17), /*hidden argument*/NULL);
if ((((int32_t)L_7) == ((int32_t)1)))
{
goto IL_004a;
}
}
{
goto IL_004f;
}
IL_004a:
{
goto IL_0026;
}
IL_004f:
{
goto IL_00ec;
}
IL_0054:
{
goto IL_0093;
}
IL_0059:
{
int32_t L_8 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_9 = BigInteger_GeneratePseudoPrime_m2606361440(NULL /*static, unused*/, L_8, /*hidden argument*/NULL);
__this->set_q_8(L_9);
BigInteger_t925946152 * L_10 = __this->get_q_8();
uint32_t L_11 = BigInteger_op_Modulus_m582549828(NULL /*static, unused*/, L_10, ((int32_t)17), /*hidden argument*/NULL);
if ((((int32_t)L_11) == ((int32_t)1)))
{
goto IL_0093;
}
}
{
BigInteger_t925946152 * L_12 = __this->get_p_7();
BigInteger_t925946152 * L_13 = __this->get_q_8();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_14 = BigInteger_op_Inequality_m1442635028(NULL /*static, unused*/, L_12, L_13, /*hidden argument*/NULL);
if (!L_14)
{
goto IL_0093;
}
}
{
goto IL_0098;
}
IL_0093:
{
goto IL_0059;
}
IL_0098:
{
BigInteger_t925946152 * L_15 = __this->get_p_7();
BigInteger_t925946152 * L_16 = __this->get_q_8();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_17 = BigInteger_op_Multiply_m3289461939(NULL /*static, unused*/, L_15, L_16, /*hidden argument*/NULL);
__this->set_n_12(L_17);
BigInteger_t925946152 * L_18 = __this->get_n_12();
int32_t L_19 = BigInteger_BitCount_m3320427467(L_18, /*hidden argument*/NULL);
int32_t L_20 = VirtFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 Mono.Security.Cryptography.RSAManaged::get_KeySize() */, __this);
if ((!(((uint32_t)L_19) == ((uint32_t)L_20))))
{
goto IL_00ca;
}
}
{
goto IL_00f1;
}
IL_00ca:
{
BigInteger_t925946152 * L_21 = __this->get_p_7();
BigInteger_t925946152 * L_22 = __this->get_q_8();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_23 = BigInteger_op_LessThan_m3575820387(NULL /*static, unused*/, L_21, L_22, /*hidden argument*/NULL);
if (!L_23)
{
goto IL_00ec;
}
}
{
BigInteger_t925946152 * L_24 = __this->get_q_8();
__this->set_p_7(L_24);
}
IL_00ec:
{
goto IL_0054;
}
IL_00f1:
{
BigInteger_t925946152 * L_25 = __this->get_p_7();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_26 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, 1, /*hidden argument*/NULL);
BigInteger_t925946152 * L_27 = BigInteger_op_Subtraction_m2941563507(NULL /*static, unused*/, L_25, L_26, /*hidden argument*/NULL);
V_3 = L_27;
BigInteger_t925946152 * L_28 = __this->get_q_8();
BigInteger_t925946152 * L_29 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, 1, /*hidden argument*/NULL);
BigInteger_t925946152 * L_30 = BigInteger_op_Subtraction_m2941563507(NULL /*static, unused*/, L_28, L_29, /*hidden argument*/NULL);
V_4 = L_30;
BigInteger_t925946152 * L_31 = V_3;
BigInteger_t925946152 * L_32 = V_4;
BigInteger_t925946152 * L_33 = BigInteger_op_Multiply_m3289461939(NULL /*static, unused*/, L_31, L_32, /*hidden argument*/NULL);
V_5 = L_33;
BigInteger_t925946152 * L_34 = __this->get_e_13();
BigInteger_t925946152 * L_35 = V_5;
BigInteger_t925946152 * L_36 = BigInteger_ModInverse_m506185746(L_34, L_35, /*hidden argument*/NULL);
__this->set_d_6(L_36);
BigInteger_t925946152 * L_37 = __this->get_d_6();
BigInteger_t925946152 * L_38 = V_3;
BigInteger_t925946152 * L_39 = BigInteger_op_Modulus_m3788401748(NULL /*static, unused*/, L_37, L_38, /*hidden argument*/NULL);
__this->set_dp_9(L_39);
BigInteger_t925946152 * L_40 = __this->get_d_6();
BigInteger_t925946152 * L_41 = V_4;
BigInteger_t925946152 * L_42 = BigInteger_op_Modulus_m3788401748(NULL /*static, unused*/, L_40, L_41, /*hidden argument*/NULL);
__this->set_dq_10(L_42);
BigInteger_t925946152 * L_43 = __this->get_q_8();
BigInteger_t925946152 * L_44 = __this->get_p_7();
BigInteger_t925946152 * L_45 = BigInteger_ModInverse_m506185746(L_43, L_44, /*hidden argument*/NULL);
__this->set_qInv_11(L_45);
__this->set_keypairGenerated_4((bool)1);
__this->set_isCRTpossible_2((bool)1);
KeyGeneratedEventHandler_t108853709 * L_46 = __this->get_KeyGenerated_14();
if (!L_46)
{
goto IL_0195;
}
}
{
KeyGeneratedEventHandler_t108853709 * L_47 = __this->get_KeyGenerated_14();
KeyGeneratedEventHandler_Invoke_m760006389(L_47, __this, (EventArgs_t3289624707 *)NULL, /*hidden argument*/NULL);
}
IL_0195:
{
return;
}
}
// System.Int32 Mono.Security.Cryptography.RSAManaged::get_KeySize()
extern "C" int32_t RSAManaged_get_KeySize_m741890017 (RSAManaged_t3034748747 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
bool L_0 = __this->get_keypairGenerated_4();
if (!L_0)
{
goto IL_0029;
}
}
{
BigInteger_t925946152 * L_1 = __this->get_n_12();
int32_t L_2 = BigInteger_BitCount_m3320427467(L_1, /*hidden argument*/NULL);
V_0 = L_2;
int32_t L_3 = V_0;
if (!((int32_t)((int32_t)L_3&(int32_t)7)))
{
goto IL_0027;
}
}
{
int32_t L_4 = V_0;
int32_t L_5 = V_0;
V_0 = ((int32_t)((int32_t)L_4+(int32_t)((int32_t)((int32_t)8-(int32_t)((int32_t)((int32_t)L_5&(int32_t)7))))));
}
IL_0027:
{
int32_t L_6 = V_0;
return L_6;
}
IL_0029:
{
int32_t L_7 = AsymmetricAlgorithm_get_KeySize_m566706127(__this, /*hidden argument*/NULL);
return L_7;
}
}
// System.Boolean Mono.Security.Cryptography.RSAManaged::get_PublicOnly()
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t RSAManaged_get_PublicOnly_m2603845138_MetadataUsageId;
extern "C" bool RSAManaged_get_PublicOnly_m2603845138 (RSAManaged_t3034748747 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (RSAManaged_get_PublicOnly_m2603845138_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t G_B4_0 = 0;
int32_t G_B6_0 = 0;
{
bool L_0 = __this->get_keypairGenerated_4();
if (!L_0)
{
goto IL_002d;
}
}
{
BigInteger_t925946152 * L_1 = __this->get_d_6();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_2 = BigInteger_op_Equality_m366854173(NULL /*static, unused*/, L_1, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
if (L_2)
{
goto IL_002a;
}
}
{
BigInteger_t925946152 * L_3 = __this->get_n_12();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_4 = BigInteger_op_Equality_m366854173(NULL /*static, unused*/, L_3, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
G_B4_0 = ((int32_t)(L_4));
goto IL_002b;
}
IL_002a:
{
G_B4_0 = 1;
}
IL_002b:
{
G_B6_0 = G_B4_0;
goto IL_002e;
}
IL_002d:
{
G_B6_0 = 0;
}
IL_002e:
{
return (bool)G_B6_0;
}
}
// System.Byte[] Mono.Security.Cryptography.RSAManaged::DecryptValue(System.Byte[])
extern Il2CppClass* ObjectDisposedException_t2695136451_il2cpp_TypeInfo_var;
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral3528316826;
extern Il2CppCodeGenString* _stringLiteral3358510665;
extern const uint32_t RSAManaged_DecryptValue_m3341922225_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* RSAManaged_DecryptValue_m3341922225 (RSAManaged_t3034748747 * __this, ByteU5BU5D_t3397334013* ___rgb0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (RSAManaged_DecryptValue_m3341922225_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
BigInteger_t925946152 * V_0 = NULL;
BigInteger_t925946152 * V_1 = NULL;
BigInteger_t925946152 * V_2 = NULL;
BigInteger_t925946152 * V_3 = NULL;
BigInteger_t925946152 * V_4 = NULL;
BigInteger_t925946152 * V_5 = NULL;
ByteU5BU5D_t3397334013* V_6 = NULL;
{
bool L_0 = __this->get_m_disposed_5();
if (!L_0)
{
goto IL_0016;
}
}
{
ObjectDisposedException_t2695136451 * L_1 = (ObjectDisposedException_t2695136451 *)il2cpp_codegen_object_new(ObjectDisposedException_t2695136451_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3156784572(L_1, _stringLiteral3528316826, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1);
}
IL_0016:
{
bool L_2 = __this->get_keypairGenerated_4();
if (L_2)
{
goto IL_0027;
}
}
{
RSAManaged_GenerateKeyPair_m3091094352(__this, /*hidden argument*/NULL);
}
IL_0027:
{
ByteU5BU5D_t3397334013* L_3 = ___rgb0;
BigInteger_t925946152 * L_4 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2233526054(L_4, L_3, /*hidden argument*/NULL);
V_0 = L_4;
V_1 = (BigInteger_t925946152 *)NULL;
bool L_5 = __this->get_keyBlinding_3();
if (!L_5)
{
goto IL_0070;
}
}
{
BigInteger_t925946152 * L_6 = __this->get_n_12();
int32_t L_7 = BigInteger_BitCount_m3320427467(L_6, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_8 = BigInteger_GenerateRandom_m2507308768(NULL /*static, unused*/, L_7, /*hidden argument*/NULL);
V_1 = L_8;
BigInteger_t925946152 * L_9 = V_1;
BigInteger_t925946152 * L_10 = __this->get_e_13();
BigInteger_t925946152 * L_11 = __this->get_n_12();
BigInteger_t925946152 * L_12 = BigInteger_ModPow_m887553845(L_9, L_10, L_11, /*hidden argument*/NULL);
BigInteger_t925946152 * L_13 = V_0;
BigInteger_t925946152 * L_14 = BigInteger_op_Multiply_m3289461939(NULL /*static, unused*/, L_12, L_13, /*hidden argument*/NULL);
BigInteger_t925946152 * L_15 = __this->get_n_12();
BigInteger_t925946152 * L_16 = BigInteger_op_Modulus_m3788401748(NULL /*static, unused*/, L_14, L_15, /*hidden argument*/NULL);
V_0 = L_16;
}
IL_0070:
{
bool L_17 = __this->get_isCRTpossible_2();
if (!L_17)
{
goto IL_012e;
}
}
{
BigInteger_t925946152 * L_18 = V_0;
BigInteger_t925946152 * L_19 = __this->get_dp_9();
BigInteger_t925946152 * L_20 = __this->get_p_7();
BigInteger_t925946152 * L_21 = BigInteger_ModPow_m887553845(L_18, L_19, L_20, /*hidden argument*/NULL);
V_3 = L_21;
BigInteger_t925946152 * L_22 = V_0;
BigInteger_t925946152 * L_23 = __this->get_dq_10();
BigInteger_t925946152 * L_24 = __this->get_q_8();
BigInteger_t925946152 * L_25 = BigInteger_ModPow_m887553845(L_22, L_23, L_24, /*hidden argument*/NULL);
V_4 = L_25;
BigInteger_t925946152 * L_26 = V_4;
BigInteger_t925946152 * L_27 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_28 = BigInteger_op_GreaterThan_m2125509286(NULL /*static, unused*/, L_26, L_27, /*hidden argument*/NULL);
if (!L_28)
{
goto IL_00f4;
}
}
{
BigInteger_t925946152 * L_29 = __this->get_p_7();
BigInteger_t925946152 * L_30 = V_4;
BigInteger_t925946152 * L_31 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_32 = BigInteger_op_Subtraction_m2941563507(NULL /*static, unused*/, L_30, L_31, /*hidden argument*/NULL);
BigInteger_t925946152 * L_33 = __this->get_qInv_11();
BigInteger_t925946152 * L_34 = BigInteger_op_Multiply_m3289461939(NULL /*static, unused*/, L_32, L_33, /*hidden argument*/NULL);
BigInteger_t925946152 * L_35 = __this->get_p_7();
BigInteger_t925946152 * L_36 = BigInteger_op_Modulus_m3788401748(NULL /*static, unused*/, L_34, L_35, /*hidden argument*/NULL);
BigInteger_t925946152 * L_37 = BigInteger_op_Subtraction_m2941563507(NULL /*static, unused*/, L_29, L_36, /*hidden argument*/NULL);
V_5 = L_37;
BigInteger_t925946152 * L_38 = V_4;
BigInteger_t925946152 * L_39 = __this->get_q_8();
BigInteger_t925946152 * L_40 = V_5;
BigInteger_t925946152 * L_41 = BigInteger_op_Multiply_m3289461939(NULL /*static, unused*/, L_39, L_40, /*hidden argument*/NULL);
BigInteger_t925946152 * L_42 = BigInteger_op_Addition_m1196561843(NULL /*static, unused*/, L_38, L_41, /*hidden argument*/NULL);
V_2 = L_42;
goto IL_0129;
}
IL_00f4:
{
BigInteger_t925946152 * L_43 = V_3;
BigInteger_t925946152 * L_44 = V_4;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_45 = BigInteger_op_Subtraction_m2941563507(NULL /*static, unused*/, L_43, L_44, /*hidden argument*/NULL);
BigInteger_t925946152 * L_46 = __this->get_qInv_11();
BigInteger_t925946152 * L_47 = BigInteger_op_Multiply_m3289461939(NULL /*static, unused*/, L_45, L_46, /*hidden argument*/NULL);
BigInteger_t925946152 * L_48 = __this->get_p_7();
BigInteger_t925946152 * L_49 = BigInteger_op_Modulus_m3788401748(NULL /*static, unused*/, L_47, L_48, /*hidden argument*/NULL);
V_5 = L_49;
BigInteger_t925946152 * L_50 = V_4;
BigInteger_t925946152 * L_51 = __this->get_q_8();
BigInteger_t925946152 * L_52 = V_5;
BigInteger_t925946152 * L_53 = BigInteger_op_Multiply_m3289461939(NULL /*static, unused*/, L_51, L_52, /*hidden argument*/NULL);
BigInteger_t925946152 * L_54 = BigInteger_op_Addition_m1196561843(NULL /*static, unused*/, L_50, L_53, /*hidden argument*/NULL);
V_2 = L_54;
}
IL_0129:
{
goto IL_0161;
}
IL_012e:
{
bool L_55 = RSAManaged_get_PublicOnly_m2603845138(__this, /*hidden argument*/NULL);
if (L_55)
{
goto IL_0151;
}
}
{
BigInteger_t925946152 * L_56 = V_0;
BigInteger_t925946152 * L_57 = __this->get_d_6();
BigInteger_t925946152 * L_58 = __this->get_n_12();
BigInteger_t925946152 * L_59 = BigInteger_ModPow_m887553845(L_56, L_57, L_58, /*hidden argument*/NULL);
V_2 = L_59;
goto IL_0161;
}
IL_0151:
{
String_t* L_60 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3358510665, /*hidden argument*/NULL);
CryptographicException_t3349726436 * L_61 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_61, L_60, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_61);
}
IL_0161:
{
bool L_62 = __this->get_keyBlinding_3();
if (!L_62)
{
goto IL_0190;
}
}
{
BigInteger_t925946152 * L_63 = V_2;
BigInteger_t925946152 * L_64 = V_1;
BigInteger_t925946152 * L_65 = __this->get_n_12();
BigInteger_t925946152 * L_66 = BigInteger_ModInverse_m506185746(L_64, L_65, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_67 = BigInteger_op_Multiply_m3289461939(NULL /*static, unused*/, L_63, L_66, /*hidden argument*/NULL);
BigInteger_t925946152 * L_68 = __this->get_n_12();
BigInteger_t925946152 * L_69 = BigInteger_op_Modulus_m3788401748(NULL /*static, unused*/, L_67, L_68, /*hidden argument*/NULL);
V_2 = L_69;
BigInteger_t925946152 * L_70 = V_1;
BigInteger_Clear_m433805134(L_70, /*hidden argument*/NULL);
}
IL_0190:
{
BigInteger_t925946152 * L_71 = V_2;
int32_t L_72 = VirtFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 Mono.Security.Cryptography.RSAManaged::get_KeySize() */, __this);
ByteU5BU5D_t3397334013* L_73 = RSAManaged_GetPaddedValue_m4394397(__this, L_71, ((int32_t)((int32_t)L_72>>(int32_t)3)), /*hidden argument*/NULL);
V_6 = L_73;
BigInteger_t925946152 * L_74 = V_0;
BigInteger_Clear_m433805134(L_74, /*hidden argument*/NULL);
BigInteger_t925946152 * L_75 = V_2;
BigInteger_Clear_m433805134(L_75, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_76 = V_6;
return L_76;
}
}
// System.Byte[] Mono.Security.Cryptography.RSAManaged::EncryptValue(System.Byte[])
extern Il2CppClass* ObjectDisposedException_t2695136451_il2cpp_TypeInfo_var;
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral3206830748;
extern const uint32_t RSAManaged_EncryptValue_m4089823119_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* RSAManaged_EncryptValue_m4089823119 (RSAManaged_t3034748747 * __this, ByteU5BU5D_t3397334013* ___rgb0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (RSAManaged_EncryptValue_m4089823119_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
BigInteger_t925946152 * V_0 = NULL;
BigInteger_t925946152 * V_1 = NULL;
ByteU5BU5D_t3397334013* V_2 = NULL;
{
bool L_0 = __this->get_m_disposed_5();
if (!L_0)
{
goto IL_0016;
}
}
{
ObjectDisposedException_t2695136451 * L_1 = (ObjectDisposedException_t2695136451 *)il2cpp_codegen_object_new(ObjectDisposedException_t2695136451_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3156784572(L_1, _stringLiteral3206830748, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1);
}
IL_0016:
{
bool L_2 = __this->get_keypairGenerated_4();
if (L_2)
{
goto IL_0027;
}
}
{
RSAManaged_GenerateKeyPair_m3091094352(__this, /*hidden argument*/NULL);
}
IL_0027:
{
ByteU5BU5D_t3397334013* L_3 = ___rgb0;
BigInteger_t925946152 * L_4 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2233526054(L_4, L_3, /*hidden argument*/NULL);
V_0 = L_4;
BigInteger_t925946152 * L_5 = V_0;
BigInteger_t925946152 * L_6 = __this->get_e_13();
BigInteger_t925946152 * L_7 = __this->get_n_12();
BigInteger_t925946152 * L_8 = BigInteger_ModPow_m887553845(L_5, L_6, L_7, /*hidden argument*/NULL);
V_1 = L_8;
BigInteger_t925946152 * L_9 = V_1;
int32_t L_10 = VirtFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 Mono.Security.Cryptography.RSAManaged::get_KeySize() */, __this);
ByteU5BU5D_t3397334013* L_11 = RSAManaged_GetPaddedValue_m4394397(__this, L_9, ((int32_t)((int32_t)L_10>>(int32_t)3)), /*hidden argument*/NULL);
V_2 = L_11;
BigInteger_t925946152 * L_12 = V_0;
BigInteger_Clear_m433805134(L_12, /*hidden argument*/NULL);
BigInteger_t925946152 * L_13 = V_1;
BigInteger_Clear_m433805134(L_13, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_14 = V_2;
return L_14;
}
}
// System.Security.Cryptography.RSAParameters Mono.Security.Cryptography.RSAManaged::ExportParameters(System.Boolean)
extern Il2CppClass* ObjectDisposedException_t2695136451_il2cpp_TypeInfo_var;
extern Il2CppClass* RSAParameters_t1462703416_il2cpp_TypeInfo_var;
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral216748811;
extern Il2CppCodeGenString* _stringLiteral144598766;
extern const uint32_t RSAManaged_ExportParameters_m2873993187_MetadataUsageId;
extern "C" RSAParameters_t1462703416 RSAManaged_ExportParameters_m2873993187 (RSAManaged_t3034748747 * __this, bool ___includePrivateParameters0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (RSAManaged_ExportParameters_m2873993187_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
RSAParameters_t1462703416 V_0;
memset(&V_0, 0, sizeof(V_0));
ByteU5BU5D_t3397334013* V_1 = NULL;
int32_t V_2 = 0;
{
bool L_0 = __this->get_m_disposed_5();
if (!L_0)
{
goto IL_001b;
}
}
{
String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral216748811, /*hidden argument*/NULL);
ObjectDisposedException_t2695136451 * L_2 = (ObjectDisposedException_t2695136451 *)il2cpp_codegen_object_new(ObjectDisposedException_t2695136451_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3156784572(L_2, L_1, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2);
}
IL_001b:
{
bool L_3 = __this->get_keypairGenerated_4();
if (L_3)
{
goto IL_002c;
}
}
{
RSAManaged_GenerateKeyPair_m3091094352(__this, /*hidden argument*/NULL);
}
IL_002c:
{
Initobj (RSAParameters_t1462703416_il2cpp_TypeInfo_var, (&V_0));
BigInteger_t925946152 * L_4 = __this->get_e_13();
ByteU5BU5D_t3397334013* L_5 = BigInteger_GetBytes_m2935282248(L_4, /*hidden argument*/NULL);
(&V_0)->set_Exponent_7(L_5);
BigInteger_t925946152 * L_6 = __this->get_n_12();
ByteU5BU5D_t3397334013* L_7 = BigInteger_GetBytes_m2935282248(L_6, /*hidden argument*/NULL);
(&V_0)->set_Modulus_6(L_7);
bool L_8 = ___includePrivateParameters0;
if (!L_8)
{
goto IL_01a0;
}
}
{
BigInteger_t925946152 * L_9 = __this->get_d_6();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_10 = BigInteger_op_Equality_m366854173(NULL /*static, unused*/, L_9, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
if (!L_10)
{
goto IL_007a;
}
}
{
CryptographicException_t3349726436 * L_11 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_11, _stringLiteral144598766, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_11);
}
IL_007a:
{
BigInteger_t925946152 * L_12 = __this->get_d_6();
ByteU5BU5D_t3397334013* L_13 = BigInteger_GetBytes_m2935282248(L_12, /*hidden argument*/NULL);
(&V_0)->set_D_2(L_13);
ByteU5BU5D_t3397334013* L_14 = (&V_0)->get_D_2();
ByteU5BU5D_t3397334013* L_15 = (&V_0)->get_Modulus_6();
if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_14)->max_length))))) == ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_15)->max_length)))))))
{
goto IL_00de;
}
}
{
ByteU5BU5D_t3397334013* L_16 = (&V_0)->get_Modulus_6();
V_1 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_16)->max_length))))));
ByteU5BU5D_t3397334013* L_17 = (&V_0)->get_D_2();
ByteU5BU5D_t3397334013* L_18 = V_1;
ByteU5BU5D_t3397334013* L_19 = V_1;
ByteU5BU5D_t3397334013* L_20 = (&V_0)->get_D_2();
ByteU5BU5D_t3397334013* L_21 = (&V_0)->get_D_2();
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_17, 0, (Il2CppArray *)(Il2CppArray *)L_18, ((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_19)->max_length))))-(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_20)->max_length)))))), (((int32_t)((int32_t)(((Il2CppArray *)L_21)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_22 = V_1;
(&V_0)->set_D_2(L_22);
}
IL_00de:
{
BigInteger_t925946152 * L_23 = __this->get_p_7();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_24 = BigInteger_op_Inequality_m1442635028(NULL /*static, unused*/, L_23, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
if (!L_24)
{
goto IL_01a0;
}
}
{
BigInteger_t925946152 * L_25 = __this->get_q_8();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_26 = BigInteger_op_Inequality_m1442635028(NULL /*static, unused*/, L_25, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
if (!L_26)
{
goto IL_01a0;
}
}
{
BigInteger_t925946152 * L_27 = __this->get_dp_9();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_28 = BigInteger_op_Inequality_m1442635028(NULL /*static, unused*/, L_27, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
if (!L_28)
{
goto IL_01a0;
}
}
{
BigInteger_t925946152 * L_29 = __this->get_dq_10();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_30 = BigInteger_op_Inequality_m1442635028(NULL /*static, unused*/, L_29, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
if (!L_30)
{
goto IL_01a0;
}
}
{
BigInteger_t925946152 * L_31 = __this->get_qInv_11();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_32 = BigInteger_op_Inequality_m1442635028(NULL /*static, unused*/, L_31, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
if (!L_32)
{
goto IL_01a0;
}
}
{
int32_t L_33 = VirtFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 Mono.Security.Cryptography.RSAManaged::get_KeySize() */, __this);
V_2 = ((int32_t)((int32_t)L_33>>(int32_t)4));
BigInteger_t925946152 * L_34 = __this->get_p_7();
int32_t L_35 = V_2;
ByteU5BU5D_t3397334013* L_36 = RSAManaged_GetPaddedValue_m4394397(__this, L_34, L_35, /*hidden argument*/NULL);
(&V_0)->set_P_0(L_36);
BigInteger_t925946152 * L_37 = __this->get_q_8();
int32_t L_38 = V_2;
ByteU5BU5D_t3397334013* L_39 = RSAManaged_GetPaddedValue_m4394397(__this, L_37, L_38, /*hidden argument*/NULL);
(&V_0)->set_Q_1(L_39);
BigInteger_t925946152 * L_40 = __this->get_dp_9();
int32_t L_41 = V_2;
ByteU5BU5D_t3397334013* L_42 = RSAManaged_GetPaddedValue_m4394397(__this, L_40, L_41, /*hidden argument*/NULL);
(&V_0)->set_DP_3(L_42);
BigInteger_t925946152 * L_43 = __this->get_dq_10();
int32_t L_44 = V_2;
ByteU5BU5D_t3397334013* L_45 = RSAManaged_GetPaddedValue_m4394397(__this, L_43, L_44, /*hidden argument*/NULL);
(&V_0)->set_DQ_4(L_45);
BigInteger_t925946152 * L_46 = __this->get_qInv_11();
int32_t L_47 = V_2;
ByteU5BU5D_t3397334013* L_48 = RSAManaged_GetPaddedValue_m4394397(__this, L_46, L_47, /*hidden argument*/NULL);
(&V_0)->set_InverseQ_5(L_48);
}
IL_01a0:
{
RSAParameters_t1462703416 L_49 = V_0;
return L_49;
}
}
// System.Void Mono.Security.Cryptography.RSAManaged::ImportParameters(System.Security.Cryptography.RSAParameters)
extern Il2CppClass* ObjectDisposedException_t2695136451_il2cpp_TypeInfo_var;
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral216748811;
extern Il2CppCodeGenString* _stringLiteral2657213619;
extern Il2CppCodeGenString* _stringLiteral812084409;
extern Il2CppCodeGenString* _stringLiteral2677776708;
extern const uint32_t RSAManaged_ImportParameters_m2382611442_MetadataUsageId;
extern "C" void RSAManaged_ImportParameters_m2382611442 (RSAManaged_t3034748747 * __this, RSAParameters_t1462703416 ___parameters0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (RSAManaged_ImportParameters_m2382611442_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
bool V_0 = false;
bool V_1 = false;
BigInteger_t925946152 * V_2 = NULL;
BigInteger_t925946152 * V_3 = NULL;
BigInteger_t925946152 * V_4 = NULL;
BigInteger_t925946152 * V_5 = NULL;
int32_t G_B22_0 = 0;
RSAManaged_t3034748747 * G_B25_0 = NULL;
RSAManaged_t3034748747 * G_B23_0 = NULL;
RSAManaged_t3034748747 * G_B24_0 = NULL;
int32_t G_B26_0 = 0;
RSAManaged_t3034748747 * G_B26_1 = NULL;
int32_t G_B35_0 = 0;
{
bool L_0 = __this->get_m_disposed_5();
if (!L_0)
{
goto IL_001b;
}
}
{
String_t* L_1 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral216748811, /*hidden argument*/NULL);
ObjectDisposedException_t2695136451 * L_2 = (ObjectDisposedException_t2695136451 *)il2cpp_codegen_object_new(ObjectDisposedException_t2695136451_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3156784572(L_2, L_1, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2);
}
IL_001b:
{
ByteU5BU5D_t3397334013* L_3 = (&___parameters0)->get_Exponent_7();
if (L_3)
{
goto IL_0037;
}
}
{
String_t* L_4 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2657213619, /*hidden argument*/NULL);
CryptographicException_t3349726436 * L_5 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_5, L_4, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5);
}
IL_0037:
{
ByteU5BU5D_t3397334013* L_6 = (&___parameters0)->get_Modulus_6();
if (L_6)
{
goto IL_0053;
}
}
{
String_t* L_7 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral812084409, /*hidden argument*/NULL);
CryptographicException_t3349726436 * L_8 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_8, L_7, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8);
}
IL_0053:
{
ByteU5BU5D_t3397334013* L_9 = (&___parameters0)->get_Exponent_7();
BigInteger_t925946152 * L_10 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2233526054(L_10, L_9, /*hidden argument*/NULL);
__this->set_e_13(L_10);
ByteU5BU5D_t3397334013* L_11 = (&___parameters0)->get_Modulus_6();
BigInteger_t925946152 * L_12 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2233526054(L_12, L_11, /*hidden argument*/NULL);
__this->set_n_12(L_12);
ByteU5BU5D_t3397334013* L_13 = (&___parameters0)->get_D_2();
if (!L_13)
{
goto IL_0095;
}
}
{
ByteU5BU5D_t3397334013* L_14 = (&___parameters0)->get_D_2();
BigInteger_t925946152 * L_15 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2233526054(L_15, L_14, /*hidden argument*/NULL);
__this->set_d_6(L_15);
}
IL_0095:
{
ByteU5BU5D_t3397334013* L_16 = (&___parameters0)->get_DP_3();
if (!L_16)
{
goto IL_00b3;
}
}
{
ByteU5BU5D_t3397334013* L_17 = (&___parameters0)->get_DP_3();
BigInteger_t925946152 * L_18 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2233526054(L_18, L_17, /*hidden argument*/NULL);
__this->set_dp_9(L_18);
}
IL_00b3:
{
ByteU5BU5D_t3397334013* L_19 = (&___parameters0)->get_DQ_4();
if (!L_19)
{
goto IL_00d1;
}
}
{
ByteU5BU5D_t3397334013* L_20 = (&___parameters0)->get_DQ_4();
BigInteger_t925946152 * L_21 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2233526054(L_21, L_20, /*hidden argument*/NULL);
__this->set_dq_10(L_21);
}
IL_00d1:
{
ByteU5BU5D_t3397334013* L_22 = (&___parameters0)->get_InverseQ_5();
if (!L_22)
{
goto IL_00ef;
}
}
{
ByteU5BU5D_t3397334013* L_23 = (&___parameters0)->get_InverseQ_5();
BigInteger_t925946152 * L_24 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2233526054(L_24, L_23, /*hidden argument*/NULL);
__this->set_qInv_11(L_24);
}
IL_00ef:
{
ByteU5BU5D_t3397334013* L_25 = (&___parameters0)->get_P_0();
if (!L_25)
{
goto IL_010d;
}
}
{
ByteU5BU5D_t3397334013* L_26 = (&___parameters0)->get_P_0();
BigInteger_t925946152 * L_27 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2233526054(L_27, L_26, /*hidden argument*/NULL);
__this->set_p_7(L_27);
}
IL_010d:
{
ByteU5BU5D_t3397334013* L_28 = (&___parameters0)->get_Q_1();
if (!L_28)
{
goto IL_012b;
}
}
{
ByteU5BU5D_t3397334013* L_29 = (&___parameters0)->get_Q_1();
BigInteger_t925946152 * L_30 = (BigInteger_t925946152 *)il2cpp_codegen_object_new(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger__ctor_m2233526054(L_30, L_29, /*hidden argument*/NULL);
__this->set_q_8(L_30);
}
IL_012b:
{
__this->set_keypairGenerated_4((bool)1);
BigInteger_t925946152 * L_31 = __this->get_p_7();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_32 = BigInteger_op_Inequality_m1442635028(NULL /*static, unused*/, L_31, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
if (!L_32)
{
goto IL_0162;
}
}
{
BigInteger_t925946152 * L_33 = __this->get_q_8();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_34 = BigInteger_op_Inequality_m1442635028(NULL /*static, unused*/, L_33, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
if (!L_34)
{
goto IL_0162;
}
}
{
BigInteger_t925946152 * L_35 = __this->get_dp_9();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_36 = BigInteger_op_Inequality_m1442635028(NULL /*static, unused*/, L_35, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
G_B22_0 = ((int32_t)(L_36));
goto IL_0163;
}
IL_0162:
{
G_B22_0 = 0;
}
IL_0163:
{
V_0 = (bool)G_B22_0;
bool L_37 = V_0;
G_B23_0 = __this;
if (!L_37)
{
G_B25_0 = __this;
goto IL_018a;
}
}
{
BigInteger_t925946152 * L_38 = __this->get_dq_10();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_39 = BigInteger_op_Inequality_m1442635028(NULL /*static, unused*/, L_38, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
G_B24_0 = G_B23_0;
if (!L_39)
{
G_B25_0 = G_B23_0;
goto IL_018a;
}
}
{
BigInteger_t925946152 * L_40 = __this->get_qInv_11();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_41 = BigInteger_op_Inequality_m1442635028(NULL /*static, unused*/, L_40, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
G_B26_0 = ((int32_t)(L_41));
G_B26_1 = G_B24_0;
goto IL_018b;
}
IL_018a:
{
G_B26_0 = 0;
G_B26_1 = G_B25_0;
}
IL_018b:
{
G_B26_1->set_isCRTpossible_2((bool)G_B26_0);
bool L_42 = V_0;
if (L_42)
{
goto IL_0197;
}
}
{
return;
}
IL_0197:
{
BigInteger_t925946152 * L_43 = __this->get_n_12();
BigInteger_t925946152 * L_44 = __this->get_p_7();
BigInteger_t925946152 * L_45 = __this->get_q_8();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_46 = BigInteger_op_Multiply_m3289461939(NULL /*static, unused*/, L_44, L_45, /*hidden argument*/NULL);
bool L_47 = BigInteger_op_Equality_m366854173(NULL /*static, unused*/, L_43, L_46, /*hidden argument*/NULL);
V_1 = L_47;
bool L_48 = V_1;
if (!L_48)
{
goto IL_0265;
}
}
{
BigInteger_t925946152 * L_49 = __this->get_p_7();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_50 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, 1, /*hidden argument*/NULL);
BigInteger_t925946152 * L_51 = BigInteger_op_Subtraction_m2941563507(NULL /*static, unused*/, L_49, L_50, /*hidden argument*/NULL);
V_2 = L_51;
BigInteger_t925946152 * L_52 = __this->get_q_8();
BigInteger_t925946152 * L_53 = BigInteger_op_Implicit_m4032862257(NULL /*static, unused*/, 1, /*hidden argument*/NULL);
BigInteger_t925946152 * L_54 = BigInteger_op_Subtraction_m2941563507(NULL /*static, unused*/, L_52, L_53, /*hidden argument*/NULL);
V_3 = L_54;
BigInteger_t925946152 * L_55 = V_2;
BigInteger_t925946152 * L_56 = V_3;
BigInteger_t925946152 * L_57 = BigInteger_op_Multiply_m3289461939(NULL /*static, unused*/, L_55, L_56, /*hidden argument*/NULL);
V_4 = L_57;
BigInteger_t925946152 * L_58 = __this->get_e_13();
BigInteger_t925946152 * L_59 = V_4;
BigInteger_t925946152 * L_60 = BigInteger_ModInverse_m506185746(L_58, L_59, /*hidden argument*/NULL);
V_5 = L_60;
BigInteger_t925946152 * L_61 = __this->get_d_6();
BigInteger_t925946152 * L_62 = V_5;
bool L_63 = BigInteger_op_Equality_m366854173(NULL /*static, unused*/, L_61, L_62, /*hidden argument*/NULL);
V_1 = L_63;
bool L_64 = V_1;
if (L_64)
{
goto IL_0265;
}
}
{
bool L_65 = __this->get_isCRTpossible_2();
if (!L_65)
{
goto IL_0265;
}
}
{
BigInteger_t925946152 * L_66 = __this->get_dp_9();
BigInteger_t925946152 * L_67 = V_5;
BigInteger_t925946152 * L_68 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_69 = BigInteger_op_Modulus_m3788401748(NULL /*static, unused*/, L_67, L_68, /*hidden argument*/NULL);
bool L_70 = BigInteger_op_Equality_m366854173(NULL /*static, unused*/, L_66, L_69, /*hidden argument*/NULL);
if (!L_70)
{
goto IL_0263;
}
}
{
BigInteger_t925946152 * L_71 = __this->get_dq_10();
BigInteger_t925946152 * L_72 = V_5;
BigInteger_t925946152 * L_73 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
BigInteger_t925946152 * L_74 = BigInteger_op_Modulus_m3788401748(NULL /*static, unused*/, L_72, L_73, /*hidden argument*/NULL);
bool L_75 = BigInteger_op_Equality_m366854173(NULL /*static, unused*/, L_71, L_74, /*hidden argument*/NULL);
if (!L_75)
{
goto IL_0263;
}
}
{
BigInteger_t925946152 * L_76 = __this->get_qInv_11();
BigInteger_t925946152 * L_77 = __this->get_q_8();
BigInteger_t925946152 * L_78 = __this->get_p_7();
BigInteger_t925946152 * L_79 = BigInteger_ModInverse_m506185746(L_77, L_78, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_80 = BigInteger_op_Equality_m366854173(NULL /*static, unused*/, L_76, L_79, /*hidden argument*/NULL);
G_B35_0 = ((int32_t)(L_80));
goto IL_0264;
}
IL_0263:
{
G_B35_0 = 0;
}
IL_0264:
{
V_1 = (bool)G_B35_0;
}
IL_0265:
{
bool L_81 = V_1;
if (L_81)
{
goto IL_027b;
}
}
{
String_t* L_82 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2677776708, /*hidden argument*/NULL);
CryptographicException_t3349726436 * L_83 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_83, L_82, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_83);
}
IL_027b:
{
return;
}
}
// System.Void Mono.Security.Cryptography.RSAManaged::Dispose(System.Boolean)
extern Il2CppClass* BigInteger_t925946152_il2cpp_TypeInfo_var;
extern const uint32_t RSAManaged_Dispose_m3018788098_MetadataUsageId;
extern "C" void RSAManaged_Dispose_m3018788098 (RSAManaged_t3034748747 * __this, bool ___disposing0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (RSAManaged_Dispose_m3018788098_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
bool L_0 = __this->get_m_disposed_5();
if (L_0)
{
goto IL_0129;
}
}
{
BigInteger_t925946152 * L_1 = __this->get_d_6();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_2 = BigInteger_op_Inequality_m1442635028(NULL /*static, unused*/, L_1, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_002e;
}
}
{
BigInteger_t925946152 * L_3 = __this->get_d_6();
BigInteger_Clear_m433805134(L_3, /*hidden argument*/NULL);
__this->set_d_6((BigInteger_t925946152 *)NULL);
}
IL_002e:
{
BigInteger_t925946152 * L_4 = __this->get_p_7();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_5 = BigInteger_op_Inequality_m1442635028(NULL /*static, unused*/, L_4, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_0051;
}
}
{
BigInteger_t925946152 * L_6 = __this->get_p_7();
BigInteger_Clear_m433805134(L_6, /*hidden argument*/NULL);
__this->set_p_7((BigInteger_t925946152 *)NULL);
}
IL_0051:
{
BigInteger_t925946152 * L_7 = __this->get_q_8();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_8 = BigInteger_op_Inequality_m1442635028(NULL /*static, unused*/, L_7, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_0074;
}
}
{
BigInteger_t925946152 * L_9 = __this->get_q_8();
BigInteger_Clear_m433805134(L_9, /*hidden argument*/NULL);
__this->set_q_8((BigInteger_t925946152 *)NULL);
}
IL_0074:
{
BigInteger_t925946152 * L_10 = __this->get_dp_9();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_11 = BigInteger_op_Inequality_m1442635028(NULL /*static, unused*/, L_10, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_0097;
}
}
{
BigInteger_t925946152 * L_12 = __this->get_dp_9();
BigInteger_Clear_m433805134(L_12, /*hidden argument*/NULL);
__this->set_dp_9((BigInteger_t925946152 *)NULL);
}
IL_0097:
{
BigInteger_t925946152 * L_13 = __this->get_dq_10();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_14 = BigInteger_op_Inequality_m1442635028(NULL /*static, unused*/, L_13, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
if (!L_14)
{
goto IL_00ba;
}
}
{
BigInteger_t925946152 * L_15 = __this->get_dq_10();
BigInteger_Clear_m433805134(L_15, /*hidden argument*/NULL);
__this->set_dq_10((BigInteger_t925946152 *)NULL);
}
IL_00ba:
{
BigInteger_t925946152 * L_16 = __this->get_qInv_11();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_17 = BigInteger_op_Inequality_m1442635028(NULL /*static, unused*/, L_16, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
if (!L_17)
{
goto IL_00dd;
}
}
{
BigInteger_t925946152 * L_18 = __this->get_qInv_11();
BigInteger_Clear_m433805134(L_18, /*hidden argument*/NULL);
__this->set_qInv_11((BigInteger_t925946152 *)NULL);
}
IL_00dd:
{
bool L_19 = ___disposing0;
if (!L_19)
{
goto IL_0129;
}
}
{
BigInteger_t925946152 * L_20 = __this->get_e_13();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_21 = BigInteger_op_Inequality_m1442635028(NULL /*static, unused*/, L_20, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
if (!L_21)
{
goto IL_0106;
}
}
{
BigInteger_t925946152 * L_22 = __this->get_e_13();
BigInteger_Clear_m433805134(L_22, /*hidden argument*/NULL);
__this->set_e_13((BigInteger_t925946152 *)NULL);
}
IL_0106:
{
BigInteger_t925946152 * L_23 = __this->get_n_12();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t925946152_il2cpp_TypeInfo_var);
bool L_24 = BigInteger_op_Inequality_m1442635028(NULL /*static, unused*/, L_23, (BigInteger_t925946152 *)NULL, /*hidden argument*/NULL);
if (!L_24)
{
goto IL_0129;
}
}
{
BigInteger_t925946152 * L_25 = __this->get_n_12();
BigInteger_Clear_m433805134(L_25, /*hidden argument*/NULL);
__this->set_n_12((BigInteger_t925946152 *)NULL);
}
IL_0129:
{
__this->set_m_disposed_5((bool)1);
return;
}
}
// System.String Mono.Security.Cryptography.RSAManaged::ToXmlString(System.Boolean)
extern Il2CppClass* StringBuilder_t1221177846_il2cpp_TypeInfo_var;
extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var;
extern Il2CppClass* Il2CppObject_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral3092939630;
extern Il2CppCodeGenString* _stringLiteral1054404423;
extern Il2CppCodeGenString* _stringLiteral1356539126;
extern Il2CppCodeGenString* _stringLiteral3640090853;
extern Il2CppCodeGenString* _stringLiteral3902532686;
extern Il2CppCodeGenString* _stringLiteral124729648;
extern Il2CppCodeGenString* _stringLiteral3060106029;
extern Il2CppCodeGenString* _stringLiteral2853613003;
extern Il2CppCodeGenString* _stringLiteral3060106028;
extern Il2CppCodeGenString* _stringLiteral3713249476;
extern Il2CppCodeGenString* _stringLiteral4033978725;
extern Il2CppCodeGenString* _stringLiteral3713249475;
extern Il2CppCodeGenString* _stringLiteral1305095370;
extern Il2CppCodeGenString* _stringLiteral2613920527;
extern Il2CppCodeGenString* _stringLiteral924226302;
extern Il2CppCodeGenString* _stringLiteral3162789196;
extern Il2CppCodeGenString* _stringLiteral3060106049;
extern Il2CppCodeGenString* _stringLiteral2737546005;
extern const uint32_t RSAManaged_ToXmlString_m484938173_MetadataUsageId;
extern "C" String_t* RSAManaged_ToXmlString_m484938173 (RSAManaged_t3034748747 * __this, bool ___includePrivateParameters0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (RSAManaged_ToXmlString_m484938173_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
StringBuilder_t1221177846 * V_0 = NULL;
RSAParameters_t1462703416 V_1;
memset(&V_1, 0, sizeof(V_1));
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);
{
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;
bool L_1 = ___includePrivateParameters0;
RSAParameters_t1462703416 L_2 = VirtFuncInvoker1< RSAParameters_t1462703416 , bool >::Invoke(12 /* System.Security.Cryptography.RSAParameters Mono.Security.Cryptography.RSAManaged::ExportParameters(System.Boolean) */, __this, L_1);
V_1 = L_2;
}
IL_000e:
try
{ // begin try (depth: 1)
{
StringBuilder_t1221177846 * L_3 = V_0;
StringBuilder_Append_m3636508479(L_3, _stringLiteral3092939630, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_4 = V_0;
StringBuilder_Append_m3636508479(L_4, _stringLiteral1054404423, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_5 = V_0;
ByteU5BU5D_t3397334013* L_6 = (&V_1)->get_Modulus_6();
IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var);
String_t* L_7 = Convert_ToBase64String_m1936815455(NULL /*static, unused*/, L_6, /*hidden argument*/NULL);
StringBuilder_Append_m3636508479(L_5, L_7, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_8 = V_0;
StringBuilder_Append_m3636508479(L_8, _stringLiteral1356539126, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_9 = V_0;
StringBuilder_Append_m3636508479(L_9, _stringLiteral3640090853, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_10 = V_0;
ByteU5BU5D_t3397334013* L_11 = (&V_1)->get_Exponent_7();
String_t* L_12 = Convert_ToBase64String_m1936815455(NULL /*static, unused*/, L_11, /*hidden argument*/NULL);
StringBuilder_Append_m3636508479(L_10, L_12, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_13 = V_0;
StringBuilder_Append_m3636508479(L_13, _stringLiteral3902532686, /*hidden argument*/NULL);
bool L_14 = ___includePrivateParameters0;
if (!L_14)
{
goto IL_01b4;
}
}
IL_0076:
{
ByteU5BU5D_t3397334013* L_15 = (&V_1)->get_P_0();
if (!L_15)
{
goto IL_00ad;
}
}
IL_0082:
{
StringBuilder_t1221177846 * L_16 = V_0;
StringBuilder_Append_m3636508479(L_16, _stringLiteral124729648, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_17 = V_0;
ByteU5BU5D_t3397334013* L_18 = (&V_1)->get_P_0();
IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var);
String_t* L_19 = Convert_ToBase64String_m1936815455(NULL /*static, unused*/, L_18, /*hidden argument*/NULL);
StringBuilder_Append_m3636508479(L_17, L_19, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_20 = V_0;
StringBuilder_Append_m3636508479(L_20, _stringLiteral3060106029, /*hidden argument*/NULL);
}
IL_00ad:
{
ByteU5BU5D_t3397334013* L_21 = (&V_1)->get_Q_1();
if (!L_21)
{
goto IL_00e4;
}
}
IL_00b9:
{
StringBuilder_t1221177846 * L_22 = V_0;
StringBuilder_Append_m3636508479(L_22, _stringLiteral2853613003, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_23 = V_0;
ByteU5BU5D_t3397334013* L_24 = (&V_1)->get_Q_1();
IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var);
String_t* L_25 = Convert_ToBase64String_m1936815455(NULL /*static, unused*/, L_24, /*hidden argument*/NULL);
StringBuilder_Append_m3636508479(L_23, L_25, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_26 = V_0;
StringBuilder_Append_m3636508479(L_26, _stringLiteral3060106028, /*hidden argument*/NULL);
}
IL_00e4:
{
ByteU5BU5D_t3397334013* L_27 = (&V_1)->get_DP_3();
if (!L_27)
{
goto IL_011b;
}
}
IL_00f0:
{
StringBuilder_t1221177846 * L_28 = V_0;
StringBuilder_Append_m3636508479(L_28, _stringLiteral3713249476, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_29 = V_0;
ByteU5BU5D_t3397334013* L_30 = (&V_1)->get_DP_3();
IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var);
String_t* L_31 = Convert_ToBase64String_m1936815455(NULL /*static, unused*/, L_30, /*hidden argument*/NULL);
StringBuilder_Append_m3636508479(L_29, L_31, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_32 = V_0;
StringBuilder_Append_m3636508479(L_32, _stringLiteral4033978725, /*hidden argument*/NULL);
}
IL_011b:
{
ByteU5BU5D_t3397334013* L_33 = (&V_1)->get_DQ_4();
if (!L_33)
{
goto IL_0152;
}
}
IL_0127:
{
StringBuilder_t1221177846 * L_34 = V_0;
StringBuilder_Append_m3636508479(L_34, _stringLiteral3713249475, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_35 = V_0;
ByteU5BU5D_t3397334013* L_36 = (&V_1)->get_DQ_4();
IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var);
String_t* L_37 = Convert_ToBase64String_m1936815455(NULL /*static, unused*/, L_36, /*hidden argument*/NULL);
StringBuilder_Append_m3636508479(L_35, L_37, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_38 = V_0;
StringBuilder_Append_m3636508479(L_38, _stringLiteral1305095370, /*hidden argument*/NULL);
}
IL_0152:
{
ByteU5BU5D_t3397334013* L_39 = (&V_1)->get_InverseQ_5();
if (!L_39)
{
goto IL_0189;
}
}
IL_015e:
{
StringBuilder_t1221177846 * L_40 = V_0;
StringBuilder_Append_m3636508479(L_40, _stringLiteral2613920527, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_41 = V_0;
ByteU5BU5D_t3397334013* L_42 = (&V_1)->get_InverseQ_5();
IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var);
String_t* L_43 = Convert_ToBase64String_m1936815455(NULL /*static, unused*/, L_42, /*hidden argument*/NULL);
StringBuilder_Append_m3636508479(L_41, L_43, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_44 = V_0;
StringBuilder_Append_m3636508479(L_44, _stringLiteral924226302, /*hidden argument*/NULL);
}
IL_0189:
{
StringBuilder_t1221177846 * L_45 = V_0;
StringBuilder_Append_m3636508479(L_45, _stringLiteral3162789196, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_46 = V_0;
ByteU5BU5D_t3397334013* L_47 = (&V_1)->get_D_2();
IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var);
String_t* L_48 = Convert_ToBase64String_m1936815455(NULL /*static, unused*/, L_47, /*hidden argument*/NULL);
StringBuilder_Append_m3636508479(L_46, L_48, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_49 = V_0;
StringBuilder_Append_m3636508479(L_49, _stringLiteral3060106049, /*hidden argument*/NULL);
}
IL_01b4:
{
StringBuilder_t1221177846 * L_50 = V_0;
StringBuilder_Append_m3636508479(L_50, _stringLiteral2737546005, /*hidden argument*/NULL);
goto IL_0299;
}
} // 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_01c5;
throw e;
}
CATCH_01c5:
{ // begin catch(System.Object)
{
ByteU5BU5D_t3397334013* L_51 = (&V_1)->get_P_0();
if (!L_51)
{
goto IL_01e8;
}
}
IL_01d2:
{
ByteU5BU5D_t3397334013* L_52 = (&V_1)->get_P_0();
ByteU5BU5D_t3397334013* L_53 = (&V_1)->get_P_0();
Array_Clear_m782967417(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_52, 0, (((int32_t)((int32_t)(((Il2CppArray *)L_53)->max_length)))), /*hidden argument*/NULL);
}
IL_01e8:
{
ByteU5BU5D_t3397334013* L_54 = (&V_1)->get_Q_1();
if (!L_54)
{
goto IL_020a;
}
}
IL_01f4:
{
ByteU5BU5D_t3397334013* L_55 = (&V_1)->get_Q_1();
ByteU5BU5D_t3397334013* L_56 = (&V_1)->get_Q_1();
Array_Clear_m782967417(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_55, 0, (((int32_t)((int32_t)(((Il2CppArray *)L_56)->max_length)))), /*hidden argument*/NULL);
}
IL_020a:
{
ByteU5BU5D_t3397334013* L_57 = (&V_1)->get_DP_3();
if (!L_57)
{
goto IL_022c;
}
}
IL_0216:
{
ByteU5BU5D_t3397334013* L_58 = (&V_1)->get_DP_3();
ByteU5BU5D_t3397334013* L_59 = (&V_1)->get_DP_3();
Array_Clear_m782967417(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_58, 0, (((int32_t)((int32_t)(((Il2CppArray *)L_59)->max_length)))), /*hidden argument*/NULL);
}
IL_022c:
{
ByteU5BU5D_t3397334013* L_60 = (&V_1)->get_DQ_4();
if (!L_60)
{
goto IL_024e;
}
}
IL_0238:
{
ByteU5BU5D_t3397334013* L_61 = (&V_1)->get_DQ_4();
ByteU5BU5D_t3397334013* L_62 = (&V_1)->get_DQ_4();
Array_Clear_m782967417(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_61, 0, (((int32_t)((int32_t)(((Il2CppArray *)L_62)->max_length)))), /*hidden argument*/NULL);
}
IL_024e:
{
ByteU5BU5D_t3397334013* L_63 = (&V_1)->get_InverseQ_5();
if (!L_63)
{
goto IL_0270;
}
}
IL_025a:
{
ByteU5BU5D_t3397334013* L_64 = (&V_1)->get_InverseQ_5();
ByteU5BU5D_t3397334013* L_65 = (&V_1)->get_InverseQ_5();
Array_Clear_m782967417(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_64, 0, (((int32_t)((int32_t)(((Il2CppArray *)L_65)->max_length)))), /*hidden argument*/NULL);
}
IL_0270:
{
ByteU5BU5D_t3397334013* L_66 = (&V_1)->get_D_2();
if (!L_66)
{
goto IL_0292;
}
}
IL_027c:
{
ByteU5BU5D_t3397334013* L_67 = (&V_1)->get_D_2();
ByteU5BU5D_t3397334013* L_68 = (&V_1)->get_D_2();
Array_Clear_m782967417(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_67, 0, (((int32_t)((int32_t)(((Il2CppArray *)L_68)->max_length)))), /*hidden argument*/NULL);
}
IL_0292:
{
IL2CPP_RAISE_MANAGED_EXCEPTION(__exception_local);
}
IL_0294:
{
goto IL_0299;
}
} // end catch (depth: 1)
IL_0299:
{
StringBuilder_t1221177846 * L_69 = V_0;
String_t* L_70 = StringBuilder_ToString_m1507807375(L_69, /*hidden argument*/NULL);
return L_70;
}
}
// System.Boolean Mono.Security.Cryptography.RSAManaged::get_IsCrtPossible()
extern "C" bool RSAManaged_get_IsCrtPossible_m855038123 (RSAManaged_t3034748747 * __this, const MethodInfo* method)
{
int32_t G_B3_0 = 0;
{
bool L_0 = __this->get_keypairGenerated_4();
if (!L_0)
{
goto IL_0013;
}
}
{
bool L_1 = __this->get_isCRTpossible_2();
G_B3_0 = ((int32_t)(L_1));
goto IL_0014;
}
IL_0013:
{
G_B3_0 = 1;
}
IL_0014:
{
return (bool)G_B3_0;
}
}
// System.Byte[] Mono.Security.Cryptography.RSAManaged::GetPaddedValue(Mono.Math.BigInteger,System.Int32)
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t RSAManaged_GetPaddedValue_m4394397_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* RSAManaged_GetPaddedValue_m4394397 (RSAManaged_t3034748747 * __this, BigInteger_t925946152 * ___value0, int32_t ___length1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (RSAManaged_GetPaddedValue_m4394397_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ByteU5BU5D_t3397334013* V_0 = NULL;
ByteU5BU5D_t3397334013* V_1 = NULL;
{
BigInteger_t925946152 * L_0 = ___value0;
ByteU5BU5D_t3397334013* L_1 = BigInteger_GetBytes_m2935282248(L_0, /*hidden argument*/NULL);
V_0 = L_1;
ByteU5BU5D_t3397334013* L_2 = V_0;
int32_t L_3 = ___length1;
if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_2)->max_length))))) < ((int32_t)L_3)))
{
goto IL_0012;
}
}
{
ByteU5BU5D_t3397334013* L_4 = V_0;
return L_4;
}
IL_0012:
{
int32_t L_5 = ___length1;
V_1 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_5));
ByteU5BU5D_t3397334013* L_6 = V_0;
ByteU5BU5D_t3397334013* L_7 = V_1;
int32_t L_8 = ___length1;
ByteU5BU5D_t3397334013* L_9 = V_0;
ByteU5BU5D_t3397334013* L_10 = V_0;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_6, 0, (Il2CppArray *)(Il2CppArray *)L_7, ((int32_t)((int32_t)L_8-(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_9)->max_length)))))), (((int32_t)((int32_t)(((Il2CppArray *)L_10)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_11 = V_0;
ByteU5BU5D_t3397334013* L_12 = V_0;
Array_Clear_m782967417(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_11, 0, (((int32_t)((int32_t)(((Il2CppArray *)L_12)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_13 = V_1;
return L_13;
}
}
// System.Void Mono.Security.Cryptography.RSAManaged/KeyGeneratedEventHandler::.ctor(System.Object,System.IntPtr)
extern "C" void KeyGeneratedEventHandler__ctor_m840804319 (KeyGeneratedEventHandler_t108853709 * __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 Mono.Security.Cryptography.RSAManaged/KeyGeneratedEventHandler::Invoke(System.Object,System.EventArgs)
extern "C" void KeyGeneratedEventHandler_Invoke_m760006389 (KeyGeneratedEventHandler_t108853709 * __this, Il2CppObject * ___sender0, EventArgs_t3289624707 * ___e1, const MethodInfo* method)
{
if(__this->get_prev_9() != NULL)
{
KeyGeneratedEventHandler_Invoke_m760006389((KeyGeneratedEventHandler_t108853709 *)__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,il2cpp_codegen_get_delegate_this(__this),___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())(il2cpp_codegen_get_delegate_this(__this),___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 Mono.Security.Cryptography.RSAManaged/KeyGeneratedEventHandler::BeginInvoke(System.Object,System.EventArgs,System.AsyncCallback,System.Object)
extern "C" Il2CppObject * KeyGeneratedEventHandler_BeginInvoke_m4268820560 (KeyGeneratedEventHandler_t108853709 * __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_delegate_begin_invoke((Il2CppDelegate*)__this, __d_args, (Il2CppDelegate*)___callback2, (Il2CppObject*)___object3);
}
// System.Void Mono.Security.Cryptography.RSAManaged/KeyGeneratedEventHandler::EndInvoke(System.IAsyncResult)
extern "C" void KeyGeneratedEventHandler_EndInvoke_m2522076369 (KeyGeneratedEventHandler_t108853709 * __this, Il2CppObject * ___result0, const MethodInfo* method)
{
il2cpp_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
}
// System.Void Mono.Security.Cryptography.SymmetricTransform::.ctor(System.Security.Cryptography.SymmetricAlgorithm,System.Boolean,System.Byte[])
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var;
extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var;
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral4082131765;
extern const uint32_t SymmetricTransform__ctor_m1133484409_MetadataUsageId;
extern "C" void SymmetricTransform__ctor_m1133484409 (SymmetricTransform_t1394030013 * __this, SymmetricAlgorithm_t1108166522 * ___symmAlgo0, bool ___encryption1, ByteU5BU5D_t3397334013* ___rgbIV2, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SymmetricTransform__ctor_m1133484409_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
String_t* V_0 = NULL;
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
SymmetricAlgorithm_t1108166522 * L_0 = ___symmAlgo0;
__this->set_algo_0(L_0);
bool L_1 = ___encryption1;
__this->set_encrypt_1(L_1);
SymmetricAlgorithm_t1108166522 * L_2 = __this->get_algo_0();
int32_t L_3 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 System.Security.Cryptography.SymmetricAlgorithm::get_BlockSize() */, L_2);
__this->set_BlockSizeByte_2(((int32_t)((int32_t)L_3>>(int32_t)3)));
ByteU5BU5D_t3397334013* L_4 = ___rgbIV2;
if (L_4)
{
goto IL_003f;
}
}
{
int32_t L_5 = __this->get_BlockSizeByte_2();
ByteU5BU5D_t3397334013* L_6 = KeyBuilder_IV_m1778372645(NULL /*static, unused*/, L_5, /*hidden argument*/NULL);
___rgbIV2 = L_6;
goto IL_004c;
}
IL_003f:
{
ByteU5BU5D_t3397334013* L_7 = ___rgbIV2;
Il2CppObject * L_8 = Array_Clone_m768574314((Il2CppArray *)(Il2CppArray *)L_7, /*hidden argument*/NULL);
___rgbIV2 = ((ByteU5BU5D_t3397334013*)Castclass(L_8, ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var));
}
IL_004c:
{
ByteU5BU5D_t3397334013* L_9 = ___rgbIV2;
int32_t L_10 = __this->get_BlockSizeByte_2();
if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_9)->max_length))))) >= ((int32_t)L_10)))
{
goto IL_008b;
}
}
{
ObjectU5BU5D_t3614634134* L_11 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)2));
ByteU5BU5D_t3397334013* L_12 = ___rgbIV2;
int32_t L_13 = (((int32_t)((int32_t)(((Il2CppArray *)L_12)->max_length))));
Il2CppObject * L_14 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_13);
ArrayElementTypeCheck (L_11, L_14);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)L_14);
ObjectU5BU5D_t3614634134* L_15 = L_11;
int32_t L_16 = __this->get_BlockSizeByte_2();
int32_t L_17 = L_16;
Il2CppObject * L_18 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_17);
ArrayElementTypeCheck (L_15, L_18);
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(1), (Il2CppObject *)L_18);
String_t* L_19 = Locale_GetText_m2553164138(NULL /*static, unused*/, _stringLiteral4082131765, L_15, /*hidden argument*/NULL);
V_0 = L_19;
String_t* L_20 = V_0;
CryptographicException_t3349726436 * L_21 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_21, L_20, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_21);
}
IL_008b:
{
int32_t L_22 = __this->get_BlockSizeByte_2();
__this->set_temp_3(((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_22)));
ByteU5BU5D_t3397334013* L_23 = ___rgbIV2;
ByteU5BU5D_t3397334013* L_24 = __this->get_temp_3();
int32_t L_25 = __this->get_BlockSizeByte_2();
ByteU5BU5D_t3397334013* L_26 = ___rgbIV2;
int32_t L_27 = Math_Min_m4290821911(NULL /*static, unused*/, L_25, (((int32_t)((int32_t)(((Il2CppArray *)L_26)->max_length)))), /*hidden argument*/NULL);
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_23, 0, (Il2CppArray *)(Il2CppArray *)L_24, 0, L_27, /*hidden argument*/NULL);
int32_t L_28 = __this->get_BlockSizeByte_2();
__this->set_temp2_4(((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_28)));
SymmetricAlgorithm_t1108166522 * L_29 = __this->get_algo_0();
int32_t L_30 = VirtFuncInvoker0< int32_t >::Invoke(8 /* System.Int32 System.Security.Cryptography.SymmetricAlgorithm::get_FeedbackSize() */, L_29);
__this->set_FeedBackByte_7(((int32_t)((int32_t)L_30>>(int32_t)3)));
int32_t L_31 = __this->get_FeedBackByte_7();
if (!L_31)
{
goto IL_00fa;
}
}
{
int32_t L_32 = __this->get_BlockSizeByte_2();
int32_t L_33 = __this->get_FeedBackByte_7();
__this->set_FeedBackIter_8(((int32_t)((int32_t)L_32/(int32_t)L_33)));
}
IL_00fa:
{
int32_t L_34 = __this->get_BlockSizeByte_2();
__this->set_workBuff_5(((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_34)));
int32_t L_35 = __this->get_BlockSizeByte_2();
__this->set_workout_6(((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_35)));
return;
}
}
// System.Void Mono.Security.Cryptography.SymmetricTransform::System.IDisposable.Dispose()
extern "C" void SymmetricTransform_System_IDisposable_Dispose_m615757373 (SymmetricTransform_t1394030013 * __this, const MethodInfo* method)
{
{
VirtActionInvoker1< bool >::Invoke(8 /* System.Void Mono.Security.Cryptography.SymmetricTransform::Dispose(System.Boolean) */, __this, (bool)1);
GC_SuppressFinalize_m953228702(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Cryptography.SymmetricTransform::Finalize()
extern "C" void SymmetricTransform_Finalize_m4047016048 (SymmetricTransform_t1394030013 * __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)
VirtActionInvoker1< bool >::Invoke(8 /* System.Void Mono.Security.Cryptography.SymmetricTransform::Dispose(System.Boolean) */, __this, (bool)0);
IL2CPP_LEAVE(0x13, FINALLY_000c);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_000c;
}
FINALLY_000c:
{ // begin finally (depth: 1)
Object_Finalize_m4087144328(__this, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(12)
} // end finally (depth: 1)
IL2CPP_CLEANUP(12)
{
IL2CPP_JUMP_TBL(0x13, IL_0013)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_0013:
{
return;
}
}
// System.Void Mono.Security.Cryptography.SymmetricTransform::Dispose(System.Boolean)
extern "C" void SymmetricTransform_Dispose_m2623976420 (SymmetricTransform_t1394030013 * __this, bool ___disposing0, const MethodInfo* method)
{
{
bool L_0 = __this->get_m_disposed_9();
if (L_0)
{
goto IL_004a;
}
}
{
bool L_1 = ___disposing0;
if (!L_1)
{
goto IL_0043;
}
}
{
ByteU5BU5D_t3397334013* L_2 = __this->get_temp_3();
int32_t L_3 = __this->get_BlockSizeByte_2();
Array_Clear_m782967417(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_2, 0, L_3, /*hidden argument*/NULL);
__this->set_temp_3((ByteU5BU5D_t3397334013*)NULL);
ByteU5BU5D_t3397334013* L_4 = __this->get_temp2_4();
int32_t L_5 = __this->get_BlockSizeByte_2();
Array_Clear_m782967417(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_4, 0, L_5, /*hidden argument*/NULL);
__this->set_temp2_4((ByteU5BU5D_t3397334013*)NULL);
}
IL_0043:
{
__this->set_m_disposed_9((bool)1);
}
IL_004a:
{
return;
}
}
// System.Boolean Mono.Security.Cryptography.SymmetricTransform::get_CanReuseTransform()
extern "C" bool SymmetricTransform_get_CanReuseTransform_m316975871 (SymmetricTransform_t1394030013 * __this, const MethodInfo* method)
{
{
return (bool)0;
}
}
// System.Void Mono.Security.Cryptography.SymmetricTransform::Transform(System.Byte[],System.Byte[])
extern Il2CppClass* CipherMode_t162592484_il2cpp_TypeInfo_var;
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppClass* NotImplementedException_t2785117854_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral242518878;
extern const uint32_t SymmetricTransform_Transform_m2949778470_MetadataUsageId;
extern "C" void SymmetricTransform_Transform_m2949778470 (SymmetricTransform_t1394030013 * __this, ByteU5BU5D_t3397334013* ___input0, ByteU5BU5D_t3397334013* ___output1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SymmetricTransform_Transform_m2949778470_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
{
SymmetricAlgorithm_t1108166522 * L_0 = __this->get_algo_0();
int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(16 /* System.Security.Cryptography.CipherMode System.Security.Cryptography.SymmetricAlgorithm::get_Mode() */, L_0);
V_0 = L_1;
int32_t L_2 = V_0;
if (((int32_t)((int32_t)L_2-(int32_t)1)) == 0)
{
goto IL_003a;
}
if (((int32_t)((int32_t)L_2-(int32_t)1)) == 1)
{
goto IL_002d;
}
if (((int32_t)((int32_t)L_2-(int32_t)1)) == 2)
{
goto IL_0054;
}
if (((int32_t)((int32_t)L_2-(int32_t)1)) == 3)
{
goto IL_0047;
}
if (((int32_t)((int32_t)L_2-(int32_t)1)) == 4)
{
goto IL_0061;
}
}
{
goto IL_006e;
}
IL_002d:
{
ByteU5BU5D_t3397334013* L_3 = ___input0;
ByteU5BU5D_t3397334013* L_4 = ___output1;
VirtActionInvoker2< ByteU5BU5D_t3397334013*, ByteU5BU5D_t3397334013* >::Invoke(11 /* System.Void Mono.Security.Cryptography.SymmetricTransform::ECB(System.Byte[],System.Byte[]) */, __this, L_3, L_4);
goto IL_0093;
}
IL_003a:
{
ByteU5BU5D_t3397334013* L_5 = ___input0;
ByteU5BU5D_t3397334013* L_6 = ___output1;
VirtActionInvoker2< ByteU5BU5D_t3397334013*, ByteU5BU5D_t3397334013* >::Invoke(12 /* System.Void Mono.Security.Cryptography.SymmetricTransform::CBC(System.Byte[],System.Byte[]) */, __this, L_5, L_6);
goto IL_0093;
}
IL_0047:
{
ByteU5BU5D_t3397334013* L_7 = ___input0;
ByteU5BU5D_t3397334013* L_8 = ___output1;
VirtActionInvoker2< ByteU5BU5D_t3397334013*, ByteU5BU5D_t3397334013* >::Invoke(13 /* System.Void Mono.Security.Cryptography.SymmetricTransform::CFB(System.Byte[],System.Byte[]) */, __this, L_7, L_8);
goto IL_0093;
}
IL_0054:
{
ByteU5BU5D_t3397334013* L_9 = ___input0;
ByteU5BU5D_t3397334013* L_10 = ___output1;
VirtActionInvoker2< ByteU5BU5D_t3397334013*, ByteU5BU5D_t3397334013* >::Invoke(14 /* System.Void Mono.Security.Cryptography.SymmetricTransform::OFB(System.Byte[],System.Byte[]) */, __this, L_9, L_10);
goto IL_0093;
}
IL_0061:
{
ByteU5BU5D_t3397334013* L_11 = ___input0;
ByteU5BU5D_t3397334013* L_12 = ___output1;
VirtActionInvoker2< ByteU5BU5D_t3397334013*, ByteU5BU5D_t3397334013* >::Invoke(15 /* System.Void Mono.Security.Cryptography.SymmetricTransform::CTS(System.Byte[],System.Byte[]) */, __this, L_11, L_12);
goto IL_0093;
}
IL_006e:
{
SymmetricAlgorithm_t1108166522 * L_13 = __this->get_algo_0();
int32_t L_14 = VirtFuncInvoker0< int32_t >::Invoke(16 /* System.Security.Cryptography.CipherMode System.Security.Cryptography.SymmetricAlgorithm::get_Mode() */, L_13);
int32_t L_15 = L_14;
Il2CppObject * L_16 = Box(CipherMode_t162592484_il2cpp_TypeInfo_var, &L_15);
String_t* L_17 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Enum::ToString() */, (Enum_t2459695545 *)L_16);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_18 = String_Concat_m2596409543(NULL /*static, unused*/, _stringLiteral242518878, L_17, /*hidden argument*/NULL);
NotImplementedException_t2785117854 * L_19 = (NotImplementedException_t2785117854 *)il2cpp_codegen_object_new(NotImplementedException_t2785117854_il2cpp_TypeInfo_var);
NotImplementedException__ctor_m1795163961(L_19, L_18, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_19);
}
IL_0093:
{
return;
}
}
// System.Void Mono.Security.Cryptography.SymmetricTransform::CBC(System.Byte[],System.Byte[])
extern "C" void SymmetricTransform_CBC_m2854180216 (SymmetricTransform_t1394030013 * __this, ByteU5BU5D_t3397334013* ___input0, ByteU5BU5D_t3397334013* ___output1, const MethodInfo* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
bool L_0 = __this->get_encrypt_1();
if (!L_0)
{
goto IL_005c;
}
}
{
V_0 = 0;
goto IL_002a;
}
IL_0012:
{
ByteU5BU5D_t3397334013* L_1 = __this->get_temp_3();
int32_t L_2 = V_0;
uint8_t* L_3 = ((L_1)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_2)));
ByteU5BU5D_t3397334013* L_4 = ___input0;
int32_t L_5 = V_0;
int32_t L_6 = L_5;
uint8_t L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
*((int8_t*)(L_3)) = (int8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)(*((uint8_t*)L_3))^(int32_t)L_7)))));
int32_t L_8 = V_0;
V_0 = ((int32_t)((int32_t)L_8+(int32_t)1));
}
IL_002a:
{
int32_t L_9 = V_0;
int32_t L_10 = __this->get_BlockSizeByte_2();
if ((((int32_t)L_9) < ((int32_t)L_10)))
{
goto IL_0012;
}
}
{
ByteU5BU5D_t3397334013* L_11 = __this->get_temp_3();
ByteU5BU5D_t3397334013* L_12 = ___output1;
VirtActionInvoker2< ByteU5BU5D_t3397334013*, ByteU5BU5D_t3397334013* >::Invoke(11 /* System.Void Mono.Security.Cryptography.SymmetricTransform::ECB(System.Byte[],System.Byte[]) */, __this, L_11, L_12);
ByteU5BU5D_t3397334013* L_13 = ___output1;
ByteU5BU5D_t3397334013* L_14 = __this->get_temp_3();
int32_t L_15 = __this->get_BlockSizeByte_2();
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_13, 0, (Il2CppArray *)(Il2CppArray *)L_14, 0, L_15, /*hidden argument*/NULL);
goto IL_00bc;
}
IL_005c:
{
ByteU5BU5D_t3397334013* L_16 = ___input0;
ByteU5BU5D_t3397334013* L_17 = __this->get_temp2_4();
int32_t L_18 = __this->get_BlockSizeByte_2();
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_16, 0, (Il2CppArray *)(Il2CppArray *)L_17, 0, L_18, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_19 = ___input0;
ByteU5BU5D_t3397334013* L_20 = ___output1;
VirtActionInvoker2< ByteU5BU5D_t3397334013*, ByteU5BU5D_t3397334013* >::Invoke(11 /* System.Void Mono.Security.Cryptography.SymmetricTransform::ECB(System.Byte[],System.Byte[]) */, __this, L_19, L_20);
V_1 = 0;
goto IL_0097;
}
IL_007f:
{
ByteU5BU5D_t3397334013* L_21 = ___output1;
int32_t L_22 = V_1;
uint8_t* L_23 = ((L_21)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_22)));
ByteU5BU5D_t3397334013* L_24 = __this->get_temp_3();
int32_t L_25 = V_1;
int32_t L_26 = L_25;
uint8_t L_27 = (L_24)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
*((int8_t*)(L_23)) = (int8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)(*((uint8_t*)L_23))^(int32_t)L_27)))));
int32_t L_28 = V_1;
V_1 = ((int32_t)((int32_t)L_28+(int32_t)1));
}
IL_0097:
{
int32_t L_29 = V_1;
int32_t L_30 = __this->get_BlockSizeByte_2();
if ((((int32_t)L_29) < ((int32_t)L_30)))
{
goto IL_007f;
}
}
{
ByteU5BU5D_t3397334013* L_31 = __this->get_temp2_4();
ByteU5BU5D_t3397334013* L_32 = __this->get_temp_3();
int32_t L_33 = __this->get_BlockSizeByte_2();
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_31, 0, (Il2CppArray *)(Il2CppArray *)L_32, 0, L_33, /*hidden argument*/NULL);
}
IL_00bc:
{
return;
}
}
// System.Void Mono.Security.Cryptography.SymmetricTransform::CFB(System.Byte[],System.Byte[])
extern "C" void SymmetricTransform_CFB_m3548796389 (SymmetricTransform_t1394030013 * __this, ByteU5BU5D_t3397334013* ___input0, ByteU5BU5D_t3397334013* ___output1, const MethodInfo* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
int32_t V_3 = 0;
{
bool L_0 = __this->get_encrypt_1();
if (!L_0)
{
goto IL_00a9;
}
}
{
V_0 = 0;
goto IL_0098;
}
IL_0012:
{
ByteU5BU5D_t3397334013* L_1 = __this->get_temp_3();
ByteU5BU5D_t3397334013* L_2 = __this->get_temp2_4();
VirtActionInvoker2< ByteU5BU5D_t3397334013*, ByteU5BU5D_t3397334013* >::Invoke(11 /* System.Void Mono.Security.Cryptography.SymmetricTransform::ECB(System.Byte[],System.Byte[]) */, __this, L_1, L_2);
V_1 = 0;
goto IL_0043;
}
IL_002b:
{
ByteU5BU5D_t3397334013* L_3 = ___output1;
int32_t L_4 = V_1;
int32_t L_5 = V_0;
ByteU5BU5D_t3397334013* L_6 = __this->get_temp2_4();
int32_t L_7 = V_1;
int32_t L_8 = L_7;
uint8_t L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
ByteU5BU5D_t3397334013* L_10 = ___input0;
int32_t L_11 = V_1;
int32_t L_12 = V_0;
int32_t L_13 = ((int32_t)((int32_t)L_11+(int32_t)L_12));
uint8_t L_14 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_4+(int32_t)L_5))), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_9^(int32_t)L_14))))));
int32_t L_15 = V_1;
V_1 = ((int32_t)((int32_t)L_15+(int32_t)1));
}
IL_0043:
{
int32_t L_16 = V_1;
int32_t L_17 = __this->get_FeedBackByte_7();
if ((((int32_t)L_16) < ((int32_t)L_17)))
{
goto IL_002b;
}
}
{
ByteU5BU5D_t3397334013* L_18 = __this->get_temp_3();
int32_t L_19 = __this->get_FeedBackByte_7();
ByteU5BU5D_t3397334013* L_20 = __this->get_temp_3();
int32_t L_21 = __this->get_BlockSizeByte_2();
int32_t L_22 = __this->get_FeedBackByte_7();
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_18, L_19, (Il2CppArray *)(Il2CppArray *)L_20, 0, ((int32_t)((int32_t)L_21-(int32_t)L_22)), /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_23 = ___output1;
int32_t L_24 = V_0;
ByteU5BU5D_t3397334013* L_25 = __this->get_temp_3();
int32_t L_26 = __this->get_BlockSizeByte_2();
int32_t L_27 = __this->get_FeedBackByte_7();
int32_t L_28 = __this->get_FeedBackByte_7();
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_23, L_24, (Il2CppArray *)(Il2CppArray *)L_25, ((int32_t)((int32_t)L_26-(int32_t)L_27)), L_28, /*hidden argument*/NULL);
int32_t L_29 = V_0;
V_0 = ((int32_t)((int32_t)L_29+(int32_t)1));
}
IL_0098:
{
int32_t L_30 = V_0;
int32_t L_31 = __this->get_FeedBackIter_8();
if ((((int32_t)L_30) < ((int32_t)L_31)))
{
goto IL_0012;
}
}
{
goto IL_0150;
}
IL_00a9:
{
V_2 = 0;
goto IL_0144;
}
IL_00b0:
{
__this->set_encrypt_1((bool)1);
ByteU5BU5D_t3397334013* L_32 = __this->get_temp_3();
ByteU5BU5D_t3397334013* L_33 = __this->get_temp2_4();
VirtActionInvoker2< ByteU5BU5D_t3397334013*, ByteU5BU5D_t3397334013* >::Invoke(11 /* System.Void Mono.Security.Cryptography.SymmetricTransform::ECB(System.Byte[],System.Byte[]) */, __this, L_32, L_33);
__this->set_encrypt_1((bool)0);
ByteU5BU5D_t3397334013* L_34 = __this->get_temp_3();
int32_t L_35 = __this->get_FeedBackByte_7();
ByteU5BU5D_t3397334013* L_36 = __this->get_temp_3();
int32_t L_37 = __this->get_BlockSizeByte_2();
int32_t L_38 = __this->get_FeedBackByte_7();
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_34, L_35, (Il2CppArray *)(Il2CppArray *)L_36, 0, ((int32_t)((int32_t)L_37-(int32_t)L_38)), /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_39 = ___input0;
int32_t L_40 = V_2;
ByteU5BU5D_t3397334013* L_41 = __this->get_temp_3();
int32_t L_42 = __this->get_BlockSizeByte_2();
int32_t L_43 = __this->get_FeedBackByte_7();
int32_t L_44 = __this->get_FeedBackByte_7();
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_39, L_40, (Il2CppArray *)(Il2CppArray *)L_41, ((int32_t)((int32_t)L_42-(int32_t)L_43)), L_44, /*hidden argument*/NULL);
V_3 = 0;
goto IL_0134;
}
IL_011c:
{
ByteU5BU5D_t3397334013* L_45 = ___output1;
int32_t L_46 = V_3;
int32_t L_47 = V_2;
ByteU5BU5D_t3397334013* L_48 = __this->get_temp2_4();
int32_t L_49 = V_3;
int32_t L_50 = L_49;
uint8_t L_51 = (L_48)->GetAt(static_cast<il2cpp_array_size_t>(L_50));
ByteU5BU5D_t3397334013* L_52 = ___input0;
int32_t L_53 = V_3;
int32_t L_54 = V_2;
int32_t L_55 = ((int32_t)((int32_t)L_53+(int32_t)L_54));
uint8_t L_56 = (L_52)->GetAt(static_cast<il2cpp_array_size_t>(L_55));
(L_45)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_46+(int32_t)L_47))), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_51^(int32_t)L_56))))));
int32_t L_57 = V_3;
V_3 = ((int32_t)((int32_t)L_57+(int32_t)1));
}
IL_0134:
{
int32_t L_58 = V_3;
int32_t L_59 = __this->get_FeedBackByte_7();
if ((((int32_t)L_58) < ((int32_t)L_59)))
{
goto IL_011c;
}
}
{
int32_t L_60 = V_2;
V_2 = ((int32_t)((int32_t)L_60+(int32_t)1));
}
IL_0144:
{
int32_t L_61 = V_2;
int32_t L_62 = __this->get_FeedBackIter_8();
if ((((int32_t)L_61) < ((int32_t)L_62)))
{
goto IL_00b0;
}
}
IL_0150:
{
return;
}
}
// System.Void Mono.Security.Cryptography.SymmetricTransform::OFB(System.Byte[],System.Byte[])
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral2422384174;
extern const uint32_t SymmetricTransform_OFB_m3392824169_MetadataUsageId;
extern "C" void SymmetricTransform_OFB_m3392824169 (SymmetricTransform_t1394030013 * __this, ByteU5BU5D_t3397334013* ___input0, ByteU5BU5D_t3397334013* ___output1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SymmetricTransform_OFB_m3392824169_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
CryptographicException_t3349726436 * L_0 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_0, _stringLiteral2422384174, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0);
}
}
// System.Void Mono.Security.Cryptography.SymmetricTransform::CTS(System.Byte[],System.Byte[])
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral2322410599;
extern const uint32_t SymmetricTransform_CTS_m4160634702_MetadataUsageId;
extern "C" void SymmetricTransform_CTS_m4160634702 (SymmetricTransform_t1394030013 * __this, ByteU5BU5D_t3397334013* ___input0, ByteU5BU5D_t3397334013* ___output1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SymmetricTransform_CTS_m4160634702_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
CryptographicException_t3349726436 * L_0 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_0, _stringLiteral2322410599, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0);
}
}
// System.Void Mono.Security.Cryptography.SymmetricTransform::CheckInput(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* _stringLiteral609194916;
extern Il2CppCodeGenString* _stringLiteral3110660963;
extern Il2CppCodeGenString* _stringLiteral816987394;
extern Il2CppCodeGenString* _stringLiteral2737893205;
extern Il2CppCodeGenString* _stringLiteral5961480;
extern const uint32_t SymmetricTransform_CheckInput_m68994501_MetadataUsageId;
extern "C" void SymmetricTransform_CheckInput_m68994501 (SymmetricTransform_t1394030013 * __this, ByteU5BU5D_t3397334013* ___inputBuffer0, int32_t ___inputOffset1, int32_t ___inputCount2, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SymmetricTransform_CheckInput_m68994501_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
ByteU5BU5D_t3397334013* L_0 = ___inputBuffer0;
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, _stringLiteral609194916, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1);
}
IL_0011:
{
int32_t L_2 = ___inputOffset1;
if ((((int32_t)L_2) >= ((int32_t)0)))
{
goto IL_0028;
}
}
{
ArgumentOutOfRangeException_t279959794 * L_3 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m4234257711(L_3, _stringLiteral3110660963, _stringLiteral816987394, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3);
}
IL_0028:
{
int32_t L_4 = ___inputCount2;
if ((((int32_t)L_4) >= ((int32_t)0)))
{
goto IL_003f;
}
}
{
ArgumentOutOfRangeException_t279959794 * L_5 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m4234257711(L_5, _stringLiteral2737893205, _stringLiteral816987394, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5);
}
IL_003f:
{
int32_t L_6 = ___inputOffset1;
ByteU5BU5D_t3397334013* L_7 = ___inputBuffer0;
int32_t L_8 = ___inputCount2;
if ((((int32_t)L_6) <= ((int32_t)((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_7)->max_length))))-(int32_t)L_8)))))
{
goto IL_005f;
}
}
{
String_t* L_9 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral5961480, /*hidden argument*/NULL);
ArgumentException_t3259014390 * L_10 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m544251339(L_10, _stringLiteral609194916, L_9, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_10);
}
IL_005f:
{
return;
}
}
// System.Int32 Mono.Security.Cryptography.SymmetricTransform::TransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32)
extern Il2CppClass* ObjectDisposedException_t2695136451_il2cpp_TypeInfo_var;
extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var;
extern Il2CppClass* ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var;
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral4158020802;
extern Il2CppCodeGenString* _stringLiteral2553810003;
extern Il2CppCodeGenString* _stringLiteral106791344;
extern Il2CppCodeGenString* _stringLiteral816987394;
extern Il2CppCodeGenString* _stringLiteral5961480;
extern const uint32_t SymmetricTransform_TransformBlock_m1524716432_MetadataUsageId;
extern "C" int32_t SymmetricTransform_TransformBlock_m1524716432 (SymmetricTransform_t1394030013 * __this, ByteU5BU5D_t3397334013* ___inputBuffer0, int32_t ___inputOffset1, int32_t ___inputCount2, ByteU5BU5D_t3397334013* ___outputBuffer3, int32_t ___outputOffset4, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SymmetricTransform_TransformBlock_m1524716432_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
{
bool L_0 = __this->get_m_disposed_9();
if (!L_0)
{
goto IL_0016;
}
}
{
ObjectDisposedException_t2695136451 * L_1 = (ObjectDisposedException_t2695136451 *)il2cpp_codegen_object_new(ObjectDisposedException_t2695136451_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3156784572(L_1, _stringLiteral4158020802, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1);
}
IL_0016:
{
ByteU5BU5D_t3397334013* L_2 = ___inputBuffer0;
int32_t L_3 = ___inputOffset1;
int32_t L_4 = ___inputCount2;
SymmetricTransform_CheckInput_m68994501(__this, L_2, L_3, L_4, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_5 = ___outputBuffer3;
if (L_5)
{
goto IL_0031;
}
}
{
ArgumentNullException_t628810857 * L_6 = (ArgumentNullException_t628810857 *)il2cpp_codegen_object_new(ArgumentNullException_t628810857_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m3380712306(L_6, _stringLiteral2553810003, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6);
}
IL_0031:
{
int32_t L_7 = ___outputOffset4;
if ((((int32_t)L_7) >= ((int32_t)0)))
{
goto IL_0049;
}
}
{
ArgumentOutOfRangeException_t279959794 * L_8 = (ArgumentOutOfRangeException_t279959794 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t279959794_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m4234257711(L_8, _stringLiteral106791344, _stringLiteral816987394, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8);
}
IL_0049:
{
ByteU5BU5D_t3397334013* L_9 = ___outputBuffer3;
int32_t L_10 = ___inputCount2;
int32_t L_11 = ___outputOffset4;
V_0 = ((int32_t)((int32_t)((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_9)->max_length))))-(int32_t)L_10))-(int32_t)L_11));
bool L_12 = __this->get_encrypt_1();
if (L_12)
{
goto IL_009c;
}
}
{
int32_t L_13 = V_0;
if ((((int32_t)0) <= ((int32_t)L_13)))
{
goto IL_009c;
}
}
{
SymmetricAlgorithm_t1108166522 * L_14 = __this->get_algo_0();
int32_t L_15 = VirtFuncInvoker0< int32_t >::Invoke(18 /* System.Security.Cryptography.PaddingMode System.Security.Cryptography.SymmetricAlgorithm::get_Padding() */, L_14);
if ((((int32_t)L_15) == ((int32_t)1)))
{
goto IL_0087;
}
}
{
SymmetricAlgorithm_t1108166522 * L_16 = __this->get_algo_0();
int32_t L_17 = VirtFuncInvoker0< int32_t >::Invoke(18 /* System.Security.Cryptography.PaddingMode System.Security.Cryptography.SymmetricAlgorithm::get_Padding() */, L_16);
if ((!(((uint32_t)L_17) == ((uint32_t)3))))
{
goto IL_009c;
}
}
IL_0087:
{
String_t* L_18 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral5961480, /*hidden argument*/NULL);
CryptographicException_t3349726436 * L_19 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m406825529(L_19, _stringLiteral2553810003, L_18, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_19);
}
IL_009c:
{
bool L_20 = SymmetricTransform_get_KeepLastBlock_m2570305955(__this, /*hidden argument*/NULL);
if (!L_20)
{
goto IL_00cf;
}
}
{
int32_t L_21 = V_0;
int32_t L_22 = __this->get_BlockSizeByte_2();
if ((((int32_t)0) <= ((int32_t)((int32_t)((int32_t)L_21+(int32_t)L_22)))))
{
goto IL_00ca;
}
}
{
String_t* L_23 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral5961480, /*hidden argument*/NULL);
CryptographicException_t3349726436 * L_24 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m406825529(L_24, _stringLiteral2553810003, L_23, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_24);
}
IL_00ca:
{
goto IL_010e;
}
IL_00cf:
{
int32_t L_25 = V_0;
if ((((int32_t)0) <= ((int32_t)L_25)))
{
goto IL_010e;
}
}
{
ByteU5BU5D_t3397334013* L_26 = ___inputBuffer0;
int32_t L_27 = ___inputOffset1;
ByteU5BU5D_t3397334013* L_28 = ___outputBuffer3;
int32_t L_29 = __this->get_BlockSizeByte_2();
if ((!(((uint32_t)((int32_t)((int32_t)((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_26)->max_length))))-(int32_t)L_27))-(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_28)->max_length))))))) == ((uint32_t)L_29))))
{
goto IL_00f9;
}
}
{
ByteU5BU5D_t3397334013* L_30 = ___outputBuffer3;
int32_t L_31 = ___outputOffset4;
___inputCount2 = ((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_30)->max_length))))-(int32_t)L_31));
goto IL_010e;
}
IL_00f9:
{
String_t* L_32 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral5961480, /*hidden argument*/NULL);
CryptographicException_t3349726436 * L_33 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m406825529(L_33, _stringLiteral2553810003, L_32, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_33);
}
IL_010e:
{
ByteU5BU5D_t3397334013* L_34 = ___inputBuffer0;
int32_t L_35 = ___inputOffset1;
int32_t L_36 = ___inputCount2;
ByteU5BU5D_t3397334013* L_37 = ___outputBuffer3;
int32_t L_38 = ___outputOffset4;
int32_t L_39 = SymmetricTransform_InternalTransformBlock_m55428483(__this, L_34, L_35, L_36, L_37, L_38, /*hidden argument*/NULL);
return L_39;
}
}
// System.Boolean Mono.Security.Cryptography.SymmetricTransform::get_KeepLastBlock()
extern "C" bool SymmetricTransform_get_KeepLastBlock_m2570305955 (SymmetricTransform_t1394030013 * __this, const MethodInfo* method)
{
int32_t G_B4_0 = 0;
{
bool L_0 = __this->get_encrypt_1();
if (L_0)
{
goto IL_002f;
}
}
{
SymmetricAlgorithm_t1108166522 * L_1 = __this->get_algo_0();
int32_t L_2 = VirtFuncInvoker0< int32_t >::Invoke(18 /* System.Security.Cryptography.PaddingMode System.Security.Cryptography.SymmetricAlgorithm::get_Padding() */, L_1);
if ((((int32_t)L_2) == ((int32_t)1)))
{
goto IL_002f;
}
}
{
SymmetricAlgorithm_t1108166522 * L_3 = __this->get_algo_0();
int32_t L_4 = VirtFuncInvoker0< int32_t >::Invoke(18 /* System.Security.Cryptography.PaddingMode System.Security.Cryptography.SymmetricAlgorithm::get_Padding() */, L_3);
G_B4_0 = ((((int32_t)((((int32_t)L_4) == ((int32_t)3))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_0030;
}
IL_002f:
{
G_B4_0 = 0;
}
IL_0030:
{
return (bool)G_B4_0;
}
}
// System.Int32 Mono.Security.Cryptography.SymmetricTransform::InternalTransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32)
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral936694437;
extern const uint32_t SymmetricTransform_InternalTransformBlock_m55428483_MetadataUsageId;
extern "C" int32_t SymmetricTransform_InternalTransformBlock_m55428483 (SymmetricTransform_t1394030013 * __this, ByteU5BU5D_t3397334013* ___inputBuffer0, int32_t ___inputOffset1, int32_t ___inputCount2, ByteU5BU5D_t3397334013* ___outputBuffer3, int32_t ___outputOffset4, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SymmetricTransform_InternalTransformBlock_m55428483_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
int32_t V_3 = 0;
{
int32_t L_0 = ___inputOffset1;
V_0 = L_0;
int32_t L_1 = ___inputCount2;
int32_t L_2 = __this->get_BlockSizeByte_2();
if ((((int32_t)L_1) == ((int32_t)L_2)))
{
goto IL_0034;
}
}
{
int32_t L_3 = ___inputCount2;
int32_t L_4 = __this->get_BlockSizeByte_2();
if (!((int32_t)((int32_t)L_3%(int32_t)L_4)))
{
goto IL_0026;
}
}
{
CryptographicException_t3349726436 * L_5 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_5, _stringLiteral936694437, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5);
}
IL_0026:
{
int32_t L_6 = ___inputCount2;
int32_t L_7 = __this->get_BlockSizeByte_2();
V_1 = ((int32_t)((int32_t)L_6/(int32_t)L_7));
goto IL_0036;
}
IL_0034:
{
V_1 = 1;
}
IL_0036:
{
bool L_8 = SymmetricTransform_get_KeepLastBlock_m2570305955(__this, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_0045;
}
}
{
int32_t L_9 = V_1;
V_1 = ((int32_t)((int32_t)L_9-(int32_t)1));
}
IL_0045:
{
V_2 = 0;
bool L_10 = __this->get_lastBlock_10();
if (!L_10)
{
goto IL_0095;
}
}
{
ByteU5BU5D_t3397334013* L_11 = __this->get_workBuff_5();
ByteU5BU5D_t3397334013* L_12 = __this->get_workout_6();
VirtActionInvoker2< ByteU5BU5D_t3397334013*, ByteU5BU5D_t3397334013* >::Invoke(10 /* System.Void Mono.Security.Cryptography.SymmetricTransform::Transform(System.Byte[],System.Byte[]) */, __this, L_11, L_12);
ByteU5BU5D_t3397334013* L_13 = __this->get_workout_6();
ByteU5BU5D_t3397334013* L_14 = ___outputBuffer3;
int32_t L_15 = ___outputOffset4;
int32_t L_16 = __this->get_BlockSizeByte_2();
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_13, 0, (Il2CppArray *)(Il2CppArray *)L_14, L_15, L_16, /*hidden argument*/NULL);
int32_t L_17 = ___outputOffset4;
int32_t L_18 = __this->get_BlockSizeByte_2();
___outputOffset4 = ((int32_t)((int32_t)L_17+(int32_t)L_18));
int32_t L_19 = V_2;
int32_t L_20 = __this->get_BlockSizeByte_2();
V_2 = ((int32_t)((int32_t)L_19+(int32_t)L_20));
__this->set_lastBlock_10((bool)0);
}
IL_0095:
{
V_3 = 0;
goto IL_00f9;
}
IL_009c:
{
ByteU5BU5D_t3397334013* L_21 = ___inputBuffer0;
int32_t L_22 = V_0;
ByteU5BU5D_t3397334013* L_23 = __this->get_workBuff_5();
int32_t L_24 = __this->get_BlockSizeByte_2();
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_21, L_22, (Il2CppArray *)(Il2CppArray *)L_23, 0, L_24, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_25 = __this->get_workBuff_5();
ByteU5BU5D_t3397334013* L_26 = __this->get_workout_6();
VirtActionInvoker2< ByteU5BU5D_t3397334013*, ByteU5BU5D_t3397334013* >::Invoke(10 /* System.Void Mono.Security.Cryptography.SymmetricTransform::Transform(System.Byte[],System.Byte[]) */, __this, L_25, L_26);
ByteU5BU5D_t3397334013* L_27 = __this->get_workout_6();
ByteU5BU5D_t3397334013* L_28 = ___outputBuffer3;
int32_t L_29 = ___outputOffset4;
int32_t L_30 = __this->get_BlockSizeByte_2();
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_27, 0, (Il2CppArray *)(Il2CppArray *)L_28, L_29, L_30, /*hidden argument*/NULL);
int32_t L_31 = V_0;
int32_t L_32 = __this->get_BlockSizeByte_2();
V_0 = ((int32_t)((int32_t)L_31+(int32_t)L_32));
int32_t L_33 = ___outputOffset4;
int32_t L_34 = __this->get_BlockSizeByte_2();
___outputOffset4 = ((int32_t)((int32_t)L_33+(int32_t)L_34));
int32_t L_35 = V_2;
int32_t L_36 = __this->get_BlockSizeByte_2();
V_2 = ((int32_t)((int32_t)L_35+(int32_t)L_36));
int32_t L_37 = V_3;
V_3 = ((int32_t)((int32_t)L_37+(int32_t)1));
}
IL_00f9:
{
int32_t L_38 = V_3;
int32_t L_39 = V_1;
if ((((int32_t)L_38) < ((int32_t)L_39)))
{
goto IL_009c;
}
}
{
bool L_40 = SymmetricTransform_get_KeepLastBlock_m2570305955(__this, /*hidden argument*/NULL);
if (!L_40)
{
goto IL_0126;
}
}
{
ByteU5BU5D_t3397334013* L_41 = ___inputBuffer0;
int32_t L_42 = V_0;
ByteU5BU5D_t3397334013* L_43 = __this->get_workBuff_5();
int32_t L_44 = __this->get_BlockSizeByte_2();
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_41, L_42, (Il2CppArray *)(Il2CppArray *)L_43, 0, L_44, /*hidden argument*/NULL);
__this->set_lastBlock_10((bool)1);
}
IL_0126:
{
int32_t L_45 = V_2;
return L_45;
}
}
// System.Void Mono.Security.Cryptography.SymmetricTransform::Random(System.Byte[],System.Int32,System.Int32)
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t SymmetricTransform_Random_m4245525114_MetadataUsageId;
extern "C" void SymmetricTransform_Random_m4245525114 (SymmetricTransform_t1394030013 * __this, ByteU5BU5D_t3397334013* ___buffer0, int32_t ___start1, int32_t ___length2, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SymmetricTransform_Random_m4245525114_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ByteU5BU5D_t3397334013* V_0 = NULL;
{
RandomNumberGenerator_t2510243513 * L_0 = __this->get__rng_11();
if (L_0)
{
goto IL_0016;
}
}
{
RandomNumberGenerator_t2510243513 * L_1 = RandomNumberGenerator_Create_m2275686895(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set__rng_11(L_1);
}
IL_0016:
{
int32_t L_2 = ___length2;
V_0 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_2));
RandomNumberGenerator_t2510243513 * L_3 = __this->get__rng_11();
ByteU5BU5D_t3397334013* L_4 = V_0;
VirtActionInvoker1< ByteU5BU5D_t3397334013* >::Invoke(4 /* System.Void System.Security.Cryptography.RandomNumberGenerator::GetBytes(System.Byte[]) */, L_3, L_4);
ByteU5BU5D_t3397334013* L_5 = V_0;
ByteU5BU5D_t3397334013* L_6 = ___buffer0;
int32_t L_7 = ___start1;
int32_t L_8 = ___length2;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_5, 0, (Il2CppArray *)(Il2CppArray *)L_6, L_7, L_8, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Cryptography.SymmetricTransform::ThrowBadPaddingException(System.Security.Cryptography.PaddingMode,System.Int32,System.Int32)
extern Il2CppClass* PaddingMode_t3032142640_il2cpp_TypeInfo_var;
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var;
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral4084030132;
extern Il2CppCodeGenString* _stringLiteral3305000113;
extern Il2CppCodeGenString* _stringLiteral1380876512;
extern const uint32_t SymmetricTransform_ThrowBadPaddingException_m4218948322_MetadataUsageId;
extern "C" void SymmetricTransform_ThrowBadPaddingException_m4218948322 (SymmetricTransform_t1394030013 * __this, int32_t ___padding0, int32_t ___length1, int32_t ___position2, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SymmetricTransform_ThrowBadPaddingException_m4218948322_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
String_t* V_0 = NULL;
{
String_t* L_0 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral4084030132, /*hidden argument*/NULL);
int32_t L_1 = ___padding0;
int32_t L_2 = L_1;
Il2CppObject * L_3 = Box(PaddingMode_t3032142640_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);
V_0 = L_4;
int32_t L_5 = ___length1;
if ((((int32_t)L_5) < ((int32_t)0)))
{
goto IL_0039;
}
}
{
String_t* L_6 = V_0;
String_t* L_7 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3305000113, /*hidden argument*/NULL);
int32_t L_8 = ___length1;
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*/, L_7, L_10, /*hidden argument*/NULL);
String_t* L_12 = String_Concat_m2596409543(NULL /*static, unused*/, L_6, L_11, /*hidden argument*/NULL);
V_0 = L_12;
}
IL_0039:
{
int32_t L_13 = ___position2;
if ((((int32_t)L_13) < ((int32_t)0)))
{
goto IL_005c;
}
}
{
String_t* L_14 = V_0;
String_t* L_15 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1380876512, /*hidden argument*/NULL);
int32_t L_16 = ___position2;
int32_t L_17 = L_16;
Il2CppObject * L_18 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_17);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_19 = String_Format_m2024975688(NULL /*static, unused*/, L_15, L_18, /*hidden argument*/NULL);
String_t* L_20 = String_Concat_m2596409543(NULL /*static, unused*/, L_14, L_19, /*hidden argument*/NULL);
V_0 = L_20;
}
IL_005c:
{
String_t* L_21 = V_0;
CryptographicException_t3349726436 * L_22 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_22, L_21, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_22);
}
}
// System.Byte[] Mono.Security.Cryptography.SymmetricTransform::FinalEncrypt(System.Byte[],System.Int32,System.Int32)
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral1965455840;
extern const uint32_t SymmetricTransform_FinalEncrypt_m1109248888_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* SymmetricTransform_FinalEncrypt_m1109248888 (SymmetricTransform_t1394030013 * __this, ByteU5BU5D_t3397334013* ___inputBuffer0, int32_t ___inputOffset1, int32_t ___inputCount2, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SymmetricTransform_FinalEncrypt_m1109248888_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
ByteU5BU5D_t3397334013* V_3 = NULL;
ByteU5BU5D_t3397334013* V_4 = NULL;
int32_t V_5 = 0;
uint8_t V_6 = 0x0;
int32_t V_7 = 0;
int32_t V_8 = 0;
{
int32_t L_0 = ___inputCount2;
int32_t L_1 = __this->get_BlockSizeByte_2();
int32_t L_2 = __this->get_BlockSizeByte_2();
V_0 = ((int32_t)((int32_t)((int32_t)((int32_t)L_0/(int32_t)L_1))*(int32_t)L_2));
int32_t L_3 = ___inputCount2;
int32_t L_4 = V_0;
V_1 = ((int32_t)((int32_t)L_3-(int32_t)L_4));
int32_t L_5 = V_0;
V_2 = L_5;
SymmetricAlgorithm_t1108166522 * L_6 = __this->get_algo_0();
int32_t L_7 = VirtFuncInvoker0< int32_t >::Invoke(18 /* System.Security.Cryptography.PaddingMode System.Security.Cryptography.SymmetricAlgorithm::get_Padding() */, L_6);
V_8 = L_7;
int32_t L_8 = V_8;
if (((int32_t)((int32_t)L_8-(int32_t)2)) == 0)
{
goto IL_0041;
}
if (((int32_t)((int32_t)L_8-(int32_t)2)) == 1)
{
goto IL_004f;
}
if (((int32_t)((int32_t)L_8-(int32_t)2)) == 2)
{
goto IL_0041;
}
if (((int32_t)((int32_t)L_8-(int32_t)2)) == 3)
{
goto IL_0041;
}
}
{
goto IL_004f;
}
IL_0041:
{
int32_t L_9 = V_2;
int32_t L_10 = __this->get_BlockSizeByte_2();
V_2 = ((int32_t)((int32_t)L_9+(int32_t)L_10));
goto IL_00a8;
}
IL_004f:
{
int32_t L_11 = ___inputCount2;
if (L_11)
{
goto IL_005c;
}
}
{
return ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)0));
}
IL_005c:
{
int32_t L_12 = V_1;
if (!L_12)
{
goto IL_00a3;
}
}
{
SymmetricAlgorithm_t1108166522 * L_13 = __this->get_algo_0();
int32_t L_14 = VirtFuncInvoker0< int32_t >::Invoke(18 /* System.Security.Cryptography.PaddingMode System.Security.Cryptography.SymmetricAlgorithm::get_Padding() */, L_13);
if ((!(((uint32_t)L_14) == ((uint32_t)1))))
{
goto IL_007e;
}
}
{
CryptographicException_t3349726436 * L_15 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_15, _stringLiteral1965455840, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_15);
}
IL_007e:
{
int32_t L_16 = V_0;
int32_t L_17 = __this->get_BlockSizeByte_2();
V_3 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)L_16+(int32_t)L_17))));
ByteU5BU5D_t3397334013* L_18 = ___inputBuffer0;
int32_t L_19 = ___inputOffset1;
ByteU5BU5D_t3397334013* L_20 = V_3;
int32_t L_21 = ___inputCount2;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_18, L_19, (Il2CppArray *)(Il2CppArray *)L_20, 0, L_21, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_22 = V_3;
___inputBuffer0 = L_22;
___inputOffset1 = 0;
ByteU5BU5D_t3397334013* L_23 = V_3;
___inputCount2 = (((int32_t)((int32_t)(((Il2CppArray *)L_23)->max_length))));
int32_t L_24 = ___inputCount2;
V_2 = L_24;
}
IL_00a3:
{
goto IL_00a8;
}
IL_00a8:
{
int32_t L_25 = V_2;
V_4 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_25));
V_5 = 0;
goto IL_00e9;
}
IL_00b8:
{
ByteU5BU5D_t3397334013* L_26 = ___inputBuffer0;
int32_t L_27 = ___inputOffset1;
int32_t L_28 = __this->get_BlockSizeByte_2();
ByteU5BU5D_t3397334013* L_29 = V_4;
int32_t L_30 = V_5;
SymmetricTransform_InternalTransformBlock_m55428483(__this, L_26, L_27, L_28, L_29, L_30, /*hidden argument*/NULL);
int32_t L_31 = ___inputOffset1;
int32_t L_32 = __this->get_BlockSizeByte_2();
___inputOffset1 = ((int32_t)((int32_t)L_31+(int32_t)L_32));
int32_t L_33 = V_5;
int32_t L_34 = __this->get_BlockSizeByte_2();
V_5 = ((int32_t)((int32_t)L_33+(int32_t)L_34));
int32_t L_35 = V_2;
int32_t L_36 = __this->get_BlockSizeByte_2();
V_2 = ((int32_t)((int32_t)L_35-(int32_t)L_36));
}
IL_00e9:
{
int32_t L_37 = V_2;
int32_t L_38 = __this->get_BlockSizeByte_2();
if ((((int32_t)L_37) > ((int32_t)L_38)))
{
goto IL_00b8;
}
}
{
int32_t L_39 = __this->get_BlockSizeByte_2();
int32_t L_40 = V_1;
V_6 = (((int32_t)((uint8_t)((int32_t)((int32_t)L_39-(int32_t)L_40)))));
SymmetricAlgorithm_t1108166522 * L_41 = __this->get_algo_0();
int32_t L_42 = VirtFuncInvoker0< int32_t >::Invoke(18 /* System.Security.Cryptography.PaddingMode System.Security.Cryptography.SymmetricAlgorithm::get_Padding() */, L_41);
V_8 = L_42;
int32_t L_43 = V_8;
if (((int32_t)((int32_t)L_43-(int32_t)2)) == 0)
{
goto IL_019a;
}
if (((int32_t)((int32_t)L_43-(int32_t)2)) == 1)
{
goto IL_01e2;
}
if (((int32_t)((int32_t)L_43-(int32_t)2)) == 2)
{
goto IL_012b;
}
if (((int32_t)((int32_t)L_43-(int32_t)2)) == 3)
{
goto IL_0159;
}
}
{
goto IL_01e2;
}
IL_012b:
{
ByteU5BU5D_t3397334013* L_44 = V_4;
ByteU5BU5D_t3397334013* L_45 = V_4;
uint8_t L_46 = V_6;
(L_44)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_45)->max_length))))-(int32_t)1))), (uint8_t)L_46);
ByteU5BU5D_t3397334013* L_47 = ___inputBuffer0;
int32_t L_48 = ___inputOffset1;
ByteU5BU5D_t3397334013* L_49 = V_4;
int32_t L_50 = V_0;
int32_t L_51 = V_1;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_47, L_48, (Il2CppArray *)(Il2CppArray *)L_49, L_50, L_51, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_52 = V_4;
int32_t L_53 = V_0;
int32_t L_54 = __this->get_BlockSizeByte_2();
ByteU5BU5D_t3397334013* L_55 = V_4;
int32_t L_56 = V_0;
SymmetricTransform_InternalTransformBlock_m55428483(__this, L_52, L_53, L_54, L_55, L_56, /*hidden argument*/NULL);
goto IL_01fa;
}
IL_0159:
{
ByteU5BU5D_t3397334013* L_57 = V_4;
ByteU5BU5D_t3397334013* L_58 = V_4;
uint8_t L_59 = V_6;
uint8_t L_60 = V_6;
SymmetricTransform_Random_m4245525114(__this, L_57, ((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_58)->max_length))))-(int32_t)L_59)), ((int32_t)((int32_t)L_60-(int32_t)1)), /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_61 = V_4;
ByteU5BU5D_t3397334013* L_62 = V_4;
uint8_t L_63 = V_6;
(L_61)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_62)->max_length))))-(int32_t)1))), (uint8_t)L_63);
ByteU5BU5D_t3397334013* L_64 = ___inputBuffer0;
int32_t L_65 = ___inputOffset1;
ByteU5BU5D_t3397334013* L_66 = V_4;
int32_t L_67 = V_0;
int32_t L_68 = V_1;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_64, L_65, (Il2CppArray *)(Il2CppArray *)L_66, L_67, L_68, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_69 = V_4;
int32_t L_70 = V_0;
int32_t L_71 = __this->get_BlockSizeByte_2();
ByteU5BU5D_t3397334013* L_72 = V_4;
int32_t L_73 = V_0;
SymmetricTransform_InternalTransformBlock_m55428483(__this, L_69, L_70, L_71, L_72, L_73, /*hidden argument*/NULL);
goto IL_01fa;
}
IL_019a:
{
ByteU5BU5D_t3397334013* L_74 = V_4;
V_7 = (((int32_t)((int32_t)(((Il2CppArray *)L_74)->max_length))));
goto IL_01ac;
}
IL_01a5:
{
ByteU5BU5D_t3397334013* L_75 = V_4;
int32_t L_76 = V_7;
uint8_t L_77 = V_6;
(L_75)->SetAt(static_cast<il2cpp_array_size_t>(L_76), (uint8_t)L_77);
}
IL_01ac:
{
int32_t L_78 = V_7;
int32_t L_79 = ((int32_t)((int32_t)L_78-(int32_t)1));
V_7 = L_79;
ByteU5BU5D_t3397334013* L_80 = V_4;
uint8_t L_81 = V_6;
if ((((int32_t)L_79) >= ((int32_t)((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_80)->max_length))))-(int32_t)L_81)))))
{
goto IL_01a5;
}
}
{
ByteU5BU5D_t3397334013* L_82 = ___inputBuffer0;
int32_t L_83 = ___inputOffset1;
ByteU5BU5D_t3397334013* L_84 = V_4;
int32_t L_85 = V_0;
int32_t L_86 = V_1;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_82, L_83, (Il2CppArray *)(Il2CppArray *)L_84, L_85, L_86, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_87 = V_4;
int32_t L_88 = V_0;
int32_t L_89 = __this->get_BlockSizeByte_2();
ByteU5BU5D_t3397334013* L_90 = V_4;
int32_t L_91 = V_0;
SymmetricTransform_InternalTransformBlock_m55428483(__this, L_87, L_88, L_89, L_90, L_91, /*hidden argument*/NULL);
goto IL_01fa;
}
IL_01e2:
{
ByteU5BU5D_t3397334013* L_92 = ___inputBuffer0;
int32_t L_93 = ___inputOffset1;
int32_t L_94 = __this->get_BlockSizeByte_2();
ByteU5BU5D_t3397334013* L_95 = V_4;
int32_t L_96 = V_5;
SymmetricTransform_InternalTransformBlock_m55428483(__this, L_92, L_93, L_94, L_95, L_96, /*hidden argument*/NULL);
goto IL_01fa;
}
IL_01fa:
{
ByteU5BU5D_t3397334013* L_97 = V_4;
return L_97;
}
}
// System.Byte[] Mono.Security.Cryptography.SymmetricTransform::FinalDecrypt(System.Byte[],System.Int32,System.Int32)
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral936694437;
extern const uint32_t SymmetricTransform_FinalDecrypt_m3674669784_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* SymmetricTransform_FinalDecrypt_m3674669784 (SymmetricTransform_t1394030013 * __this, ByteU5BU5D_t3397334013* ___inputBuffer0, int32_t ___inputOffset1, int32_t ___inputCount2, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SymmetricTransform_FinalDecrypt_m3674669784_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
ByteU5BU5D_t3397334013* V_1 = NULL;
int32_t V_2 = 0;
int32_t V_3 = 0;
uint8_t V_4 = 0x0;
int32_t V_5 = 0;
int32_t V_6 = 0;
ByteU5BU5D_t3397334013* V_7 = NULL;
int32_t V_8 = 0;
int32_t G_B12_0 = 0;
{
int32_t L_0 = ___inputCount2;
int32_t L_1 = __this->get_BlockSizeByte_2();
if ((((int32_t)((int32_t)((int32_t)L_0%(int32_t)L_1))) <= ((int32_t)0)))
{
goto IL_0019;
}
}
{
CryptographicException_t3349726436 * L_2 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_2, _stringLiteral936694437, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2);
}
IL_0019:
{
int32_t L_3 = ___inputCount2;
V_0 = L_3;
bool L_4 = __this->get_lastBlock_10();
if (!L_4)
{
goto IL_002f;
}
}
{
int32_t L_5 = V_0;
int32_t L_6 = __this->get_BlockSizeByte_2();
V_0 = ((int32_t)((int32_t)L_5+(int32_t)L_6));
}
IL_002f:
{
int32_t L_7 = V_0;
V_1 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_7));
V_2 = 0;
goto IL_0066;
}
IL_003d:
{
ByteU5BU5D_t3397334013* L_8 = ___inputBuffer0;
int32_t L_9 = ___inputOffset1;
int32_t L_10 = __this->get_BlockSizeByte_2();
ByteU5BU5D_t3397334013* L_11 = V_1;
int32_t L_12 = V_2;
int32_t L_13 = SymmetricTransform_InternalTransformBlock_m55428483(__this, L_8, L_9, L_10, L_11, L_12, /*hidden argument*/NULL);
V_3 = L_13;
int32_t L_14 = ___inputOffset1;
int32_t L_15 = __this->get_BlockSizeByte_2();
___inputOffset1 = ((int32_t)((int32_t)L_14+(int32_t)L_15));
int32_t L_16 = V_2;
int32_t L_17 = V_3;
V_2 = ((int32_t)((int32_t)L_16+(int32_t)L_17));
int32_t L_18 = ___inputCount2;
int32_t L_19 = __this->get_BlockSizeByte_2();
___inputCount2 = ((int32_t)((int32_t)L_18-(int32_t)L_19));
}
IL_0066:
{
int32_t L_20 = ___inputCount2;
if ((((int32_t)L_20) > ((int32_t)0)))
{
goto IL_003d;
}
}
{
bool L_21 = __this->get_lastBlock_10();
if (!L_21)
{
goto IL_00ae;
}
}
{
ByteU5BU5D_t3397334013* L_22 = __this->get_workBuff_5();
ByteU5BU5D_t3397334013* L_23 = __this->get_workout_6();
VirtActionInvoker2< ByteU5BU5D_t3397334013*, ByteU5BU5D_t3397334013* >::Invoke(10 /* System.Void Mono.Security.Cryptography.SymmetricTransform::Transform(System.Byte[],System.Byte[]) */, __this, L_22, L_23);
ByteU5BU5D_t3397334013* L_24 = __this->get_workout_6();
ByteU5BU5D_t3397334013* L_25 = V_1;
int32_t L_26 = V_2;
int32_t L_27 = __this->get_BlockSizeByte_2();
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_24, 0, (Il2CppArray *)(Il2CppArray *)L_25, L_26, L_27, /*hidden argument*/NULL);
int32_t L_28 = V_2;
int32_t L_29 = __this->get_BlockSizeByte_2();
V_2 = ((int32_t)((int32_t)L_28+(int32_t)L_29));
__this->set_lastBlock_10((bool)0);
}
IL_00ae:
{
int32_t L_30 = V_0;
if ((((int32_t)L_30) <= ((int32_t)0)))
{
goto IL_00bf;
}
}
{
ByteU5BU5D_t3397334013* L_31 = V_1;
int32_t L_32 = V_0;
int32_t L_33 = ((int32_t)((int32_t)L_32-(int32_t)1));
uint8_t L_34 = (L_31)->GetAt(static_cast<il2cpp_array_size_t>(L_33));
G_B12_0 = ((int32_t)(L_34));
goto IL_00c0;
}
IL_00bf:
{
G_B12_0 = 0;
}
IL_00c0:
{
V_4 = G_B12_0;
SymmetricAlgorithm_t1108166522 * L_35 = __this->get_algo_0();
int32_t L_36 = VirtFuncInvoker0< int32_t >::Invoke(18 /* System.Security.Cryptography.PaddingMode System.Security.Cryptography.SymmetricAlgorithm::get_Padding() */, L_35);
V_8 = L_36;
int32_t L_37 = V_8;
if (((int32_t)((int32_t)L_37-(int32_t)1)) == 0)
{
goto IL_01fd;
}
if (((int32_t)((int32_t)L_37-(int32_t)1)) == 1)
{
goto IL_018f;
}
if (((int32_t)((int32_t)L_37-(int32_t)1)) == 2)
{
goto IL_01fd;
}
if (((int32_t)((int32_t)L_37-(int32_t)1)) == 3)
{
goto IL_00f1;
}
if (((int32_t)((int32_t)L_37-(int32_t)1)) == 4)
{
goto IL_015d;
}
}
{
goto IL_0202;
}
IL_00f1:
{
uint8_t L_38 = V_4;
if (!L_38)
{
goto IL_0105;
}
}
{
uint8_t L_39 = V_4;
int32_t L_40 = __this->get_BlockSizeByte_2();
if ((((int32_t)L_39) <= ((int32_t)L_40)))
{
goto IL_0119;
}
}
IL_0105:
{
SymmetricAlgorithm_t1108166522 * L_41 = __this->get_algo_0();
int32_t L_42 = VirtFuncInvoker0< int32_t >::Invoke(18 /* System.Security.Cryptography.PaddingMode System.Security.Cryptography.SymmetricAlgorithm::get_Padding() */, L_41);
uint8_t L_43 = V_4;
SymmetricTransform_ThrowBadPaddingException_m4218948322(__this, L_42, L_43, (-1), /*hidden argument*/NULL);
}
IL_0119:
{
uint8_t L_44 = V_4;
V_5 = ((int32_t)((int32_t)L_44-(int32_t)1));
goto IL_014b;
}
IL_0124:
{
ByteU5BU5D_t3397334013* L_45 = V_1;
int32_t L_46 = V_0;
int32_t L_47 = V_5;
int32_t L_48 = ((int32_t)((int32_t)((int32_t)((int32_t)L_46-(int32_t)1))-(int32_t)L_47));
uint8_t L_49 = (L_45)->GetAt(static_cast<il2cpp_array_size_t>(L_48));
if (!L_49)
{
goto IL_0145;
}
}
{
SymmetricAlgorithm_t1108166522 * L_50 = __this->get_algo_0();
int32_t L_51 = VirtFuncInvoker0< int32_t >::Invoke(18 /* System.Security.Cryptography.PaddingMode System.Security.Cryptography.SymmetricAlgorithm::get_Padding() */, L_50);
int32_t L_52 = V_5;
SymmetricTransform_ThrowBadPaddingException_m4218948322(__this, L_51, (-1), L_52, /*hidden argument*/NULL);
}
IL_0145:
{
int32_t L_53 = V_5;
V_5 = ((int32_t)((int32_t)L_53-(int32_t)1));
}
IL_014b:
{
int32_t L_54 = V_5;
if ((((int32_t)L_54) > ((int32_t)0)))
{
goto IL_0124;
}
}
{
int32_t L_55 = V_0;
uint8_t L_56 = V_4;
V_0 = ((int32_t)((int32_t)L_55-(int32_t)L_56));
goto IL_0202;
}
IL_015d:
{
uint8_t L_57 = V_4;
if (!L_57)
{
goto IL_0171;
}
}
{
uint8_t L_58 = V_4;
int32_t L_59 = __this->get_BlockSizeByte_2();
if ((((int32_t)L_58) <= ((int32_t)L_59)))
{
goto IL_0185;
}
}
IL_0171:
{
SymmetricAlgorithm_t1108166522 * L_60 = __this->get_algo_0();
int32_t L_61 = VirtFuncInvoker0< int32_t >::Invoke(18 /* System.Security.Cryptography.PaddingMode System.Security.Cryptography.SymmetricAlgorithm::get_Padding() */, L_60);
uint8_t L_62 = V_4;
SymmetricTransform_ThrowBadPaddingException_m4218948322(__this, L_61, L_62, (-1), /*hidden argument*/NULL);
}
IL_0185:
{
int32_t L_63 = V_0;
uint8_t L_64 = V_4;
V_0 = ((int32_t)((int32_t)L_63-(int32_t)L_64));
goto IL_0202;
}
IL_018f:
{
uint8_t L_65 = V_4;
if (!L_65)
{
goto IL_01a3;
}
}
{
uint8_t L_66 = V_4;
int32_t L_67 = __this->get_BlockSizeByte_2();
if ((((int32_t)L_66) <= ((int32_t)L_67)))
{
goto IL_01b7;
}
}
IL_01a3:
{
SymmetricAlgorithm_t1108166522 * L_68 = __this->get_algo_0();
int32_t L_69 = VirtFuncInvoker0< int32_t >::Invoke(18 /* System.Security.Cryptography.PaddingMode System.Security.Cryptography.SymmetricAlgorithm::get_Padding() */, L_68);
uint8_t L_70 = V_4;
SymmetricTransform_ThrowBadPaddingException_m4218948322(__this, L_69, L_70, (-1), /*hidden argument*/NULL);
}
IL_01b7:
{
uint8_t L_71 = V_4;
V_6 = ((int32_t)((int32_t)L_71-(int32_t)1));
goto IL_01eb;
}
IL_01c2:
{
ByteU5BU5D_t3397334013* L_72 = V_1;
int32_t L_73 = V_0;
int32_t L_74 = V_6;
int32_t L_75 = ((int32_t)((int32_t)((int32_t)((int32_t)L_73-(int32_t)1))-(int32_t)L_74));
uint8_t L_76 = (L_72)->GetAt(static_cast<il2cpp_array_size_t>(L_75));
uint8_t L_77 = V_4;
if ((((int32_t)L_76) == ((int32_t)L_77)))
{
goto IL_01e5;
}
}
{
SymmetricAlgorithm_t1108166522 * L_78 = __this->get_algo_0();
int32_t L_79 = VirtFuncInvoker0< int32_t >::Invoke(18 /* System.Security.Cryptography.PaddingMode System.Security.Cryptography.SymmetricAlgorithm::get_Padding() */, L_78);
int32_t L_80 = V_6;
SymmetricTransform_ThrowBadPaddingException_m4218948322(__this, L_79, (-1), L_80, /*hidden argument*/NULL);
}
IL_01e5:
{
int32_t L_81 = V_6;
V_6 = ((int32_t)((int32_t)L_81-(int32_t)1));
}
IL_01eb:
{
int32_t L_82 = V_6;
if ((((int32_t)L_82) > ((int32_t)0)))
{
goto IL_01c2;
}
}
{
int32_t L_83 = V_0;
uint8_t L_84 = V_4;
V_0 = ((int32_t)((int32_t)L_83-(int32_t)L_84));
goto IL_0202;
}
IL_01fd:
{
goto IL_0202;
}
IL_0202:
{
int32_t L_85 = V_0;
if ((((int32_t)L_85) <= ((int32_t)0)))
{
goto IL_0229;
}
}
{
int32_t L_86 = V_0;
V_7 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_86));
ByteU5BU5D_t3397334013* L_87 = V_1;
ByteU5BU5D_t3397334013* L_88 = V_7;
int32_t L_89 = V_0;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_87, 0, (Il2CppArray *)(Il2CppArray *)L_88, 0, L_89, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_90 = V_1;
ByteU5BU5D_t3397334013* L_91 = V_1;
Array_Clear_m782967417(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_90, 0, (((int32_t)((int32_t)(((Il2CppArray *)L_91)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_92 = V_7;
return L_92;
}
IL_0229:
{
return ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)0));
}
}
// System.Byte[] Mono.Security.Cryptography.SymmetricTransform::TransformFinalBlock(System.Byte[],System.Int32,System.Int32)
extern Il2CppClass* ObjectDisposedException_t2695136451_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral4158020802;
extern const uint32_t SymmetricTransform_TransformFinalBlock_m4192185386_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* SymmetricTransform_TransformFinalBlock_m4192185386 (SymmetricTransform_t1394030013 * __this, ByteU5BU5D_t3397334013* ___inputBuffer0, int32_t ___inputOffset1, int32_t ___inputCount2, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SymmetricTransform_TransformFinalBlock_m4192185386_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
bool L_0 = __this->get_m_disposed_9();
if (!L_0)
{
goto IL_0016;
}
}
{
ObjectDisposedException_t2695136451 * L_1 = (ObjectDisposedException_t2695136451 *)il2cpp_codegen_object_new(ObjectDisposedException_t2695136451_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3156784572(L_1, _stringLiteral4158020802, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1);
}
IL_0016:
{
ByteU5BU5D_t3397334013* L_2 = ___inputBuffer0;
int32_t L_3 = ___inputOffset1;
int32_t L_4 = ___inputCount2;
SymmetricTransform_CheckInput_m68994501(__this, L_2, L_3, L_4, /*hidden argument*/NULL);
bool L_5 = __this->get_encrypt_1();
if (!L_5)
{
goto IL_0034;
}
}
{
ByteU5BU5D_t3397334013* L_6 = ___inputBuffer0;
int32_t L_7 = ___inputOffset1;
int32_t L_8 = ___inputCount2;
ByteU5BU5D_t3397334013* L_9 = SymmetricTransform_FinalEncrypt_m1109248888(__this, L_6, L_7, L_8, /*hidden argument*/NULL);
return L_9;
}
IL_0034:
{
ByteU5BU5D_t3397334013* L_10 = ___inputBuffer0;
int32_t L_11 = ___inputOffset1;
int32_t L_12 = ___inputCount2;
ByteU5BU5D_t3397334013* L_13 = SymmetricTransform_FinalDecrypt_m3674669784(__this, L_10, L_11, L_12, /*hidden argument*/NULL);
return L_13;
}
}
// System.Void Mono.Security.PKCS7/ContentInfo::.ctor()
extern Il2CppClass* ASN1_t924533535_il2cpp_TypeInfo_var;
extern const uint32_t ContentInfo__ctor_m844369157_MetadataUsageId;
extern "C" void ContentInfo__ctor_m844369157 (ContentInfo_t1443605387 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ContentInfo__ctor_m844369157_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
ASN1_t924533535 * L_0 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_0, ((int32_t)160), /*hidden argument*/NULL);
__this->set_content_1(L_0);
return;
}
}
// System.Void Mono.Security.PKCS7/ContentInfo::.ctor(System.String)
extern "C" void ContentInfo__ctor_m1391613763 (ContentInfo_t1443605387 * __this, String_t* ___oid0, const MethodInfo* method)
{
{
ContentInfo__ctor_m844369157(__this, /*hidden argument*/NULL);
String_t* L_0 = ___oid0;
__this->set_contentType_0(L_0);
return;
}
}
// System.Void Mono.Security.PKCS7/ContentInfo::.ctor(System.Byte[])
extern Il2CppClass* ASN1_t924533535_il2cpp_TypeInfo_var;
extern const uint32_t ContentInfo__ctor_m2074180116_MetadataUsageId;
extern "C" void ContentInfo__ctor_m2074180116 (ContentInfo_t1443605387 * __this, ByteU5BU5D_t3397334013* ___data0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ContentInfo__ctor_m2074180116_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
ByteU5BU5D_t3397334013* L_0 = ___data0;
ASN1_t924533535 * L_1 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3359093803(L_1, L_0, /*hidden argument*/NULL);
ContentInfo__ctor_m3517696905(__this, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.PKCS7/ContentInfo::.ctor(Mono.Security.ASN1)
extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral1825991234;
extern Il2CppCodeGenString* _stringLiteral2530123980;
extern Il2CppCodeGenString* _stringLiteral1193127324;
extern const uint32_t ContentInfo__ctor_m3517696905_MetadataUsageId;
extern "C" void ContentInfo__ctor_m3517696905 (ContentInfo_t1443605387 * __this, ASN1_t924533535 * ___asn10, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ContentInfo__ctor_m3517696905_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
ASN1_t924533535 * L_0 = ___asn10;
uint8_t L_1 = ASN1_get_Tag_m1462340837(L_0, /*hidden argument*/NULL);
if ((!(((uint32_t)L_1) == ((uint32_t)((int32_t)48)))))
{
goto IL_002b;
}
}
{
ASN1_t924533535 * L_2 = ___asn10;
int32_t L_3 = ASN1_get_Count_m404940548(L_2, /*hidden argument*/NULL);
if ((((int32_t)L_3) >= ((int32_t)1)))
{
goto IL_0036;
}
}
{
ASN1_t924533535 * L_4 = ___asn10;
int32_t L_5 = ASN1_get_Count_m404940548(L_4, /*hidden argument*/NULL);
if ((((int32_t)L_5) <= ((int32_t)2)))
{
goto IL_0036;
}
}
IL_002b:
{
ArgumentException_t3259014390 * L_6 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_6, _stringLiteral1825991234, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6);
}
IL_0036:
{
ASN1_t924533535 * L_7 = ___asn10;
ASN1_t924533535 * L_8 = ASN1_get_Item_m1784978716(L_7, 0, /*hidden argument*/NULL);
uint8_t L_9 = ASN1_get_Tag_m1462340837(L_8, /*hidden argument*/NULL);
if ((((int32_t)L_9) == ((int32_t)6)))
{
goto IL_0053;
}
}
{
ArgumentException_t3259014390 * L_10 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_10, _stringLiteral2530123980, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_10);
}
IL_0053:
{
ASN1_t924533535 * L_11 = ___asn10;
ASN1_t924533535 * L_12 = ASN1_get_Item_m1784978716(L_11, 0, /*hidden argument*/NULL);
String_t* L_13 = ASN1Convert_ToOid_m2695991795(NULL /*static, unused*/, L_12, /*hidden argument*/NULL);
__this->set_contentType_0(L_13);
ASN1_t924533535 * L_14 = ___asn10;
int32_t L_15 = ASN1_get_Count_m404940548(L_14, /*hidden argument*/NULL);
if ((((int32_t)L_15) <= ((int32_t)1)))
{
goto IL_009f;
}
}
{
ASN1_t924533535 * L_16 = ___asn10;
ASN1_t924533535 * L_17 = ASN1_get_Item_m1784978716(L_16, 1, /*hidden argument*/NULL);
uint8_t L_18 = ASN1_get_Tag_m1462340837(L_17, /*hidden argument*/NULL);
if ((((int32_t)L_18) == ((int32_t)((int32_t)160))))
{
goto IL_0092;
}
}
{
ArgumentException_t3259014390 * L_19 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_19, _stringLiteral1193127324, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_19);
}
IL_0092:
{
ASN1_t924533535 * L_20 = ___asn10;
ASN1_t924533535 * L_21 = ASN1_get_Item_m1784978716(L_20, 1, /*hidden argument*/NULL);
__this->set_content_1(L_21);
}
IL_009f:
{
return;
}
}
// Mono.Security.ASN1 Mono.Security.PKCS7/ContentInfo::get_ASN1()
extern "C" ASN1_t924533535 * ContentInfo_get_ASN1_m3249778150 (ContentInfo_t1443605387 * __this, const MethodInfo* method)
{
{
ASN1_t924533535 * L_0 = ContentInfo_GetASN1_m2362464973(__this, /*hidden argument*/NULL);
return L_0;
}
}
// Mono.Security.ASN1 Mono.Security.PKCS7/ContentInfo::get_Content()
extern "C" ASN1_t924533535 * ContentInfo_get_Content_m3936257154 (ContentInfo_t1443605387 * __this, const MethodInfo* method)
{
{
ASN1_t924533535 * L_0 = __this->get_content_1();
return L_0;
}
}
// System.Void Mono.Security.PKCS7/ContentInfo::set_Content(Mono.Security.ASN1)
extern "C" void ContentInfo_set_Content_m899108905 (ContentInfo_t1443605387 * __this, ASN1_t924533535 * ___value0, const MethodInfo* method)
{
{
ASN1_t924533535 * L_0 = ___value0;
__this->set_content_1(L_0);
return;
}
}
// System.String Mono.Security.PKCS7/ContentInfo::get_ContentType()
extern "C" String_t* ContentInfo_get_ContentType_m1698383174 (ContentInfo_t1443605387 * __this, const MethodInfo* method)
{
{
String_t* L_0 = __this->get_contentType_0();
return L_0;
}
}
// System.Void Mono.Security.PKCS7/ContentInfo::set_ContentType(System.String)
extern "C" void ContentInfo_set_ContentType_m1091544239 (ContentInfo_t1443605387 * __this, String_t* ___value0, const MethodInfo* method)
{
{
String_t* L_0 = ___value0;
__this->set_contentType_0(L_0);
return;
}
}
// Mono.Security.ASN1 Mono.Security.PKCS7/ContentInfo::GetASN1()
extern Il2CppClass* ASN1_t924533535_il2cpp_TypeInfo_var;
extern const uint32_t ContentInfo_GetASN1_m2362464973_MetadataUsageId;
extern "C" ASN1_t924533535 * ContentInfo_GetASN1_m2362464973 (ContentInfo_t1443605387 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ContentInfo_GetASN1_m2362464973_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ASN1_t924533535 * V_0 = NULL;
{
ASN1_t924533535 * L_0 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_0, ((int32_t)48), /*hidden argument*/NULL);
V_0 = L_0;
ASN1_t924533535 * L_1 = V_0;
String_t* L_2 = __this->get_contentType_0();
ASN1_t924533535 * L_3 = ASN1Convert_FromOid_m3889963396(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
ASN1_Add_m2540239672(L_1, L_3, /*hidden argument*/NULL);
ASN1_t924533535 * L_4 = __this->get_content_1();
if (!L_4)
{
goto IL_0043;
}
}
{
ASN1_t924533535 * L_5 = __this->get_content_1();
int32_t L_6 = ASN1_get_Count_m404940548(L_5, /*hidden argument*/NULL);
if ((((int32_t)L_6) <= ((int32_t)0)))
{
goto IL_0043;
}
}
{
ASN1_t924533535 * L_7 = V_0;
ASN1_t924533535 * L_8 = __this->get_content_1();
ASN1_Add_m2540239672(L_7, L_8, /*hidden argument*/NULL);
}
IL_0043:
{
ASN1_t924533535 * L_9 = V_0;
return L_9;
}
}
// System.Void Mono.Security.PKCS7/EncryptedData::.ctor()
extern "C" void EncryptedData__ctor_m3128538466 (EncryptedData_t2656813772 * __this, const MethodInfo* method)
{
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
__this->set__version_0(0);
return;
}
}
// System.Void Mono.Security.PKCS7/EncryptedData::.ctor(Mono.Security.ASN1)
extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var;
extern Il2CppClass* ContentInfo_t1443605387_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral2985635423;
extern Il2CppCodeGenString* _stringLiteral2364697139;
extern Il2CppCodeGenString* _stringLiteral1115332569;
extern Il2CppCodeGenString* _stringLiteral3096747480;
extern Il2CppCodeGenString* _stringLiteral375813953;
extern Il2CppCodeGenString* _stringLiteral3185619862;
extern const uint32_t EncryptedData__ctor_m3860500558_MetadataUsageId;
extern "C" void EncryptedData__ctor_m3860500558 (EncryptedData_t2656813772 * __this, ASN1_t924533535 * ___asn10, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (EncryptedData__ctor_m3860500558_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ASN1_t924533535 * V_0 = NULL;
ASN1_t924533535 * V_1 = NULL;
ASN1_t924533535 * V_2 = NULL;
ASN1_t924533535 * V_3 = NULL;
{
EncryptedData__ctor_m3128538466(__this, /*hidden argument*/NULL);
ASN1_t924533535 * L_0 = ___asn10;
uint8_t L_1 = ASN1_get_Tag_m1462340837(L_0, /*hidden argument*/NULL);
if ((!(((uint32_t)L_1) == ((uint32_t)((int32_t)48)))))
{
goto IL_001f;
}
}
{
ASN1_t924533535 * L_2 = ___asn10;
int32_t L_3 = ASN1_get_Count_m404940548(L_2, /*hidden argument*/NULL);
if ((((int32_t)L_3) >= ((int32_t)2)))
{
goto IL_002a;
}
}
IL_001f:
{
ArgumentException_t3259014390 * L_4 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_4, _stringLiteral2985635423, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4);
}
IL_002a:
{
ASN1_t924533535 * L_5 = ___asn10;
ASN1_t924533535 * L_6 = ASN1_get_Item_m1784978716(L_5, 0, /*hidden argument*/NULL);
uint8_t L_7 = ASN1_get_Tag_m1462340837(L_6, /*hidden argument*/NULL);
if ((((int32_t)L_7) == ((int32_t)2)))
{
goto IL_0047;
}
}
{
ArgumentException_t3259014390 * L_8 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_8, _stringLiteral2364697139, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8);
}
IL_0047:
{
ASN1_t924533535 * L_9 = ___asn10;
ASN1_t924533535 * L_10 = ASN1_get_Item_m1784978716(L_9, 0, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_11 = ASN1_get_Value_m2669044878(L_10, /*hidden argument*/NULL);
int32_t L_12 = 0;
uint8_t L_13 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
__this->set__version_0(L_13);
ASN1_t924533535 * L_14 = ___asn10;
ASN1_t924533535 * L_15 = ASN1_get_Item_m1784978716(L_14, 1, /*hidden argument*/NULL);
V_0 = L_15;
ASN1_t924533535 * L_16 = V_0;
uint8_t L_17 = ASN1_get_Tag_m1462340837(L_16, /*hidden argument*/NULL);
if ((((int32_t)L_17) == ((int32_t)((int32_t)48))))
{
goto IL_007b;
}
}
{
ArgumentException_t3259014390 * L_18 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_18, _stringLiteral1115332569, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_18);
}
IL_007b:
{
ASN1_t924533535 * L_19 = V_0;
ASN1_t924533535 * L_20 = ASN1_get_Item_m1784978716(L_19, 0, /*hidden argument*/NULL);
V_1 = L_20;
ASN1_t924533535 * L_21 = V_1;
uint8_t L_22 = ASN1_get_Tag_m1462340837(L_21, /*hidden argument*/NULL);
if ((((int32_t)L_22) == ((int32_t)6)))
{
goto IL_009a;
}
}
{
ArgumentException_t3259014390 * L_23 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_23, _stringLiteral3096747480, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_23);
}
IL_009a:
{
ASN1_t924533535 * L_24 = V_1;
String_t* L_25 = ASN1Convert_ToOid_m2695991795(NULL /*static, unused*/, L_24, /*hidden argument*/NULL);
ContentInfo_t1443605387 * L_26 = (ContentInfo_t1443605387 *)il2cpp_codegen_object_new(ContentInfo_t1443605387_il2cpp_TypeInfo_var);
ContentInfo__ctor_m1391613763(L_26, L_25, /*hidden argument*/NULL);
__this->set__content_1(L_26);
ASN1_t924533535 * L_27 = V_0;
ASN1_t924533535 * L_28 = ASN1_get_Item_m1784978716(L_27, 1, /*hidden argument*/NULL);
V_2 = L_28;
ASN1_t924533535 * L_29 = V_2;
uint8_t L_30 = ASN1_get_Tag_m1462340837(L_29, /*hidden argument*/NULL);
if ((((int32_t)L_30) == ((int32_t)((int32_t)48))))
{
goto IL_00cb;
}
}
{
ArgumentException_t3259014390 * L_31 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_31, _stringLiteral375813953, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_31);
}
IL_00cb:
{
ASN1_t924533535 * L_32 = V_2;
ASN1_t924533535 * L_33 = ASN1_get_Item_m1784978716(L_32, 0, /*hidden argument*/NULL);
String_t* L_34 = ASN1Convert_ToOid_m2695991795(NULL /*static, unused*/, L_33, /*hidden argument*/NULL);
ContentInfo_t1443605387 * L_35 = (ContentInfo_t1443605387 *)il2cpp_codegen_object_new(ContentInfo_t1443605387_il2cpp_TypeInfo_var);
ContentInfo__ctor_m1391613763(L_35, L_34, /*hidden argument*/NULL);
__this->set__encryptionAlgorithm_2(L_35);
ContentInfo_t1443605387 * L_36 = __this->get__encryptionAlgorithm_2();
ASN1_t924533535 * L_37 = V_2;
ASN1_t924533535 * L_38 = ASN1_get_Item_m1784978716(L_37, 1, /*hidden argument*/NULL);
ContentInfo_set_Content_m899108905(L_36, L_38, /*hidden argument*/NULL);
ASN1_t924533535 * L_39 = V_0;
ASN1_t924533535 * L_40 = ASN1_get_Item_m1784978716(L_39, 2, /*hidden argument*/NULL);
V_3 = L_40;
ASN1_t924533535 * L_41 = V_3;
uint8_t L_42 = ASN1_get_Tag_m1462340837(L_41, /*hidden argument*/NULL);
if ((((int32_t)L_42) == ((int32_t)((int32_t)128))))
{
goto IL_0117;
}
}
{
ArgumentException_t3259014390 * L_43 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_43, _stringLiteral3185619862, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_43);
}
IL_0117:
{
ASN1_t924533535 * L_44 = V_3;
ByteU5BU5D_t3397334013* L_45 = ASN1_get_Value_m2669044878(L_44, /*hidden argument*/NULL);
__this->set__encrypted_3(L_45);
return;
}
}
// Mono.Security.PKCS7/ContentInfo Mono.Security.PKCS7/EncryptedData::get_EncryptionAlgorithm()
extern "C" ContentInfo_t1443605387 * EncryptedData_get_EncryptionAlgorithm_m1301274243 (EncryptedData_t2656813772 * __this, const MethodInfo* method)
{
{
ContentInfo_t1443605387 * L_0 = __this->get__encryptionAlgorithm_2();
return L_0;
}
}
// System.Byte[] Mono.Security.PKCS7/EncryptedData::get_EncryptedContent()
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t EncryptedData_get_EncryptedContent_m2732115576_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* EncryptedData_get_EncryptedContent_m2732115576 (EncryptedData_t2656813772 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (EncryptedData_get_EncryptedContent_m2732115576_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
ByteU5BU5D_t3397334013* L_0 = __this->get__encrypted_3();
if (L_0)
{
goto IL_000d;
}
}
{
return (ByteU5BU5D_t3397334013*)NULL;
}
IL_000d:
{
ByteU5BU5D_t3397334013* L_1 = __this->get__encrypted_3();
Il2CppObject * L_2 = Array_Clone_m768574314((Il2CppArray *)(Il2CppArray *)L_1, /*hidden argument*/NULL);
return ((ByteU5BU5D_t3397334013*)Castclass(L_2, ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var));
}
}
// System.Void Mono.Security.StrongName::.cctor()
extern Il2CppClass* Il2CppObject_il2cpp_TypeInfo_var;
extern Il2CppClass* StrongName_t117835354_il2cpp_TypeInfo_var;
extern const uint32_t StrongName__cctor_m1670108714_MetadataUsageId;
extern "C" void StrongName__cctor_m1670108714 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (StrongName__cctor_m1670108714_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
Il2CppObject * L_0 = (Il2CppObject *)il2cpp_codegen_object_new(Il2CppObject_il2cpp_TypeInfo_var);
Object__ctor_m2551263788(L_0, /*hidden argument*/NULL);
((StrongName_t117835354_StaticFields*)StrongName_t117835354_il2cpp_TypeInfo_var->static_fields)->set_lockObject_4(L_0);
((StrongName_t117835354_StaticFields*)StrongName_t117835354_il2cpp_TypeInfo_var->static_fields)->set_initialized_5((bool)0);
return;
}
}
// System.Byte[] Mono.Security.StrongName::get_PublicKey()
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t StrongName_get_PublicKey_m3777577320_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* StrongName_get_PublicKey_m3777577320 (StrongName_t117835354 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (StrongName_get_PublicKey_m3777577320_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ByteU5BU5D_t3397334013* V_0 = NULL;
ByteU5BU5D_t3397334013* V_1 = NULL;
{
ByteU5BU5D_t3397334013* L_0 = __this->get_publicKey_1();
if (L_0)
{
goto IL_00f6;
}
}
{
RSA_t3719518354 * L_1 = __this->get_rsa_0();
ByteU5BU5D_t3397334013* L_2 = CryptoConvert_ToCapiKeyBlob_m607484285(NULL /*static, unused*/, L_1, (bool)0, /*hidden argument*/NULL);
V_0 = L_2;
RSA_t3719518354 * L_3 = __this->get_rsa_0();
int32_t L_4 = VirtFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 System.Security.Cryptography.AsymmetricAlgorithm::get_KeySize() */, L_3);
__this->set_publicKey_1(((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)((int32_t)32)+(int32_t)((int32_t)((int32_t)L_4>>(int32_t)3)))))));
ByteU5BU5D_t3397334013* L_5 = __this->get_publicKey_1();
ByteU5BU5D_t3397334013* L_6 = V_0;
int32_t L_7 = 4;
uint8_t L_8 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)L_8);
ByteU5BU5D_t3397334013* L_9 = __this->get_publicKey_1();
ByteU5BU5D_t3397334013* L_10 = V_0;
int32_t L_11 = 5;
uint8_t L_12 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)L_12);
ByteU5BU5D_t3397334013* L_13 = __this->get_publicKey_1();
ByteU5BU5D_t3397334013* L_14 = V_0;
int32_t L_15 = 6;
uint8_t L_16 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)L_16);
ByteU5BU5D_t3397334013* L_17 = __this->get_publicKey_1();
ByteU5BU5D_t3397334013* L_18 = V_0;
int32_t L_19 = 7;
uint8_t L_20 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
(L_17)->SetAt(static_cast<il2cpp_array_size_t>(3), (uint8_t)L_20);
ByteU5BU5D_t3397334013* L_21 = __this->get_publicKey_1();
(L_21)->SetAt(static_cast<il2cpp_array_size_t>(4), (uint8_t)4);
ByteU5BU5D_t3397334013* L_22 = __this->get_publicKey_1();
(L_22)->SetAt(static_cast<il2cpp_array_size_t>(5), (uint8_t)((int32_t)128));
ByteU5BU5D_t3397334013* L_23 = __this->get_publicKey_1();
(L_23)->SetAt(static_cast<il2cpp_array_size_t>(6), (uint8_t)0);
ByteU5BU5D_t3397334013* L_24 = __this->get_publicKey_1();
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(7), (uint8_t)0);
ByteU5BU5D_t3397334013* L_25 = __this->get_publicKey_1();
ByteU5BU5D_t3397334013* L_26 = BitConverterLE_GetBytes_m10699861(NULL /*static, unused*/, ((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_25)->max_length))))-(int32_t)((int32_t)12))), /*hidden argument*/NULL);
V_1 = L_26;
ByteU5BU5D_t3397334013* L_27 = __this->get_publicKey_1();
ByteU5BU5D_t3397334013* L_28 = V_1;
int32_t L_29 = 0;
uint8_t L_30 = (L_28)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
(L_27)->SetAt(static_cast<il2cpp_array_size_t>(8), (uint8_t)L_30);
ByteU5BU5D_t3397334013* L_31 = __this->get_publicKey_1();
ByteU5BU5D_t3397334013* L_32 = V_1;
int32_t L_33 = 1;
uint8_t L_34 = (L_32)->GetAt(static_cast<il2cpp_array_size_t>(L_33));
(L_31)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)9)), (uint8_t)L_34);
ByteU5BU5D_t3397334013* L_35 = __this->get_publicKey_1();
ByteU5BU5D_t3397334013* L_36 = V_1;
int32_t L_37 = 2;
uint8_t L_38 = (L_36)->GetAt(static_cast<il2cpp_array_size_t>(L_37));
(L_35)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)10)), (uint8_t)L_38);
ByteU5BU5D_t3397334013* L_39 = __this->get_publicKey_1();
ByteU5BU5D_t3397334013* L_40 = V_1;
int32_t L_41 = 3;
uint8_t L_42 = (L_40)->GetAt(static_cast<il2cpp_array_size_t>(L_41));
(L_39)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)11)), (uint8_t)L_42);
ByteU5BU5D_t3397334013* L_43 = __this->get_publicKey_1();
(L_43)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)12)), (uint8_t)6);
ByteU5BU5D_t3397334013* L_44 = V_0;
ByteU5BU5D_t3397334013* L_45 = __this->get_publicKey_1();
ByteU5BU5D_t3397334013* L_46 = __this->get_publicKey_1();
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_44, 1, (Il2CppArray *)(Il2CppArray *)L_45, ((int32_t)13), ((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_46)->max_length))))-(int32_t)((int32_t)13))), /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_47 = __this->get_publicKey_1();
(L_47)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)23)), (uint8_t)((int32_t)49));
}
IL_00f6:
{
ByteU5BU5D_t3397334013* L_48 = __this->get_publicKey_1();
Il2CppObject * L_49 = Array_Clone_m768574314((Il2CppArray *)(Il2CppArray *)L_48, /*hidden argument*/NULL);
return ((ByteU5BU5D_t3397334013*)Castclass(L_49, ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var));
}
}
// System.Byte[] Mono.Security.StrongName::get_PublicKeyToken()
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t StrongName_get_PublicKeyToken_m1968460885_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* StrongName_get_PublicKeyToken_m1968460885 (StrongName_t117835354 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (StrongName_get_PublicKeyToken_m1968460885_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ByteU5BU5D_t3397334013* V_0 = NULL;
HashAlgorithm_t2624936259 * V_1 = NULL;
ByteU5BU5D_t3397334013* V_2 = NULL;
{
ByteU5BU5D_t3397334013* L_0 = __this->get_keyToken_2();
if (L_0)
{
goto IL_005a;
}
}
{
ByteU5BU5D_t3397334013* L_1 = StrongName_get_PublicKey_m3777577320(__this, /*hidden argument*/NULL);
V_0 = L_1;
ByteU5BU5D_t3397334013* L_2 = V_0;
if (L_2)
{
goto IL_001a;
}
}
{
return (ByteU5BU5D_t3397334013*)NULL;
}
IL_001a:
{
String_t* L_3 = StrongName_get_TokenAlgorithm_m3755575805(__this, /*hidden argument*/NULL);
HashAlgorithm_t2624936259 * L_4 = HashAlgorithm_Create_m1224939073(NULL /*static, unused*/, L_3, /*hidden argument*/NULL);
V_1 = L_4;
HashAlgorithm_t2624936259 * L_5 = V_1;
ByteU5BU5D_t3397334013* L_6 = V_0;
ByteU5BU5D_t3397334013* L_7 = HashAlgorithm_ComputeHash_m3637856778(L_5, L_6, /*hidden argument*/NULL);
V_2 = L_7;
__this->set_keyToken_2(((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)8)));
ByteU5BU5D_t3397334013* L_8 = V_2;
ByteU5BU5D_t3397334013* L_9 = V_2;
ByteU5BU5D_t3397334013* L_10 = __this->get_keyToken_2();
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_8, ((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_9)->max_length))))-(int32_t)8)), (Il2CppArray *)(Il2CppArray *)L_10, 0, 8, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_11 = __this->get_keyToken_2();
Array_Reverse_m3433347928(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_11, 0, 8, /*hidden argument*/NULL);
}
IL_005a:
{
ByteU5BU5D_t3397334013* L_12 = __this->get_keyToken_2();
Il2CppObject * L_13 = Array_Clone_m768574314((Il2CppArray *)(Il2CppArray *)L_12, /*hidden argument*/NULL);
return ((ByteU5BU5D_t3397334013*)Castclass(L_13, ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var));
}
}
// System.String Mono.Security.StrongName::get_TokenAlgorithm()
extern Il2CppCodeGenString* _stringLiteral3390779939;
extern const uint32_t StrongName_get_TokenAlgorithm_m3755575805_MetadataUsageId;
extern "C" String_t* StrongName_get_TokenAlgorithm_m3755575805 (StrongName_t117835354 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (StrongName_get_TokenAlgorithm_m3755575805_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
String_t* L_0 = __this->get_tokenAlgorithm_3();
if (L_0)
{
goto IL_0016;
}
}
{
__this->set_tokenAlgorithm_3(_stringLiteral3390779939);
}
IL_0016:
{
String_t* L_1 = __this->get_tokenAlgorithm_3();
return L_1;
}
}
// System.Void Mono.Security.X509.PKCS12::.ctor()
extern Il2CppClass* PKCS12_t1362584794_il2cpp_TypeInfo_var;
extern Il2CppClass* ArrayList_t4252133567_il2cpp_TypeInfo_var;
extern Il2CppClass* X509CertificateCollection_t3592472865_il2cpp_TypeInfo_var;
extern const uint32_t PKCS12__ctor_m3492967071_MetadataUsageId;
extern "C" void PKCS12__ctor_m3492967071 (PKCS12_t1362584794 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PKCS12__ctor_m3492967071_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(PKCS12_t1362584794_il2cpp_TypeInfo_var);
int32_t L_0 = ((PKCS12_t1362584794_StaticFields*)PKCS12_t1362584794_il2cpp_TypeInfo_var->static_fields)->get_recommendedIterationCount_0();
__this->set__iterations_8(L_0);
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__keyBags_2(L_1);
ArrayList_t4252133567 * L_2 = (ArrayList_t4252133567 *)il2cpp_codegen_object_new(ArrayList_t4252133567_il2cpp_TypeInfo_var);
ArrayList__ctor_m4012174379(L_2, /*hidden argument*/NULL);
__this->set__secretBags_3(L_2);
X509CertificateCollection_t3592472865 * L_3 = (X509CertificateCollection_t3592472865 *)il2cpp_codegen_object_new(X509CertificateCollection_t3592472865_il2cpp_TypeInfo_var);
X509CertificateCollection__ctor_m1128488348(L_3, /*hidden argument*/NULL);
__this->set__certs_4(L_3);
__this->set__keyBagsChanged_5((bool)0);
__this->set__secretBagsChanged_6((bool)0);
__this->set__certsChanged_7((bool)0);
ArrayList_t4252133567 * L_4 = (ArrayList_t4252133567 *)il2cpp_codegen_object_new(ArrayList_t4252133567_il2cpp_TypeInfo_var);
ArrayList__ctor_m4012174379(L_4, /*hidden argument*/NULL);
__this->set__safeBags_9(L_4);
return;
}
}
// System.Void Mono.Security.X509.PKCS12::.ctor(System.Byte[])
extern "C" void PKCS12__ctor_m4169229936 (PKCS12_t1362584794 * __this, ByteU5BU5D_t3397334013* ___data0, const MethodInfo* method)
{
{
PKCS12__ctor_m3492967071(__this, /*hidden argument*/NULL);
PKCS12_set_Password_m2189925567(__this, (String_t*)NULL, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_0 = ___data0;
PKCS12_Decode_m731190390(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.X509.PKCS12::.ctor(System.Byte[],System.String)
extern "C" void PKCS12__ctor_m1045834576 (PKCS12_t1362584794 * __this, ByteU5BU5D_t3397334013* ___data0, String_t* ___password1, const MethodInfo* method)
{
{
PKCS12__ctor_m3492967071(__this, /*hidden argument*/NULL);
String_t* L_0 = ___password1;
PKCS12_set_Password_m2189925567(__this, L_0, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_1 = ___data0;
PKCS12_Decode_m731190390(__this, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.X509.PKCS12::.cctor()
extern Il2CppClass* PKCS12_t1362584794_il2cpp_TypeInfo_var;
extern const uint32_t PKCS12__cctor_m1757174972_MetadataUsageId;
extern "C" void PKCS12__cctor_m1757174972 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PKCS12__cctor_m1757174972_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
((PKCS12_t1362584794_StaticFields*)PKCS12_t1362584794_il2cpp_TypeInfo_var->static_fields)->set_recommendedIterationCount_0(((int32_t)2000));
((PKCS12_t1362584794_StaticFields*)PKCS12_t1362584794_il2cpp_TypeInfo_var->static_fields)->set_password_max_length_11(((int32_t)2147483647LL));
return;
}
}
// System.Void Mono.Security.X509.PKCS12::Decode(System.Byte[])
extern Il2CppClass* ASN1_t924533535_il2cpp_TypeInfo_var;
extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var;
extern Il2CppClass* ContentInfo_t1443605387_il2cpp_TypeInfo_var;
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppClass* PKCS12_t1362584794_il2cpp_TypeInfo_var;
extern Il2CppClass* Dictionary_2_t3986656710_il2cpp_TypeInfo_var;
extern Il2CppClass* EncryptedData_t2656813772_il2cpp_TypeInfo_var;
extern Il2CppClass* NotImplementedException_t2785117854_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* _stringLiteral3880509137;
extern Il2CppCodeGenString* _stringLiteral1067094085;
extern Il2CppCodeGenString* _stringLiteral2789145215;
extern Il2CppCodeGenString* _stringLiteral1686637709;
extern Il2CppCodeGenString* _stringLiteral997119270;
extern Il2CppCodeGenString* _stringLiteral662711544;
extern Il2CppCodeGenString* _stringLiteral2093840056;
extern Il2CppCodeGenString* _stringLiteral2724296509;
extern Il2CppCodeGenString* _stringLiteral3133061265;
extern Il2CppCodeGenString* _stringLiteral3564677201;
extern Il2CppCodeGenString* _stringLiteral2385860688;
extern Il2CppCodeGenString* _stringLiteral1626345801;
extern Il2CppCodeGenString* _stringLiteral29079644;
extern Il2CppCodeGenString* _stringLiteral1411515398;
extern const uint32_t PKCS12_Decode_m731190390_MetadataUsageId;
extern "C" void PKCS12_Decode_m731190390 (PKCS12_t1362584794 * __this, ByteU5BU5D_t3397334013* ___data0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PKCS12_Decode_m731190390_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ASN1_t924533535 * V_0 = NULL;
ASN1_t924533535 * V_1 = NULL;
ContentInfo_t1443605387 * V_2 = NULL;
ASN1_t924533535 * V_3 = NULL;
ASN1_t924533535 * V_4 = NULL;
ASN1_t924533535 * V_5 = NULL;
String_t* V_6 = NULL;
ByteU5BU5D_t3397334013* V_7 = NULL;
ASN1_t924533535 * V_8 = NULL;
ASN1_t924533535 * V_9 = NULL;
ByteU5BU5D_t3397334013* V_10 = NULL;
ByteU5BU5D_t3397334013* V_11 = NULL;
ASN1_t924533535 * V_12 = NULL;
int32_t V_13 = 0;
ContentInfo_t1443605387 * V_14 = NULL;
ASN1_t924533535 * V_15 = NULL;
int32_t V_16 = 0;
ASN1_t924533535 * V_17 = NULL;
EncryptedData_t2656813772 * V_18 = NULL;
ASN1_t924533535 * V_19 = NULL;
int32_t V_20 = 0;
ASN1_t924533535 * V_21 = NULL;
String_t* V_22 = NULL;
Dictionary_2_t3986656710 * V_23 = NULL;
int32_t V_24 = 0;
{
ByteU5BU5D_t3397334013* L_0 = ___data0;
ASN1_t924533535 * L_1 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3359093803(L_1, L_0, /*hidden argument*/NULL);
V_0 = L_1;
ASN1_t924533535 * L_2 = V_0;
uint8_t L_3 = ASN1_get_Tag_m1462340837(L_2, /*hidden argument*/NULL);
if ((((int32_t)L_3) == ((int32_t)((int32_t)48))))
{
goto IL_001f;
}
}
{
ArgumentException_t3259014390 * L_4 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_4, _stringLiteral3880509137, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4);
}
IL_001f:
{
ASN1_t924533535 * L_5 = V_0;
ASN1_t924533535 * L_6 = ASN1_get_Item_m1784978716(L_5, 0, /*hidden argument*/NULL);
V_1 = L_6;
ASN1_t924533535 * L_7 = V_1;
uint8_t L_8 = ASN1_get_Tag_m1462340837(L_7, /*hidden argument*/NULL);
if ((((int32_t)L_8) == ((int32_t)2)))
{
goto IL_003e;
}
}
{
ArgumentException_t3259014390 * L_9 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_9, _stringLiteral1067094085, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_9);
}
IL_003e:
{
ASN1_t924533535 * L_10 = V_0;
ASN1_t924533535 * L_11 = ASN1_get_Item_m1784978716(L_10, 1, /*hidden argument*/NULL);
ContentInfo_t1443605387 * L_12 = (ContentInfo_t1443605387 *)il2cpp_codegen_object_new(ContentInfo_t1443605387_il2cpp_TypeInfo_var);
ContentInfo__ctor_m3517696905(L_12, L_11, /*hidden argument*/NULL);
V_2 = L_12;
ContentInfo_t1443605387 * L_13 = V_2;
String_t* L_14 = ContentInfo_get_ContentType_m1698383174(L_13, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
bool L_15 = String_op_Inequality_m304203149(NULL /*static, unused*/, L_14, _stringLiteral2789145215, /*hidden argument*/NULL);
if (!L_15)
{
goto IL_006b;
}
}
{
ArgumentException_t3259014390 * L_16 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_16, _stringLiteral1686637709, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_16);
}
IL_006b:
{
ASN1_t924533535 * L_17 = V_0;
int32_t L_18 = ASN1_get_Count_m404940548(L_17, /*hidden argument*/NULL);
if ((((int32_t)L_18) <= ((int32_t)2)))
{
goto IL_01a9;
}
}
{
ASN1_t924533535 * L_19 = V_0;
ASN1_t924533535 * L_20 = ASN1_get_Item_m1784978716(L_19, 2, /*hidden argument*/NULL);
V_3 = L_20;
ASN1_t924533535 * L_21 = V_3;
uint8_t L_22 = ASN1_get_Tag_m1462340837(L_21, /*hidden argument*/NULL);
if ((((int32_t)L_22) == ((int32_t)((int32_t)48))))
{
goto IL_0097;
}
}
{
ArgumentException_t3259014390 * L_23 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_23, _stringLiteral997119270, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_23);
}
IL_0097:
{
ASN1_t924533535 * L_24 = V_3;
ASN1_t924533535 * L_25 = ASN1_get_Item_m1784978716(L_24, 0, /*hidden argument*/NULL);
V_4 = L_25;
ASN1_t924533535 * L_26 = V_4;
uint8_t L_27 = ASN1_get_Tag_m1462340837(L_26, /*hidden argument*/NULL);
if ((((int32_t)L_27) == ((int32_t)((int32_t)48))))
{
goto IL_00b9;
}
}
{
ArgumentException_t3259014390 * L_28 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_28, _stringLiteral997119270, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_28);
}
IL_00b9:
{
ASN1_t924533535 * L_29 = V_4;
ASN1_t924533535 * L_30 = ASN1_get_Item_m1784978716(L_29, 0, /*hidden argument*/NULL);
V_5 = L_30;
ASN1_t924533535 * L_31 = V_5;
ASN1_t924533535 * L_32 = ASN1_get_Item_m1784978716(L_31, 0, /*hidden argument*/NULL);
String_t* L_33 = ASN1Convert_ToOid_m2695991795(NULL /*static, unused*/, L_32, /*hidden argument*/NULL);
V_6 = L_33;
String_t* L_34 = V_6;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
bool L_35 = String_op_Inequality_m304203149(NULL /*static, unused*/, L_34, _stringLiteral662711544, /*hidden argument*/NULL);
if (!L_35)
{
goto IL_00ee;
}
}
{
ArgumentException_t3259014390 * L_36 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_36, _stringLiteral2093840056, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_36);
}
IL_00ee:
{
ASN1_t924533535 * L_37 = V_4;
ASN1_t924533535 * L_38 = ASN1_get_Item_m1784978716(L_37, 1, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_39 = ASN1_get_Value_m2669044878(L_38, /*hidden argument*/NULL);
V_7 = L_39;
ASN1_t924533535 * L_40 = V_3;
ASN1_t924533535 * L_41 = ASN1_get_Item_m1784978716(L_40, 1, /*hidden argument*/NULL);
V_8 = L_41;
ASN1_t924533535 * L_42 = V_8;
uint8_t L_43 = ASN1_get_Tag_m1462340837(L_42, /*hidden argument*/NULL);
if ((((int32_t)L_43) == ((int32_t)4)))
{
goto IL_011e;
}
}
{
ArgumentException_t3259014390 * L_44 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_44, _stringLiteral2724296509, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_44);
}
IL_011e:
{
__this->set__iterations_8(1);
ASN1_t924533535 * L_45 = V_3;
int32_t L_46 = ASN1_get_Count_m404940548(L_45, /*hidden argument*/NULL);
if ((((int32_t)L_46) <= ((int32_t)2)))
{
goto IL_015f;
}
}
{
ASN1_t924533535 * L_47 = V_3;
ASN1_t924533535 * L_48 = ASN1_get_Item_m1784978716(L_47, 2, /*hidden argument*/NULL);
V_9 = L_48;
ASN1_t924533535 * L_49 = V_9;
uint8_t L_50 = ASN1_get_Tag_m1462340837(L_49, /*hidden argument*/NULL);
if ((((int32_t)L_50) == ((int32_t)2)))
{
goto IL_0152;
}
}
{
ArgumentException_t3259014390 * L_51 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_51, _stringLiteral3133061265, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_51);
}
IL_0152:
{
ASN1_t924533535 * L_52 = V_9;
int32_t L_53 = ASN1Convert_ToInt32_m2828871616(NULL /*static, unused*/, L_52, /*hidden argument*/NULL);
__this->set__iterations_8(L_53);
}
IL_015f:
{
ContentInfo_t1443605387 * L_54 = V_2;
ASN1_t924533535 * L_55 = ContentInfo_get_Content_m3936257154(L_54, /*hidden argument*/NULL);
ASN1_t924533535 * L_56 = ASN1_get_Item_m1784978716(L_55, 0, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_57 = ASN1_get_Value_m2669044878(L_56, /*hidden argument*/NULL);
V_10 = L_57;
ByteU5BU5D_t3397334013* L_58 = __this->get__password_1();
ASN1_t924533535 * L_59 = V_8;
ByteU5BU5D_t3397334013* L_60 = ASN1_get_Value_m2669044878(L_59, /*hidden argument*/NULL);
int32_t L_61 = __this->get__iterations_8();
ByteU5BU5D_t3397334013* L_62 = V_10;
ByteU5BU5D_t3397334013* L_63 = PKCS12_MAC_m1519937926(__this, L_58, L_60, L_61, L_62, /*hidden argument*/NULL);
V_11 = L_63;
ByteU5BU5D_t3397334013* L_64 = V_7;
ByteU5BU5D_t3397334013* L_65 = V_11;
bool L_66 = PKCS12_Compare_m896757472(__this, L_64, L_65, /*hidden argument*/NULL);
if (L_66)
{
goto IL_01a9;
}
}
{
CryptographicException_t3349726436 * L_67 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_67, _stringLiteral3564677201, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_67);
}
IL_01a9:
{
ContentInfo_t1443605387 * L_68 = V_2;
ASN1_t924533535 * L_69 = ContentInfo_get_Content_m3936257154(L_68, /*hidden argument*/NULL);
ASN1_t924533535 * L_70 = ASN1_get_Item_m1784978716(L_69, 0, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_71 = ASN1_get_Value_m2669044878(L_70, /*hidden argument*/NULL);
ASN1_t924533535 * L_72 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3359093803(L_72, L_71, /*hidden argument*/NULL);
V_12 = L_72;
V_13 = 0;
goto IL_0314;
}
IL_01c9:
{
ASN1_t924533535 * L_73 = V_12;
int32_t L_74 = V_13;
ASN1_t924533535 * L_75 = ASN1_get_Item_m1784978716(L_73, L_74, /*hidden argument*/NULL);
ContentInfo_t1443605387 * L_76 = (ContentInfo_t1443605387 *)il2cpp_codegen_object_new(ContentInfo_t1443605387_il2cpp_TypeInfo_var);
ContentInfo__ctor_m3517696905(L_76, L_75, /*hidden argument*/NULL);
V_14 = L_76;
ContentInfo_t1443605387 * L_77 = V_14;
String_t* L_78 = ContentInfo_get_ContentType_m1698383174(L_77, /*hidden argument*/NULL);
V_22 = L_78;
String_t* L_79 = V_22;
if (!L_79)
{
goto IL_0303;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PKCS12_t1362584794_il2cpp_TypeInfo_var);
Dictionary_2_t3986656710 * L_80 = ((PKCS12_t1362584794_StaticFields*)PKCS12_t1362584794_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__switchU24map8_12();
if (L_80)
{
goto IL_0229;
}
}
{
Dictionary_2_t3986656710 * L_81 = (Dictionary_2_t3986656710 *)il2cpp_codegen_object_new(Dictionary_2_t3986656710_il2cpp_TypeInfo_var);
Dictionary_2__ctor_m2118310873(L_81, 3, /*hidden argument*/Dictionary_2__ctor_m2118310873_MethodInfo_var);
V_23 = L_81;
Dictionary_2_t3986656710 * L_82 = V_23;
Dictionary_2_Add_m1209957957(L_82, _stringLiteral2789145215, 0, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_83 = V_23;
Dictionary_2_Add_m1209957957(L_83, _stringLiteral2385860688, 1, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_84 = V_23;
Dictionary_2_Add_m1209957957(L_84, _stringLiteral1626345801, 2, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_85 = V_23;
IL2CPP_RUNTIME_CLASS_INIT(PKCS12_t1362584794_il2cpp_TypeInfo_var);
((PKCS12_t1362584794_StaticFields*)PKCS12_t1362584794_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__switchU24map8_12(L_85);
}
IL_0229:
{
IL2CPP_RUNTIME_CLASS_INIT(PKCS12_t1362584794_il2cpp_TypeInfo_var);
Dictionary_2_t3986656710 * L_86 = ((PKCS12_t1362584794_StaticFields*)PKCS12_t1362584794_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__switchU24map8_12();
String_t* L_87 = V_22;
bool L_88 = Dictionary_2_TryGetValue_m2977303364(L_86, L_87, (&V_24), /*hidden argument*/Dictionary_2_TryGetValue_m2977303364_MethodInfo_var);
if (!L_88)
{
goto IL_0303;
}
}
{
int32_t L_89 = V_24;
if (L_89 == 0)
{
goto IL_0254;
}
if (L_89 == 1)
{
goto IL_02a1;
}
if (L_89 == 2)
{
goto IL_02f8;
}
}
{
goto IL_0303;
}
IL_0254:
{
ContentInfo_t1443605387 * L_90 = V_14;
ASN1_t924533535 * L_91 = ContentInfo_get_Content_m3936257154(L_90, /*hidden argument*/NULL);
ASN1_t924533535 * L_92 = ASN1_get_Item_m1784978716(L_91, 0, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_93 = ASN1_get_Value_m2669044878(L_92, /*hidden argument*/NULL);
ASN1_t924533535 * L_94 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3359093803(L_94, L_93, /*hidden argument*/NULL);
V_15 = L_94;
V_16 = 0;
goto IL_028e;
}
IL_0275:
{
ASN1_t924533535 * L_95 = V_15;
int32_t L_96 = V_16;
ASN1_t924533535 * L_97 = ASN1_get_Item_m1784978716(L_95, L_96, /*hidden argument*/NULL);
V_17 = L_97;
ASN1_t924533535 * L_98 = V_17;
PKCS12_ReadSafeBag_m588574672(__this, L_98, /*hidden argument*/NULL);
int32_t L_99 = V_16;
V_16 = ((int32_t)((int32_t)L_99+(int32_t)1));
}
IL_028e:
{
int32_t L_100 = V_16;
ASN1_t924533535 * L_101 = V_15;
int32_t L_102 = ASN1_get_Count_m404940548(L_101, /*hidden argument*/NULL);
if ((((int32_t)L_100) < ((int32_t)L_102)))
{
goto IL_0275;
}
}
{
goto IL_030e;
}
IL_02a1:
{
ContentInfo_t1443605387 * L_103 = V_14;
ASN1_t924533535 * L_104 = ContentInfo_get_Content_m3936257154(L_103, /*hidden argument*/NULL);
ASN1_t924533535 * L_105 = ASN1_get_Item_m1784978716(L_104, 0, /*hidden argument*/NULL);
EncryptedData_t2656813772 * L_106 = (EncryptedData_t2656813772 *)il2cpp_codegen_object_new(EncryptedData_t2656813772_il2cpp_TypeInfo_var);
EncryptedData__ctor_m3860500558(L_106, L_105, /*hidden argument*/NULL);
V_18 = L_106;
EncryptedData_t2656813772 * L_107 = V_18;
ByteU5BU5D_t3397334013* L_108 = PKCS12_Decrypt_m2457743414(__this, L_107, /*hidden argument*/NULL);
ASN1_t924533535 * L_109 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3359093803(L_109, L_108, /*hidden argument*/NULL);
V_19 = L_109;
V_20 = 0;
goto IL_02e5;
}
IL_02cc:
{
ASN1_t924533535 * L_110 = V_19;
int32_t L_111 = V_20;
ASN1_t924533535 * L_112 = ASN1_get_Item_m1784978716(L_110, L_111, /*hidden argument*/NULL);
V_21 = L_112;
ASN1_t924533535 * L_113 = V_21;
PKCS12_ReadSafeBag_m588574672(__this, L_113, /*hidden argument*/NULL);
int32_t L_114 = V_20;
V_20 = ((int32_t)((int32_t)L_114+(int32_t)1));
}
IL_02e5:
{
int32_t L_115 = V_20;
ASN1_t924533535 * L_116 = V_19;
int32_t L_117 = ASN1_get_Count_m404940548(L_116, /*hidden argument*/NULL);
if ((((int32_t)L_115) < ((int32_t)L_117)))
{
goto IL_02cc;
}
}
{
goto IL_030e;
}
IL_02f8:
{
NotImplementedException_t2785117854 * L_118 = (NotImplementedException_t2785117854 *)il2cpp_codegen_object_new(NotImplementedException_t2785117854_il2cpp_TypeInfo_var);
NotImplementedException__ctor_m1795163961(L_118, _stringLiteral29079644, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_118);
}
IL_0303:
{
ArgumentException_t3259014390 * L_119 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_119, _stringLiteral1411515398, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_119);
}
IL_030e:
{
int32_t L_120 = V_13;
V_13 = ((int32_t)((int32_t)L_120+(int32_t)1));
}
IL_0314:
{
int32_t L_121 = V_13;
ASN1_t924533535 * L_122 = V_12;
int32_t L_123 = ASN1_get_Count_m404940548(L_122, /*hidden argument*/NULL);
if ((((int32_t)L_121) < ((int32_t)L_123)))
{
goto IL_01c9;
}
}
{
return;
}
}
// System.Void Mono.Security.X509.PKCS12::Finalize()
extern "C" void PKCS12_Finalize_m107130293 (PKCS12_t1362584794 * __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)
{
ByteU5BU5D_t3397334013* L_0 = __this->get__password_1();
if (!L_0)
{
goto IL_001f;
}
}
IL_000b:
{
ByteU5BU5D_t3397334013* L_1 = __this->get__password_1();
ByteU5BU5D_t3397334013* L_2 = __this->get__password_1();
Array_Clear_m782967417(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_1, 0, (((int32_t)((int32_t)(((Il2CppArray *)L_2)->max_length)))), /*hidden argument*/NULL);
}
IL_001f:
{
__this->set__password_1((ByteU5BU5D_t3397334013*)NULL);
IL2CPP_LEAVE(0x32, FINALLY_002b);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_002b;
}
FINALLY_002b:
{ // begin finally (depth: 1)
Object_Finalize_m4087144328(__this, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(43)
} // end finally (depth: 1)
IL2CPP_CLEANUP(43)
{
IL2CPP_JUMP_TBL(0x32, IL_0032)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_0032:
{
return;
}
}
// System.Void Mono.Security.X509.PKCS12::set_Password(System.String)
extern Il2CppClass* PKCS12_t1362584794_il2cpp_TypeInfo_var;
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern Il2CppClass* Encoding_t663144255_il2cpp_TypeInfo_var;
extern const uint32_t PKCS12_set_Password_m2189925567_MetadataUsageId;
extern "C" void PKCS12_set_Password_m2189925567 (PKCS12_t1362584794 * __this, String_t* ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PKCS12_set_Password_m2189925567_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
String_t* L_0 = ___value0;
if (!L_0)
{
goto IL_007c;
}
}
{
String_t* L_1 = ___value0;
int32_t L_2 = String_get_Length_m1606060069(L_1, /*hidden argument*/NULL);
if ((((int32_t)L_2) <= ((int32_t)0)))
{
goto IL_006b;
}
}
{
String_t* L_3 = ___value0;
int32_t L_4 = String_get_Length_m1606060069(L_3, /*hidden argument*/NULL);
V_0 = L_4;
V_1 = 0;
int32_t L_5 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(PKCS12_t1362584794_il2cpp_TypeInfo_var);
int32_t L_6 = PKCS12_get_MaximumPasswordLength_m1894661347(NULL /*static, unused*/, /*hidden argument*/NULL);
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_003b;
}
}
{
String_t* L_7 = ___value0;
int32_t L_8 = V_0;
Il2CppChar L_9 = String_get_Chars_m4230566705(L_7, ((int32_t)((int32_t)L_8-(int32_t)1)), /*hidden argument*/NULL);
if (!L_9)
{
goto IL_0036;
}
}
{
V_1 = 1;
}
IL_0036:
{
goto IL_0041;
}
IL_003b:
{
IL2CPP_RUNTIME_CLASS_INIT(PKCS12_t1362584794_il2cpp_TypeInfo_var);
int32_t L_10 = PKCS12_get_MaximumPasswordLength_m1894661347(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = L_10;
}
IL_0041:
{
int32_t L_11 = V_0;
int32_t L_12 = V_1;
__this->set__password_1(((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_11+(int32_t)L_12))<<(int32_t)1)))));
IL2CPP_RUNTIME_CLASS_INIT(Encoding_t663144255_il2cpp_TypeInfo_var);
Encoding_t663144255 * L_13 = Encoding_get_BigEndianUnicode_m1461269772(NULL /*static, unused*/, /*hidden argument*/NULL);
String_t* L_14 = ___value0;
int32_t L_15 = V_0;
ByteU5BU5D_t3397334013* L_16 = __this->get__password_1();
VirtFuncInvoker5< int32_t, String_t*, int32_t, int32_t, ByteU5BU5D_t3397334013*, int32_t >::Invoke(9 /* System.Int32 System.Text.Encoding::GetBytes(System.String,System.Int32,System.Int32,System.Byte[],System.Int32) */, L_13, L_14, 0, L_15, L_16, 0);
goto IL_0077;
}
IL_006b:
{
__this->set__password_1(((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)2)));
}
IL_0077:
{
goto IL_0083;
}
IL_007c:
{
__this->set__password_1((ByteU5BU5D_t3397334013*)NULL);
}
IL_0083:
{
return;
}
}
// System.Int32 Mono.Security.X509.PKCS12::get_IterationCount()
extern "C" int32_t PKCS12_get_IterationCount_m3572300030 (PKCS12_t1362584794 * __this, const MethodInfo* method)
{
{
int32_t L_0 = __this->get__iterations_8();
return L_0;
}
}
// System.Void Mono.Security.X509.PKCS12::set_IterationCount(System.Int32)
extern "C" void PKCS12_set_IterationCount_m3081866347 (PKCS12_t1362584794 * __this, int32_t ___value0, const MethodInfo* method)
{
{
int32_t L_0 = ___value0;
__this->set__iterations_8(L_0);
return;
}
}
// Mono.Security.X509.X509CertificateCollection Mono.Security.X509.PKCS12::get_Certificates()
extern Il2CppClass* IEnumerator_t1466026749_il2cpp_TypeInfo_var;
extern Il2CppClass* SafeBag_t2166702855_il2cpp_TypeInfo_var;
extern Il2CppClass* ContentInfo_t1443605387_il2cpp_TypeInfo_var;
extern Il2CppClass* X509Certificate_t324051957_il2cpp_TypeInfo_var;
extern Il2CppClass* IDisposable_t2427283555_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral2922737969;
extern const uint32_t PKCS12_get_Certificates_m2591178223_MetadataUsageId;
extern "C" X509CertificateCollection_t3592472865 * PKCS12_get_Certificates_m2591178223 (PKCS12_t1362584794 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PKCS12_get_Certificates_m2591178223_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
SafeBag_t2166702855 * V_0 = NULL;
Il2CppObject * V_1 = NULL;
ASN1_t924533535 * V_2 = NULL;
ASN1_t924533535 * V_3 = NULL;
ContentInfo_t1443605387 * V_4 = NULL;
Il2CppObject * V_5 = 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__certsChanged_7();
if (!L_0)
{
goto IL_00b3;
}
}
{
X509CertificateCollection_t3592472865 * L_1 = __this->get__certs_4();
CollectionBase_Clear_m4223862684(L_1, /*hidden argument*/NULL);
ArrayList_t4252133567 * L_2 = __this->get__safeBags_9();
Il2CppObject * L_3 = VirtFuncInvoker0< Il2CppObject * >::Invoke(43 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_2);
V_1 = L_3;
}
IL_0022:
try
{ // begin try (depth: 1)
{
goto IL_0087;
}
IL_0027:
{
Il2CppObject * L_4 = V_1;
Il2CppObject * L_5 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(0 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_4);
V_0 = ((SafeBag_t2166702855 *)CastclassClass(L_5, SafeBag_t2166702855_il2cpp_TypeInfo_var));
SafeBag_t2166702855 * L_6 = V_0;
String_t* L_7 = SafeBag_get_BagOID_m2583687334(L_6, /*hidden argument*/NULL);
bool L_8 = String_Equals_m2633592423(L_7, _stringLiteral2922737969, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_0087;
}
}
IL_0048:
{
SafeBag_t2166702855 * L_9 = V_0;
ASN1_t924533535 * L_10 = SafeBag_get_ASN1_m3703295313(L_9, /*hidden argument*/NULL);
V_2 = L_10;
ASN1_t924533535 * L_11 = V_2;
ASN1_t924533535 * L_12 = ASN1_get_Item_m1784978716(L_11, 1, /*hidden argument*/NULL);
V_3 = L_12;
ASN1_t924533535 * L_13 = V_3;
ByteU5BU5D_t3397334013* L_14 = ASN1_get_Value_m2669044878(L_13, /*hidden argument*/NULL);
ContentInfo_t1443605387 * L_15 = (ContentInfo_t1443605387 *)il2cpp_codegen_object_new(ContentInfo_t1443605387_il2cpp_TypeInfo_var);
ContentInfo__ctor_m2074180116(L_15, L_14, /*hidden argument*/NULL);
V_4 = L_15;
X509CertificateCollection_t3592472865 * L_16 = __this->get__certs_4();
ContentInfo_t1443605387 * L_17 = V_4;
ASN1_t924533535 * L_18 = ContentInfo_get_Content_m3936257154(L_17, /*hidden argument*/NULL);
ASN1_t924533535 * L_19 = ASN1_get_Item_m1784978716(L_18, 0, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_20 = ASN1_get_Value_m2669044878(L_19, /*hidden argument*/NULL);
X509Certificate_t324051957 * L_21 = (X509Certificate_t324051957 *)il2cpp_codegen_object_new(X509Certificate_t324051957_il2cpp_TypeInfo_var);
X509Certificate__ctor_m1606765153(L_21, L_20, /*hidden argument*/NULL);
X509CertificateCollection_Add_m363786109(L_16, L_21, /*hidden argument*/NULL);
}
IL_0087:
{
Il2CppObject * L_22 = V_1;
bool L_23 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_22);
if (L_23)
{
goto IL_0027;
}
}
IL_0092:
{
IL2CPP_LEAVE(0xAC, FINALLY_0097);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_0097;
}
FINALLY_0097:
{ // begin finally (depth: 1)
{
Il2CppObject * L_24 = V_1;
V_5 = ((Il2CppObject *)IsInst(L_24, IDisposable_t2427283555_il2cpp_TypeInfo_var));
Il2CppObject * L_25 = V_5;
if (L_25)
{
goto IL_00a4;
}
}
IL_00a3:
{
IL2CPP_END_FINALLY(151)
}
IL_00a4:
{
Il2CppObject * L_26 = V_5;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t2427283555_il2cpp_TypeInfo_var, L_26);
IL2CPP_END_FINALLY(151)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(151)
{
IL2CPP_JUMP_TBL(0xAC, IL_00ac)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_00ac:
{
__this->set__certsChanged_7((bool)0);
}
IL_00b3:
{
X509CertificateCollection_t3592472865 * L_27 = __this->get__certs_4();
return L_27;
}
}
// System.Security.Cryptography.RandomNumberGenerator Mono.Security.X509.PKCS12::get_RNG()
extern "C" RandomNumberGenerator_t2510243513 * PKCS12_get_RNG_m3620550062 (PKCS12_t1362584794 * __this, const MethodInfo* method)
{
{
RandomNumberGenerator_t2510243513 * L_0 = __this->get__rng_10();
if (L_0)
{
goto IL_0016;
}
}
{
RandomNumberGenerator_t2510243513 * L_1 = RandomNumberGenerator_Create_m2275686895(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set__rng_10(L_1);
}
IL_0016:
{
RandomNumberGenerator_t2510243513 * L_2 = __this->get__rng_10();
return L_2;
}
}
// System.Boolean Mono.Security.X509.PKCS12::Compare(System.Byte[],System.Byte[])
extern "C" bool PKCS12_Compare_m896757472 (PKCS12_t1362584794 * __this, ByteU5BU5D_t3397334013* ___expected0, ByteU5BU5D_t3397334013* ___actual1, const MethodInfo* method)
{
bool V_0 = false;
int32_t V_1 = 0;
{
V_0 = (bool)0;
ByteU5BU5D_t3397334013* L_0 = ___expected0;
ByteU5BU5D_t3397334013* L_1 = ___actual1;
if ((!(((uint32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_0)->max_length))))) == ((uint32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_1)->max_length))))))))
{
goto IL_0030;
}
}
{
V_1 = 0;
goto IL_0025;
}
IL_0014:
{
ByteU5BU5D_t3397334013* L_2 = ___expected0;
int32_t L_3 = V_1;
int32_t L_4 = L_3;
uint8_t L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
ByteU5BU5D_t3397334013* L_6 = ___actual1;
int32_t L_7 = V_1;
int32_t L_8 = L_7;
uint8_t L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
if ((((int32_t)L_5) == ((int32_t)L_9)))
{
goto IL_0021;
}
}
{
return (bool)0;
}
IL_0021:
{
int32_t L_10 = V_1;
V_1 = ((int32_t)((int32_t)L_10+(int32_t)1));
}
IL_0025:
{
int32_t L_11 = V_1;
ByteU5BU5D_t3397334013* L_12 = ___expected0;
if ((((int32_t)L_11) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_12)->max_length)))))))
{
goto IL_0014;
}
}
{
V_0 = (bool)1;
}
IL_0030:
{
bool L_13 = V_0;
return L_13;
}
}
// System.Security.Cryptography.SymmetricAlgorithm Mono.Security.X509.PKCS12::GetSymmetricAlgorithm(System.String,System.Byte[],System.Int32)
extern Il2CppClass* DeriveBytes_t1740753016_il2cpp_TypeInfo_var;
extern Il2CppClass* PKCS12_t1362584794_il2cpp_TypeInfo_var;
extern Il2CppClass* Dictionary_2_t3986656710_il2cpp_TypeInfo_var;
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppClass* NotSupportedException_t1793819818_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* _stringLiteral3071470217;
extern Il2CppCodeGenString* _stringLiteral4234269631;
extern Il2CppCodeGenString* _stringLiteral3830985104;
extern Il2CppCodeGenString* _stringLiteral698817222;
extern Il2CppCodeGenString* _stringLiteral3504829785;
extern Il2CppCodeGenString* _stringLiteral3504829786;
extern Il2CppCodeGenString* _stringLiteral197486708;
extern Il2CppCodeGenString* _stringLiteral197486707;
extern Il2CppCodeGenString* _stringLiteral197486706;
extern Il2CppCodeGenString* _stringLiteral197486713;
extern Il2CppCodeGenString* _stringLiteral197486712;
extern Il2CppCodeGenString* _stringLiteral197486711;
extern Il2CppCodeGenString* _stringLiteral3162791839;
extern Il2CppCodeGenString* _stringLiteral1596707762;
extern Il2CppCodeGenString* _stringLiteral3162791842;
extern Il2CppCodeGenString* _stringLiteral2403277475;
extern Il2CppCodeGenString* _stringLiteral3390779939;
extern Il2CppCodeGenString* _stringLiteral2403277473;
extern Il2CppCodeGenString* _stringLiteral1310610054;
extern Il2CppCodeGenString* _stringLiteral1726186584;
extern const uint32_t PKCS12_GetSymmetricAlgorithm_m1812022677_MetadataUsageId;
extern "C" SymmetricAlgorithm_t1108166522 * PKCS12_GetSymmetricAlgorithm_m1812022677 (PKCS12_t1362584794 * __this, String_t* ___algorithmOid0, ByteU5BU5D_t3397334013* ___salt1, int32_t ___iterationCount2, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PKCS12_GetSymmetricAlgorithm_m1812022677_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
String_t* V_0 = NULL;
int32_t V_1 = 0;
int32_t V_2 = 0;
DeriveBytes_t1740753016 * V_3 = NULL;
SymmetricAlgorithm_t1108166522 * V_4 = NULL;
String_t* V_5 = NULL;
Dictionary_2_t3986656710 * V_6 = NULL;
int32_t V_7 = 0;
{
V_0 = (String_t*)NULL;
V_1 = 8;
V_2 = 8;
DeriveBytes_t1740753016 * L_0 = (DeriveBytes_t1740753016 *)il2cpp_codegen_object_new(DeriveBytes_t1740753016_il2cpp_TypeInfo_var);
DeriveBytes__ctor_m3089550878(L_0, /*hidden argument*/NULL);
V_3 = L_0;
DeriveBytes_t1740753016 * L_1 = V_3;
ByteU5BU5D_t3397334013* L_2 = __this->get__password_1();
DeriveBytes_set_Password_m3391502993(L_1, L_2, /*hidden argument*/NULL);
DeriveBytes_t1740753016 * L_3 = V_3;
ByteU5BU5D_t3397334013* L_4 = ___salt1;
DeriveBytes_set_Salt_m4154827108(L_3, L_4, /*hidden argument*/NULL);
DeriveBytes_t1740753016 * L_5 = V_3;
int32_t L_6 = ___iterationCount2;
DeriveBytes_set_IterationCount_m978799990(L_5, L_6, /*hidden argument*/NULL);
String_t* L_7 = ___algorithmOid0;
V_5 = L_7;
String_t* L_8 = V_5;
if (!L_8)
{
goto IL_025a;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PKCS12_t1362584794_il2cpp_TypeInfo_var);
Dictionary_2_t3986656710 * L_9 = ((PKCS12_t1362584794_StaticFields*)PKCS12_t1362584794_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__switchU24map9_13();
if (L_9)
{
goto IL_00e9;
}
}
{
Dictionary_2_t3986656710 * L_10 = (Dictionary_2_t3986656710 *)il2cpp_codegen_object_new(Dictionary_2_t3986656710_il2cpp_TypeInfo_var);
Dictionary_2__ctor_m2118310873(L_10, ((int32_t)12), /*hidden argument*/Dictionary_2__ctor_m2118310873_MethodInfo_var);
V_6 = L_10;
Dictionary_2_t3986656710 * L_11 = V_6;
Dictionary_2_Add_m1209957957(L_11, _stringLiteral3071470217, 0, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_12 = V_6;
Dictionary_2_Add_m1209957957(L_12, _stringLiteral4234269631, 1, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_13 = V_6;
Dictionary_2_Add_m1209957957(L_13, _stringLiteral3830985104, 2, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_14 = V_6;
Dictionary_2_Add_m1209957957(L_14, _stringLiteral698817222, 3, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_15 = V_6;
Dictionary_2_Add_m1209957957(L_15, _stringLiteral3504829785, 4, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_16 = V_6;
Dictionary_2_Add_m1209957957(L_16, _stringLiteral3504829786, 5, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_17 = V_6;
Dictionary_2_Add_m1209957957(L_17, _stringLiteral197486708, 6, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_18 = V_6;
Dictionary_2_Add_m1209957957(L_18, _stringLiteral197486707, 7, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_19 = V_6;
Dictionary_2_Add_m1209957957(L_19, _stringLiteral197486706, 8, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_20 = V_6;
Dictionary_2_Add_m1209957957(L_20, _stringLiteral197486713, ((int32_t)9), /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_21 = V_6;
Dictionary_2_Add_m1209957957(L_21, _stringLiteral197486712, ((int32_t)10), /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_22 = V_6;
Dictionary_2_Add_m1209957957(L_22, _stringLiteral197486711, ((int32_t)11), /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_23 = V_6;
IL2CPP_RUNTIME_CLASS_INIT(PKCS12_t1362584794_il2cpp_TypeInfo_var);
((PKCS12_t1362584794_StaticFields*)PKCS12_t1362584794_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__switchU24map9_13(L_23);
}
IL_00e9:
{
IL2CPP_RUNTIME_CLASS_INIT(PKCS12_t1362584794_il2cpp_TypeInfo_var);
Dictionary_2_t3986656710 * L_24 = ((PKCS12_t1362584794_StaticFields*)PKCS12_t1362584794_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__switchU24map9_13();
String_t* L_25 = V_5;
bool L_26 = Dictionary_2_TryGetValue_m2977303364(L_24, L_25, (&V_7), /*hidden argument*/Dictionary_2_TryGetValue_m2977303364_MethodInfo_var);
if (!L_26)
{
goto IL_025a;
}
}
{
int32_t L_27 = V_7;
if (L_27 == 0)
{
goto IL_0138;
}
if (L_27 == 1)
{
goto IL_014e;
}
if (L_27 == 2)
{
goto IL_0164;
}
if (L_27 == 3)
{
goto IL_017c;
}
if (L_27 == 4)
{
goto IL_0194;
}
if (L_27 == 5)
{
goto IL_01aa;
}
if (L_27 == 6)
{
goto IL_01c2;
}
if (L_27 == 7)
{
goto IL_01dd;
}
if (L_27 == 8)
{
goto IL_01f7;
}
if (L_27 == 9)
{
goto IL_0210;
}
if (L_27 == 10)
{
goto IL_0229;
}
if (L_27 == 11)
{
goto IL_0242;
}
}
{
goto IL_025a;
}
IL_0138:
{
DeriveBytes_t1740753016 * L_28 = V_3;
DeriveBytes_set_HashName_m1033859896(L_28, _stringLiteral3162791839, /*hidden argument*/NULL);
V_0 = _stringLiteral1596707762;
goto IL_026b;
}
IL_014e:
{
DeriveBytes_t1740753016 * L_29 = V_3;
DeriveBytes_set_HashName_m1033859896(L_29, _stringLiteral3162791842, /*hidden argument*/NULL);
V_0 = _stringLiteral1596707762;
goto IL_026b;
}
IL_0164:
{
DeriveBytes_t1740753016 * L_30 = V_3;
DeriveBytes_set_HashName_m1033859896(L_30, _stringLiteral3162791839, /*hidden argument*/NULL);
V_0 = _stringLiteral2403277475;
V_1 = 4;
goto IL_026b;
}
IL_017c:
{
DeriveBytes_t1740753016 * L_31 = V_3;
DeriveBytes_set_HashName_m1033859896(L_31, _stringLiteral3162791842, /*hidden argument*/NULL);
V_0 = _stringLiteral2403277475;
V_1 = 4;
goto IL_026b;
}
IL_0194:
{
DeriveBytes_t1740753016 * L_32 = V_3;
DeriveBytes_set_HashName_m1033859896(L_32, _stringLiteral3390779939, /*hidden argument*/NULL);
V_0 = _stringLiteral1596707762;
goto IL_026b;
}
IL_01aa:
{
DeriveBytes_t1740753016 * L_33 = V_3;
DeriveBytes_set_HashName_m1033859896(L_33, _stringLiteral3390779939, /*hidden argument*/NULL);
V_0 = _stringLiteral2403277475;
V_1 = 4;
goto IL_026b;
}
IL_01c2:
{
DeriveBytes_t1740753016 * L_34 = V_3;
DeriveBytes_set_HashName_m1033859896(L_34, _stringLiteral3390779939, /*hidden argument*/NULL);
V_0 = _stringLiteral2403277473;
V_1 = ((int32_t)16);
V_2 = 0;
goto IL_026b;
}
IL_01dd:
{
DeriveBytes_t1740753016 * L_35 = V_3;
DeriveBytes_set_HashName_m1033859896(L_35, _stringLiteral3390779939, /*hidden argument*/NULL);
V_0 = _stringLiteral2403277473;
V_1 = 5;
V_2 = 0;
goto IL_026b;
}
IL_01f7:
{
DeriveBytes_t1740753016 * L_36 = V_3;
DeriveBytes_set_HashName_m1033859896(L_36, _stringLiteral3390779939, /*hidden argument*/NULL);
V_0 = _stringLiteral1310610054;
V_1 = ((int32_t)24);
goto IL_026b;
}
IL_0210:
{
DeriveBytes_t1740753016 * L_37 = V_3;
DeriveBytes_set_HashName_m1033859896(L_37, _stringLiteral3390779939, /*hidden argument*/NULL);
V_0 = _stringLiteral1310610054;
V_1 = ((int32_t)16);
goto IL_026b;
}
IL_0229:
{
DeriveBytes_t1740753016 * L_38 = V_3;
DeriveBytes_set_HashName_m1033859896(L_38, _stringLiteral3390779939, /*hidden argument*/NULL);
V_0 = _stringLiteral2403277475;
V_1 = ((int32_t)16);
goto IL_026b;
}
IL_0242:
{
DeriveBytes_t1740753016 * L_39 = V_3;
DeriveBytes_set_HashName_m1033859896(L_39, _stringLiteral3390779939, /*hidden argument*/NULL);
V_0 = _stringLiteral2403277475;
V_1 = 5;
goto IL_026b;
}
IL_025a:
{
String_t* L_40 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_41 = String_Concat_m2596409543(NULL /*static, unused*/, _stringLiteral1726186584, L_40, /*hidden argument*/NULL);
NotSupportedException_t1793819818 * L_42 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m836173213(L_42, L_41, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_42);
}
IL_026b:
{
String_t* L_43 = V_0;
SymmetricAlgorithm_t1108166522 * L_44 = SymmetricAlgorithm_Create_m1998846805(NULL /*static, unused*/, L_43, /*hidden argument*/NULL);
V_4 = L_44;
SymmetricAlgorithm_t1108166522 * L_45 = V_4;
DeriveBytes_t1740753016 * L_46 = V_3;
int32_t L_47 = V_1;
ByteU5BU5D_t3397334013* L_48 = DeriveBytes_DeriveKey_m2059955099(L_46, L_47, /*hidden argument*/NULL);
VirtActionInvoker1< ByteU5BU5D_t3397334013* >::Invoke(12 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_Key(System.Byte[]) */, L_45, L_48);
int32_t L_49 = V_2;
if ((((int32_t)L_49) <= ((int32_t)0)))
{
goto IL_029e;
}
}
{
SymmetricAlgorithm_t1108166522 * L_50 = V_4;
DeriveBytes_t1740753016 * L_51 = V_3;
int32_t L_52 = V_2;
ByteU5BU5D_t3397334013* L_53 = DeriveBytes_DeriveIV_m3493603215(L_51, L_52, /*hidden argument*/NULL);
VirtActionInvoker1< ByteU5BU5D_t3397334013* >::Invoke(10 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_IV(System.Byte[]) */, L_50, L_53);
SymmetricAlgorithm_t1108166522 * L_54 = V_4;
VirtActionInvoker1< int32_t >::Invoke(17 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_Mode(System.Security.Cryptography.CipherMode) */, L_54, 1);
}
IL_029e:
{
SymmetricAlgorithm_t1108166522 * L_55 = V_4;
return L_55;
}
}
// System.Byte[] Mono.Security.X509.PKCS12::Decrypt(System.String,System.Byte[],System.Int32,System.Byte[])
extern Il2CppClass* ICryptoTransform_t281704372_il2cpp_TypeInfo_var;
extern const uint32_t PKCS12_Decrypt_m2353135969_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* PKCS12_Decrypt_m2353135969 (PKCS12_t1362584794 * __this, String_t* ___algorithmOid0, ByteU5BU5D_t3397334013* ___salt1, int32_t ___iterationCount2, ByteU5BU5D_t3397334013* ___encryptedData3, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PKCS12_Decrypt_m2353135969_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
SymmetricAlgorithm_t1108166522 * V_0 = NULL;
ByteU5BU5D_t3397334013* 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);
{
V_0 = (SymmetricAlgorithm_t1108166522 *)NULL;
V_1 = (ByteU5BU5D_t3397334013*)NULL;
}
IL_0004:
try
{ // begin try (depth: 1)
String_t* L_0 = ___algorithmOid0;
ByteU5BU5D_t3397334013* L_1 = ___salt1;
int32_t L_2 = ___iterationCount2;
SymmetricAlgorithm_t1108166522 * L_3 = PKCS12_GetSymmetricAlgorithm_m1812022677(__this, L_0, L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
SymmetricAlgorithm_t1108166522 * L_4 = V_0;
Il2CppObject * L_5 = VirtFuncInvoker0< Il2CppObject * >::Invoke(20 /* System.Security.Cryptography.ICryptoTransform System.Security.Cryptography.SymmetricAlgorithm::CreateDecryptor() */, L_4);
V_2 = L_5;
Il2CppObject * L_6 = V_2;
ByteU5BU5D_t3397334013* L_7 = ___encryptedData3;
ByteU5BU5D_t3397334013* L_8 = ___encryptedData3;
ByteU5BU5D_t3397334013* L_9 = InterfaceFuncInvoker3< ByteU5BU5D_t3397334013*, ByteU5BU5D_t3397334013*, int32_t, int32_t >::Invoke(2 /* System.Byte[] System.Security.Cryptography.ICryptoTransform::TransformFinalBlock(System.Byte[],System.Int32,System.Int32) */, ICryptoTransform_t281704372_il2cpp_TypeInfo_var, L_6, L_7, 0, (((int32_t)((int32_t)(((Il2CppArray *)L_8)->max_length)))));
V_1 = L_9;
IL2CPP_LEAVE(0x35, FINALLY_0028);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_0028;
}
FINALLY_0028:
{ // begin finally (depth: 1)
{
SymmetricAlgorithm_t1108166522 * L_10 = V_0;
if (!L_10)
{
goto IL_0034;
}
}
IL_002e:
{
SymmetricAlgorithm_t1108166522 * L_11 = V_0;
SymmetricAlgorithm_Clear_m774423768(L_11, /*hidden argument*/NULL);
}
IL_0034:
{
IL2CPP_END_FINALLY(40)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(40)
{
IL2CPP_JUMP_TBL(0x35, IL_0035)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_0035:
{
ByteU5BU5D_t3397334013* L_12 = V_1;
return L_12;
}
}
// System.Byte[] Mono.Security.X509.PKCS12::Decrypt(Mono.Security.PKCS7/EncryptedData)
extern "C" ByteU5BU5D_t3397334013* PKCS12_Decrypt_m2457743414 (PKCS12_t1362584794 * __this, EncryptedData_t2656813772 * ___ed0, const MethodInfo* method)
{
{
EncryptedData_t2656813772 * L_0 = ___ed0;
ContentInfo_t1443605387 * L_1 = EncryptedData_get_EncryptionAlgorithm_m1301274243(L_0, /*hidden argument*/NULL);
String_t* L_2 = ContentInfo_get_ContentType_m1698383174(L_1, /*hidden argument*/NULL);
EncryptedData_t2656813772 * L_3 = ___ed0;
ContentInfo_t1443605387 * L_4 = EncryptedData_get_EncryptionAlgorithm_m1301274243(L_3, /*hidden argument*/NULL);
ASN1_t924533535 * L_5 = ContentInfo_get_Content_m3936257154(L_4, /*hidden argument*/NULL);
ASN1_t924533535 * L_6 = ASN1_get_Item_m1784978716(L_5, 0, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_7 = ASN1_get_Value_m2669044878(L_6, /*hidden argument*/NULL);
EncryptedData_t2656813772 * L_8 = ___ed0;
ContentInfo_t1443605387 * L_9 = EncryptedData_get_EncryptionAlgorithm_m1301274243(L_8, /*hidden argument*/NULL);
ASN1_t924533535 * L_10 = ContentInfo_get_Content_m3936257154(L_9, /*hidden argument*/NULL);
ASN1_t924533535 * L_11 = ASN1_get_Item_m1784978716(L_10, 1, /*hidden argument*/NULL);
int32_t L_12 = ASN1Convert_ToInt32_m2828871616(NULL /*static, unused*/, L_11, /*hidden argument*/NULL);
EncryptedData_t2656813772 * L_13 = ___ed0;
ByteU5BU5D_t3397334013* L_14 = EncryptedData_get_EncryptedContent_m2732115576(L_13, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_15 = PKCS12_Decrypt_m2353135969(__this, L_2, L_7, L_12, L_14, /*hidden argument*/NULL);
return L_15;
}
}
// System.Byte[] Mono.Security.X509.PKCS12::Encrypt(System.String,System.Byte[],System.Int32,System.Byte[])
extern Il2CppClass* ICryptoTransform_t281704372_il2cpp_TypeInfo_var;
extern Il2CppClass* IDisposable_t2427283555_il2cpp_TypeInfo_var;
extern const uint32_t PKCS12_Encrypt_m1401341763_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* PKCS12_Encrypt_m1401341763 (PKCS12_t1362584794 * __this, String_t* ___algorithmOid0, ByteU5BU5D_t3397334013* ___salt1, int32_t ___iterationCount2, ByteU5BU5D_t3397334013* ___data3, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PKCS12_Encrypt_m1401341763_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ByteU5BU5D_t3397334013* V_0 = NULL;
SymmetricAlgorithm_t1108166522 * 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);
{
V_0 = (ByteU5BU5D_t3397334013*)NULL;
String_t* L_0 = ___algorithmOid0;
ByteU5BU5D_t3397334013* L_1 = ___salt1;
int32_t L_2 = ___iterationCount2;
SymmetricAlgorithm_t1108166522 * L_3 = PKCS12_GetSymmetricAlgorithm_m1812022677(__this, L_0, L_1, L_2, /*hidden argument*/NULL);
V_1 = L_3;
}
IL_000c:
try
{ // begin try (depth: 1)
SymmetricAlgorithm_t1108166522 * L_4 = V_1;
Il2CppObject * L_5 = VirtFuncInvoker0< Il2CppObject * >::Invoke(22 /* System.Security.Cryptography.ICryptoTransform System.Security.Cryptography.SymmetricAlgorithm::CreateEncryptor() */, L_4);
V_2 = L_5;
Il2CppObject * L_6 = V_2;
ByteU5BU5D_t3397334013* L_7 = ___data3;
ByteU5BU5D_t3397334013* L_8 = ___data3;
ByteU5BU5D_t3397334013* L_9 = InterfaceFuncInvoker3< ByteU5BU5D_t3397334013*, ByteU5BU5D_t3397334013*, int32_t, int32_t >::Invoke(2 /* System.Byte[] System.Security.Cryptography.ICryptoTransform::TransformFinalBlock(System.Byte[],System.Int32,System.Int32) */, ICryptoTransform_t281704372_il2cpp_TypeInfo_var, L_6, L_7, 0, (((int32_t)((int32_t)(((Il2CppArray *)L_8)->max_length)))));
V_0 = L_9;
IL2CPP_LEAVE(0x33, FINALLY_0026);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_0026;
}
FINALLY_0026:
{ // begin finally (depth: 1)
{
SymmetricAlgorithm_t1108166522 * L_10 = V_1;
if (!L_10)
{
goto IL_0032;
}
}
IL_002c:
{
SymmetricAlgorithm_t1108166522 * L_11 = V_1;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t2427283555_il2cpp_TypeInfo_var, L_11);
}
IL_0032:
{
IL2CPP_END_FINALLY(38)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(38)
{
IL2CPP_JUMP_TBL(0x33, IL_0033)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_0033:
{
ByteU5BU5D_t3397334013* L_12 = V_0;
return L_12;
}
}
// System.Security.Cryptography.DSAParameters Mono.Security.X509.PKCS12::GetExistingParameters(System.Boolean&)
extern Il2CppClass* IDisposable_t2427283555_il2cpp_TypeInfo_var;
extern Il2CppClass* DSAParameters_t1872138834_il2cpp_TypeInfo_var;
extern const uint32_t PKCS12_GetExistingParameters_m2413397265_MetadataUsageId;
extern "C" DSAParameters_t1872138834 PKCS12_GetExistingParameters_m2413397265 (PKCS12_t1362584794 * __this, bool* ___found0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PKCS12_GetExistingParameters_m2413397265_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
X509Certificate_t324051957 * V_0 = NULL;
X509CertificateEnumerator_t3487770522 * V_1 = NULL;
DSA_t903174880 * V_2 = NULL;
DSAParameters_t1872138834 V_3;
memset(&V_3, 0, sizeof(V_3));
Il2CppObject * V_4 = NULL;
DSAParameters_t1872138834 V_5;
memset(&V_5, 0, sizeof(V_5));
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);
{
X509CertificateCollection_t3592472865 * L_0 = PKCS12_get_Certificates_m2591178223(__this, /*hidden argument*/NULL);
X509CertificateEnumerator_t3487770522 * L_1 = X509CertificateCollection_GetEnumerator_m3684889287(L_0, /*hidden argument*/NULL);
V_1 = L_1;
}
IL_000c:
try
{ // begin try (depth: 1)
{
goto IL_0040;
}
IL_0011:
{
X509CertificateEnumerator_t3487770522 * L_2 = V_1;
X509Certificate_t324051957 * L_3 = X509CertificateEnumerator_get_Current_m2595382139(L_2, /*hidden argument*/NULL);
V_0 = L_3;
X509Certificate_t324051957 * L_4 = V_0;
ByteU5BU5D_t3397334013* L_5 = VirtFuncInvoker0< ByteU5BU5D_t3397334013* >::Invoke(6 /* System.Byte[] Mono.Security.X509.X509Certificate::get_KeyAlgorithmParameters() */, L_4);
if (!L_5)
{
goto IL_0040;
}
}
IL_0023:
{
X509Certificate_t324051957 * L_6 = V_0;
DSA_t903174880 * L_7 = X509Certificate_get_DSA_m3959895595(L_6, /*hidden argument*/NULL);
V_2 = L_7;
DSA_t903174880 * L_8 = V_2;
if (!L_8)
{
goto IL_0040;
}
}
IL_0030:
{
bool* L_9 = ___found0;
*((int8_t*)(L_9)) = (int8_t)1;
DSA_t903174880 * L_10 = V_2;
DSAParameters_t1872138834 L_11 = VirtFuncInvoker1< DSAParameters_t1872138834 , bool >::Invoke(11 /* System.Security.Cryptography.DSAParameters System.Security.Cryptography.DSA::ExportParameters(System.Boolean) */, L_10, (bool)0);
V_3 = L_11;
IL2CPP_LEAVE(0x73, FINALLY_0050);
}
IL_0040:
{
X509CertificateEnumerator_t3487770522 * L_12 = V_1;
bool L_13 = X509CertificateEnumerator_MoveNext_m1031936092(L_12, /*hidden argument*/NULL);
if (L_13)
{
goto IL_0011;
}
}
IL_004b:
{
IL2CPP_LEAVE(0x65, FINALLY_0050);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_0050;
}
FINALLY_0050:
{ // begin finally (depth: 1)
{
X509CertificateEnumerator_t3487770522 * L_14 = V_1;
V_4 = ((Il2CppObject *)IsInst(L_14, IDisposable_t2427283555_il2cpp_TypeInfo_var));
Il2CppObject * L_15 = V_4;
if (L_15)
{
goto IL_005d;
}
}
IL_005c:
{
IL2CPP_END_FINALLY(80)
}
IL_005d:
{
Il2CppObject * L_16 = V_4;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t2427283555_il2cpp_TypeInfo_var, L_16);
IL2CPP_END_FINALLY(80)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(80)
{
IL2CPP_JUMP_TBL(0x73, IL_0073)
IL2CPP_JUMP_TBL(0x65, IL_0065)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_0065:
{
bool* L_17 = ___found0;
*((int8_t*)(L_17)) = (int8_t)0;
Initobj (DSAParameters_t1872138834_il2cpp_TypeInfo_var, (&V_5));
DSAParameters_t1872138834 L_18 = V_5;
return L_18;
}
IL_0073:
{
DSAParameters_t1872138834 L_19 = V_3;
return L_19;
}
}
// System.Void Mono.Security.X509.PKCS12::AddPrivateKey(Mono.Security.Cryptography.PKCS8/PrivateKeyInfo)
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral2122551861;
extern const uint32_t PKCS12_AddPrivateKey_m2916757605_MetadataUsageId;
extern "C" void PKCS12_AddPrivateKey_m2916757605 (PKCS12_t1362584794 * __this, PrivateKeyInfo_t92917103 * ___pki0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PKCS12_AddPrivateKey_m2916757605_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ByteU5BU5D_t3397334013* V_0 = NULL;
bool V_1 = false;
DSAParameters_t1872138834 V_2;
memset(&V_2, 0, sizeof(V_2));
uint8_t V_3 = 0x0;
{
PrivateKeyInfo_t92917103 * L_0 = ___pki0;
ByteU5BU5D_t3397334013* L_1 = PrivateKeyInfo_get_PrivateKey_m3481091992(L_0, /*hidden argument*/NULL);
V_0 = L_1;
ByteU5BU5D_t3397334013* L_2 = V_0;
int32_t L_3 = 0;
uint8_t L_4 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
V_3 = L_4;
uint8_t L_5 = V_3;
if ((((int32_t)L_5) == ((int32_t)2)))
{
goto IL_001f;
}
}
{
uint8_t L_6 = V_3;
if ((((int32_t)L_6) == ((int32_t)((int32_t)48))))
{
goto IL_0046;
}
}
{
goto IL_005d;
}
IL_001f:
{
DSAParameters_t1872138834 L_7 = PKCS12_GetExistingParameters_m2413397265(__this, (&V_1), /*hidden argument*/NULL);
V_2 = L_7;
bool L_8 = V_1;
if (!L_8)
{
goto IL_0041;
}
}
{
ArrayList_t4252133567 * L_9 = __this->get__keyBags_2();
ByteU5BU5D_t3397334013* L_10 = V_0;
DSAParameters_t1872138834 L_11 = V_2;
DSA_t903174880 * L_12 = PrivateKeyInfo_DecodeDSA_m2717913261(NULL /*static, unused*/, L_10, L_11, /*hidden argument*/NULL);
VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_9, L_12);
}
IL_0041:
{
goto IL_0072;
}
IL_0046:
{
ArrayList_t4252133567 * L_13 = __this->get__keyBags_2();
ByteU5BU5D_t3397334013* L_14 = V_0;
RSA_t3719518354 * L_15 = PrivateKeyInfo_DecodeRSA_m1427048948(NULL /*static, unused*/, L_14, /*hidden argument*/NULL);
VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_13, L_15);
goto IL_0072;
}
IL_005d:
{
ByteU5BU5D_t3397334013* L_16 = V_0;
ByteU5BU5D_t3397334013* L_17 = V_0;
Array_Clear_m782967417(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_16, 0, (((int32_t)((int32_t)(((Il2CppArray *)L_17)->max_length)))), /*hidden argument*/NULL);
CryptographicException_t3349726436 * L_18 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_18, _stringLiteral2122551861, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_18);
}
IL_0072:
{
ByteU5BU5D_t3397334013* L_19 = V_0;
ByteU5BU5D_t3397334013* L_20 = V_0;
Array_Clear_m782967417(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_19, 0, (((int32_t)((int32_t)(((Il2CppArray *)L_20)->max_length)))), /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.X509.PKCS12::ReadSafeBag(Mono.Security.ASN1)
extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var;
extern Il2CppClass* PKCS12_t1362584794_il2cpp_TypeInfo_var;
extern Il2CppClass* Dictionary_2_t3986656710_il2cpp_TypeInfo_var;
extern Il2CppClass* PrivateKeyInfo_t92917103_il2cpp_TypeInfo_var;
extern Il2CppClass* EncryptedPrivateKeyInfo_t1722354997_il2cpp_TypeInfo_var;
extern Il2CppClass* ContentInfo_t1443605387_il2cpp_TypeInfo_var;
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var;
extern Il2CppClass* X509Certificate_t324051957_il2cpp_TypeInfo_var;
extern Il2CppClass* SafeBag_t2166702855_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* _stringLiteral725448512;
extern Il2CppCodeGenString* _stringLiteral1498964693;
extern Il2CppCodeGenString* _stringLiteral4085537383;
extern Il2CppCodeGenString* _stringLiteral193854614;
extern Il2CppCodeGenString* _stringLiteral2922737969;
extern Il2CppCodeGenString* _stringLiteral3682252856;
extern Il2CppCodeGenString* _stringLiteral2116168915;
extern Il2CppCodeGenString* _stringLiteral2519453442;
extern Il2CppCodeGenString* _stringLiteral3313080131;
extern Il2CppCodeGenString* _stringLiteral1023108953;
extern Il2CppCodeGenString* _stringLiteral1701691031;
extern Il2CppCodeGenString* _stringLiteral624432358;
extern Il2CppCodeGenString* _stringLiteral2635582655;
extern Il2CppCodeGenString* _stringLiteral3443221450;
extern Il2CppCodeGenString* _stringLiteral3666195262;
extern Il2CppCodeGenString* _stringLiteral3666195263;
extern Il2CppCodeGenString* _stringLiteral2334730039;
extern const uint32_t PKCS12_ReadSafeBag_m588574672_MetadataUsageId;
extern "C" void PKCS12_ReadSafeBag_m588574672 (PKCS12_t1362584794 * __this, ASN1_t924533535 * ___safeBag0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PKCS12_ReadSafeBag_m588574672_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ASN1_t924533535 * V_0 = NULL;
ASN1_t924533535 * V_1 = NULL;
String_t* V_2 = NULL;
EncryptedPrivateKeyInfo_t1722354997 * V_3 = NULL;
ByteU5BU5D_t3397334013* V_4 = NULL;
ContentInfo_t1443605387 * V_5 = NULL;
X509Certificate_t324051957 * V_6 = NULL;
ByteU5BU5D_t3397334013* V_7 = NULL;
ASN1_t924533535 * V_8 = NULL;
int32_t V_9 = 0;
ASN1_t924533535 * V_10 = NULL;
ASN1_t924533535 * V_11 = NULL;
String_t* V_12 = NULL;
ASN1_t924533535 * V_13 = NULL;
int32_t V_14 = 0;
ASN1_t924533535 * V_15 = NULL;
String_t* V_16 = NULL;
Dictionary_2_t3986656710 * V_17 = NULL;
int32_t V_18 = 0;
{
ASN1_t924533535 * L_0 = ___safeBag0;
uint8_t L_1 = ASN1_get_Tag_m1462340837(L_0, /*hidden argument*/NULL);
if ((((int32_t)L_1) == ((int32_t)((int32_t)48))))
{
goto IL_0018;
}
}
{
ArgumentException_t3259014390 * L_2 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_2, _stringLiteral725448512, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2);
}
IL_0018:
{
ASN1_t924533535 * L_3 = ___safeBag0;
ASN1_t924533535 * L_4 = ASN1_get_Item_m1784978716(L_3, 0, /*hidden argument*/NULL);
V_0 = L_4;
ASN1_t924533535 * L_5 = V_0;
uint8_t L_6 = ASN1_get_Tag_m1462340837(L_5, /*hidden argument*/NULL);
if ((((int32_t)L_6) == ((int32_t)6)))
{
goto IL_0037;
}
}
{
ArgumentException_t3259014390 * L_7 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_7, _stringLiteral1498964693, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_7);
}
IL_0037:
{
ASN1_t924533535 * L_8 = ___safeBag0;
ASN1_t924533535 * L_9 = ASN1_get_Item_m1784978716(L_8, 1, /*hidden argument*/NULL);
V_1 = L_9;
ASN1_t924533535 * L_10 = V_0;
String_t* L_11 = ASN1Convert_ToOid_m2695991795(NULL /*static, unused*/, L_10, /*hidden argument*/NULL);
V_2 = L_11;
String_t* L_12 = V_2;
V_16 = L_12;
String_t* L_13 = V_16;
if (!L_13)
{
goto IL_01cd;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PKCS12_t1362584794_il2cpp_TypeInfo_var);
Dictionary_2_t3986656710 * L_14 = ((PKCS12_t1362584794_StaticFields*)PKCS12_t1362584794_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__switchU24mapA_14();
if (L_14)
{
goto IL_00b7;
}
}
{
Dictionary_2_t3986656710 * L_15 = (Dictionary_2_t3986656710 *)il2cpp_codegen_object_new(Dictionary_2_t3986656710_il2cpp_TypeInfo_var);
Dictionary_2__ctor_m2118310873(L_15, 6, /*hidden argument*/Dictionary_2__ctor_m2118310873_MethodInfo_var);
V_17 = L_15;
Dictionary_2_t3986656710 * L_16 = V_17;
Dictionary_2_Add_m1209957957(L_16, _stringLiteral4085537383, 0, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_17 = V_17;
Dictionary_2_Add_m1209957957(L_17, _stringLiteral193854614, 1, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_18 = V_17;
Dictionary_2_Add_m1209957957(L_18, _stringLiteral2922737969, 2, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_19 = V_17;
Dictionary_2_Add_m1209957957(L_19, _stringLiteral3682252856, 3, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_20 = V_17;
Dictionary_2_Add_m1209957957(L_20, _stringLiteral2116168915, 4, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_21 = V_17;
Dictionary_2_Add_m1209957957(L_21, _stringLiteral2519453442, 5, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_22 = V_17;
IL2CPP_RUNTIME_CLASS_INIT(PKCS12_t1362584794_il2cpp_TypeInfo_var);
((PKCS12_t1362584794_StaticFields*)PKCS12_t1362584794_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__switchU24mapA_14(L_22);
}
IL_00b7:
{
IL2CPP_RUNTIME_CLASS_INIT(PKCS12_t1362584794_il2cpp_TypeInfo_var);
Dictionary_2_t3986656710 * L_23 = ((PKCS12_t1362584794_StaticFields*)PKCS12_t1362584794_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__switchU24mapA_14();
String_t* L_24 = V_16;
bool L_25 = Dictionary_2_TryGetValue_m2977303364(L_23, L_24, (&V_18), /*hidden argument*/Dictionary_2_TryGetValue_m2977303364_MethodInfo_var);
if (!L_25)
{
goto IL_01cd;
}
}
{
int32_t L_26 = V_18;
if (L_26 == 0)
{
goto IL_00ee;
}
if (L_26 == 1)
{
goto IL_0104;
}
if (L_26 == 2)
{
goto IL_014e;
}
if (L_26 == 3)
{
goto IL_01a8;
}
if (L_26 == 4)
{
goto IL_01ad;
}
if (L_26 == 5)
{
goto IL_01c8;
}
}
{
goto IL_01cd;
}
IL_00ee:
{
ASN1_t924533535 * L_27 = V_1;
ByteU5BU5D_t3397334013* L_28 = ASN1_get_Value_m2669044878(L_27, /*hidden argument*/NULL);
PrivateKeyInfo_t92917103 * L_29 = (PrivateKeyInfo_t92917103 *)il2cpp_codegen_object_new(PrivateKeyInfo_t92917103_il2cpp_TypeInfo_var);
PrivateKeyInfo__ctor_m4104109714(L_29, L_28, /*hidden argument*/NULL);
PKCS12_AddPrivateKey_m2916757605(__this, L_29, /*hidden argument*/NULL);
goto IL_01d8;
}
IL_0104:
{
ASN1_t924533535 * L_30 = V_1;
ByteU5BU5D_t3397334013* L_31 = ASN1_get_Value_m2669044878(L_30, /*hidden argument*/NULL);
EncryptedPrivateKeyInfo_t1722354997 * L_32 = (EncryptedPrivateKeyInfo_t1722354997 *)il2cpp_codegen_object_new(EncryptedPrivateKeyInfo_t1722354997_il2cpp_TypeInfo_var);
EncryptedPrivateKeyInfo__ctor_m832236482(L_32, L_31, /*hidden argument*/NULL);
V_3 = L_32;
EncryptedPrivateKeyInfo_t1722354997 * L_33 = V_3;
String_t* L_34 = EncryptedPrivateKeyInfo_get_Algorithm_m2779196942(L_33, /*hidden argument*/NULL);
EncryptedPrivateKeyInfo_t1722354997 * L_35 = V_3;
ByteU5BU5D_t3397334013* L_36 = EncryptedPrivateKeyInfo_get_Salt_m2734354394(L_35, /*hidden argument*/NULL);
EncryptedPrivateKeyInfo_t1722354997 * L_37 = V_3;
int32_t L_38 = EncryptedPrivateKeyInfo_get_IterationCount_m1505875216(L_37, /*hidden argument*/NULL);
EncryptedPrivateKeyInfo_t1722354997 * L_39 = V_3;
ByteU5BU5D_t3397334013* L_40 = EncryptedPrivateKeyInfo_get_EncryptedData_m345125768(L_39, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_41 = PKCS12_Decrypt_m2353135969(__this, L_34, L_36, L_38, L_40, /*hidden argument*/NULL);
V_4 = L_41;
ByteU5BU5D_t3397334013* L_42 = V_4;
PrivateKeyInfo_t92917103 * L_43 = (PrivateKeyInfo_t92917103 *)il2cpp_codegen_object_new(PrivateKeyInfo_t92917103_il2cpp_TypeInfo_var);
PrivateKeyInfo__ctor_m4104109714(L_43, L_42, /*hidden argument*/NULL);
PKCS12_AddPrivateKey_m2916757605(__this, L_43, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_44 = V_4;
ByteU5BU5D_t3397334013* L_45 = V_4;
Array_Clear_m782967417(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_44, 0, (((int32_t)((int32_t)(((Il2CppArray *)L_45)->max_length)))), /*hidden argument*/NULL);
goto IL_01d8;
}
IL_014e:
{
ASN1_t924533535 * L_46 = V_1;
ByteU5BU5D_t3397334013* L_47 = ASN1_get_Value_m2669044878(L_46, /*hidden argument*/NULL);
ContentInfo_t1443605387 * L_48 = (ContentInfo_t1443605387 *)il2cpp_codegen_object_new(ContentInfo_t1443605387_il2cpp_TypeInfo_var);
ContentInfo__ctor_m2074180116(L_48, L_47, /*hidden argument*/NULL);
V_5 = L_48;
ContentInfo_t1443605387 * L_49 = V_5;
String_t* L_50 = ContentInfo_get_ContentType_m1698383174(L_49, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
bool L_51 = String_op_Inequality_m304203149(NULL /*static, unused*/, L_50, _stringLiteral3313080131, /*hidden argument*/NULL);
if (!L_51)
{
goto IL_017c;
}
}
{
NotSupportedException_t1793819818 * L_52 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m836173213(L_52, _stringLiteral1023108953, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_52);
}
IL_017c:
{
ContentInfo_t1443605387 * L_53 = V_5;
ASN1_t924533535 * L_54 = ContentInfo_get_Content_m3936257154(L_53, /*hidden argument*/NULL);
ASN1_t924533535 * L_55 = ASN1_get_Item_m1784978716(L_54, 0, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_56 = ASN1_get_Value_m2669044878(L_55, /*hidden argument*/NULL);
X509Certificate_t324051957 * L_57 = (X509Certificate_t324051957 *)il2cpp_codegen_object_new(X509Certificate_t324051957_il2cpp_TypeInfo_var);
X509Certificate__ctor_m1606765153(L_57, L_56, /*hidden argument*/NULL);
V_6 = L_57;
X509CertificateCollection_t3592472865 * L_58 = __this->get__certs_4();
X509Certificate_t324051957 * L_59 = V_6;
X509CertificateCollection_Add_m363786109(L_58, L_59, /*hidden argument*/NULL);
goto IL_01d8;
}
IL_01a8:
{
goto IL_01d8;
}
IL_01ad:
{
ASN1_t924533535 * L_60 = V_1;
ByteU5BU5D_t3397334013* L_61 = ASN1_get_Value_m2669044878(L_60, /*hidden argument*/NULL);
V_7 = L_61;
ArrayList_t4252133567 * L_62 = __this->get__secretBags_3();
ByteU5BU5D_t3397334013* L_63 = V_7;
VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_62, (Il2CppObject *)(Il2CppObject *)L_63);
goto IL_01d8;
}
IL_01c8:
{
goto IL_01d8;
}
IL_01cd:
{
ArgumentException_t3259014390 * L_64 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_64, _stringLiteral1701691031, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_64);
}
IL_01d8:
{
ASN1_t924533535 * L_65 = ___safeBag0;
int32_t L_66 = ASN1_get_Count_m404940548(L_65, /*hidden argument*/NULL);
if ((((int32_t)L_66) <= ((int32_t)2)))
{
goto IL_0347;
}
}
{
ASN1_t924533535 * L_67 = ___safeBag0;
ASN1_t924533535 * L_68 = ASN1_get_Item_m1784978716(L_67, 2, /*hidden argument*/NULL);
V_8 = L_68;
ASN1_t924533535 * L_69 = V_8;
uint8_t L_70 = ASN1_get_Tag_m1462340837(L_69, /*hidden argument*/NULL);
if ((((int32_t)L_70) == ((int32_t)((int32_t)49))))
{
goto IL_0206;
}
}
{
ArgumentException_t3259014390 * L_71 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_71, _stringLiteral624432358, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_71);
}
IL_0206:
{
V_9 = 0;
goto IL_0339;
}
IL_020e:
{
ASN1_t924533535 * L_72 = V_8;
int32_t L_73 = V_9;
ASN1_t924533535 * L_74 = ASN1_get_Item_m1784978716(L_72, L_73, /*hidden argument*/NULL);
V_10 = L_74;
ASN1_t924533535 * L_75 = V_10;
uint8_t L_76 = ASN1_get_Tag_m1462340837(L_75, /*hidden argument*/NULL);
if ((((int32_t)L_76) == ((int32_t)((int32_t)48))))
{
goto IL_0232;
}
}
{
ArgumentException_t3259014390 * L_77 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_77, _stringLiteral2635582655, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_77);
}
IL_0232:
{
ASN1_t924533535 * L_78 = V_10;
ASN1_t924533535 * L_79 = ASN1_get_Item_m1784978716(L_78, 0, /*hidden argument*/NULL);
V_11 = L_79;
ASN1_t924533535 * L_80 = V_11;
uint8_t L_81 = ASN1_get_Tag_m1462340837(L_80, /*hidden argument*/NULL);
if ((((int32_t)L_81) == ((int32_t)6)))
{
goto IL_0254;
}
}
{
ArgumentException_t3259014390 * L_82 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_82, _stringLiteral3443221450, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_82);
}
IL_0254:
{
ASN1_t924533535 * L_83 = V_11;
String_t* L_84 = ASN1Convert_ToOid_m2695991795(NULL /*static, unused*/, L_83, /*hidden argument*/NULL);
V_12 = L_84;
ASN1_t924533535 * L_85 = V_10;
ASN1_t924533535 * L_86 = ASN1_get_Item_m1784978716(L_85, 1, /*hidden argument*/NULL);
V_13 = L_86;
V_14 = 0;
goto IL_0325;
}
IL_026f:
{
ASN1_t924533535 * L_87 = V_13;
int32_t L_88 = V_14;
ASN1_t924533535 * L_89 = ASN1_get_Item_m1784978716(L_87, L_88, /*hidden argument*/NULL);
V_15 = L_89;
String_t* L_90 = V_12;
V_16 = L_90;
String_t* L_91 = V_16;
if (!L_91)
{
goto IL_031a;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PKCS12_t1362584794_il2cpp_TypeInfo_var);
Dictionary_2_t3986656710 * L_92 = ((PKCS12_t1362584794_StaticFields*)PKCS12_t1362584794_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__switchU24mapB_15();
if (L_92)
{
goto IL_02b8;
}
}
{
Dictionary_2_t3986656710 * L_93 = (Dictionary_2_t3986656710 *)il2cpp_codegen_object_new(Dictionary_2_t3986656710_il2cpp_TypeInfo_var);
Dictionary_2__ctor_m2118310873(L_93, 2, /*hidden argument*/Dictionary_2__ctor_m2118310873_MethodInfo_var);
V_17 = L_93;
Dictionary_2_t3986656710 * L_94 = V_17;
Dictionary_2_Add_m1209957957(L_94, _stringLiteral3666195262, 0, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_95 = V_17;
Dictionary_2_Add_m1209957957(L_95, _stringLiteral3666195263, 1, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_96 = V_17;
IL2CPP_RUNTIME_CLASS_INIT(PKCS12_t1362584794_il2cpp_TypeInfo_var);
((PKCS12_t1362584794_StaticFields*)PKCS12_t1362584794_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__switchU24mapB_15(L_96);
}
IL_02b8:
{
IL2CPP_RUNTIME_CLASS_INIT(PKCS12_t1362584794_il2cpp_TypeInfo_var);
Dictionary_2_t3986656710 * L_97 = ((PKCS12_t1362584794_StaticFields*)PKCS12_t1362584794_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__switchU24mapB_15();
String_t* L_98 = V_16;
bool L_99 = Dictionary_2_TryGetValue_m2977303364(L_97, L_98, (&V_18), /*hidden argument*/Dictionary_2_TryGetValue_m2977303364_MethodInfo_var);
if (!L_99)
{
goto IL_031a;
}
}
{
int32_t L_100 = V_18;
if (!L_100)
{
goto IL_02df;
}
}
{
int32_t L_101 = V_18;
if ((((int32_t)L_101) == ((int32_t)1)))
{
goto IL_02fd;
}
}
{
goto IL_031a;
}
IL_02df:
{
ASN1_t924533535 * L_102 = V_15;
uint8_t L_103 = ASN1_get_Tag_m1462340837(L_102, /*hidden argument*/NULL);
if ((((int32_t)L_103) == ((int32_t)((int32_t)30))))
{
goto IL_02f8;
}
}
{
ArgumentException_t3259014390 * L_104 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_104, _stringLiteral2334730039, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_104);
}
IL_02f8:
{
goto IL_031f;
}
IL_02fd:
{
ASN1_t924533535 * L_105 = V_15;
uint8_t L_106 = ASN1_get_Tag_m1462340837(L_105, /*hidden argument*/NULL);
if ((((int32_t)L_106) == ((int32_t)4)))
{
goto IL_0315;
}
}
{
ArgumentException_t3259014390 * L_107 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_107, _stringLiteral2334730039, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_107);
}
IL_0315:
{
goto IL_031f;
}
IL_031a:
{
goto IL_031f;
}
IL_031f:
{
int32_t L_108 = V_14;
V_14 = ((int32_t)((int32_t)L_108+(int32_t)1));
}
IL_0325:
{
int32_t L_109 = V_14;
ASN1_t924533535 * L_110 = V_13;
int32_t L_111 = ASN1_get_Count_m404940548(L_110, /*hidden argument*/NULL);
if ((((int32_t)L_109) < ((int32_t)L_111)))
{
goto IL_026f;
}
}
{
int32_t L_112 = V_9;
V_9 = ((int32_t)((int32_t)L_112+(int32_t)1));
}
IL_0339:
{
int32_t L_113 = V_9;
ASN1_t924533535 * L_114 = V_8;
int32_t L_115 = ASN1_get_Count_m404940548(L_114, /*hidden argument*/NULL);
if ((((int32_t)L_113) < ((int32_t)L_115)))
{
goto IL_020e;
}
}
IL_0347:
{
ArrayList_t4252133567 * L_116 = __this->get__safeBags_9();
String_t* L_117 = V_2;
ASN1_t924533535 * L_118 = ___safeBag0;
SafeBag_t2166702855 * L_119 = (SafeBag_t2166702855 *)il2cpp_codegen_object_new(SafeBag_t2166702855_il2cpp_TypeInfo_var);
SafeBag__ctor_m3333469582(L_119, L_117, L_118, /*hidden argument*/NULL);
VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_116, L_119);
return;
}
}
// Mono.Security.ASN1 Mono.Security.X509.PKCS12::CertificateSafeBag(Mono.Security.X509.X509Certificate,System.Collections.IDictionary)
extern Il2CppClass* ASN1_t924533535_il2cpp_TypeInfo_var;
extern Il2CppClass* ContentInfo_t1443605387_il2cpp_TypeInfo_var;
extern Il2CppClass* IDictionary_t596158605_il2cpp_TypeInfo_var;
extern Il2CppClass* IDictionaryEnumerator_t259680273_il2cpp_TypeInfo_var;
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppClass* PKCS12_t1362584794_il2cpp_TypeInfo_var;
extern Il2CppClass* Dictionary_2_t3986656710_il2cpp_TypeInfo_var;
extern Il2CppClass* ArrayList_t4252133567_il2cpp_TypeInfo_var;
extern Il2CppClass* IEnumerator_t1466026749_il2cpp_TypeInfo_var;
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern Il2CppClass* IDisposable_t2427283555_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* _stringLiteral3313080131;
extern Il2CppCodeGenString* _stringLiteral2922737969;
extern Il2CppCodeGenString* _stringLiteral3666195262;
extern Il2CppCodeGenString* _stringLiteral3666195263;
extern const uint32_t PKCS12_CertificateSafeBag_m547206291_MetadataUsageId;
extern "C" ASN1_t924533535 * PKCS12_CertificateSafeBag_m547206291 (PKCS12_t1362584794 * __this, X509Certificate_t324051957 * ___x5090, Il2CppObject * ___attributes1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PKCS12_CertificateSafeBag_m547206291_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ASN1_t924533535 * V_0 = NULL;
ContentInfo_t1443605387 * V_1 = NULL;
ASN1_t924533535 * V_2 = NULL;
ASN1_t924533535 * V_3 = NULL;
ASN1_t924533535 * V_4 = NULL;
Il2CppObject * V_5 = NULL;
String_t* V_6 = NULL;
ArrayList_t4252133567 * V_7 = NULL;
ASN1_t924533535 * V_8 = NULL;
ASN1_t924533535 * V_9 = NULL;
ByteU5BU5D_t3397334013* V_10 = NULL;
Il2CppObject * V_11 = NULL;
ASN1_t924533535 * V_12 = NULL;
ArrayList_t4252133567 * V_13 = NULL;
ASN1_t924533535 * V_14 = NULL;
ASN1_t924533535 * V_15 = NULL;
ByteU5BU5D_t3397334013* V_16 = NULL;
Il2CppObject * V_17 = NULL;
ASN1_t924533535 * V_18 = NULL;
String_t* V_19 = NULL;
Dictionary_2_t3986656710 * V_20 = NULL;
int32_t V_21 = 0;
Il2CppObject * V_22 = NULL;
Il2CppObject * V_23 = 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);
{
X509Certificate_t324051957 * L_0 = ___x5090;
ByteU5BU5D_t3397334013* L_1 = VirtFuncInvoker0< ByteU5BU5D_t3397334013* >::Invoke(8 /* System.Byte[] Mono.Security.X509.X509Certificate::get_RawData() */, L_0);
ASN1_t924533535 * L_2 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3847124162(L_2, 4, L_1, /*hidden argument*/NULL);
V_0 = L_2;
ContentInfo_t1443605387 * L_3 = (ContentInfo_t1443605387 *)il2cpp_codegen_object_new(ContentInfo_t1443605387_il2cpp_TypeInfo_var);
ContentInfo__ctor_m844369157(L_3, /*hidden argument*/NULL);
V_1 = L_3;
ContentInfo_t1443605387 * L_4 = V_1;
ContentInfo_set_ContentType_m1091544239(L_4, _stringLiteral3313080131, /*hidden argument*/NULL);
ContentInfo_t1443605387 * L_5 = V_1;
ASN1_t924533535 * L_6 = ContentInfo_get_Content_m3936257154(L_5, /*hidden argument*/NULL);
ASN1_t924533535 * L_7 = V_0;
ASN1_Add_m2540239672(L_6, L_7, /*hidden argument*/NULL);
ASN1_t924533535 * L_8 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_8, ((int32_t)160), /*hidden argument*/NULL);
V_2 = L_8;
ASN1_t924533535 * L_9 = V_2;
ContentInfo_t1443605387 * L_10 = V_1;
ASN1_t924533535 * L_11 = ContentInfo_get_ASN1_m3249778150(L_10, /*hidden argument*/NULL);
ASN1_Add_m2540239672(L_9, L_11, /*hidden argument*/NULL);
ASN1_t924533535 * L_12 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_12, ((int32_t)48), /*hidden argument*/NULL);
V_3 = L_12;
ASN1_t924533535 * L_13 = V_3;
ASN1_t924533535 * L_14 = ASN1Convert_FromOid_m3889963396(NULL /*static, unused*/, _stringLiteral2922737969, /*hidden argument*/NULL);
ASN1_Add_m2540239672(L_13, L_14, /*hidden argument*/NULL);
ASN1_t924533535 * L_15 = V_3;
ASN1_t924533535 * L_16 = V_2;
ASN1_Add_m2540239672(L_15, L_16, /*hidden argument*/NULL);
Il2CppObject * L_17 = ___attributes1;
if (!L_17)
{
goto IL_0287;
}
}
{
ASN1_t924533535 * L_18 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_18, ((int32_t)49), /*hidden argument*/NULL);
V_4 = L_18;
Il2CppObject * L_19 = ___attributes1;
Il2CppObject * L_20 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(3 /* System.Collections.IDictionaryEnumerator System.Collections.IDictionary::GetEnumerator() */, IDictionary_t596158605_il2cpp_TypeInfo_var, L_19);
V_5 = L_20;
goto IL_0265;
}
IL_0080:
{
Il2CppObject * L_21 = V_5;
Il2CppObject * L_22 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(1 /* System.Object System.Collections.IDictionaryEnumerator::get_Key() */, IDictionaryEnumerator_t259680273_il2cpp_TypeInfo_var, L_21);
V_6 = ((String_t*)CastclassSealed(L_22, String_t_il2cpp_TypeInfo_var));
String_t* L_23 = V_6;
V_19 = L_23;
String_t* L_24 = V_19;
if (!L_24)
{
goto IL_0260;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PKCS12_t1362584794_il2cpp_TypeInfo_var);
Dictionary_2_t3986656710 * L_25 = ((PKCS12_t1362584794_StaticFields*)PKCS12_t1362584794_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__switchU24mapF_16();
if (L_25)
{
goto IL_00cc;
}
}
{
Dictionary_2_t3986656710 * L_26 = (Dictionary_2_t3986656710 *)il2cpp_codegen_object_new(Dictionary_2_t3986656710_il2cpp_TypeInfo_var);
Dictionary_2__ctor_m2118310873(L_26, 2, /*hidden argument*/Dictionary_2__ctor_m2118310873_MethodInfo_var);
V_20 = L_26;
Dictionary_2_t3986656710 * L_27 = V_20;
Dictionary_2_Add_m1209957957(L_27, _stringLiteral3666195262, 0, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_28 = V_20;
Dictionary_2_Add_m1209957957(L_28, _stringLiteral3666195263, 1, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_29 = V_20;
IL2CPP_RUNTIME_CLASS_INIT(PKCS12_t1362584794_il2cpp_TypeInfo_var);
((PKCS12_t1362584794_StaticFields*)PKCS12_t1362584794_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__switchU24mapF_16(L_29);
}
IL_00cc:
{
IL2CPP_RUNTIME_CLASS_INIT(PKCS12_t1362584794_il2cpp_TypeInfo_var);
Dictionary_2_t3986656710 * L_30 = ((PKCS12_t1362584794_StaticFields*)PKCS12_t1362584794_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__switchU24mapF_16();
String_t* L_31 = V_19;
bool L_32 = Dictionary_2_TryGetValue_m2977303364(L_30, L_31, (&V_21), /*hidden argument*/Dictionary_2_TryGetValue_m2977303364_MethodInfo_var);
if (!L_32)
{
goto IL_0260;
}
}
{
int32_t L_33 = V_21;
if (!L_33)
{
goto IL_00f3;
}
}
{
int32_t L_34 = V_21;
if ((((int32_t)L_34) == ((int32_t)1)))
{
goto IL_01aa;
}
}
{
goto IL_0260;
}
IL_00f3:
{
Il2CppObject * L_35 = V_5;
Il2CppObject * L_36 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(2 /* System.Object System.Collections.IDictionaryEnumerator::get_Value() */, IDictionaryEnumerator_t259680273_il2cpp_TypeInfo_var, L_35);
V_7 = ((ArrayList_t4252133567 *)CastclassClass(L_36, ArrayList_t4252133567_il2cpp_TypeInfo_var));
ArrayList_t4252133567 * L_37 = V_7;
int32_t L_38 = VirtFuncInvoker0< int32_t >::Invoke(23 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_37);
if ((((int32_t)L_38) <= ((int32_t)0)))
{
goto IL_01a5;
}
}
{
ASN1_t924533535 * L_39 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_39, ((int32_t)48), /*hidden argument*/NULL);
V_8 = L_39;
ASN1_t924533535 * L_40 = V_8;
ASN1_t924533535 * L_41 = ASN1Convert_FromOid_m3889963396(NULL /*static, unused*/, _stringLiteral3666195262, /*hidden argument*/NULL);
ASN1_Add_m2540239672(L_40, L_41, /*hidden argument*/NULL);
ASN1_t924533535 * L_42 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_42, ((int32_t)49), /*hidden argument*/NULL);
V_9 = L_42;
ArrayList_t4252133567 * L_43 = V_7;
Il2CppObject * L_44 = VirtFuncInvoker0< Il2CppObject * >::Invoke(43 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_43);
V_11 = L_44;
}
IL_013b:
try
{ // begin try (depth: 1)
{
goto IL_016a;
}
IL_0140:
{
Il2CppObject * L_45 = V_11;
Il2CppObject * L_46 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(0 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_45);
V_10 = ((ByteU5BU5D_t3397334013*)Castclass(L_46, ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var));
ASN1_t924533535 * L_47 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_47, ((int32_t)30), /*hidden argument*/NULL);
V_12 = L_47;
ASN1_t924533535 * L_48 = V_12;
ByteU5BU5D_t3397334013* L_49 = V_10;
ASN1_set_Value_m3605233753(L_48, L_49, /*hidden argument*/NULL);
ASN1_t924533535 * L_50 = V_9;
ASN1_t924533535 * L_51 = V_12;
ASN1_Add_m2540239672(L_50, L_51, /*hidden argument*/NULL);
}
IL_016a:
{
Il2CppObject * L_52 = V_11;
bool L_53 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_52);
if (L_53)
{
goto IL_0140;
}
}
IL_0176:
{
IL2CPP_LEAVE(0x191, FINALLY_017b);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_017b;
}
FINALLY_017b:
{ // begin finally (depth: 1)
{
Il2CppObject * L_54 = V_11;
V_22 = ((Il2CppObject *)IsInst(L_54, IDisposable_t2427283555_il2cpp_TypeInfo_var));
Il2CppObject * L_55 = V_22;
if (L_55)
{
goto IL_0189;
}
}
IL_0188:
{
IL2CPP_END_FINALLY(379)
}
IL_0189:
{
Il2CppObject * L_56 = V_22;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t2427283555_il2cpp_TypeInfo_var, L_56);
IL2CPP_END_FINALLY(379)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(379)
{
IL2CPP_JUMP_TBL(0x191, IL_0191)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_0191:
{
ASN1_t924533535 * L_57 = V_8;
ASN1_t924533535 * L_58 = V_9;
ASN1_Add_m2540239672(L_57, L_58, /*hidden argument*/NULL);
ASN1_t924533535 * L_59 = V_4;
ASN1_t924533535 * L_60 = V_8;
ASN1_Add_m2540239672(L_59, L_60, /*hidden argument*/NULL);
}
IL_01a5:
{
goto IL_0265;
}
IL_01aa:
{
Il2CppObject * L_61 = V_5;
Il2CppObject * L_62 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(2 /* System.Object System.Collections.IDictionaryEnumerator::get_Value() */, IDictionaryEnumerator_t259680273_il2cpp_TypeInfo_var, L_61);
V_13 = ((ArrayList_t4252133567 *)CastclassClass(L_62, ArrayList_t4252133567_il2cpp_TypeInfo_var));
ArrayList_t4252133567 * L_63 = V_13;
int32_t L_64 = VirtFuncInvoker0< int32_t >::Invoke(23 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_63);
if ((((int32_t)L_64) <= ((int32_t)0)))
{
goto IL_025b;
}
}
{
ASN1_t924533535 * L_65 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_65, ((int32_t)48), /*hidden argument*/NULL);
V_14 = L_65;
ASN1_t924533535 * L_66 = V_14;
ASN1_t924533535 * L_67 = ASN1Convert_FromOid_m3889963396(NULL /*static, unused*/, _stringLiteral3666195263, /*hidden argument*/NULL);
ASN1_Add_m2540239672(L_66, L_67, /*hidden argument*/NULL);
ASN1_t924533535 * L_68 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_68, ((int32_t)49), /*hidden argument*/NULL);
V_15 = L_68;
ArrayList_t4252133567 * L_69 = V_13;
Il2CppObject * L_70 = VirtFuncInvoker0< Il2CppObject * >::Invoke(43 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_69);
V_17 = L_70;
}
IL_01f2:
try
{ // begin try (depth: 1)
{
goto IL_0220;
}
IL_01f7:
{
Il2CppObject * L_71 = V_17;
Il2CppObject * L_72 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(0 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_71);
V_16 = ((ByteU5BU5D_t3397334013*)Castclass(L_72, ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var));
ASN1_t924533535 * L_73 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_73, 4, /*hidden argument*/NULL);
V_18 = L_73;
ASN1_t924533535 * L_74 = V_18;
ByteU5BU5D_t3397334013* L_75 = V_16;
ASN1_set_Value_m3605233753(L_74, L_75, /*hidden argument*/NULL);
ASN1_t924533535 * L_76 = V_15;
ASN1_t924533535 * L_77 = V_18;
ASN1_Add_m2540239672(L_76, L_77, /*hidden argument*/NULL);
}
IL_0220:
{
Il2CppObject * L_78 = V_17;
bool L_79 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_78);
if (L_79)
{
goto IL_01f7;
}
}
IL_022c:
{
IL2CPP_LEAVE(0x247, FINALLY_0231);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_0231;
}
FINALLY_0231:
{ // begin finally (depth: 1)
{
Il2CppObject * L_80 = V_17;
V_23 = ((Il2CppObject *)IsInst(L_80, IDisposable_t2427283555_il2cpp_TypeInfo_var));
Il2CppObject * L_81 = V_23;
if (L_81)
{
goto IL_023f;
}
}
IL_023e:
{
IL2CPP_END_FINALLY(561)
}
IL_023f:
{
Il2CppObject * L_82 = V_23;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t2427283555_il2cpp_TypeInfo_var, L_82);
IL2CPP_END_FINALLY(561)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(561)
{
IL2CPP_JUMP_TBL(0x247, IL_0247)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_0247:
{
ASN1_t924533535 * L_83 = V_14;
ASN1_t924533535 * L_84 = V_15;
ASN1_Add_m2540239672(L_83, L_84, /*hidden argument*/NULL);
ASN1_t924533535 * L_85 = V_4;
ASN1_t924533535 * L_86 = V_14;
ASN1_Add_m2540239672(L_85, L_86, /*hidden argument*/NULL);
}
IL_025b:
{
goto IL_0265;
}
IL_0260:
{
goto IL_0265;
}
IL_0265:
{
Il2CppObject * L_87 = V_5;
bool L_88 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_87);
if (L_88)
{
goto IL_0080;
}
}
{
ASN1_t924533535 * L_89 = V_4;
int32_t L_90 = ASN1_get_Count_m404940548(L_89, /*hidden argument*/NULL);
if ((((int32_t)L_90) <= ((int32_t)0)))
{
goto IL_0287;
}
}
{
ASN1_t924533535 * L_91 = V_3;
ASN1_t924533535 * L_92 = V_4;
ASN1_Add_m2540239672(L_91, L_92, /*hidden argument*/NULL);
}
IL_0287:
{
ASN1_t924533535 * L_93 = V_3;
return L_93;
}
}
// System.Byte[] Mono.Security.X509.PKCS12::MAC(System.Byte[],System.Byte[],System.Int32,System.Byte[])
extern Il2CppClass* DeriveBytes_t1740753016_il2cpp_TypeInfo_var;
extern Il2CppClass* HMACSHA1_t1958407246_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral3390779939;
extern const uint32_t PKCS12_MAC_m1519937926_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* PKCS12_MAC_m1519937926 (PKCS12_t1362584794 * __this, ByteU5BU5D_t3397334013* ___password0, ByteU5BU5D_t3397334013* ___salt1, int32_t ___iterations2, ByteU5BU5D_t3397334013* ___data3, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PKCS12_MAC_m1519937926_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
DeriveBytes_t1740753016 * V_0 = NULL;
HMACSHA1_t1958407246 * V_1 = NULL;
{
DeriveBytes_t1740753016 * L_0 = (DeriveBytes_t1740753016 *)il2cpp_codegen_object_new(DeriveBytes_t1740753016_il2cpp_TypeInfo_var);
DeriveBytes__ctor_m3089550878(L_0, /*hidden argument*/NULL);
V_0 = L_0;
DeriveBytes_t1740753016 * L_1 = V_0;
DeriveBytes_set_HashName_m1033859896(L_1, _stringLiteral3390779939, /*hidden argument*/NULL);
DeriveBytes_t1740753016 * L_2 = V_0;
ByteU5BU5D_t3397334013* L_3 = ___password0;
DeriveBytes_set_Password_m3391502993(L_2, L_3, /*hidden argument*/NULL);
DeriveBytes_t1740753016 * L_4 = V_0;
ByteU5BU5D_t3397334013* L_5 = ___salt1;
DeriveBytes_set_Salt_m4154827108(L_4, L_5, /*hidden argument*/NULL);
DeriveBytes_t1740753016 * L_6 = V_0;
int32_t L_7 = ___iterations2;
DeriveBytes_set_IterationCount_m978799990(L_6, L_7, /*hidden argument*/NULL);
HMAC_t130461695 * L_8 = HMAC_Create_m3778878895(NULL /*static, unused*/, /*hidden argument*/NULL);
V_1 = ((HMACSHA1_t1958407246 *)CastclassClass(L_8, HMACSHA1_t1958407246_il2cpp_TypeInfo_var));
HMACSHA1_t1958407246 * L_9 = V_1;
DeriveBytes_t1740753016 * L_10 = V_0;
ByteU5BU5D_t3397334013* L_11 = DeriveBytes_DeriveMAC_m2485586011(L_10, ((int32_t)20), /*hidden argument*/NULL);
VirtActionInvoker1< ByteU5BU5D_t3397334013* >::Invoke(16 /* System.Void System.Security.Cryptography.HMAC::set_Key(System.Byte[]) */, L_9, L_11);
HMACSHA1_t1958407246 * L_12 = V_1;
ByteU5BU5D_t3397334013* L_13 = ___data3;
ByteU5BU5D_t3397334013* L_14 = ___data3;
ByteU5BU5D_t3397334013* L_15 = HashAlgorithm_ComputeHash_m3945506296(L_12, L_13, 0, (((int32_t)((int32_t)(((Il2CppArray *)L_14)->max_length)))), /*hidden argument*/NULL);
return L_15;
}
}
// System.Byte[] Mono.Security.X509.PKCS12::GetBytes()
extern Il2CppClass* ASN1_t924533535_il2cpp_TypeInfo_var;
extern Il2CppClass* ArrayList_t4252133567_il2cpp_TypeInfo_var;
extern Il2CppClass* IEnumerator_t1466026749_il2cpp_TypeInfo_var;
extern Il2CppClass* SafeBag_t2166702855_il2cpp_TypeInfo_var;
extern Il2CppClass* ContentInfo_t1443605387_il2cpp_TypeInfo_var;
extern Il2CppClass* X509Certificate_t324051957_il2cpp_TypeInfo_var;
extern Il2CppClass* IDisposable_t2427283555_il2cpp_TypeInfo_var;
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral2922737969;
extern Il2CppCodeGenString* _stringLiteral197486706;
extern Il2CppCodeGenString* _stringLiteral4085537383;
extern Il2CppCodeGenString* _stringLiteral193854614;
extern Il2CppCodeGenString* _stringLiteral2789145215;
extern Il2CppCodeGenString* _stringLiteral2116168915;
extern Il2CppCodeGenString* _stringLiteral662711544;
extern const uint32_t PKCS12_GetBytes_m1265989870_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* PKCS12_GetBytes_m1265989870 (PKCS12_t1362584794 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PKCS12_GetBytes_m1265989870_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ASN1_t924533535 * V_0 = NULL;
ArrayList_t4252133567 * V_1 = NULL;
SafeBag_t2166702855 * V_2 = NULL;
Il2CppObject * V_3 = NULL;
ASN1_t924533535 * V_4 = NULL;
ASN1_t924533535 * V_5 = NULL;
ContentInfo_t1443605387 * V_6 = NULL;
ArrayList_t4252133567 * V_7 = NULL;
ArrayList_t4252133567 * V_8 = NULL;
X509Certificate_t324051957 * V_9 = NULL;
X509CertificateEnumerator_t3487770522 * V_10 = NULL;
bool V_11 = false;
X509Certificate_t324051957 * V_12 = NULL;
Il2CppObject * V_13 = NULL;
X509Certificate_t324051957 * V_14 = NULL;
Il2CppObject * V_15 = NULL;
bool V_16 = false;
X509Certificate_t324051957 * V_17 = NULL;
X509CertificateEnumerator_t3487770522 * V_18 = NULL;
X509Certificate_t324051957 * V_19 = NULL;
Il2CppObject * V_20 = NULL;
X509Certificate_t324051957 * V_21 = NULL;
Il2CppObject * V_22 = NULL;
ASN1_t924533535 * V_23 = NULL;
SafeBag_t2166702855 * V_24 = NULL;
Il2CppObject * V_25 = NULL;
ContentInfo_t1443605387 * V_26 = NULL;
ASN1_t924533535 * V_27 = NULL;
SafeBag_t2166702855 * V_28 = NULL;
Il2CppObject * V_29 = NULL;
ASN1_t924533535 * V_30 = NULL;
ContentInfo_t1443605387 * V_31 = NULL;
ASN1_t924533535 * V_32 = NULL;
SafeBag_t2166702855 * V_33 = NULL;
Il2CppObject * V_34 = NULL;
ContentInfo_t1443605387 * V_35 = NULL;
ASN1_t924533535 * V_36 = NULL;
ASN1_t924533535 * V_37 = NULL;
ContentInfo_t1443605387 * V_38 = NULL;
ASN1_t924533535 * V_39 = NULL;
ByteU5BU5D_t3397334013* V_40 = NULL;
ByteU5BU5D_t3397334013* V_41 = NULL;
ASN1_t924533535 * V_42 = NULL;
ASN1_t924533535 * V_43 = NULL;
ASN1_t924533535 * V_44 = NULL;
ASN1_t924533535 * V_45 = NULL;
Il2CppObject * V_46 = NULL;
Il2CppObject * V_47 = NULL;
Il2CppObject * V_48 = NULL;
Il2CppObject * V_49 = NULL;
Il2CppObject * V_50 = NULL;
Il2CppObject * V_51 = NULL;
Il2CppObject * V_52 = NULL;
Il2CppObject * V_53 = NULL;
Il2CppObject * V_54 = NULL;
Il2CppObject * V_55 = 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);
{
ASN1_t924533535 * L_0 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_0, ((int32_t)48), /*hidden argument*/NULL);
V_0 = L_0;
ArrayList_t4252133567 * L_1 = (ArrayList_t4252133567 *)il2cpp_codegen_object_new(ArrayList_t4252133567_il2cpp_TypeInfo_var);
ArrayList__ctor_m4012174379(L_1, /*hidden argument*/NULL);
V_1 = L_1;
ArrayList_t4252133567 * L_2 = __this->get__safeBags_9();
Il2CppObject * L_3 = VirtFuncInvoker0< Il2CppObject * >::Invoke(43 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_2);
V_3 = L_3;
}
IL_001a:
try
{ // begin try (depth: 1)
{
goto IL_007e;
}
IL_001f:
{
Il2CppObject * L_4 = V_3;
Il2CppObject * L_5 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(0 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_4);
V_2 = ((SafeBag_t2166702855 *)CastclassClass(L_5, SafeBag_t2166702855_il2cpp_TypeInfo_var));
SafeBag_t2166702855 * L_6 = V_2;
String_t* L_7 = SafeBag_get_BagOID_m2583687334(L_6, /*hidden argument*/NULL);
bool L_8 = String_Equals_m2633592423(L_7, _stringLiteral2922737969, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_007e;
}
}
IL_0040:
{
SafeBag_t2166702855 * L_9 = V_2;
ASN1_t924533535 * L_10 = SafeBag_get_ASN1_m3703295313(L_9, /*hidden argument*/NULL);
V_4 = L_10;
ASN1_t924533535 * L_11 = V_4;
ASN1_t924533535 * L_12 = ASN1_get_Item_m1784978716(L_11, 1, /*hidden argument*/NULL);
V_5 = L_12;
ASN1_t924533535 * L_13 = V_5;
ByteU5BU5D_t3397334013* L_14 = ASN1_get_Value_m2669044878(L_13, /*hidden argument*/NULL);
ContentInfo_t1443605387 * L_15 = (ContentInfo_t1443605387 *)il2cpp_codegen_object_new(ContentInfo_t1443605387_il2cpp_TypeInfo_var);
ContentInfo__ctor_m2074180116(L_15, L_14, /*hidden argument*/NULL);
V_6 = L_15;
ArrayList_t4252133567 * L_16 = V_1;
ContentInfo_t1443605387 * L_17 = V_6;
ASN1_t924533535 * L_18 = ContentInfo_get_Content_m3936257154(L_17, /*hidden argument*/NULL);
ASN1_t924533535 * L_19 = ASN1_get_Item_m1784978716(L_18, 0, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_20 = ASN1_get_Value_m2669044878(L_19, /*hidden argument*/NULL);
X509Certificate_t324051957 * L_21 = (X509Certificate_t324051957 *)il2cpp_codegen_object_new(X509Certificate_t324051957_il2cpp_TypeInfo_var);
X509Certificate__ctor_m1606765153(L_21, L_20, /*hidden argument*/NULL);
VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_16, L_21);
}
IL_007e:
{
Il2CppObject * L_22 = V_3;
bool L_23 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_22);
if (L_23)
{
goto IL_001f;
}
}
IL_0089:
{
IL2CPP_LEAVE(0xA3, FINALLY_008e);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_008e;
}
FINALLY_008e:
{ // begin finally (depth: 1)
{
Il2CppObject * L_24 = V_3;
V_46 = ((Il2CppObject *)IsInst(L_24, IDisposable_t2427283555_il2cpp_TypeInfo_var));
Il2CppObject * L_25 = V_46;
if (L_25)
{
goto IL_009b;
}
}
IL_009a:
{
IL2CPP_END_FINALLY(142)
}
IL_009b:
{
Il2CppObject * L_26 = V_46;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t2427283555_il2cpp_TypeInfo_var, L_26);
IL2CPP_END_FINALLY(142)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(142)
{
IL2CPP_JUMP_TBL(0xA3, IL_00a3)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_00a3:
{
ArrayList_t4252133567 * L_27 = (ArrayList_t4252133567 *)il2cpp_codegen_object_new(ArrayList_t4252133567_il2cpp_TypeInfo_var);
ArrayList__ctor_m4012174379(L_27, /*hidden argument*/NULL);
V_7 = L_27;
ArrayList_t4252133567 * L_28 = (ArrayList_t4252133567 *)il2cpp_codegen_object_new(ArrayList_t4252133567_il2cpp_TypeInfo_var);
ArrayList__ctor_m4012174379(L_28, /*hidden argument*/NULL);
V_8 = L_28;
X509CertificateCollection_t3592472865 * L_29 = PKCS12_get_Certificates_m2591178223(__this, /*hidden argument*/NULL);
X509CertificateEnumerator_t3487770522 * L_30 = X509CertificateCollection_GetEnumerator_m3684889287(L_29, /*hidden argument*/NULL);
V_10 = L_30;
}
IL_00be:
try
{ // begin try (depth: 1)
{
goto IL_013e;
}
IL_00c3:
{
X509CertificateEnumerator_t3487770522 * L_31 = V_10;
X509Certificate_t324051957 * L_32 = X509CertificateEnumerator_get_Current_m2595382139(L_31, /*hidden argument*/NULL);
V_9 = L_32;
V_11 = (bool)0;
ArrayList_t4252133567 * L_33 = V_1;
Il2CppObject * L_34 = VirtFuncInvoker0< Il2CppObject * >::Invoke(43 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_33);
V_13 = L_34;
}
IL_00d7:
try
{ // begin try (depth: 2)
{
goto IL_0106;
}
IL_00dc:
{
Il2CppObject * L_35 = V_13;
Il2CppObject * L_36 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(0 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_35);
V_12 = ((X509Certificate_t324051957 *)CastclassClass(L_36, X509Certificate_t324051957_il2cpp_TypeInfo_var));
X509Certificate_t324051957 * L_37 = V_9;
ByteU5BU5D_t3397334013* L_38 = VirtFuncInvoker0< ByteU5BU5D_t3397334013* >::Invoke(8 /* System.Byte[] Mono.Security.X509.X509Certificate::get_RawData() */, L_37);
X509Certificate_t324051957 * L_39 = V_12;
ByteU5BU5D_t3397334013* L_40 = VirtFuncInvoker0< ByteU5BU5D_t3397334013* >::Invoke(8 /* System.Byte[] Mono.Security.X509.X509Certificate::get_RawData() */, L_39);
bool L_41 = PKCS12_Compare_m896757472(__this, L_38, L_40, /*hidden argument*/NULL);
if (!L_41)
{
goto IL_0106;
}
}
IL_0103:
{
V_11 = (bool)1;
}
IL_0106:
{
Il2CppObject * L_42 = V_13;
bool L_43 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_42);
if (L_43)
{
goto IL_00dc;
}
}
IL_0112:
{
IL2CPP_LEAVE(0x12D, FINALLY_0117);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_0117;
}
FINALLY_0117:
{ // begin finally (depth: 2)
{
Il2CppObject * L_44 = V_13;
V_47 = ((Il2CppObject *)IsInst(L_44, IDisposable_t2427283555_il2cpp_TypeInfo_var));
Il2CppObject * L_45 = V_47;
if (L_45)
{
goto IL_0125;
}
}
IL_0124:
{
IL2CPP_END_FINALLY(279)
}
IL_0125:
{
Il2CppObject * L_46 = V_47;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t2427283555_il2cpp_TypeInfo_var, L_46);
IL2CPP_END_FINALLY(279)
}
} // end finally (depth: 2)
IL2CPP_CLEANUP(279)
{
IL2CPP_JUMP_TBL(0x12D, IL_012d)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_012d:
{
bool L_47 = V_11;
if (L_47)
{
goto IL_013e;
}
}
IL_0134:
{
ArrayList_t4252133567 * L_48 = V_7;
X509Certificate_t324051957 * L_49 = V_9;
VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_48, L_49);
}
IL_013e:
{
X509CertificateEnumerator_t3487770522 * L_50 = V_10;
bool L_51 = X509CertificateEnumerator_MoveNext_m1031936092(L_50, /*hidden argument*/NULL);
if (L_51)
{
goto IL_00c3;
}
}
IL_014a:
{
IL2CPP_LEAVE(0x165, FINALLY_014f);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_014f;
}
FINALLY_014f:
{ // begin finally (depth: 1)
{
X509CertificateEnumerator_t3487770522 * L_52 = V_10;
V_48 = ((Il2CppObject *)IsInst(L_52, IDisposable_t2427283555_il2cpp_TypeInfo_var));
Il2CppObject * L_53 = V_48;
if (L_53)
{
goto IL_015d;
}
}
IL_015c:
{
IL2CPP_END_FINALLY(335)
}
IL_015d:
{
Il2CppObject * L_54 = V_48;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t2427283555_il2cpp_TypeInfo_var, L_54);
IL2CPP_END_FINALLY(335)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(335)
{
IL2CPP_JUMP_TBL(0x165, IL_0165)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_0165:
{
ArrayList_t4252133567 * L_55 = V_1;
Il2CppObject * L_56 = VirtFuncInvoker0< Il2CppObject * >::Invoke(43 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_55);
V_15 = L_56;
}
IL_016d:
try
{ // begin try (depth: 1)
{
goto IL_01f2;
}
IL_0172:
{
Il2CppObject * L_57 = V_15;
Il2CppObject * L_58 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(0 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_57);
V_14 = ((X509Certificate_t324051957 *)CastclassClass(L_58, X509Certificate_t324051957_il2cpp_TypeInfo_var));
V_16 = (bool)0;
X509CertificateCollection_t3592472865 * L_59 = PKCS12_get_Certificates_m2591178223(__this, /*hidden argument*/NULL);
X509CertificateEnumerator_t3487770522 * L_60 = X509CertificateCollection_GetEnumerator_m3684889287(L_59, /*hidden argument*/NULL);
V_18 = L_60;
}
IL_0190:
try
{ // begin try (depth: 2)
{
goto IL_01ba;
}
IL_0195:
{
X509CertificateEnumerator_t3487770522 * L_61 = V_18;
X509Certificate_t324051957 * L_62 = X509CertificateEnumerator_get_Current_m2595382139(L_61, /*hidden argument*/NULL);
V_17 = L_62;
X509Certificate_t324051957 * L_63 = V_14;
ByteU5BU5D_t3397334013* L_64 = VirtFuncInvoker0< ByteU5BU5D_t3397334013* >::Invoke(8 /* System.Byte[] Mono.Security.X509.X509Certificate::get_RawData() */, L_63);
X509Certificate_t324051957 * L_65 = V_17;
ByteU5BU5D_t3397334013* L_66 = VirtFuncInvoker0< ByteU5BU5D_t3397334013* >::Invoke(8 /* System.Byte[] Mono.Security.X509.X509Certificate::get_RawData() */, L_65);
bool L_67 = PKCS12_Compare_m896757472(__this, L_64, L_66, /*hidden argument*/NULL);
if (!L_67)
{
goto IL_01ba;
}
}
IL_01b7:
{
V_16 = (bool)1;
}
IL_01ba:
{
X509CertificateEnumerator_t3487770522 * L_68 = V_18;
bool L_69 = X509CertificateEnumerator_MoveNext_m1031936092(L_68, /*hidden argument*/NULL);
if (L_69)
{
goto IL_0195;
}
}
IL_01c6:
{
IL2CPP_LEAVE(0x1E1, FINALLY_01cb);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_01cb;
}
FINALLY_01cb:
{ // begin finally (depth: 2)
{
X509CertificateEnumerator_t3487770522 * L_70 = V_18;
V_49 = ((Il2CppObject *)IsInst(L_70, IDisposable_t2427283555_il2cpp_TypeInfo_var));
Il2CppObject * L_71 = V_49;
if (L_71)
{
goto IL_01d9;
}
}
IL_01d8:
{
IL2CPP_END_FINALLY(459)
}
IL_01d9:
{
Il2CppObject * L_72 = V_49;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t2427283555_il2cpp_TypeInfo_var, L_72);
IL2CPP_END_FINALLY(459)
}
} // end finally (depth: 2)
IL2CPP_CLEANUP(459)
{
IL2CPP_JUMP_TBL(0x1E1, IL_01e1)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_01e1:
{
bool L_73 = V_16;
if (L_73)
{
goto IL_01f2;
}
}
IL_01e8:
{
ArrayList_t4252133567 * L_74 = V_8;
X509Certificate_t324051957 * L_75 = V_14;
VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_74, L_75);
}
IL_01f2:
{
Il2CppObject * L_76 = V_15;
bool L_77 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_76);
if (L_77)
{
goto IL_0172;
}
}
IL_01fe:
{
IL2CPP_LEAVE(0x219, FINALLY_0203);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_0203;
}
FINALLY_0203:
{ // begin finally (depth: 1)
{
Il2CppObject * L_78 = V_15;
V_50 = ((Il2CppObject *)IsInst(L_78, IDisposable_t2427283555_il2cpp_TypeInfo_var));
Il2CppObject * L_79 = V_50;
if (L_79)
{
goto IL_0211;
}
}
IL_0210:
{
IL2CPP_END_FINALLY(515)
}
IL_0211:
{
Il2CppObject * L_80 = V_50;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t2427283555_il2cpp_TypeInfo_var, L_80);
IL2CPP_END_FINALLY(515)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(515)
{
IL2CPP_JUMP_TBL(0x219, IL_0219)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_0219:
{
ArrayList_t4252133567 * L_81 = V_8;
Il2CppObject * L_82 = VirtFuncInvoker0< Il2CppObject * >::Invoke(43 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_81);
V_20 = L_82;
}
IL_0222:
try
{ // begin try (depth: 1)
{
goto IL_023d;
}
IL_0227:
{
Il2CppObject * L_83 = V_20;
Il2CppObject * L_84 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(0 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_83);
V_19 = ((X509Certificate_t324051957 *)CastclassClass(L_84, X509Certificate_t324051957_il2cpp_TypeInfo_var));
X509Certificate_t324051957 * L_85 = V_19;
PKCS12_RemoveCertificate_m1590055870(__this, L_85, /*hidden argument*/NULL);
}
IL_023d:
{
Il2CppObject * L_86 = V_20;
bool L_87 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_86);
if (L_87)
{
goto IL_0227;
}
}
IL_0249:
{
IL2CPP_LEAVE(0x264, FINALLY_024e);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_024e;
}
FINALLY_024e:
{ // begin finally (depth: 1)
{
Il2CppObject * L_88 = V_20;
V_51 = ((Il2CppObject *)IsInst(L_88, IDisposable_t2427283555_il2cpp_TypeInfo_var));
Il2CppObject * L_89 = V_51;
if (L_89)
{
goto IL_025c;
}
}
IL_025b:
{
IL2CPP_END_FINALLY(590)
}
IL_025c:
{
Il2CppObject * L_90 = V_51;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t2427283555_il2cpp_TypeInfo_var, L_90);
IL2CPP_END_FINALLY(590)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(590)
{
IL2CPP_JUMP_TBL(0x264, IL_0264)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_0264:
{
ArrayList_t4252133567 * L_91 = V_7;
Il2CppObject * L_92 = VirtFuncInvoker0< Il2CppObject * >::Invoke(43 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_91);
V_22 = L_92;
}
IL_026d:
try
{ // begin try (depth: 1)
{
goto IL_0288;
}
IL_0272:
{
Il2CppObject * L_93 = V_22;
Il2CppObject * L_94 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(0 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_93);
V_21 = ((X509Certificate_t324051957 *)CastclassClass(L_94, X509Certificate_t324051957_il2cpp_TypeInfo_var));
X509Certificate_t324051957 * L_95 = V_21;
PKCS12_AddCertificate_m4095106945(__this, L_95, /*hidden argument*/NULL);
}
IL_0288:
{
Il2CppObject * L_96 = V_22;
bool L_97 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_96);
if (L_97)
{
goto IL_0272;
}
}
IL_0294:
{
IL2CPP_LEAVE(0x2AF, FINALLY_0299);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_0299;
}
FINALLY_0299:
{ // begin finally (depth: 1)
{
Il2CppObject * L_98 = V_22;
V_52 = ((Il2CppObject *)IsInst(L_98, IDisposable_t2427283555_il2cpp_TypeInfo_var));
Il2CppObject * L_99 = V_52;
if (L_99)
{
goto IL_02a7;
}
}
IL_02a6:
{
IL2CPP_END_FINALLY(665)
}
IL_02a7:
{
Il2CppObject * L_100 = V_52;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t2427283555_il2cpp_TypeInfo_var, L_100);
IL2CPP_END_FINALLY(665)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(665)
{
IL2CPP_JUMP_TBL(0x2AF, IL_02af)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_02af:
{
ArrayList_t4252133567 * L_101 = __this->get__safeBags_9();
int32_t L_102 = VirtFuncInvoker0< int32_t >::Invoke(23 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_101);
if ((((int32_t)L_102) <= ((int32_t)0)))
{
goto IL_035f;
}
}
{
ASN1_t924533535 * L_103 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_103, ((int32_t)48), /*hidden argument*/NULL);
V_23 = L_103;
ArrayList_t4252133567 * L_104 = __this->get__safeBags_9();
Il2CppObject * L_105 = VirtFuncInvoker0< Il2CppObject * >::Invoke(43 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_104);
V_25 = L_105;
}
IL_02d6:
try
{ // begin try (depth: 1)
{
goto IL_030e;
}
IL_02db:
{
Il2CppObject * L_106 = V_25;
Il2CppObject * L_107 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(0 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_106);
V_24 = ((SafeBag_t2166702855 *)CastclassClass(L_107, SafeBag_t2166702855_il2cpp_TypeInfo_var));
SafeBag_t2166702855 * L_108 = V_24;
String_t* L_109 = SafeBag_get_BagOID_m2583687334(L_108, /*hidden argument*/NULL);
bool L_110 = String_Equals_m2633592423(L_109, _stringLiteral2922737969, /*hidden argument*/NULL);
if (!L_110)
{
goto IL_030e;
}
}
IL_02ff:
{
ASN1_t924533535 * L_111 = V_23;
SafeBag_t2166702855 * L_112 = V_24;
ASN1_t924533535 * L_113 = SafeBag_get_ASN1_m3703295313(L_112, /*hidden argument*/NULL);
ASN1_Add_m2540239672(L_111, L_113, /*hidden argument*/NULL);
}
IL_030e:
{
Il2CppObject * L_114 = V_25;
bool L_115 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_114);
if (L_115)
{
goto IL_02db;
}
}
IL_031a:
{
IL2CPP_LEAVE(0x335, FINALLY_031f);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_031f;
}
FINALLY_031f:
{ // begin finally (depth: 1)
{
Il2CppObject * L_116 = V_25;
V_53 = ((Il2CppObject *)IsInst(L_116, IDisposable_t2427283555_il2cpp_TypeInfo_var));
Il2CppObject * L_117 = V_53;
if (L_117)
{
goto IL_032d;
}
}
IL_032c:
{
IL2CPP_END_FINALLY(799)
}
IL_032d:
{
Il2CppObject * L_118 = V_53;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t2427283555_il2cpp_TypeInfo_var, L_118);
IL2CPP_END_FINALLY(799)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(799)
{
IL2CPP_JUMP_TBL(0x335, IL_0335)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_0335:
{
ASN1_t924533535 * L_119 = V_23;
int32_t L_120 = ASN1_get_Count_m404940548(L_119, /*hidden argument*/NULL);
if ((((int32_t)L_120) <= ((int32_t)0)))
{
goto IL_035f;
}
}
{
ASN1_t924533535 * L_121 = V_23;
ContentInfo_t1443605387 * L_122 = PKCS12_EncryptedContentInfo_m1573763230(__this, L_121, _stringLiteral197486706, /*hidden argument*/NULL);
V_26 = L_122;
ASN1_t924533535 * L_123 = V_0;
ContentInfo_t1443605387 * L_124 = V_26;
ASN1_t924533535 * L_125 = ContentInfo_get_ASN1_m3249778150(L_124, /*hidden argument*/NULL);
ASN1_Add_m2540239672(L_123, L_125, /*hidden argument*/NULL);
}
IL_035f:
{
ArrayList_t4252133567 * L_126 = __this->get__safeBags_9();
int32_t L_127 = VirtFuncInvoker0< int32_t >::Invoke(23 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_126);
if ((((int32_t)L_127) <= ((int32_t)0)))
{
goto IL_044c;
}
}
{
ASN1_t924533535 * L_128 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_128, ((int32_t)48), /*hidden argument*/NULL);
V_27 = L_128;
ArrayList_t4252133567 * L_129 = __this->get__safeBags_9();
Il2CppObject * L_130 = VirtFuncInvoker0< Il2CppObject * >::Invoke(43 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_129);
V_29 = L_130;
}
IL_0386:
try
{ // begin try (depth: 1)
{
goto IL_03d4;
}
IL_038b:
{
Il2CppObject * L_131 = V_29;
Il2CppObject * L_132 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(0 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_131);
V_28 = ((SafeBag_t2166702855 *)CastclassClass(L_132, SafeBag_t2166702855_il2cpp_TypeInfo_var));
SafeBag_t2166702855 * L_133 = V_28;
String_t* L_134 = SafeBag_get_BagOID_m2583687334(L_133, /*hidden argument*/NULL);
bool L_135 = String_Equals_m2633592423(L_134, _stringLiteral4085537383, /*hidden argument*/NULL);
if (L_135)
{
goto IL_03c5;
}
}
IL_03af:
{
SafeBag_t2166702855 * L_136 = V_28;
String_t* L_137 = SafeBag_get_BagOID_m2583687334(L_136, /*hidden argument*/NULL);
bool L_138 = String_Equals_m2633592423(L_137, _stringLiteral193854614, /*hidden argument*/NULL);
if (!L_138)
{
goto IL_03d4;
}
}
IL_03c5:
{
ASN1_t924533535 * L_139 = V_27;
SafeBag_t2166702855 * L_140 = V_28;
ASN1_t924533535 * L_141 = SafeBag_get_ASN1_m3703295313(L_140, /*hidden argument*/NULL);
ASN1_Add_m2540239672(L_139, L_141, /*hidden argument*/NULL);
}
IL_03d4:
{
Il2CppObject * L_142 = V_29;
bool L_143 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_142);
if (L_143)
{
goto IL_038b;
}
}
IL_03e0:
{
IL2CPP_LEAVE(0x3FB, FINALLY_03e5);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_03e5;
}
FINALLY_03e5:
{ // begin finally (depth: 1)
{
Il2CppObject * L_144 = V_29;
V_54 = ((Il2CppObject *)IsInst(L_144, IDisposable_t2427283555_il2cpp_TypeInfo_var));
Il2CppObject * L_145 = V_54;
if (L_145)
{
goto IL_03f3;
}
}
IL_03f2:
{
IL2CPP_END_FINALLY(997)
}
IL_03f3:
{
Il2CppObject * L_146 = V_54;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t2427283555_il2cpp_TypeInfo_var, L_146);
IL2CPP_END_FINALLY(997)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(997)
{
IL2CPP_JUMP_TBL(0x3FB, IL_03fb)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_03fb:
{
ASN1_t924533535 * L_147 = V_27;
int32_t L_148 = ASN1_get_Count_m404940548(L_147, /*hidden argument*/NULL);
if ((((int32_t)L_148) <= ((int32_t)0)))
{
goto IL_044c;
}
}
{
ASN1_t924533535 * L_149 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_149, ((int32_t)160), /*hidden argument*/NULL);
V_30 = L_149;
ASN1_t924533535 * L_150 = V_30;
ASN1_t924533535 * L_151 = V_27;
ByteU5BU5D_t3397334013* L_152 = VirtFuncInvoker0< ByteU5BU5D_t3397334013* >::Invoke(4 /* System.Byte[] Mono.Security.ASN1::GetBytes() */, L_151);
ASN1_t924533535 * L_153 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3847124162(L_153, 4, L_152, /*hidden argument*/NULL);
ASN1_Add_m2540239672(L_150, L_153, /*hidden argument*/NULL);
ContentInfo_t1443605387 * L_154 = (ContentInfo_t1443605387 *)il2cpp_codegen_object_new(ContentInfo_t1443605387_il2cpp_TypeInfo_var);
ContentInfo__ctor_m1391613763(L_154, _stringLiteral2789145215, /*hidden argument*/NULL);
V_31 = L_154;
ContentInfo_t1443605387 * L_155 = V_31;
ASN1_t924533535 * L_156 = V_30;
ContentInfo_set_Content_m899108905(L_155, L_156, /*hidden argument*/NULL);
ASN1_t924533535 * L_157 = V_0;
ContentInfo_t1443605387 * L_158 = V_31;
ASN1_t924533535 * L_159 = ContentInfo_get_ASN1_m3249778150(L_158, /*hidden argument*/NULL);
ASN1_Add_m2540239672(L_157, L_159, /*hidden argument*/NULL);
}
IL_044c:
{
ArrayList_t4252133567 * L_160 = __this->get__safeBags_9();
int32_t L_161 = VirtFuncInvoker0< int32_t >::Invoke(23 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_160);
if ((((int32_t)L_161) <= ((int32_t)0)))
{
goto IL_04fc;
}
}
{
ASN1_t924533535 * L_162 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_162, ((int32_t)48), /*hidden argument*/NULL);
V_32 = L_162;
ArrayList_t4252133567 * L_163 = __this->get__safeBags_9();
Il2CppObject * L_164 = VirtFuncInvoker0< Il2CppObject * >::Invoke(43 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_163);
V_34 = L_164;
}
IL_0473:
try
{ // begin try (depth: 1)
{
goto IL_04ab;
}
IL_0478:
{
Il2CppObject * L_165 = V_34;
Il2CppObject * L_166 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(0 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_165);
V_33 = ((SafeBag_t2166702855 *)CastclassClass(L_166, SafeBag_t2166702855_il2cpp_TypeInfo_var));
SafeBag_t2166702855 * L_167 = V_33;
String_t* L_168 = SafeBag_get_BagOID_m2583687334(L_167, /*hidden argument*/NULL);
bool L_169 = String_Equals_m2633592423(L_168, _stringLiteral2116168915, /*hidden argument*/NULL);
if (!L_169)
{
goto IL_04ab;
}
}
IL_049c:
{
ASN1_t924533535 * L_170 = V_32;
SafeBag_t2166702855 * L_171 = V_33;
ASN1_t924533535 * L_172 = SafeBag_get_ASN1_m3703295313(L_171, /*hidden argument*/NULL);
ASN1_Add_m2540239672(L_170, L_172, /*hidden argument*/NULL);
}
IL_04ab:
{
Il2CppObject * L_173 = V_34;
bool L_174 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_173);
if (L_174)
{
goto IL_0478;
}
}
IL_04b7:
{
IL2CPP_LEAVE(0x4D2, FINALLY_04bc);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_04bc;
}
FINALLY_04bc:
{ // begin finally (depth: 1)
{
Il2CppObject * L_175 = V_34;
V_55 = ((Il2CppObject *)IsInst(L_175, IDisposable_t2427283555_il2cpp_TypeInfo_var));
Il2CppObject * L_176 = V_55;
if (L_176)
{
goto IL_04ca;
}
}
IL_04c9:
{
IL2CPP_END_FINALLY(1212)
}
IL_04ca:
{
Il2CppObject * L_177 = V_55;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t2427283555_il2cpp_TypeInfo_var, L_177);
IL2CPP_END_FINALLY(1212)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(1212)
{
IL2CPP_JUMP_TBL(0x4D2, IL_04d2)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_04d2:
{
ASN1_t924533535 * L_178 = V_32;
int32_t L_179 = ASN1_get_Count_m404940548(L_178, /*hidden argument*/NULL);
if ((((int32_t)L_179) <= ((int32_t)0)))
{
goto IL_04fc;
}
}
{
ASN1_t924533535 * L_180 = V_32;
ContentInfo_t1443605387 * L_181 = PKCS12_EncryptedContentInfo_m1573763230(__this, L_180, _stringLiteral197486706, /*hidden argument*/NULL);
V_35 = L_181;
ASN1_t924533535 * L_182 = V_0;
ContentInfo_t1443605387 * L_183 = V_35;
ASN1_t924533535 * L_184 = ContentInfo_get_ASN1_m3249778150(L_183, /*hidden argument*/NULL);
ASN1_Add_m2540239672(L_182, L_184, /*hidden argument*/NULL);
}
IL_04fc:
{
ASN1_t924533535 * L_185 = V_0;
ByteU5BU5D_t3397334013* L_186 = VirtFuncInvoker0< ByteU5BU5D_t3397334013* >::Invoke(4 /* System.Byte[] Mono.Security.ASN1::GetBytes() */, L_185);
ASN1_t924533535 * L_187 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3847124162(L_187, 4, L_186, /*hidden argument*/NULL);
V_36 = L_187;
ASN1_t924533535 * L_188 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_188, ((int32_t)160), /*hidden argument*/NULL);
V_37 = L_188;
ASN1_t924533535 * L_189 = V_37;
ASN1_t924533535 * L_190 = V_36;
ASN1_Add_m2540239672(L_189, L_190, /*hidden argument*/NULL);
ContentInfo_t1443605387 * L_191 = (ContentInfo_t1443605387 *)il2cpp_codegen_object_new(ContentInfo_t1443605387_il2cpp_TypeInfo_var);
ContentInfo__ctor_m1391613763(L_191, _stringLiteral2789145215, /*hidden argument*/NULL);
V_38 = L_191;
ContentInfo_t1443605387 * L_192 = V_38;
ASN1_t924533535 * L_193 = V_37;
ContentInfo_set_Content_m899108905(L_192, L_193, /*hidden argument*/NULL);
ASN1_t924533535 * L_194 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_194, ((int32_t)48), /*hidden argument*/NULL);
V_39 = L_194;
ByteU5BU5D_t3397334013* L_195 = __this->get__password_1();
if (!L_195)
{
goto IL_0600;
}
}
{
V_40 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)20)));
RandomNumberGenerator_t2510243513 * L_196 = PKCS12_get_RNG_m3620550062(__this, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_197 = V_40;
VirtActionInvoker1< ByteU5BU5D_t3397334013* >::Invoke(4 /* System.Void System.Security.Cryptography.RandomNumberGenerator::GetBytes(System.Byte[]) */, L_196, L_197);
ByteU5BU5D_t3397334013* L_198 = __this->get__password_1();
ByteU5BU5D_t3397334013* L_199 = V_40;
int32_t L_200 = __this->get__iterations_8();
ContentInfo_t1443605387 * L_201 = V_38;
ASN1_t924533535 * L_202 = ContentInfo_get_Content_m3936257154(L_201, /*hidden argument*/NULL);
ASN1_t924533535 * L_203 = ASN1_get_Item_m1784978716(L_202, 0, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_204 = ASN1_get_Value_m2669044878(L_203, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_205 = PKCS12_MAC_m1519937926(__this, L_198, L_199, L_200, L_204, /*hidden argument*/NULL);
V_41 = L_205;
ASN1_t924533535 * L_206 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_206, ((int32_t)48), /*hidden argument*/NULL);
V_42 = L_206;
ASN1_t924533535 * L_207 = V_42;
ASN1_t924533535 * L_208 = ASN1Convert_FromOid_m3889963396(NULL /*static, unused*/, _stringLiteral662711544, /*hidden argument*/NULL);
ASN1_Add_m2540239672(L_207, L_208, /*hidden argument*/NULL);
ASN1_t924533535 * L_209 = V_42;
ASN1_t924533535 * L_210 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_210, 5, /*hidden argument*/NULL);
ASN1_Add_m2540239672(L_209, L_210, /*hidden argument*/NULL);
ASN1_t924533535 * L_211 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_211, ((int32_t)48), /*hidden argument*/NULL);
V_43 = L_211;
ASN1_t924533535 * L_212 = V_43;
ASN1_t924533535 * L_213 = V_42;
ASN1_Add_m2540239672(L_212, L_213, /*hidden argument*/NULL);
ASN1_t924533535 * L_214 = V_43;
ByteU5BU5D_t3397334013* L_215 = V_41;
ASN1_t924533535 * L_216 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3847124162(L_216, 4, L_215, /*hidden argument*/NULL);
ASN1_Add_m2540239672(L_214, L_216, /*hidden argument*/NULL);
ASN1_t924533535 * L_217 = V_39;
ASN1_t924533535 * L_218 = V_43;
ASN1_Add_m2540239672(L_217, L_218, /*hidden argument*/NULL);
ASN1_t924533535 * L_219 = V_39;
ByteU5BU5D_t3397334013* L_220 = V_40;
ASN1_t924533535 * L_221 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3847124162(L_221, 4, L_220, /*hidden argument*/NULL);
ASN1_Add_m2540239672(L_219, L_221, /*hidden argument*/NULL);
ASN1_t924533535 * L_222 = V_39;
int32_t L_223 = __this->get__iterations_8();
ASN1_t924533535 * L_224 = ASN1Convert_FromInt32_m1541043489(NULL /*static, unused*/, L_223, /*hidden argument*/NULL);
ASN1_Add_m2540239672(L_222, L_224, /*hidden argument*/NULL);
}
IL_0600:
{
ByteU5BU5D_t3397334013* L_225 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)1));
(L_225)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)3);
ASN1_t924533535 * L_226 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3847124162(L_226, 2, L_225, /*hidden argument*/NULL);
V_44 = L_226;
ASN1_t924533535 * L_227 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_227, ((int32_t)48), /*hidden argument*/NULL);
V_45 = L_227;
ASN1_t924533535 * L_228 = V_45;
ASN1_t924533535 * L_229 = V_44;
ASN1_Add_m2540239672(L_228, L_229, /*hidden argument*/NULL);
ASN1_t924533535 * L_230 = V_45;
ContentInfo_t1443605387 * L_231 = V_38;
ASN1_t924533535 * L_232 = ContentInfo_get_ASN1_m3249778150(L_231, /*hidden argument*/NULL);
ASN1_Add_m2540239672(L_230, L_232, /*hidden argument*/NULL);
ASN1_t924533535 * L_233 = V_39;
int32_t L_234 = ASN1_get_Count_m404940548(L_233, /*hidden argument*/NULL);
if ((((int32_t)L_234) <= ((int32_t)0)))
{
goto IL_064b;
}
}
{
ASN1_t924533535 * L_235 = V_45;
ASN1_t924533535 * L_236 = V_39;
ASN1_Add_m2540239672(L_235, L_236, /*hidden argument*/NULL);
}
IL_064b:
{
ASN1_t924533535 * L_237 = V_45;
ByteU5BU5D_t3397334013* L_238 = VirtFuncInvoker0< ByteU5BU5D_t3397334013* >::Invoke(4 /* System.Byte[] Mono.Security.ASN1::GetBytes() */, L_237);
return L_238;
}
}
// Mono.Security.PKCS7/ContentInfo Mono.Security.X509.PKCS12::EncryptedContentInfo(Mono.Security.ASN1,System.String)
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern Il2CppClass* ASN1_t924533535_il2cpp_TypeInfo_var;
extern Il2CppClass* ContentInfo_t1443605387_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral2789145215;
extern Il2CppCodeGenString* _stringLiteral2385860688;
extern const uint32_t PKCS12_EncryptedContentInfo_m1573763230_MetadataUsageId;
extern "C" ContentInfo_t1443605387 * PKCS12_EncryptedContentInfo_m1573763230 (PKCS12_t1362584794 * __this, ASN1_t924533535 * ___safeBags0, String_t* ___algorithmOid1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PKCS12_EncryptedContentInfo_m1573763230_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ByteU5BU5D_t3397334013* V_0 = NULL;
ASN1_t924533535 * V_1 = NULL;
ASN1_t924533535 * V_2 = NULL;
ByteU5BU5D_t3397334013* V_3 = NULL;
ASN1_t924533535 * V_4 = NULL;
ASN1_t924533535 * V_5 = NULL;
ASN1_t924533535 * V_6 = NULL;
ASN1_t924533535 * V_7 = NULL;
ASN1_t924533535 * V_8 = NULL;
ContentInfo_t1443605387 * V_9 = NULL;
{
V_0 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)8));
RandomNumberGenerator_t2510243513 * L_0 = PKCS12_get_RNG_m3620550062(__this, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_1 = V_0;
VirtActionInvoker1< ByteU5BU5D_t3397334013* >::Invoke(4 /* System.Void System.Security.Cryptography.RandomNumberGenerator::GetBytes(System.Byte[]) */, L_0, L_1);
ASN1_t924533535 * L_2 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_2, ((int32_t)48), /*hidden argument*/NULL);
V_1 = L_2;
ASN1_t924533535 * L_3 = V_1;
ByteU5BU5D_t3397334013* L_4 = V_0;
ASN1_t924533535 * L_5 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3847124162(L_5, 4, L_4, /*hidden argument*/NULL);
ASN1_Add_m2540239672(L_3, L_5, /*hidden argument*/NULL);
ASN1_t924533535 * L_6 = V_1;
int32_t L_7 = __this->get__iterations_8();
ASN1_t924533535 * L_8 = ASN1Convert_FromInt32_m1541043489(NULL /*static, unused*/, L_7, /*hidden argument*/NULL);
ASN1_Add_m2540239672(L_6, L_8, /*hidden argument*/NULL);
ASN1_t924533535 * L_9 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_9, ((int32_t)48), /*hidden argument*/NULL);
V_2 = L_9;
ASN1_t924533535 * L_10 = V_2;
String_t* L_11 = ___algorithmOid1;
ASN1_t924533535 * L_12 = ASN1Convert_FromOid_m3889963396(NULL /*static, unused*/, L_11, /*hidden argument*/NULL);
ASN1_Add_m2540239672(L_10, L_12, /*hidden argument*/NULL);
ASN1_t924533535 * L_13 = V_2;
ASN1_t924533535 * L_14 = V_1;
ASN1_Add_m2540239672(L_13, L_14, /*hidden argument*/NULL);
String_t* L_15 = ___algorithmOid1;
ByteU5BU5D_t3397334013* L_16 = V_0;
int32_t L_17 = __this->get__iterations_8();
ASN1_t924533535 * L_18 = ___safeBags0;
ByteU5BU5D_t3397334013* L_19 = VirtFuncInvoker0< ByteU5BU5D_t3397334013* >::Invoke(4 /* System.Byte[] Mono.Security.ASN1::GetBytes() */, L_18);
ByteU5BU5D_t3397334013* L_20 = PKCS12_Encrypt_m1401341763(__this, L_15, L_16, L_17, L_19, /*hidden argument*/NULL);
V_3 = L_20;
ByteU5BU5D_t3397334013* L_21 = V_3;
ASN1_t924533535 * L_22 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3847124162(L_22, ((int32_t)128), L_21, /*hidden argument*/NULL);
V_4 = L_22;
ASN1_t924533535 * L_23 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_23, ((int32_t)48), /*hidden argument*/NULL);
V_5 = L_23;
ASN1_t924533535 * L_24 = V_5;
ASN1_t924533535 * L_25 = ASN1Convert_FromOid_m3889963396(NULL /*static, unused*/, _stringLiteral2789145215, /*hidden argument*/NULL);
ASN1_Add_m2540239672(L_24, L_25, /*hidden argument*/NULL);
ASN1_t924533535 * L_26 = V_5;
ASN1_t924533535 * L_27 = V_2;
ASN1_Add_m2540239672(L_26, L_27, /*hidden argument*/NULL);
ASN1_t924533535 * L_28 = V_5;
ASN1_t924533535 * L_29 = V_4;
ASN1_Add_m2540239672(L_28, L_29, /*hidden argument*/NULL);
ASN1_t924533535 * L_30 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3847124162(L_30, 2, ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)1)), /*hidden argument*/NULL);
V_6 = L_30;
ASN1_t924533535 * L_31 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_31, ((int32_t)48), /*hidden argument*/NULL);
V_7 = L_31;
ASN1_t924533535 * L_32 = V_7;
ASN1_t924533535 * L_33 = V_6;
ASN1_Add_m2540239672(L_32, L_33, /*hidden argument*/NULL);
ASN1_t924533535 * L_34 = V_7;
ASN1_t924533535 * L_35 = V_5;
ASN1_Add_m2540239672(L_34, L_35, /*hidden argument*/NULL);
ASN1_t924533535 * L_36 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3389976449(L_36, ((int32_t)160), /*hidden argument*/NULL);
V_8 = L_36;
ASN1_t924533535 * L_37 = V_8;
ASN1_t924533535 * L_38 = V_7;
ASN1_Add_m2540239672(L_37, L_38, /*hidden argument*/NULL);
ContentInfo_t1443605387 * L_39 = (ContentInfo_t1443605387 *)il2cpp_codegen_object_new(ContentInfo_t1443605387_il2cpp_TypeInfo_var);
ContentInfo__ctor_m1391613763(L_39, _stringLiteral2385860688, /*hidden argument*/NULL);
V_9 = L_39;
ContentInfo_t1443605387 * L_40 = V_9;
ASN1_t924533535 * L_41 = V_8;
ContentInfo_set_Content_m899108905(L_40, L_41, /*hidden argument*/NULL);
ContentInfo_t1443605387 * L_42 = V_9;
return L_42;
}
}
// System.Void Mono.Security.X509.PKCS12::AddCertificate(Mono.Security.X509.X509Certificate)
extern "C" void PKCS12_AddCertificate_m4095106945 (PKCS12_t1362584794 * __this, X509Certificate_t324051957 * ___cert0, const MethodInfo* method)
{
{
X509Certificate_t324051957 * L_0 = ___cert0;
PKCS12_AddCertificate_m2223551582(__this, L_0, (Il2CppObject *)NULL, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.X509.PKCS12::AddCertificate(Mono.Security.X509.X509Certificate,System.Collections.IDictionary)
extern Il2CppClass* SafeBag_t2166702855_il2cpp_TypeInfo_var;
extern Il2CppClass* ContentInfo_t1443605387_il2cpp_TypeInfo_var;
extern Il2CppClass* X509Certificate_t324051957_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral2922737969;
extern const uint32_t PKCS12_AddCertificate_m2223551582_MetadataUsageId;
extern "C" void PKCS12_AddCertificate_m2223551582 (PKCS12_t1362584794 * __this, X509Certificate_t324051957 * ___cert0, Il2CppObject * ___attributes1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PKCS12_AddCertificate_m2223551582_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
bool V_0 = false;
int32_t V_1 = 0;
SafeBag_t2166702855 * V_2 = NULL;
ASN1_t924533535 * V_3 = NULL;
ASN1_t924533535 * V_4 = NULL;
ContentInfo_t1443605387 * V_5 = NULL;
X509Certificate_t324051957 * V_6 = NULL;
{
V_0 = (bool)0;
V_1 = 0;
goto IL_0085;
}
IL_0009:
{
ArrayList_t4252133567 * L_0 = __this->get__safeBags_9();
int32_t L_1 = V_1;
Il2CppObject * L_2 = VirtFuncInvoker1< Il2CppObject *, int32_t >::Invoke(21 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_0, L_1);
V_2 = ((SafeBag_t2166702855 *)CastclassClass(L_2, SafeBag_t2166702855_il2cpp_TypeInfo_var));
SafeBag_t2166702855 * L_3 = V_2;
String_t* L_4 = SafeBag_get_BagOID_m2583687334(L_3, /*hidden argument*/NULL);
bool L_5 = String_Equals_m2633592423(L_4, _stringLiteral2922737969, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_0081;
}
}
{
SafeBag_t2166702855 * L_6 = V_2;
ASN1_t924533535 * L_7 = SafeBag_get_ASN1_m3703295313(L_6, /*hidden argument*/NULL);
V_3 = L_7;
ASN1_t924533535 * L_8 = V_3;
ASN1_t924533535 * L_9 = ASN1_get_Item_m1784978716(L_8, 1, /*hidden argument*/NULL);
V_4 = L_9;
ASN1_t924533535 * L_10 = V_4;
ByteU5BU5D_t3397334013* L_11 = ASN1_get_Value_m2669044878(L_10, /*hidden argument*/NULL);
ContentInfo_t1443605387 * L_12 = (ContentInfo_t1443605387 *)il2cpp_codegen_object_new(ContentInfo_t1443605387_il2cpp_TypeInfo_var);
ContentInfo__ctor_m2074180116(L_12, L_11, /*hidden argument*/NULL);
V_5 = L_12;
ContentInfo_t1443605387 * L_13 = V_5;
ASN1_t924533535 * L_14 = ContentInfo_get_Content_m3936257154(L_13, /*hidden argument*/NULL);
ASN1_t924533535 * L_15 = ASN1_get_Item_m1784978716(L_14, 0, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_16 = ASN1_get_Value_m2669044878(L_15, /*hidden argument*/NULL);
X509Certificate_t324051957 * L_17 = (X509Certificate_t324051957 *)il2cpp_codegen_object_new(X509Certificate_t324051957_il2cpp_TypeInfo_var);
X509Certificate__ctor_m1606765153(L_17, L_16, /*hidden argument*/NULL);
V_6 = L_17;
X509Certificate_t324051957 * L_18 = ___cert0;
ByteU5BU5D_t3397334013* L_19 = VirtFuncInvoker0< ByteU5BU5D_t3397334013* >::Invoke(8 /* System.Byte[] Mono.Security.X509.X509Certificate::get_RawData() */, L_18);
X509Certificate_t324051957 * L_20 = V_6;
ByteU5BU5D_t3397334013* L_21 = VirtFuncInvoker0< ByteU5BU5D_t3397334013* >::Invoke(8 /* System.Byte[] Mono.Security.X509.X509Certificate::get_RawData() */, L_20);
bool L_22 = PKCS12_Compare_m896757472(__this, L_19, L_21, /*hidden argument*/NULL);
if (!L_22)
{
goto IL_0081;
}
}
{
V_0 = (bool)1;
}
IL_0081:
{
int32_t L_23 = V_1;
V_1 = ((int32_t)((int32_t)L_23+(int32_t)1));
}
IL_0085:
{
bool L_24 = V_0;
if (L_24)
{
goto IL_009c;
}
}
{
int32_t L_25 = V_1;
ArrayList_t4252133567 * L_26 = __this->get__safeBags_9();
int32_t L_27 = VirtFuncInvoker0< int32_t >::Invoke(23 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_26);
if ((((int32_t)L_25) < ((int32_t)L_27)))
{
goto IL_0009;
}
}
IL_009c:
{
bool L_28 = V_0;
if (L_28)
{
goto IL_00c7;
}
}
{
ArrayList_t4252133567 * L_29 = __this->get__safeBags_9();
X509Certificate_t324051957 * L_30 = ___cert0;
Il2CppObject * L_31 = ___attributes1;
ASN1_t924533535 * L_32 = PKCS12_CertificateSafeBag_m547206291(__this, L_30, L_31, /*hidden argument*/NULL);
SafeBag_t2166702855 * L_33 = (SafeBag_t2166702855 *)il2cpp_codegen_object_new(SafeBag_t2166702855_il2cpp_TypeInfo_var);
SafeBag__ctor_m3333469582(L_33, _stringLiteral2922737969, L_32, /*hidden argument*/NULL);
VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_29, L_33);
__this->set__certsChanged_7((bool)1);
}
IL_00c7:
{
return;
}
}
// System.Void Mono.Security.X509.PKCS12::RemoveCertificate(Mono.Security.X509.X509Certificate)
extern "C" void PKCS12_RemoveCertificate_m1590055870 (PKCS12_t1362584794 * __this, X509Certificate_t324051957 * ___cert0, const MethodInfo* method)
{
{
X509Certificate_t324051957 * L_0 = ___cert0;
PKCS12_RemoveCertificate_m3473106951(__this, L_0, (Il2CppObject *)NULL, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.X509.PKCS12::RemoveCertificate(Mono.Security.X509.X509Certificate,System.Collections.IDictionary)
extern Il2CppClass* SafeBag_t2166702855_il2cpp_TypeInfo_var;
extern Il2CppClass* ContentInfo_t1443605387_il2cpp_TypeInfo_var;
extern Il2CppClass* X509Certificate_t324051957_il2cpp_TypeInfo_var;
extern Il2CppClass* IDictionary_t596158605_il2cpp_TypeInfo_var;
extern Il2CppClass* ArrayList_t4252133567_il2cpp_TypeInfo_var;
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral2922737969;
extern const uint32_t PKCS12_RemoveCertificate_m3473106951_MetadataUsageId;
extern "C" void PKCS12_RemoveCertificate_m3473106951 (PKCS12_t1362584794 * __this, X509Certificate_t324051957 * ___cert0, Il2CppObject * ___attrs1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PKCS12_RemoveCertificate_m3473106951_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
SafeBag_t2166702855 * V_2 = NULL;
ASN1_t924533535 * V_3 = NULL;
ASN1_t924533535 * V_4 = NULL;
ContentInfo_t1443605387 * V_5 = NULL;
X509Certificate_t324051957 * V_6 = NULL;
ASN1_t924533535 * V_7 = NULL;
int32_t V_8 = 0;
int32_t V_9 = 0;
ASN1_t924533535 * V_10 = NULL;
ASN1_t924533535 * V_11 = NULL;
String_t* V_12 = NULL;
ArrayList_t4252133567 * V_13 = NULL;
ASN1_t924533535 * V_14 = NULL;
int32_t V_15 = 0;
int32_t V_16 = 0;
ASN1_t924533535 * V_17 = NULL;
ByteU5BU5D_t3397334013* V_18 = NULL;
{
V_0 = (-1);
V_1 = 0;
goto IL_018d;
}
IL_0009:
{
ArrayList_t4252133567 * L_0 = __this->get__safeBags_9();
int32_t L_1 = V_1;
Il2CppObject * L_2 = VirtFuncInvoker1< Il2CppObject *, int32_t >::Invoke(21 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_0, L_1);
V_2 = ((SafeBag_t2166702855 *)CastclassClass(L_2, SafeBag_t2166702855_il2cpp_TypeInfo_var));
SafeBag_t2166702855 * L_3 = V_2;
String_t* L_4 = SafeBag_get_BagOID_m2583687334(L_3, /*hidden argument*/NULL);
bool L_5 = String_Equals_m2633592423(L_4, _stringLiteral2922737969, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_0189;
}
}
{
SafeBag_t2166702855 * L_6 = V_2;
ASN1_t924533535 * L_7 = SafeBag_get_ASN1_m3703295313(L_6, /*hidden argument*/NULL);
V_3 = L_7;
ASN1_t924533535 * L_8 = V_3;
ASN1_t924533535 * L_9 = ASN1_get_Item_m1784978716(L_8, 1, /*hidden argument*/NULL);
V_4 = L_9;
ASN1_t924533535 * L_10 = V_4;
ByteU5BU5D_t3397334013* L_11 = ASN1_get_Value_m2669044878(L_10, /*hidden argument*/NULL);
ContentInfo_t1443605387 * L_12 = (ContentInfo_t1443605387 *)il2cpp_codegen_object_new(ContentInfo_t1443605387_il2cpp_TypeInfo_var);
ContentInfo__ctor_m2074180116(L_12, L_11, /*hidden argument*/NULL);
V_5 = L_12;
ContentInfo_t1443605387 * L_13 = V_5;
ASN1_t924533535 * L_14 = ContentInfo_get_Content_m3936257154(L_13, /*hidden argument*/NULL);
ASN1_t924533535 * L_15 = ASN1_get_Item_m1784978716(L_14, 0, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_16 = ASN1_get_Value_m2669044878(L_15, /*hidden argument*/NULL);
X509Certificate_t324051957 * L_17 = (X509Certificate_t324051957 *)il2cpp_codegen_object_new(X509Certificate_t324051957_il2cpp_TypeInfo_var);
X509Certificate__ctor_m1606765153(L_17, L_16, /*hidden argument*/NULL);
V_6 = L_17;
X509Certificate_t324051957 * L_18 = ___cert0;
ByteU5BU5D_t3397334013* L_19 = VirtFuncInvoker0< ByteU5BU5D_t3397334013* >::Invoke(8 /* System.Byte[] Mono.Security.X509.X509Certificate::get_RawData() */, L_18);
X509Certificate_t324051957 * L_20 = V_6;
ByteU5BU5D_t3397334013* L_21 = VirtFuncInvoker0< ByteU5BU5D_t3397334013* >::Invoke(8 /* System.Byte[] Mono.Security.X509.X509Certificate::get_RawData() */, L_20);
bool L_22 = PKCS12_Compare_m896757472(__this, L_19, L_21, /*hidden argument*/NULL);
if (!L_22)
{
goto IL_0189;
}
}
{
Il2CppObject * L_23 = ___attrs1;
if (!L_23)
{
goto IL_0187;
}
}
{
ASN1_t924533535 * L_24 = V_3;
int32_t L_25 = ASN1_get_Count_m404940548(L_24, /*hidden argument*/NULL);
if ((!(((uint32_t)L_25) == ((uint32_t)3))))
{
goto IL_0182;
}
}
{
ASN1_t924533535 * L_26 = V_3;
ASN1_t924533535 * L_27 = ASN1_get_Item_m1784978716(L_26, 2, /*hidden argument*/NULL);
V_7 = L_27;
V_8 = 0;
V_9 = 0;
goto IL_0164;
}
IL_00a5:
{
ASN1_t924533535 * L_28 = V_7;
int32_t L_29 = V_9;
ASN1_t924533535 * L_30 = ASN1_get_Item_m1784978716(L_28, L_29, /*hidden argument*/NULL);
V_10 = L_30;
ASN1_t924533535 * L_31 = V_10;
ASN1_t924533535 * L_32 = ASN1_get_Item_m1784978716(L_31, 0, /*hidden argument*/NULL);
V_11 = L_32;
ASN1_t924533535 * L_33 = V_11;
String_t* L_34 = ASN1Convert_ToOid_m2695991795(NULL /*static, unused*/, L_33, /*hidden argument*/NULL);
V_12 = L_34;
Il2CppObject * L_35 = ___attrs1;
String_t* L_36 = V_12;
Il2CppObject * L_37 = InterfaceFuncInvoker1< Il2CppObject *, Il2CppObject * >::Invoke(0 /* System.Object System.Collections.IDictionary::get_Item(System.Object) */, IDictionary_t596158605_il2cpp_TypeInfo_var, L_35, L_36);
V_13 = ((ArrayList_t4252133567 *)CastclassClass(L_37, ArrayList_t4252133567_il2cpp_TypeInfo_var));
ArrayList_t4252133567 * L_38 = V_13;
if (!L_38)
{
goto IL_015e;
}
}
{
ASN1_t924533535 * L_39 = V_10;
ASN1_t924533535 * L_40 = ASN1_get_Item_m1784978716(L_39, 1, /*hidden argument*/NULL);
V_14 = L_40;
ArrayList_t4252133567 * L_41 = V_13;
int32_t L_42 = VirtFuncInvoker0< int32_t >::Invoke(23 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_41);
ASN1_t924533535 * L_43 = V_14;
int32_t L_44 = ASN1_get_Count_m404940548(L_43, /*hidden argument*/NULL);
if ((!(((uint32_t)L_42) == ((uint32_t)L_44))))
{
goto IL_015e;
}
}
{
V_15 = 0;
V_16 = 0;
goto IL_013c;
}
IL_0101:
{
ASN1_t924533535 * L_45 = V_14;
int32_t L_46 = V_16;
ASN1_t924533535 * L_47 = ASN1_get_Item_m1784978716(L_45, L_46, /*hidden argument*/NULL);
V_17 = L_47;
ArrayList_t4252133567 * L_48 = V_13;
int32_t L_49 = V_16;
Il2CppObject * L_50 = VirtFuncInvoker1< Il2CppObject *, int32_t >::Invoke(21 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_48, L_49);
V_18 = ((ByteU5BU5D_t3397334013*)Castclass(L_50, ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var));
ByteU5BU5D_t3397334013* L_51 = V_18;
ASN1_t924533535 * L_52 = V_17;
ByteU5BU5D_t3397334013* L_53 = ASN1_get_Value_m2669044878(L_52, /*hidden argument*/NULL);
bool L_54 = PKCS12_Compare_m896757472(__this, L_51, L_53, /*hidden argument*/NULL);
if (!L_54)
{
goto IL_0136;
}
}
{
int32_t L_55 = V_15;
V_15 = ((int32_t)((int32_t)L_55+(int32_t)1));
}
IL_0136:
{
int32_t L_56 = V_16;
V_16 = ((int32_t)((int32_t)L_56+(int32_t)1));
}
IL_013c:
{
int32_t L_57 = V_16;
ASN1_t924533535 * L_58 = V_14;
int32_t L_59 = ASN1_get_Count_m404940548(L_58, /*hidden argument*/NULL);
if ((((int32_t)L_57) < ((int32_t)L_59)))
{
goto IL_0101;
}
}
{
int32_t L_60 = V_15;
ASN1_t924533535 * L_61 = V_14;
int32_t L_62 = ASN1_get_Count_m404940548(L_61, /*hidden argument*/NULL);
if ((!(((uint32_t)L_60) == ((uint32_t)L_62))))
{
goto IL_015e;
}
}
{
int32_t L_63 = V_8;
V_8 = ((int32_t)((int32_t)L_63+(int32_t)1));
}
IL_015e:
{
int32_t L_64 = V_9;
V_9 = ((int32_t)((int32_t)L_64+(int32_t)1));
}
IL_0164:
{
int32_t L_65 = V_9;
ASN1_t924533535 * L_66 = V_7;
int32_t L_67 = ASN1_get_Count_m404940548(L_66, /*hidden argument*/NULL);
if ((((int32_t)L_65) < ((int32_t)L_67)))
{
goto IL_00a5;
}
}
{
int32_t L_68 = V_8;
ASN1_t924533535 * L_69 = V_7;
int32_t L_70 = ASN1_get_Count_m404940548(L_69, /*hidden argument*/NULL);
if ((!(((uint32_t)L_68) == ((uint32_t)L_70))))
{
goto IL_0182;
}
}
{
int32_t L_71 = V_1;
V_0 = L_71;
}
IL_0182:
{
goto IL_0189;
}
IL_0187:
{
int32_t L_72 = V_1;
V_0 = L_72;
}
IL_0189:
{
int32_t L_73 = V_1;
V_1 = ((int32_t)((int32_t)L_73+(int32_t)1));
}
IL_018d:
{
int32_t L_74 = V_0;
if ((!(((uint32_t)L_74) == ((uint32_t)(-1)))))
{
goto IL_01a5;
}
}
{
int32_t L_75 = V_1;
ArrayList_t4252133567 * L_76 = __this->get__safeBags_9();
int32_t L_77 = VirtFuncInvoker0< int32_t >::Invoke(23 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_76);
if ((((int32_t)L_75) < ((int32_t)L_77)))
{
goto IL_0009;
}
}
IL_01a5:
{
int32_t L_78 = V_0;
if ((((int32_t)L_78) == ((int32_t)(-1))))
{
goto IL_01bf;
}
}
{
ArrayList_t4252133567 * L_79 = __this->get__safeBags_9();
int32_t L_80 = V_0;
VirtActionInvoker1< int32_t >::Invoke(39 /* System.Void System.Collections.ArrayList::RemoveAt(System.Int32) */, L_79, L_80);
__this->set__certsChanged_7((bool)1);
}
IL_01bf:
{
return;
}
}
// System.Object Mono.Security.X509.PKCS12::Clone()
extern Il2CppClass* Encoding_t663144255_il2cpp_TypeInfo_var;
extern Il2CppClass* PKCS12_t1362584794_il2cpp_TypeInfo_var;
extern const uint32_t PKCS12_Clone_m4018301141_MetadataUsageId;
extern "C" Il2CppObject * PKCS12_Clone_m4018301141 (PKCS12_t1362584794 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PKCS12_Clone_m4018301141_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
PKCS12_t1362584794 * V_0 = NULL;
{
V_0 = (PKCS12_t1362584794 *)NULL;
ByteU5BU5D_t3397334013* L_0 = __this->get__password_1();
if (!L_0)
{
goto IL_002e;
}
}
{
ByteU5BU5D_t3397334013* L_1 = PKCS12_GetBytes_m1265989870(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Encoding_t663144255_il2cpp_TypeInfo_var);
Encoding_t663144255 * L_2 = Encoding_get_BigEndianUnicode_m1461269772(NULL /*static, unused*/, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_3 = __this->get__password_1();
String_t* L_4 = VirtFuncInvoker1< String_t*, ByteU5BU5D_t3397334013* >::Invoke(22 /* System.String System.Text.Encoding::GetString(System.Byte[]) */, L_2, L_3);
PKCS12_t1362584794 * L_5 = (PKCS12_t1362584794 *)il2cpp_codegen_object_new(PKCS12_t1362584794_il2cpp_TypeInfo_var);
PKCS12__ctor_m1045834576(L_5, L_1, L_4, /*hidden argument*/NULL);
V_0 = L_5;
goto IL_003a;
}
IL_002e:
{
ByteU5BU5D_t3397334013* L_6 = PKCS12_GetBytes_m1265989870(__this, /*hidden argument*/NULL);
PKCS12_t1362584794 * L_7 = (PKCS12_t1362584794 *)il2cpp_codegen_object_new(PKCS12_t1362584794_il2cpp_TypeInfo_var);
PKCS12__ctor_m4169229936(L_7, L_6, /*hidden argument*/NULL);
V_0 = L_7;
}
IL_003a:
{
PKCS12_t1362584794 * L_8 = V_0;
int32_t L_9 = PKCS12_get_IterationCount_m3572300030(__this, /*hidden argument*/NULL);
PKCS12_set_IterationCount_m3081866347(L_8, L_9, /*hidden argument*/NULL);
PKCS12_t1362584794 * L_10 = V_0;
return L_10;
}
}
// System.Int32 Mono.Security.X509.PKCS12::get_MaximumPasswordLength()
extern Il2CppClass* PKCS12_t1362584794_il2cpp_TypeInfo_var;
extern const uint32_t PKCS12_get_MaximumPasswordLength_m1894661347_MetadataUsageId;
extern "C" int32_t PKCS12_get_MaximumPasswordLength_m1894661347 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (PKCS12_get_MaximumPasswordLength_m1894661347_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(PKCS12_t1362584794_il2cpp_TypeInfo_var);
int32_t L_0 = ((PKCS12_t1362584794_StaticFields*)PKCS12_t1362584794_il2cpp_TypeInfo_var->static_fields)->get_password_max_length_11();
return L_0;
}
}
// System.Void Mono.Security.X509.PKCS12/DeriveBytes::.ctor()
extern "C" void DeriveBytes__ctor_m3089550878 (DeriveBytes_t1740753016 * __this, const MethodInfo* method)
{
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.X509.PKCS12/DeriveBytes::.cctor()
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern Il2CppClass* DeriveBytes_t1740753016_il2cpp_TypeInfo_var;
extern FieldInfo* U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D20_12_FieldInfo_var;
extern FieldInfo* U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D21_13_FieldInfo_var;
extern FieldInfo* U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D22_14_FieldInfo_var;
extern const uint32_t DeriveBytes__cctor_m3151663919_MetadataUsageId;
extern "C" void DeriveBytes__cctor_m3151663919 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (DeriveBytes__cctor_m3151663919_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
ByteU5BU5D_t3397334013* L_0 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)64)));
RuntimeHelpers_InitializeArray_m3920580167(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_0, LoadFieldToken(U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D20_12_FieldInfo_var), /*hidden argument*/NULL);
((DeriveBytes_t1740753016_StaticFields*)DeriveBytes_t1740753016_il2cpp_TypeInfo_var->static_fields)->set_keyDiversifier_0(L_0);
ByteU5BU5D_t3397334013* L_1 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)64)));
RuntimeHelpers_InitializeArray_m3920580167(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_1, LoadFieldToken(U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D21_13_FieldInfo_var), /*hidden argument*/NULL);
((DeriveBytes_t1740753016_StaticFields*)DeriveBytes_t1740753016_il2cpp_TypeInfo_var->static_fields)->set_ivDiversifier_1(L_1);
ByteU5BU5D_t3397334013* L_2 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)64)));
RuntimeHelpers_InitializeArray_m3920580167(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_2, LoadFieldToken(U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D22_14_FieldInfo_var), /*hidden argument*/NULL);
((DeriveBytes_t1740753016_StaticFields*)DeriveBytes_t1740753016_il2cpp_TypeInfo_var->static_fields)->set_macDiversifier_2(L_2);
return;
}
}
// System.Void Mono.Security.X509.PKCS12/DeriveBytes::set_HashName(System.String)
extern "C" void DeriveBytes_set_HashName_m1033859896 (DeriveBytes_t1740753016 * __this, String_t* ___value0, const MethodInfo* method)
{
{
String_t* L_0 = ___value0;
__this->set__hashName_3(L_0);
return;
}
}
// System.Void Mono.Security.X509.PKCS12/DeriveBytes::set_IterationCount(System.Int32)
extern "C" void DeriveBytes_set_IterationCount_m978799990 (DeriveBytes_t1740753016 * __this, int32_t ___value0, const MethodInfo* method)
{
{
int32_t L_0 = ___value0;
__this->set__iterations_4(L_0);
return;
}
}
// System.Void Mono.Security.X509.PKCS12/DeriveBytes::set_Password(System.Byte[])
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t DeriveBytes_set_Password_m3391502993_MetadataUsageId;
extern "C" void DeriveBytes_set_Password_m3391502993 (DeriveBytes_t1740753016 * __this, ByteU5BU5D_t3397334013* ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (DeriveBytes_set_Password_m3391502993_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
ByteU5BU5D_t3397334013* L_0 = ___value0;
if (L_0)
{
goto IL_0017;
}
}
{
__this->set__password_5(((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)0)));
goto IL_0028;
}
IL_0017:
{
ByteU5BU5D_t3397334013* L_1 = ___value0;
Il2CppObject * L_2 = Array_Clone_m768574314((Il2CppArray *)(Il2CppArray *)L_1, /*hidden argument*/NULL);
__this->set__password_5(((ByteU5BU5D_t3397334013*)Castclass(L_2, ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var)));
}
IL_0028:
{
return;
}
}
// System.Void Mono.Security.X509.PKCS12/DeriveBytes::set_Salt(System.Byte[])
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t DeriveBytes_set_Salt_m4154827108_MetadataUsageId;
extern "C" void DeriveBytes_set_Salt_m4154827108 (DeriveBytes_t1740753016 * __this, ByteU5BU5D_t3397334013* ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (DeriveBytes_set_Salt_m4154827108_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
ByteU5BU5D_t3397334013* L_0 = ___value0;
if (!L_0)
{
goto IL_001c;
}
}
{
ByteU5BU5D_t3397334013* L_1 = ___value0;
Il2CppObject * L_2 = Array_Clone_m768574314((Il2CppArray *)(Il2CppArray *)L_1, /*hidden argument*/NULL);
__this->set__salt_6(((ByteU5BU5D_t3397334013*)Castclass(L_2, ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var)));
goto IL_0023;
}
IL_001c:
{
__this->set__salt_6((ByteU5BU5D_t3397334013*)NULL);
}
IL_0023:
{
return;
}
}
// System.Void Mono.Security.X509.PKCS12/DeriveBytes::Adjust(System.Byte[],System.Int32,System.Byte[])
extern "C" void DeriveBytes_Adjust_m105515328 (DeriveBytes_t1740753016 * __this, ByteU5BU5D_t3397334013* ___a0, int32_t ___aOff1, ByteU5BU5D_t3397334013* ___b2, const MethodInfo* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
ByteU5BU5D_t3397334013* L_0 = ___b2;
ByteU5BU5D_t3397334013* L_1 = ___b2;
int32_t L_2 = ((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_1)->max_length))))-(int32_t)1));
uint8_t L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
ByteU5BU5D_t3397334013* L_4 = ___a0;
int32_t L_5 = ___aOff1;
ByteU5BU5D_t3397334013* L_6 = ___b2;
int32_t L_7 = ((int32_t)((int32_t)((int32_t)((int32_t)L_5+(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_6)->max_length))))))-(int32_t)1));
uint8_t L_8 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
V_0 = ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_3&(int32_t)((int32_t)255)))+(int32_t)((int32_t)((int32_t)L_8&(int32_t)((int32_t)255)))))+(int32_t)1));
ByteU5BU5D_t3397334013* L_9 = ___a0;
int32_t L_10 = ___aOff1;
ByteU5BU5D_t3397334013* L_11 = ___b2;
int32_t L_12 = V_0;
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)((int32_t)((int32_t)L_10+(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_11)->max_length))))))-(int32_t)1))), (uint8_t)(((int32_t)((uint8_t)L_12))));
int32_t L_13 = V_0;
V_0 = ((int32_t)((int32_t)L_13>>(int32_t)8));
ByteU5BU5D_t3397334013* L_14 = ___b2;
V_1 = ((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_14)->max_length))))-(int32_t)2));
goto IL_0061;
}
IL_003a:
{
int32_t L_15 = V_0;
ByteU5BU5D_t3397334013* L_16 = ___b2;
int32_t L_17 = V_1;
int32_t L_18 = L_17;
uint8_t L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
ByteU5BU5D_t3397334013* L_20 = ___a0;
int32_t L_21 = ___aOff1;
int32_t L_22 = V_1;
int32_t L_23 = ((int32_t)((int32_t)L_21+(int32_t)L_22));
uint8_t L_24 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_23));
V_0 = ((int32_t)((int32_t)L_15+(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_19&(int32_t)((int32_t)255)))+(int32_t)((int32_t)((int32_t)L_24&(int32_t)((int32_t)255)))))));
ByteU5BU5D_t3397334013* L_25 = ___a0;
int32_t L_26 = ___aOff1;
int32_t L_27 = V_1;
int32_t L_28 = V_0;
(L_25)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_26+(int32_t)L_27))), (uint8_t)(((int32_t)((uint8_t)L_28))));
int32_t L_29 = V_0;
V_0 = ((int32_t)((int32_t)L_29>>(int32_t)8));
int32_t L_30 = V_1;
V_1 = ((int32_t)((int32_t)L_30-(int32_t)1));
}
IL_0061:
{
int32_t L_31 = V_1;
if ((((int32_t)L_31) >= ((int32_t)0)))
{
goto IL_003a;
}
}
{
return;
}
}
// System.Byte[] Mono.Security.X509.PKCS12/DeriveBytes::Derive(System.Byte[],System.Int32)
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t DeriveBytes_Derive_m4287063555_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* DeriveBytes_Derive_m4287063555 (DeriveBytes_t1740753016 * __this, ByteU5BU5D_t3397334013* ___diversifier0, int32_t ___n1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (DeriveBytes_Derive_m4287063555_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
HashAlgorithm_t2624936259 * V_0 = NULL;
int32_t V_1 = 0;
int32_t V_2 = 0;
ByteU5BU5D_t3397334013* V_3 = NULL;
ByteU5BU5D_t3397334013* V_4 = NULL;
int32_t V_5 = 0;
ByteU5BU5D_t3397334013* V_6 = NULL;
int32_t V_7 = 0;
ByteU5BU5D_t3397334013* V_8 = NULL;
ByteU5BU5D_t3397334013* V_9 = NULL;
int32_t V_10 = 0;
int32_t V_11 = 0;
ByteU5BU5D_t3397334013* V_12 = NULL;
int32_t V_13 = 0;
int32_t V_14 = 0;
int32_t V_15 = 0;
{
String_t* L_0 = __this->get__hashName_3();
HashAlgorithm_t2624936259 * L_1 = HashAlgorithm_Create_m1224939073(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
V_0 = L_1;
HashAlgorithm_t2624936259 * L_2 = V_0;
int32_t L_3 = VirtFuncInvoker0< int32_t >::Invoke(12 /* System.Int32 System.Security.Cryptography.HashAlgorithm::get_HashSize() */, L_2);
V_1 = ((int32_t)((int32_t)L_3>>(int32_t)3));
V_2 = ((int32_t)64);
int32_t L_4 = ___n1;
V_3 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_4));
ByteU5BU5D_t3397334013* L_5 = __this->get__salt_6();
if (!L_5)
{
goto IL_0083;
}
}
{
ByteU5BU5D_t3397334013* L_6 = __this->get__salt_6();
if (!(((int32_t)((int32_t)(((Il2CppArray *)L_6)->max_length)))))
{
goto IL_0083;
}
}
{
int32_t L_7 = V_2;
ByteU5BU5D_t3397334013* L_8 = __this->get__salt_6();
int32_t L_9 = V_2;
int32_t L_10 = V_2;
V_4 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)L_7*(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_8)->max_length))))+(int32_t)L_9))-(int32_t)1))/(int32_t)L_10))))));
V_5 = 0;
goto IL_0073;
}
IL_0056:
{
ByteU5BU5D_t3397334013* L_11 = V_4;
int32_t L_12 = V_5;
ByteU5BU5D_t3397334013* L_13 = __this->get__salt_6();
int32_t L_14 = V_5;
ByteU5BU5D_t3397334013* L_15 = __this->get__salt_6();
int32_t L_16 = ((int32_t)((int32_t)L_14%(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_15)->max_length))))));
uint8_t L_17 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(L_12), (uint8_t)L_17);
int32_t L_18 = V_5;
V_5 = ((int32_t)((int32_t)L_18+(int32_t)1));
}
IL_0073:
{
int32_t L_19 = V_5;
ByteU5BU5D_t3397334013* L_20 = V_4;
if ((!(((uint32_t)L_19) == ((uint32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_20)->max_length))))))))
{
goto IL_0056;
}
}
{
goto IL_008b;
}
IL_0083:
{
V_4 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)0));
}
IL_008b:
{
ByteU5BU5D_t3397334013* L_21 = __this->get__password_5();
if (!L_21)
{
goto IL_00ef;
}
}
{
ByteU5BU5D_t3397334013* L_22 = __this->get__password_5();
if (!(((int32_t)((int32_t)(((Il2CppArray *)L_22)->max_length)))))
{
goto IL_00ef;
}
}
{
int32_t L_23 = V_2;
ByteU5BU5D_t3397334013* L_24 = __this->get__password_5();
int32_t L_25 = V_2;
int32_t L_26 = V_2;
V_6 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)L_23*(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_24)->max_length))))+(int32_t)L_25))-(int32_t)1))/(int32_t)L_26))))));
V_7 = 0;
goto IL_00df;
}
IL_00c2:
{
ByteU5BU5D_t3397334013* L_27 = V_6;
int32_t L_28 = V_7;
ByteU5BU5D_t3397334013* L_29 = __this->get__password_5();
int32_t L_30 = V_7;
ByteU5BU5D_t3397334013* L_31 = __this->get__password_5();
int32_t L_32 = ((int32_t)((int32_t)L_30%(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_31)->max_length))))));
uint8_t L_33 = (L_29)->GetAt(static_cast<il2cpp_array_size_t>(L_32));
(L_27)->SetAt(static_cast<il2cpp_array_size_t>(L_28), (uint8_t)L_33);
int32_t L_34 = V_7;
V_7 = ((int32_t)((int32_t)L_34+(int32_t)1));
}
IL_00df:
{
int32_t L_35 = V_7;
ByteU5BU5D_t3397334013* L_36 = V_6;
if ((!(((uint32_t)L_35) == ((uint32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_36)->max_length))))))))
{
goto IL_00c2;
}
}
{
goto IL_00f7;
}
IL_00ef:
{
V_6 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)0));
}
IL_00f7:
{
ByteU5BU5D_t3397334013* L_37 = V_4;
ByteU5BU5D_t3397334013* L_38 = V_6;
V_8 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_37)->max_length))))+(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_38)->max_length))))))));
ByteU5BU5D_t3397334013* L_39 = V_4;
ByteU5BU5D_t3397334013* L_40 = V_8;
ByteU5BU5D_t3397334013* L_41 = V_4;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_39, 0, (Il2CppArray *)(Il2CppArray *)L_40, 0, (((int32_t)((int32_t)(((Il2CppArray *)L_41)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_42 = V_6;
ByteU5BU5D_t3397334013* L_43 = V_8;
ByteU5BU5D_t3397334013* L_44 = V_4;
ByteU5BU5D_t3397334013* L_45 = V_6;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_42, 0, (Il2CppArray *)(Il2CppArray *)L_43, (((int32_t)((int32_t)(((Il2CppArray *)L_44)->max_length)))), (((int32_t)((int32_t)(((Il2CppArray *)L_45)->max_length)))), /*hidden argument*/NULL);
int32_t L_46 = V_2;
V_9 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_46));
int32_t L_47 = ___n1;
int32_t L_48 = V_1;
int32_t L_49 = V_1;
V_10 = ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_47+(int32_t)L_48))-(int32_t)1))/(int32_t)L_49));
V_11 = 1;
goto IL_0226;
}
IL_0141:
{
HashAlgorithm_t2624936259 * L_50 = V_0;
ByteU5BU5D_t3397334013* L_51 = ___diversifier0;
ByteU5BU5D_t3397334013* L_52 = ___diversifier0;
ByteU5BU5D_t3397334013* L_53 = ___diversifier0;
HashAlgorithm_TransformBlock_m4190258810(L_50, L_51, 0, (((int32_t)((int32_t)(((Il2CppArray *)L_52)->max_length)))), L_53, 0, /*hidden argument*/NULL);
HashAlgorithm_t2624936259 * L_54 = V_0;
ByteU5BU5D_t3397334013* L_55 = V_8;
ByteU5BU5D_t3397334013* L_56 = V_8;
HashAlgorithm_TransformFinalBlock_m3071802428(L_54, L_55, 0, (((int32_t)((int32_t)(((Il2CppArray *)L_56)->max_length)))), /*hidden argument*/NULL);
HashAlgorithm_t2624936259 * L_57 = V_0;
ByteU5BU5D_t3397334013* L_58 = VirtFuncInvoker0< ByteU5BU5D_t3397334013* >::Invoke(9 /* System.Byte[] System.Security.Cryptography.HashAlgorithm::get_Hash() */, L_57);
V_12 = L_58;
HashAlgorithm_t2624936259 * L_59 = V_0;
VirtActionInvoker0::Invoke(13 /* System.Void System.Security.Cryptography.HashAlgorithm::Initialize() */, L_59);
V_13 = 1;
goto IL_0188;
}
IL_0173:
{
HashAlgorithm_t2624936259 * L_60 = V_0;
ByteU5BU5D_t3397334013* L_61 = V_12;
ByteU5BU5D_t3397334013* L_62 = V_12;
ByteU5BU5D_t3397334013* L_63 = HashAlgorithm_ComputeHash_m3945506296(L_60, L_61, 0, (((int32_t)((int32_t)(((Il2CppArray *)L_62)->max_length)))), /*hidden argument*/NULL);
V_12 = L_63;
int32_t L_64 = V_13;
V_13 = ((int32_t)((int32_t)L_64+(int32_t)1));
}
IL_0188:
{
int32_t L_65 = V_13;
int32_t L_66 = __this->get__iterations_4();
if ((!(((uint32_t)L_65) == ((uint32_t)L_66))))
{
goto IL_0173;
}
}
{
V_14 = 0;
goto IL_01b2;
}
IL_019d:
{
ByteU5BU5D_t3397334013* L_67 = V_9;
int32_t L_68 = V_14;
ByteU5BU5D_t3397334013* L_69 = V_12;
int32_t L_70 = V_14;
ByteU5BU5D_t3397334013* L_71 = V_12;
int32_t L_72 = ((int32_t)((int32_t)L_70%(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_71)->max_length))))));
uint8_t L_73 = (L_69)->GetAt(static_cast<il2cpp_array_size_t>(L_72));
(L_67)->SetAt(static_cast<il2cpp_array_size_t>(L_68), (uint8_t)L_73);
int32_t L_74 = V_14;
V_14 = ((int32_t)((int32_t)L_74+(int32_t)1));
}
IL_01b2:
{
int32_t L_75 = V_14;
ByteU5BU5D_t3397334013* L_76 = V_9;
if ((!(((uint32_t)L_75) == ((uint32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_76)->max_length))))))))
{
goto IL_019d;
}
}
{
V_15 = 0;
goto IL_01d9;
}
IL_01c5:
{
ByteU5BU5D_t3397334013* L_77 = V_8;
int32_t L_78 = V_15;
int32_t L_79 = V_2;
ByteU5BU5D_t3397334013* L_80 = V_9;
DeriveBytes_Adjust_m105515328(__this, L_77, ((int32_t)((int32_t)L_78*(int32_t)L_79)), L_80, /*hidden argument*/NULL);
int32_t L_81 = V_15;
V_15 = ((int32_t)((int32_t)L_81+(int32_t)1));
}
IL_01d9:
{
int32_t L_82 = V_15;
ByteU5BU5D_t3397334013* L_83 = V_8;
int32_t L_84 = V_2;
if ((!(((uint32_t)L_82) == ((uint32_t)((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_83)->max_length))))/(int32_t)L_84))))))
{
goto IL_01c5;
}
}
{
int32_t L_85 = V_11;
int32_t L_86 = V_10;
if ((!(((uint32_t)L_85) == ((uint32_t)L_86))))
{
goto IL_020d;
}
}
{
ByteU5BU5D_t3397334013* L_87 = V_12;
ByteU5BU5D_t3397334013* L_88 = V_3;
int32_t L_89 = V_11;
int32_t L_90 = V_1;
ByteU5BU5D_t3397334013* L_91 = V_3;
int32_t L_92 = V_11;
int32_t L_93 = V_1;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_87, 0, (Il2CppArray *)(Il2CppArray *)L_88, ((int32_t)((int32_t)((int32_t)((int32_t)L_89-(int32_t)1))*(int32_t)L_90)), ((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_91)->max_length))))-(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_92-(int32_t)1))*(int32_t)L_93)))), /*hidden argument*/NULL);
goto IL_0220;
}
IL_020d:
{
ByteU5BU5D_t3397334013* L_94 = V_12;
ByteU5BU5D_t3397334013* L_95 = V_3;
int32_t L_96 = V_11;
int32_t L_97 = V_1;
ByteU5BU5D_t3397334013* L_98 = V_12;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_94, 0, (Il2CppArray *)(Il2CppArray *)L_95, ((int32_t)((int32_t)((int32_t)((int32_t)L_96-(int32_t)1))*(int32_t)L_97)), (((int32_t)((int32_t)(((Il2CppArray *)L_98)->max_length)))), /*hidden argument*/NULL);
}
IL_0220:
{
int32_t L_99 = V_11;
V_11 = ((int32_t)((int32_t)L_99+(int32_t)1));
}
IL_0226:
{
int32_t L_100 = V_11;
int32_t L_101 = V_10;
if ((((int32_t)L_100) <= ((int32_t)L_101)))
{
goto IL_0141;
}
}
{
ByteU5BU5D_t3397334013* L_102 = V_3;
return L_102;
}
}
// System.Byte[] Mono.Security.X509.PKCS12/DeriveBytes::DeriveKey(System.Int32)
extern Il2CppClass* DeriveBytes_t1740753016_il2cpp_TypeInfo_var;
extern const uint32_t DeriveBytes_DeriveKey_m2059955099_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* DeriveBytes_DeriveKey_m2059955099 (DeriveBytes_t1740753016 * __this, int32_t ___size0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (DeriveBytes_DeriveKey_m2059955099_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(DeriveBytes_t1740753016_il2cpp_TypeInfo_var);
ByteU5BU5D_t3397334013* L_0 = ((DeriveBytes_t1740753016_StaticFields*)DeriveBytes_t1740753016_il2cpp_TypeInfo_var->static_fields)->get_keyDiversifier_0();
int32_t L_1 = ___size0;
ByteU5BU5D_t3397334013* L_2 = DeriveBytes_Derive_m4287063555(__this, L_0, L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.Byte[] Mono.Security.X509.PKCS12/DeriveBytes::DeriveIV(System.Int32)
extern Il2CppClass* DeriveBytes_t1740753016_il2cpp_TypeInfo_var;
extern const uint32_t DeriveBytes_DeriveIV_m3493603215_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* DeriveBytes_DeriveIV_m3493603215 (DeriveBytes_t1740753016 * __this, int32_t ___size0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (DeriveBytes_DeriveIV_m3493603215_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(DeriveBytes_t1740753016_il2cpp_TypeInfo_var);
ByteU5BU5D_t3397334013* L_0 = ((DeriveBytes_t1740753016_StaticFields*)DeriveBytes_t1740753016_il2cpp_TypeInfo_var->static_fields)->get_ivDiversifier_1();
int32_t L_1 = ___size0;
ByteU5BU5D_t3397334013* L_2 = DeriveBytes_Derive_m4287063555(__this, L_0, L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.Byte[] Mono.Security.X509.PKCS12/DeriveBytes::DeriveMAC(System.Int32)
extern Il2CppClass* DeriveBytes_t1740753016_il2cpp_TypeInfo_var;
extern const uint32_t DeriveBytes_DeriveMAC_m2485586011_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* DeriveBytes_DeriveMAC_m2485586011 (DeriveBytes_t1740753016 * __this, int32_t ___size0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (DeriveBytes_DeriveMAC_m2485586011_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(DeriveBytes_t1740753016_il2cpp_TypeInfo_var);
ByteU5BU5D_t3397334013* L_0 = ((DeriveBytes_t1740753016_StaticFields*)DeriveBytes_t1740753016_il2cpp_TypeInfo_var->static_fields)->get_macDiversifier_2();
int32_t L_1 = ___size0;
ByteU5BU5D_t3397334013* L_2 = DeriveBytes_Derive_m4287063555(__this, L_0, L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.Void Mono.Security.X509.SafeBag::.ctor(System.String,Mono.Security.ASN1)
extern "C" void SafeBag__ctor_m3333469582 (SafeBag_t2166702855 * __this, String_t* ___bagOID0, ASN1_t924533535 * ___asn11, const MethodInfo* method)
{
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
String_t* L_0 = ___bagOID0;
__this->set__bagOID_0(L_0);
ASN1_t924533535 * L_1 = ___asn11;
__this->set__asn1_1(L_1);
return;
}
}
// System.String Mono.Security.X509.SafeBag::get_BagOID()
extern "C" String_t* SafeBag_get_BagOID_m2583687334 (SafeBag_t2166702855 * __this, const MethodInfo* method)
{
{
String_t* L_0 = __this->get__bagOID_0();
return L_0;
}
}
// Mono.Security.ASN1 Mono.Security.X509.SafeBag::get_ASN1()
extern "C" ASN1_t924533535 * SafeBag_get_ASN1_m3703295313 (SafeBag_t2166702855 * __this, const MethodInfo* method)
{
{
ASN1_t924533535 * L_0 = __this->get__asn1_1();
return L_0;
}
}
// System.Void Mono.Security.X509.X501::.cctor()
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern Il2CppClass* X501_t349661534_il2cpp_TypeInfo_var;
extern FieldInfo* U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D23_15_FieldInfo_var;
extern FieldInfo* U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D24_16_FieldInfo_var;
extern FieldInfo* U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D25_17_FieldInfo_var;
extern const uint32_t X501__cctor_m3795360380_MetadataUsageId;
extern "C" void X501__cctor_m3795360380 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X501__cctor_m3795360380_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
ByteU5BU5D_t3397334013* L_0 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)3));
(L_0)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)((int32_t)85));
ByteU5BU5D_t3397334013* L_1 = L_0;
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)4);
ByteU5BU5D_t3397334013* L_2 = L_1;
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)6);
((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->set_countryName_0(L_2);
ByteU5BU5D_t3397334013* L_3 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)3));
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)((int32_t)85));
ByteU5BU5D_t3397334013* L_4 = L_3;
(L_4)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)4);
ByteU5BU5D_t3397334013* L_5 = L_4;
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)((int32_t)10));
((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->set_organizationName_1(L_5);
ByteU5BU5D_t3397334013* L_6 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)3));
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)((int32_t)85));
ByteU5BU5D_t3397334013* L_7 = L_6;
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)4);
ByteU5BU5D_t3397334013* L_8 = L_7;
(L_8)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)((int32_t)11));
((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->set_organizationalUnitName_2(L_8);
ByteU5BU5D_t3397334013* L_9 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)3));
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)((int32_t)85));
ByteU5BU5D_t3397334013* L_10 = L_9;
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)4);
ByteU5BU5D_t3397334013* L_11 = L_10;
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)3);
((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->set_commonName_3(L_11);
ByteU5BU5D_t3397334013* L_12 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)3));
(L_12)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)((int32_t)85));
ByteU5BU5D_t3397334013* L_13 = L_12;
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)4);
ByteU5BU5D_t3397334013* L_14 = L_13;
(L_14)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)7);
((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->set_localityName_4(L_14);
ByteU5BU5D_t3397334013* L_15 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)3));
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)((int32_t)85));
ByteU5BU5D_t3397334013* L_16 = L_15;
(L_16)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)4);
ByteU5BU5D_t3397334013* L_17 = L_16;
(L_17)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)8);
((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->set_stateOrProvinceName_5(L_17);
ByteU5BU5D_t3397334013* L_18 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)3));
(L_18)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)((int32_t)85));
ByteU5BU5D_t3397334013* L_19 = L_18;
(L_19)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)4);
ByteU5BU5D_t3397334013* L_20 = L_19;
(L_20)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)((int32_t)9));
((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->set_streetAddress_6(L_20);
ByteU5BU5D_t3397334013* L_21 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)10)));
RuntimeHelpers_InitializeArray_m3920580167(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_21, LoadFieldToken(U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D23_15_FieldInfo_var), /*hidden argument*/NULL);
((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->set_domainComponent_7(L_21);
ByteU5BU5D_t3397334013* L_22 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)10)));
RuntimeHelpers_InitializeArray_m3920580167(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_22, LoadFieldToken(U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D24_16_FieldInfo_var), /*hidden argument*/NULL);
((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->set_userid_8(L_22);
ByteU5BU5D_t3397334013* L_23 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)9)));
RuntimeHelpers_InitializeArray_m3920580167(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_23, LoadFieldToken(U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D25_17_FieldInfo_var), /*hidden argument*/NULL);
((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->set_email_9(L_23);
ByteU5BU5D_t3397334013* L_24 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)3));
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)((int32_t)85));
ByteU5BU5D_t3397334013* L_25 = L_24;
(L_25)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)4);
ByteU5BU5D_t3397334013* L_26 = L_25;
(L_26)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)((int32_t)46));
((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->set_dnQualifier_10(L_26);
ByteU5BU5D_t3397334013* L_27 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)3));
(L_27)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)((int32_t)85));
ByteU5BU5D_t3397334013* L_28 = L_27;
(L_28)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)4);
ByteU5BU5D_t3397334013* L_29 = L_28;
(L_29)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)((int32_t)12));
((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->set_title_11(L_29);
ByteU5BU5D_t3397334013* L_30 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)3));
(L_30)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)((int32_t)85));
ByteU5BU5D_t3397334013* L_31 = L_30;
(L_31)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)4);
ByteU5BU5D_t3397334013* L_32 = L_31;
(L_32)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)4);
((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->set_surname_12(L_32);
ByteU5BU5D_t3397334013* L_33 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)3));
(L_33)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)((int32_t)85));
ByteU5BU5D_t3397334013* L_34 = L_33;
(L_34)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)4);
ByteU5BU5D_t3397334013* L_35 = L_34;
(L_35)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)((int32_t)42));
((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->set_givenName_13(L_35);
ByteU5BU5D_t3397334013* L_36 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)3));
(L_36)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)((int32_t)85));
ByteU5BU5D_t3397334013* L_37 = L_36;
(L_37)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)4);
ByteU5BU5D_t3397334013* L_38 = L_37;
(L_38)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)((int32_t)43));
((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->set_initial_14(L_38);
return;
}
}
// System.String Mono.Security.X509.X501::ToString(Mono.Security.ASN1)
extern Il2CppClass* StringBuilder_t1221177846_il2cpp_TypeInfo_var;
extern Il2CppClass* X501_t349661534_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral811305474;
extern const uint32_t X501_ToString_m1314414886_MetadataUsageId;
extern "C" String_t* X501_ToString_m1314414886 (Il2CppObject * __this /* static, unused */, ASN1_t924533535 * ___seq0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X501_ToString_m1314414886_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
StringBuilder_t1221177846 * V_0 = NULL;
int32_t V_1 = 0;
ASN1_t924533535 * V_2 = 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;
V_1 = 0;
goto IL_003b;
}
IL_000d:
{
ASN1_t924533535 * L_1 = ___seq0;
int32_t L_2 = V_1;
ASN1_t924533535 * L_3 = ASN1_get_Item_m1784978716(L_1, L_2, /*hidden argument*/NULL);
V_2 = L_3;
StringBuilder_t1221177846 * L_4 = V_0;
ASN1_t924533535 * L_5 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(X501_t349661534_il2cpp_TypeInfo_var);
X501_AppendEntry_m2418570900(NULL /*static, unused*/, L_4, L_5, (bool)1, /*hidden argument*/NULL);
int32_t L_6 = V_1;
ASN1_t924533535 * L_7 = ___seq0;
int32_t L_8 = ASN1_get_Count_m404940548(L_7, /*hidden argument*/NULL);
if ((((int32_t)L_6) >= ((int32_t)((int32_t)((int32_t)L_8-(int32_t)1)))))
{
goto IL_0037;
}
}
{
StringBuilder_t1221177846 * L_9 = V_0;
StringBuilder_Append_m3636508479(L_9, _stringLiteral811305474, /*hidden argument*/NULL);
}
IL_0037:
{
int32_t L_10 = V_1;
V_1 = ((int32_t)((int32_t)L_10+(int32_t)1));
}
IL_003b:
{
int32_t L_11 = V_1;
ASN1_t924533535 * L_12 = ___seq0;
int32_t L_13 = ASN1_get_Count_m404940548(L_12, /*hidden argument*/NULL);
if ((((int32_t)L_11) < ((int32_t)L_13)))
{
goto IL_000d;
}
}
{
StringBuilder_t1221177846 * L_14 = V_0;
String_t* L_15 = StringBuilder_ToString_m1507807375(L_14, /*hidden argument*/NULL);
return L_15;
}
}
// System.String Mono.Security.X509.X501::ToString(Mono.Security.ASN1,System.Boolean,System.String,System.Boolean)
extern Il2CppClass* StringBuilder_t1221177846_il2cpp_TypeInfo_var;
extern Il2CppClass* X501_t349661534_il2cpp_TypeInfo_var;
extern const uint32_t X501_ToString_m388469888_MetadataUsageId;
extern "C" String_t* X501_ToString_m388469888 (Il2CppObject * __this /* static, unused */, ASN1_t924533535 * ___seq0, bool ___reversed1, String_t* ___separator2, bool ___quotes3, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X501_ToString_m388469888_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
StringBuilder_t1221177846 * V_0 = NULL;
int32_t V_1 = 0;
ASN1_t924533535 * V_2 = NULL;
int32_t V_3 = 0;
ASN1_t924533535 * V_4 = 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;
bool L_1 = ___reversed1;
if (!L_1)
{
goto IL_0049;
}
}
{
ASN1_t924533535 * L_2 = ___seq0;
int32_t L_3 = ASN1_get_Count_m404940548(L_2, /*hidden argument*/NULL);
V_1 = ((int32_t)((int32_t)L_3-(int32_t)1));
goto IL_003d;
}
IL_001a:
{
ASN1_t924533535 * L_4 = ___seq0;
int32_t L_5 = V_1;
ASN1_t924533535 * L_6 = ASN1_get_Item_m1784978716(L_4, L_5, /*hidden argument*/NULL);
V_2 = L_6;
StringBuilder_t1221177846 * L_7 = V_0;
ASN1_t924533535 * L_8 = V_2;
bool L_9 = ___quotes3;
IL2CPP_RUNTIME_CLASS_INIT(X501_t349661534_il2cpp_TypeInfo_var);
X501_AppendEntry_m2418570900(NULL /*static, unused*/, L_7, L_8, L_9, /*hidden argument*/NULL);
int32_t L_10 = V_1;
if ((((int32_t)L_10) <= ((int32_t)0)))
{
goto IL_0039;
}
}
{
StringBuilder_t1221177846 * L_11 = V_0;
String_t* L_12 = ___separator2;
StringBuilder_Append_m3636508479(L_11, L_12, /*hidden argument*/NULL);
}
IL_0039:
{
int32_t L_13 = V_1;
V_1 = ((int32_t)((int32_t)L_13-(int32_t)1));
}
IL_003d:
{
int32_t L_14 = V_1;
if ((((int32_t)L_14) >= ((int32_t)0)))
{
goto IL_001a;
}
}
{
goto IL_0088;
}
IL_0049:
{
V_3 = 0;
goto IL_007c;
}
IL_0050:
{
ASN1_t924533535 * L_15 = ___seq0;
int32_t L_16 = V_3;
ASN1_t924533535 * L_17 = ASN1_get_Item_m1784978716(L_15, L_16, /*hidden argument*/NULL);
V_4 = L_17;
StringBuilder_t1221177846 * L_18 = V_0;
ASN1_t924533535 * L_19 = V_4;
bool L_20 = ___quotes3;
IL2CPP_RUNTIME_CLASS_INIT(X501_t349661534_il2cpp_TypeInfo_var);
X501_AppendEntry_m2418570900(NULL /*static, unused*/, L_18, L_19, L_20, /*hidden argument*/NULL);
int32_t L_21 = V_3;
ASN1_t924533535 * L_22 = ___seq0;
int32_t L_23 = ASN1_get_Count_m404940548(L_22, /*hidden argument*/NULL);
if ((((int32_t)L_21) >= ((int32_t)((int32_t)((int32_t)L_23-(int32_t)1)))))
{
goto IL_0078;
}
}
{
StringBuilder_t1221177846 * L_24 = V_0;
String_t* L_25 = ___separator2;
StringBuilder_Append_m3636508479(L_24, L_25, /*hidden argument*/NULL);
}
IL_0078:
{
int32_t L_26 = V_3;
V_3 = ((int32_t)((int32_t)L_26+(int32_t)1));
}
IL_007c:
{
int32_t L_27 = V_3;
ASN1_t924533535 * L_28 = ___seq0;
int32_t L_29 = ASN1_get_Count_m404940548(L_28, /*hidden argument*/NULL);
if ((((int32_t)L_27) < ((int32_t)L_29)))
{
goto IL_0050;
}
}
IL_0088:
{
StringBuilder_t1221177846 * L_30 = V_0;
String_t* L_31 = StringBuilder_ToString_m1507807375(L_30, /*hidden argument*/NULL);
return L_31;
}
}
// System.Void Mono.Security.X509.X501::AppendEntry(System.Text.StringBuilder,Mono.Security.ASN1,System.Boolean)
extern Il2CppClass* X501_t349661534_il2cpp_TypeInfo_var;
extern Il2CppClass* StringBuilder_t1221177846_il2cpp_TypeInfo_var;
extern Il2CppClass* Encoding_t663144255_il2cpp_TypeInfo_var;
extern Il2CppClass* CharU5BU5D_t1328083999_il2cpp_TypeInfo_var;
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern FieldInfo* U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D26_18_FieldInfo_var;
extern Il2CppCodeGenString* _stringLiteral502129374;
extern Il2CppCodeGenString* _stringLiteral502129378;
extern Il2CppCodeGenString* _stringLiteral884247239;
extern Il2CppCodeGenString* _stringLiteral1643762002;
extern Il2CppCodeGenString* _stringLiteral502129377;
extern Il2CppCodeGenString* _stringLiteral502129390;
extern Il2CppCodeGenString* _stringLiteral3697352188;
extern Il2CppCodeGenString* _stringLiteral2403276794;
extern Il2CppCodeGenString* _stringLiteral3323522473;
extern Il2CppCodeGenString* _stringLiteral502129368;
extern Il2CppCodeGenString* _stringLiteral944025599;
extern Il2CppCodeGenString* _stringLiteral502129385;
extern Il2CppCodeGenString* _stringLiteral1643762498;
extern Il2CppCodeGenString* _stringLiteral502129370;
extern Il2CppCodeGenString* _stringLiteral502129380;
extern Il2CppCodeGenString* _stringLiteral1307099768;
extern Il2CppCodeGenString* _stringLiteral372029329;
extern Il2CppCodeGenString* _stringLiteral372029310;
extern Il2CppCodeGenString* _stringLiteral372029312;
extern Il2CppCodeGenString* _stringLiteral811305474;
extern const uint32_t X501_AppendEntry_m2418570900_MetadataUsageId;
extern "C" void X501_AppendEntry_m2418570900 (Il2CppObject * __this /* static, unused */, StringBuilder_t1221177846 * ___sb0, ASN1_t924533535 * ___entry1, bool ___quotes2, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X501_AppendEntry_m2418570900_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
ASN1_t924533535 * V_1 = NULL;
ASN1_t924533535 * V_2 = NULL;
ASN1_t924533535 * V_3 = NULL;
String_t* V_4 = NULL;
StringBuilder_t1221177846 * V_5 = NULL;
int32_t V_6 = 0;
CharU5BU5D_t1328083999* V_7 = NULL;
{
V_0 = 0;
goto IL_035f;
}
IL_0007:
{
ASN1_t924533535 * L_0 = ___entry1;
int32_t L_1 = V_0;
ASN1_t924533535 * L_2 = ASN1_get_Item_m1784978716(L_0, L_1, /*hidden argument*/NULL);
V_1 = L_2;
ASN1_t924533535 * L_3 = V_1;
ASN1_t924533535 * L_4 = ASN1_get_Item_m1784978716(L_3, 1, /*hidden argument*/NULL);
V_2 = L_4;
ASN1_t924533535 * L_5 = V_2;
if (L_5)
{
goto IL_0022;
}
}
{
goto IL_035b;
}
IL_0022:
{
ASN1_t924533535 * L_6 = V_1;
ASN1_t924533535 * L_7 = ASN1_get_Item_m1784978716(L_6, 0, /*hidden argument*/NULL);
V_3 = L_7;
ASN1_t924533535 * L_8 = V_3;
if (L_8)
{
goto IL_0035;
}
}
{
goto IL_035b;
}
IL_0035:
{
ASN1_t924533535 * L_9 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(X501_t349661534_il2cpp_TypeInfo_var);
ByteU5BU5D_t3397334013* L_10 = ((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->get_countryName_0();
bool L_11 = ASN1_CompareValue_m774699463(L_9, L_10, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_0056;
}
}
{
StringBuilder_t1221177846 * L_12 = ___sb0;
StringBuilder_Append_m3636508479(L_12, _stringLiteral502129374, /*hidden argument*/NULL);
goto IL_0249;
}
IL_0056:
{
ASN1_t924533535 * L_13 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(X501_t349661534_il2cpp_TypeInfo_var);
ByteU5BU5D_t3397334013* L_14 = ((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->get_organizationName_1();
bool L_15 = ASN1_CompareValue_m774699463(L_13, L_14, /*hidden argument*/NULL);
if (!L_15)
{
goto IL_0077;
}
}
{
StringBuilder_t1221177846 * L_16 = ___sb0;
StringBuilder_Append_m3636508479(L_16, _stringLiteral502129378, /*hidden argument*/NULL);
goto IL_0249;
}
IL_0077:
{
ASN1_t924533535 * L_17 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(X501_t349661534_il2cpp_TypeInfo_var);
ByteU5BU5D_t3397334013* L_18 = ((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->get_organizationalUnitName_2();
bool L_19 = ASN1_CompareValue_m774699463(L_17, L_18, /*hidden argument*/NULL);
if (!L_19)
{
goto IL_0098;
}
}
{
StringBuilder_t1221177846 * L_20 = ___sb0;
StringBuilder_Append_m3636508479(L_20, _stringLiteral884247239, /*hidden argument*/NULL);
goto IL_0249;
}
IL_0098:
{
ASN1_t924533535 * L_21 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(X501_t349661534_il2cpp_TypeInfo_var);
ByteU5BU5D_t3397334013* L_22 = ((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->get_commonName_3();
bool L_23 = ASN1_CompareValue_m774699463(L_21, L_22, /*hidden argument*/NULL);
if (!L_23)
{
goto IL_00b9;
}
}
{
StringBuilder_t1221177846 * L_24 = ___sb0;
StringBuilder_Append_m3636508479(L_24, _stringLiteral1643762002, /*hidden argument*/NULL);
goto IL_0249;
}
IL_00b9:
{
ASN1_t924533535 * L_25 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(X501_t349661534_il2cpp_TypeInfo_var);
ByteU5BU5D_t3397334013* L_26 = ((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->get_localityName_4();
bool L_27 = ASN1_CompareValue_m774699463(L_25, L_26, /*hidden argument*/NULL);
if (!L_27)
{
goto IL_00da;
}
}
{
StringBuilder_t1221177846 * L_28 = ___sb0;
StringBuilder_Append_m3636508479(L_28, _stringLiteral502129377, /*hidden argument*/NULL);
goto IL_0249;
}
IL_00da:
{
ASN1_t924533535 * L_29 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(X501_t349661534_il2cpp_TypeInfo_var);
ByteU5BU5D_t3397334013* L_30 = ((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->get_stateOrProvinceName_5();
bool L_31 = ASN1_CompareValue_m774699463(L_29, L_30, /*hidden argument*/NULL);
if (!L_31)
{
goto IL_00fb;
}
}
{
StringBuilder_t1221177846 * L_32 = ___sb0;
StringBuilder_Append_m3636508479(L_32, _stringLiteral502129390, /*hidden argument*/NULL);
goto IL_0249;
}
IL_00fb:
{
ASN1_t924533535 * L_33 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(X501_t349661534_il2cpp_TypeInfo_var);
ByteU5BU5D_t3397334013* L_34 = ((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->get_streetAddress_6();
bool L_35 = ASN1_CompareValue_m774699463(L_33, L_34, /*hidden argument*/NULL);
if (!L_35)
{
goto IL_011c;
}
}
{
StringBuilder_t1221177846 * L_36 = ___sb0;
StringBuilder_Append_m3636508479(L_36, _stringLiteral3697352188, /*hidden argument*/NULL);
goto IL_0249;
}
IL_011c:
{
ASN1_t924533535 * L_37 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(X501_t349661534_il2cpp_TypeInfo_var);
ByteU5BU5D_t3397334013* L_38 = ((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->get_domainComponent_7();
bool L_39 = ASN1_CompareValue_m774699463(L_37, L_38, /*hidden argument*/NULL);
if (!L_39)
{
goto IL_013d;
}
}
{
StringBuilder_t1221177846 * L_40 = ___sb0;
StringBuilder_Append_m3636508479(L_40, _stringLiteral2403276794, /*hidden argument*/NULL);
goto IL_0249;
}
IL_013d:
{
ASN1_t924533535 * L_41 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(X501_t349661534_il2cpp_TypeInfo_var);
ByteU5BU5D_t3397334013* L_42 = ((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->get_userid_8();
bool L_43 = ASN1_CompareValue_m774699463(L_41, L_42, /*hidden argument*/NULL);
if (!L_43)
{
goto IL_015e;
}
}
{
StringBuilder_t1221177846 * L_44 = ___sb0;
StringBuilder_Append_m3636508479(L_44, _stringLiteral3323522473, /*hidden argument*/NULL);
goto IL_0249;
}
IL_015e:
{
ASN1_t924533535 * L_45 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(X501_t349661534_il2cpp_TypeInfo_var);
ByteU5BU5D_t3397334013* L_46 = ((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->get_email_9();
bool L_47 = ASN1_CompareValue_m774699463(L_45, L_46, /*hidden argument*/NULL);
if (!L_47)
{
goto IL_017f;
}
}
{
StringBuilder_t1221177846 * L_48 = ___sb0;
StringBuilder_Append_m3636508479(L_48, _stringLiteral502129368, /*hidden argument*/NULL);
goto IL_0249;
}
IL_017f:
{
ASN1_t924533535 * L_49 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(X501_t349661534_il2cpp_TypeInfo_var);
ByteU5BU5D_t3397334013* L_50 = ((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->get_dnQualifier_10();
bool L_51 = ASN1_CompareValue_m774699463(L_49, L_50, /*hidden argument*/NULL);
if (!L_51)
{
goto IL_01a0;
}
}
{
StringBuilder_t1221177846 * L_52 = ___sb0;
StringBuilder_Append_m3636508479(L_52, _stringLiteral944025599, /*hidden argument*/NULL);
goto IL_0249;
}
IL_01a0:
{
ASN1_t924533535 * L_53 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(X501_t349661534_il2cpp_TypeInfo_var);
ByteU5BU5D_t3397334013* L_54 = ((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->get_title_11();
bool L_55 = ASN1_CompareValue_m774699463(L_53, L_54, /*hidden argument*/NULL);
if (!L_55)
{
goto IL_01c1;
}
}
{
StringBuilder_t1221177846 * L_56 = ___sb0;
StringBuilder_Append_m3636508479(L_56, _stringLiteral502129385, /*hidden argument*/NULL);
goto IL_0249;
}
IL_01c1:
{
ASN1_t924533535 * L_57 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(X501_t349661534_il2cpp_TypeInfo_var);
ByteU5BU5D_t3397334013* L_58 = ((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->get_surname_12();
bool L_59 = ASN1_CompareValue_m774699463(L_57, L_58, /*hidden argument*/NULL);
if (!L_59)
{
goto IL_01e2;
}
}
{
StringBuilder_t1221177846 * L_60 = ___sb0;
StringBuilder_Append_m3636508479(L_60, _stringLiteral1643762498, /*hidden argument*/NULL);
goto IL_0249;
}
IL_01e2:
{
ASN1_t924533535 * L_61 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(X501_t349661534_il2cpp_TypeInfo_var);
ByteU5BU5D_t3397334013* L_62 = ((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->get_givenName_13();
bool L_63 = ASN1_CompareValue_m774699463(L_61, L_62, /*hidden argument*/NULL);
if (!L_63)
{
goto IL_0203;
}
}
{
StringBuilder_t1221177846 * L_64 = ___sb0;
StringBuilder_Append_m3636508479(L_64, _stringLiteral502129370, /*hidden argument*/NULL);
goto IL_0249;
}
IL_0203:
{
ASN1_t924533535 * L_65 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(X501_t349661534_il2cpp_TypeInfo_var);
ByteU5BU5D_t3397334013* L_66 = ((X501_t349661534_StaticFields*)X501_t349661534_il2cpp_TypeInfo_var->static_fields)->get_initial_14();
bool L_67 = ASN1_CompareValue_m774699463(L_65, L_66, /*hidden argument*/NULL);
if (!L_67)
{
goto IL_0224;
}
}
{
StringBuilder_t1221177846 * L_68 = ___sb0;
StringBuilder_Append_m3636508479(L_68, _stringLiteral502129380, /*hidden argument*/NULL);
goto IL_0249;
}
IL_0224:
{
StringBuilder_t1221177846 * L_69 = ___sb0;
StringBuilder_Append_m3636508479(L_69, _stringLiteral1307099768, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_70 = ___sb0;
ASN1_t924533535 * L_71 = V_3;
String_t* L_72 = ASN1Convert_ToOid_m2695991795(NULL /*static, unused*/, L_71, /*hidden argument*/NULL);
StringBuilder_Append_m3636508479(L_70, L_72, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_73 = ___sb0;
StringBuilder_Append_m3636508479(L_73, _stringLiteral372029329, /*hidden argument*/NULL);
}
IL_0249:
{
V_4 = (String_t*)NULL;
ASN1_t924533535 * L_74 = V_2;
uint8_t L_75 = ASN1_get_Tag_m1462340837(L_74, /*hidden argument*/NULL);
if ((!(((uint32_t)L_75) == ((uint32_t)((int32_t)30)))))
{
goto IL_029d;
}
}
{
StringBuilder_t1221177846 * L_76 = (StringBuilder_t1221177846 *)il2cpp_codegen_object_new(StringBuilder_t1221177846_il2cpp_TypeInfo_var);
StringBuilder__ctor_m3946851802(L_76, /*hidden argument*/NULL);
V_5 = L_76;
V_6 = 1;
goto IL_0280;
}
IL_0268:
{
StringBuilder_t1221177846 * L_77 = V_5;
ASN1_t924533535 * L_78 = V_2;
ByteU5BU5D_t3397334013* L_79 = ASN1_get_Value_m2669044878(L_78, /*hidden argument*/NULL);
int32_t L_80 = V_6;
int32_t L_81 = L_80;
uint8_t L_82 = (L_79)->GetAt(static_cast<il2cpp_array_size_t>(L_81));
StringBuilder_Append_m3618697540(L_77, (((int32_t)((uint16_t)L_82))), /*hidden argument*/NULL);
int32_t L_83 = V_6;
V_6 = ((int32_t)((int32_t)L_83+(int32_t)2));
}
IL_0280:
{
int32_t L_84 = V_6;
ASN1_t924533535 * L_85 = V_2;
ByteU5BU5D_t3397334013* L_86 = ASN1_get_Value_m2669044878(L_85, /*hidden argument*/NULL);
if ((((int32_t)L_84) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_86)->max_length)))))))
{
goto IL_0268;
}
}
{
StringBuilder_t1221177846 * L_87 = V_5;
String_t* L_88 = StringBuilder_ToString_m1507807375(L_87, /*hidden argument*/NULL);
V_4 = L_88;
goto IL_0338;
}
IL_029d:
{
ASN1_t924533535 * L_89 = V_2;
uint8_t L_90 = ASN1_get_Tag_m1462340837(L_89, /*hidden argument*/NULL);
if ((!(((uint32_t)L_90) == ((uint32_t)((int32_t)20)))))
{
goto IL_02c1;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Encoding_t663144255_il2cpp_TypeInfo_var);
Encoding_t663144255 * L_91 = Encoding_get_UTF7_m3507153546(NULL /*static, unused*/, /*hidden argument*/NULL);
ASN1_t924533535 * L_92 = V_2;
ByteU5BU5D_t3397334013* L_93 = ASN1_get_Value_m2669044878(L_92, /*hidden argument*/NULL);
String_t* L_94 = VirtFuncInvoker1< String_t*, ByteU5BU5D_t3397334013* >::Invoke(22 /* System.String System.Text.Encoding::GetString(System.Byte[]) */, L_91, L_93);
V_4 = L_94;
goto IL_02d3;
}
IL_02c1:
{
IL2CPP_RUNTIME_CLASS_INIT(Encoding_t663144255_il2cpp_TypeInfo_var);
Encoding_t663144255 * L_95 = Encoding_get_UTF8_m1752852937(NULL /*static, unused*/, /*hidden argument*/NULL);
ASN1_t924533535 * L_96 = V_2;
ByteU5BU5D_t3397334013* L_97 = ASN1_get_Value_m2669044878(L_96, /*hidden argument*/NULL);
String_t* L_98 = VirtFuncInvoker1< String_t*, ByteU5BU5D_t3397334013* >::Invoke(22 /* System.String System.Text.Encoding::GetString(System.Byte[]) */, L_95, L_97);
V_4 = L_98;
}
IL_02d3:
{
CharU5BU5D_t1328083999* L_99 = ((CharU5BU5D_t1328083999*)SZArrayNew(CharU5BU5D_t1328083999_il2cpp_TypeInfo_var, (uint32_t)7));
RuntimeHelpers_InitializeArray_m3920580167(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_99, LoadFieldToken(U3CPrivateImplementationDetailsU3E_t1486305137____U24U24fieldU2D26_18_FieldInfo_var), /*hidden argument*/NULL);
V_7 = L_99;
bool L_100 = ___quotes2;
if (!L_100)
{
goto IL_0338;
}
}
{
String_t* L_101 = V_4;
CharU5BU5D_t1328083999* L_102 = V_7;
String_t* L_103 = V_4;
int32_t L_104 = String_get_Length_m1606060069(L_103, /*hidden argument*/NULL);
int32_t L_105 = String_IndexOfAny_m2287869096(L_101, L_102, 0, L_104, /*hidden argument*/NULL);
if ((((int32_t)L_105) > ((int32_t)0)))
{
goto IL_0325;
}
}
{
String_t* L_106 = V_4;
bool L_107 = String_StartsWith_m1841920685(L_106, _stringLiteral372029310, /*hidden argument*/NULL);
if (L_107)
{
goto IL_0325;
}
}
{
String_t* L_108 = V_4;
bool L_109 = String_EndsWith_m568509976(L_108, _stringLiteral372029310, /*hidden argument*/NULL);
if (!L_109)
{
goto IL_0338;
}
}
IL_0325:
{
String_t* L_110 = V_4;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_111 = String_Concat_m612901809(NULL /*static, unused*/, _stringLiteral372029312, L_110, _stringLiteral372029312, /*hidden argument*/NULL);
V_4 = L_111;
}
IL_0338:
{
StringBuilder_t1221177846 * L_112 = ___sb0;
String_t* L_113 = V_4;
StringBuilder_Append_m3636508479(L_112, L_113, /*hidden argument*/NULL);
int32_t L_114 = V_0;
ASN1_t924533535 * L_115 = ___entry1;
int32_t L_116 = ASN1_get_Count_m404940548(L_115, /*hidden argument*/NULL);
if ((((int32_t)L_114) >= ((int32_t)((int32_t)((int32_t)L_116-(int32_t)1)))))
{
goto IL_035b;
}
}
{
StringBuilder_t1221177846 * L_117 = ___sb0;
StringBuilder_Append_m3636508479(L_117, _stringLiteral811305474, /*hidden argument*/NULL);
}
IL_035b:
{
int32_t L_118 = V_0;
V_0 = ((int32_t)((int32_t)L_118+(int32_t)1));
}
IL_035f:
{
int32_t L_119 = V_0;
ASN1_t924533535 * L_120 = ___entry1;
int32_t L_121 = ASN1_get_Count_m404940548(L_120, /*hidden argument*/NULL);
if ((((int32_t)L_119) < ((int32_t)L_121)))
{
goto IL_0007;
}
}
{
return;
}
}
// System.Void Mono.Security.X509.X509Certificate::.ctor(System.Byte[])
extern Il2CppClass* X509Certificate_t324051957_il2cpp_TypeInfo_var;
extern Il2CppClass* Exception_t1927440687_il2cpp_TypeInfo_var;
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral1801507049;
extern const uint32_t X509Certificate__ctor_m1606765153_MetadataUsageId;
extern "C" void X509Certificate__ctor_m1606765153 (X509Certificate_t324051957 * __this, ByteU5BU5D_t3397334013* ___data0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X509Certificate__ctor_m1606765153_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
Exception_t1927440687 * 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);
ByteU5BU5D_t3397334013* L_0 = ___data0;
if (!L_0)
{
goto IL_004a;
}
}
{
ByteU5BU5D_t3397334013* L_1 = ___data0;
if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_1)->max_length))))) <= ((int32_t)0)))
{
goto IL_0043;
}
}
{
ByteU5BU5D_t3397334013* L_2 = ___data0;
int32_t L_3 = 0;
uint8_t L_4 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
if ((((int32_t)L_4) == ((int32_t)((int32_t)48))))
{
goto IL_0043;
}
}
IL_001f:
try
{ // begin try (depth: 1)
ByteU5BU5D_t3397334013* L_5 = ___data0;
IL2CPP_RUNTIME_CLASS_INIT(X509Certificate_t324051957_il2cpp_TypeInfo_var);
ByteU5BU5D_t3397334013* L_6 = X509Certificate_PEM_m227334751(NULL /*static, unused*/, _stringLiteral1801507049, L_5, /*hidden argument*/NULL);
___data0 = L_6;
goto IL_0043;
} // 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_0031;
throw e;
}
CATCH_0031:
{ // begin catch(System.Exception)
{
V_0 = ((Exception_t1927440687 *)__exception_local);
IL2CPP_RUNTIME_CLASS_INIT(X509Certificate_t324051957_il2cpp_TypeInfo_var);
String_t* L_7 = ((X509Certificate_t324051957_StaticFields*)X509Certificate_t324051957_il2cpp_TypeInfo_var->static_fields)->get_encoding_error_20();
Exception_t1927440687 * L_8 = V_0;
CryptographicException_t3349726436 * L_9 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m1012314467(L_9, L_7, L_8, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_9);
}
IL_003e:
{
goto IL_0043;
}
} // end catch (depth: 1)
IL_0043:
{
ByteU5BU5D_t3397334013* L_10 = ___data0;
X509Certificate_Parse_m732579562(__this, L_10, /*hidden argument*/NULL);
}
IL_004a:
{
return;
}
}
// System.Void Mono.Security.X509.X509Certificate::.cctor()
extern Il2CppClass* X509Certificate_t324051957_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral2144690115;
extern const uint32_t X509Certificate__cctor_m1192988565_MetadataUsageId;
extern "C" void X509Certificate__cctor_m1192988565 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X509Certificate__cctor_m1192988565_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
String_t* L_0 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral2144690115, /*hidden argument*/NULL);
((X509Certificate_t324051957_StaticFields*)X509Certificate_t324051957_il2cpp_TypeInfo_var->static_fields)->set_encoding_error_20(L_0);
return;
}
}
// System.Void Mono.Security.X509.X509Certificate::Parse(System.Byte[])
extern Il2CppClass* ASN1_t924533535_il2cpp_TypeInfo_var;
extern Il2CppClass* X509Certificate_t324051957_il2cpp_TypeInfo_var;
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppClass* X501_t349661534_il2cpp_TypeInfo_var;
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern Il2CppClass* X509ExtensionCollection_t1640144839_il2cpp_TypeInfo_var;
extern Il2CppClass* Exception_t1927440687_il2cpp_TypeInfo_var;
extern const uint32_t X509Certificate_Parse_m732579562_MetadataUsageId;
extern "C" void X509Certificate_Parse_m732579562 (X509Certificate_t324051957 * __this, ByteU5BU5D_t3397334013* ___data0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X509Certificate_Parse_m732579562_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ASN1_t924533535 * V_0 = NULL;
int32_t V_1 = 0;
ASN1_t924533535 * V_2 = NULL;
ASN1_t924533535 * V_3 = NULL;
ASN1_t924533535 * V_4 = NULL;
ASN1_t924533535 * V_5 = NULL;
ASN1_t924533535 * V_6 = NULL;
ASN1_t924533535 * V_7 = NULL;
ASN1_t924533535 * V_8 = NULL;
ASN1_t924533535 * V_9 = NULL;
ASN1_t924533535 * V_10 = NULL;
ASN1_t924533535 * V_11 = NULL;
int32_t V_12 = 0;
ByteU5BU5D_t3397334013* V_13 = NULL;
ASN1_t924533535 * V_14 = NULL;
ASN1_t924533535 * V_15 = NULL;
ASN1_t924533535 * V_16 = NULL;
Exception_t1927440687 * V_17 = 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);
X509Certificate_t324051957 * G_B11_0 = NULL;
X509Certificate_t324051957 * G_B10_0 = NULL;
ByteU5BU5D_t3397334013* G_B12_0 = NULL;
X509Certificate_t324051957 * G_B12_1 = NULL;
IL_0000:
try
{ // begin try (depth: 1)
{
ByteU5BU5D_t3397334013* L_0 = ___data0;
ASN1_t924533535 * L_1 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3359093803(L_1, L_0, /*hidden argument*/NULL);
__this->set_decoder_0(L_1);
ASN1_t924533535 * L_2 = __this->get_decoder_0();
uint8_t L_3 = ASN1_get_Tag_m1462340837(L_2, /*hidden argument*/NULL);
if ((((int32_t)L_3) == ((int32_t)((int32_t)48))))
{
goto IL_0029;
}
}
IL_001e:
{
IL2CPP_RUNTIME_CLASS_INIT(X509Certificate_t324051957_il2cpp_TypeInfo_var);
String_t* L_4 = ((X509Certificate_t324051957_StaticFields*)X509Certificate_t324051957_il2cpp_TypeInfo_var->static_fields)->get_encoding_error_20();
CryptographicException_t3349726436 * L_5 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_5, L_4, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5);
}
IL_0029:
{
ASN1_t924533535 * L_6 = __this->get_decoder_0();
ASN1_t924533535 * L_7 = ASN1_get_Item_m1784978716(L_6, 0, /*hidden argument*/NULL);
uint8_t L_8 = ASN1_get_Tag_m1462340837(L_7, /*hidden argument*/NULL);
if ((((int32_t)L_8) == ((int32_t)((int32_t)48))))
{
goto IL_004c;
}
}
IL_0041:
{
IL2CPP_RUNTIME_CLASS_INIT(X509Certificate_t324051957_il2cpp_TypeInfo_var);
String_t* L_9 = ((X509Certificate_t324051957_StaticFields*)X509Certificate_t324051957_il2cpp_TypeInfo_var->static_fields)->get_encoding_error_20();
CryptographicException_t3349726436 * L_10 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_10, L_9, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_10);
}
IL_004c:
{
ASN1_t924533535 * L_11 = __this->get_decoder_0();
ASN1_t924533535 * L_12 = ASN1_get_Item_m1784978716(L_11, 0, /*hidden argument*/NULL);
V_0 = L_12;
V_1 = 0;
ASN1_t924533535 * L_13 = __this->get_decoder_0();
ASN1_t924533535 * L_14 = ASN1_get_Item_m1784978716(L_13, 0, /*hidden argument*/NULL);
int32_t L_15 = V_1;
ASN1_t924533535 * L_16 = ASN1_get_Item_m1784978716(L_14, L_15, /*hidden argument*/NULL);
V_2 = L_16;
__this->set_version_15(1);
ASN1_t924533535 * L_17 = V_2;
uint8_t L_18 = ASN1_get_Tag_m1462340837(L_17, /*hidden argument*/NULL);
if ((!(((uint32_t)L_18) == ((uint32_t)((int32_t)160)))))
{
goto IL_00b0;
}
}
IL_0085:
{
ASN1_t924533535 * L_19 = V_2;
int32_t L_20 = ASN1_get_Count_m404940548(L_19, /*hidden argument*/NULL);
if ((((int32_t)L_20) <= ((int32_t)0)))
{
goto IL_00b0;
}
}
IL_0091:
{
int32_t L_21 = __this->get_version_15();
ASN1_t924533535 * L_22 = V_2;
ASN1_t924533535 * L_23 = ASN1_get_Item_m1784978716(L_22, 0, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_24 = ASN1_get_Value_m2669044878(L_23, /*hidden argument*/NULL);
int32_t L_25 = 0;
uint8_t L_26 = (L_24)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
__this->set_version_15(((int32_t)((int32_t)L_21+(int32_t)L_26)));
int32_t L_27 = V_1;
V_1 = ((int32_t)((int32_t)L_27+(int32_t)1));
}
IL_00b0:
{
ASN1_t924533535 * L_28 = __this->get_decoder_0();
ASN1_t924533535 * L_29 = ASN1_get_Item_m1784978716(L_28, 0, /*hidden argument*/NULL);
int32_t L_30 = V_1;
int32_t L_31 = L_30;
V_1 = ((int32_t)((int32_t)L_31+(int32_t)1));
ASN1_t924533535 * L_32 = ASN1_get_Item_m1784978716(L_29, L_31, /*hidden argument*/NULL);
V_3 = L_32;
ASN1_t924533535 * L_33 = V_3;
uint8_t L_34 = ASN1_get_Tag_m1462340837(L_33, /*hidden argument*/NULL);
if ((((int32_t)L_34) == ((int32_t)2)))
{
goto IL_00de;
}
}
IL_00d3:
{
IL2CPP_RUNTIME_CLASS_INIT(X509Certificate_t324051957_il2cpp_TypeInfo_var);
String_t* L_35 = ((X509Certificate_t324051957_StaticFields*)X509Certificate_t324051957_il2cpp_TypeInfo_var->static_fields)->get_encoding_error_20();
CryptographicException_t3349726436 * L_36 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_36, L_35, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_36);
}
IL_00de:
{
ASN1_t924533535 * L_37 = V_3;
ByteU5BU5D_t3397334013* L_38 = ASN1_get_Value_m2669044878(L_37, /*hidden argument*/NULL);
__this->set_serialnumber_16(L_38);
ByteU5BU5D_t3397334013* L_39 = __this->get_serialnumber_16();
ByteU5BU5D_t3397334013* L_40 = __this->get_serialnumber_16();
Array_Reverse_m3433347928(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_39, 0, (((int32_t)((int32_t)(((Il2CppArray *)L_40)->max_length)))), /*hidden argument*/NULL);
int32_t L_41 = V_1;
V_1 = ((int32_t)((int32_t)L_41+(int32_t)1));
ASN1_t924533535 * L_42 = V_0;
int32_t L_43 = V_1;
int32_t L_44 = L_43;
V_1 = ((int32_t)((int32_t)L_44+(int32_t)1));
ASN1_t924533535 * L_45 = ASN1_Element_m2600236165(L_42, L_44, ((int32_t)48), /*hidden argument*/NULL);
__this->set_issuer_4(L_45);
ASN1_t924533535 * L_46 = __this->get_issuer_4();
IL2CPP_RUNTIME_CLASS_INIT(X501_t349661534_il2cpp_TypeInfo_var);
String_t* L_47 = X501_ToString_m1314414886(NULL /*static, unused*/, L_46, /*hidden argument*/NULL);
__this->set_m_issuername_5(L_47);
ASN1_t924533535 * L_48 = V_0;
int32_t L_49 = V_1;
int32_t L_50 = L_49;
V_1 = ((int32_t)((int32_t)L_50+(int32_t)1));
ASN1_t924533535 * L_51 = ASN1_Element_m2600236165(L_48, L_50, ((int32_t)48), /*hidden argument*/NULL);
V_4 = L_51;
ASN1_t924533535 * L_52 = V_4;
ASN1_t924533535 * L_53 = ASN1_get_Item_m1784978716(L_52, 0, /*hidden argument*/NULL);
V_5 = L_53;
ASN1_t924533535 * L_54 = V_5;
DateTime_t693205669 L_55 = ASN1Convert_ToDateTime_m2613700036(NULL /*static, unused*/, L_54, /*hidden argument*/NULL);
__this->set_m_from_2(L_55);
ASN1_t924533535 * L_56 = V_4;
ASN1_t924533535 * L_57 = ASN1_get_Item_m1784978716(L_56, 1, /*hidden argument*/NULL);
V_6 = L_57;
ASN1_t924533535 * L_58 = V_6;
DateTime_t693205669 L_59 = ASN1Convert_ToDateTime_m2613700036(NULL /*static, unused*/, L_58, /*hidden argument*/NULL);
__this->set_m_until_3(L_59);
ASN1_t924533535 * L_60 = V_0;
int32_t L_61 = V_1;
int32_t L_62 = L_61;
V_1 = ((int32_t)((int32_t)L_62+(int32_t)1));
ASN1_t924533535 * L_63 = ASN1_Element_m2600236165(L_60, L_62, ((int32_t)48), /*hidden argument*/NULL);
__this->set_subject_8(L_63);
ASN1_t924533535 * L_64 = __this->get_subject_8();
String_t* L_65 = X501_ToString_m1314414886(NULL /*static, unused*/, L_64, /*hidden argument*/NULL);
__this->set_m_subject_9(L_65);
ASN1_t924533535 * L_66 = V_0;
int32_t L_67 = V_1;
int32_t L_68 = L_67;
V_1 = ((int32_t)((int32_t)L_68+(int32_t)1));
ASN1_t924533535 * L_69 = ASN1_Element_m2600236165(L_66, L_68, ((int32_t)48), /*hidden argument*/NULL);
V_7 = L_69;
ASN1_t924533535 * L_70 = V_7;
ASN1_t924533535 * L_71 = ASN1_Element_m2600236165(L_70, 0, ((int32_t)48), /*hidden argument*/NULL);
V_8 = L_71;
ASN1_t924533535 * L_72 = V_8;
ASN1_t924533535 * L_73 = ASN1_Element_m2600236165(L_72, 0, 6, /*hidden argument*/NULL);
V_9 = L_73;
ASN1_t924533535 * L_74 = V_9;
String_t* L_75 = ASN1Convert_ToOid_m2695991795(NULL /*static, unused*/, L_74, /*hidden argument*/NULL);
__this->set_m_keyalgo_6(L_75);
ASN1_t924533535 * L_76 = V_8;
ASN1_t924533535 * L_77 = ASN1_get_Item_m1784978716(L_76, 1, /*hidden argument*/NULL);
V_10 = L_77;
ASN1_t924533535 * L_78 = V_8;
int32_t L_79 = ASN1_get_Count_m404940548(L_78, /*hidden argument*/NULL);
G_B10_0 = __this;
if ((((int32_t)L_79) <= ((int32_t)1)))
{
G_B11_0 = __this;
goto IL_01de;
}
}
IL_01d2:
{
ASN1_t924533535 * L_80 = V_10;
ByteU5BU5D_t3397334013* L_81 = VirtFuncInvoker0< ByteU5BU5D_t3397334013* >::Invoke(4 /* System.Byte[] Mono.Security.ASN1::GetBytes() */, L_80);
G_B12_0 = L_81;
G_B12_1 = G_B10_0;
goto IL_01df;
}
IL_01de:
{
G_B12_0 = ((ByteU5BU5D_t3397334013*)(NULL));
G_B12_1 = G_B11_0;
}
IL_01df:
{
G_B12_1->set_m_keyalgoparams_7(G_B12_0);
ASN1_t924533535 * L_82 = V_7;
ASN1_t924533535 * L_83 = ASN1_Element_m2600236165(L_82, 1, 3, /*hidden argument*/NULL);
V_11 = L_83;
ASN1_t924533535 * L_84 = V_11;
int32_t L_85 = ASN1_get_Length_m3359111015(L_84, /*hidden argument*/NULL);
V_12 = ((int32_t)((int32_t)L_85-(int32_t)1));
int32_t L_86 = V_12;
__this->set_m_publickey_10(((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_86)));
ASN1_t924533535 * L_87 = V_11;
ByteU5BU5D_t3397334013* L_88 = ASN1_get_Value_m2669044878(L_87, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_89 = __this->get_m_publickey_10();
int32_t L_90 = V_12;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_88, 1, (Il2CppArray *)(Il2CppArray *)L_89, 0, L_90, /*hidden argument*/NULL);
ASN1_t924533535 * L_91 = __this->get_decoder_0();
ASN1_t924533535 * L_92 = ASN1_get_Item_m1784978716(L_91, 2, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_93 = ASN1_get_Value_m2669044878(L_92, /*hidden argument*/NULL);
V_13 = L_93;
ByteU5BU5D_t3397334013* L_94 = V_13;
__this->set_signature_11(((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_94)->max_length))))-(int32_t)1)))));
ByteU5BU5D_t3397334013* L_95 = V_13;
ByteU5BU5D_t3397334013* L_96 = __this->get_signature_11();
ByteU5BU5D_t3397334013* L_97 = __this->get_signature_11();
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_95, 1, (Il2CppArray *)(Il2CppArray *)L_96, 0, (((int32_t)((int32_t)(((Il2CppArray *)L_97)->max_length)))), /*hidden argument*/NULL);
ASN1_t924533535 * L_98 = __this->get_decoder_0();
ASN1_t924533535 * L_99 = ASN1_get_Item_m1784978716(L_98, 1, /*hidden argument*/NULL);
V_8 = L_99;
ASN1_t924533535 * L_100 = V_8;
ASN1_t924533535 * L_101 = ASN1_Element_m2600236165(L_100, 0, 6, /*hidden argument*/NULL);
V_9 = L_101;
ASN1_t924533535 * L_102 = V_9;
String_t* L_103 = ASN1Convert_ToOid_m2695991795(NULL /*static, unused*/, L_102, /*hidden argument*/NULL);
__this->set_m_signaturealgo_12(L_103);
ASN1_t924533535 * L_104 = V_8;
ASN1_t924533535 * L_105 = ASN1_get_Item_m1784978716(L_104, 1, /*hidden argument*/NULL);
V_10 = L_105;
ASN1_t924533535 * L_106 = V_10;
if (!L_106)
{
goto IL_02a1;
}
}
IL_028f:
{
ASN1_t924533535 * L_107 = V_10;
ByteU5BU5D_t3397334013* L_108 = VirtFuncInvoker0< ByteU5BU5D_t3397334013* >::Invoke(4 /* System.Byte[] Mono.Security.ASN1::GetBytes() */, L_107);
__this->set_m_signaturealgoparams_13(L_108);
goto IL_02a8;
}
IL_02a1:
{
__this->set_m_signaturealgoparams_13((ByteU5BU5D_t3397334013*)NULL);
}
IL_02a8:
{
ASN1_t924533535 * L_109 = V_0;
int32_t L_110 = V_1;
ASN1_t924533535 * L_111 = ASN1_Element_m2600236165(L_109, L_110, ((int32_t)129), /*hidden argument*/NULL);
V_14 = L_111;
ASN1_t924533535 * L_112 = V_14;
if (!L_112)
{
goto IL_02ce;
}
}
IL_02bd:
{
int32_t L_113 = V_1;
V_1 = ((int32_t)((int32_t)L_113+(int32_t)1));
ASN1_t924533535 * L_114 = V_14;
ByteU5BU5D_t3397334013* L_115 = ASN1_get_Value_m2669044878(L_114, /*hidden argument*/NULL);
__this->set_issuerUniqueID_17(L_115);
}
IL_02ce:
{
ASN1_t924533535 * L_116 = V_0;
int32_t L_117 = V_1;
ASN1_t924533535 * L_118 = ASN1_Element_m2600236165(L_116, L_117, ((int32_t)130), /*hidden argument*/NULL);
V_15 = L_118;
ASN1_t924533535 * L_119 = V_15;
if (!L_119)
{
goto IL_02f4;
}
}
IL_02e3:
{
int32_t L_120 = V_1;
V_1 = ((int32_t)((int32_t)L_120+(int32_t)1));
ASN1_t924533535 * L_121 = V_15;
ByteU5BU5D_t3397334013* L_122 = ASN1_get_Value_m2669044878(L_121, /*hidden argument*/NULL);
__this->set_subjectUniqueID_18(L_122);
}
IL_02f4:
{
ASN1_t924533535 * L_123 = V_0;
int32_t L_124 = V_1;
ASN1_t924533535 * L_125 = ASN1_Element_m2600236165(L_123, L_124, ((int32_t)163), /*hidden argument*/NULL);
V_16 = L_125;
ASN1_t924533535 * L_126 = V_16;
if (!L_126)
{
goto IL_032e;
}
}
IL_0309:
{
ASN1_t924533535 * L_127 = V_16;
int32_t L_128 = ASN1_get_Count_m404940548(L_127, /*hidden argument*/NULL);
if ((!(((uint32_t)L_128) == ((uint32_t)1))))
{
goto IL_032e;
}
}
IL_0316:
{
ASN1_t924533535 * L_129 = V_16;
ASN1_t924533535 * L_130 = ASN1_get_Item_m1784978716(L_129, 0, /*hidden argument*/NULL);
X509ExtensionCollection_t1640144839 * L_131 = (X509ExtensionCollection_t1640144839 *)il2cpp_codegen_object_new(X509ExtensionCollection_t1640144839_il2cpp_TypeInfo_var);
X509ExtensionCollection__ctor_m2745210602(L_131, L_130, /*hidden argument*/NULL);
__this->set_extensions_19(L_131);
goto IL_033a;
}
IL_032e:
{
X509ExtensionCollection_t1640144839 * L_132 = (X509ExtensionCollection_t1640144839 *)il2cpp_codegen_object_new(X509ExtensionCollection_t1640144839_il2cpp_TypeInfo_var);
X509ExtensionCollection__ctor_m2745210602(L_132, (ASN1_t924533535 *)NULL, /*hidden argument*/NULL);
__this->set_extensions_19(L_132);
}
IL_033a:
{
ByteU5BU5D_t3397334013* L_133 = ___data0;
Il2CppObject * L_134 = Array_Clone_m768574314((Il2CppArray *)(Il2CppArray *)L_133, /*hidden argument*/NULL);
__this->set_m_encodedcert_1(((ByteU5BU5D_t3397334013*)Castclass(L_134, ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var)));
goto IL_0364;
}
} // 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_0350;
throw e;
}
CATCH_0350:
{ // begin catch(System.Exception)
{
V_17 = ((Exception_t1927440687 *)__exception_local);
IL2CPP_RUNTIME_CLASS_INIT(X509Certificate_t324051957_il2cpp_TypeInfo_var);
String_t* L_135 = ((X509Certificate_t324051957_StaticFields*)X509Certificate_t324051957_il2cpp_TypeInfo_var->static_fields)->get_encoding_error_20();
Exception_t1927440687 * L_136 = V_17;
CryptographicException_t3349726436 * L_137 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m1012314467(L_137, L_135, L_136, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_137);
}
IL_035f:
{
goto IL_0364;
}
} // end catch (depth: 1)
IL_0364:
{
return;
}
}
// System.Byte[] Mono.Security.X509.X509Certificate::GetUnsignedBigInteger(System.Byte[])
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t X509Certificate_GetUnsignedBigInteger_m3491353542_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* X509Certificate_GetUnsignedBigInteger_m3491353542 (X509Certificate_t324051957 * __this, ByteU5BU5D_t3397334013* ___integer0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X509Certificate_GetUnsignedBigInteger_m3491353542_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
ByteU5BU5D_t3397334013* V_1 = NULL;
{
ByteU5BU5D_t3397334013* L_0 = ___integer0;
int32_t L_1 = 0;
uint8_t L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
if (L_2)
{
goto IL_0021;
}
}
{
ByteU5BU5D_t3397334013* L_3 = ___integer0;
V_0 = ((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_3)->max_length))))-(int32_t)1));
int32_t L_4 = V_0;
V_1 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_4));
ByteU5BU5D_t3397334013* L_5 = ___integer0;
ByteU5BU5D_t3397334013* L_6 = V_1;
int32_t L_7 = V_0;
Buffer_BlockCopy_m1586717258(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_5, 1, (Il2CppArray *)(Il2CppArray *)L_6, 0, L_7, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_8 = V_1;
return L_8;
}
IL_0021:
{
ByteU5BU5D_t3397334013* L_9 = ___integer0;
return L_9;
}
}
// System.Security.Cryptography.DSA Mono.Security.X509.X509Certificate::get_DSA()
extern Il2CppClass* CryptographicException_t3349726436_il2cpp_TypeInfo_var;
extern Il2CppClass* DSAParameters_t1872138834_il2cpp_TypeInfo_var;
extern Il2CppClass* ASN1_t924533535_il2cpp_TypeInfo_var;
extern Il2CppClass* DSACryptoServiceProvider_t2915171657_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral299891878;
extern const uint32_t X509Certificate_get_DSA_m3959895595_MetadataUsageId;
extern "C" DSA_t903174880 * X509Certificate_get_DSA_m3959895595 (X509Certificate_t324051957 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X509Certificate_get_DSA_m3959895595_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
DSAParameters_t1872138834 V_0;
memset(&V_0, 0, sizeof(V_0));
ASN1_t924533535 * V_1 = NULL;
ASN1_t924533535 * V_2 = NULL;
{
ByteU5BU5D_t3397334013* L_0 = __this->get_m_keyalgoparams_7();
if (L_0)
{
goto IL_0016;
}
}
{
CryptographicException_t3349726436 * L_1 = (CryptographicException_t3349726436 *)il2cpp_codegen_object_new(CryptographicException_t3349726436_il2cpp_TypeInfo_var);
CryptographicException__ctor_m2415891459(L_1, _stringLiteral299891878, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1);
}
IL_0016:
{
DSA_t903174880 * L_2 = __this->get__dsa_14();
if (L_2)
{
goto IL_012e;
}
}
{
Initobj (DSAParameters_t1872138834_il2cpp_TypeInfo_var, (&V_0));
ByteU5BU5D_t3397334013* L_3 = __this->get_m_publickey_10();
ASN1_t924533535 * L_4 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3359093803(L_4, L_3, /*hidden argument*/NULL);
V_1 = L_4;
ASN1_t924533535 * L_5 = V_1;
if (!L_5)
{
goto IL_0047;
}
}
{
ASN1_t924533535 * L_6 = V_1;
uint8_t L_7 = ASN1_get_Tag_m1462340837(L_6, /*hidden argument*/NULL);
if ((((int32_t)L_7) == ((int32_t)2)))
{
goto IL_0049;
}
}
IL_0047:
{
return (DSA_t903174880 *)NULL;
}
IL_0049:
{
ASN1_t924533535 * L_8 = V_1;
ByteU5BU5D_t3397334013* L_9 = ASN1_get_Value_m2669044878(L_8, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_10 = X509Certificate_GetUnsignedBigInteger_m3491353542(__this, L_9, /*hidden argument*/NULL);
(&V_0)->set_Y_7(L_10);
ByteU5BU5D_t3397334013* L_11 = __this->get_m_keyalgoparams_7();
ASN1_t924533535 * L_12 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3359093803(L_12, L_11, /*hidden argument*/NULL);
V_2 = L_12;
ASN1_t924533535 * L_13 = V_2;
if (!L_13)
{
goto IL_0087;
}
}
{
ASN1_t924533535 * L_14 = V_2;
uint8_t L_15 = ASN1_get_Tag_m1462340837(L_14, /*hidden argument*/NULL);
if ((!(((uint32_t)L_15) == ((uint32_t)((int32_t)48)))))
{
goto IL_0087;
}
}
{
ASN1_t924533535 * L_16 = V_2;
int32_t L_17 = ASN1_get_Count_m404940548(L_16, /*hidden argument*/NULL);
if ((((int32_t)L_17) >= ((int32_t)3)))
{
goto IL_0089;
}
}
IL_0087:
{
return (DSA_t903174880 *)NULL;
}
IL_0089:
{
ASN1_t924533535 * L_18 = V_2;
ASN1_t924533535 * L_19 = ASN1_get_Item_m1784978716(L_18, 0, /*hidden argument*/NULL);
uint8_t L_20 = ASN1_get_Tag_m1462340837(L_19, /*hidden argument*/NULL);
if ((!(((uint32_t)L_20) == ((uint32_t)2))))
{
goto IL_00bf;
}
}
{
ASN1_t924533535 * L_21 = V_2;
ASN1_t924533535 * L_22 = ASN1_get_Item_m1784978716(L_21, 1, /*hidden argument*/NULL);
uint8_t L_23 = ASN1_get_Tag_m1462340837(L_22, /*hidden argument*/NULL);
if ((!(((uint32_t)L_23) == ((uint32_t)2))))
{
goto IL_00bf;
}
}
{
ASN1_t924533535 * L_24 = V_2;
ASN1_t924533535 * L_25 = ASN1_get_Item_m1784978716(L_24, 2, /*hidden argument*/NULL);
uint8_t L_26 = ASN1_get_Tag_m1462340837(L_25, /*hidden argument*/NULL);
if ((((int32_t)L_26) == ((int32_t)2)))
{
goto IL_00c1;
}
}
IL_00bf:
{
return (DSA_t903174880 *)NULL;
}
IL_00c1:
{
ASN1_t924533535 * L_27 = V_2;
ASN1_t924533535 * L_28 = ASN1_get_Item_m1784978716(L_27, 0, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_29 = ASN1_get_Value_m2669044878(L_28, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_30 = X509Certificate_GetUnsignedBigInteger_m3491353542(__this, L_29, /*hidden argument*/NULL);
(&V_0)->set_P_3(L_30);
ASN1_t924533535 * L_31 = V_2;
ASN1_t924533535 * L_32 = ASN1_get_Item_m1784978716(L_31, 1, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_33 = ASN1_get_Value_m2669044878(L_32, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_34 = X509Certificate_GetUnsignedBigInteger_m3491353542(__this, L_33, /*hidden argument*/NULL);
(&V_0)->set_Q_4(L_34);
ASN1_t924533535 * L_35 = V_2;
ASN1_t924533535 * L_36 = ASN1_get_Item_m1784978716(L_35, 2, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_37 = ASN1_get_Value_m2669044878(L_36, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_38 = X509Certificate_GetUnsignedBigInteger_m3491353542(__this, L_37, /*hidden argument*/NULL);
(&V_0)->set_G_1(L_38);
ByteU5BU5D_t3397334013* L_39 = (&V_0)->get_Y_7();
DSACryptoServiceProvider_t2915171657 * L_40 = (DSACryptoServiceProvider_t2915171657 *)il2cpp_codegen_object_new(DSACryptoServiceProvider_t2915171657_il2cpp_TypeInfo_var);
DSACryptoServiceProvider__ctor_m181065031(L_40, ((int32_t)((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_39)->max_length))))<<(int32_t)3)), /*hidden argument*/NULL);
__this->set__dsa_14(L_40);
DSA_t903174880 * L_41 = __this->get__dsa_14();
DSAParameters_t1872138834 L_42 = V_0;
VirtActionInvoker1< DSAParameters_t1872138834 >::Invoke(12 /* System.Void System.Security.Cryptography.DSA::ImportParameters(System.Security.Cryptography.DSAParameters) */, L_41, L_42);
}
IL_012e:
{
DSA_t903174880 * L_43 = __this->get__dsa_14();
return L_43;
}
}
// System.String Mono.Security.X509.X509Certificate::get_IssuerName()
extern "C" String_t* X509Certificate_get_IssuerName_m2934235830 (X509Certificate_t324051957 * __this, const MethodInfo* method)
{
{
String_t* L_0 = __this->get_m_issuername_5();
return L_0;
}
}
// System.Byte[] Mono.Security.X509.X509Certificate::get_KeyAlgorithmParameters()
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t X509Certificate_get_KeyAlgorithmParameters_m4291960973_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* X509Certificate_get_KeyAlgorithmParameters_m4291960973 (X509Certificate_t324051957 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X509Certificate_get_KeyAlgorithmParameters_m4291960973_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
ByteU5BU5D_t3397334013* L_0 = __this->get_m_keyalgoparams_7();
if (L_0)
{
goto IL_000d;
}
}
{
return (ByteU5BU5D_t3397334013*)NULL;
}
IL_000d:
{
ByteU5BU5D_t3397334013* L_1 = __this->get_m_keyalgoparams_7();
Il2CppObject * L_2 = Array_Clone_m768574314((Il2CppArray *)(Il2CppArray *)L_1, /*hidden argument*/NULL);
return ((ByteU5BU5D_t3397334013*)Castclass(L_2, ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var));
}
}
// System.Byte[] Mono.Security.X509.X509Certificate::get_PublicKey()
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t X509Certificate_get_PublicKey_m714501701_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* X509Certificate_get_PublicKey_m714501701 (X509Certificate_t324051957 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X509Certificate_get_PublicKey_m714501701_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
ByteU5BU5D_t3397334013* L_0 = __this->get_m_publickey_10();
if (L_0)
{
goto IL_000d;
}
}
{
return (ByteU5BU5D_t3397334013*)NULL;
}
IL_000d:
{
ByteU5BU5D_t3397334013* L_1 = __this->get_m_publickey_10();
Il2CppObject * L_2 = Array_Clone_m768574314((Il2CppArray *)(Il2CppArray *)L_1, /*hidden argument*/NULL);
return ((ByteU5BU5D_t3397334013*)Castclass(L_2, ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var));
}
}
// System.Byte[] Mono.Security.X509.X509Certificate::get_RawData()
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern const uint32_t X509Certificate_get_RawData_m3000055075_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* X509Certificate_get_RawData_m3000055075 (X509Certificate_t324051957 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X509Certificate_get_RawData_m3000055075_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
ByteU5BU5D_t3397334013* L_0 = __this->get_m_encodedcert_1();
if (L_0)
{
goto IL_000d;
}
}
{
return (ByteU5BU5D_t3397334013*)NULL;
}
IL_000d:
{
ByteU5BU5D_t3397334013* L_1 = __this->get_m_encodedcert_1();
Il2CppObject * L_2 = Array_Clone_m768574314((Il2CppArray *)(Il2CppArray *)L_1, /*hidden argument*/NULL);
return ((ByteU5BU5D_t3397334013*)Castclass(L_2, ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var));
}
}
// System.String Mono.Security.X509.X509Certificate::get_SubjectName()
extern "C" String_t* X509Certificate_get_SubjectName_m3651372541 (X509Certificate_t324051957 * __this, const MethodInfo* method)
{
{
String_t* L_0 = __this->get_m_subject_9();
return L_0;
}
}
// System.DateTime Mono.Security.X509.X509Certificate::get_ValidFrom()
extern "C" DateTime_t693205669 X509Certificate_get_ValidFrom_m941763238 (X509Certificate_t324051957 * __this, const MethodInfo* method)
{
{
DateTime_t693205669 L_0 = __this->get_m_from_2();
return L_0;
}
}
// System.DateTime Mono.Security.X509.X509Certificate::get_ValidUntil()
extern "C" DateTime_t693205669 X509Certificate_get_ValidUntil_m2591630224 (X509Certificate_t324051957 * __this, const MethodInfo* method)
{
{
DateTime_t693205669 L_0 = __this->get_m_until_3();
return L_0;
}
}
// Mono.Security.ASN1 Mono.Security.X509.X509Certificate::GetIssuerName()
extern "C" ASN1_t924533535 * X509Certificate_GetIssuerName_m624965627 (X509Certificate_t324051957 * __this, const MethodInfo* method)
{
{
ASN1_t924533535 * L_0 = __this->get_issuer_4();
return L_0;
}
}
// Mono.Security.ASN1 Mono.Security.X509.X509Certificate::GetSubjectName()
extern "C" ASN1_t924533535 * X509Certificate_GetSubjectName_m2120755276 (X509Certificate_t324051957 * __this, const MethodInfo* method)
{
{
ASN1_t924533535 * L_0 = __this->get_subject_8();
return L_0;
}
}
// System.Void Mono.Security.X509.X509Certificate::GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
extern Il2CppCodeGenString* _stringLiteral696029972;
extern const uint32_t X509Certificate_GetObjectData_m3888130484_MetadataUsageId;
extern "C" void X509Certificate_GetObjectData_m3888130484 (X509Certificate_t324051957 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X509Certificate_GetObjectData_m3888130484_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
SerializationInfo_t228987430 * L_0 = ___info0;
ByteU5BU5D_t3397334013* L_1 = __this->get_m_encodedcert_1();
SerializationInfo_AddValue_m1740888931(L_0, _stringLiteral696029972, (Il2CppObject *)(Il2CppObject *)L_1, /*hidden argument*/NULL);
return;
}
}
// System.Byte[] Mono.Security.X509.X509Certificate::PEM(System.String,System.Byte[])
extern Il2CppClass* Encoding_t663144255_il2cpp_TypeInfo_var;
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral1737719649;
extern Il2CppCodeGenString* _stringLiteral1594579461;
extern const uint32_t X509Certificate_PEM_m227334751_MetadataUsageId;
extern "C" ByteU5BU5D_t3397334013* X509Certificate_PEM_m227334751 (Il2CppObject * __this /* static, unused */, String_t* ___type0, ByteU5BU5D_t3397334013* ___data1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X509Certificate_PEM_m227334751_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
String_t* V_0 = NULL;
String_t* V_1 = NULL;
String_t* V_2 = NULL;
int32_t V_3 = 0;
int32_t V_4 = 0;
String_t* V_5 = NULL;
{
IL2CPP_RUNTIME_CLASS_INIT(Encoding_t663144255_il2cpp_TypeInfo_var);
Encoding_t663144255 * L_0 = Encoding_get_ASCII_m2727409419(NULL /*static, unused*/, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_1 = ___data1;
String_t* L_2 = VirtFuncInvoker1< String_t*, ByteU5BU5D_t3397334013* >::Invoke(22 /* System.String System.Text.Encoding::GetString(System.Byte[]) */, L_0, L_1);
V_0 = L_2;
String_t* L_3 = ___type0;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_4 = String_Format_m2024975688(NULL /*static, unused*/, _stringLiteral1737719649, L_3, /*hidden argument*/NULL);
V_1 = L_4;
String_t* L_5 = ___type0;
String_t* L_6 = String_Format_m2024975688(NULL /*static, unused*/, _stringLiteral1594579461, L_5, /*hidden argument*/NULL);
V_2 = L_6;
String_t* L_7 = V_0;
String_t* L_8 = V_1;
int32_t L_9 = String_IndexOf_m4251815737(L_7, L_8, /*hidden argument*/NULL);
String_t* L_10 = V_1;
int32_t L_11 = String_get_Length_m1606060069(L_10, /*hidden argument*/NULL);
V_3 = ((int32_t)((int32_t)L_9+(int32_t)L_11));
String_t* L_12 = V_0;
String_t* L_13 = V_2;
int32_t L_14 = V_3;
int32_t L_15 = String_IndexOf_m1887352430(L_12, L_13, L_14, /*hidden argument*/NULL);
V_4 = L_15;
String_t* L_16 = V_0;
int32_t L_17 = V_3;
int32_t L_18 = V_4;
int32_t L_19 = V_3;
String_t* L_20 = String_Substring_m12482732(L_16, L_17, ((int32_t)((int32_t)L_18-(int32_t)L_19)), /*hidden argument*/NULL);
V_5 = L_20;
String_t* L_21 = V_5;
IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var);
ByteU5BU5D_t3397334013* L_22 = Convert_FromBase64String_m3629466114(NULL /*static, unused*/, L_21, /*hidden argument*/NULL);
return L_22;
}
}
// System.Void Mono.Security.X509.X509CertificateCollection::.ctor()
extern "C" void X509CertificateCollection__ctor_m1128488348 (X509CertificateCollection_t3592472865 * __this, const MethodInfo* method)
{
{
CollectionBase__ctor_m2525885291(__this, /*hidden argument*/NULL);
return;
}
}
// System.Collections.IEnumerator Mono.Security.X509.X509CertificateCollection::System.Collections.IEnumerable.GetEnumerator()
extern "C" Il2CppObject * X509CertificateCollection_System_Collections_IEnumerable_GetEnumerator_m2977540841 (X509CertificateCollection_t3592472865 * __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;
}
}
// Mono.Security.X509.X509Certificate Mono.Security.X509.X509CertificateCollection::get_Item(System.Int32)
extern Il2CppClass* X509Certificate_t324051957_il2cpp_TypeInfo_var;
extern const uint32_t X509CertificateCollection_get_Item_m410866272_MetadataUsageId;
extern "C" X509Certificate_t324051957 * X509CertificateCollection_get_Item_m410866272 (X509CertificateCollection_t3592472865 * __this, int32_t ___index0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X509CertificateCollection_get_Item_m410866272_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
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 ((X509Certificate_t324051957 *)CastclassClass(L_2, X509Certificate_t324051957_il2cpp_TypeInfo_var));
}
}
// System.Int32 Mono.Security.X509.X509CertificateCollection::Add(Mono.Security.X509.X509Certificate)
extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral1803325615;
extern const uint32_t X509CertificateCollection_Add_m363786109_MetadataUsageId;
extern "C" int32_t X509CertificateCollection_Add_m363786109 (X509CertificateCollection_t3592472865 * __this, X509Certificate_t324051957 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X509CertificateCollection_Add_m363786109_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
X509Certificate_t324051957 * 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:
{
ArrayList_t4252133567 * L_2 = CollectionBase_get_InnerList_m44314156(__this, /*hidden argument*/NULL);
X509Certificate_t324051957 * 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);
return L_4;
}
}
// Mono.Security.X509.X509CertificateCollection/X509CertificateEnumerator Mono.Security.X509.X509CertificateCollection::GetEnumerator()
extern Il2CppClass* X509CertificateEnumerator_t3487770522_il2cpp_TypeInfo_var;
extern const uint32_t X509CertificateCollection_GetEnumerator_m3684889287_MetadataUsageId;
extern "C" X509CertificateEnumerator_t3487770522 * X509CertificateCollection_GetEnumerator_m3684889287 (X509CertificateCollection_t3592472865 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X509CertificateCollection_GetEnumerator_m3684889287_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
X509CertificateEnumerator_t3487770522 * L_0 = (X509CertificateEnumerator_t3487770522 *)il2cpp_codegen_object_new(X509CertificateEnumerator_t3487770522_il2cpp_TypeInfo_var);
X509CertificateEnumerator__ctor_m1500464146(L_0, __this, /*hidden argument*/NULL);
return L_0;
}
}
// System.Int32 Mono.Security.X509.X509CertificateCollection::GetHashCode()
extern "C" int32_t X509CertificateCollection_GetHashCode_m836185651 (X509CertificateCollection_t3592472865 * __this, const MethodInfo* method)
{
{
ArrayList_t4252133567 * L_0 = CollectionBase_get_InnerList_m44314156(__this, /*hidden argument*/NULL);
int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 System.Object::GetHashCode() */, L_0);
return L_1;
}
}
// System.Void Mono.Security.X509.X509CertificateCollection/X509CertificateEnumerator::.ctor(Mono.Security.X509.X509CertificateCollection)
extern Il2CppClass* IEnumerable_t2911409499_il2cpp_TypeInfo_var;
extern const uint32_t X509CertificateEnumerator__ctor_m1500464146_MetadataUsageId;
extern "C" void X509CertificateEnumerator__ctor_m1500464146 (X509CertificateEnumerator_t3487770522 * __this, X509CertificateCollection_t3592472865 * ___mappings0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X509CertificateEnumerator__ctor_m1500464146_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
X509CertificateCollection_t3592472865 * L_0 = ___mappings0;
Il2CppObject * L_1 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(0 /* System.Collections.IEnumerator System.Collections.IEnumerable::GetEnumerator() */, IEnumerable_t2911409499_il2cpp_TypeInfo_var, L_0);
__this->set_enumerator_0(L_1);
return;
}
}
// System.Object Mono.Security.X509.X509CertificateCollection/X509CertificateEnumerator::System.Collections.IEnumerator.get_Current()
extern Il2CppClass* IEnumerator_t1466026749_il2cpp_TypeInfo_var;
extern const uint32_t X509CertificateEnumerator_System_Collections_IEnumerator_get_Current_m1643583406_MetadataUsageId;
extern "C" Il2CppObject * X509CertificateEnumerator_System_Collections_IEnumerator_get_Current_m1643583406 (X509CertificateEnumerator_t3487770522 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X509CertificateEnumerator_System_Collections_IEnumerator_get_Current_m1643583406_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
Il2CppObject * L_0 = __this->get_enumerator_0();
Il2CppObject * L_1 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(0 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_0);
return L_1;
}
}
// System.Boolean Mono.Security.X509.X509CertificateCollection/X509CertificateEnumerator::System.Collections.IEnumerator.MoveNext()
extern Il2CppClass* IEnumerator_t1466026749_il2cpp_TypeInfo_var;
extern const uint32_t X509CertificateEnumerator_System_Collections_IEnumerator_MoveNext_m1064716431_MetadataUsageId;
extern "C" bool X509CertificateEnumerator_System_Collections_IEnumerator_MoveNext_m1064716431 (X509CertificateEnumerator_t3487770522 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X509CertificateEnumerator_System_Collections_IEnumerator_MoveNext_m1064716431_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
Il2CppObject * L_0 = __this->get_enumerator_0();
bool L_1 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_0);
return L_1;
}
}
// System.Void Mono.Security.X509.X509CertificateCollection/X509CertificateEnumerator::System.Collections.IEnumerator.Reset()
extern Il2CppClass* IEnumerator_t1466026749_il2cpp_TypeInfo_var;
extern const uint32_t X509CertificateEnumerator_System_Collections_IEnumerator_Reset_m4121737424_MetadataUsageId;
extern "C" void X509CertificateEnumerator_System_Collections_IEnumerator_Reset_m4121737424 (X509CertificateEnumerator_t3487770522 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X509CertificateEnumerator_System_Collections_IEnumerator_Reset_m4121737424_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
Il2CppObject * L_0 = __this->get_enumerator_0();
InterfaceActionInvoker0::Invoke(2 /* System.Void System.Collections.IEnumerator::Reset() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_0);
return;
}
}
// Mono.Security.X509.X509Certificate Mono.Security.X509.X509CertificateCollection/X509CertificateEnumerator::get_Current()
extern Il2CppClass* IEnumerator_t1466026749_il2cpp_TypeInfo_var;
extern Il2CppClass* X509Certificate_t324051957_il2cpp_TypeInfo_var;
extern const uint32_t X509CertificateEnumerator_get_Current_m2595382139_MetadataUsageId;
extern "C" X509Certificate_t324051957 * X509CertificateEnumerator_get_Current_m2595382139 (X509CertificateEnumerator_t3487770522 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X509CertificateEnumerator_get_Current_m2595382139_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
Il2CppObject * L_0 = __this->get_enumerator_0();
Il2CppObject * L_1 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(0 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_0);
return ((X509Certificate_t324051957 *)CastclassClass(L_1, X509Certificate_t324051957_il2cpp_TypeInfo_var));
}
}
// System.Boolean Mono.Security.X509.X509CertificateCollection/X509CertificateEnumerator::MoveNext()
extern Il2CppClass* IEnumerator_t1466026749_il2cpp_TypeInfo_var;
extern const uint32_t X509CertificateEnumerator_MoveNext_m1031936092_MetadataUsageId;
extern "C" bool X509CertificateEnumerator_MoveNext_m1031936092 (X509CertificateEnumerator_t3487770522 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X509CertificateEnumerator_MoveNext_m1031936092_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
Il2CppObject * L_0 = __this->get_enumerator_0();
bool L_1 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_0);
return L_1;
}
}
// System.Void Mono.Security.X509.X509CertificateCollection/X509CertificateEnumerator::Reset()
extern Il2CppClass* IEnumerator_t1466026749_il2cpp_TypeInfo_var;
extern const uint32_t X509CertificateEnumerator_Reset_m3421070487_MetadataUsageId;
extern "C" void X509CertificateEnumerator_Reset_m3421070487 (X509CertificateEnumerator_t3487770522 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X509CertificateEnumerator_Reset_m3421070487_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
Il2CppObject * L_0 = __this->get_enumerator_0();
InterfaceActionInvoker0::Invoke(2 /* System.Void System.Collections.IEnumerator::Reset() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_0);
return;
}
}
// System.Void Mono.Security.X509.X509Extension::.ctor(Mono.Security.ASN1)
extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var;
extern Il2CppClass* ASN1_t924533535_il2cpp_TypeInfo_var;
extern Il2CppClass* Il2CppObject_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral1714787000;
extern const uint32_t X509Extension__ctor_m3226803314_MetadataUsageId;
extern "C" void X509Extension__ctor_m3226803314 (X509Extension_t1439760127 * __this, ASN1_t924533535 * ___asn10, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X509Extension__ctor_m3226803314_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ASN1_t924533535 * 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);
X509Extension_t1439760127 * G_B7_0 = NULL;
X509Extension_t1439760127 * G_B6_0 = NULL;
int32_t G_B8_0 = 0;
X509Extension_t1439760127 * G_B8_1 = NULL;
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
ASN1_t924533535 * L_0 = ___asn10;
uint8_t L_1 = ASN1_get_Tag_m1462340837(L_0, /*hidden argument*/NULL);
if ((!(((uint32_t)L_1) == ((uint32_t)((int32_t)48)))))
{
goto IL_001f;
}
}
{
ASN1_t924533535 * L_2 = ___asn10;
int32_t L_3 = ASN1_get_Count_m404940548(L_2, /*hidden argument*/NULL);
if ((((int32_t)L_3) >= ((int32_t)2)))
{
goto IL_002f;
}
}
IL_001f:
{
String_t* L_4 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1714787000, /*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_002f:
{
ASN1_t924533535 * L_6 = ___asn10;
ASN1_t924533535 * L_7 = ASN1_get_Item_m1784978716(L_6, 0, /*hidden argument*/NULL);
uint8_t L_8 = ASN1_get_Tag_m1462340837(L_7, /*hidden argument*/NULL);
if ((((int32_t)L_8) == ((int32_t)6)))
{
goto IL_0051;
}
}
{
String_t* L_9 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1714787000, /*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_0051:
{
ASN1_t924533535 * L_11 = ___asn10;
ASN1_t924533535 * L_12 = ASN1_get_Item_m1784978716(L_11, 0, /*hidden argument*/NULL);
String_t* L_13 = ASN1Convert_ToOid_m2695991795(NULL /*static, unused*/, L_12, /*hidden argument*/NULL);
__this->set_extnOid_0(L_13);
ASN1_t924533535 * L_14 = ___asn10;
ASN1_t924533535 * L_15 = ASN1_get_Item_m1784978716(L_14, 1, /*hidden argument*/NULL);
uint8_t L_16 = ASN1_get_Tag_m1462340837(L_15, /*hidden argument*/NULL);
G_B6_0 = __this;
if ((!(((uint32_t)L_16) == ((uint32_t)1))))
{
G_B7_0 = __this;
goto IL_008d;
}
}
{
ASN1_t924533535 * L_17 = ___asn10;
ASN1_t924533535 * L_18 = ASN1_get_Item_m1784978716(L_17, 1, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_19 = ASN1_get_Value_m2669044878(L_18, /*hidden argument*/NULL);
int32_t L_20 = 0;
uint8_t L_21 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
G_B8_0 = ((((int32_t)L_21) == ((int32_t)((int32_t)255)))? 1 : 0);
G_B8_1 = G_B6_0;
goto IL_008e;
}
IL_008d:
{
G_B8_0 = 0;
G_B8_1 = G_B7_0;
}
IL_008e:
{
G_B8_1->set_extnCritical_1((bool)G_B8_0);
ASN1_t924533535 * L_22 = ___asn10;
ASN1_t924533535 * L_23 = ___asn10;
int32_t L_24 = ASN1_get_Count_m404940548(L_23, /*hidden argument*/NULL);
ASN1_t924533535 * L_25 = ASN1_get_Item_m1784978716(L_22, ((int32_t)((int32_t)L_24-(int32_t)1)), /*hidden argument*/NULL);
__this->set_extnValue_2(L_25);
ASN1_t924533535 * L_26 = __this->get_extnValue_2();
uint8_t L_27 = ASN1_get_Tag_m1462340837(L_26, /*hidden argument*/NULL);
if ((!(((uint32_t)L_27) == ((uint32_t)4))))
{
goto IL_010e;
}
}
{
ASN1_t924533535 * L_28 = __this->get_extnValue_2();
int32_t L_29 = ASN1_get_Length_m3359111015(L_28, /*hidden argument*/NULL);
if ((((int32_t)L_29) <= ((int32_t)0)))
{
goto IL_010e;
}
}
{
ASN1_t924533535 * L_30 = __this->get_extnValue_2();
int32_t L_31 = ASN1_get_Count_m404940548(L_30, /*hidden argument*/NULL);
if (L_31)
{
goto IL_010e;
}
}
IL_00d9:
try
{ // begin try (depth: 1)
ASN1_t924533535 * L_32 = __this->get_extnValue_2();
ByteU5BU5D_t3397334013* L_33 = ASN1_get_Value_m2669044878(L_32, /*hidden argument*/NULL);
ASN1_t924533535 * L_34 = (ASN1_t924533535 *)il2cpp_codegen_object_new(ASN1_t924533535_il2cpp_TypeInfo_var);
ASN1__ctor_m3359093803(L_34, L_33, /*hidden argument*/NULL);
V_0 = L_34;
ASN1_t924533535 * L_35 = __this->get_extnValue_2();
ASN1_set_Value_m3605233753(L_35, (ByteU5BU5D_t3397334013*)(ByteU5BU5D_t3397334013*)NULL, /*hidden argument*/NULL);
ASN1_t924533535 * L_36 = __this->get_extnValue_2();
ASN1_t924533535 * L_37 = V_0;
ASN1_Add_m2540239672(L_36, L_37, /*hidden argument*/NULL);
goto IL_010e;
} // 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_0108;
throw e;
}
CATCH_0108:
{ // begin catch(System.Object)
goto IL_010e;
} // end catch (depth: 1)
IL_010e:
{
VirtActionInvoker0::Invoke(4 /* System.Void Mono.Security.X509.X509Extension::Decode() */, __this);
return;
}
}
// System.Void Mono.Security.X509.X509Extension::Decode()
extern "C" void X509Extension_Decode_m1485464434 (X509Extension_t1439760127 * __this, const MethodInfo* method)
{
{
return;
}
}
// System.Boolean Mono.Security.X509.X509Extension::Equals(System.Object)
extern Il2CppClass* X509Extension_t1439760127_il2cpp_TypeInfo_var;
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern const uint32_t X509Extension_Equals_m2626519947_MetadataUsageId;
extern "C" bool X509Extension_Equals_m2626519947 (X509Extension_t1439760127 * __this, Il2CppObject * ___obj0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X509Extension_Equals_m2626519947_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
X509Extension_t1439760127 * V_0 = NULL;
int32_t V_1 = 0;
{
Il2CppObject * L_0 = ___obj0;
if (L_0)
{
goto IL_0008;
}
}
{
return (bool)0;
}
IL_0008:
{
Il2CppObject * L_1 = ___obj0;
V_0 = ((X509Extension_t1439760127 *)IsInstClass(L_1, X509Extension_t1439760127_il2cpp_TypeInfo_var));
X509Extension_t1439760127 * L_2 = V_0;
if (L_2)
{
goto IL_0017;
}
}
{
return (bool)0;
}
IL_0017:
{
bool L_3 = __this->get_extnCritical_1();
X509Extension_t1439760127 * L_4 = V_0;
bool L_5 = L_4->get_extnCritical_1();
if ((((int32_t)L_3) == ((int32_t)L_5)))
{
goto IL_002a;
}
}
{
return (bool)0;
}
IL_002a:
{
String_t* L_6 = __this->get_extnOid_0();
X509Extension_t1439760127 * L_7 = V_0;
String_t* L_8 = L_7->get_extnOid_0();
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
bool L_9 = String_op_Inequality_m304203149(NULL /*static, unused*/, L_6, L_8, /*hidden argument*/NULL);
if (!L_9)
{
goto IL_0042;
}
}
{
return (bool)0;
}
IL_0042:
{
ASN1_t924533535 * L_10 = __this->get_extnValue_2();
int32_t L_11 = ASN1_get_Length_m3359111015(L_10, /*hidden argument*/NULL);
X509Extension_t1439760127 * L_12 = V_0;
ASN1_t924533535 * L_13 = L_12->get_extnValue_2();
int32_t L_14 = ASN1_get_Length_m3359111015(L_13, /*hidden argument*/NULL);
if ((((int32_t)L_11) == ((int32_t)L_14)))
{
goto IL_005f;
}
}
{
return (bool)0;
}
IL_005f:
{
V_1 = 0;
goto IL_0089;
}
IL_0066:
{
ASN1_t924533535 * L_15 = __this->get_extnValue_2();
int32_t L_16 = V_1;
ASN1_t924533535 * L_17 = ASN1_get_Item_m1784978716(L_15, L_16, /*hidden argument*/NULL);
X509Extension_t1439760127 * L_18 = V_0;
ASN1_t924533535 * L_19 = L_18->get_extnValue_2();
int32_t L_20 = V_1;
ASN1_t924533535 * L_21 = ASN1_get_Item_m1784978716(L_19, L_20, /*hidden argument*/NULL);
if ((((Il2CppObject*)(ASN1_t924533535 *)L_17) == ((Il2CppObject*)(ASN1_t924533535 *)L_21)))
{
goto IL_0085;
}
}
{
return (bool)0;
}
IL_0085:
{
int32_t L_22 = V_1;
V_1 = ((int32_t)((int32_t)L_22+(int32_t)1));
}
IL_0089:
{
int32_t L_23 = V_1;
ASN1_t924533535 * L_24 = __this->get_extnValue_2();
int32_t L_25 = ASN1_get_Length_m3359111015(L_24, /*hidden argument*/NULL);
if ((((int32_t)L_23) < ((int32_t)L_25)))
{
goto IL_0066;
}
}
{
return (bool)1;
}
}
// System.Int32 Mono.Security.X509.X509Extension::GetHashCode()
extern "C" int32_t X509Extension_GetHashCode_m440263973 (X509Extension_t1439760127 * __this, const MethodInfo* method)
{
{
String_t* L_0 = __this->get_extnOid_0();
int32_t L_1 = String_GetHashCode_m931956593(L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Void Mono.Security.X509.X509Extension::WriteLine(System.Text.StringBuilder,System.Int32,System.Int32)
extern Il2CppClass* CultureInfo_t3500843524_il2cpp_TypeInfo_var;
extern Il2CppClass* Convert_t2607082565_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral3231012752;
extern Il2CppCodeGenString* _stringLiteral372029310;
extern Il2CppCodeGenString* _stringLiteral816986750;
extern Il2CppCodeGenString* _stringLiteral811305470;
extern Il2CppCodeGenString* _stringLiteral372029316;
extern const uint32_t X509Extension_WriteLine_m2850991173_MetadataUsageId;
extern "C" void X509Extension_WriteLine_m2850991173 (X509Extension_t1439760127 * __this, StringBuilder_t1221177846 * ___sb0, int32_t ___n1, int32_t ___pos2, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X509Extension_WriteLine_m2850991173_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ByteU5BU5D_t3397334013* V_0 = NULL;
int32_t V_1 = 0;
int32_t V_2 = 0;
int32_t V_3 = 0;
uint8_t V_4 = 0x0;
{
ASN1_t924533535 * L_0 = __this->get_extnValue_2();
ByteU5BU5D_t3397334013* L_1 = ASN1_get_Value_m2669044878(L_0, /*hidden argument*/NULL);
V_0 = L_1;
int32_t L_2 = ___pos2;
V_1 = L_2;
V_2 = 0;
goto IL_005e;
}
IL_0015:
{
int32_t L_3 = V_2;
int32_t L_4 = ___n1;
if ((((int32_t)L_3) >= ((int32_t)L_4)))
{
goto IL_004e;
}
}
{
StringBuilder_t1221177846 * L_5 = ___sb0;
ByteU5BU5D_t3397334013* L_6 = V_0;
int32_t L_7 = V_1;
int32_t L_8 = L_7;
V_1 = ((int32_t)((int32_t)L_8+(int32_t)1));
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t3500843524_il2cpp_TypeInfo_var);
CultureInfo_t3500843524 * L_9 = CultureInfo_get_InvariantCulture_m398972276(NULL /*static, unused*/, /*hidden argument*/NULL);
String_t* L_10 = Byte_ToString_m3956930818(((L_6)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_8))), _stringLiteral3231012752, L_9, /*hidden argument*/NULL);
StringBuilder_Append_m3636508479(L_5, L_10, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_11 = ___sb0;
StringBuilder_Append_m3636508479(L_11, _stringLiteral372029310, /*hidden argument*/NULL);
goto IL_005a;
}
IL_004e:
{
StringBuilder_t1221177846 * L_12 = ___sb0;
StringBuilder_Append_m3636508479(L_12, _stringLiteral816986750, /*hidden argument*/NULL);
}
IL_005a:
{
int32_t L_13 = V_2;
V_2 = ((int32_t)((int32_t)L_13+(int32_t)1));
}
IL_005e:
{
int32_t L_14 = V_2;
if ((((int32_t)L_14) < ((int32_t)8)))
{
goto IL_0015;
}
}
{
StringBuilder_t1221177846 * L_15 = ___sb0;
StringBuilder_Append_m3636508479(L_15, _stringLiteral811305470, /*hidden argument*/NULL);
int32_t L_16 = ___pos2;
V_1 = L_16;
V_3 = 0;
goto IL_00af;
}
IL_007a:
{
ByteU5BU5D_t3397334013* L_17 = V_0;
int32_t L_18 = V_1;
int32_t L_19 = L_18;
V_1 = ((int32_t)((int32_t)L_19+(int32_t)1));
int32_t L_20 = L_19;
uint8_t L_21 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
V_4 = L_21;
uint8_t L_22 = V_4;
if ((((int32_t)L_22) >= ((int32_t)((int32_t)32))))
{
goto IL_009d;
}
}
{
StringBuilder_t1221177846 * L_23 = ___sb0;
StringBuilder_Append_m3636508479(L_23, _stringLiteral372029316, /*hidden argument*/NULL);
goto IL_00ab;
}
IL_009d:
{
StringBuilder_t1221177846 * L_24 = ___sb0;
uint8_t L_25 = V_4;
IL2CPP_RUNTIME_CLASS_INIT(Convert_t2607082565_il2cpp_TypeInfo_var);
Il2CppChar L_26 = Convert_ToChar_m2170787796(NULL /*static, unused*/, L_25, /*hidden argument*/NULL);
StringBuilder_Append_m3618697540(L_24, L_26, /*hidden argument*/NULL);
}
IL_00ab:
{
int32_t L_27 = V_3;
V_3 = ((int32_t)((int32_t)L_27+(int32_t)1));
}
IL_00af:
{
int32_t L_28 = V_3;
int32_t L_29 = ___n1;
if ((((int32_t)L_28) < ((int32_t)L_29)))
{
goto IL_007a;
}
}
{
StringBuilder_t1221177846 * L_30 = ___sb0;
String_t* L_31 = Environment_get_NewLine_m266316410(NULL /*static, unused*/, /*hidden argument*/NULL);
StringBuilder_Append_m3636508479(L_30, L_31, /*hidden argument*/NULL);
return;
}
}
// System.String Mono.Security.X509.X509Extension::ToString()
extern Il2CppClass* StringBuilder_t1221177846_il2cpp_TypeInfo_var;
extern const uint32_t X509Extension_ToString_m546886661_MetadataUsageId;
extern "C" String_t* X509Extension_ToString_m546886661 (X509Extension_t1439760127 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X509Extension_ToString_m546886661_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
StringBuilder_t1221177846 * V_0 = NULL;
int32_t V_1 = 0;
int32_t V_2 = 0;
int32_t V_3 = 0;
int32_t V_4 = 0;
{
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;
ASN1_t924533535 * L_1 = __this->get_extnValue_2();
int32_t L_2 = ASN1_get_Length_m3359111015(L_1, /*hidden argument*/NULL);
V_1 = ((int32_t)((int32_t)L_2>>(int32_t)3));
ASN1_t924533535 * L_3 = __this->get_extnValue_2();
int32_t L_4 = ASN1_get_Length_m3359111015(L_3, /*hidden argument*/NULL);
int32_t L_5 = V_1;
V_2 = ((int32_t)((int32_t)L_4-(int32_t)((int32_t)((int32_t)L_5<<(int32_t)3))));
V_3 = 0;
V_4 = 0;
goto IL_0041;
}
IL_002e:
{
StringBuilder_t1221177846 * L_6 = V_0;
int32_t L_7 = V_3;
X509Extension_WriteLine_m2850991173(__this, L_6, 8, L_7, /*hidden argument*/NULL);
int32_t L_8 = V_3;
V_3 = ((int32_t)((int32_t)L_8+(int32_t)8));
int32_t L_9 = V_4;
V_4 = ((int32_t)((int32_t)L_9+(int32_t)1));
}
IL_0041:
{
int32_t L_10 = V_4;
int32_t L_11 = V_1;
if ((((int32_t)L_10) < ((int32_t)L_11)))
{
goto IL_002e;
}
}
{
StringBuilder_t1221177846 * L_12 = V_0;
int32_t L_13 = V_2;
int32_t L_14 = V_3;
X509Extension_WriteLine_m2850991173(__this, L_12, L_13, L_14, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_15 = V_0;
String_t* L_16 = StringBuilder_ToString_m1507807375(L_15, /*hidden argument*/NULL);
return L_16;
}
}
// System.Void Mono.Security.X509.X509ExtensionCollection::.ctor()
extern "C" void X509ExtensionCollection__ctor_m1072201326 (X509ExtensionCollection_t1640144839 * __this, const MethodInfo* method)
{
{
CollectionBase__ctor_m2525885291(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.X509.X509ExtensionCollection::.ctor(Mono.Security.ASN1)
extern Il2CppClass* Exception_t1927440687_il2cpp_TypeInfo_var;
extern Il2CppClass* X509Extension_t1439760127_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral4259231280;
extern const uint32_t X509ExtensionCollection__ctor_m2745210602_MetadataUsageId;
extern "C" void X509ExtensionCollection__ctor_m2745210602 (X509ExtensionCollection_t1640144839 * __this, ASN1_t924533535 * ___asn10, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (X509ExtensionCollection__ctor_m2745210602_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
X509Extension_t1439760127 * V_1 = NULL;
{
X509ExtensionCollection__ctor_m1072201326(__this, /*hidden argument*/NULL);
__this->set_readOnly_1((bool)1);
ASN1_t924533535 * L_0 = ___asn10;
if (L_0)
{
goto IL_0014;
}
}
{
return;
}
IL_0014:
{
ASN1_t924533535 * L_1 = ___asn10;
uint8_t L_2 = ASN1_get_Tag_m1462340837(L_1, /*hidden argument*/NULL);
if ((((int32_t)L_2) == ((int32_t)((int32_t)48))))
{
goto IL_002c;
}
}
{
Exception_t1927440687 * L_3 = (Exception_t1927440687 *)il2cpp_codegen_object_new(Exception_t1927440687_il2cpp_TypeInfo_var);
Exception__ctor_m485833136(L_3, _stringLiteral4259231280, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3);
}
IL_002c:
{
V_0 = 0;
goto IL_0051;
}
IL_0033:
{
ASN1_t924533535 * L_4 = ___asn10;
int32_t L_5 = V_0;
ASN1_t924533535 * L_6 = ASN1_get_Item_m1784978716(L_4, L_5, /*hidden argument*/NULL);
X509Extension_t1439760127 * L_7 = (X509Extension_t1439760127 *)il2cpp_codegen_object_new(X509Extension_t1439760127_il2cpp_TypeInfo_var);
X509Extension__ctor_m3226803314(L_7, L_6, /*hidden argument*/NULL);
V_1 = L_7;
ArrayList_t4252133567 * L_8 = CollectionBase_get_InnerList_m44314156(__this, /*hidden argument*/NULL);
X509Extension_t1439760127 * L_9 = V_1;
VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_8, L_9);
int32_t L_10 = V_0;
V_0 = ((int32_t)((int32_t)L_10+(int32_t)1));
}
IL_0051:
{
int32_t L_11 = V_0;
ASN1_t924533535 * L_12 = ___asn10;
int32_t L_13 = ASN1_get_Count_m404940548(L_12, /*hidden argument*/NULL);
if ((((int32_t)L_11) < ((int32_t)L_13)))
{
goto IL_0033;
}
}
{
return;
}
}
// System.Collections.IEnumerator Mono.Security.X509.X509ExtensionCollection::System.Collections.IEnumerable.GetEnumerator()
extern "C" Il2CppObject * X509ExtensionCollection_System_Collections_IEnumerable_GetEnumerator_m1560242057 (X509ExtensionCollection_t1640144839 * __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 Mono.Xml.SecurityParser::.ctor()
extern Il2CppClass* Stack_t1043988394_il2cpp_TypeInfo_var;
extern const uint32_t SecurityParser__ctor_m2477861623_MetadataUsageId;
extern "C" void SecurityParser__ctor_m2477861623 (SecurityParser_t30730985 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SecurityParser__ctor_m2477861623_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
SmallXmlParser__ctor_m1034349227(__this, /*hidden argument*/NULL);
Stack_t1043988394 * L_0 = (Stack_t1043988394 *)il2cpp_codegen_object_new(Stack_t1043988394_il2cpp_TypeInfo_var);
Stack__ctor_m521896492(L_0, /*hidden argument*/NULL);
__this->set_stack_15(L_0);
return;
}
}
// System.Void Mono.Xml.SecurityParser::LoadXml(System.String)
extern Il2CppClass* StringReader_t1480123486_il2cpp_TypeInfo_var;
extern const uint32_t SecurityParser_LoadXml_m3105973588_MetadataUsageId;
extern "C" void SecurityParser_LoadXml_m3105973588 (SecurityParser_t30730985 * __this, String_t* ___xml0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SecurityParser_LoadXml_m3105973588_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
__this->set_root_13((SecurityElement_t2325568386 *)NULL);
Stack_t1043988394 * L_0 = __this->get_stack_15();
VirtActionInvoker0::Invoke(13 /* System.Void System.Collections.Stack::Clear() */, L_0);
String_t* L_1 = ___xml0;
StringReader_t1480123486 * L_2 = (StringReader_t1480123486 *)il2cpp_codegen_object_new(StringReader_t1480123486_il2cpp_TypeInfo_var);
StringReader__ctor_m643998729(L_2, L_1, /*hidden argument*/NULL);
SmallXmlParser_Parse_m1986939549(__this, L_2, __this, /*hidden argument*/NULL);
return;
}
}
// System.Security.SecurityElement Mono.Xml.SecurityParser::ToXml()
extern "C" SecurityElement_t2325568386 * SecurityParser_ToXml_m477609901 (SecurityParser_t30730985 * __this, const MethodInfo* method)
{
{
SecurityElement_t2325568386 * L_0 = __this->get_root_13();
return L_0;
}
}
// System.Void Mono.Xml.SecurityParser::OnStartParsing(Mono.Xml.SmallXmlParser)
extern "C" void SecurityParser_OnStartParsing_m2886731389 (SecurityParser_t30730985 * __this, SmallXmlParser_t3549787957 * ___parser0, const MethodInfo* method)
{
{
return;
}
}
// System.Void Mono.Xml.SecurityParser::OnProcessingInstruction(System.String,System.String)
extern "C" void SecurityParser_OnProcessingInstruction_m3017426425 (SecurityParser_t30730985 * __this, String_t* ___name0, String_t* ___text1, const MethodInfo* method)
{
{
return;
}
}
// System.Void Mono.Xml.SecurityParser::OnIgnorableWhitespace(System.String)
extern "C" void SecurityParser_OnIgnorableWhitespace_m3090891176 (SecurityParser_t30730985 * __this, String_t* ___s0, const MethodInfo* method)
{
{
return;
}
}
// System.Void Mono.Xml.SecurityParser::OnStartElement(System.String,Mono.Xml.SmallXmlParser/IAttrList)
extern Il2CppClass* SecurityElement_t2325568386_il2cpp_TypeInfo_var;
extern Il2CppClass* IAttrList_t4064541270_il2cpp_TypeInfo_var;
extern const uint32_t SecurityParser_OnStartElement_m3097820862_MetadataUsageId;
extern "C" void SecurityParser_OnStartElement_m3097820862 (SecurityParser_t30730985 * __this, String_t* ___name0, Il2CppObject * ___attrs1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SecurityParser_OnStartElement_m3097820862_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
SecurityElement_t2325568386 * V_0 = NULL;
SecurityElement_t2325568386 * V_1 = NULL;
int32_t V_2 = 0;
int32_t V_3 = 0;
{
String_t* L_0 = ___name0;
SecurityElement_t2325568386 * L_1 = (SecurityElement_t2325568386 *)il2cpp_codegen_object_new(SecurityElement_t2325568386_il2cpp_TypeInfo_var);
SecurityElement__ctor_m1988489885(L_1, L_0, /*hidden argument*/NULL);
V_0 = L_1;
SecurityElement_t2325568386 * L_2 = __this->get_root_13();
if (L_2)
{
goto IL_0025;
}
}
{
SecurityElement_t2325568386 * L_3 = V_0;
__this->set_root_13(L_3);
SecurityElement_t2325568386 * L_4 = V_0;
__this->set_current_14(L_4);
goto IL_003d;
}
IL_0025:
{
Stack_t1043988394 * L_5 = __this->get_stack_15();
Il2CppObject * L_6 = VirtFuncInvoker0< Il2CppObject * >::Invoke(17 /* System.Object System.Collections.Stack::Peek() */, L_5);
V_1 = ((SecurityElement_t2325568386 *)CastclassSealed(L_6, SecurityElement_t2325568386_il2cpp_TypeInfo_var));
SecurityElement_t2325568386 * L_7 = V_1;
SecurityElement_t2325568386 * L_8 = V_0;
SecurityElement_AddChild_m4178544467(L_7, L_8, /*hidden argument*/NULL);
}
IL_003d:
{
Stack_t1043988394 * L_9 = __this->get_stack_15();
SecurityElement_t2325568386 * L_10 = V_0;
VirtActionInvoker1< Il2CppObject * >::Invoke(19 /* System.Void System.Collections.Stack::Push(System.Object) */, L_9, L_10);
SecurityElement_t2325568386 * L_11 = V_0;
__this->set_current_14(L_11);
Il2CppObject * L_12 = ___attrs1;
int32_t L_13 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 Mono.Xml.SmallXmlParser/IAttrList::get_Length() */, IAttrList_t4064541270_il2cpp_TypeInfo_var, L_12);
V_2 = L_13;
V_3 = 0;
goto IL_0080;
}
IL_005e:
{
SecurityElement_t2325568386 * L_14 = __this->get_current_14();
Il2CppObject * L_15 = ___attrs1;
int32_t L_16 = V_3;
String_t* L_17 = InterfaceFuncInvoker1< String_t*, int32_t >::Invoke(1 /* System.String Mono.Xml.SmallXmlParser/IAttrList::GetName(System.Int32) */, IAttrList_t4064541270_il2cpp_TypeInfo_var, L_15, L_16);
Il2CppObject * L_18 = ___attrs1;
int32_t L_19 = V_3;
String_t* L_20 = InterfaceFuncInvoker1< String_t*, int32_t >::Invoke(2 /* System.String Mono.Xml.SmallXmlParser/IAttrList::GetValue(System.Int32) */, IAttrList_t4064541270_il2cpp_TypeInfo_var, L_18, L_19);
IL2CPP_RUNTIME_CLASS_INIT(SecurityElement_t2325568386_il2cpp_TypeInfo_var);
String_t* L_21 = SecurityElement_Escape_m677416717(NULL /*static, unused*/, L_20, /*hidden argument*/NULL);
SecurityElement_AddAttribute_m2324447756(L_14, L_17, L_21, /*hidden argument*/NULL);
int32_t L_22 = V_3;
V_3 = ((int32_t)((int32_t)L_22+(int32_t)1));
}
IL_0080:
{
int32_t L_23 = V_3;
int32_t L_24 = V_2;
if ((((int32_t)L_23) < ((int32_t)L_24)))
{
goto IL_005e;
}
}
{
return;
}
}
// System.Void Mono.Xml.SecurityParser::OnEndElement(System.String)
extern Il2CppClass* SecurityElement_t2325568386_il2cpp_TypeInfo_var;
extern const uint32_t SecurityParser_OnEndElement_m2909940377_MetadataUsageId;
extern "C" void SecurityParser_OnEndElement_m2909940377 (SecurityParser_t30730985 * __this, String_t* ___name0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SecurityParser_OnEndElement_m2909940377_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
Stack_t1043988394 * L_0 = __this->get_stack_15();
Il2CppObject * L_1 = VirtFuncInvoker0< Il2CppObject * >::Invoke(18 /* System.Object System.Collections.Stack::Pop() */, L_0);
__this->set_current_14(((SecurityElement_t2325568386 *)CastclassSealed(L_1, SecurityElement_t2325568386_il2cpp_TypeInfo_var)));
return;
}
}
// System.Void Mono.Xml.SecurityParser::OnChars(System.String)
extern Il2CppClass* SecurityElement_t2325568386_il2cpp_TypeInfo_var;
extern const uint32_t SecurityParser_OnChars_m2351845751_MetadataUsageId;
extern "C" void SecurityParser_OnChars_m2351845751 (SecurityParser_t30730985 * __this, String_t* ___ch0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SecurityParser_OnChars_m2351845751_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
SecurityElement_t2325568386 * L_0 = __this->get_current_14();
String_t* L_1 = ___ch0;
IL2CPP_RUNTIME_CLASS_INIT(SecurityElement_t2325568386_il2cpp_TypeInfo_var);
String_t* L_2 = SecurityElement_Escape_m677416717(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
SecurityElement_set_Text_m2410443257(L_0, L_2, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Xml.SecurityParser::OnEndParsing(Mono.Xml.SmallXmlParser)
extern "C" void SecurityParser_OnEndParsing_m565346250 (SecurityParser_t30730985 * __this, SmallXmlParser_t3549787957 * ___parser0, const MethodInfo* method)
{
{
return;
}
}
// System.Void Mono.Xml.SmallXmlParser::.ctor()
extern Il2CppClass* Stack_t1043988394_il2cpp_TypeInfo_var;
extern Il2CppClass* StringBuilder_t1221177846_il2cpp_TypeInfo_var;
extern Il2CppClass* CharU5BU5D_t1328083999_il2cpp_TypeInfo_var;
extern Il2CppClass* AttrListImpl_t4015491015_il2cpp_TypeInfo_var;
extern const uint32_t SmallXmlParser__ctor_m1034349227_MetadataUsageId;
extern "C" void SmallXmlParser__ctor_m1034349227 (SmallXmlParser_t3549787957 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SmallXmlParser__ctor_m1034349227_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
Stack_t1043988394 * L_0 = (Stack_t1043988394 *)il2cpp_codegen_object_new(Stack_t1043988394_il2cpp_TypeInfo_var);
Stack__ctor_m521896492(L_0, /*hidden argument*/NULL);
__this->set_elementNames_2(L_0);
Stack_t1043988394 * L_1 = (Stack_t1043988394 *)il2cpp_codegen_object_new(Stack_t1043988394_il2cpp_TypeInfo_var);
Stack__ctor_m521896492(L_1, /*hidden argument*/NULL);
__this->set_xmlSpaces_3(L_1);
StringBuilder_t1221177846 * L_2 = (StringBuilder_t1221177846 *)il2cpp_codegen_object_new(StringBuilder_t1221177846_il2cpp_TypeInfo_var);
StringBuilder__ctor_m536337337(L_2, ((int32_t)200), /*hidden argument*/NULL);
__this->set_buffer_5(L_2);
__this->set_nameBuffer_6(((CharU5BU5D_t1328083999*)SZArrayNew(CharU5BU5D_t1328083999_il2cpp_TypeInfo_var, (uint32_t)((int32_t)30))));
AttrListImpl_t4015491015 * L_3 = (AttrListImpl_t4015491015 *)il2cpp_codegen_object_new(AttrListImpl_t4015491015_il2cpp_TypeInfo_var);
AttrListImpl__ctor_m3211398293(L_3, /*hidden argument*/NULL);
__this->set_attributes_8(L_3);
__this->set_line_9(1);
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
return;
}
}
// System.Exception Mono.Xml.SmallXmlParser::Error(System.String)
extern Il2CppClass* SmallXmlParserException_t2094031034_il2cpp_TypeInfo_var;
extern const uint32_t SmallXmlParser_Error_m1832158746_MetadataUsageId;
extern "C" Exception_t1927440687 * SmallXmlParser_Error_m1832158746 (SmallXmlParser_t3549787957 * __this, String_t* ___msg0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SmallXmlParser_Error_m1832158746_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
String_t* L_0 = ___msg0;
int32_t L_1 = __this->get_line_9();
int32_t L_2 = __this->get_column_10();
SmallXmlParserException_t2094031034 * L_3 = (SmallXmlParserException_t2094031034 *)il2cpp_codegen_object_new(SmallXmlParserException_t2094031034_il2cpp_TypeInfo_var);
SmallXmlParserException__ctor_m204191026(L_3, L_0, L_1, L_2, /*hidden argument*/NULL);
return L_3;
}
}
// System.Exception Mono.Xml.SmallXmlParser::UnexpectedEndError()
extern Il2CppClass* StringU5BU5D_t1642385972_il2cpp_TypeInfo_var;
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral3034503044;
extern Il2CppCodeGenString* _stringLiteral372029314;
extern const uint32_t SmallXmlParser_UnexpectedEndError_m3367726590_MetadataUsageId;
extern "C" Exception_t1927440687 * SmallXmlParser_UnexpectedEndError_m3367726590 (SmallXmlParser_t3549787957 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SmallXmlParser_UnexpectedEndError_m3367726590_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
StringU5BU5D_t1642385972* V_0 = NULL;
{
Stack_t1043988394 * L_0 = __this->get_elementNames_2();
int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(10 /* System.Int32 System.Collections.Stack::get_Count() */, L_0);
V_0 = ((StringU5BU5D_t1642385972*)SZArrayNew(StringU5BU5D_t1642385972_il2cpp_TypeInfo_var, (uint32_t)L_1));
Stack_t1043988394 * L_2 = __this->get_elementNames_2();
StringU5BU5D_t1642385972* L_3 = V_0;
VirtActionInvoker2< Il2CppArray *, int32_t >::Invoke(15 /* System.Void System.Collections.Stack::CopyTo(System.Array,System.Int32) */, L_2, (Il2CppArray *)(Il2CppArray *)L_3, 0);
StringU5BU5D_t1642385972* L_4 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_5 = String_Join_m1966872927(NULL /*static, unused*/, _stringLiteral372029314, L_4, /*hidden argument*/NULL);
String_t* L_6 = String_Format_m2024975688(NULL /*static, unused*/, _stringLiteral3034503044, L_5, /*hidden argument*/NULL);
Exception_t1927440687 * L_7 = SmallXmlParser_Error_m1832158746(__this, L_6, /*hidden argument*/NULL);
return L_7;
}
}
// System.Boolean Mono.Xml.SmallXmlParser::IsNameChar(System.Char,System.Boolean)
extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var;
extern const uint32_t SmallXmlParser_IsNameChar_m1561000202_MetadataUsageId;
extern "C" bool SmallXmlParser_IsNameChar_m1561000202 (SmallXmlParser_t3549787957 * __this, Il2CppChar ___c0, bool ___start1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SmallXmlParser_IsNameChar_m1561000202_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
Il2CppChar V_0 = 0x0;
int32_t V_1 = 0;
{
Il2CppChar L_0 = ___c0;
V_0 = L_0;
Il2CppChar L_1 = V_0;
if ((((int32_t)L_1) == ((int32_t)((int32_t)45))))
{
goto IL_0029;
}
}
{
Il2CppChar L_2 = V_0;
if ((((int32_t)L_2) == ((int32_t)((int32_t)46))))
{
goto IL_0029;
}
}
{
Il2CppChar L_3 = V_0;
if ((((int32_t)L_3) == ((int32_t)((int32_t)58))))
{
goto IL_0027;
}
}
{
Il2CppChar L_4 = V_0;
if ((((int32_t)L_4) == ((int32_t)((int32_t)95))))
{
goto IL_0027;
}
}
{
goto IL_002e;
}
IL_0027:
{
return (bool)1;
}
IL_0029:
{
bool L_5 = ___start1;
return (bool)((((int32_t)L_5) == ((int32_t)0))? 1 : 0);
}
IL_002e:
{
Il2CppChar L_6 = ___c0;
if ((((int32_t)L_6) <= ((int32_t)((int32_t)256))))
{
goto IL_007b;
}
}
{
Il2CppChar L_7 = ___c0;
V_0 = L_7;
Il2CppChar L_8 = V_0;
if ((((int32_t)L_8) == ((int32_t)((int32_t)1765))))
{
goto IL_0061;
}
}
{
Il2CppChar L_9 = V_0;
if ((((int32_t)L_9) == ((int32_t)((int32_t)1766))))
{
goto IL_0061;
}
}
{
Il2CppChar L_10 = V_0;
if ((((int32_t)L_10) == ((int32_t)((int32_t)1369))))
{
goto IL_0061;
}
}
{
goto IL_0063;
}
IL_0061:
{
return (bool)1;
}
IL_0063:
{
Il2CppChar L_11 = ___c0;
if ((((int32_t)((int32_t)699)) > ((int32_t)L_11)))
{
goto IL_007b;
}
}
{
Il2CppChar L_12 = ___c0;
if ((((int32_t)L_12) > ((int32_t)((int32_t)705))))
{
goto IL_007b;
}
}
{
return (bool)1;
}
IL_007b:
{
Il2CppChar L_13 = ___c0;
IL2CPP_RUNTIME_CLASS_INIT(Char_t3454481338_il2cpp_TypeInfo_var);
int32_t L_14 = Char_GetUnicodeCategory_m4273361321(NULL /*static, unused*/, L_13, /*hidden argument*/NULL);
V_1 = L_14;
int32_t L_15 = V_1;
if (L_15 == 0)
{
goto IL_00b5;
}
if (L_15 == 1)
{
goto IL_00b5;
}
if (L_15 == 2)
{
goto IL_00b5;
}
if (L_15 == 3)
{
goto IL_00b7;
}
if (L_15 == 4)
{
goto IL_00b5;
}
if (L_15 == 5)
{
goto IL_00b7;
}
if (L_15 == 6)
{
goto IL_00b7;
}
if (L_15 == 7)
{
goto IL_00b7;
}
if (L_15 == 8)
{
goto IL_00b7;
}
if (L_15 == 9)
{
goto IL_00b5;
}
}
{
goto IL_00bc;
}
IL_00b5:
{
return (bool)1;
}
IL_00b7:
{
bool L_16 = ___start1;
return (bool)((((int32_t)L_16) == ((int32_t)0))? 1 : 0);
}
IL_00bc:
{
return (bool)0;
}
}
// System.Boolean Mono.Xml.SmallXmlParser::IsWhitespace(System.Int32)
extern "C" bool SmallXmlParser_IsWhitespace_m2887754975 (SmallXmlParser_t3549787957 * __this, int32_t ___c0, const MethodInfo* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = ___c0;
V_0 = L_0;
int32_t L_1 = V_0;
if (((int32_t)((int32_t)L_1-(int32_t)((int32_t)9))) == 0)
{
goto IL_002c;
}
if (((int32_t)((int32_t)L_1-(int32_t)((int32_t)9))) == 1)
{
goto IL_002c;
}
if (((int32_t)((int32_t)L_1-(int32_t)((int32_t)9))) == 2)
{
goto IL_001f;
}
if (((int32_t)((int32_t)L_1-(int32_t)((int32_t)9))) == 3)
{
goto IL_001f;
}
if (((int32_t)((int32_t)L_1-(int32_t)((int32_t)9))) == 4)
{
goto IL_002c;
}
}
IL_001f:
{
int32_t L_2 = V_0;
if ((((int32_t)L_2) == ((int32_t)((int32_t)32))))
{
goto IL_002c;
}
}
{
goto IL_002e;
}
IL_002c:
{
return (bool)1;
}
IL_002e:
{
return (bool)0;
}
}
// System.Void Mono.Xml.SmallXmlParser::SkipWhitespaces()
extern "C" void SmallXmlParser_SkipWhitespaces_m2923234398 (SmallXmlParser_t3549787957 * __this, const MethodInfo* method)
{
{
SmallXmlParser_SkipWhitespaces_m511753(__this, (bool)0, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Xml.SmallXmlParser::HandleWhitespaces()
extern "C" void SmallXmlParser_HandleWhitespaces_m2502762625 (SmallXmlParser_t3549787957 * __this, const MethodInfo* method)
{
{
goto IL_0018;
}
IL_0005:
{
StringBuilder_t1221177846 * L_0 = __this->get_buffer_5();
int32_t L_1 = SmallXmlParser_Read_m2412330867(__this, /*hidden argument*/NULL);
StringBuilder_Append_m3618697540(L_0, (((int32_t)((uint16_t)L_1))), /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
bool L_3 = SmallXmlParser_IsWhitespace_m2887754975(__this, L_2, /*hidden argument*/NULL);
if (L_3)
{
goto IL_0005;
}
}
{
int32_t L_4 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
if ((((int32_t)L_4) == ((int32_t)((int32_t)60))))
{
goto IL_0049;
}
}
{
int32_t L_5 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
if ((((int32_t)L_5) < ((int32_t)0)))
{
goto IL_0049;
}
}
{
__this->set_isWhitespace_7((bool)0);
}
IL_0049:
{
return;
}
}
// System.Void Mono.Xml.SmallXmlParser::SkipWhitespaces(System.Boolean)
extern Il2CppCodeGenString* _stringLiteral1062421109;
extern const uint32_t SmallXmlParser_SkipWhitespaces_m511753_MetadataUsageId;
extern "C" void SmallXmlParser_SkipWhitespaces_m511753 (SmallXmlParser_t3549787957 * __this, bool ___expected0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SmallXmlParser_SkipWhitespaces_m511753_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
IL_0000:
{
int32_t L_0 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
V_0 = L_0;
int32_t L_1 = V_0;
if (((int32_t)((int32_t)L_1-(int32_t)((int32_t)9))) == 0)
{
goto IL_0031;
}
if (((int32_t)((int32_t)L_1-(int32_t)((int32_t)9))) == 1)
{
goto IL_0031;
}
if (((int32_t)((int32_t)L_1-(int32_t)((int32_t)9))) == 2)
{
goto IL_0024;
}
if (((int32_t)((int32_t)L_1-(int32_t)((int32_t)9))) == 3)
{
goto IL_0024;
}
if (((int32_t)((int32_t)L_1-(int32_t)((int32_t)9))) == 4)
{
goto IL_0031;
}
}
IL_0024:
{
int32_t L_2 = V_0;
if ((((int32_t)L_2) == ((int32_t)((int32_t)32))))
{
goto IL_0031;
}
}
{
goto IL_0046;
}
IL_0031:
{
SmallXmlParser_Read_m2412330867(__this, /*hidden argument*/NULL);
bool L_3 = ___expected0;
if (!L_3)
{
goto IL_0041;
}
}
{
___expected0 = (bool)0;
}
IL_0041:
{
goto IL_0000;
}
IL_0046:
{
bool L_4 = ___expected0;
if (!L_4)
{
goto IL_0058;
}
}
{
Exception_t1927440687 * L_5 = SmallXmlParser_Error_m1832158746(__this, _stringLiteral1062421109, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5);
}
IL_0058:
{
return;
}
// Dead block : IL_0059: br IL_0000
}
// System.Int32 Mono.Xml.SmallXmlParser::Peek()
extern "C" int32_t SmallXmlParser_Peek_m2814840810 (SmallXmlParser_t3549787957 * __this, const MethodInfo* method)
{
{
TextReader_t1561828458 * L_0 = __this->get_reader_1();
int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 System.IO.TextReader::Peek() */, L_0);
return L_1;
}
}
// System.Int32 Mono.Xml.SmallXmlParser::Read()
extern "C" int32_t SmallXmlParser_Read_m2412330867 (SmallXmlParser_t3549787957 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
TextReader_t1561828458 * L_0 = __this->get_reader_1();
int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(7 /* System.Int32 System.IO.TextReader::Read() */, L_0);
V_0 = L_1;
int32_t L_2 = V_0;
if ((!(((uint32_t)L_2) == ((uint32_t)((int32_t)10)))))
{
goto IL_001b;
}
}
{
__this->set_resetColumn_11((bool)1);
}
IL_001b:
{
bool L_3 = __this->get_resetColumn_11();
if (!L_3)
{
goto IL_0047;
}
}
{
int32_t L_4 = __this->get_line_9();
__this->set_line_9(((int32_t)((int32_t)L_4+(int32_t)1)));
__this->set_resetColumn_11((bool)0);
__this->set_column_10(1);
goto IL_0055;
}
IL_0047:
{
int32_t L_5 = __this->get_column_10();
__this->set_column_10(((int32_t)((int32_t)L_5+(int32_t)1)));
}
IL_0055:
{
int32_t L_6 = V_0;
return L_6;
}
}
// System.Void Mono.Xml.SmallXmlParser::Expect(System.Int32)
extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var;
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral612410370;
extern const uint32_t SmallXmlParser_Expect_m3488282881_MetadataUsageId;
extern "C" void SmallXmlParser_Expect_m3488282881 (SmallXmlParser_t3549787957 * __this, int32_t ___c0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SmallXmlParser_Expect_m3488282881_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
{
int32_t L_0 = SmallXmlParser_Read_m2412330867(__this, /*hidden argument*/NULL);
V_0 = L_0;
int32_t L_1 = V_0;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0015;
}
}
{
Exception_t1927440687 * L_2 = SmallXmlParser_UnexpectedEndError_m3367726590(__this, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2);
}
IL_0015:
{
int32_t L_3 = V_0;
int32_t L_4 = ___c0;
if ((((int32_t)L_3) == ((int32_t)L_4)))
{
goto IL_003b;
}
}
{
int32_t L_5 = ___c0;
Il2CppChar L_6 = ((Il2CppChar)(((int32_t)((uint16_t)L_5))));
Il2CppObject * L_7 = Box(Char_t3454481338_il2cpp_TypeInfo_var, &L_6);
int32_t L_8 = V_0;
Il2CppChar L_9 = ((Il2CppChar)(((int32_t)((uint16_t)L_8))));
Il2CppObject * L_10 = Box(Char_t3454481338_il2cpp_TypeInfo_var, &L_9);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_11 = String_Format_m1811873526(NULL /*static, unused*/, _stringLiteral612410370, L_7, L_10, /*hidden argument*/NULL);
Exception_t1927440687 * L_12 = SmallXmlParser_Error_m1832158746(__this, L_11, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_12);
}
IL_003b:
{
return;
}
}
// System.String Mono.Xml.SmallXmlParser::ReadUntil(System.Char,System.Boolean)
extern "C" String_t* SmallXmlParser_ReadUntil_m1879223332 (SmallXmlParser_t3549787957 * __this, Il2CppChar ___until0, bool ___handleReferences1, const MethodInfo* method)
{
Il2CppChar V_0 = 0x0;
String_t* V_1 = NULL;
IL_0000:
{
int32_t L_0 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0013;
}
}
{
Exception_t1927440687 * L_1 = SmallXmlParser_UnexpectedEndError_m3367726590(__this, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1);
}
IL_0013:
{
int32_t L_2 = SmallXmlParser_Read_m2412330867(__this, /*hidden argument*/NULL);
V_0 = (((int32_t)((uint16_t)L_2)));
Il2CppChar L_3 = V_0;
Il2CppChar L_4 = ___until0;
if ((!(((uint32_t)L_3) == ((uint32_t)L_4))))
{
goto IL_0027;
}
}
{
goto IL_0052;
}
IL_0027:
{
bool L_5 = ___handleReferences1;
if (!L_5)
{
goto IL_0040;
}
}
{
Il2CppChar L_6 = V_0;
if ((!(((uint32_t)L_6) == ((uint32_t)((int32_t)38)))))
{
goto IL_0040;
}
}
{
SmallXmlParser_ReadReference_m4174977204(__this, /*hidden argument*/NULL);
goto IL_004d;
}
IL_0040:
{
StringBuilder_t1221177846 * L_7 = __this->get_buffer_5();
Il2CppChar L_8 = V_0;
StringBuilder_Append_m3618697540(L_7, L_8, /*hidden argument*/NULL);
}
IL_004d:
{
goto IL_0000;
}
IL_0052:
{
StringBuilder_t1221177846 * L_9 = __this->get_buffer_5();
String_t* L_10 = StringBuilder_ToString_m1507807375(L_9, /*hidden argument*/NULL);
V_1 = L_10;
StringBuilder_t1221177846 * L_11 = __this->get_buffer_5();
StringBuilder_set_Length_m3039225444(L_11, 0, /*hidden argument*/NULL);
String_t* L_12 = V_1;
return L_12;
}
}
// System.String Mono.Xml.SmallXmlParser::ReadName()
extern Il2CppClass* CharU5BU5D_t1328083999_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral632242781;
extern Il2CppCodeGenString* _stringLiteral3137278498;
extern const uint32_t SmallXmlParser_ReadName_m80205839_MetadataUsageId;
extern "C" String_t* SmallXmlParser_ReadName_m80205839 (SmallXmlParser_t3549787957 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SmallXmlParser_ReadName_m80205839_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
Il2CppChar V_2 = 0x0;
CharU5BU5D_t1328083999* V_3 = NULL;
{
V_0 = 0;
int32_t L_0 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
if ((((int32_t)L_0) < ((int32_t)0)))
{
goto IL_0021;
}
}
{
int32_t L_1 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
bool L_2 = SmallXmlParser_IsNameChar_m1561000202(__this, (((int32_t)((uint16_t)L_1))), (bool)1, /*hidden argument*/NULL);
if (L_2)
{
goto IL_002d;
}
}
IL_0021:
{
Exception_t1927440687 * L_3 = SmallXmlParser_Error_m1832158746(__this, _stringLiteral632242781, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3);
}
IL_002d:
{
int32_t L_4 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
V_1 = L_4;
goto IL_0094;
}
IL_0039:
{
int32_t L_5 = V_1;
V_2 = (((int32_t)((uint16_t)L_5)));
Il2CppChar L_6 = V_2;
bool L_7 = SmallXmlParser_IsNameChar_m1561000202(__this, L_6, (bool)0, /*hidden argument*/NULL);
if (L_7)
{
goto IL_004e;
}
}
{
goto IL_009b;
}
IL_004e:
{
int32_t L_8 = V_0;
CharU5BU5D_t1328083999* L_9 = __this->get_nameBuffer_6();
if ((!(((uint32_t)L_8) == ((uint32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_9)->max_length))))))))
{
goto IL_0079;
}
}
{
int32_t L_10 = V_0;
V_3 = ((CharU5BU5D_t1328083999*)SZArrayNew(CharU5BU5D_t1328083999_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)L_10*(int32_t)2))));
CharU5BU5D_t1328083999* L_11 = __this->get_nameBuffer_6();
CharU5BU5D_t1328083999* L_12 = V_3;
int32_t L_13 = V_0;
Array_Copy_m2363740072(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_11, (Il2CppArray *)(Il2CppArray *)L_12, L_13, /*hidden argument*/NULL);
CharU5BU5D_t1328083999* L_14 = V_3;
__this->set_nameBuffer_6(L_14);
}
IL_0079:
{
CharU5BU5D_t1328083999* L_15 = __this->get_nameBuffer_6();
int32_t L_16 = V_0;
int32_t L_17 = L_16;
V_0 = ((int32_t)((int32_t)L_17+(int32_t)1));
Il2CppChar L_18 = V_2;
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(L_17), (Il2CppChar)L_18);
SmallXmlParser_Read_m2412330867(__this, /*hidden argument*/NULL);
int32_t L_19 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
V_1 = L_19;
}
IL_0094:
{
int32_t L_20 = V_1;
if ((((int32_t)L_20) >= ((int32_t)0)))
{
goto IL_0039;
}
}
IL_009b:
{
int32_t L_21 = V_0;
if (L_21)
{
goto IL_00ad;
}
}
{
Exception_t1927440687 * L_22 = SmallXmlParser_Error_m1832158746(__this, _stringLiteral3137278498, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_22);
}
IL_00ad:
{
CharU5BU5D_t1328083999* L_23 = __this->get_nameBuffer_6();
int32_t L_24 = V_0;
String_t* L_25 = String_CreateString_m2448464375(NULL, L_23, 0, L_24, /*hidden argument*/NULL);
return L_25;
}
}
// System.Void Mono.Xml.SmallXmlParser::Parse(System.IO.TextReader,Mono.Xml.SmallXmlParser/IContentHandler)
extern Il2CppClass* IContentHandler_t3823912562_il2cpp_TypeInfo_var;
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral2985671669;
extern const uint32_t SmallXmlParser_Parse_m1986939549_MetadataUsageId;
extern "C" void SmallXmlParser_Parse_m1986939549 (SmallXmlParser_t3549787957 * __this, TextReader_t1561828458 * ___input0, Il2CppObject * ___handler1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SmallXmlParser_Parse_m1986939549_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
TextReader_t1561828458 * L_0 = ___input0;
__this->set_reader_1(L_0);
Il2CppObject * L_1 = ___handler1;
__this->set_handler_0(L_1);
Il2CppObject * L_2 = ___handler1;
InterfaceActionInvoker1< SmallXmlParser_t3549787957 * >::Invoke(0 /* System.Void Mono.Xml.SmallXmlParser/IContentHandler::OnStartParsing(Mono.Xml.SmallXmlParser) */, IContentHandler_t3823912562_il2cpp_TypeInfo_var, L_2, __this);
goto IL_0020;
}
IL_001a:
{
SmallXmlParser_ReadContent_m4038164984(__this, /*hidden argument*/NULL);
}
IL_0020:
{
int32_t L_3 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
if ((((int32_t)L_3) >= ((int32_t)0)))
{
goto IL_001a;
}
}
{
SmallXmlParser_HandleBufferedContent_m3397096753(__this, /*hidden argument*/NULL);
Stack_t1043988394 * L_4 = __this->get_elementNames_2();
int32_t L_5 = VirtFuncInvoker0< int32_t >::Invoke(10 /* System.Int32 System.Collections.Stack::get_Count() */, L_4);
if ((((int32_t)L_5) <= ((int32_t)0)))
{
goto IL_005f;
}
}
{
Stack_t1043988394 * L_6 = __this->get_elementNames_2();
Il2CppObject * L_7 = VirtFuncInvoker0< Il2CppObject * >::Invoke(17 /* System.Object System.Collections.Stack::Peek() */, L_6);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_8 = String_Format_m2024975688(NULL /*static, unused*/, _stringLiteral2985671669, L_7, /*hidden argument*/NULL);
Exception_t1927440687 * L_9 = SmallXmlParser_Error_m1832158746(__this, L_8, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_9);
}
IL_005f:
{
Il2CppObject * L_10 = ___handler1;
InterfaceActionInvoker1< SmallXmlParser_t3549787957 * >::Invoke(1 /* System.Void Mono.Xml.SmallXmlParser/IContentHandler::OnEndParsing(Mono.Xml.SmallXmlParser) */, IContentHandler_t3823912562_il2cpp_TypeInfo_var, L_10, __this);
SmallXmlParser_Cleanup_m3545113023(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Xml.SmallXmlParser::Cleanup()
extern "C" void SmallXmlParser_Cleanup_m3545113023 (SmallXmlParser_t3549787957 * __this, const MethodInfo* method)
{
{
__this->set_line_9(1);
__this->set_column_10(0);
__this->set_handler_0((Il2CppObject *)NULL);
__this->set_reader_1((TextReader_t1561828458 *)NULL);
Stack_t1043988394 * L_0 = __this->get_elementNames_2();
VirtActionInvoker0::Invoke(13 /* System.Void System.Collections.Stack::Clear() */, L_0);
Stack_t1043988394 * L_1 = __this->get_xmlSpaces_3();
VirtActionInvoker0::Invoke(13 /* System.Void System.Collections.Stack::Clear() */, L_1);
AttrListImpl_t4015491015 * L_2 = __this->get_attributes_8();
AttrListImpl_Clear_m3490165608(L_2, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_3 = __this->get_buffer_5();
StringBuilder_set_Length_m3039225444(L_3, 0, /*hidden argument*/NULL);
__this->set_xmlSpace_4((String_t*)NULL);
__this->set_isWhitespace_7((bool)0);
return;
}
}
// System.Void Mono.Xml.SmallXmlParser::ReadContent()
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppClass* IContentHandler_t3823912562_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral3994948111;
extern Il2CppCodeGenString* _stringLiteral1231993621;
extern Il2CppCodeGenString* _stringLiteral4117269220;
extern Il2CppCodeGenString* _stringLiteral2812723699;
extern Il2CppCodeGenString* _stringLiteral2367140699;
extern Il2CppCodeGenString* _stringLiteral372029331;
extern Il2CppCodeGenString* _stringLiteral498529805;
extern const uint32_t SmallXmlParser_ReadContent_m4038164984_MetadataUsageId;
extern "C" void SmallXmlParser_ReadContent_m4038164984 (SmallXmlParser_t3549787957 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SmallXmlParser_ReadContent_m4038164984_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
String_t* V_0 = NULL;
String_t* V_1 = NULL;
String_t* V_2 = NULL;
int32_t V_3 = 0;
{
int32_t L_0 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
bool L_1 = SmallXmlParser_IsWhitespace_m2887754975(__this, L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_002e;
}
}
{
StringBuilder_t1221177846 * L_2 = __this->get_buffer_5();
int32_t L_3 = StringBuilder_get_Length_m1608241323(L_2, /*hidden argument*/NULL);
if (L_3)
{
goto IL_0028;
}
}
{
__this->set_isWhitespace_7((bool)1);
}
IL_0028:
{
SmallXmlParser_HandleWhitespaces_m2502762625(__this, /*hidden argument*/NULL);
}
IL_002e:
{
int32_t L_4 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
if ((!(((uint32_t)L_4) == ((uint32_t)((int32_t)60)))))
{
goto IL_02c3;
}
}
{
SmallXmlParser_Read_m2412330867(__this, /*hidden argument*/NULL);
int32_t L_5 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
V_3 = L_5;
int32_t L_6 = V_3;
if ((((int32_t)L_6) == ((int32_t)((int32_t)33))))
{
goto IL_0066;
}
}
{
int32_t L_7 = V_3;
if ((((int32_t)L_7) == ((int32_t)((int32_t)47))))
{
goto IL_0168;
}
}
{
int32_t L_8 = V_3;
if ((((int32_t)L_8) == ((int32_t)((int32_t)63))))
{
goto IL_00f2;
}
}
{
goto IL_021d;
}
IL_0066:
{
SmallXmlParser_Read_m2412330867(__this, /*hidden argument*/NULL);
int32_t L_9 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
if ((!(((uint32_t)L_9) == ((uint32_t)((int32_t)91)))))
{
goto IL_00b1;
}
}
{
SmallXmlParser_Read_m2412330867(__this, /*hidden argument*/NULL);
String_t* L_10 = SmallXmlParser_ReadName_m80205839(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
bool L_11 = String_op_Inequality_m304203149(NULL /*static, unused*/, L_10, _stringLiteral3994948111, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_00a2;
}
}
{
Exception_t1927440687 * L_12 = SmallXmlParser_Error_m1832158746(__this, _stringLiteral1231993621, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_12);
}
IL_00a2:
{
SmallXmlParser_Expect_m3488282881(__this, ((int32_t)91), /*hidden argument*/NULL);
SmallXmlParser_ReadCDATASection_m2558307107(__this, /*hidden argument*/NULL);
return;
}
IL_00b1:
{
int32_t L_13 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
if ((!(((uint32_t)L_13) == ((uint32_t)((int32_t)45)))))
{
goto IL_00c5;
}
}
{
SmallXmlParser_ReadComment_m1117342068(__this, /*hidden argument*/NULL);
return;
}
IL_00c5:
{
String_t* L_14 = SmallXmlParser_ReadName_m80205839(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
bool L_15 = String_op_Inequality_m304203149(NULL /*static, unused*/, L_14, _stringLiteral4117269220, /*hidden argument*/NULL);
if (!L_15)
{
goto IL_00e6;
}
}
{
Exception_t1927440687 * L_16 = SmallXmlParser_Error_m1832158746(__this, _stringLiteral2812723699, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_16);
}
IL_00e6:
{
Exception_t1927440687 * L_17 = SmallXmlParser_Error_m1832158746(__this, _stringLiteral2367140699, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_17);
}
IL_00f2:
{
SmallXmlParser_HandleBufferedContent_m3397096753(__this, /*hidden argument*/NULL);
SmallXmlParser_Read_m2412330867(__this, /*hidden argument*/NULL);
String_t* L_18 = SmallXmlParser_ReadName_m80205839(__this, /*hidden argument*/NULL);
V_0 = L_18;
SmallXmlParser_SkipWhitespaces_m2923234398(__this, /*hidden argument*/NULL);
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();
V_1 = L_19;
int32_t L_20 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
if ((((int32_t)L_20) == ((int32_t)((int32_t)63))))
{
goto IL_0152;
}
}
IL_011f:
{
String_t* L_21 = V_1;
String_t* L_22 = SmallXmlParser_ReadUntil_m1879223332(__this, ((int32_t)63), (bool)0, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_23 = String_Concat_m2596409543(NULL /*static, unused*/, L_21, L_22, /*hidden argument*/NULL);
V_1 = L_23;
int32_t L_24 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
if ((!(((uint32_t)L_24) == ((uint32_t)((int32_t)62)))))
{
goto IL_0141;
}
}
{
goto IL_0152;
}
IL_0141:
{
String_t* L_25 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_26 = String_Concat_m2596409543(NULL /*static, unused*/, L_25, _stringLiteral372029331, /*hidden argument*/NULL);
V_1 = L_26;
goto IL_011f;
}
IL_0152:
{
Il2CppObject * L_27 = __this->get_handler_0();
String_t* L_28 = V_0;
String_t* L_29 = V_1;
InterfaceActionInvoker2< String_t*, String_t* >::Invoke(4 /* System.Void Mono.Xml.SmallXmlParser/IContentHandler::OnProcessingInstruction(System.String,System.String) */, IContentHandler_t3823912562_il2cpp_TypeInfo_var, L_27, L_28, L_29);
SmallXmlParser_Expect_m3488282881(__this, ((int32_t)62), /*hidden argument*/NULL);
return;
}
IL_0168:
{
SmallXmlParser_HandleBufferedContent_m3397096753(__this, /*hidden argument*/NULL);
Stack_t1043988394 * L_30 = __this->get_elementNames_2();
int32_t L_31 = VirtFuncInvoker0< int32_t >::Invoke(10 /* System.Int32 System.Collections.Stack::get_Count() */, L_30);
if (L_31)
{
goto IL_0185;
}
}
{
Exception_t1927440687 * L_32 = SmallXmlParser_UnexpectedEndError_m3367726590(__this, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_32);
}
IL_0185:
{
SmallXmlParser_Read_m2412330867(__this, /*hidden argument*/NULL);
String_t* L_33 = SmallXmlParser_ReadName_m80205839(__this, /*hidden argument*/NULL);
V_0 = L_33;
SmallXmlParser_SkipWhitespaces_m2923234398(__this, /*hidden argument*/NULL);
Stack_t1043988394 * L_34 = __this->get_elementNames_2();
Il2CppObject * L_35 = VirtFuncInvoker0< Il2CppObject * >::Invoke(18 /* System.Object System.Collections.Stack::Pop() */, L_34);
V_2 = ((String_t*)CastclassSealed(L_35, String_t_il2cpp_TypeInfo_var));
Stack_t1043988394 * L_36 = __this->get_xmlSpaces_3();
VirtFuncInvoker0< Il2CppObject * >::Invoke(18 /* System.Object System.Collections.Stack::Pop() */, L_36);
Stack_t1043988394 * L_37 = __this->get_xmlSpaces_3();
int32_t L_38 = VirtFuncInvoker0< int32_t >::Invoke(10 /* System.Int32 System.Collections.Stack::get_Count() */, L_37);
if ((((int32_t)L_38) <= ((int32_t)0)))
{
goto IL_01e2;
}
}
{
Stack_t1043988394 * L_39 = __this->get_xmlSpaces_3();
Il2CppObject * L_40 = VirtFuncInvoker0< Il2CppObject * >::Invoke(17 /* System.Object System.Collections.Stack::Peek() */, L_39);
__this->set_xmlSpace_4(((String_t*)CastclassSealed(L_40, String_t_il2cpp_TypeInfo_var)));
goto IL_01e9;
}
IL_01e2:
{
__this->set_xmlSpace_4((String_t*)NULL);
}
IL_01e9:
{
String_t* L_41 = V_0;
String_t* L_42 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
bool L_43 = String_op_Inequality_m304203149(NULL /*static, unused*/, L_41, L_42, /*hidden argument*/NULL);
if (!L_43)
{
goto IL_0208;
}
}
{
String_t* L_44 = V_2;
String_t* L_45 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_46 = String_Format_m1811873526(NULL /*static, unused*/, _stringLiteral498529805, L_44, L_45, /*hidden argument*/NULL);
Exception_t1927440687 * L_47 = SmallXmlParser_Error_m1832158746(__this, L_46, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_47);
}
IL_0208:
{
Il2CppObject * L_48 = __this->get_handler_0();
String_t* L_49 = V_0;
InterfaceActionInvoker1< String_t* >::Invoke(3 /* System.Void Mono.Xml.SmallXmlParser/IContentHandler::OnEndElement(System.String) */, IContentHandler_t3823912562_il2cpp_TypeInfo_var, L_48, L_49);
SmallXmlParser_Expect_m3488282881(__this, ((int32_t)62), /*hidden argument*/NULL);
return;
}
IL_021d:
{
SmallXmlParser_HandleBufferedContent_m3397096753(__this, /*hidden argument*/NULL);
String_t* L_50 = SmallXmlParser_ReadName_m80205839(__this, /*hidden argument*/NULL);
V_0 = L_50;
goto IL_023b;
}
IL_022f:
{
AttrListImpl_t4015491015 * L_51 = __this->get_attributes_8();
SmallXmlParser_ReadAttribute_m2755012144(__this, L_51, /*hidden argument*/NULL);
}
IL_023b:
{
int32_t L_52 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
if ((((int32_t)L_52) == ((int32_t)((int32_t)62))))
{
goto IL_0255;
}
}
{
int32_t L_53 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
if ((!(((uint32_t)L_53) == ((uint32_t)((int32_t)47)))))
{
goto IL_022f;
}
}
IL_0255:
{
Il2CppObject * L_54 = __this->get_handler_0();
String_t* L_55 = V_0;
AttrListImpl_t4015491015 * L_56 = __this->get_attributes_8();
InterfaceActionInvoker2< String_t*, Il2CppObject * >::Invoke(2 /* System.Void Mono.Xml.SmallXmlParser/IContentHandler::OnStartElement(System.String,Mono.Xml.SmallXmlParser/IAttrList) */, IContentHandler_t3823912562_il2cpp_TypeInfo_var, L_54, L_55, L_56);
AttrListImpl_t4015491015 * L_57 = __this->get_attributes_8();
AttrListImpl_Clear_m3490165608(L_57, /*hidden argument*/NULL);
SmallXmlParser_SkipWhitespaces_m2923234398(__this, /*hidden argument*/NULL);
int32_t L_58 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
if ((!(((uint32_t)L_58) == ((uint32_t)((int32_t)47)))))
{
goto IL_029d;
}
}
{
SmallXmlParser_Read_m2412330867(__this, /*hidden argument*/NULL);
Il2CppObject * L_59 = __this->get_handler_0();
String_t* L_60 = V_0;
InterfaceActionInvoker1< String_t* >::Invoke(3 /* System.Void Mono.Xml.SmallXmlParser/IContentHandler::OnEndElement(System.String) */, IContentHandler_t3823912562_il2cpp_TypeInfo_var, L_59, L_60);
goto IL_02ba;
}
IL_029d:
{
Stack_t1043988394 * L_61 = __this->get_elementNames_2();
String_t* L_62 = V_0;
VirtActionInvoker1< Il2CppObject * >::Invoke(19 /* System.Void System.Collections.Stack::Push(System.Object) */, L_61, L_62);
Stack_t1043988394 * L_63 = __this->get_xmlSpaces_3();
String_t* L_64 = __this->get_xmlSpace_4();
VirtActionInvoker1< Il2CppObject * >::Invoke(19 /* System.Void System.Collections.Stack::Push(System.Object) */, L_63, L_64);
}
IL_02ba:
{
SmallXmlParser_Expect_m3488282881(__this, ((int32_t)62), /*hidden argument*/NULL);
return;
}
IL_02c3:
{
SmallXmlParser_ReadCharacters_m1966365555(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Xml.SmallXmlParser::HandleBufferedContent()
extern Il2CppClass* IContentHandler_t3823912562_il2cpp_TypeInfo_var;
extern const uint32_t SmallXmlParser_HandleBufferedContent_m3397096753_MetadataUsageId;
extern "C" void SmallXmlParser_HandleBufferedContent_m3397096753 (SmallXmlParser_t3549787957 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SmallXmlParser_HandleBufferedContent_m3397096753_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
StringBuilder_t1221177846 * L_0 = __this->get_buffer_5();
int32_t L_1 = StringBuilder_get_Length_m1608241323(L_0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0011;
}
}
{
return;
}
IL_0011:
{
bool L_2 = __this->get_isWhitespace_7();
if (!L_2)
{
goto IL_0037;
}
}
{
Il2CppObject * L_3 = __this->get_handler_0();
StringBuilder_t1221177846 * L_4 = __this->get_buffer_5();
String_t* L_5 = StringBuilder_ToString_m1507807375(L_4, /*hidden argument*/NULL);
InterfaceActionInvoker1< String_t* >::Invoke(6 /* System.Void Mono.Xml.SmallXmlParser/IContentHandler::OnIgnorableWhitespace(System.String) */, IContentHandler_t3823912562_il2cpp_TypeInfo_var, L_3, L_5);
goto IL_004d;
}
IL_0037:
{
Il2CppObject * L_6 = __this->get_handler_0();
StringBuilder_t1221177846 * L_7 = __this->get_buffer_5();
String_t* L_8 = StringBuilder_ToString_m1507807375(L_7, /*hidden argument*/NULL);
InterfaceActionInvoker1< String_t* >::Invoke(5 /* System.Void Mono.Xml.SmallXmlParser/IContentHandler::OnChars(System.String) */, IContentHandler_t3823912562_il2cpp_TypeInfo_var, L_6, L_8);
}
IL_004d:
{
StringBuilder_t1221177846 * L_9 = __this->get_buffer_5();
StringBuilder_set_Length_m3039225444(L_9, 0, /*hidden argument*/NULL);
__this->set_isWhitespace_7((bool)0);
return;
}
}
// System.Void Mono.Xml.SmallXmlParser::ReadCharacters()
extern "C" void SmallXmlParser_ReadCharacters_m1966365555 (SmallXmlParser_t3549787957 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
__this->set_isWhitespace_7((bool)0);
}
IL_0007:
{
int32_t L_0 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
V_0 = L_0;
int32_t L_1 = V_0;
V_1 = L_1;
int32_t L_2 = V_1;
if ((((int32_t)L_2) == ((int32_t)(-1))))
{
goto IL_002c;
}
}
{
int32_t L_3 = V_1;
if ((((int32_t)L_3) == ((int32_t)((int32_t)38))))
{
goto IL_002e;
}
}
{
int32_t L_4 = V_1;
if ((((int32_t)L_4) == ((int32_t)((int32_t)60))))
{
goto IL_002d;
}
}
{
goto IL_0040;
}
IL_002c:
{
return;
}
IL_002d:
{
return;
}
IL_002e:
{
SmallXmlParser_Read_m2412330867(__this, /*hidden argument*/NULL);
SmallXmlParser_ReadReference_m4174977204(__this, /*hidden argument*/NULL);
goto IL_0007;
}
IL_0040:
{
StringBuilder_t1221177846 * L_5 = __this->get_buffer_5();
int32_t L_6 = SmallXmlParser_Read_m2412330867(__this, /*hidden argument*/NULL);
StringBuilder_Append_m3618697540(L_5, (((int32_t)((uint16_t)L_6))), /*hidden argument*/NULL);
goto IL_0007;
}
// Dead block : IL_0058: br IL_0007
}
// System.Void Mono.Xml.SmallXmlParser::ReadReference()
extern Il2CppClass* SmallXmlParser_t3549787957_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* _stringLiteral2665397788;
extern Il2CppCodeGenString* _stringLiteral2812315631;
extern Il2CppCodeGenString* _stringLiteral1669718665;
extern Il2CppCodeGenString* _stringLiteral3869568062;
extern Il2CppCodeGenString* _stringLiteral3869568055;
extern Il2CppCodeGenString* _stringLiteral1764416367;
extern const uint32_t SmallXmlParser_ReadReference_m4174977204_MetadataUsageId;
extern "C" void SmallXmlParser_ReadReference_m4174977204 (SmallXmlParser_t3549787957 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SmallXmlParser_ReadReference_m4174977204_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
String_t* V_0 = NULL;
String_t* V_1 = NULL;
Dictionary_2_t3986656710 * V_2 = NULL;
int32_t V_3 = 0;
{
int32_t L_0 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)35)))))
{
goto IL_0020;
}
}
{
SmallXmlParser_Read_m2412330867(__this, /*hidden argument*/NULL);
SmallXmlParser_ReadCharacterReference_m3501064561(__this, /*hidden argument*/NULL);
goto IL_0126;
}
IL_0020:
{
String_t* L_1 = SmallXmlParser_ReadName_m80205839(__this, /*hidden argument*/NULL);
V_0 = L_1;
SmallXmlParser_Expect_m3488282881(__this, ((int32_t)59), /*hidden argument*/NULL);
String_t* L_2 = V_0;
V_1 = L_2;
String_t* L_3 = V_1;
if (!L_3)
{
goto IL_011a;
}
}
{
Dictionary_2_t3986656710 * L_4 = ((SmallXmlParser_t3549787957_StaticFields*)SmallXmlParser_t3549787957_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__switchU24map18_12();
if (L_4)
{
goto IL_008a;
}
}
{
Dictionary_2_t3986656710 * L_5 = (Dictionary_2_t3986656710 *)il2cpp_codegen_object_new(Dictionary_2_t3986656710_il2cpp_TypeInfo_var);
Dictionary_2__ctor_m2118310873(L_5, 5, /*hidden argument*/Dictionary_2__ctor_m2118310873_MethodInfo_var);
V_2 = L_5;
Dictionary_2_t3986656710 * L_6 = V_2;
Dictionary_2_Add_m1209957957(L_6, _stringLiteral2665397788, 0, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_7 = V_2;
Dictionary_2_Add_m1209957957(L_7, _stringLiteral2812315631, 1, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_8 = V_2;
Dictionary_2_Add_m1209957957(L_8, _stringLiteral1669718665, 2, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_9 = V_2;
Dictionary_2_Add_m1209957957(L_9, _stringLiteral3869568062, 3, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_10 = V_2;
Dictionary_2_Add_m1209957957(L_10, _stringLiteral3869568055, 4, /*hidden argument*/Dictionary_2_Add_m1209957957_MethodInfo_var);
Dictionary_2_t3986656710 * L_11 = V_2;
((SmallXmlParser_t3549787957_StaticFields*)SmallXmlParser_t3549787957_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__switchU24map18_12(L_11);
}
IL_008a:
{
Dictionary_2_t3986656710 * L_12 = ((SmallXmlParser_t3549787957_StaticFields*)SmallXmlParser_t3549787957_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__switchU24map18_12();
String_t* L_13 = V_1;
bool L_14 = Dictionary_2_TryGetValue_m2977303364(L_12, L_13, (&V_3), /*hidden argument*/Dictionary_2_TryGetValue_m2977303364_MethodInfo_var);
if (!L_14)
{
goto IL_011a;
}
}
{
int32_t L_15 = V_3;
if (L_15 == 0)
{
goto IL_00bb;
}
if (L_15 == 1)
{
goto IL_00ce;
}
if (L_15 == 2)
{
goto IL_00e1;
}
if (L_15 == 3)
{
goto IL_00f4;
}
if (L_15 == 4)
{
goto IL_0107;
}
}
{
goto IL_011a;
}
IL_00bb:
{
StringBuilder_t1221177846 * L_16 = __this->get_buffer_5();
StringBuilder_Append_m3618697540(L_16, ((int32_t)38), /*hidden argument*/NULL);
goto IL_0126;
}
IL_00ce:
{
StringBuilder_t1221177846 * L_17 = __this->get_buffer_5();
StringBuilder_Append_m3618697540(L_17, ((int32_t)34), /*hidden argument*/NULL);
goto IL_0126;
}
IL_00e1:
{
StringBuilder_t1221177846 * L_18 = __this->get_buffer_5();
StringBuilder_Append_m3618697540(L_18, ((int32_t)39), /*hidden argument*/NULL);
goto IL_0126;
}
IL_00f4:
{
StringBuilder_t1221177846 * L_19 = __this->get_buffer_5();
StringBuilder_Append_m3618697540(L_19, ((int32_t)60), /*hidden argument*/NULL);
goto IL_0126;
}
IL_0107:
{
StringBuilder_t1221177846 * L_20 = __this->get_buffer_5();
StringBuilder_Append_m3618697540(L_20, ((int32_t)62), /*hidden argument*/NULL);
goto IL_0126;
}
IL_011a:
{
Exception_t1927440687 * L_21 = SmallXmlParser_Error_m1832158746(__this, _stringLiteral1764416367, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_21);
}
IL_0126:
{
return;
}
}
// System.Int32 Mono.Xml.SmallXmlParser::ReadCharacterReference()
extern "C" int32_t SmallXmlParser_ReadCharacterReference_m3501064561 (SmallXmlParser_t3549787957 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
{
V_0 = 0;
int32_t L_0 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)120)))))
{
goto IL_00aa;
}
}
{
SmallXmlParser_Read_m2412330867(__this, /*hidden argument*/NULL);
int32_t L_1 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
V_1 = L_1;
goto IL_009e;
}
IL_0022:
{
int32_t L_2 = V_1;
if ((((int32_t)((int32_t)48)) > ((int32_t)L_2)))
{
goto IL_0043;
}
}
{
int32_t L_3 = V_1;
if ((((int32_t)L_3) > ((int32_t)((int32_t)57))))
{
goto IL_0043;
}
}
{
int32_t L_4 = V_0;
int32_t L_5 = V_1;
V_0 = ((int32_t)((int32_t)L_4<<(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)4+(int32_t)L_5))-(int32_t)((int32_t)48)))&(int32_t)((int32_t)31)))));
goto IL_0090;
}
IL_0043:
{
int32_t L_6 = V_1;
if ((((int32_t)((int32_t)65)) > ((int32_t)L_6)))
{
goto IL_0067;
}
}
{
int32_t L_7 = V_1;
if ((((int32_t)L_7) > ((int32_t)((int32_t)70))))
{
goto IL_0067;
}
}
{
int32_t L_8 = V_0;
int32_t L_9 = V_1;
V_0 = ((int32_t)((int32_t)L_8<<(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)4+(int32_t)L_9))-(int32_t)((int32_t)65)))+(int32_t)((int32_t)10)))&(int32_t)((int32_t)31)))));
goto IL_0090;
}
IL_0067:
{
int32_t L_10 = V_1;
if ((((int32_t)((int32_t)97)) > ((int32_t)L_10)))
{
goto IL_008b;
}
}
{
int32_t L_11 = V_1;
if ((((int32_t)L_11) > ((int32_t)((int32_t)102))))
{
goto IL_008b;
}
}
{
int32_t L_12 = V_0;
int32_t L_13 = V_1;
V_0 = ((int32_t)((int32_t)L_12<<(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)4+(int32_t)L_13))-(int32_t)((int32_t)97)))+(int32_t)((int32_t)10)))&(int32_t)((int32_t)31)))));
goto IL_0090;
}
IL_008b:
{
goto IL_00a5;
}
IL_0090:
{
SmallXmlParser_Read_m2412330867(__this, /*hidden argument*/NULL);
int32_t L_14 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
V_1 = L_14;
}
IL_009e:
{
int32_t L_15 = V_1;
if ((((int32_t)L_15) >= ((int32_t)0)))
{
goto IL_0022;
}
}
IL_00a5:
{
goto IL_00f1;
}
IL_00aa:
{
int32_t L_16 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
V_2 = L_16;
goto IL_00ea;
}
IL_00b6:
{
int32_t L_17 = V_2;
if ((((int32_t)((int32_t)48)) > ((int32_t)L_17)))
{
goto IL_00d7;
}
}
{
int32_t L_18 = V_2;
if ((((int32_t)L_18) > ((int32_t)((int32_t)57))))
{
goto IL_00d7;
}
}
{
int32_t L_19 = V_0;
int32_t L_20 = V_2;
V_0 = ((int32_t)((int32_t)L_19<<(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)4+(int32_t)L_20))-(int32_t)((int32_t)48)))&(int32_t)((int32_t)31)))));
goto IL_00dc;
}
IL_00d7:
{
goto IL_00f1;
}
IL_00dc:
{
SmallXmlParser_Read_m2412330867(__this, /*hidden argument*/NULL);
int32_t L_21 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
V_2 = L_21;
}
IL_00ea:
{
int32_t L_22 = V_2;
if ((((int32_t)L_22) >= ((int32_t)0)))
{
goto IL_00b6;
}
}
IL_00f1:
{
int32_t L_23 = V_0;
return L_23;
}
}
// System.Void Mono.Xml.SmallXmlParser::ReadAttribute(Mono.Xml.SmallXmlParser/AttrListImpl)
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral3750820214;
extern Il2CppCodeGenString* _stringLiteral3156452587;
extern const uint32_t SmallXmlParser_ReadAttribute_m2755012144_MetadataUsageId;
extern "C" void SmallXmlParser_ReadAttribute_m2755012144 (SmallXmlParser_t3549787957 * __this, AttrListImpl_t4015491015 * ___a0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SmallXmlParser_ReadAttribute_m2755012144_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
String_t* V_0 = NULL;
String_t* V_1 = NULL;
int32_t V_2 = 0;
{
SmallXmlParser_SkipWhitespaces_m511753(__this, (bool)1, /*hidden argument*/NULL);
int32_t L_0 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
if ((((int32_t)L_0) == ((int32_t)((int32_t)47))))
{
goto IL_0021;
}
}
{
int32_t L_1 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
if ((!(((uint32_t)L_1) == ((uint32_t)((int32_t)62)))))
{
goto IL_0022;
}
}
IL_0021:
{
return;
}
IL_0022:
{
String_t* L_2 = SmallXmlParser_ReadName_m80205839(__this, /*hidden argument*/NULL);
V_0 = L_2;
SmallXmlParser_SkipWhitespaces_m2923234398(__this, /*hidden argument*/NULL);
SmallXmlParser_Expect_m3488282881(__this, ((int32_t)61), /*hidden argument*/NULL);
SmallXmlParser_SkipWhitespaces_m2923234398(__this, /*hidden argument*/NULL);
int32_t L_3 = SmallXmlParser_Read_m2412330867(__this, /*hidden argument*/NULL);
V_2 = L_3;
int32_t L_4 = V_2;
if ((((int32_t)L_4) == ((int32_t)((int32_t)34))))
{
goto IL_0068;
}
}
{
int32_t L_5 = V_2;
if ((((int32_t)L_5) == ((int32_t)((int32_t)39))))
{
goto IL_0059;
}
}
{
goto IL_0077;
}
IL_0059:
{
String_t* L_6 = SmallXmlParser_ReadUntil_m1879223332(__this, ((int32_t)39), (bool)1, /*hidden argument*/NULL);
V_1 = L_6;
goto IL_0083;
}
IL_0068:
{
String_t* L_7 = SmallXmlParser_ReadUntil_m1879223332(__this, ((int32_t)34), (bool)1, /*hidden argument*/NULL);
V_1 = L_7;
goto IL_0083;
}
IL_0077:
{
Exception_t1927440687 * L_8 = SmallXmlParser_Error_m1832158746(__this, _stringLiteral3750820214, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8);
}
IL_0083:
{
String_t* L_9 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
bool L_10 = String_op_Equality_m1790663636(NULL /*static, unused*/, L_9, _stringLiteral3156452587, /*hidden argument*/NULL);
if (!L_10)
{
goto IL_009a;
}
}
{
String_t* L_11 = V_1;
__this->set_xmlSpace_4(L_11);
}
IL_009a:
{
AttrListImpl_t4015491015 * L_12 = ___a0;
String_t* L_13 = V_0;
String_t* L_14 = V_1;
AttrListImpl_Add_m130708252(L_12, L_13, L_14, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Xml.SmallXmlParser::ReadCDATASection()
extern "C" void SmallXmlParser_ReadCDATASection_m2558307107 (SmallXmlParser_t3549787957 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
Il2CppChar V_1 = 0x0;
int32_t V_2 = 0;
int32_t V_3 = 0;
{
V_0 = 0;
}
IL_0002:
{
int32_t L_0 = SmallXmlParser_Peek_m2814840810(__this, /*hidden argument*/NULL);
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0015;
}
}
{
Exception_t1927440687 * L_1 = SmallXmlParser_UnexpectedEndError_m3367726590(__this, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1);
}
IL_0015:
{
int32_t L_2 = SmallXmlParser_Read_m2412330867(__this, /*hidden argument*/NULL);
V_1 = (((int32_t)((uint16_t)L_2)));
Il2CppChar L_3 = V_1;
if ((!(((uint32_t)L_3) == ((uint32_t)((int32_t)93)))))
{
goto IL_002e;
}
}
{
int32_t L_4 = V_0;
V_0 = ((int32_t)((int32_t)L_4+(int32_t)1));
goto IL_0091;
}
IL_002e:
{
Il2CppChar L_5 = V_1;
if ((!(((uint32_t)L_5) == ((uint32_t)((int32_t)62)))))
{
goto IL_0062;
}
}
{
int32_t L_6 = V_0;
if ((((int32_t)L_6) <= ((int32_t)1)))
{
goto IL_0062;
}
}
{
int32_t L_7 = V_0;
V_2 = L_7;
goto IL_0056;
}
IL_0044:
{
StringBuilder_t1221177846 * L_8 = __this->get_buffer_5();
StringBuilder_Append_m3618697540(L_8, ((int32_t)93), /*hidden argument*/NULL);
int32_t L_9 = V_2;
V_2 = ((int32_t)((int32_t)L_9-(int32_t)1));
}
IL_0056:
{
int32_t L_10 = V_2;
if ((((int32_t)L_10) > ((int32_t)2)))
{
goto IL_0044;
}
}
{
goto IL_0096;
}
IL_0062:
{
V_3 = 0;
goto IL_007b;
}
IL_0069:
{
StringBuilder_t1221177846 * L_11 = __this->get_buffer_5();
StringBuilder_Append_m3618697540(L_11, ((int32_t)93), /*hidden argument*/NULL);
int32_t L_12 = V_3;
V_3 = ((int32_t)((int32_t)L_12+(int32_t)1));
}
IL_007b:
{
int32_t L_13 = V_3;
int32_t L_14 = V_0;
if ((((int32_t)L_13) < ((int32_t)L_14)))
{
goto IL_0069;
}
}
{
V_0 = 0;
StringBuilder_t1221177846 * L_15 = __this->get_buffer_5();
Il2CppChar L_16 = V_1;
StringBuilder_Append_m3618697540(L_15, L_16, /*hidden argument*/NULL);
}
IL_0091:
{
goto IL_0002;
}
IL_0096:
{
return;
}
}
// System.Void Mono.Xml.SmallXmlParser::ReadComment()
extern Il2CppCodeGenString* _stringLiteral4152203454;
extern const uint32_t SmallXmlParser_ReadComment_m1117342068_MetadataUsageId;
extern "C" void SmallXmlParser_ReadComment_m1117342068 (SmallXmlParser_t3549787957 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SmallXmlParser_ReadComment_m1117342068_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
SmallXmlParser_Expect_m3488282881(__this, ((int32_t)45), /*hidden argument*/NULL);
SmallXmlParser_Expect_m3488282881(__this, ((int32_t)45), /*hidden argument*/NULL);
}
IL_0010:
{
int32_t L_0 = SmallXmlParser_Read_m2412330867(__this, /*hidden argument*/NULL);
if ((((int32_t)L_0) == ((int32_t)((int32_t)45))))
{
goto IL_0022;
}
}
{
goto IL_0010;
}
IL_0022:
{
int32_t L_1 = SmallXmlParser_Read_m2412330867(__this, /*hidden argument*/NULL);
if ((((int32_t)L_1) == ((int32_t)((int32_t)45))))
{
goto IL_0034;
}
}
{
goto IL_0010;
}
IL_0034:
{
int32_t L_2 = SmallXmlParser_Read_m2412330867(__this, /*hidden argument*/NULL);
if ((((int32_t)L_2) == ((int32_t)((int32_t)62))))
{
goto IL_004d;
}
}
{
Exception_t1927440687 * L_3 = SmallXmlParser_Error_m1832158746(__this, _stringLiteral4152203454, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3);
}
IL_004d:
{
goto IL_0057;
}
// Dead block : IL_0052: br IL_0010
IL_0057:
{
return;
}
}
// System.Void Mono.Xml.SmallXmlParser/AttrListImpl::.ctor()
extern Il2CppClass* ArrayList_t4252133567_il2cpp_TypeInfo_var;
extern const uint32_t AttrListImpl__ctor_m3211398293_MetadataUsageId;
extern "C" void AttrListImpl__ctor_m3211398293 (AttrListImpl_t4015491015 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (AttrListImpl__ctor_m3211398293_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
ArrayList_t4252133567 * L_0 = (ArrayList_t4252133567 *)il2cpp_codegen_object_new(ArrayList_t4252133567_il2cpp_TypeInfo_var);
ArrayList__ctor_m4012174379(L_0, /*hidden argument*/NULL);
__this->set_attrNames_0(L_0);
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_attrValues_1(L_1);
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
return;
}
}
// System.Int32 Mono.Xml.SmallXmlParser/AttrListImpl::get_Length()
extern "C" int32_t AttrListImpl_get_Length_m1146774168 (AttrListImpl_t4015491015 * __this, const MethodInfo* method)
{
{
ArrayList_t4252133567 * L_0 = __this->get_attrNames_0();
int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(23 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_0);
return L_1;
}
}
// System.String Mono.Xml.SmallXmlParser/AttrListImpl::GetName(System.Int32)
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern const uint32_t AttrListImpl_GetName_m1919558736_MetadataUsageId;
extern "C" String_t* AttrListImpl_GetName_m1919558736 (AttrListImpl_t4015491015 * __this, int32_t ___i0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (AttrListImpl_GetName_m1919558736_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
ArrayList_t4252133567 * L_0 = __this->get_attrNames_0();
int32_t L_1 = ___i0;
Il2CppObject * L_2 = VirtFuncInvoker1< Il2CppObject *, int32_t >::Invoke(21 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_0, L_1);
return ((String_t*)CastclassSealed(L_2, String_t_il2cpp_TypeInfo_var));
}
}
// System.String Mono.Xml.SmallXmlParser/AttrListImpl::GetValue(System.Int32)
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern const uint32_t AttrListImpl_GetValue_m1865090708_MetadataUsageId;
extern "C" String_t* AttrListImpl_GetValue_m1865090708 (AttrListImpl_t4015491015 * __this, int32_t ___i0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (AttrListImpl_GetValue_m1865090708_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
ArrayList_t4252133567 * L_0 = __this->get_attrValues_1();
int32_t L_1 = ___i0;
Il2CppObject * L_2 = VirtFuncInvoker1< Il2CppObject *, int32_t >::Invoke(21 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_0, L_1);
return ((String_t*)CastclassSealed(L_2, String_t_il2cpp_TypeInfo_var));
}
}
// System.String Mono.Xml.SmallXmlParser/AttrListImpl::GetValue(System.String)
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern const uint32_t AttrListImpl_GetValue_m2535188911_MetadataUsageId;
extern "C" String_t* AttrListImpl_GetValue_m2535188911 (AttrListImpl_t4015491015 * __this, String_t* ___name0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (AttrListImpl_GetValue_m2535188911_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
{
V_0 = 0;
goto IL_0039;
}
IL_0007:
{
ArrayList_t4252133567 * L_0 = __this->get_attrNames_0();
int32_t L_1 = V_0;
Il2CppObject * L_2 = VirtFuncInvoker1< Il2CppObject *, int32_t >::Invoke(21 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_0, L_1);
String_t* L_3 = ___name0;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
bool L_4 = String_op_Equality_m1790663636(NULL /*static, unused*/, ((String_t*)CastclassSealed(L_2, String_t_il2cpp_TypeInfo_var)), L_3, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_0035;
}
}
{
ArrayList_t4252133567 * L_5 = __this->get_attrValues_1();
int32_t L_6 = V_0;
Il2CppObject * L_7 = VirtFuncInvoker1< Il2CppObject *, int32_t >::Invoke(21 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_5, L_6);
return ((String_t*)CastclassSealed(L_7, String_t_il2cpp_TypeInfo_var));
}
IL_0035:
{
int32_t L_8 = V_0;
V_0 = ((int32_t)((int32_t)L_8+(int32_t)1));
}
IL_0039:
{
int32_t L_9 = V_0;
ArrayList_t4252133567 * L_10 = __this->get_attrNames_0();
int32_t L_11 = VirtFuncInvoker0< int32_t >::Invoke(23 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_10);
if ((((int32_t)L_9) < ((int32_t)L_11)))
{
goto IL_0007;
}
}
{
return (String_t*)NULL;
}
}
// System.String[] Mono.Xml.SmallXmlParser/AttrListImpl::get_Names()
extern const Il2CppType* String_t_0_0_0_var;
extern Il2CppClass* Type_t_il2cpp_TypeInfo_var;
extern Il2CppClass* StringU5BU5D_t1642385972_il2cpp_TypeInfo_var;
extern const uint32_t AttrListImpl_get_Names_m400595575_MetadataUsageId;
extern "C" StringU5BU5D_t1642385972* AttrListImpl_get_Names_m400595575 (AttrListImpl_t4015491015 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (AttrListImpl_get_Names_m400595575_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
ArrayList_t4252133567 * L_0 = __this->get_attrNames_0();
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);
Il2CppArray * L_2 = VirtFuncInvoker1< Il2CppArray *, Type_t * >::Invoke(48 /* System.Array System.Collections.ArrayList::ToArray(System.Type) */, L_0, L_1);
return ((StringU5BU5D_t1642385972*)Castclass(L_2, StringU5BU5D_t1642385972_il2cpp_TypeInfo_var));
}
}
// System.String[] Mono.Xml.SmallXmlParser/AttrListImpl::get_Values()
extern const Il2CppType* String_t_0_0_0_var;
extern Il2CppClass* Type_t_il2cpp_TypeInfo_var;
extern Il2CppClass* StringU5BU5D_t1642385972_il2cpp_TypeInfo_var;
extern const uint32_t AttrListImpl_get_Values_m4148492379_MetadataUsageId;
extern "C" StringU5BU5D_t1642385972* AttrListImpl_get_Values_m4148492379 (AttrListImpl_t4015491015 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (AttrListImpl_get_Values_m4148492379_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
ArrayList_t4252133567 * L_0 = __this->get_attrValues_1();
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);
Il2CppArray * L_2 = VirtFuncInvoker1< Il2CppArray *, Type_t * >::Invoke(48 /* System.Array System.Collections.ArrayList::ToArray(System.Type) */, L_0, L_1);
return ((StringU5BU5D_t1642385972*)Castclass(L_2, StringU5BU5D_t1642385972_il2cpp_TypeInfo_var));
}
}
// System.Void Mono.Xml.SmallXmlParser/AttrListImpl::Clear()
extern "C" void AttrListImpl_Clear_m3490165608 (AttrListImpl_t4015491015 * __this, const MethodInfo* method)
{
{
ArrayList_t4252133567 * L_0 = __this->get_attrNames_0();
VirtActionInvoker0::Invoke(31 /* System.Void System.Collections.ArrayList::Clear() */, L_0);
ArrayList_t4252133567 * L_1 = __this->get_attrValues_1();
VirtActionInvoker0::Invoke(31 /* System.Void System.Collections.ArrayList::Clear() */, L_1);
return;
}
}
// System.Void Mono.Xml.SmallXmlParser/AttrListImpl::Add(System.String,System.String)
extern "C" void AttrListImpl_Add_m130708252 (AttrListImpl_t4015491015 * __this, String_t* ___name0, String_t* ___value1, const MethodInfo* method)
{
{
ArrayList_t4252133567 * L_0 = __this->get_attrNames_0();
String_t* L_1 = ___name0;
VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_0, L_1);
ArrayList_t4252133567 * L_2 = __this->get_attrValues_1();
String_t* L_3 = ___value1;
VirtFuncInvoker1< int32_t, Il2CppObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_2, L_3);
return;
}
}
// System.Void Mono.Xml.SmallXmlParserException::.ctor(System.String,System.Int32,System.Int32)
extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var;
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral3232679899;
extern const uint32_t SmallXmlParserException__ctor_m204191026_MetadataUsageId;
extern "C" void SmallXmlParserException__ctor_m204191026 (SmallXmlParserException_t2094031034 * __this, String_t* ___msg0, int32_t ___line1, int32_t ___column2, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (SmallXmlParserException__ctor_m204191026_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
String_t* L_0 = ___msg0;
int32_t L_1 = ___line1;
int32_t L_2 = L_1;
Il2CppObject * L_3 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_2);
int32_t L_4 = ___column2;
int32_t L_5 = L_4;
Il2CppObject * L_6 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_5);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_7 = String_Format_m4262916296(NULL /*static, unused*/, _stringLiteral3232679899, L_0, L_3, L_6, /*hidden argument*/NULL);
SystemException__ctor_m4001391027(__this, L_7, /*hidden argument*/NULL);
int32_t L_8 = ___line1;
__this->set_line_11(L_8);
int32_t L_9 = ___column2;
__this->set_column_12(L_9);
return;
}
}
// System.Void System.__Il2CppComObject::Finalize()
extern "C" void __Il2CppComObject_Finalize_m1489232385 (Il2CppComObject * __this, const MethodInfo* method)
{
if (__this->identity != NULL)
{
il2cpp_codegen_il2cpp_com_object_cleanup(__this);
__this->identity->Release();
__this->identity = NULL;
}
Object_Finalize_m4087144328(__this, NULL);
}
// System.Void System.AccessViolationException::.ctor()
extern Il2CppCodeGenString* _stringLiteral3097949265;
extern const uint32_t AccessViolationException__ctor_m1270251537_MetadataUsageId;
extern "C" void AccessViolationException__ctor_m1270251537 (AccessViolationException_t182079320 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (AccessViolationException__ctor_m1270251537_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
String_t* L_0 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3097949265, /*hidden argument*/NULL);
SystemException__ctor_m4001391027(__this, L_0, /*hidden argument*/NULL);
Exception_set_HResult_m2376998645(__this, ((int32_t)-2147467261), /*hidden argument*/NULL);
return;
}
}
// System.Void System.AccessViolationException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
extern "C" void AccessViolationException__ctor_m3769815332 (AccessViolationException_t182079320 * __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.ActivationContext::System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral2792112382;
extern const uint32_t ActivationContext_System_Runtime_Serialization_ISerializable_GetObjectData_m775951299_MetadataUsageId;
extern "C" void ActivationContext_System_Runtime_Serialization_ISerializable_GetObjectData_m775951299 (ActivationContext_t1572332809 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ActivationContext_System_Runtime_Serialization_ISerializable_GetObjectData_m775951299_MetadataUsageId);
s_Il2CppMethodIntialized = 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:
{
return;
}
}
// System.Void System.ActivationContext::Finalize()
extern "C" void ActivationContext_Finalize_m2739906132 (ActivationContext_t1572332809 * __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)
ActivationContext_Dispose_m2601933460(__this, (bool)0, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x13, FINALLY_000c);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_000c;
}
FINALLY_000c:
{ // begin finally (depth: 1)
Object_Finalize_m4087144328(__this, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(12)
} // end finally (depth: 1)
IL2CPP_CLEANUP(12)
{
IL2CPP_JUMP_TBL(0x13, IL_0013)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_0013:
{
return;
}
}
// System.Void System.ActivationContext::Dispose()
extern "C" void ActivationContext_Dispose_m2541856311 (ActivationContext_t1572332809 * __this, const MethodInfo* method)
{
{
ActivationContext_Dispose_m2601933460(__this, (bool)1, /*hidden argument*/NULL);
GC_SuppressFinalize_m953228702(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.ActivationContext::Dispose(System.Boolean)
extern "C" void ActivationContext_Dispose_m2601933460 (ActivationContext_t1572332809 * __this, bool ___disposing0, const MethodInfo* method)
{
{
bool L_0 = __this->get__disposed_0();
if (!L_0)
{
goto IL_0018;
}
}
{
bool L_1 = ___disposing0;
if (!L_1)
{
goto IL_0011;
}
}
IL_0011:
{
__this->set__disposed_0((bool)1);
}
IL_0018:
{
return;
}
}
// System.Object System.Activator::CreateInstance(System.Type)
extern "C" Il2CppObject * Activator_CreateInstance_m383294261 (Il2CppObject * __this /* static, unused */, Type_t * ___type0, const MethodInfo* method)
{
{
Type_t * L_0 = ___type0;
Il2CppObject * L_1 = Activator_CreateInstance_m4123570586(NULL /*static, unused*/, L_0, (bool)0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Object System.Activator::CreateInstance(System.Type,System.Object[])
extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var;
extern const uint32_t Activator_CreateInstance_m1465989661_MetadataUsageId;
extern "C" Il2CppObject * Activator_CreateInstance_m1465989661 (Il2CppObject * __this /* static, unused */, Type_t * ___type0, ObjectU5BU5D_t3614634134* ___args1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (Activator_CreateInstance_m1465989661_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
Type_t * L_0 = ___type0;
ObjectU5BU5D_t3614634134* L_1 = ___args1;
Il2CppObject * L_2 = Activator_CreateInstance_m2779419829(NULL /*static, unused*/, L_0, L_1, ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)0)), /*hidden argument*/NULL);
return L_2;
}
}
// System.Object System.Activator::CreateInstance(System.Type,System.Object[],System.Object[])
extern Il2CppClass* Binder_t3404612058_il2cpp_TypeInfo_var;
extern const uint32_t Activator_CreateInstance_m2779419829_MetadataUsageId;
extern "C" Il2CppObject * Activator_CreateInstance_m2779419829 (Il2CppObject * __this /* static, unused */, Type_t * ___type0, ObjectU5BU5D_t3614634134* ___args1, ObjectU5BU5D_t3614634134* ___activationAttributes2, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (Activator_CreateInstance_m2779419829_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
Type_t * L_0 = ___type0;
IL2CPP_RUNTIME_CLASS_INIT(Binder_t3404612058_il2cpp_TypeInfo_var);
Binder_t3404612058 * L_1 = Binder_get_DefaultBinder_m965620943(NULL /*static, unused*/, /*hidden argument*/NULL);
ObjectU5BU5D_t3614634134* L_2 = ___args1;
ObjectU5BU5D_t3614634134* L_3 = ___activationAttributes2;
Il2CppObject * L_4 = Activator_CreateInstance_m4096900559(NULL /*static, unused*/, L_0, 0, L_1, L_2, (CultureInfo_t3500843524 *)NULL, L_3, /*hidden argument*/NULL);
return L_4;
}
}
// System.Object System.Activator::CreateInstance(System.Type,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object[],System.Globalization.CultureInfo,System.Object[])
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var;
extern Il2CppClass* Type_t_il2cpp_TypeInfo_var;
extern Il2CppClass* TypeU5BU5D_t1664964607_il2cpp_TypeInfo_var;
extern Il2CppClass* Binder_t3404612058_il2cpp_TypeInfo_var;
extern Il2CppClass* ConstructorInfo_t2851816542_il2cpp_TypeInfo_var;
extern Il2CppClass* StringBuilder_t1221177846_il2cpp_TypeInfo_var;
extern Il2CppClass* MissingMethodException_t3441205986_il2cpp_TypeInfo_var;
extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var;
extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral3691484454;
extern Il2CppCodeGenString* _stringLiteral1421151742;
extern Il2CppCodeGenString* _stringLiteral2846478389;
extern Il2CppCodeGenString* _stringLiteral811305474;
extern Il2CppCodeGenString* _stringLiteral332022738;
extern Il2CppCodeGenString* _stringLiteral4049205876;
extern const uint32_t Activator_CreateInstance_m4096900559_MetadataUsageId;
extern "C" Il2CppObject * Activator_CreateInstance_m4096900559 (Il2CppObject * __this /* static, unused */, Type_t * ___type0, int32_t ___bindingAttr1, Binder_t3404612058 * ___binder2, ObjectU5BU5D_t3614634134* ___args3, CultureInfo_t3500843524 * ___culture4, ObjectU5BU5D_t3614634134* ___activationAttributes5, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (Activator_CreateInstance_m4096900559_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
int32_t V_0 = 0;
TypeU5BU5D_t1664964607* V_1 = NULL;
int32_t V_2 = 0;
ConstructorInfo_t2851816542 * V_3 = NULL;
StringBuilder_t1221177846 * V_4 = NULL;
Type_t * V_5 = NULL;
TypeU5BU5D_t1664964607* V_6 = NULL;
int32_t V_7 = 0;
String_t* V_8 = NULL;
Il2CppObject * V_9 = NULL;
TypeU5BU5D_t1664964607* G_B9_0 = NULL;
StringBuilder_t1221177846 * G_B23_0 = NULL;
StringBuilder_t1221177846 * G_B22_0 = NULL;
String_t* G_B24_0 = NULL;
StringBuilder_t1221177846 * G_B24_1 = NULL;
{
Type_t * L_0 = ___type0;
Activator_CheckType_m3905078019(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
Type_t * L_1 = ___type0;
bool L_2 = VirtFuncInvoker0< bool >::Invoke(73 /* System.Boolean System.Type::get_ContainsGenericParameters() */, L_1);
if (!L_2)
{
goto IL_0027;
}
}
{
Type_t * L_3 = ___type0;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_4 = String_Concat_m56707527(NULL /*static, unused*/, L_3, _stringLiteral3691484454, /*hidden argument*/NULL);
ArgumentException_t3259014390 * L_5 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m544251339(L_5, L_4, _stringLiteral1421151742, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5);
}
IL_0027:
{
int32_t L_6 = ___bindingAttr1;
if (((int32_t)((int32_t)L_6&(int32_t)((int32_t)127))))
{
goto IL_0036;
}
}
{
int32_t L_7 = ___bindingAttr1;
___bindingAttr1 = ((int32_t)((int32_t)L_7|(int32_t)((int32_t)20)));
}
IL_0036:
{
V_0 = 0;
ObjectU5BU5D_t3614634134* L_8 = ___args3;
if (!L_8)
{
goto IL_0042;
}
}
{
ObjectU5BU5D_t3614634134* L_9 = ___args3;
V_0 = (((int32_t)((int32_t)(((Il2CppArray *)L_9)->max_length))));
}
IL_0042:
{
int32_t L_10 = V_0;
if (L_10)
{
goto IL_0052;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
TypeU5BU5D_t1664964607* L_11 = ((Type_t_StaticFields*)Type_t_il2cpp_TypeInfo_var->static_fields)->get_EmptyTypes_3();
G_B9_0 = L_11;
goto IL_0058;
}
IL_0052:
{
int32_t L_12 = V_0;
G_B9_0 = ((TypeU5BU5D_t1664964607*)SZArrayNew(TypeU5BU5D_t1664964607_il2cpp_TypeInfo_var, (uint32_t)L_12));
}
IL_0058:
{
V_1 = G_B9_0;
V_2 = 0;
goto IL_0077;
}
IL_0060:
{
ObjectU5BU5D_t3614634134* L_13 = ___args3;
int32_t L_14 = V_2;
int32_t L_15 = L_14;
Il2CppObject * L_16 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
if (!L_16)
{
goto IL_0073;
}
}
{
TypeU5BU5D_t1664964607* L_17 = V_1;
int32_t L_18 = V_2;
ObjectU5BU5D_t3614634134* L_19 = ___args3;
int32_t L_20 = V_2;
int32_t L_21 = L_20;
Il2CppObject * L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
Type_t * L_23 = Object_GetType_m191970594(L_22, /*hidden argument*/NULL);
ArrayElementTypeCheck (L_17, L_23);
(L_17)->SetAt(static_cast<il2cpp_array_size_t>(L_18), (Type_t *)L_23);
}
IL_0073:
{
int32_t L_24 = V_2;
V_2 = ((int32_t)((int32_t)L_24+(int32_t)1));
}
IL_0077:
{
int32_t L_25 = V_2;
int32_t L_26 = V_0;
if ((((int32_t)L_25) < ((int32_t)L_26)))
{
goto IL_0060;
}
}
{
Binder_t3404612058 * L_27 = ___binder2;
if (L_27)
{
goto IL_008b;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Binder_t3404612058_il2cpp_TypeInfo_var);
Binder_t3404612058 * L_28 = Binder_get_DefaultBinder_m965620943(NULL /*static, unused*/, /*hidden argument*/NULL);
___binder2 = L_28;
}
IL_008b:
{
Binder_t3404612058 * L_29 = ___binder2;
int32_t L_30 = ___bindingAttr1;
Type_t * L_31 = ___type0;
int32_t L_32 = ___bindingAttr1;
ConstructorInfoU5BU5D_t1996683371* L_33 = VirtFuncInvoker1< ConstructorInfoU5BU5D_t1996683371*, int32_t >::Invoke(70 /* System.Reflection.ConstructorInfo[] System.Type::GetConstructors(System.Reflection.BindingFlags) */, L_31, L_32);
TypeU5BU5D_t1664964607* L_34 = V_1;
MethodBase_t904190842 * L_35 = VirtFuncInvoker4< MethodBase_t904190842 *, int32_t, MethodBaseU5BU5D_t2597254495*, TypeU5BU5D_t1664964607*, ParameterModifierU5BU5D_t963192633* >::Invoke(7 /* System.Reflection.MethodBase System.Reflection.Binder::SelectMethod(System.Reflection.BindingFlags,System.Reflection.MethodBase[],System.Type[],System.Reflection.ParameterModifier[]) */, L_29, L_30, (MethodBaseU5BU5D_t2597254495*)(MethodBaseU5BU5D_t2597254495*)L_33, L_34, (ParameterModifierU5BU5D_t963192633*)(ParameterModifierU5BU5D_t963192633*)NULL);
V_3 = ((ConstructorInfo_t2851816542 *)CastclassClass(L_35, ConstructorInfo_t2851816542_il2cpp_TypeInfo_var));
ConstructorInfo_t2851816542 * L_36 = V_3;
if (L_36)
{
goto IL_0151;
}
}
{
Type_t * L_37 = ___type0;
bool L_38 = Type_get_IsValueType_m1733572463(L_37, /*hidden argument*/NULL);
if (!L_38)
{
goto IL_00c1;
}
}
{
TypeU5BU5D_t1664964607* L_39 = V_1;
if ((((int32_t)((int32_t)(((Il2CppArray *)L_39)->max_length)))))
{
goto IL_00c1;
}
}
{
Type_t * L_40 = ___type0;
Il2CppObject * L_41 = Activator_CreateInstanceInternal_m1397579852(NULL /*static, unused*/, L_40, /*hidden argument*/NULL);
return L_41;
}
IL_00c1:
{
StringBuilder_t1221177846 * L_42 = (StringBuilder_t1221177846 *)il2cpp_codegen_object_new(StringBuilder_t1221177846_il2cpp_TypeInfo_var);
StringBuilder__ctor_m3946851802(L_42, /*hidden argument*/NULL);
V_4 = L_42;
TypeU5BU5D_t1664964607* L_43 = V_1;
V_6 = L_43;
V_7 = 0;
goto IL_010d;
}
IL_00d3:
{
TypeU5BU5D_t1664964607* L_44 = V_6;
int32_t L_45 = V_7;
int32_t L_46 = L_45;
Type_t * L_47 = (L_44)->GetAt(static_cast<il2cpp_array_size_t>(L_46));
V_5 = L_47;
StringBuilder_t1221177846 * L_48 = V_4;
Type_t * L_49 = V_5;
G_B22_0 = L_48;
if (!L_49)
{
G_B23_0 = L_48;
goto IL_00ef;
}
}
{
Type_t * L_50 = V_5;
String_t* L_51 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Type::ToString() */, L_50);
G_B24_0 = L_51;
G_B24_1 = G_B22_0;
goto IL_00f4;
}
IL_00ef:
{
G_B24_0 = _stringLiteral2846478389;
G_B24_1 = G_B23_0;
}
IL_00f4:
{
StringBuilder_Append_m3636508479(G_B24_1, G_B24_0, /*hidden argument*/NULL);
StringBuilder_t1221177846 * L_52 = V_4;
StringBuilder_Append_m3636508479(L_52, _stringLiteral811305474, /*hidden argument*/NULL);
int32_t L_53 = V_7;
V_7 = ((int32_t)((int32_t)L_53+(int32_t)1));
}
IL_010d:
{
int32_t L_54 = V_7;
TypeU5BU5D_t1664964607* L_55 = V_6;
if ((((int32_t)L_54) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_55)->max_length)))))))
{
goto IL_00d3;
}
}
{
StringBuilder_t1221177846 * L_56 = V_4;
int32_t L_57 = StringBuilder_get_Length_m1608241323(L_56, /*hidden argument*/NULL);
if ((((int32_t)L_57) <= ((int32_t)2)))
{
goto IL_0134;
}
}
{
StringBuilder_t1221177846 * L_58 = V_4;
StringBuilder_t1221177846 * L_59 = L_58;
int32_t L_60 = StringBuilder_get_Length_m1608241323(L_59, /*hidden argument*/NULL);
StringBuilder_set_Length_m3039225444(L_59, ((int32_t)((int32_t)L_60-(int32_t)2)), /*hidden argument*/NULL);
}
IL_0134:
{
String_t* L_61 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral332022738, /*hidden argument*/NULL);
Type_t * L_62 = ___type0;
String_t* L_63 = VirtFuncInvoker0< String_t* >::Invoke(18 /* System.String System.Type::get_FullName() */, L_62);
StringBuilder_t1221177846 * L_64 = V_4;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_65 = String_Format_m1811873526(NULL /*static, unused*/, L_61, L_63, L_64, /*hidden argument*/NULL);
MissingMethodException_t3441205986 * L_66 = (MissingMethodException_t3441205986 *)il2cpp_codegen_object_new(MissingMethodException_t3441205986_il2cpp_TypeInfo_var);
MissingMethodException__ctor_m554852425(L_66, L_65, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_66);
}
IL_0151:
{
Type_t * L_67 = ___type0;
Activator_CheckAbstractType_m2837737071(NULL /*static, unused*/, L_67, /*hidden argument*/NULL);
ObjectU5BU5D_t3614634134* L_68 = ___activationAttributes5;
if (!L_68)
{
goto IL_01b8;
}
}
{
ObjectU5BU5D_t3614634134* L_69 = ___activationAttributes5;
if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_69)->max_length))))) <= ((int32_t)0)))
{
goto IL_01b8;
}
}
{
Type_t * L_70 = ___type0;
bool L_71 = Type_get_IsMarshalByRef_m863073076(L_70, /*hidden argument*/NULL);
if (L_71)
{
goto IL_0196;
}
}
{
ObjectU5BU5D_t3614634134* L_72 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)1));
Type_t * L_73 = ___type0;
String_t* L_74 = VirtFuncInvoker0< String_t* >::Invoke(18 /* System.String System.Type::get_FullName() */, L_73);
ArrayElementTypeCheck (L_72, L_74);
(L_72)->SetAt(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)L_74);
String_t* L_75 = Locale_GetText_m2553164138(NULL /*static, unused*/, _stringLiteral4049205876, L_72, /*hidden argument*/NULL);
V_8 = L_75;
String_t* L_76 = V_8;
NotSupportedException_t1793819818 * L_77 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m836173213(L_77, L_76, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_77);
}
IL_0196:
{
Type_t * L_78 = ___type0;
ObjectU5BU5D_t3614634134* L_79 = ___activationAttributes5;
Il2CppObject * L_80 = ActivationServices_CreateProxyFromAttributes_m3900446685(NULL /*static, unused*/, L_78, L_79, /*hidden argument*/NULL);
V_9 = L_80;
Il2CppObject * L_81 = V_9;
if (!L_81)
{
goto IL_01b8;
}
}
{
ConstructorInfo_t2851816542 * L_82 = V_3;
Il2CppObject * L_83 = V_9;
int32_t L_84 = ___bindingAttr1;
Binder_t3404612058 * L_85 = ___binder2;
ObjectU5BU5D_t3614634134* L_86 = ___args3;
CultureInfo_t3500843524 * L_87 = ___culture4;
VirtFuncInvoker5< Il2CppObject *, Il2CppObject *, int32_t, Binder_t3404612058 *, ObjectU5BU5D_t3614634134*, CultureInfo_t3500843524 * >::Invoke(17 /* System.Object System.Reflection.MethodBase::Invoke(System.Object,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object[],System.Globalization.CultureInfo) */, L_82, L_83, L_84, L_85, L_86, L_87);
Il2CppObject * L_88 = V_9;
return L_88;
}
IL_01b8:
{
ConstructorInfo_t2851816542 * L_89 = V_3;
int32_t L_90 = ___bindingAttr1;
Binder_t3404612058 * L_91 = ___binder2;
ObjectU5BU5D_t3614634134* L_92 = ___args3;
CultureInfo_t3500843524 * L_93 = ___culture4;
Il2CppObject * L_94 = VirtFuncInvoker4< Il2CppObject *, int32_t, Binder_t3404612058 *, ObjectU5BU5D_t3614634134*, CultureInfo_t3500843524 * >::Invoke(30 /* System.Object System.Reflection.ConstructorInfo::Invoke(System.Reflection.BindingFlags,System.Reflection.Binder,System.Object[],System.Globalization.CultureInfo) */, L_89, L_90, L_91, L_92, L_93);
return L_94;
}
}
// System.Object System.Activator::CreateInstance(System.Type,System.Boolean)
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var;
extern Il2CppClass* MonoType_t_il2cpp_TypeInfo_var;
extern Il2CppClass* Type_t_il2cpp_TypeInfo_var;
extern Il2CppClass* MissingMethodException_t3441205986_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral3691484454;
extern Il2CppCodeGenString* _stringLiteral1421151742;
extern Il2CppCodeGenString* _stringLiteral1442854892;
extern Il2CppCodeGenString* _stringLiteral784141838;
extern const uint32_t Activator_CreateInstance_m4123570586_MetadataUsageId;
extern "C" Il2CppObject * Activator_CreateInstance_m4123570586 (Il2CppObject * __this /* static, unused */, Type_t * ___type0, bool ___nonPublic1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (Activator_CreateInstance_m4123570586_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
ConstructorInfo_t2851816542 * V_0 = NULL;
MonoType_t * V_1 = NULL;
int32_t V_2 = 0;
{
Type_t * L_0 = ___type0;
Activator_CheckType_m3905078019(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
Type_t * L_1 = ___type0;
bool L_2 = VirtFuncInvoker0< bool >::Invoke(73 /* System.Boolean System.Type::get_ContainsGenericParameters() */, L_1);
if (!L_2)
{
goto IL_0027;
}
}
{
Type_t * L_3 = ___type0;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_4 = String_Concat_m56707527(NULL /*static, unused*/, L_3, _stringLiteral3691484454, /*hidden argument*/NULL);
ArgumentException_t3259014390 * L_5 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m544251339(L_5, L_4, _stringLiteral1421151742, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5);
}
IL_0027:
{
Type_t * L_6 = ___type0;
Activator_CheckAbstractType_m2837737071(NULL /*static, unused*/, L_6, /*hidden argument*/NULL);
Type_t * L_7 = ___type0;
V_1 = ((MonoType_t *)IsInstClass(L_7, MonoType_t_il2cpp_TypeInfo_var));
MonoType_t * L_8 = V_1;
if (!L_8)
{
goto IL_005f;
}
}
{
MonoType_t * L_9 = V_1;
ConstructorInfo_t2851816542 * L_10 = MonoType_GetDefaultConstructor_m925465120(L_9, /*hidden argument*/NULL);
V_0 = L_10;
bool L_11 = ___nonPublic1;
if (L_11)
{
goto IL_005a;
}
}
{
ConstructorInfo_t2851816542 * L_12 = V_0;
if (!L_12)
{
goto IL_005a;
}
}
{
ConstructorInfo_t2851816542 * L_13 = V_0;
bool L_14 = MethodBase_get_IsPublic_m479656180(L_13, /*hidden argument*/NULL);
if (L_14)
{
goto IL_005a;
}
}
{
V_0 = (ConstructorInfo_t2851816542 *)NULL;
}
IL_005a:
{
goto IL_007d;
}
IL_005f:
{
V_2 = ((int32_t)20);
bool L_15 = ___nonPublic1;
if (!L_15)
{
goto IL_006d;
}
}
{
int32_t L_16 = V_2;
V_2 = ((int32_t)((int32_t)L_16|(int32_t)((int32_t)32)));
}
IL_006d:
{
Type_t * L_17 = ___type0;
int32_t L_18 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
TypeU5BU5D_t1664964607* L_19 = ((Type_t_StaticFields*)Type_t_il2cpp_TypeInfo_var->static_fields)->get_EmptyTypes_3();
ConstructorInfo_t2851816542 * L_20 = Type_GetConstructor_m835344477(L_17, L_18, (Binder_t3404612058 *)NULL, 3, L_19, (ParameterModifierU5BU5D_t963192633*)(ParameterModifierU5BU5D_t963192633*)NULL, /*hidden argument*/NULL);
V_0 = L_20;
}
IL_007d:
{
ConstructorInfo_t2851816542 * L_21 = V_0;
if (L_21)
{
goto IL_00b5;
}
}
{
Type_t * L_22 = ___type0;
bool L_23 = Type_get_IsValueType_m1733572463(L_22, /*hidden argument*/NULL);
if (!L_23)
{
goto IL_0095;
}
}
{
Type_t * L_24 = ___type0;
Il2CppObject * L_25 = Activator_CreateInstanceInternal_m1397579852(NULL /*static, unused*/, L_24, /*hidden argument*/NULL);
return L_25;
}
IL_0095:
{
String_t* L_26 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1442854892, /*hidden argument*/NULL);
Type_t * L_27 = ___type0;
String_t* L_28 = VirtFuncInvoker0< String_t* >::Invoke(18 /* System.String System.Type::get_FullName() */, L_27);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_29 = String_Concat_m2596409543(NULL /*static, unused*/, _stringLiteral784141838, L_28, /*hidden argument*/NULL);
MissingMethodException_t3441205986 * L_30 = (MissingMethodException_t3441205986 *)il2cpp_codegen_object_new(MissingMethodException_t3441205986_il2cpp_TypeInfo_var);
MissingMethodException__ctor_m2480587339(L_30, L_26, L_29, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_30);
}
IL_00b5:
{
ConstructorInfo_t2851816542 * L_31 = V_0;
Il2CppObject * L_32 = ConstructorInfo_Invoke_m2144827141(L_31, (ObjectU5BU5D_t3614634134*)(ObjectU5BU5D_t3614634134*)NULL, /*hidden argument*/NULL);
return L_32;
}
}
// System.Void System.Activator::CheckType(System.Type)
extern const Il2CppType* TypedReference_t1025199857_0_0_0_var;
extern const Il2CppType* ArgIterator_t2628088752_0_0_0_var;
extern const Il2CppType* Void_t1841601450_0_0_0_var;
extern const Il2CppType* RuntimeArgumentHandle_t3259266975_0_0_0_var;
extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var;
extern Il2CppClass* Type_t_il2cpp_TypeInfo_var;
extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var;
extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral1421151742;
extern Il2CppCodeGenString* _stringLiteral2950778734;
extern const uint32_t Activator_CheckType_m3905078019_MetadataUsageId;
extern "C" void Activator_CheckType_m3905078019 (Il2CppObject * __this /* static, unused */, Type_t * ___type0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (Activator_CheckType_m3905078019_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
String_t* V_0 = 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:
{
Type_t * L_2 = ___type0;
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_3 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(TypedReference_t1025199857_0_0_0_var), /*hidden argument*/NULL);
if ((((Il2CppObject*)(Type_t *)L_2) == ((Il2CppObject*)(Type_t *)L_3)))
{
goto IL_0051;
}
}
{
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(ArgIterator_t2628088752_0_0_0_var), /*hidden argument*/NULL);
if ((((Il2CppObject*)(Type_t *)L_4) == ((Il2CppObject*)(Type_t *)L_5)))
{
goto IL_0051;
}
}
{
Type_t * L_6 = ___type0;
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_7 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Void_t1841601450_0_0_0_var), /*hidden argument*/NULL);
if ((((Il2CppObject*)(Type_t *)L_6) == ((Il2CppObject*)(Type_t *)L_7)))
{
goto IL_0051;
}
}
{
Type_t * L_8 = ___type0;
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_9 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(RuntimeArgumentHandle_t3259266975_0_0_0_var), /*hidden argument*/NULL);
if ((!(((Il2CppObject*)(Type_t *)L_8) == ((Il2CppObject*)(Type_t *)L_9))))
{
goto IL_0072;
}
}
IL_0051:
{
ObjectU5BU5D_t3614634134* L_10 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)1));
Type_t * L_11 = ___type0;
String_t* L_12 = VirtFuncInvoker0< String_t* >::Invoke(18 /* System.String System.Type::get_FullName() */, L_11);
ArrayElementTypeCheck (L_10, L_12);
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)L_12);
String_t* L_13 = Locale_GetText_m2553164138(NULL /*static, unused*/, _stringLiteral2950778734, L_10, /*hidden argument*/NULL);
V_0 = L_13;
String_t* L_14 = V_0;
NotSupportedException_t1793819818 * L_15 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m836173213(L_15, L_14, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_15);
}
IL_0072:
{
return;
}
}
// System.Void System.Activator::CheckAbstractType(System.Type)
extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var;
extern Il2CppClass* MissingMethodException_t3441205986_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral2378656960;
extern const uint32_t Activator_CheckAbstractType_m2837737071_MetadataUsageId;
extern "C" void Activator_CheckAbstractType_m2837737071 (Il2CppObject * __this /* static, unused */, Type_t * ___type0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (Activator_CheckAbstractType_m2837737071_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
String_t* V_0 = NULL;
{
Type_t * L_0 = ___type0;
bool L_1 = Type_get_IsAbstract_m2532060002(L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_002c;
}
}
{
ObjectU5BU5D_t3614634134* L_2 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)1));
Type_t * L_3 = ___type0;
String_t* L_4 = VirtFuncInvoker0< String_t* >::Invoke(18 /* System.String System.Type::get_FullName() */, L_3);
ArrayElementTypeCheck (L_2, L_4);
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)L_4);
String_t* L_5 = Locale_GetText_m2553164138(NULL /*static, unused*/, _stringLiteral2378656960, L_2, /*hidden argument*/NULL);
V_0 = L_5;
String_t* L_6 = V_0;
MissingMethodException_t3441205986 * L_7 = (MissingMethodException_t3441205986 *)il2cpp_codegen_object_new(MissingMethodException_t3441205986_il2cpp_TypeInfo_var);
MissingMethodException__ctor_m554852425(L_7, L_6, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_7);
}
IL_002c:
{
return;
}
}
// System.Object System.Activator::CreateInstanceInternal(System.Type)
extern "C" Il2CppObject * Activator_CreateInstanceInternal_m1397579852 (Il2CppObject * __this /* static, unused */, Type_t * ___type0, const MethodInfo* method)
{
using namespace il2cpp::icalls;
typedef Il2CppObject * (*Activator_CreateInstanceInternal_m1397579852_ftn) (Type_t *);
return ((Activator_CreateInstanceInternal_m1397579852_ftn)mscorlib::System::Activator::CreateInstanceInternal) (___type0);
}
// System.String System.AppDomain::getFriendlyName()
extern "C" String_t* AppDomain_getFriendlyName_m3264018353 (AppDomain_t2719102437 * __this, const MethodInfo* method)
{
using namespace il2cpp::icalls;
typedef String_t* (*AppDomain_getFriendlyName_m3264018353_ftn) (AppDomain_t2719102437 *);
return ((AppDomain_getFriendlyName_m3264018353_ftn)mscorlib::System::AppDomain::getFriendlyName) (__this);
}
// System.AppDomain System.AppDomain::getCurDomain()
extern "C" AppDomain_t2719102437 * AppDomain_getCurDomain_m591611373 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
using namespace il2cpp::icalls;
typedef AppDomain_t2719102437 * (*AppDomain_getCurDomain_m591611373_ftn) ();
return ((AppDomain_getCurDomain_m591611373_ftn)mscorlib::System::AppDomain::getCurDomain) ();
}
// System.AppDomain System.AppDomain::get_CurrentDomain()
extern "C" AppDomain_t2719102437 * AppDomain_get_CurrentDomain_m3432767403 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
{
AppDomain_t2719102437 * L_0 = AppDomain_getCurDomain_m591611373(NULL /*static, unused*/, /*hidden argument*/NULL);
return L_0;
}
}
// System.Reflection.Assembly System.AppDomain::LoadAssembly(System.String,System.Security.Policy.Evidence,System.Boolean)
extern "C" Assembly_t4268412390 * AppDomain_LoadAssembly_m1537679648 (AppDomain_t2719102437 * __this, String_t* ___assemblyRef0, Evidence_t1407710183 * ___securityEvidence1, bool ___refOnly2, const MethodInfo* method)
{
using namespace il2cpp::icalls;
typedef Assembly_t4268412390 * (*AppDomain_LoadAssembly_m1537679648_ftn) (AppDomain_t2719102437 *, String_t*, Evidence_t1407710183 *, bool);
return ((AppDomain_LoadAssembly_m1537679648_ftn)mscorlib::System::AppDomain::LoadAssembly) (__this, ___assemblyRef0, ___securityEvidence1, ___refOnly2);
}
// System.Reflection.Assembly System.AppDomain::Load(System.String)
extern "C" Assembly_t4268412390 * AppDomain_Load_m3276140461 (AppDomain_t2719102437 * __this, String_t* ___assemblyString0, const MethodInfo* method)
{
{
String_t* L_0 = ___assemblyString0;
Assembly_t4268412390 * L_1 = AppDomain_Load_m119378364(__this, L_0, (Evidence_t1407710183 *)NULL, (bool)0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Reflection.Assembly System.AppDomain::Load(System.String,System.Security.Policy.Evidence,System.Boolean)
extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var;
extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var;
extern Il2CppClass* FileNotFoundException_t4200667904_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral1758183507;
extern Il2CppCodeGenString* _stringLiteral132538926;
extern const uint32_t AppDomain_Load_m119378364_MetadataUsageId;
extern "C" Assembly_t4268412390 * AppDomain_Load_m119378364 (AppDomain_t2719102437 * __this, String_t* ___assemblyString0, Evidence_t1407710183 * ___assemblySecurity1, bool ___refonly2, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (AppDomain_Load_m119378364_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
Assembly_t4268412390 * V_0 = NULL;
{
String_t* L_0 = ___assemblyString0;
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, _stringLiteral1758183507, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1);
}
IL_0011:
{
String_t* L_2 = ___assemblyString0;
int32_t L_3 = String_get_Length_m1606060069(L_2, /*hidden argument*/NULL);
if (L_3)
{
goto IL_0027;
}
}
{
ArgumentException_t3259014390 * L_4 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_4, _stringLiteral132538926, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4);
}
IL_0027:
{
String_t* L_5 = ___assemblyString0;
Evidence_t1407710183 * L_6 = ___assemblySecurity1;
bool L_7 = ___refonly2;
Assembly_t4268412390 * L_8 = AppDomain_LoadAssembly_m1537679648(__this, L_5, L_6, L_7, /*hidden argument*/NULL);
V_0 = L_8;
Assembly_t4268412390 * L_9 = V_0;
if (L_9)
{
goto IL_003f;
}
}
{
String_t* L_10 = ___assemblyString0;
FileNotFoundException_t4200667904 * L_11 = (FileNotFoundException_t4200667904 *)il2cpp_codegen_object_new(FileNotFoundException_t4200667904_il2cpp_TypeInfo_var);
FileNotFoundException__ctor_m1531555541(L_11, (String_t*)NULL, L_10, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_11);
}
IL_003f:
{
Assembly_t4268412390 * L_12 = V_0;
return L_12;
}
}
// System.Runtime.Remoting.Contexts.Context System.AppDomain::InternalSetContext(System.Runtime.Remoting.Contexts.Context)
extern "C" Context_t502196753 * AppDomain_InternalSetContext_m1264487503 (Il2CppObject * __this /* static, unused */, Context_t502196753 * ___context0, const MethodInfo* method)
{
using namespace il2cpp::icalls;
typedef Context_t502196753 * (*AppDomain_InternalSetContext_m1264487503_ftn) (Context_t502196753 *);
return ((AppDomain_InternalSetContext_m1264487503_ftn)mscorlib::System::AppDomain::InternalSetContext) (___context0);
}
// System.Runtime.Remoting.Contexts.Context System.AppDomain::InternalGetContext()
extern "C" Context_t502196753 * AppDomain_InternalGetContext_m2631190946 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
using namespace il2cpp::icalls;
typedef Context_t502196753 * (*AppDomain_InternalGetContext_m2631190946_ftn) ();
return ((AppDomain_InternalGetContext_m2631190946_ftn)mscorlib::System::AppDomain::InternalGetContext) ();
}
// System.Runtime.Remoting.Contexts.Context System.AppDomain::InternalGetDefaultContext()
extern "C" Context_t502196753 * AppDomain_InternalGetDefaultContext_m978759799 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
using namespace il2cpp::icalls;
typedef Context_t502196753 * (*AppDomain_InternalGetDefaultContext_m978759799_ftn) ();
return ((AppDomain_InternalGetDefaultContext_m978759799_ftn)mscorlib::System::AppDomain::InternalGetDefaultContext) ();
}
// System.String System.AppDomain::InternalGetProcessGuid(System.String)
extern "C" String_t* AppDomain_InternalGetProcessGuid_m1278588156 (Il2CppObject * __this /* static, unused */, String_t* ___newguid0, const MethodInfo* method)
{
using namespace il2cpp::icalls;
typedef String_t* (*AppDomain_InternalGetProcessGuid_m1278588156_ftn) (String_t*);
return ((AppDomain_InternalGetProcessGuid_m1278588156_ftn)mscorlib::System::AppDomain::InternalGetProcessGuid) (___newguid0);
}
// System.String System.AppDomain::GetProcessGuid()
extern Il2CppClass* AppDomain_t2719102437_il2cpp_TypeInfo_var;
extern Il2CppClass* Guid_t2533601593_il2cpp_TypeInfo_var;
extern const uint32_t AppDomain_GetProcessGuid_m2969006389_MetadataUsageId;
extern "C" String_t* AppDomain_GetProcessGuid_m2969006389 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (AppDomain_GetProcessGuid_m2969006389_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
Guid_t2533601593 V_0;
memset(&V_0, 0, sizeof(V_0));
{
String_t* L_0 = ((AppDomain_t2719102437_StaticFields*)AppDomain_t2719102437_il2cpp_TypeInfo_var->static_fields)->get__process_guid_2();
if (L_0)
{
goto IL_0021;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Guid_t2533601593_il2cpp_TypeInfo_var);
Guid_t2533601593 L_1 = Guid_NewGuid_m3493657620(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = L_1;
String_t* L_2 = Guid_ToString_m3927110175((&V_0), /*hidden argument*/NULL);
String_t* L_3 = AppDomain_InternalGetProcessGuid_m1278588156(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
((AppDomain_t2719102437_StaticFields*)AppDomain_t2719102437_il2cpp_TypeInfo_var->static_fields)->set__process_guid_2(L_3);
}
IL_0021:
{
String_t* L_4 = ((AppDomain_t2719102437_StaticFields*)AppDomain_t2719102437_il2cpp_TypeInfo_var->static_fields)->get__process_guid_2();
return L_4;
}
}
// System.String System.AppDomain::ToString()
extern "C" String_t* AppDomain_ToString_m3523588193 (AppDomain_t2719102437 * __this, const MethodInfo* method)
{
{
String_t* L_0 = AppDomain_getFriendlyName_m3264018353(__this, /*hidden argument*/NULL);
return L_0;
}
}
// System.Reflection.Assembly System.AppDomain::DoTypeResolve(System.Object)
extern Il2CppClass* TypeBuilder_t3308873219_il2cpp_TypeInfo_var;
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppClass* AppDomain_t2719102437_il2cpp_TypeInfo_var;
extern Il2CppClass* Hashtable_t909839986_il2cpp_TypeInfo_var;
extern Il2CppClass* ResolveEventHandler_t3842432458_il2cpp_TypeInfo_var;
extern Il2CppClass* ResolveEventArgs_t1859808873_il2cpp_TypeInfo_var;
extern const uint32_t AppDomain_DoTypeResolve_m381738210_MetadataUsageId;
extern "C" Assembly_t4268412390 * AppDomain_DoTypeResolve_m381738210 (AppDomain_t2719102437 * __this, Il2CppObject * ___name_or_tb0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (AppDomain_DoTypeResolve_m381738210_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
String_t* V_0 = NULL;
Hashtable_t909839986 * V_1 = NULL;
Delegate_t3022476291 * V_2 = NULL;
DelegateU5BU5D_t1606206610* V_3 = NULL;
int32_t V_4 = 0;
ResolveEventHandler_t3842432458 * V_5 = NULL;
Assembly_t4268412390 * V_6 = NULL;
Assembly_t4268412390 * 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);
{
ResolveEventHandler_t3842432458 * L_0 = __this->get_TypeResolve_19();
if (L_0)
{
goto IL_000d;
}
}
{
return (Assembly_t4268412390 *)NULL;
}
IL_000d:
{
Il2CppObject * L_1 = ___name_or_tb0;
if (!((TypeBuilder_t3308873219 *)IsInstSealed(L_1, TypeBuilder_t3308873219_il2cpp_TypeInfo_var)))
{
goto IL_0029;
}
}
{
Il2CppObject * L_2 = ___name_or_tb0;
String_t* L_3 = TypeBuilder_get_FullName_m1626507516(((TypeBuilder_t3308873219 *)CastclassSealed(L_2, TypeBuilder_t3308873219_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
V_0 = L_3;
goto IL_0030;
}
IL_0029:
{
Il2CppObject * L_4 = ___name_or_tb0;
V_0 = ((String_t*)CastclassSealed(L_4, String_t_il2cpp_TypeInfo_var));
}
IL_0030:
{
Hashtable_t909839986 * L_5 = ((AppDomain_t2719102437_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(AppDomain_t2719102437_il2cpp_TypeInfo_var))->get_type_resolve_in_progress_3();
V_1 = L_5;
Hashtable_t909839986 * L_6 = V_1;
if (L_6)
{
goto IL_0048;
}
}
{
Hashtable_t909839986 * L_7 = (Hashtable_t909839986 *)il2cpp_codegen_object_new(Hashtable_t909839986_il2cpp_TypeInfo_var);
Hashtable__ctor_m1884964176(L_7, /*hidden argument*/NULL);
V_1 = L_7;
Hashtable_t909839986 * L_8 = V_1;
((AppDomain_t2719102437_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(AppDomain_t2719102437_il2cpp_TypeInfo_var))->set_type_resolve_in_progress_3(L_8);
}
IL_0048:
{
Hashtable_t909839986 * L_9 = V_1;
String_t* L_10 = V_0;
bool L_11 = VirtFuncInvoker1< bool, Il2CppObject * >::Invoke(27 /* System.Boolean System.Collections.Hashtable::Contains(System.Object) */, L_9, L_10);
if (!L_11)
{
goto IL_0056;
}
}
{
return (Assembly_t4268412390 *)NULL;
}
IL_0056:
{
Hashtable_t909839986 * L_12 = V_1;
String_t* L_13 = V_0;
String_t* L_14 = V_0;
VirtActionInvoker2< Il2CppObject *, Il2CppObject * >::Invoke(23 /* System.Void System.Collections.Hashtable::set_Item(System.Object,System.Object) */, L_12, L_13, L_14);
}
IL_005e:
try
{ // begin try (depth: 1)
{
ResolveEventHandler_t3842432458 * L_15 = __this->get_TypeResolve_19();
DelegateU5BU5D_t1606206610* L_16 = MulticastDelegate_GetInvocationList_m1380132617(L_15, /*hidden argument*/NULL);
V_3 = L_16;
V_4 = 0;
goto IL_00a5;
}
IL_0072:
{
DelegateU5BU5D_t1606206610* L_17 = V_3;
int32_t L_18 = V_4;
int32_t L_19 = L_18;
Delegate_t3022476291 * L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
V_2 = L_20;
Delegate_t3022476291 * L_21 = V_2;
V_5 = ((ResolveEventHandler_t3842432458 *)CastclassSealed(L_21, ResolveEventHandler_t3842432458_il2cpp_TypeInfo_var));
ResolveEventHandler_t3842432458 * L_22 = V_5;
String_t* L_23 = V_0;
ResolveEventArgs_t1859808873 * L_24 = (ResolveEventArgs_t1859808873 *)il2cpp_codegen_object_new(ResolveEventArgs_t1859808873_il2cpp_TypeInfo_var);
ResolveEventArgs__ctor_m1927258464(L_24, L_23, /*hidden argument*/NULL);
Assembly_t4268412390 * L_25 = ResolveEventHandler_Invoke_m3343892466(L_22, __this, L_24, /*hidden argument*/NULL);
V_6 = L_25;
Assembly_t4268412390 * L_26 = V_6;
if (!L_26)
{
goto IL_009f;
}
}
IL_0096:
{
Assembly_t4268412390 * L_27 = V_6;
V_7 = L_27;
IL2CPP_LEAVE(0xC4, FINALLY_00bc);
}
IL_009f:
{
int32_t L_28 = V_4;
V_4 = ((int32_t)((int32_t)L_28+(int32_t)1));
}
IL_00a5:
{
int32_t L_29 = V_4;
DelegateU5BU5D_t1606206610* L_30 = V_3;
if ((((int32_t)L_29) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_30)->max_length)))))))
{
goto IL_0072;
}
}
IL_00af:
{
V_7 = (Assembly_t4268412390 *)NULL;
IL2CPP_LEAVE(0xC4, FINALLY_00bc);
}
IL_00b7:
{
; // IL_00b7: leave IL_00c4
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_00bc;
}
FINALLY_00bc:
{ // begin finally (depth: 1)
Hashtable_t909839986 * L_31 = V_1;
String_t* L_32 = V_0;
VirtActionInvoker1< Il2CppObject * >::Invoke(29 /* System.Void System.Collections.Hashtable::Remove(System.Object) */, L_31, L_32);
IL2CPP_END_FINALLY(188)
} // end finally (depth: 1)
IL2CPP_CLEANUP(188)
{
IL2CPP_JUMP_TBL(0xC4, IL_00c4)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_00c4:
{
Assembly_t4268412390 * L_33 = V_7;
return L_33;
}
}
// System.Void System.AppDomainInitializer::.ctor(System.Object,System.IntPtr)
extern "C" void AppDomainInitializer__ctor_m1669835818 (AppDomainInitializer_t3898244613 * __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.AppDomainInitializer::Invoke(System.String[])
extern "C" void AppDomainInitializer_Invoke_m3449211446 (AppDomainInitializer_t3898244613 * __this, StringU5BU5D_t1642385972* ___args0, const MethodInfo* method)
{
if(__this->get_prev_9() != NULL)
{
AppDomainInitializer_Invoke_m3449211446((AppDomainInitializer_t3898244613 *)__this->get_prev_9(),___args0, 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, StringU5BU5D_t1642385972* ___args0, const MethodInfo* method);
((FunctionPointerType)__this->get_method_ptr_0())(NULL,il2cpp_codegen_get_delegate_this(__this),___args0,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
else if (__this->get_m_target_2() != NULL || ___methodIsStatic)
{
typedef void (*FunctionPointerType) (void* __this, StringU5BU5D_t1642385972* ___args0, const MethodInfo* method);
((FunctionPointerType)__this->get_method_ptr_0())(il2cpp_codegen_get_delegate_this(__this),___args0,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
else
{
typedef void (*FunctionPointerType) (void* __this, const MethodInfo* method);
((FunctionPointerType)__this->get_method_ptr_0())(___args0,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
}
extern "C" void DelegatePInvokeWrapper_AppDomainInitializer_t3898244613 (AppDomainInitializer_t3898244613 * __this, StringU5BU5D_t1642385972* ___args0, const MethodInfo* method)
{
typedef void (STDCALL *PInvokeFunc)(char**);
PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(((Il2CppDelegate*)__this)->method->methodPointer);
// Marshaling of parameter '___args0' to native representation
char** ____args0_marshaled = NULL;
____args0_marshaled = il2cpp_codegen_marshal_string_array(___args0);
// Native function invocation
il2cppPInvokeFunc(____args0_marshaled);
// Marshaling cleanup of parameter '___args0' native representation
if (___args0 != NULL) il2cpp_codegen_marshal_free_string_array((void**)____args0_marshaled, ((Il2CppCodeGenArray*)___args0)->max_length);
____args0_marshaled = NULL;
}
// System.IAsyncResult System.AppDomainInitializer::BeginInvoke(System.String[],System.AsyncCallback,System.Object)
extern "C" Il2CppObject * AppDomainInitializer_BeginInvoke_m2446455399 (AppDomainInitializer_t3898244613 * __this, StringU5BU5D_t1642385972* ___args0, AsyncCallback_t163412349 * ___callback1, Il2CppObject * ___object2, const MethodInfo* method)
{
void *__d_args[2] = {0};
__d_args[0] = ___args0;
return (Il2CppObject *)il2cpp_delegate_begin_invoke((Il2CppDelegate*)__this, __d_args, (Il2CppDelegate*)___callback1, (Il2CppObject*)___object2);
}
// System.Void System.AppDomainInitializer::EndInvoke(System.IAsyncResult)
extern "C" void AppDomainInitializer_EndInvoke_m4003801172 (AppDomainInitializer_t3898244613 * __this, Il2CppObject * ___result0, const MethodInfo* method)
{
il2cpp_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
}
// System.Void System.AppDomainSetup::.ctor()
extern "C" void AppDomainSetup__ctor_m145213897 (AppDomainSetup_t611332832 * __this, const MethodInfo* method)
{
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.ApplicationException::.ctor()
extern Il2CppCodeGenString* _stringLiteral3584385209;
extern const uint32_t ApplicationException__ctor_m2097946732_MetadataUsageId;
extern "C" void ApplicationException__ctor_m2097946732 (ApplicationException_t474868623 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ApplicationException__ctor_m2097946732_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
String_t* L_0 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3584385209, /*hidden argument*/NULL);
Exception__ctor_m485833136(__this, L_0, /*hidden argument*/NULL);
Exception_set_HResult_m2376998645(__this, ((int32_t)-2146232832), /*hidden argument*/NULL);
return;
}
}
// System.Void System.ApplicationException::.ctor(System.String)
extern "C" void ApplicationException__ctor_m1120437222 (ApplicationException_t474868623 * __this, String_t* ___message0, const MethodInfo* method)
{
{
String_t* L_0 = ___message0;
Exception__ctor_m485833136(__this, L_0, /*hidden argument*/NULL);
Exception_set_HResult_m2376998645(__this, ((int32_t)-2146232832), /*hidden argument*/NULL);
return;
}
}
// System.Void System.ApplicationException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
extern "C" void ApplicationException__ctor_m2143262149 (ApplicationException_t474868623 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method)
{
{
SerializationInfo_t228987430 * L_0 = ___info0;
StreamingContext_t1417235061 L_1 = ___context1;
Exception__ctor_m3836998015(__this, L_0, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void System.ApplicationIdentity::System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
extern Il2CppClass* ArgumentNullException_t628810857_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral2792112382;
extern const uint32_t ApplicationIdentity_System_Runtime_Serialization_ISerializable_GetObjectData_m77567264_MetadataUsageId;
extern "C" void ApplicationIdentity_System_Runtime_Serialization_ISerializable_GetObjectData_m77567264 (ApplicationIdentity_t3292367950 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ApplicationIdentity_System_Runtime_Serialization_ISerializable_GetObjectData_m77567264_MetadataUsageId);
s_Il2CppMethodIntialized = 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:
{
return;
}
}
// System.String System.ApplicationIdentity::ToString()
extern "C" String_t* ApplicationIdentity_ToString_m800036884 (ApplicationIdentity_t3292367950 * __this, const MethodInfo* method)
{
{
String_t* L_0 = __this->get__fullName_0();
return L_0;
}
}
// System.Boolean System.ArgIterator::Equals(System.Object)
extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral3265303638;
extern const uint32_t ArgIterator_Equals_m2415994310_MetadataUsageId;
extern "C" bool ArgIterator_Equals_m2415994310 (ArgIterator_t2628088752 * __this, Il2CppObject * ___o0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ArgIterator_Equals_m2415994310_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
String_t* L_0 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3265303638, /*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);
}
}
extern "C" bool ArgIterator_Equals_m2415994310_AdjustorThunk (Il2CppObject * __this, Il2CppObject * ___o0, const MethodInfo* method)
{
ArgIterator_t2628088752 * _thisAdjusted = reinterpret_cast<ArgIterator_t2628088752 *>(__this + 1);
return ArgIterator_Equals_m2415994310(_thisAdjusted, ___o0, method);
}
// System.Int32 System.ArgIterator::GetHashCode()
extern "C" int32_t ArgIterator_GetHashCode_m1527754670 (ArgIterator_t2628088752 * __this, const MethodInfo* method)
{
{
IntPtr_t* L_0 = __this->get_address_of_sig_0();
int32_t L_1 = IntPtr_GetHashCode_m1174575389(L_0, /*hidden argument*/NULL);
return L_1;
}
}
extern "C" int32_t ArgIterator_GetHashCode_m1527754670_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method)
{
ArgIterator_t2628088752 * _thisAdjusted = reinterpret_cast<ArgIterator_t2628088752 *>(__this + 1);
return ArgIterator_GetHashCode_m1527754670(_thisAdjusted, method);
}
// System.Void System.ArgumentException::.ctor()
extern Il2CppCodeGenString* _stringLiteral712868327;
extern const uint32_t ArgumentException__ctor_m2105824819_MetadataUsageId;
extern "C" void ArgumentException__ctor_m2105824819 (ArgumentException_t3259014390 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ArgumentException__ctor_m2105824819_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
String_t* L_0 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral712868327, /*hidden argument*/NULL);
SystemException__ctor_m4001391027(__this, L_0, /*hidden argument*/NULL);
Exception_set_HResult_m2376998645(__this, ((int32_t)-2147024809), /*hidden argument*/NULL);
return;
}
}
// System.Void System.ArgumentException::.ctor(System.String)
extern "C" void ArgumentException__ctor_m3739475201 (ArgumentException_t3259014390 * __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)-2147024809), /*hidden argument*/NULL);
return;
}
}
// System.Void System.ArgumentException::.ctor(System.String,System.Exception)
extern "C" void ArgumentException__ctor_m3553968249 (ArgumentException_t3259014390 * __this, String_t* ___message0, Exception_t1927440687 * ___innerException1, const MethodInfo* method)
{
{
String_t* L_0 = ___message0;
Exception_t1927440687 * L_1 = ___innerException1;
SystemException__ctor_m3356086419(__this, L_0, L_1, /*hidden argument*/NULL);
Exception_set_HResult_m2376998645(__this, ((int32_t)-2147024809), /*hidden argument*/NULL);
return;
}
}
// System.Void System.ArgumentException::.ctor(System.String,System.String)
extern "C" void ArgumentException__ctor_m544251339 (ArgumentException_t3259014390 * __this, String_t* ___message0, String_t* ___paramName1, const MethodInfo* method)
{
{
String_t* L_0 = ___message0;
SystemException__ctor_m4001391027(__this, L_0, /*hidden argument*/NULL);
String_t* L_1 = ___paramName1;
__this->set_param_name_12(L_1);
Exception_set_HResult_m2376998645(__this, ((int32_t)-2147024809), /*hidden argument*/NULL);
return;
}
}
// System.Void System.ArgumentException::.ctor(System.String,System.String,System.Exception)
extern "C" void ArgumentException__ctor_m3312963299 (ArgumentException_t3259014390 * __this, String_t* ___message0, String_t* ___paramName1, Exception_t1927440687 * ___innerException2, const MethodInfo* method)
{
{
String_t* L_0 = ___message0;
Exception_t1927440687 * L_1 = ___innerException2;
SystemException__ctor_m3356086419(__this, L_0, L_1, /*hidden argument*/NULL);
String_t* L_2 = ___paramName1;
__this->set_param_name_12(L_2);
Exception_set_HResult_m2376998645(__this, ((int32_t)-2147024809), /*hidden argument*/NULL);
return;
}
}
// System.Void System.ArgumentException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
extern Il2CppCodeGenString* _stringLiteral2139209068;
extern const uint32_t ArgumentException__ctor_m158205422_MetadataUsageId;
extern "C" void ArgumentException__ctor_m158205422 (ArgumentException_t3259014390 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ArgumentException__ctor_m158205422_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
SerializationInfo_t228987430 * L_0 = ___info0;
StreamingContext_t1417235061 L_1 = ___context1;
SystemException__ctor_m2688248668(__this, L_0, L_1, /*hidden argument*/NULL);
SerializationInfo_t228987430 * L_2 = ___info0;
String_t* L_3 = SerializationInfo_GetString_m547109409(L_2, _stringLiteral2139209068, /*hidden argument*/NULL);
__this->set_param_name_12(L_3);
return;
}
}
// System.String System.ArgumentException::get_ParamName()
extern "C" String_t* ArgumentException_get_ParamName_m3993268499 (ArgumentException_t3259014390 * __this, const MethodInfo* method)
{
{
String_t* L_0 = __this->get_param_name_12();
return L_0;
}
}
// System.String System.ArgumentException::get_Message()
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral1489364218;
extern const uint32_t ArgumentException_get_Message_m1331649658_MetadataUsageId;
extern "C" String_t* ArgumentException_get_Message_m1331649658 (ArgumentException_t3259014390 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ArgumentException_get_Message_m1331649658_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
String_t* L_0 = VirtFuncInvoker0< String_t* >::Invoke(11 /* System.String System.ArgumentException::get_ParamName() */, __this);
if (!L_0)
{
goto IL_003c;
}
}
{
String_t* L_1 = VirtFuncInvoker0< String_t* >::Invoke(11 /* System.String System.ArgumentException::get_ParamName() */, __this);
int32_t L_2 = String_get_Length_m1606060069(L_1, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_003c;
}
}
{
String_t* L_3 = Exception_get_Message_m173095527(__this, /*hidden argument*/NULL);
String_t* L_4 = Environment_get_NewLine_m266316410(NULL /*static, unused*/, /*hidden argument*/NULL);
String_t* L_5 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral1489364218, /*hidden argument*/NULL);
String_t* L_6 = VirtFuncInvoker0< String_t* >::Invoke(11 /* System.String System.ArgumentException::get_ParamName() */, __this);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_7 = String_Concat_m1561703559(NULL /*static, unused*/, L_3, L_4, L_5, L_6, /*hidden argument*/NULL);
return L_7;
}
IL_003c:
{
String_t* L_8 = Exception_get_Message_m173095527(__this, /*hidden argument*/NULL);
return L_8;
}
}
// System.Void System.ArgumentException::GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
extern Il2CppCodeGenString* _stringLiteral2139209068;
extern const uint32_t ArgumentException_GetObjectData_m1054832355_MetadataUsageId;
extern "C" void ArgumentException_GetObjectData_m1054832355 (ArgumentException_t3259014390 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ArgumentException_GetObjectData_m1054832355_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
SerializationInfo_t228987430 * L_0 = ___info0;
StreamingContext_t1417235061 L_1 = ___context1;
Exception_GetObjectData_m2653827630(__this, L_0, L_1, /*hidden argument*/NULL);
SerializationInfo_t228987430 * L_2 = ___info0;
String_t* L_3 = VirtFuncInvoker0< String_t* >::Invoke(11 /* System.String System.ArgumentException::get_ParamName() */, __this);
SerializationInfo_AddValue_m1740888931(L_2, _stringLiteral2139209068, L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void System.ArgumentNullException::.ctor()
extern Il2CppCodeGenString* _stringLiteral3600409848;
extern const uint32_t ArgumentNullException__ctor_m911049464_MetadataUsageId;
extern "C" void ArgumentNullException__ctor_m911049464 (ArgumentNullException_t628810857 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ArgumentNullException__ctor_m911049464_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
String_t* L_0 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3600409848, /*hidden argument*/NULL);
ArgumentException__ctor_m3739475201(__this, L_0, /*hidden argument*/NULL);
Exception_set_HResult_m2376998645(__this, ((int32_t)-2147467261), /*hidden argument*/NULL);
return;
}
}
// System.Void System.ArgumentNullException::.ctor(System.String)
extern Il2CppCodeGenString* _stringLiteral3600409848;
extern const uint32_t ArgumentNullException__ctor_m3380712306_MetadataUsageId;
extern "C" void ArgumentNullException__ctor_m3380712306 (ArgumentNullException_t628810857 * __this, String_t* ___paramName0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ArgumentNullException__ctor_m3380712306_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
String_t* L_0 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral3600409848, /*hidden argument*/NULL);
String_t* L_1 = ___paramName0;
ArgumentException__ctor_m544251339(__this, L_0, L_1, /*hidden argument*/NULL);
Exception_set_HResult_m2376998645(__this, ((int32_t)-2147467261), /*hidden argument*/NULL);
return;
}
}
// System.Void System.ArgumentNullException::.ctor(System.String,System.String)
extern "C" void ArgumentNullException__ctor_m2624491786 (ArgumentNullException_t628810857 * __this, String_t* ___paramName0, String_t* ___message1, const MethodInfo* method)
{
{
String_t* L_0 = ___message1;
String_t* L_1 = ___paramName0;
ArgumentException__ctor_m544251339(__this, L_0, L_1, /*hidden argument*/NULL);
Exception_set_HResult_m2376998645(__this, ((int32_t)-2147467261), /*hidden argument*/NULL);
return;
}
}
// System.Void System.ArgumentNullException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
extern "C" void ArgumentNullException__ctor_m2252076819 (ArgumentNullException_t628810857 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method)
{
{
SerializationInfo_t228987430 * L_0 = ___info0;
StreamingContext_t1417235061 L_1 = ___context1;
ArgumentException__ctor_m158205422(__this, L_0, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void System.ArgumentOutOfRangeException::.ctor()
extern Il2CppCodeGenString* _stringLiteral639746367;
extern const uint32_t ArgumentOutOfRangeException__ctor_m15523695_MetadataUsageId;
extern "C" void ArgumentOutOfRangeException__ctor_m15523695 (ArgumentOutOfRangeException_t279959794 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ArgumentOutOfRangeException__ctor_m15523695_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
String_t* L_0 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral639746367, /*hidden argument*/NULL);
ArgumentException__ctor_m3739475201(__this, L_0, /*hidden argument*/NULL);
Exception_set_HResult_m2376998645(__this, ((int32_t)-2146233086), /*hidden argument*/NULL);
return;
}
}
// System.Void System.ArgumentOutOfRangeException::.ctor(System.String)
extern Il2CppCodeGenString* _stringLiteral639746367;
extern const uint32_t ArgumentOutOfRangeException__ctor_m1595007065_MetadataUsageId;
extern "C" void ArgumentOutOfRangeException__ctor_m1595007065 (ArgumentOutOfRangeException_t279959794 * __this, String_t* ___paramName0, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ArgumentOutOfRangeException__ctor_m1595007065_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
String_t* L_0 = Locale_GetText_m1954433032(NULL /*static, unused*/, _stringLiteral639746367, /*hidden argument*/NULL);
String_t* L_1 = ___paramName0;
ArgumentException__ctor_m544251339(__this, L_0, L_1, /*hidden argument*/NULL);
Exception_set_HResult_m2376998645(__this, ((int32_t)-2146233086), /*hidden argument*/NULL);
return;
}
}
// System.Void System.ArgumentOutOfRangeException::.ctor(System.String,System.String)
extern "C" void ArgumentOutOfRangeException__ctor_m4234257711 (ArgumentOutOfRangeException_t279959794 * __this, String_t* ___paramName0, String_t* ___message1, const MethodInfo* method)
{
{
String_t* L_0 = ___message1;
String_t* L_1 = ___paramName0;
ArgumentException__ctor_m544251339(__this, L_0, L_1, /*hidden argument*/NULL);
Exception_set_HResult_m2376998645(__this, ((int32_t)-2146233086), /*hidden argument*/NULL);
return;
}
}
// System.Void System.ArgumentOutOfRangeException::.ctor(System.String,System.Object,System.String)
extern "C" void ArgumentOutOfRangeException__ctor_m4090631565 (ArgumentOutOfRangeException_t279959794 * __this, String_t* ___paramName0, Il2CppObject * ___actualValue1, String_t* ___message2, const MethodInfo* method)
{
{
String_t* L_0 = ___message2;
String_t* L_1 = ___paramName0;
ArgumentException__ctor_m544251339(__this, L_0, L_1, /*hidden argument*/NULL);
Il2CppObject * L_2 = ___actualValue1;
__this->set_actual_value_13(L_2);
Exception_set_HResult_m2376998645(__this, ((int32_t)-2146233086), /*hidden argument*/NULL);
return;
}
}
// System.Void System.ArgumentOutOfRangeException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
extern Il2CppCodeGenString* _stringLiteral3477996773;
extern const uint32_t ArgumentOutOfRangeException__ctor_m2861707692_MetadataUsageId;
extern "C" void ArgumentOutOfRangeException__ctor_m2861707692 (ArgumentOutOfRangeException_t279959794 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ArgumentOutOfRangeException__ctor_m2861707692_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
SerializationInfo_t228987430 * L_0 = ___info0;
StreamingContext_t1417235061 L_1 = ___context1;
ArgumentException__ctor_m158205422(__this, L_0, L_1, /*hidden argument*/NULL);
SerializationInfo_t228987430 * L_2 = ___info0;
String_t* L_3 = SerializationInfo_GetString_m547109409(L_2, _stringLiteral3477996773, /*hidden argument*/NULL);
__this->set_actual_value_13(L_3);
return;
}
}
// System.String System.ArgumentOutOfRangeException::get_Message()
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern const uint32_t ArgumentOutOfRangeException_get_Message_m741913712_MetadataUsageId;
extern "C" String_t* ArgumentOutOfRangeException_get_Message_m741913712 (ArgumentOutOfRangeException_t279959794 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ArgumentOutOfRangeException_get_Message_m741913712_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
String_t* V_0 = NULL;
{
String_t* L_0 = ArgumentException_get_Message_m1331649658(__this, /*hidden argument*/NULL);
V_0 = L_0;
Il2CppObject * L_1 = __this->get_actual_value_13();
if (L_1)
{
goto IL_0014;
}
}
{
String_t* L_2 = V_0;
return L_2;
}
IL_0014:
{
String_t* L_3 = V_0;
String_t* L_4 = Environment_get_NewLine_m266316410(NULL /*static, unused*/, /*hidden argument*/NULL);
Il2CppObject * L_5 = __this->get_actual_value_13();
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_6 = String_Concat_m2000667605(NULL /*static, unused*/, L_3, L_4, L_5, /*hidden argument*/NULL);
return L_6;
}
}
// System.Void System.ArgumentOutOfRangeException::GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
extern Il2CppCodeGenString* _stringLiteral3477996773;
extern const uint32_t ArgumentOutOfRangeException_GetObjectData_m2398419311_MetadataUsageId;
extern "C" void ArgumentOutOfRangeException_GetObjectData_m2398419311 (ArgumentOutOfRangeException_t279959794 * __this, SerializationInfo_t228987430 * ___info0, StreamingContext_t1417235061 ___context1, const MethodInfo* method)
{
static bool s_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ArgumentOutOfRangeException_GetObjectData_m2398419311_MetadataUsageId);
s_Il2CppMethodIntialized = true;
}
{
SerializationInfo_t228987430 * L_0 = ___info0;
StreamingContext_t1417235061 L_1 = ___context1;
ArgumentException_GetObjectData_m1054832355(__this, L_0, L_1, /*hidden argument*/NULL);
SerializationInfo_t228987430 * L_2 = ___info0;
Il2CppObject * L_3 = __this->get_actual_value_13();
SerializationInfo_AddValue_m1740888931(L_2, _stringLiteral3477996773, L_3, /*hidden argument*/NULL);
return;
}
}
// 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_Il2CppMethodIntialized;
if (!s_Il2CppMethodIntialized)
{
il2cpp_codegen_initialize_method (ArithmeticException__ctor_m134979386_MetadataUsageId);
s_Il2CppMethodIntialized = 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;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
| [
"mpc00101010@gmail.com"
] | mpc00101010@gmail.com |
589d3a7657c4fd1a690dce9fb195b6522684b929 | 05b788927e60b85ee5f02383fa012666e5e2436b | /Practice/src/ROS_CPP/src/cpp_publisher.cpp | 9feb7594e8c8dafb9b76916b2dd61460d3ea62e8 | [] | no_license | TejasPhutane/ROS_Projects | ce2702d4671a3570d635fba450539890c23837a1 | 9c9b037143efb8094ae6c38cc5b4391a3c960d72 | refs/heads/master | 2023-07-12T09:25:23.705595 | 2021-08-17T15:05:26 | 2021-08-17T15:05:26 | 385,515,304 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 589 | cpp | #include <ros/ros.h>
#include <std_msgs/String.h>
int main(int argc,char **argv)
{ //Initialising the node
ros::init(argc,argv,"Publisher_CPP");
// Initialising the node handle
ros::NodeHandle nh;
// Creating a publisher and advertising the service
ros::Publisher pub = nh.advertise<std_msgs::String>("CPP_Radio",10);
ros::Rate rate(3);
while (ros::ok)
{
// Creating a instance of string
std_msgs::String data_packet;
data_packet.data = "Publishing CPP Message";
pub.publish(data_packet);
rate.sleep();
}
} | [
"tejasphutane@gmail.com"
] | tejasphutane@gmail.com |
471c501e9a84927d18ead0716da7f5c396140e55 | d05aa5a5e46b356094ac801d80a35fc33a767299 | /src/commlib/soarlib/soar_zerg_frame.h | a0306df09f46f259303df9ff01b17cd5fc5057f4 | [
"Apache-2.0"
] | permissive | RiversFlows/zcelib | d2c131ca734964369d277bcbd354e62afab83d1b | 88e14ab436f1b40e8071e15ef6d9fae396efc3b4 | refs/heads/master | 2022-06-18T01:40:18.937878 | 2020-05-06T09:08:10 | 2020-05-06T09:08:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,883 | h |
#ifndef SOARING_LIB_SERVER_APP_FRAME_H_
#define SOARING_LIB_SERVER_APP_FRAME_H_
#include "soar_enum_define.h"
#include "soar_services_info.h"
#include "soar_frame_command.h"
#include "soar_error_code.h"
#pragma pack (1)
/*!
* @brief FRAME的选项字节的UNION结构
*
*/
struct _ZERG_FRAME_OPTION
{
public:
//frame_option_的头24个BIT作为选项字段,,
uint32_t inner_option_ : 24;
//后4BIT作为版本标识
uint32_t frame_version_ : 8;
};
/*!
* @brief Zerg服务器间传递消息的通用帧头
*
*/
class SOARING_EXPORT Zerg_App_Frame
{
public:
//帧的描述,在frame_option_字段使用
enum PET_APPFRAME_OPTION
{
//-----------------------------------------------------------------
//低16位用于内部的描述
//
DESC_DEFUALT = 0x0,
//高优先级别,没有使用,
DESC_HIGH_PRIORITY = 0x1,
//某个命令帧发送失败,通知后面的服务
DESC_SEND_ERROR = 0x2,
//如果发送失败,重复尝试发送
DESC_SEND_FAIL_RECORD = 0x4,
//如果发送失败,通知后面的应用进程
DESC_SNDPRC_NOTIFY_APP = 0x8,
//如果发送成功后,直接断开连接,用于部分TCP的短连接
DESC_SNDPRC_CLOSE_PEER = 0x10,
//在包体追加登录KEY
DESC_APPEND_SESSION_KEY = 0x20,
//在包体追加登录ip
DESC_APPEND_LOGIN_IP = 0x40,
//默认的通讯帧都是TCP的,这个描述字表示这个帧是UDP的
DESC_UDP_FRAME = 0x80,
//如果是TCP的帧,其实默认是TCP的帧,所以其实没有使用
DESC_TCP_FRAME = 0x100,
//-----------------------------------------------------------------
//高16位用于外部的描述,8位描述,
DESC_MONITOR_TRACK = 0x10000,
//FRAME数据区的有用户签名
DESC_HEAD_WITH_SIGNATURE = 0x20000,
//帧的数据采用加密
DESC_SESSION_ENCRYPT = 0x40000,
//特殊的某些命令不用加密进行处理,用于加密情况某些命令无须加密的特殊情况
DESC_SPECIAL_NO_ENCRYPT = 0x80000,
//APPFram的版本V1
DESC_V1_VERSION = 0x1000000,
//APPFram的版本V2,终于还是升级了一次
DESC_V2_VERSION = 0x2000000,
};
protected:
//构造函数,禁止大家都可以用的.
Zerg_App_Frame();
public:
//析构函数
~Zerg_App_Frame();
//Assign =运算符号
Zerg_App_Frame &operator = (const Zerg_App_Frame &other);
///初始化V1版本的包头,所有数据清0
void init_framehead(uint32_t lenframe = LEN_OF_APPFRAME_HEAD,
uint32_t cmd = CMD_INVALID_CMD,
uint32_t frameoption = DESC_V1_VERSION);
//
inline void clear();
//是否是内部处理的命令
inline bool is_internal_process(bool &bsenderr);
//是否事通信服务器处理的命理
inline bool is_zerg_processcmd();
//清理内部的选项信息
inline void clear_inner_option();
//清理所有的选项心想
inline void clear_all_option();
//将帧头的所有的uint16_t,uint32_t转换为网络序
void framehead_encode();
//将帧头的所有的uint16_t,uint32_t转换为本地序
void framehead_decode();
//填充发送SVR信息
void set_send_svcid(uint16_t svrtype, uint32_t svrid);
//填充发送SVR信息
void set_recv_svcid(uint16_t svrtype, uint32_t svrid);
//填充代理SVR信息
void set_proxy_svcid(uint16_t svrtype, uint32_t svrid);
//填写所有的服务信息,
void set_all_svcid(const SERVICES_ID &rcvinfo, const SERVICES_ID &sndinfo, const SERVICES_ID &proxyinfo);
//填充AppData数据到APPFrame
int fill_appdata(const size_t szdata, const char *vardata);
//交换Rcv ,Snd SvrInfo
void exchange_rcvsnd_svcid();
//交换Rcv ,Snd SvrInfo,prochandle
void exchange_rcvsnd_svcid(Zerg_App_Frame &exframe );
//回填返回包头
void fillback_appframe_head(Zerg_App_Frame &exframe );
//Clone一个APP FRAME
Zerg_App_Frame *clone() const;
//
void clone(Zerg_App_Frame * dst_frame) const;
//
void clone_head(Zerg_App_Frame * dst_frame) const;
//Dump头部和DATA区的数据
void dump_appframe_info(std::ostringstream &strstream) const;
//Dump所有的数据信息,一个字节字节的告诉你,
void dump_appframe_data(std::ostringstream &strstream) const;
//Dump数据包头中的重要信息给你,
void dump_appframe_head(std::ostringstream &strstream) const;
//输出APPFRAME的头部信息
void dumpoutput_framehead(const char *outstr,
ZCE_LOG_PRIORITY log_priority) const;
//输出APPFRAME的尾部信息
void dumpoutput_frameinfo(const char *outstr,
ZCE_LOG_PRIORITY log_priority) const;
//取得帧的长度
inline size_t get_appframe_len() const;
//取得帧数据的长度
inline size_t get_frame_datalen() const;
template<typename info_type>
int appdata_encode(size_t szframe_appdata, const info_type &info);
template<typename info_type>
int appdata_decode(size_t szframe_appdata, info_type &info);
#if defined ZCE_USE_PROTOBUF && ZCE_USE_PROTOBUF == 1
///将一个结构进行编码
int protobuf_encode(size_t szframe_appdata,
const google::protobuf::MessageLite *msg,
size_t data_start = 0,
size_t *sz_code = NULL
);
///将一个结构进行解码
int protobuf_decode(google::protobuf::MessageLite *msg,
size_t data_start = 0,
size_t *sz_code = NULL);
#endif
//取得IP地址信息
uint32_t get_send_ip() const;
protected:
public:
// explicit is better than implicit
//经过很多次和VC编译器反复的摧残,我决定不再对外暴漏这个函数,外部请使用new_frame and delete_frame
//为什么呢,其实本来我认为只使用类内部的Placement new and delete 也算是explicit的,
//但被VC这么反复折腾,我前面先也用 ifdef对付过去了。但升级到VS2017发现左也不是,右也不是。不如不把new暴漏出去
//http://www.cnblogs.com/fullsail/p/4292214.html
//不placement new和delete了。听人劝吃饱饭。VS总是变化。搞的总是要折腾
///创建一个Frame
static Zerg_App_Frame *new_frame(std::size_t lenframe);
///销毁一个frame
static void delete_frame(Zerg_App_Frame *frame);
///输出APPFRAME的头部信息
static void dumpoutput_framehead(ZCE_LOG_PRIORITY log_priority,
const char *outstr,
const Zerg_App_Frame *frame);
///输出APPFRAME的尾部信息
static void dumpoutput_frameinfo(ZCE_LOG_PRIORITY log_priority,
const char *outstr,
const Zerg_App_Frame *frame);
public:
//内部选项描述的掩码,内部选项在网络间看不见,在通讯服务器和业务服务器前可见。
static const uint32_t INNER_OPTION_MASK = 0xFFFF;
//外部选项描述+版本号的掩码
static const uint32_t OUTER_OPTION_MASK = 0xFFFF0000;
public:
//包头都尺寸,
static const size_t LEN_OF_APPFRAME_HEAD = 50;
//APPFAME版本V1
static const unsigned char TSS_APPFRAME_V1 = 1;
//---------------------------------------------------------------------------
//FRAME的一些长度参数,
//默认的最大长度是64K
//为什么采用64K的原因是我们的UPD的最大长度是这个,而且这个缓冲区的长度比较适中.
static const size_t MAX_LEN_OF_APPFRAME = 64 * 1024;
//TEA加密后增加的长度,UPD的数据区麻烦自己搞掂长度限制等问题
static const size_t LEN_OF_TEA_REMAIN_ROOM = 17;
//FRAME的最大长度,根据各个地方的长度而得到
static const size_t MAX_LEN_OF_APPFRAME_DATA = MAX_LEN_OF_APPFRAME - LEN_OF_APPFRAME_HEAD - LEN_OF_TEA_REMAIN_ROOM;
//
static const size_t MAX_LEN_OF_TEA_APPDATA = MAX_LEN_OF_APPFRAME_DATA + LEN_OF_TEA_REMAIN_ROOM;
public:
///整个通讯包长度,留足空间,包括帧头的长度.
uint32_t frame_length_;
union
{
uint32_t frame_option_;
///
_ZERG_FRAME_OPTION inner_option_;
};
///命令字 命令字还是放在包头比较好,
uint32_t frame_command_;
///UID
uint32_t frame_uid_;
///业务ID,GAMEID,用于标识游戏内部ID
uint32_t app_id_;
///发送和接收的服务器应用也要填写
///发送服务,包括发送服务器类型,发送服务器编号,没有编号,或者不是服务填写0
SERVICES_ID send_service_;
///接受服务器
SERVICES_ID recv_service_;
///代理服务器
SERVICES_ID proxy_service_;
///事务ID,可以用作服务发起端作为一个标示,后面的服务器回填backfill_trans_id_字段返回,
uint32_t transaction_id_;
///回填的请求者的事务ID,
uint32_t backfill_trans_id_;
union
{
///发送序列号,计划只在通讯层用,暂时没用用
uint32_t send_serial_number_;
///发送者的IP地址,内部使用
uint32_t send_ip_address_;
};
///frame_appdata_ 是一个变长度的字符串序列标示,
#ifdef ZCE_OS_WINDOWS
#pragma warning ( disable : 4200)
#endif
char frame_appdata_[];
#ifdef ZCE_OS_WINDOWS
#pragma warning ( default : 4200)
#endif
};
#pragma pack ()
//初始化,ZERG服务器间传递消息的通用帧头
inline void Zerg_App_Frame::init_framehead(uint32_t lenframe,
uint32_t cmd,
uint32_t frameoption)
{
frame_length_ = lenframe;
frame_option_ = frameoption;
frame_command_ = cmd;
frame_uid_ = 0;
app_id_ = 0;
send_service_.set_svcid(0, 0);
recv_service_.set_svcid(0, 0);
proxy_service_.set_svcid(0, 0);
send_serial_number_ = 0;
transaction_id_ = 0;
backfill_trans_id_ = 0;
}
//清理
inline void Zerg_App_Frame::clear()
{
frame_length_ = CMD_INVALID_CMD;
frame_option_ = DESC_V1_VERSION;
frame_command_ = LEN_OF_APPFRAME_HEAD;
frame_uid_ = 0;
app_id_ = 0;
send_service_.services_type_ = 0;
send_service_.services_id_ = 0;
recv_service_.services_type_ = 0;
recv_service_.services_id_ = 0;
proxy_service_.services_type_ = 0;
proxy_service_.services_id_ = 0;
transaction_id_ = 0;
backfill_trans_id_ = 0;
send_ip_address_ = 0;
}
//清理内部的选项信息
inline void Zerg_App_Frame::clear_inner_option()
{
frame_option_ &= OUTER_OPTION_MASK;
}
//清理所有的选项心想
inline void Zerg_App_Frame::clear_all_option()
{
frame_option_ = 0;
}
//得到帧的总长度
inline size_t Zerg_App_Frame::get_appframe_len() const
{
return frame_length_;
}
//得到帧头总长度
inline size_t Zerg_App_Frame::get_frame_datalen() const
{
return frame_length_ - LEN_OF_APPFRAME_HEAD;
}
//得到发送者的IP地址,网络字节序的,
inline uint32_t Zerg_App_Frame::get_send_ip() const
{
return send_ip_address_;
}
//是否事通信服务器处理的命理
inline bool Zerg_App_Frame::is_zerg_processcmd()
{
if (frame_command_ >= ZERG_COMMAND_BEGIN && frame_command_ <= ZERG_COMMAND_END)
{
return true;
}
return false;
}
//检查命令是否是内部处理命令
inline bool Zerg_App_Frame::is_internal_process(bool &bsenderr)
{
bsenderr = false;
if (frame_command_ >= INTERNAL_COMMAND_BEGIN && frame_command_ <= INTERNAL_COMMAND_END)
{
return true;
}
if (frame_option_ & DESC_SEND_ERROR)
{
bsenderr = true;
return true;
}
return false;
}
//很耗时的操作,注意使用频度
#define DEBUGDUMP_FRAME_HEAD(x,y,z) Zerg_App_Frame::dumpoutput_framehead(x,y,z);
#define DEBUGDUMP_FRAME_INFO(x,y,z) Zerg_App_Frame::dumpoutput_frameinfo(x,y,z);
//非DEBUG版本会优化掉的宏
#if defined _DEBUG || defined DEBUG
#define DEBUGDUMP_FRAME_HEAD_DBG(x,y,z) Zerg_App_Frame::dumpoutput_framehead(x,y,z);
#define DEBUGDUMP_FRAME_INFO_DBG(x,y,z) Zerg_App_Frame::dumpoutput_frameinfo(x,y,z)
#else
#define DEBUGDUMP_FRAME_HEAD_DBG(x,y,z)
#define DEBUGDUMP_FRAME_INFO_DBG(x,y,z)
#endif
#endif //SOARING_LIB_SERVER_APP_FRAME_H_
| [
"fullsail@163.com"
] | fullsail@163.com |
df639d2d6597285b384c55ab7ae9af06637e4219 | 427419228ca489739e16c380d7bc68a6ef509e5a | /Vaccine_Production.cpp | 9f76b12bb4f1cd83620e182c2edcad2cc00e8f2a | [] | no_license | wolverinezgit/cpsolutions | d5dca485190a27f4d27e9610cd6ea02d98a50072 | e0e695036cbd4c51ec9bf57d585b40204c8566a1 | refs/heads/main | 2023-03-10T12:31:27.848231 | 2021-02-18T13:04:00 | 2021-02-18T13:04:00 | 332,387,127 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 607 | cpp | #pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,avx2,fma")
#pragma GCC optimize("unroll-loops")
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define mp make_pair
#define pb push_back
#define fast_cin() ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL)
int main()
{
fast_cin();
ll t,i,n,j,flag=0,mx=0,mn=1e9+7;
ll d1, v1, d2, v2,v,p=0,sum=0;
cin >> d1 >> v1 >> d2 >> v2 >> v;
i = min(d1, d2);
while(sum<v)
{
if(i>=d1)
{
p += (v1);
}
if(i >= d2)
{
p += v2;
}
i++;
sum = p;
}
cout << i-1<<"\n";
return 0;
} | [
"iamharsh05@gmail.com"
] | iamharsh05@gmail.com |
73275c601ad6177908a6d0101b23e371df1ca6d2 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/windows/advcore/ctf/mslbui/cutil.h | 8b7671b331a1386f9762935b39eaeeed6a578507 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 603 | h | // cutil.h
//
//
#ifndef CUTIL_H
#define CUTIL_H
#include "private.h"
//
// base class for SR engine detection
//
class __declspec(novtable) CDetectSRUtil
{
public:
virtual ~CDetectSRUtil()
{
if (m_langidRecognizers.Count() > 0)
m_langidRecognizers.Clear();
}
BOOL _IsSREnabledForLangInReg(LANGID langidReq);
LANGID _GetLangIdFromRecognizerToken(HKEY hkeyToken);
//
// this is an array of installed recognizers in their langid
//
CStructArray<LANGID> m_langidRecognizers;
};
#endif // CUTIL_H
| [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
c826f43b62050bf45112260b7fea1288d9cabe38 | ecab21462fc75df52132b11349d8e7a0dcd3218c | /gen/blink/bindings/core/v8/V8BeforeUnloadEvent.cpp | 4136a8eba0afed54f3b78c9e691e18dc78e4dd5f | [
"Apache-2.0"
] | permissive | mensong/MiniBlink | 4688506a0e9e8f0ed5e6d6daaf470255be2a68b8 | 7a11c52f141d54d5f8e1a9af31867cd120a2c3c4 | refs/heads/master | 2023-03-29T04:40:53.198842 | 2021-04-07T01:56:02 | 2021-04-07T01:56:02 | 161,746,209 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,845 | cpp | // 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.
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
#include "config.h"
#include "V8BeforeUnloadEvent.h"
#include "bindings/core/v8/ExceptionState.h"
#include "bindings/core/v8/V8DOMConfiguration.h"
#include "bindings/core/v8/V8ObjectConstructor.h"
#include "core/dom/ContextFeatures.h"
#include "core/dom/Document.h"
#include "platform/RuntimeEnabledFeatures.h"
#include "platform/TraceEvent.h"
#include "wtf/GetPtr.h"
#include "wtf/RefPtr.h"
namespace blink {
// Suppress warning: global constructors, because struct WrapperTypeInfo is trivial
// and does not depend on another global objects.
#if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wglobal-constructors"
#endif
const WrapperTypeInfo V8BeforeUnloadEvent::wrapperTypeInfo = { gin::kEmbedderBlink, V8BeforeUnloadEvent::domTemplate, V8BeforeUnloadEvent::refObject, V8BeforeUnloadEvent::derefObject, V8BeforeUnloadEvent::trace, 0, 0, V8BeforeUnloadEvent::preparePrototypeObject, V8BeforeUnloadEvent::installConditionallyEnabledProperties, "BeforeUnloadEvent", &V8Event::wrapperTypeInfo, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo::NotInheritFromEventTarget, WrapperTypeInfo::Independent, WrapperTypeInfo::WillBeGarbageCollectedObject };
#if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG)
#pragma clang diagnostic pop
#endif
// This static member must be declared by DEFINE_WRAPPERTYPEINFO in BeforeUnloadEvent.h.
// For details, see the comment of DEFINE_WRAPPERTYPEINFO in
// bindings/core/v8/ScriptWrappable.h.
const WrapperTypeInfo& BeforeUnloadEvent::s_wrapperTypeInfo = V8BeforeUnloadEvent::wrapperTypeInfo;
namespace BeforeUnloadEventV8Internal {
static void returnValueAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Object> holder = info.Holder();
BeforeUnloadEvent* impl = V8BeforeUnloadEvent::toImpl(holder);
v8SetReturnValueString(info, impl->returnValue(), info.GetIsolate());
}
static void returnValueAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
BeforeUnloadEventV8Internal::returnValueAttributeGetter(info);
TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
}
static void returnValueAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Object> holder = info.Holder();
BeforeUnloadEvent* impl = V8BeforeUnloadEvent::toImpl(holder);
V8StringResource<> cppValue = v8Value;
if (!cppValue.prepare())
return;
impl->setReturnValue(cppValue);
}
static void returnValueAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
{
v8::Local<v8::Value> v8Value = info[0];
TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
BeforeUnloadEventV8Internal::returnValueAttributeSetter(v8Value, info);
TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
}
} // namespace BeforeUnloadEventV8Internal
static const V8DOMConfiguration::AccessorConfiguration V8BeforeUnloadEventAccessors[] = {
{"returnValue", BeforeUnloadEventV8Internal::returnValueAttributeGetterCallback, BeforeUnloadEventV8Internal::returnValueAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
};
static void installV8BeforeUnloadEventTemplate(v8::Local<v8::FunctionTemplate> functionTemplate, v8::Isolate* isolate)
{
functionTemplate->ReadOnlyPrototype();
v8::Local<v8::Signature> defaultSignature;
defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, functionTemplate, "BeforeUnloadEvent", V8Event::domTemplate(isolate), V8BeforeUnloadEvent::internalFieldCount,
0, 0,
V8BeforeUnloadEventAccessors, WTF_ARRAY_LENGTH(V8BeforeUnloadEventAccessors),
0, 0);
v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceTemplate();
ALLOW_UNUSED_LOCAL(instanceTemplate);
v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->PrototypeTemplate();
ALLOW_UNUSED_LOCAL(prototypeTemplate);
// Custom toString template
functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData::from(isolate)->toStringTemplate());
}
v8::Local<v8::FunctionTemplate> V8BeforeUnloadEvent::domTemplate(v8::Isolate* isolate)
{
return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), installV8BeforeUnloadEventTemplate);
}
bool V8BeforeUnloadEvent::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* isolate)
{
return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
}
v8::Local<v8::Object> V8BeforeUnloadEvent::findInstanceInPrototypeChain(v8::Local<v8::Value> v8Value, v8::Isolate* isolate)
{
return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value);
}
BeforeUnloadEvent* V8BeforeUnloadEvent::toImplWithTypeCheck(v8::Isolate* isolate, v8::Local<v8::Value> value)
{
return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value)) : 0;
}
void V8BeforeUnloadEvent::refObject(ScriptWrappable* scriptWrappable)
{
#if !ENABLE(OILPAN)
scriptWrappable->toImpl<BeforeUnloadEvent>()->ref();
#endif
}
void V8BeforeUnloadEvent::derefObject(ScriptWrappable* scriptWrappable)
{
#if !ENABLE(OILPAN)
scriptWrappable->toImpl<BeforeUnloadEvent>()->deref();
#endif
}
} // namespace blink
| [
"mail0668@gmail.com"
] | mail0668@gmail.com |
b0ae98fc7bacbed91dac0a55240ca87ce8dc1de7 | 9f3cbb11bc2c4fd98745e1bbe7e05c5172dcdcf1 | /deploy/ios_demo/ocr_demo/pdocr/ocr_crnn_process.cpp | df932d5ed3b767b3f95a549a6209cee044bfa267 | [
"Apache-2.0"
] | permissive | jm12138/License_plate_recognition | 35283556d4c1bb0b8eef62159a0e68d153aedd76 | 8c2c9de8b209c6c65dbec0289ada21b8a69f091b | refs/heads/main | 2023-04-23T10:01:47.291175 | 2021-05-13T14:57:18 | 2021-05-13T14:57:18 | 305,663,631 | 34 | 4 | Apache-2.0 | 2021-03-09T02:43:39 | 2020-10-20T09:55:45 | C++ | UTF-8 | C++ | false | false | 4,821 | cpp | // Copyright (c) 2020 PaddlePaddle Authors. 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.
// 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 "ocr_crnn_process.h"
#include <iostream>
#include <vector>
#include <iostream>
#include <cstring>
#include <fstream>
#include <cmath>
const std::string CHARACTER_TYPE = "ch";
const int MAX_DICT_LENGTH = 6624;
const std::vector<int> REC_IMAGE_SHAPE = {3, 32, 320};
static cv::Mat crnn_resize_norm_img(cv::Mat img, float wh_ratio) {
int imgC, imgH, imgW;
imgC = REC_IMAGE_SHAPE[0];
imgW = REC_IMAGE_SHAPE[2];
imgH = REC_IMAGE_SHAPE[1];
if (CHARACTER_TYPE == "ch")
imgW = int(32 * wh_ratio);
float ratio = float(img.cols) / float(img.rows);
int resize_w, resize_h;
if (ceilf(imgH * ratio) > imgW)
resize_w = imgW;
else
resize_w = int(ceilf(imgH * ratio));
cv::Mat resize_img;
cv::resize(img, resize_img, cv::Size(resize_w, imgH), 0.f, 0.f, cv::INTER_CUBIC);
resize_img.convertTo(resize_img, CV_32FC3, 1 / 255.f);
for (int h = 0; h < resize_img.rows; h++) {
for (int w = 0; w < resize_img.cols; w++) {
resize_img.at<cv::Vec3f>(h, w)[0] = (resize_img.at<cv::Vec3f>(h, w)[0] - 0.5) * 2;
resize_img.at<cv::Vec3f>(h, w)[1] = (resize_img.at<cv::Vec3f>(h, w)[1] - 0.5) * 2;
resize_img.at<cv::Vec3f>(h, w)[2] = (resize_img.at<cv::Vec3f>(h, w)[2] - 0.5) * 2;
}
}
cv::Mat dist;
cv::copyMakeBorder(resize_img, dist, 0, 0, 0, int(imgW - resize_w), cv::BORDER_CONSTANT,
{0, 0, 0});
return dist;
}
cv::Mat crnn_resize_img(const cv::Mat &img, float wh_ratio) {
int imgC = REC_IMAGE_SHAPE[0];
int imgW = REC_IMAGE_SHAPE[2];
int imgH = REC_IMAGE_SHAPE[1];
if (CHARACTER_TYPE == "ch") {
imgW = int(32 * wh_ratio);
}
float ratio = float(img.cols) / float(img.rows);
int resize_w;
if (ceilf(imgH * ratio) > imgW)
resize_w = imgW;
else
resize_w = int(ceilf(imgH * ratio));
cv::Mat resize_img;
cv::resize(img, resize_img, cv::Size(resize_w, imgH));
return resize_img;
}
cv::Mat get_rotate_crop_image(const cv::Mat &srcimage, const std::vector<std::vector<int>> &box) {
std::vector<std::vector<int>> points = box;
int x_collect[4] = {box[0][0], box[1][0], box[2][0], box[3][0]};
int y_collect[4] = {box[0][1], box[1][1], box[2][1], box[3][1]};
int left = int(*std::min_element(x_collect, x_collect + 4));
int right = int(*std::max_element(x_collect, x_collect + 4));
int top = int(*std::min_element(y_collect, y_collect + 4));
int bottom = int(*std::max_element(y_collect, y_collect + 4));
cv::Mat img_crop;
srcimage(cv::Rect(left, top, right - left, bottom - top)).copyTo(img_crop);
for (int i = 0; i < points.size(); i++) {
points[i][0] -= left;
points[i][1] -= top;
}
int img_crop_width = int(sqrt(pow(points[0][0] - points[1][0], 2) +
pow(points[0][1] - points[1][1], 2)));
int img_crop_height = int(sqrt(pow(points[0][0] - points[3][0], 2) +
pow(points[0][1] - points[3][1], 2)));
cv::Point2f pts_std[4];
pts_std[0] = cv::Point2f(0., 0.);
pts_std[1] = cv::Point2f(img_crop_width, 0.);
pts_std[2] = cv::Point2f(img_crop_width, img_crop_height);
pts_std[3] = cv::Point2f(0.f, img_crop_height);
cv::Point2f pointsf[4];
pointsf[0] = cv::Point2f(points[0][0], points[0][1]);
pointsf[1] = cv::Point2f(points[1][0], points[1][1]);
pointsf[2] = cv::Point2f(points[2][0], points[2][1]);
pointsf[3] = cv::Point2f(points[3][0], points[3][1]);
cv::Mat M = cv::getPerspectiveTransform(pointsf, pts_std);
cv::Mat dst_img;
cv::warpPerspective(img_crop, dst_img, M, cv::Size(img_crop_width, img_crop_height),
cv::BORDER_REPLICATE);
if (float(dst_img.rows) >= float(dst_img.cols) * 1.5) {
/*
cv::Mat srcCopy = cv::Mat(dst_img.rows, dst_img.cols, dst_img.depth());
cv::transpose(dst_img, srcCopy);
cv::flip(srcCopy, srcCopy, 0);
return srcCopy;
*/
cv::transpose(dst_img, dst_img);
cv::flip(dst_img, dst_img, 0);
return dst_img;
} else {
return dst_img;
}
}
| [
"2286040843@qq.com"
] | 2286040843@qq.com |
32cff64af746785539b84b9cf6ca9d07046bb0e9 | 3894c1c0a265dfa91e114ff4df12236454efdb2c | /LeetCode/iter2/C++/LongestIncreasingSubsequence.cpp | 561ff6e6bbed379496ed7b111518c9629e19b83c | [] | no_license | jonathenzc/Algorithm | d770802337a8f4f36b94e42722d4d1954b45f408 | f6b3d1a3f987dd3f38aa38c6de4b37caef0880bc | refs/heads/master | 2020-04-04T00:16:38.780515 | 2020-03-12T16:10:43 | 2020-03-12T16:10:43 | 33,028,640 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 961 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int lengthOfLIS(vector<int>& nums) {
int *dp = new int[nums.size()];
for (int i = 0; i < nums.size(); i++)
dp[i] = 1;
//dp[i]表示以i为节点的最长序列
int maxLength = 0;
for (int i=0;i<nums.size();i++)
{
for (int j = 0; j < i; j++)
{
if (nums[j] < nums[i])
dp[i] = max(dp[i],dp[j]+1);
}
maxLength = max(maxLength,dp[i]);
}
return maxLength;
}
int main()
{
vector<int> nums;
nums.push_back(10);
nums.push_back(9);
nums.push_back(2);
nums.push_back(5);
nums.push_back(3);
nums.push_back(7);
nums.push_back(101);
nums.push_back(18);
cout << lengthOfLIS(nums) << endl;
vector<int> nums1;
nums1.push_back(1);
nums1.push_back(3);
nums1.push_back(6);
nums1.push_back(7);
nums1.push_back(9);
nums1.push_back(4);
nums1.push_back(10);
nums1.push_back(5);
nums1.push_back(6);
cout << lengthOfLIS(nums1) << endl;
return 0;
} | [
"459309661@163.com"
] | 459309661@163.com |
fe0fdf1f051bc37b476d05ed431fe8e5558bc89b | 539a2fe77f0a42843035359347044cddd9d2defa | /src/ui.h | e479c7dafce713e2f7bede911f8aeccbe900ae72 | [
"BSD-2-Clause",
"BSD-2-Clause-Views"
] | permissive | razluta/OpenLara | 4381311147deaa5a79de5202bdedf4e35ee926b9 | 81c91d8b8f059881426a4569be5006686d6c4a70 | refs/heads/master | 2020-03-09T09:20:08.946706 | 2018-04-06T23:50:01 | 2018-04-06T23:50:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,234 | h | #ifndef H_UI
#define H_UI
#include "core.h"
#include "mesh.h"
#include "controller.h"
enum StringID {
STR_NOT_IMPLEMENTED
// common
, STR_LOADING
, STR_HELP_PRESS
, STR_HELP_TEXT
, STR_OFF
, STR_ON
, STR_SPLIT
, STR_VR
, STR_QUALITY_LOW
, STR_QUALITY_MEDIUM
, STR_QUALITY_HIGH
, STR_APPLY
, STR_GAMEPAD_1
, STR_GAMEPAD_2
, STR_GAMEPAD_3
, STR_GAMEPAD_4
, STR_NOT_READY
, STR_PLAYER_1
, STR_PLAYER_2
, STR_PRESS_ANY_KEY
, STR_HELP_SELECT
, STR_HELP_BACK
// inventory pages
, STR_OPTION
, STR_INVENTORY
, STR_ITEMS
// inventory option
, STR_GAME
, STR_MAP
, STR_COMPASS
, STR_STOPWATCH
, STR_HOME
, STR_DETAIL
, STR_SOUND
, STR_CONTROLS
, STR_GAMMA
// passport menu
, STR_AUTOSAVE
, STR_LOAD_GAME
, STR_START_GAME
, STR_RESTART_LEVEL
, STR_EXIT_TO_TITLE
, STR_EXIT_GAME
, STR_SELECT_LEVEL
// detail options
, STR_SELECT_DETAIL
, STR_OPT_DETAIL_FILTER
, STR_OPT_DETAIL_LIGHTING
, STR_OPT_DETAIL_SHADOWS
, STR_OPT_DETAIL_WATER
, STR_OPT_DETAIL_VSYNC
, STR_OPT_DETAIL_STEREO
// sound options
, STR_SET_VOLUMES
, STR_REVERBERATION
// controls options
, STR_SET_CONTROLS
, STR_OPT_CONTROLS_KEYBOARD
, STR_OPT_CONTROLS_GAMEPAD
, STR_OPT_CONTROLS_VIBRATION
, STR_OPT_CONTROLS_RETARGET
, STR_OPT_CONTROLS_MULTIAIM
// controls
, STR_CTRL_FIRST
, STR_CTRL_LAST = STR_CTRL_FIRST + cMAX - 1
// keys
, STR_KEY_FIRST
, STR_KEY_LAST = STR_KEY_FIRST + ikZ
// gamepad
, STR_JOY_FIRST
, STR_JOY_LAST = STR_JOY_FIRST + jkMAX - 1
// inventory items
, STR_UNKNOWN
, STR_PISTOLS
, STR_SHOTGUN
, STR_MAGNUMS
, STR_UZIS
, STR_AMMO_PISTOLS
, STR_AMMO_SHOTGUN
, STR_AMMO_MAGNUMS
, STR_AMMO_UZIS
, STR_MEDI_SMALL
, STR_MEDI_BIG
, STR_PUZZLE
, STR_KEY
, STR_LEAD_BAR
, STR_SCION
, STR_MAX
};
const char *helpText =
"Start - add second player or restore Lara@"
"H - Show or hide this help@"
"ALT + ENTER - Fullscreen@"
"C - Look@"
"R - Slow motion@"
"T - Fast motion@"
"Roll - Up + Down@"
"Step Left - Walk + Left@"
"Step Right - Walk + Right@"
"Out of water - Up + Action@"
"Handstand - Up + Walk@"
"Swan dive - Up + Walk + Jump@"
"First Person View - Look + Action@"
"DOZY on - Look + Duck + Action + Jump@"
"DOZY off - Walk";
const char *STR[STR_MAX] = {
"Not implemented yet!"
// help
, "Loading..."
, "Press H for help"
, helpText
, "Off"
, "On"
, "Split Screen"
, "VR"
, "Low"
, "Medium"
, "High"
, "Apply"
, "Gamepad 1"
, "Gamepad 2"
, "Gamepad 3"
, "Gamepad 4"
, "Not Ready"
, "Player 1"
, "Player 2"
, "Press Any Key"
, "%s - Select"
, "%s - Go Back"
// inventory pages
, "OPTION"
, "INVENTORY"
, "ITEMS"
// inventory option
, "Game"
, "Map"
, "Compass"
, "Statistics"
, "Lara's Home"
, "Detail Levels"
, "Sound"
, "Controls"
, "Gamma"
// passport menu
, "Autosave"
, "Load Game"
, "Start Game"
, "Restart Level"
, "Exit to Title"
, "Exit Game"
, "Select Level"
// detail options
, "Select Detail"
, "Filtering"
, "Lighting"
, "Shadows"
, "Water"
, "VSync"
, "Stereo"
// sound options
, "Set Volumes"
, "Reverberation"
// controls options
, "Set Controls"
, "Keyboard"
, "Gamepad"
, "Vibration"
, "Retargeting"
, "Multi-aiming"
// controls
, "Left", "Right", "Up", "Down", "Jump", "Walk", "Action", "Draw Weapon", "Look", "Duck", "Dash", "Roll", "Inventory", "Start"
// keys
, "NONE", "LEFT", "RIGHT", "UP", "DOWN", "SPACE", "TAB", "ENTER", "ESCAPE", "SHIFT", "CTRL", "ALT"
, "0", "1", "2", "3", "4", "5", "6", "7", "8", "9"
, "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M"
, "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"
// gamepad
, "NONE", "A", "B", "X", "Y", "L BUMPER", "R BUMPER", "SELECT", "START", "L STICK", "R STICK", "L TRIGGER", "R TRIGGER", "D-LEFT", "D-RIGHT", "D-UP", "D-DOWN"
// inventory items
, "Unknown"
, "Pistols"
, "Shotgun"
, "Magnums"
, "Uzis"
, "Pistol Clips"
, "Shotgun Shells"
, "Magnum Clips"
, "Uzi Clips"
, "Small Medi Pack"
, "Large Medi Pack"
, "Puzzle"
, "Key"
, "Lead Bar"
, "Scion"
};
namespace UI {
IGame *game;
float width, height;
float helpTipTime;
bool showHelp;
const static uint8 char_width[110] = {
14, 11, 11, 11, 11, 11, 11, 13, 8, 11, 12, 11, 13, 13, 12, 11, 12, 12, 11, 12, 13, 13, 13, 12, 12, 11, // A-Z
9, 9, 9, 9, 9, 9, 9, 9, 5, 9, 9, 5, 12, 10, 9, 9, 9, 8, 9, 8, 9, 9, 11, 9, 9, 9, // a-z
12, 8, 10, 10, 10, 10, 10, 9, 10, 10, // 0-9
5, 5, 5, 11, 9, 10, 8, 6, 6, 7, 7, 3, 11, 8, 13, 16, 9, 4, 12, 12,
7, 5, 7, 7, 7, 7, 7, 7, 7, 7, 16, 14, 14, 14, 16, 16, 16, 16, 16, 12, 14, 8, 8, 8, 8, 8, 8, 8 };
static const uint8 char_map[102] = {
0, 64, 66, 78, 77, 74, 78, 79, 69, 70, 92, 72, 63, 71, 62, 68, 52, 53, 54, 55, 56, 57, 58, 59,
60, 61, 73, 73, 66, 74, 75, 65, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
18, 19, 20, 21, 22, 23, 24, 25, 80, 76, 81, 97, 98, 77, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,
37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 100, 101, 102, 67, 0, 0, 0, 0, 0, 0, 0 };
enum Align { aLeft, aRight, aCenter };
inline int charRemap(char c) {
ASSERT(c <= 126);
if (c < 11)
return c + 81;
if (c < 16)
return c + 91;
ASSERT(c >= 32)
return char_map[c - 32];
}
vec2 getTextSize(const char *text) {
int x = 0, w = 0, h = 16;
while (char c = *text++) {
if (c == ' ' || c == '_') {
x += 6;
} else if (c == '@') {
w = max(w, x);
h += 16;
x = 0;
} else
x += char_width[charRemap(c)] + 1;
}
w = max(w, x);
return vec2(float(w), float(h));
}
#define MAX_CHARS DYN_MESH_QUADS
enum BarType {
BAR_FLASH,
BAR_HEALTH,
BAR_OXYGEN,
BAR_OPTION,
BAR_WHITE,
BAR_MAX,
};
struct Buffer {
Vertex vertices[MAX_CHARS * 4];
Index indices[MAX_CHARS * 6];
int iCount;
int vCount;
} buffer;
#ifdef SPLIT_BY_TILE
uint16 curTile, curClut;
#endif
void updateAspect(float aspect) {
height = 480.0f;
width = height * aspect;
Core::mProj = mat4(0.0f, width, height, 0.0f, 0.0f, 1.0f);
Core::setViewProj(Core::mView, Core::mProj);
Core::active.shader->setParam(uViewProj, Core::mViewProj);
}
void begin() {
Core::setDepthTest(false);
Core::setBlending(bmAlpha);
Core::setCulling(cfNone);
game->setupBinding();
Core::mView.identity();
Core::mModel.identity();
game->setShader(Core::passGUI, Shader::DEFAULT);
Core::setMaterial(1, 1, 1, 1);
Core::active.shader->setParam(uPosScale, vec4(0, 0, 1, 1));
buffer.iCount = buffer.vCount = 0;
#ifdef SPLIT_BY_TILE
curTile = curClut = 0xFFFF;
#endif
}
void flush() {
if (buffer.iCount > 0) {
#ifdef SPLIT_BY_TILE
if (curTile != 0xFFFF)
game->getAtlas()->bind(curTile, curClut);
#endif
game->getMesh()->renderBuffer(buffer.indices, buffer.iCount, buffer.vertices, buffer.vCount);
buffer.iCount = buffer.vCount = 0;
}
}
void end() {
flush();
Core::setCulling(cfFront);
Core::setBlending(bmNone);
Core::setDepthTest(true);
}
enum ShadeType {
SHADE_NONE = 0,
SHADE_ORANGE = 1,
SHADE_GRAY = 2,
};
void textOut(const vec2 &pos, const char *text, Align align = aLeft, float width = 0, uint8 alpha = 255, ShadeType shade = SHADE_ORANGE, bool isShadow = false) {
if (!text) return;
TR::Level *level = game->getLevel();
if (shade && !isShadow && ((level->version & TR::VER_TR3)))
textOut(pos + vec2(1, 1), text, align, width, alpha, shade, true);
MeshBuilder *mesh = game->getMesh();
int seq = level->extra.glyphs;
int x = int(pos.x);
int y = int(pos.y);
if (align == aCenter)
x += int((width - getTextSize(text).x) / 2);
if (align == aRight)
x += int(width - getTextSize(text).x);
int left = x;
while (char c = *text++) {
if (c == ' ' || c == '_') {
x += 6;
continue;
}
if (c == '@') {
x = left;
y += 16;
continue;
}
int frame = charRemap(c);
if (buffer.iCount == MAX_CHARS * 6)
flush();
TR::SpriteTexture &sprite = level->spriteTextures[level->spriteSequences[seq].sStart + frame];
TR::Color32 tColor, bColor;
if (isShadow) {
tColor = bColor = TR::Color32(0, 0, 0, alpha);
} else {
tColor = bColor = TR::Color32(255, 255, 255, alpha);
if (shade && ((level->version & TR::VER_TR3))) {
if (shade == SHADE_ORANGE) {
tColor = TR::Color32(255, 190, 90, alpha);
bColor = TR::Color32(140, 50, 10, alpha);
}
if (shade == SHADE_GRAY) {
tColor = TR::Color32(255, 255, 255, alpha);
bColor = TR::Color32(128, 128, 128, alpha);
}
}
}
#ifdef SPLIT_BY_TILE
if (sprite.tile != curTile
#ifdef SPLIT_BY_CLUT
|| sprite.clut != curClut
#endif
) {
flush();
curTile = sprite.tile;
curClut = sprite.clut;
}
#endif
mesh->addSprite(buffer.indices, buffer.vertices, buffer.iCount, buffer.vCount, 0, x, y, 0, sprite, tColor, bColor, true);
x += char_width[frame] + 1;
}
}
void textOut(const vec2 &pos, StringID str, Align align = aLeft, float width = 0, uint8 alpha = 255, ShadeType shade = SHADE_ORANGE) {
textOut(pos, STR[str], align, width, alpha, shade);
}
void specOut(const vec2 &pos, char specChar) {
TR::Level *level = game->getLevel();
MeshBuilder *mesh = game->getMesh();
int seq = level->extra.glyphs;
if (buffer.iCount == MAX_CHARS * 6)
flush();
TR::SpriteTexture &sprite = level->spriteTextures[level->spriteSequences[seq].sStart + specChar];
#ifdef SPLIT_BY_TILE
if (sprite.tile != curTile
#ifdef SPLIT_BY_CLUT
|| sprite.clut != curClut
#endif
) {
flush();
curTile = sprite.tile;
curClut = sprite.clut;
}
#endif
mesh->addSprite(buffer.indices, buffer.vertices, buffer.iCount, buffer.vCount, 0, int(pos.x), int(pos.y), 0, sprite, TR::Color32(255, 255, 255, 255), TR::Color32(255, 255, 255, 255), true);
}
#undef MAX_CHARS
/*
Texture *texInv, *texAction;
Texture* loadRAW(int width, int height, const char *name) {
FILE *f = fopen(name, "rb");
ASSERT(f);
uint8 *data = new uint8[width * height * 4];
fread(data, 1, width * height * 4, f);
fclose(f);
Texture *tex = new Texture(width, height, Texture::RGBA, false, data);
delete[] data;
return tex;
}
*/
void init(IGame *game) {
UI::game = game;
showHelp = false;
helpTipTime = 5.0f;
// texInv = loadRAW(64, 64, "btn_inv.raw");
// texAction = loadRAW(64, 64, "btn_action.raw");
}
void deinit() {
// delete texInv;
// delete texAction;
}
void update() {
if (Input::down[ikH]) {
Input::down[ikH] = false;
showHelp = !showHelp;
helpTipTime = 0.0f;
}
if (helpTipTime > 0.0f)
helpTipTime -= Core::deltaTime;
}
void renderControl(const vec2 &pos, float size, bool active) {
Core::active.shader->setParam(uPosScale, vec4(pos, vec2(size * (active ? 2.0f : 1.0f) / 32767.0f)));
Core::active.shader->setParam(uMaterial, vec4(active ? 0.7f : 0.5f));
game->getMesh()->renderCircle();
}
void renderTouch() {
game->setupBinding();
if (Input::touchTimerVis <= 0.0f) return;
Core::setDepthTest(false);
Core::setBlending(bmAlpha);
Core::setCulling(cfNone);
Core::mViewProj = mat4(0.0f, float(Core::width), float(Core::height), 0.0f, 0.0f, 1.0f);
game->setShader(Core::passGUI, Shader::DEFAULT);
float offset = Core::height * 0.25f;
vec2 pos = vec2(offset, Core::height - offset);
if (Input::down[Input::touchKey[Input::zMove]]) {
Input::Touch &t = Input::touch[Input::touchKey[Input::zMove] - ikTouchA];
renderControl(t.pos, Input::btnRadius, true);
pos = t.start;
}
renderControl(pos, Input::btnRadius, false);
for (int i = Input::bWeapon; i < Input::bMAX; i++)
renderControl(Input::btnPos[i], Input::btnRadius, Input::btn == i);
Core::setCulling(cfFront);
Core::setBlending(bmNone);
Core::setDepthTest(true);
}
void renderBar(BarType type, const vec2 &pos, const vec2 &size, float value, uint32 fgColor = 0xFFFFFFFF, uint32 bgColor = 0x80000000, uint32 brColor1 = 0xFF4C504C, uint32 brColor2 = 0xFF748474, uint32 fgColor2 = 0) {
MeshBuilder *mesh = game->getMesh();
if (brColor1 != 0 || brColor2 != 0)
mesh->addFrame(buffer.indices, buffer.vertices, buffer.iCount, buffer.vCount, pos - 2.0f, size + 4.0f, brColor1, brColor2);
if (bgColor != 0)
mesh->addBar(buffer.indices, buffer.vertices, buffer.iCount, buffer.vCount, whiteTile, pos - 1.0f, size + 2.0f, bgColor);
if ((fgColor != 0 || fgColor2 != 0) && value > 0.0f)
mesh->addBar(buffer.indices, buffer.vertices, buffer.iCount, buffer.vCount, barTile[type], pos, vec2(size.x * value, size.y), fgColor, fgColor2);
}
void renderHelp() {
// TODO: Core::eye offset
if (showHelp)
textOut(vec2(32, 32), STR_HELP_TEXT, aLeft, width - 32, 255, UI::SHADE_GRAY);
else
if (helpTipTime > 0.0f)
textOut(vec2(0, height - 32), STR_HELP_PRESS, aCenter, width, 255, UI::SHADE_ORANGE);
}
};
#endif | [
"xproger@list.ru"
] | xproger@list.ru |
fa1ef14683ab021a07273ce48f652fdeaf7ac03f | 3eefa43e7dea4244fd61a021029375c937b7f6ea | /WebCamTest/ARTest/Classes/Native/Bulk_Assembly-CSharp_0.cpp | 30d451b9210051a0b40cc9a280fad7fd3fc41d3e | [] | no_license | poikelp/UnityIdeas | 603865e4e8b4ef31baa84f86688f51f7b27aae69 | 8f5a7e9c7e8d319d45f18b2da0393b6e1359752c | refs/heads/master | 2021-01-11T21:03:09.728467 | 2017-08-10T15:44:34 | 2017-08-10T15:44:34 | 79,234,786 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 890,428 | 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>
#include "class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "mscorlib_System_Array3829468939.h"
#include "AssemblyU2DCSharp_U3CModuleU3E3783534214.h"
#include "AssemblyU2DCSharp_U3CPrivateImplementationDetailsU1486305137.h"
#include "AssemblyU2DCSharp_U3CPrivateImplementationDetailsU1568637717.h"
#include "AssemblyU2DCSharp_U3CPrivateImplementationDetailsU3894236545.h"
#include "AssemblyU2DCSharp_U3CPrivateImplementationDetailsU2731437132.h"
#include "AssemblyU2DCSharp_U3CPrivateImplementationDetailsU2375206772.h"
#include "AssemblyU2DCSharp_balloon2980151287.h"
#include "mscorlib_System_Void1841601450.h"
#include "UnityEngine_UnityEngine_MonoBehaviour1158329972.h"
#include "UnityEngine_UnityEngine_Vector32243707580.h"
#include "UnityEngine_UnityEngine_Object1021602117.h"
#include "UnityEngine_UnityEngine_Transform3275118058.h"
#include "UnityEngine_UnityEngine_Component3819376471.h"
#include "mscorlib_System_Single2076509932.h"
#include "UnityEngine_UnityEngine_GameObject1756533147.h"
#include "UnityEngine_UnityEngine_Collider3497673348.h"
#include "mscorlib_System_String2029220233.h"
#include "mscorlib_System_Boolean3825574718.h"
#include "AssemblyU2DCSharp_balloonMake2793062909.h"
#include "UnityEngine_UnityEngine_Quaternion4030073918.h"
#include "mscorlib_System_Object2689449295.h"
#include "AssemblyU2DCSharp_BaseScrollEffect2855282033.h"
#include "AssemblyU2DCSharp_BaseTile3549052087.h"
#include "AssemblyU2DCSharp_beem323029581.h"
#include "UnityEngine_UnityEngine_Color2020392075.h"
#include "UnityEngine_UnityEngine_Renderer257310565.h"
#include "UnityEngine_UnityEngine_Material193706927.h"
#include "AssemblyU2DCSharp_ChildrenPageProvider958136491.h"
#include "mscorlib_System_Collections_Generic_List_1_gen2644239190.h"
#include "mscorlib_System_Int322071877448.h"
#include "UnityEngine_UnityEngine_RectTransform3349966182.h"
#include "UnityEngine_UnityEngine_Vector22243707579.h"
#include "AssemblyU2DCSharp_DemoInputManager2776755480.h"
#include "AssemblyU2DCSharp_DemoSceneManager779426248.h"
#include "UnityEngine_UnityEngine_KeyCode2283395152.h"
#include "AssemblyU2DCSharp_FadeScrollEffect2128935010.h"
#include "AssemblyU2DCSharp_FloatTile645192174.h"
#include "UnityEngine_UI_UnityEngine_EventSystems_PointerEve1599784723.h"
#include "AssemblyU2DCSharp_GameObjectPool4074206773.h"
#include "AssemblyU2DCSharp_ObjectPool_1_gen3376809258.h"
#include "AssemblyU2DCSharp_GameObjectPoolController2109978193.h"
#include "System_System_Collections_Generic_Stack_1_gen2844261301.h"
#include "System_System_Collections_Generic_Stack_1_Enumerat3494259661.h"
#include "System_System_Collections_Generic_Stack_1_Enumerato132208513.h"
#include "AssemblyU2DCSharp_GVR_Events_PositionSwapper2793617445.h"
#include "AssemblyU2DCSharp_GVR_Events_ToggleAction2865238344.h"
#include "UnityEngine_UnityEngine_Events_UnityEvent408735097.h"
#include "AssemblyU2DCSharp_GVR_Input_AppButtonInput1324551885.h"
#include "AssemblyU2DCSharp_GVR_Input_BoolEvent555382268.h"
#include "UnityEngine_UnityEngine_Events_UnityEvent_1_gen3863924733.h"
#include "AssemblyU2DCSharp_GVR_Input_ButtonEvent3014361476.h"
#include "AssemblyU2DCSharp_GVR_Input_FloatEvent2213495270.h"
#include "UnityEngine_UnityEngine_Events_UnityEvent_1_gen2114859947.h"
#include "AssemblyU2DCSharp_GVR_Input_GameObjectEvent3653055841.h"
#include "UnityEngine_UnityEngine_Events_UnityEvent_1_gen1794883162.h"
#include "AssemblyU2DCSharp_GVR_Input_TouchPadEvent1647781410.h"
#include "AssemblyU2DCSharp_GVR_Input_TransformEvent206501054.h"
#include "UnityEngine_UnityEngine_Events_UnityEvent_1_gen3313468073.h"
#include "AssemblyU2DCSharp_GVR_Input_Vector2Event2806928513.h"
#include "UnityEngine_UnityEngine_Events_UnityEvent_1_gen2282057594.h"
#include "AssemblyU2DCSharp_GVR_Input_Vector3Event2806921088.h"
#include "UnityEngine_UnityEngine_Events_UnityEvent_1_gen2282057595.h"
#include "AssemblyU2DCSharp_Gvr_Internal_AndroidNativeContro1389606029.h"
#include "AssemblyU2DCSharp_Gvr_Internal_AndroidNativeKeyboa2887228014.h"
#include "mscorlib_System_IntPtr2504060609.h"
#include "AssemblyU2DCSharp_GvrKeyboardInputMode2940030961.h"
#include "AssemblyU2DCSharp_Gvr_Internal_AndroidNativeKeyboa1124886566.h"
#include "AssemblyU2DCSharp_GvrKeyboard_KeyboardCallback4001681579.h"
#include "UnityEngine_UnityEngine_Matrix4x42933234003.h"
#include "AssemblyU2DCSharp_Gvr_Internal_AndroidNativeKeyboa2743662910.h"
#include "AssemblyU2DCSharp_KeyboardState3308394474.h"
#include "mscorlib_System_Int64909078037.h"
#include "UnityEngine_UnityEngine_Rect3681755626.h"
#include "mscorlib_System_RuntimeTypeHandle2330101084.h"
#include "mscorlib_System_Type1303803226.h"
#include "AssemblyU2DCSharp_Gvr_Internal_DummyKeyboardProvid1674367534.h"
#include "AssemblyU2DCSharp_Gvr_Internal_EmulatorAccelEvent621139879.h"
#include "AssemblyU2DCSharp_proto_PhoneEvent_Types_Accelerom1893725728.h"
#include "AssemblyU2DCSharp_Gvr_Internal_EmulatorButtonEvent156276569.h"
#include "AssemblyU2DCSharp_Gvr_Internal_EmulatorButtonEvent4043921137.h"
#include "AssemblyU2DCSharp_proto_PhoneEvent_Types_KeyEvent639576718.h"
#include "AssemblyU2DCSharp_Gvr_Internal_EmulatorClientSocke2001911543.h"
#include "AssemblyU2DCSharp_Gvr_Internal_EmulatorManager3364249716.h"
#include "mscorlib_System_Threading_ThreadStart3437517264.h"
#include "AssemblyU2DCSharp_Gvr_Internal_EmulatorConfig616150261.h"
#include "AssemblyU2DCSharp_Gvr_Internal_EmulatorConfig_Mode1624619217.h"
#include "mscorlib_System_Threading_Thread241561612.h"
#include "mscorlib_System_DateTime693205669.h"
#include "mscorlib_System_TimeSpan3430258949.h"
#include "mscorlib_System_Exception1927440687.h"
#include "mscorlib_System_Double4078015681.h"
#include "System_System_Net_Sockets_TcpClient408947970.h"
#include "System_System_Diagnostics_ProcessStartInfo2898458543.h"
#include "System_System_Diagnostics_Process1448008787.h"
#include "mscorlib_System_IO_StreamReader2360341767.h"
#include "mscorlib_System_IO_TextReader1561828458.h"
#include "System_System_Net_Sockets_NetworkStream581172200.h"
#include "AssemblyU2DCSharp_proto_PhoneEvent2572128318.h"
#include "mscorlib_System_Byte3683104436.h"
#include "mscorlib_System_IO_Stream3255436806.h"
#include "AssemblyU2DCSharp_proto_PhoneEvent_Builder2537253112.h"
#include "Google_ProtocolBuffers_Google_ProtocolBuffers_Abst1613679102.h"
#include "mscorlib_System_IO_IOException2458421087.h"
#include "mscorlib_System_ObjectDisposedException2695136451.h"
#include "mscorlib_System_BitConverter3195628829.h"
#include "AssemblyU2DCSharp_Gvr_Internal_EmulatorGyroEvent1858389926.h"
#include "AssemblyU2DCSharp_proto_PhoneEvent_Types_GyroscopeE182225200.h"
#include "AssemblyU2DCSharp_Gvr_Internal_EmulatorKeyboardPro2695781675.h"
#include "AssemblyU2DCSharp_GvrKeyboardEvent1314471484.h"
#include "mscorlib_System_Char3454481338.h"
#include "mscorlib_System_Collections_Queue1288490777.h"
#include "UnityEngine_UnityEngine_WaitForEndOfFrame1785723201.h"
#include "AssemblyU2DCSharp_Gvr_Internal_EmulatorManager_OnG1804908545.h"
#include "AssemblyU2DCSharp_Gvr_Internal_EmulatorManager_OnA1967739812.h"
#include "AssemblyU2DCSharp_Gvr_Internal_EmulatorManager_OnT4143287487.h"
#include "AssemblyU2DCSharp_Gvr_Internal_EmulatorTouchEvent1122923020.h"
#include "mscorlib_System_Collections_Generic_List_1_gen2369806134.h"
#include "AssemblyU2DCSharp_Gvr_Internal_EmulatorManager_OnOr602701282.h"
#include "AssemblyU2DCSharp_Gvr_Internal_EmulatorOrientation4153005117.h"
#include "AssemblyU2DCSharp_Gvr_Internal_EmulatorManager_OnBu358370788.h"
#include "mscorlib_System_Delegate3022476291.h"
#include "UnityEngine_UnityEngine_Behaviour955675639.h"
#include "UnityEngine_UnityEngine_Coroutine2299508840.h"
#include "AssemblyU2DCSharp_Gvr_Internal_EmulatorManager_U3C4253624923.h"
#include "AssemblyU2DCSharp_proto_PhoneEvent_Types_Type1530480861.h"
#include "AssemblyU2DCSharp_proto_PhoneEvent_Types_MotionEve4072706903.h"
#include "AssemblyU2DCSharp_Gvr_Internal_EmulatorTouchEvent_A936529327.h"
#include "AssemblyU2DCSharp_proto_PhoneEvent_Types_Orientati2038376807.h"
#include "mscorlib_System_UInt322149682021.h"
#include "mscorlib_System_NotSupportedException1793819818.h"
#include "mscorlib_System_AsyncCallback163412349.h"
#include "AssemblyU2DCSharp_Gvr_Internal_EmulatorTouchEvent_3000685002.h"
#include "AssemblyU2DCSharp_proto_PhoneEvent_Types_MotionEve1211758263.h"
#include "mscorlib_System_Text_StringBuilder1221177846.h"
#include "AssemblyU2DCSharp_Gvr_Internal_KeyboardProviderFac1628169604.h"
#include "AssemblyU2DCSharp_GvrKeyboard598184456.h"
#include "AssemblyU2DCSharp_GvrActivityHelper1610839920.h"
#include "AssemblyU2DCSharp_GvrAllEventsTrigger2022443331.h"
#include "AssemblyU2DCSharp_GvrAllEventsTrigger_U3CAddListen1446988883.h"
#include "AssemblyU2DCSharp_GvrEventExecutor_EventDelegate3945253882.h"
#include "AssemblyU2DCSharp_GvrEventExecutor1694572606.h"
#include "AssemblyU2DCSharp_GvrAllEventsTrigger_TriggerEvent1749878144.h"
#include "UnityEngine_UnityEngine_Events_UnityEvent_2_gen4020756648.h"
#include "AssemblyU2DCSharp_GvrArmModel1664224602.h"
#include "AssemblyU2DCSharp_GvrArmModelOffsets2241056642.h"
#include "AssemblyU2DCSharp_GvrAudio2627885619.h"
#include "AssemblyU2DCSharp_GvrAudioListener1521766837.h"
#include "AssemblyU2DCSharp_GvrAudio_Quality2125366261.h"
#include "UnityEngine_UnityEngine_AudioConfiguration2879378008.h"
#include "UnityEngine_UnityEngine_AudioSpeakerMode3732987812.h"
#include "UnityEngine_UnityEngine_LayerMask3188175821.h"
#include "AssemblyU2DCSharp_GvrAudioSoundfield1301118448.h"
#include "AssemblyU2DCSharp_GvrAudioSource2307460312.h"
#include "AssemblyU2DCSharp_GvrAudioRoom1253442178.h"
#include "AssemblyU2DCSharp_GvrAudio_RoomProperties2834448096.h"
#include "mscorlib_System_Collections_Generic_List_1_gen622563310.h"
#include "UnityEngine_UnityEngine_RaycastHit87180320.h"
#include "UnityEngine_UnityEngine_Bounds3033363703.h"
#include "AssemblyU2DCSharp_MutablePose3D1015643808.h"
#include "AssemblyU2DCSharp_Pose3D3872859958.h"
#include "AssemblyU2DCSharp_GvrAudioRoom_SurfaceMaterial3590751945.h"
#include "AssemblyU2DCSharp_GvrAudio_SpatializerData1929858338.h"
#include "AssemblyU2DCSharp_GvrAudio_SpatializerType3348390394.h"
#include "UnityEngine_UnityEngine_AudioClip1932558630.h"
#include "UnityEngine_UnityEngine_AudioRolloffMode2229549515.h"
#include "UnityEngine_UnityEngine_AudioSource1135106623.h"
#include "UnityEngine_UnityEngine_AudioSourceCurveType4181799310.h"
#include "UnityEngine_UnityEngine_AnimationCurve3306541151.h"
#include "UnityEngine_UnityEngine_HideFlags1434274199.h"
#include "UnityEngine_UnityEngine_Audio_AudioMixerGroup959546644.h"
#include "UnityEngine_UnityEngine_Audio_AudioMixer3244290001.h"
#include "UnityEngine_UnityEngine_FFTWindow2870052902.h"
#include "UnityEngine_UnityEngine_Mesh1356156583.h"
#include "AssemblyU2DCSharp_GvrBaseControllerVisual4093442088.h"
#include "AssemblyU2DCSharp_GvrBasePointer2150122635.h"
#include "UnityEngine_UI_UnityEngine_EventSystems_RaycastResul21186376.h"
#include "AssemblyU2DCSharp_GvrPointerInputModule1603976810.h"
#include "AssemblyU2DCSharp_GvrPointerInputModuleImpl2072755720.h"
#include "AssemblyU2DCSharp_GvrBasePointerRaycaster1189534163.h"
#include "AssemblyU2DCSharp_GvrBasePointerRaycaster_RaycastM3965091944.h"
#include "UnityEngine_UI_UnityEngine_EventSystems_BaseRaycas2336171397.h"
#include "UnityEngine_UnityEngine_Ray2469606224.h"
#include "UnityEngine_UnityEngine_Camera189460977.h"
#include "AssemblyU2DCSharp_GvrBatteryIndicator1573734297.h"
#include "AssemblyU2DCSharp_GvrCardboardHelpers336308462.h"
#include "AssemblyU2DCSharp_GvrController1602869021.h"
#include "AssemblyU2DCSharp_GvrControllerVisual3328916665.h"
#include "AssemblyU2DCSharp_GvrControllerVisualManager1857939020.h"
#include "AssemblyU2DCSharp_GvrDaydreamApi4123913920.h"
#include "AssemblyU2DCSharp_GVRDemoManager2690453893.h"
#include "AssemblyU2DCSharp_GvrDropdown2234606196.h"
#include "UnityEngine_UI_UnityEngine_UI_Dropdown1985816271.h"
#include "UnityEngine_UI_UnityEngine_EventSystems_BaseEventD2681005625.h"
#include "UnityEngine_UnityEngine_Canvas209405766.h"
#include "AssemblyU2DCSharp_GvrPointerGraphicRaycaster1649506702.h"
#include "UnityEngine_UI_UnityEngine_UI_GraphicRaycaster410733016.h"
#include "AssemblyU2DCSharp_GvrPointerGraphicRaycaster_Block4215129352.h"
#include "AssemblyU2DCSharp_GvrEditorEmulator3806821253.h"
#include "mscorlib_System_Collections_Generic_Dictionary_2_g1587644483.h"
#include "AssemblyU2DCSharp_GvrExecuteEventsExtension3083691626.h"
#include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEven181019251.h"
#include "AssemblyU2DCSharp_GvrFPS750935016.h"
#include "UnityEngine_UI_UnityEngine_UI_Text356221433.h"
#include "AssemblyU2DCSharp_GvrIntent542233401.h"
#include "AssemblyU2DCSharp_GvrKeyboard_ErrorCallback1270209242.h"
#include "AssemblyU2DCSharp_GvrKeyboard_StandardCallback1386534425.h"
#include "AssemblyU2DCSharp_GvrKeyboard_EditTextCallback661057455.h"
#include "AssemblyU2DCSharp_GvrKeyboardDelegateBase1914180906.h"
#include "AssemblyU2DCSharp_GvrKeyboardError2067079702.h"
#include "mscorlib_System_EventArgs3289624707.h"
#include "mscorlib_System_EventHandler277755526.h"
#include "UnityEngine_UnityEngine_Camera_StereoscopicEye1438019089.h"
#include "AssemblyU2DCSharp_GvrKeyboard_U3CExecuterU3Ec__Ite1374321097.h"
#include "mscorlib_System_Collections_Generic_List_1_gen683592616.h"
#include "UnityEngine_UnityEngine_Vector42243707581.h"
#include "UnityEngine_UnityEngine_WaitForSeconds3839502067.h"
#include "AssemblyU2DCSharp_GvrLaserPointer2879974839.h"
#include "AssemblyU2DCSharp_GvrLaserPointerImpl2141976067.h"
#include "UnityEngine_UnityEngine_LineRenderer849157671.h"
#include "UnityEngine_UnityEngine_MeshFilter3026937449.h"
// balloon
struct balloon_t2980151287;
// UnityEngine.MonoBehaviour
struct MonoBehaviour_t1158329972;
// UnityEngine.Component
struct Component_t3819376471;
// UnityEngine.Transform
struct Transform_t3275118058;
// UnityEngine.GameObject
struct GameObject_t1756533147;
// UnityEngine.Object
struct Object_t1021602117;
// UnityEngine.Collider
struct Collider_t3497673348;
// System.String
struct String_t;
// balloonMake
struct balloonMake_t2793062909;
// System.Object
struct Il2CppObject;
// BaseScrollEffect
struct BaseScrollEffect_t2855282033;
// BaseTile
struct BaseTile_t3549052087;
// beem
struct beem_t323029581;
// UnityEngine.Renderer
struct Renderer_t257310565;
// UnityEngine.Material
struct Material_t193706927;
// ChildrenPageProvider
struct ChildrenPageProvider_t958136491;
// System.Collections.Generic.List`1<UnityEngine.Transform>
struct List_1_t2644239190;
// System.Collections.Generic.List`1<System.Object>
struct List_1_t2058570427;
// UnityEngine.RectTransform
struct RectTransform_t3349966182;
// System.Collections.IEnumerator
struct IEnumerator_t1466026749;
// DemoInputManager
struct DemoInputManager_t2776755480;
// DemoSceneManager
struct DemoSceneManager_t779426248;
// FadeScrollEffect
struct FadeScrollEffect_t2128935010;
// FloatTile
struct FloatTile_t645192174;
// UnityEngine.EventSystems.PointerEventData
struct PointerEventData_t1599784723;
// GameObjectPool
struct GameObjectPool_t4074206773;
// ObjectPool`1<UnityEngine.GameObject>
struct ObjectPool_1_t3376809258;
// ObjectPool`1<System.Object>
struct ObjectPool_1_t14758110;
// GameObjectPoolController
struct GameObjectPoolController_t2109978193;
// System.Collections.Generic.Stack`1<UnityEngine.GameObject>
struct Stack_1_t2844261301;
// System.Collections.Generic.Stack`1<System.Object>
struct Stack_1_t3777177449;
// GVR.Events.PositionSwapper
struct PositionSwapper_t2793617445;
// GVR.Events.ToggleAction
struct ToggleAction_t2865238344;
// UnityEngine.Events.UnityEvent
struct UnityEvent_t408735097;
// GVR.Input.AppButtonInput
struct AppButtonInput_t1324551885;
// GVR.Input.BoolEvent
struct BoolEvent_t555382268;
// UnityEngine.Events.UnityEvent`1<System.Boolean>
struct UnityEvent_1_t3863924733;
// GVR.Input.ButtonEvent
struct ButtonEvent_t3014361476;
// GVR.Input.FloatEvent
struct FloatEvent_t2213495270;
// UnityEngine.Events.UnityEvent`1<System.Single>
struct UnityEvent_1_t2114859947;
// GVR.Input.GameObjectEvent
struct GameObjectEvent_t3653055841;
// UnityEngine.Events.UnityEvent`1<UnityEngine.GameObject>
struct UnityEvent_1_t1794883162;
// UnityEngine.Events.UnityEvent`1<System.Object>
struct UnityEvent_1_t2727799310;
// GVR.Input.TouchPadEvent
struct TouchPadEvent_t1647781410;
// GVR.Input.TransformEvent
struct TransformEvent_t206501054;
// UnityEngine.Events.UnityEvent`1<UnityEngine.Transform>
struct UnityEvent_1_t3313468073;
// GVR.Input.Vector2Event
struct Vector2Event_t2806928513;
// UnityEngine.Events.UnityEvent`1<UnityEngine.Vector2>
struct UnityEvent_1_t2282057594;
// GVR.Input.Vector3Event
struct Vector3Event_t2806921088;
// UnityEngine.Events.UnityEvent`1<UnityEngine.Vector3>
struct UnityEvent_1_t2282057595;
// Gvr.Internal.AndroidNativeControllerProvider
struct AndroidNativeControllerProvider_t1389606029;
// Gvr.Internal.AndroidNativeKeyboardProvider
struct AndroidNativeKeyboardProvider_t2887228014;
// GvrKeyboard/KeyboardCallback
struct KeyboardCallback_t4001681579;
// KeyboardState
struct KeyboardState_t3308394474;
// System.Type
struct Type_t;
// Gvr.Internal.DummyKeyboardProvider
struct DummyKeyboardProvider_t1674367534;
// proto.PhoneEvent/Types/AccelerometerEvent
struct AccelerometerEvent_t1893725728;
// proto.PhoneEvent/Types/KeyEvent
struct KeyEvent_t639576718;
// Gvr.Internal.EmulatorClientSocket
struct EmulatorClientSocket_t2001911543;
// Gvr.Internal.EmulatorManager
struct EmulatorManager_t3364249716;
// Gvr.Internal.EmulatorConfig
struct EmulatorConfig_t616150261;
// System.Threading.ThreadStart
struct ThreadStart_t3437517264;
// System.Threading.Thread
struct Thread_t241561612;
// System.Object[]
struct ObjectU5BU5D_t3614634134;
// System.Net.Sockets.TcpClient
struct TcpClient_t408947970;
// System.Diagnostics.Process
struct Process_t1448008787;
// System.Diagnostics.ProcessStartInfo
struct ProcessStartInfo_t2898458543;
// System.IO.StreamReader
struct StreamReader_t2360341767;
// System.Exception
struct Exception_t1927440687;
// System.Net.Sockets.NetworkStream
struct NetworkStream_t581172200;
// System.Byte[]
struct ByteU5BU5D_t3397334013;
// proto.PhoneEvent/Builder
struct Builder_t2537253112;
// Google.ProtocolBuffers.AbstractBuilderLite`2<proto.PhoneEvent,proto.PhoneEvent/Builder>
struct AbstractBuilderLite_2_t1613679102;
// Google.ProtocolBuffers.AbstractBuilderLite`2<System.Object,System.Object>
struct AbstractBuilderLite_2_t466644448;
// proto.PhoneEvent
struct PhoneEvent_t2572128318;
// System.Array
struct Il2CppArray;
// UnityEngine.Object[]
struct ObjectU5BU5D_t4217747464;
// proto.PhoneEvent/Types/GyroscopeEvent
struct GyroscopeEvent_t182225200;
// Gvr.Internal.EmulatorKeyboardProvider
struct EmulatorKeyboardProvider_t2695781675;
// UnityEngine.WaitForEndOfFrame
struct WaitForEndOfFrame_t1785723201;
// System.Collections.Queue
struct Queue_t1288490777;
// Gvr.Internal.EmulatorManager/OnGyroEvent
struct OnGyroEvent_t1804908545;
// Gvr.Internal.EmulatorManager/OnAccelEvent
struct OnAccelEvent_t1967739812;
// Gvr.Internal.EmulatorManager/OnTouchEvent
struct OnTouchEvent_t4143287487;
// Gvr.Internal.EmulatorManager/OnOrientationEvent
struct OnOrientationEvent_t602701282;
// Gvr.Internal.EmulatorManager/OnButtonEvent
struct OnButtonEvent_t358370788;
// System.Delegate
struct Delegate_t3022476291;
// UnityEngine.Behaviour
struct Behaviour_t955675639;
// UnityEngine.Coroutine
struct Coroutine_t2299508840;
// Gvr.Internal.EmulatorManager/<EndOfFrame>c__Iterator0
struct U3CEndOfFrameU3Ec__Iterator0_t4253624923;
// proto.PhoneEvent/Types/MotionEvent
struct MotionEvent_t4072706903;
// proto.PhoneEvent/Types/OrientationEvent
struct OrientationEvent_t2038376807;
// System.NotSupportedException
struct NotSupportedException_t1793819818;
// System.IAsyncResult
struct IAsyncResult_t1999651008;
// System.AsyncCallback
struct AsyncCallback_t163412349;
// Gvr.Internal.EmulatorButtonEvent
struct EmulatorButtonEvent_t156276569;
// System.Collections.Generic.List`1<Gvr.Internal.EmulatorTouchEvent/Pointer>
struct List_1_t2369806134;
// System.Collections.Generic.IList`1<proto.PhoneEvent/Types/MotionEvent/Types/Pointer>
struct IList_1_t1752698864;
// proto.PhoneEvent/Types/MotionEvent/Types/Pointer
struct Pointer_t1211758263;
// System.Text.StringBuilder
struct StringBuilder_t1221177846;
// Gvr.Internal.IKeyboardProvider
struct IKeyboardProvider_t155239331;
// GvrKeyboard
struct GvrKeyboard_t598184456;
// GvrAllEventsTrigger
struct GvrAllEventsTrigger_t2022443331;
// GvrAllEventsTrigger/<AddListenersDelayed>c__Iterator0
struct U3CAddListenersDelayedU3Ec__Iterator0_t1446988883;
// GvrEventExecutor
struct GvrEventExecutor_t1694572606;
// GvrEventExecutor/EventDelegate
struct EventDelegate_t3945253882;
// UnityEngine.Events.UnityEvent`2<UnityEngine.GameObject,UnityEngine.EventSystems.PointerEventData>
struct UnityEvent_2_t4020756648;
// UnityEngine.Events.UnityEvent`2<System.Object,System.Object>
struct UnityEvent_2_t1372135904;
// GvrAllEventsTrigger/TriggerEvent
struct TriggerEvent_t1749878144;
// GvrArmModel
struct GvrArmModel_t1664224602;
// GvrArmModelOffsets
struct GvrArmModelOffsets_t2241056642;
// GvrAudioListener
struct GvrAudioListener_t1521766837;
// GvrAudioSoundfield
struct GvrAudioSoundfield_t1301118448;
// GvrAudioSource
struct GvrAudioSource_t2307460312;
// GvrAudioRoom
struct GvrAudioRoom_t1253442178;
// System.Collections.Generic.List`1<GvrAudioRoom>
struct List_1_t622563310;
// UnityEngine.RaycastHit[]
struct RaycastHitU5BU5D_t1214023521;
// UnityEngine.Vector2[]
struct Vector2U5BU5D_t686124026;
// MutablePose3D
struct MutablePose3D_t1015643808;
// Pose3D
struct Pose3D_t3872859958;
// UnityEngine.AudioSource
struct AudioSource_t1135106623;
// UnityEngine.AudioClip
struct AudioClip_t1932558630;
// UnityEngine.AnimationCurve
struct AnimationCurve_t3306541151;
// UnityEngine.Audio.AudioMixer
struct AudioMixer_t3244290001;
// UnityEngine.Audio.AudioMixerGroup[]
struct AudioMixerGroupU5BU5D_t1763409949;
// UnityEngine.Audio.AudioMixerGroup
struct AudioMixerGroup_t959546644;
// System.Single[]
struct SingleU5BU5D_t577127397;
// UnityEngine.Mesh
struct Mesh_t1356156583;
// UnityEngine.Vector3[]
struct Vector3U5BU5D_t1172311765;
// System.Int32[]
struct Int32U5BU5D_t3030399641;
// GvrBaseControllerVisual
struct GvrBaseControllerVisual_t4093442088;
// GvrBasePointer
struct GvrBasePointer_t2150122635;
// GvrPointerInputModule
struct GvrPointerInputModule_t1603976810;
// GvrPointerInputModuleImpl
struct GvrPointerInputModuleImpl_t2072755720;
// GvrBasePointerRaycaster
struct GvrBasePointerRaycaster_t1189534163;
// UnityEngine.EventSystems.BaseRaycaster
struct BaseRaycaster_t2336171397;
// UnityEngine.Camera
struct Camera_t189460977;
// GvrBatteryIndicator
struct GvrBatteryIndicator_t1573734297;
// GvrCardboardHelpers
struct GvrCardboardHelpers_t336308462;
// GvrController
struct GvrController_t1602869021;
// GvrControllerVisual
struct GvrControllerVisual_t3328916665;
// GvrControllerVisualManager
struct GvrControllerVisualManager_t1857939020;
// GvrDaydreamApi
struct GvrDaydreamApi_t4123913920;
// GVRDemoManager
struct GVRDemoManager_t2690453893;
// GvrDropdown
struct GvrDropdown_t2234606196;
// UnityEngine.UI.Dropdown
struct Dropdown_t1985816271;
// UnityEngine.EventSystems.BaseEventData
struct BaseEventData_t2681005625;
// UnityEngine.Canvas
struct Canvas_t209405766;
// UnityEngine.UI.GraphicRaycaster
struct GraphicRaycaster_t410733016;
// GvrPointerGraphicRaycaster
struct GvrPointerGraphicRaycaster_t1649506702;
// GvrEditorEmulator
struct GvrEditorEmulator_t3806821253;
// System.Collections.Generic.Dictionary`2<System.Type,GvrEventExecutor/EventDelegate>
struct Dictionary_2_t1587644483;
// System.Collections.Generic.Dictionary`2<System.Object,System.Object>
struct Dictionary_2_t2281509423;
// IGvrPointerHoverHandler
struct IGvrPointerHoverHandler_t1683868601;
// UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<IGvrPointerHoverHandler>
struct EventFunction_1_t181019251;
// UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<System.Object>
struct EventFunction_1_t1186599945;
// GvrFPS
struct GvrFPS_t750935016;
// UnityEngine.UI.Text
struct Text_t356221433;
// GvrKeyboard/ErrorCallback
struct ErrorCallback_t1270209242;
// GvrKeyboard/StandardCallback
struct StandardCallback_t1386534425;
// GvrKeyboard/EditTextCallback
struct EditTextCallback_t661057455;
// System.EventHandler
struct EventHandler_t277755526;
// GvrKeyboard/<Executer>c__Iterator0
struct U3CExecuterU3Ec__Iterator0_t1374321097;
// System.Collections.Generic.List`1<GvrKeyboardEvent>
struct List_1_t683592616;
// System.EventArgs
struct EventArgs_t3289624707;
// UnityEngine.WaitForSeconds
struct WaitForSeconds_t3839502067;
// GvrKeyboardDelegateBase
struct GvrKeyboardDelegateBase_t1914180906;
// GvrLaserPointer
struct GvrLaserPointer_t2879974839;
// GvrLaserPointerImpl
struct GvrLaserPointerImpl_t2141976067;
// UnityEngine.LineRenderer
struct LineRenderer_t849157671;
// UnityEngine.MeshFilter
struct MeshFilter_t3026937449;
extern Il2CppClass* Object_t1021602117_il2cpp_TypeInfo_var;
extern const uint32_t balloon_Update_m3371549975_MetadataUsageId;
extern Il2CppCodeGenString* _stringLiteral1051108099;
extern const uint32_t balloon_OnTriggerEnter_m4040106270_MetadataUsageId;
extern Il2CppClass* GameObject_t1756533147_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral2041116264;
extern const uint32_t balloonMake_Start_m1639640664_MetadataUsageId;
extern Il2CppClass* Mathf_t2336485820_il2cpp_TypeInfo_var;
extern const MethodInfo* Object_Instantiate_TisGameObject_t1756533147_m3064851704_MethodInfo_var;
extern const uint32_t balloonMake_Update_m2723459741_MetadataUsageId;
extern Il2CppCodeGenString* _stringLiteral181058256;
extern const uint32_t beem_Start_m2691062574_MetadataUsageId;
extern Il2CppClass* List_1_t2644239190_il2cpp_TypeInfo_var;
extern const MethodInfo* List_1__ctor_m833109890_MethodInfo_var;
extern const uint32_t ChildrenPageProvider__ctor_m3435118708_MetadataUsageId;
extern const MethodInfo* List_1_get_Count_m1995107056_MethodInfo_var;
extern const uint32_t ChildrenPageProvider_GetNumberOfPages_m2165365796_MetadataUsageId;
extern const MethodInfo* List_1_get_Item_m3391702501_MethodInfo_var;
extern const MethodInfo* Component_GetComponent_TisRectTransform_t3349966182_m1310250299_MethodInfo_var;
extern const uint32_t ChildrenPageProvider_ProvidePage_m3434407371_MetadataUsageId;
extern Il2CppClass* IEnumerator_t1466026749_il2cpp_TypeInfo_var;
extern Il2CppClass* Transform_t3275118058_il2cpp_TypeInfo_var;
extern Il2CppClass* IDisposable_t2427283555_il2cpp_TypeInfo_var;
extern const MethodInfo* List_1_Add_m4081083670_MethodInfo_var;
extern const uint32_t ChildrenPageProvider_Awake_m4066496487_MetadataUsageId;
extern Il2CppCodeGenString* _stringLiteral482864659;
extern const uint32_t DemoInputManager_Start_m50976037_MetadataUsageId;
extern Il2CppClass* Input_t1785128008_il2cpp_TypeInfo_var;
extern const uint32_t DemoSceneManager_Start_m25303337_MetadataUsageId;
extern const uint32_t DemoSceneManager_Update_m3480481970_MetadataUsageId;
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern const MethodInfo* ObjectPool_1__ctor_m2836333181_MethodInfo_var;
extern const MethodInfo* Assert_IsNotNull_TisGameObject_t1756533147_m1577831727_MethodInfo_var;
extern const MethodInfo* GameObject_AddComponent_TisGameObjectPoolController_t2109978193_m1099290807_MethodInfo_var;
extern const MethodInfo* ObjectPool_1_Initialize_m756943073_MethodInfo_var;
extern Il2CppCodeGenString* _stringLiteral3376747656;
extern const uint32_t GameObjectPool__ctor_m986672534_MetadataUsageId;
extern const uint32_t GameObjectPool_Dispose_m2174999751_MetadataUsageId;
extern const uint32_t GameObjectPool_OnUnableToReturn_m2801959349_MetadataUsageId;
extern const MethodInfo* Object_Instantiate_TisGameObject_t1756533147_m3614337661_MethodInfo_var;
extern const uint32_t GameObjectPool_AllocateObject_m372494399_MetadataUsageId;
extern Il2CppClass* Stack_1_t2844261301_il2cpp_TypeInfo_var;
extern const MethodInfo* Stack_1__ctor_m2311023734_MethodInfo_var;
extern const uint32_t GameObjectPoolController_Initialize_m1707273073_MetadataUsageId;
extern const MethodInfo* Stack_1_get_Count_m335565545_MethodInfo_var;
extern const MethodInfo* Stack_1_Pop_m2665221936_MethodInfo_var;
extern const uint32_t GameObjectPoolController_OnBorrowed_m2449510917_MetadataUsageId;
extern const MethodInfo* Stack_1_Push_m3004012536_MethodInfo_var;
extern const uint32_t GameObjectPoolController_OnPooled_m393555592_MetadataUsageId;
extern const MethodInfo* Stack_1_GetEnumerator_m1128032924_MethodInfo_var;
extern const MethodInfo* Enumerator_get_Current_m1118913844_MethodInfo_var;
extern const MethodInfo* Enumerator_MoveNext_m992638478_MethodInfo_var;
extern const MethodInfo* Stack_1_Clear_m3891488846_MethodInfo_var;
extern const uint32_t GameObjectPoolController_LateUpdate_m3552926721_MetadataUsageId;
extern Il2CppClass* Vector3U5BU5D_t1172311765_il2cpp_TypeInfo_var;
extern const uint32_t PositionSwapper__ctor_m983052788_MetadataUsageId;
extern const MethodInfo* UnityEvent_1__ctor_m4051141261_MethodInfo_var;
extern const uint32_t BoolEvent__ctor_m3444785988_MetadataUsageId;
extern const MethodInfo* UnityEvent_1__ctor_m29611311_MethodInfo_var;
extern const uint32_t FloatEvent__ctor_m920471060_MetadataUsageId;
extern const MethodInfo* UnityEvent_1__ctor_m4008513313_MethodInfo_var;
extern const uint32_t GameObjectEvent__ctor_m3285908993_MetadataUsageId;
extern const MethodInfo* UnityEvent_1__ctor_m2774475680_MethodInfo_var;
extern const uint32_t TransformEvent__ctor_m4078659930_MetadataUsageId;
extern const MethodInfo* UnityEvent_1__ctor_m3317039790_MethodInfo_var;
extern const uint32_t Vector2Event__ctor_m2692025845_MetadataUsageId;
extern const MethodInfo* UnityEvent_1__ctor_m2176906728_MethodInfo_var;
extern const uint32_t Vector3Event__ctor_m4093400854_MetadataUsageId;
extern Il2CppClass* IntPtr_t_il2cpp_TypeInfo_var;
extern const uint32_t AndroidNativeKeyboardProvider__ctor_m75407301_MetadataUsageId;
extern Il2CppClass* Marshal_t785896760_il2cpp_TypeInfo_var;
extern const uint32_t AndroidNativeKeyboardProvider_get_EditorText_m2413977029_MetadataUsageId;
extern const uint32_t AndroidNativeKeyboardProvider_set_EditorText_m547735420_MetadataUsageId;
extern Il2CppClass* GvrKeyboardInputMode_t2940030961_il2cpp_TypeInfo_var;
extern Il2CppClass* Debug_t1368543263_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral1886951671;
extern const uint32_t AndroidNativeKeyboardProvider_SetInputMode_m1725059409_MetadataUsageId;
extern const uint32_t AndroidNativeKeyboardProvider_Create_m3052585206_MetadataUsageId;
extern Il2CppClass* Matrix4x4_t2933234003_il2cpp_TypeInfo_var;
extern const uint32_t AndroidNativeKeyboardProvider_Show_m1893808566_MetadataUsageId;
extern Il2CppClass* gvr_recti_t2743662910_il2cpp_TypeInfo_var;
extern const uint32_t AndroidNativeKeyboardProvider_Render_m3971606001_MetadataUsageId;
extern const Il2CppType* Matrix4x4_t2933234003_0_0_0_var;
extern Il2CppClass* Type_t_il2cpp_TypeInfo_var;
extern const uint32_t AndroidNativeKeyboardProvider_getRecommendedMatrix_m1377656731_MetadataUsageId;
extern Il2CppClass* KeyboardState_t3308394474_il2cpp_TypeInfo_var;
extern const uint32_t DummyKeyboardProvider__ctor_m36419367_MetadataUsageId;
extern Il2CppClass* EmulatorConfig_t616150261_il2cpp_TypeInfo_var;
extern Il2CppClass* ThreadStart_t3437517264_il2cpp_TypeInfo_var;
extern Il2CppClass* Thread_t241561612_il2cpp_TypeInfo_var;
extern const MethodInfo* EmulatorClientSocket_phoneEventSocketLoop_m1408520055_MethodInfo_var;
extern const uint32_t EmulatorClientSocket_Init_m4171573166_MetadataUsageId;
extern Il2CppClass* DateTime_t693205669_il2cpp_TypeInfo_var;
extern Il2CppClass* Exception_t1927440687_il2cpp_TypeInfo_var;
extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral1296085355;
extern const uint32_t EmulatorClientSocket_phoneEventSocketLoop_m1408520055_MetadataUsageId;
extern Il2CppClass* EmulatorClientSocket_t2001911543_il2cpp_TypeInfo_var;
extern Il2CppClass* TcpClient_t408947970_il2cpp_TypeInfo_var;
extern const uint32_t EmulatorClientSocket_phoneConnect_m3583139274_MetadataUsageId;
extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var;
extern Il2CppClass* Process_t1448008787_il2cpp_TypeInfo_var;
extern Il2CppClass* ProcessStartInfo_t2898458543_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral1373918990;
extern Il2CppCodeGenString* _stringLiteral2375273008;
extern Il2CppCodeGenString* _stringLiteral1992102629;
extern Il2CppCodeGenString* _stringLiteral794328206;
extern Il2CppCodeGenString* _stringLiteral3824521097;
extern const uint32_t EmulatorClientSocket_setupPortForwarding_m693595422_MetadataUsageId;
extern Il2CppClass* ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var;
extern Il2CppClass* PhoneEvent_t2572128318_il2cpp_TypeInfo_var;
extern const MethodInfo* AbstractBuilderLite_2_MergeFrom_m705343286_MethodInfo_var;
extern Il2CppCodeGenString* _stringLiteral830690597;
extern Il2CppCodeGenString* _stringLiteral2095212411;
extern const uint32_t EmulatorClientSocket_ProcessConnection_m2203714527_MetadataUsageId;
extern Il2CppClass* IOException_t2458421087_il2cpp_TypeInfo_var;
extern Il2CppClass* ObjectDisposedException_t2695136451_il2cpp_TypeInfo_var;
extern const uint32_t EmulatorClientSocket_blockingRead_m3410398218_MetadataUsageId;
extern Il2CppClass* BitConverter_t3195628829_il2cpp_TypeInfo_var;
extern const uint32_t EmulatorClientSocket_correctEndianness_m336142497_MetadataUsageId;
extern const uint32_t EmulatorClientSocket__cctor_m288133801_MetadataUsageId;
extern const Il2CppType* EmulatorConfig_t616150261_0_0_0_var;
extern Il2CppClass* EmulatorConfigU5BU5D_t1923274648_il2cpp_TypeInfo_var;
extern const MethodInfo* GameObject_AddComponent_TisEmulatorConfig_t616150261_m639623939_MethodInfo_var;
extern Il2CppCodeGenString* _stringLiteral115638372;
extern Il2CppCodeGenString* _stringLiteral2267280474;
extern const uint32_t EmulatorConfig_get_Instance_m410425010_MetadataUsageId;
extern Il2CppCodeGenString* _stringLiteral2524945039;
extern Il2CppCodeGenString* _stringLiteral825751485;
extern const uint32_t EmulatorConfig__cctor_m2606221763_MetadataUsageId;
extern Il2CppCodeGenString* _stringLiteral1826614188;
extern const uint32_t EmulatorKeyboardProvider__ctor_m3463846836_MetadataUsageId;
extern const uint32_t EmulatorKeyboardProvider_Create_m1584119999_MetadataUsageId;
extern const uint32_t EmulatorKeyboardProvider_Show_m969023091_MetadataUsageId;
extern Il2CppClass* Char_t3454481338_il2cpp_TypeInfo_var;
extern const uint32_t EmulatorKeyboardProvider_UpdateData_m3070658071_MetadataUsageId;
extern const uint32_t EmulatorKeyboardProvider_Hide_m889740258_MetadataUsageId;
extern const uint32_t EmulatorKeyboardProvider_SendUpdateNotification_m3442702306_MetadataUsageId;
extern Il2CppClass* WaitForEndOfFrame_t1785723201_il2cpp_TypeInfo_var;
extern Il2CppClass* Queue_t1288490777_il2cpp_TypeInfo_var;
extern const uint32_t EmulatorManager__ctor_m2902830753_MetadataUsageId;
extern Il2CppClass* EmulatorManager_t3364249716_il2cpp_TypeInfo_var;
extern const MethodInfo* GameObject_AddComponent_TisEmulatorManager_t3364249716_m3658772290_MethodInfo_var;
extern Il2CppCodeGenString* _stringLiteral4181646808;
extern const uint32_t EmulatorManager_get_Instance_m2672610894_MetadataUsageId;
extern Il2CppClass* OnGyroEvent_t1804908545_il2cpp_TypeInfo_var;
extern const uint32_t EmulatorManager_add_gyroEventListenersInternal_m3017450141_MetadataUsageId;
extern const uint32_t EmulatorManager_remove_gyroEventListenersInternal_m1959037462_MetadataUsageId;
extern Il2CppClass* OnAccelEvent_t1967739812_il2cpp_TypeInfo_var;
extern const uint32_t EmulatorManager_add_accelEventListenersInternal_m3372572737_MetadataUsageId;
extern const uint32_t EmulatorManager_remove_accelEventListenersInternal_m2962477662_MetadataUsageId;
extern Il2CppClass* OnTouchEvent_t4143287487_il2cpp_TypeInfo_var;
extern const uint32_t EmulatorManager_add_touchEventListenersInternal_m4176544517_MetadataUsageId;
extern const uint32_t EmulatorManager_remove_touchEventListenersInternal_m1405523860_MetadataUsageId;
extern Il2CppClass* OnOrientationEvent_t602701282_il2cpp_TypeInfo_var;
extern const uint32_t EmulatorManager_add_orientationEventListenersInternal_m3579286333_MetadataUsageId;
extern const uint32_t EmulatorManager_remove_orientationEventListenersInternal_m3190711766_MetadataUsageId;
extern Il2CppClass* OnButtonEvent_t358370788_il2cpp_TypeInfo_var;
extern const uint32_t EmulatorManager_add_buttonEventListenersInternal_m1124036221_MetadataUsageId;
extern const uint32_t EmulatorManager_remove_buttonEventListenersInternal_m1787312118_MetadataUsageId;
extern const uint32_t EmulatorManager_get_Connected_m2151749703_MetadataUsageId;
extern Il2CppCodeGenString* _stringLiteral3114425798;
extern const uint32_t EmulatorManager_Awake_m2269357796_MetadataUsageId;
extern const MethodInfo* GameObject_AddComponent_TisEmulatorClientSocket_t2001911543_m760771621_MethodInfo_var;
extern const uint32_t EmulatorManager_Start_m411591913_MetadataUsageId;
extern Il2CppClass* U3CEndOfFrameU3Ec__Iterator0_t4253624923_il2cpp_TypeInfo_var;
extern const uint32_t EmulatorManager_EndOfFrame_m2267188258_MetadataUsageId;
extern Il2CppClass* Type_t1530480861_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral329175675;
extern const uint32_t EmulatorManager_ProcessEventAtEndOfFrame_m2018354264_MetadataUsageId;
extern const uint32_t EmulatorManager__cctor_m2262768450_MetadataUsageId;
extern const uint32_t U3CEndOfFrameU3Ec__Iterator0_MoveNext_m1061821778_MetadataUsageId;
extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var;
extern const uint32_t U3CEndOfFrameU3Ec__Iterator0_Reset_m1527123899_MetadataUsageId;
extern Il2CppClass* EmulatorAccelEvent_t621139879_il2cpp_TypeInfo_var;
extern const uint32_t OnAccelEvent_BeginInvoke_m1032300737_MetadataUsageId;
struct EmulatorButtonEvent_t156276569_marshaled_pinvoke;
struct EmulatorButtonEvent_t156276569;;
struct EmulatorButtonEvent_t156276569_marshaled_pinvoke;;
extern Il2CppClass* EmulatorButtonEvent_t156276569_il2cpp_TypeInfo_var;
extern const uint32_t OnButtonEvent_BeginInvoke_m354434029_MetadataUsageId;
extern Il2CppClass* EmulatorGyroEvent_t1858389926_il2cpp_TypeInfo_var;
extern const uint32_t OnGyroEvent_BeginInvoke_m635063469_MetadataUsageId;
extern Il2CppClass* EmulatorOrientationEvent_t4153005117_il2cpp_TypeInfo_var;
extern const uint32_t OnOrientationEvent_BeginInvoke_m2079793085_MetadataUsageId;
extern Il2CppClass* EmulatorTouchEvent_t1122923020_il2cpp_TypeInfo_var;
extern const uint32_t OnTouchEvent_BeginInvoke_m625390245_MetadataUsageId;
extern Il2CppClass* List_1_t2369806134_il2cpp_TypeInfo_var;
extern Il2CppClass* IEnumerable_1_t1503885308_il2cpp_TypeInfo_var;
extern Il2CppClass* IEnumerator_1_t2982249386_il2cpp_TypeInfo_var;
extern const MethodInfo* List_1__ctor_m3832883665_MethodInfo_var;
extern const MethodInfo* List_1_Add_m3606111453_MethodInfo_var;
extern const uint32_t EmulatorTouchEvent__ctor_m2652666916_MetadataUsageId;
extern Il2CppCodeGenString* _stringLiteral185337353;
extern Il2CppCodeGenString* _stringLiteral212532649;
extern const uint32_t EmulatorTouchEvent__ctor_m41442020_MetadataUsageId;
extern const uint32_t EmulatorTouchEvent_getActionMasked_m1031363438_MetadataUsageId;
extern const MethodInfo* List_1_get_Item_m3841572302_MethodInfo_var;
extern const uint32_t EmulatorTouchEvent_getActionPointer_m3109644827_MetadataUsageId;
extern const uint32_t EmulatorTouchEvent_getActionUnmasked_m2794616263_MetadataUsageId;
extern const MethodInfo* List_1_get_Count_m915271181_MethodInfo_var;
extern const uint32_t EmulatorTouchEvent_findPointerIndex_m3522089136_MetadataUsageId;
extern Il2CppClass* StringBuilder_t1221177846_il2cpp_TypeInfo_var;
extern Il2CppClass* Action_t936529327_il2cpp_TypeInfo_var;
extern Il2CppClass* Pointer_t3000685002_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral840853824;
extern Il2CppCodeGenString* _stringLiteral811305474;
extern Il2CppCodeGenString* _stringLiteral372029425;
extern const uint32_t EmulatorTouchEvent_ToString_m1236062672_MetadataUsageId;
extern const uint32_t EmulatorTouchEvent__cctor_m3766555102_MetadataUsageId;
extern Il2CppClass* Single_t2076509932_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral3239507012;
extern const uint32_t Pointer_ToString_m1485079150_MetadataUsageId;
extern Il2CppClass* DummyKeyboardProvider_t1674367534_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral527688282;
extern const uint32_t KeyboardProviderFactory_CreateKeyboardProvider_m1653736575_MetadataUsageId;
extern Il2CppClass* U3CAddListenersDelayedU3Ec__Iterator0_t1446988883_il2cpp_TypeInfo_var;
extern const uint32_t GvrAllEventsTrigger_AddListenersDelayed_m4260636464_MetadataUsageId;
extern Il2CppClass* EventDelegate_t3945253882_il2cpp_TypeInfo_var;
extern const MethodInfo* GvrAllEventsTrigger_OnPointerClickHandler_m2667250324_MethodInfo_var;
extern const MethodInfo* GvrAllEventsTrigger_OnPointerDownHandler_m4092136378_MethodInfo_var;
extern const MethodInfo* GvrAllEventsTrigger_OnPointerUpHandler_m1281472661_MethodInfo_var;
extern const MethodInfo* GvrAllEventsTrigger_OnPointerEnterHandler_m1882259142_MethodInfo_var;
extern const MethodInfo* GvrAllEventsTrigger_OnPointerExitHandler_m2862750938_MethodInfo_var;
extern const uint32_t GvrAllEventsTrigger_AddListeners_m1410664328_MetadataUsageId;
extern const uint32_t GvrAllEventsTrigger_RemoveListeners_m2257695873_MetadataUsageId;
extern const MethodInfo* UnityEvent_2_Invoke_m4284579419_MethodInfo_var;
extern const uint32_t GvrAllEventsTrigger_OnPointerClickHandler_m2667250324_MetadataUsageId;
extern const uint32_t GvrAllEventsTrigger_OnPointerDownHandler_m4092136378_MetadataUsageId;
extern const uint32_t GvrAllEventsTrigger_OnPointerUpHandler_m1281472661_MetadataUsageId;
extern const uint32_t GvrAllEventsTrigger_OnPointerEnterHandler_m1882259142_MetadataUsageId;
extern const uint32_t GvrAllEventsTrigger_OnPointerExitHandler_m2862750938_MetadataUsageId;
extern const uint32_t U3CAddListenersDelayedU3Ec__Iterator0_Reset_m1111492947_MetadataUsageId;
extern const MethodInfo* UnityEvent_2__ctor_m966466254_MethodInfo_var;
extern const uint32_t TriggerEvent__ctor_m1797572253_MetadataUsageId;
extern Il2CppClass* GvrAudio_t2627885619_il2cpp_TypeInfo_var;
extern const uint32_t GvrAudio_get_SampleRate_m3725406845_MetadataUsageId;
extern const uint32_t GvrAudio_get_NumChannels_m462395491_MetadataUsageId;
extern const uint32_t GvrAudio_get_FramesPerBuffer_m1101848786_MetadataUsageId;
extern Il2CppCodeGenString* _stringLiteral1298616568;
extern Il2CppCodeGenString* _stringLiteral3640508444;
extern const uint32_t GvrAudio_Initialize_m2739768702_MetadataUsageId;
extern const uint32_t GvrAudio_Shutdown_m2838331605_MetadataUsageId;
extern const uint32_t GvrAudio_UpdateAudioListener_m3370947442_MetadataUsageId;
extern const uint32_t GvrAudio_CreateAudioSoundfield_m1783995047_MetadataUsageId;
extern const uint32_t GvrAudio_UpdateAudioSoundfield_m2589129101_MetadataUsageId;
extern const uint32_t GvrAudio_CreateAudioSource_m1984649488_MetadataUsageId;
extern const uint32_t GvrAudio_DestroyAudioSource_m801182782_MetadataUsageId;
extern const uint32_t GvrAudio_UpdateAudioSource_m1447747246_MetadataUsageId;
extern Il2CppClass* RoomProperties_t2834448096_il2cpp_TypeInfo_var;
extern const MethodInfo* List_1_Contains_m2962896065_MethodInfo_var;
extern const MethodInfo* List_1_Add_m2248878531_MethodInfo_var;
extern const MethodInfo* List_1_Remove_m997653976_MethodInfo_var;
extern const MethodInfo* List_1_get_Count_m1747142799_MethodInfo_var;
extern const MethodInfo* List_1_get_Item_m2588615602_MethodInfo_var;
extern const uint32_t GvrAudio_UpdateAudioRoom_m3179955199_MetadataUsageId;
extern const uint32_t GvrAudio_ComputeOcclusion_m400996319_MetadataUsageId;
extern const uint32_t GvrAudio_ConvertAmplitudeFromDb_m525493451_MetadataUsageId;
extern Il2CppClass* Vector2U5BU5D_t686124026_il2cpp_TypeInfo_var;
extern const uint32_t GvrAudio_Generate2dPolarPattern_m4010778215_MetadataUsageId;
extern const uint32_t GvrAudio_IsListenerInsideRoom_m431752851_MetadataUsageId;
extern const uint32_t GvrAudio_ConvertAudioTransformFromUnity_m3914902326_MetadataUsageId;
extern const uint32_t GvrAudio_GetRoomProperties_m1029902467_MetadataUsageId;
extern Il2CppClass* List_1_t622563310_il2cpp_TypeInfo_var;
extern Il2CppClass* RaycastHitU5BU5D_t1214023521_il2cpp_TypeInfo_var;
extern Il2CppClass* MutablePose3D_t1015643808_il2cpp_TypeInfo_var;
extern const MethodInfo* List_1__ctor_m4264488695_MethodInfo_var;
extern const uint32_t GvrAudio__cctor_m1808371205_MetadataUsageId;
extern const uint32_t GvrAudioListener_Awake_m266798577_MetadataUsageId;
extern const uint32_t GvrAudioListener_OnEnable_m40475892_MetadataUsageId;
extern const uint32_t GvrAudioListener_OnDestroy_m3389696323_MetadataUsageId;
extern const uint32_t GvrAudioListener_Update_m2037834365_MetadataUsageId;
extern const uint32_t GvrAudioRoom_OnEnable_m2514172269_MetadataUsageId;
extern const uint32_t GvrAudioRoom_OnDisable_m3702867154_MetadataUsageId;
extern const uint32_t GvrAudioRoom_Update_m2293437988_MetadataUsageId;
extern const uint32_t GvrAudioSoundfield_set_maxDistance_m1287102658_MetadataUsageId;
extern const uint32_t GvrAudioSoundfield_set_minDistance_m3117626096_MetadataUsageId;
extern Il2CppClass* AudioMixer_t3244290001_il2cpp_TypeInfo_var;
extern Il2CppClass* AudioSourceU5BU5D_t1873220070_il2cpp_TypeInfo_var;
extern const MethodInfo* GameObject_AddComponent_TisAudioSource_t1135106623_m1060393270_MethodInfo_var;
extern Il2CppCodeGenString* _stringLiteral3248387252;
extern Il2CppCodeGenString* _stringLiteral1451690761;
extern Il2CppCodeGenString* _stringLiteral320790385;
extern Il2CppCodeGenString* _stringLiteral4058986920;
extern const uint32_t GvrAudioSoundfield_Awake_m2965117100_MetadataUsageId;
extern const uint32_t GvrAudioSoundfield_OnDestroy_m1174080950_MetadataUsageId;
extern const uint32_t GvrAudioSoundfield_Update_m2595276686_MetadataUsageId;
extern Il2CppCodeGenString* _stringLiteral762922235;
extern const uint32_t GvrAudioSoundfield_PlayScheduled_m3074893852_MetadataUsageId;
extern const uint32_t GvrAudioSoundfield_InitializeSoundfield_m2000343270_MetadataUsageId;
extern const uint32_t GvrAudioSoundfield_ShutdownSoundfield_m2554412452_MetadataUsageId;
extern const uint32_t GvrAudioSoundfield_InitializeChannelSet_m2342420071_MetadataUsageId;
extern const uint32_t GvrAudioSource_set_clip_m150171591_MetadataUsageId;
extern const uint32_t GvrAudioSource_get_isPlaying_m3816759052_MetadataUsageId;
extern const uint32_t GvrAudioSource_set_loop_m1477845813_MetadataUsageId;
extern const uint32_t GvrAudioSource_set_mute_m2720289274_MetadataUsageId;
extern const uint32_t GvrAudioSource_set_pitch_m2341430061_MetadataUsageId;
extern const uint32_t GvrAudioSource_set_priority_m2028801425_MetadataUsageId;
extern const uint32_t GvrAudioSource_set_spatialBlend_m2613394170_MetadataUsageId;
extern const uint32_t GvrAudioSource_set_dopplerLevel_m2475613985_MetadataUsageId;
extern const uint32_t GvrAudioSource_set_spread_m4221610670_MetadataUsageId;
extern const uint32_t GvrAudioSource_get_time_m2664362289_MetadataUsageId;
extern const uint32_t GvrAudioSource_set_time_m3812878640_MetadataUsageId;
extern const uint32_t GvrAudioSource_get_timeSamples_m1777353574_MetadataUsageId;
extern const uint32_t GvrAudioSource_set_timeSamples_m564442159_MetadataUsageId;
extern const uint32_t GvrAudioSource_set_volume_m1423146671_MetadataUsageId;
extern const uint32_t GvrAudioSource_set_rolloffMode_m3982865991_MetadataUsageId;
extern const uint32_t GvrAudioSource_set_maxDistance_m4049442018_MetadataUsageId;
extern const uint32_t GvrAudioSource_set_minDistance_m4182013404_MetadataUsageId;
extern Il2CppCodeGenString* _stringLiteral3816224597;
extern const uint32_t GvrAudioSource_Awake_m3633096_MetadataUsageId;
extern const uint32_t GvrAudioSource_OnDestroy_m1641155302_MetadataUsageId;
extern const uint32_t GvrAudioSource_Update_m2450669274_MetadataUsageId;
extern const uint32_t GvrAudioSource_GetOutputData_m902515642_MetadataUsageId;
extern const uint32_t GvrAudioSource_GetSpectrumData_m3864999427_MetadataUsageId;
extern const uint32_t GvrAudioSource_Pause_m470842017_MetadataUsageId;
extern Il2CppCodeGenString* _stringLiteral472785647;
extern const uint32_t GvrAudioSource_Play_m3662053203_MetadataUsageId;
extern const uint32_t GvrAudioSource_PlayDelayed_m3664484016_MetadataUsageId;
extern const uint32_t GvrAudioSource_PlayOneShot_m468197481_MetadataUsageId;
extern const uint32_t GvrAudioSource_PlayScheduled_m2680287420_MetadataUsageId;
extern const uint32_t GvrAudioSource_SetScheduledEndTime_m1165113532_MetadataUsageId;
extern const uint32_t GvrAudioSource_SetScheduledStartTime_m4195598187_MetadataUsageId;
extern const uint32_t GvrAudioSource_Stop_m896185459_MetadataUsageId;
extern const uint32_t GvrAudioSource_UnPause_m1361505432_MetadataUsageId;
extern const uint32_t GvrAudioSource_InitializeSource_m594433190_MetadataUsageId;
extern const uint32_t GvrAudioSource_ShutdownSource_m801851364_MetadataUsageId;
extern const MethodInfo* Object_FindObjectOfType_TisGvrAudioListener_t1521766837_m1334356948_MethodInfo_var;
extern const uint32_t GvrAudioSource_OnDrawGizmosSelected_m3402600534_MetadataUsageId;
extern Il2CppClass* Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var;
extern Il2CppClass* Mesh_t1356156583_il2cpp_TypeInfo_var;
extern const uint32_t GvrAudioSource_DrawDirectivityGizmo_m3726562269_MetadataUsageId;
extern Il2CppClass* RaycastResult_t21186376_il2cpp_TypeInfo_var;
extern const uint32_t GvrBasePointer_get_CurrentRaycastResult_m3220047514_MetadataUsageId;
extern const uint32_t GvrBasePointer_get_TriggerDown_m4178479353_MetadataUsageId;
extern const uint32_t GvrBasePointer_get_Triggering_m3433380623_MetadataUsageId;
extern const uint32_t GvrBasePointerRaycaster_IsPointerAvailable_m2792971214_MetadataUsageId;
extern Il2CppClass* Ray_t2469606224_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral835756156;
extern const uint32_t GvrBasePointerRaycaster_GetRay_m2992454774_MetadataUsageId;
extern Il2CppCodeGenString* _stringLiteral2491476726;
extern const uint32_t GvrCardboardHelpers_Recenter_m857608615_MetadataUsageId;
extern Il2CppCodeGenString* _stringLiteral1970103385;
extern const uint32_t GvrCardboardHelpers_SetViewerProfile_m1833978500_MetadataUsageId;
extern Il2CppClass* GvrDaydreamApi_t4123913920_il2cpp_TypeInfo_var;
extern const uint32_t GvrDaydreamApi_get_IsCreated_m2470893558_MetadataUsageId;
extern const uint32_t GvrDaydreamApi_Dispose_m3078458430_MetadataUsageId;
extern const uint32_t GvrDaydreamApi_Create_m2419646199_MetadataUsageId;
extern const uint32_t GVRDemoManager_Start_m1801573700_MetadataUsageId;
extern Il2CppClass* Dropdown_t1985816271_il2cpp_TypeInfo_var;
extern const uint32_t GvrDropdown__ctor_m355199575_MetadataUsageId;
extern const uint32_t GvrDropdown_FixTemplateAndBlockerRaycasters_m3605751466_MetadataUsageId;
extern const MethodInfo* GameObject_GetComponent_TisGraphicRaycaster_t410733016_m3518220980_MethodInfo_var;
extern const MethodInfo* GvrDropdown_GetOrAddComponent_TisGvrPointerGraphicRaycaster_t1649506702_m553117666_MethodInfo_var;
extern const uint32_t GvrDropdown_FixRaycaster_m1697516107_MetadataUsageId;
extern const MethodInfo* Component_GetComponent_TisGvrPointerGraphicRaycaster_t1649506702_m1701133637_MethodInfo_var;
extern const uint32_t GvrDropdown_GetTemplateRaycaster_m2203793630_MetadataUsageId;
extern const uint32_t GvrDropdown_CopyRaycasterProperties_m1926843691_MetadataUsageId;
extern Il2CppClass* Dictionary_2_t1587644483_il2cpp_TypeInfo_var;
extern const MethodInfo* Dictionary_2__ctor_m3921307911_MethodInfo_var;
extern const uint32_t GvrEventExecutor__ctor_m2019529815_MetadataUsageId;
extern const MethodInfo* GvrEventExecutor_AddEventDelegate_TisIPointerClickHandler_t96169666_m1448185920_MethodInfo_var;
extern const uint32_t GvrEventExecutor_add_OnPointerClick_m1198177349_MetadataUsageId;
extern const MethodInfo* GvrEventExecutor_RemoveEventDelegate_TisIPointerClickHandler_t96169666_m1653697351_MethodInfo_var;
extern const uint32_t GvrEventExecutor_remove_OnPointerClick_m939562200_MetadataUsageId;
extern const MethodInfo* GvrEventExecutor_AddEventDelegate_TisIPointerDownHandler_t3929046918_m560529682_MethodInfo_var;
extern const uint32_t GvrEventExecutor_add_OnPointerDown_m1233984057_MetadataUsageId;
extern const MethodInfo* GvrEventExecutor_RemoveEventDelegate_TisIPointerDownHandler_t3929046918_m821445983_MethodInfo_var;
extern const uint32_t GvrEventExecutor_remove_OnPointerDown_m1848242710_MetadataUsageId;
extern const MethodInfo* GvrEventExecutor_AddEventDelegate_TisIPointerUpHandler_t1847764461_m1683968963_MethodInfo_var;
extern const uint32_t GvrEventExecutor_add_OnPointerUp_m660640020_MetadataUsageId;
extern const MethodInfo* GvrEventExecutor_RemoveEventDelegate_TisIPointerUpHandler_t1847764461_m3388920110_MethodInfo_var;
extern const uint32_t GvrEventExecutor_remove_OnPointerUp_m958601577_MetadataUsageId;
extern const MethodInfo* GvrEventExecutor_AddEventDelegate_TisIPointerEnterHandler_t193164956_m30556150_MethodInfo_var;
extern const uint32_t GvrEventExecutor_add_OnPointerEnter_m2032707251_MetadataUsageId;
extern const MethodInfo* GvrEventExecutor_RemoveEventDelegate_TisIPointerEnterHandler_t193164956_m3547870765_MethodInfo_var;
extern const uint32_t GvrEventExecutor_remove_OnPointerEnter_m2069953994_MetadataUsageId;
extern const MethodInfo* GvrEventExecutor_AddEventDelegate_TisIPointerExitHandler_t461019860_m1019492654_MethodInfo_var;
extern const uint32_t GvrEventExecutor_add_OnPointerExit_m1578911603_MetadataUsageId;
extern const MethodInfo* GvrEventExecutor_RemoveEventDelegate_TisIPointerExitHandler_t461019860_m3421713581_MethodInfo_var;
extern const uint32_t GvrEventExecutor_remove_OnPointerExit_m4137737118_MetadataUsageId;
extern Il2CppClass* ExecuteEvents_t1693084770_il2cpp_TypeInfo_var;
extern Il2CppClass* IGvrPointerHoverHandler_t1683868601_il2cpp_TypeInfo_var;
extern const MethodInfo* ExecuteEvents_ValidateEventData_TisPointerEventData_t1599784723_m1649947406_MethodInfo_var;
extern const uint32_t GvrExecuteEventsExtension_Execute_m751839475_MetadataUsageId;
extern Il2CppClass* GvrExecuteEventsExtension_t3083691626_il2cpp_TypeInfo_var;
extern const uint32_t GvrExecuteEventsExtension_get_pointerHoverHandler_m3800604216_MetadataUsageId;
extern Il2CppClass* EventFunction_1_t181019251_il2cpp_TypeInfo_var;
extern const MethodInfo* GvrExecuteEventsExtension_Execute_m751839475_MethodInfo_var;
extern const MethodInfo* EventFunction_1__ctor_m2039577089_MethodInfo_var;
extern const uint32_t GvrExecuteEventsExtension__cctor_m3810135292_MetadataUsageId;
extern const MethodInfo* Component_GetComponent_TisText_t356221433_m1342661039_MethodInfo_var;
extern const uint32_t GvrFPS_Awake_m1859296440_MetadataUsageId;
extern const MethodInfo* Component_GetComponent_TisTransform_t3275118058_m235623703_MethodInfo_var;
extern const uint32_t GvrFPS_Start_m1271000117_MetadataUsageId;
extern Il2CppCodeGenString* _stringLiteral2631227587;
extern Il2CppCodeGenString* _stringLiteral1623555900;
extern const uint32_t GvrFPS_LateUpdate_m1104581370_MetadataUsageId;
extern const uint32_t GvrKeyboard__ctor_m1033300269_MetadataUsageId;
extern Il2CppClass* GvrKeyboard_t598184456_il2cpp_TypeInfo_var;
extern const uint32_t GvrKeyboard_get_EditorText_m891289297_MetadataUsageId;
extern const uint32_t GvrKeyboard_get_Mode_m3480808579_MetadataUsageId;
extern const uint32_t GvrKeyboard_get_IsValid_m933893404_MetadataUsageId;
extern const uint32_t GvrKeyboard_get_IsReady_m582613765_MetadataUsageId;
extern const uint32_t GvrKeyboard_get_WorldMatrix_m412323246_MetadataUsageId;
extern Il2CppCodeGenString* _stringLiteral4233217863;
extern const uint32_t GvrKeyboard_Awake_m1077331988_MetadataUsageId;
extern const uint32_t GvrKeyboard_OnDestroy_m3634151830_MetadataUsageId;
extern Il2CppClass* ErrorCallback_t1270209242_il2cpp_TypeInfo_var;
extern Il2CppClass* StandardCallback_t1386534425_il2cpp_TypeInfo_var;
extern Il2CppClass* EditTextCallback_t661057455_il2cpp_TypeInfo_var;
extern Il2CppClass* EventHandler_t277755526_il2cpp_TypeInfo_var;
extern Il2CppClass* IKeyboardProvider_t155239331_il2cpp_TypeInfo_var;
extern Il2CppClass* KeyboardCallback_t4001681579_il2cpp_TypeInfo_var;
extern const MethodInfo* GvrKeyboard_KeyboardDelegate_KeyboardHidden_m948503265_MethodInfo_var;
extern const MethodInfo* GvrKeyboard_KeyboardDelegate_KeyboardShown_m4147123672_MethodInfo_var;
extern const MethodInfo* GvrKeyboard_OnKeyboardCallback_m4289246828_MethodInfo_var;
extern Il2CppCodeGenString* _stringLiteral3979777111;
extern const uint32_t GvrKeyboard_Start_m3766883597_MetadataUsageId;
extern const uint32_t GvrKeyboard_Update_m1576110642_MetadataUsageId;
extern const uint32_t GvrKeyboard_OnRenderObject_m1527196259_MetadataUsageId;
extern const uint32_t GvrKeyboard_ClearText_m2316920481_MetadataUsageId;
extern const uint32_t GvrKeyboard_Show_m2673766430_MetadataUsageId;
extern const uint32_t GvrKeyboard_Hide_m3414696093_MetadataUsageId;
extern const uint32_t GvrKeyboard_OnApplicationPause_m3129303495_MetadataUsageId;
extern Il2CppClass* U3CExecuterU3Ec__Iterator0_t1374321097_il2cpp_TypeInfo_var;
extern const uint32_t GvrKeyboard_Executer_m1146748672_MetadataUsageId;
extern const uint32_t GvrKeyboard_PoolKeyboardCallbacks_m1976974374_MetadataUsageId;
extern const MethodInfo* List_1_Add_m578552031_MethodInfo_var;
extern const uint32_t GvrKeyboard_OnKeyboardCallback_m4289246828_MetadataUsageId;
extern const uint32_t GvrKeyboard_GetKeyboardObjectMatrix_m2898371228_MetadataUsageId;
extern Il2CppClass* List_1_t683592616_il2cpp_TypeInfo_var;
extern Il2CppClass* Il2CppObject_il2cpp_TypeInfo_var;
extern const MethodInfo* List_1__ctor_m1488812387_MethodInfo_var;
extern const uint32_t GvrKeyboard__cctor_m1691161778_MetadataUsageId;
extern Il2CppClass* WaitForSeconds_t3839502067_il2cpp_TypeInfo_var;
extern const MethodInfo* List_1_get_Item_m722956656_MethodInfo_var;
extern const MethodInfo* List_1_RemoveAt_m197372785_MethodInfo_var;
extern const MethodInfo* List_1_get_Count_m2164786539_MethodInfo_var;
extern const uint32_t U3CExecuterU3Ec__Iterator0_MoveNext_m2284202560_MetadataUsageId;
extern const uint32_t U3CExecuterU3Ec__Iterator0_Reset_m1683171873_MetadataUsageId;
extern Il2CppClass* GvrKeyboardError_t2067079702_il2cpp_TypeInfo_var;
extern const uint32_t ErrorCallback_BeginInvoke_m3704464768_MetadataUsageId;
extern Il2CppClass* GvrKeyboardEvent_t1314471484_il2cpp_TypeInfo_var;
extern const uint32_t KeyboardCallback_BeginInvoke_m1132819681_MetadataUsageId;
extern const MethodInfo* GameObject_GetComponent_TisMeshFilter_t3026937449_m1728707518_MethodInfo_var;
extern const uint32_t GvrLaserPointerImpl_set_Reticle_m1414756459_MetadataUsageId;
// UnityEngine.Vector3[]
struct Vector3U5BU5D_t1172311765 : public Il2CppArray
{
public:
ALIGN_FIELD (8) Vector3_t2243707580 m_Items[1];
public:
inline Vector3_t2243707580 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Vector3_t2243707580 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Vector3_t2243707580 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Vector3_t2243707580 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Vector3_t2243707580 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Vector3_t2243707580 value)
{
m_Items[index] = value;
}
};
// System.Object[]
struct ObjectU5BU5D_t3614634134 : public Il2CppArray
{
public:
ALIGN_FIELD (8) Il2CppObject * m_Items[1];
public:
inline Il2CppObject * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Il2CppObject ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Il2CppObject * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
inline Il2CppObject * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Il2CppObject ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Il2CppObject * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
};
// System.Byte[]
struct ByteU5BU5D_t3397334013 : public Il2CppArray
{
public:
ALIGN_FIELD (8) uint8_t m_Items[1];
public:
inline uint8_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline uint8_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, uint8_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline uint8_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline uint8_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, uint8_t value)
{
m_Items[index] = value;
}
};
// Gvr.Internal.EmulatorConfig[]
struct EmulatorConfigU5BU5D_t1923274648 : public Il2CppArray
{
public:
ALIGN_FIELD (8) EmulatorConfig_t616150261 * m_Items[1];
public:
inline EmulatorConfig_t616150261 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline EmulatorConfig_t616150261 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, EmulatorConfig_t616150261 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
inline EmulatorConfig_t616150261 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline EmulatorConfig_t616150261 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, EmulatorConfig_t616150261 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
};
// UnityEngine.Object[]
struct ObjectU5BU5D_t4217747464 : public Il2CppArray
{
public:
ALIGN_FIELD (8) Object_t1021602117 * m_Items[1];
public:
inline Object_t1021602117 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Object_t1021602117 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Object_t1021602117 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
inline Object_t1021602117 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Object_t1021602117 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Object_t1021602117 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
};
// UnityEngine.RaycastHit[]
struct RaycastHitU5BU5D_t1214023521 : public Il2CppArray
{
public:
ALIGN_FIELD (8) RaycastHit_t87180320 m_Items[1];
public:
inline RaycastHit_t87180320 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RaycastHit_t87180320 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, RaycastHit_t87180320 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline RaycastHit_t87180320 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RaycastHit_t87180320 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RaycastHit_t87180320 value)
{
m_Items[index] = value;
}
};
// UnityEngine.Vector2[]
struct Vector2U5BU5D_t686124026 : public Il2CppArray
{
public:
ALIGN_FIELD (8) Vector2_t2243707579 m_Items[1];
public:
inline Vector2_t2243707579 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Vector2_t2243707579 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Vector2_t2243707579 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Vector2_t2243707579 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Vector2_t2243707579 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Vector2_t2243707579 value)
{
m_Items[index] = value;
}
};
// UnityEngine.AudioSource[]
struct AudioSourceU5BU5D_t1873220070 : public Il2CppArray
{
public:
ALIGN_FIELD (8) AudioSource_t1135106623 * m_Items[1];
public:
inline AudioSource_t1135106623 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline AudioSource_t1135106623 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, AudioSource_t1135106623 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
inline AudioSource_t1135106623 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline AudioSource_t1135106623 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, AudioSource_t1135106623 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
};
// UnityEngine.Audio.AudioMixerGroup[]
struct AudioMixerGroupU5BU5D_t1763409949 : public Il2CppArray
{
public:
ALIGN_FIELD (8) AudioMixerGroup_t959546644 * m_Items[1];
public:
inline AudioMixerGroup_t959546644 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline AudioMixerGroup_t959546644 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, AudioMixerGroup_t959546644 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
inline AudioMixerGroup_t959546644 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline AudioMixerGroup_t959546644 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, AudioMixerGroup_t959546644 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
};
// System.Single[]
struct SingleU5BU5D_t577127397 : public Il2CppArray
{
public:
ALIGN_FIELD (8) float m_Items[1];
public:
inline float GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline float* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, float value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline float GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline float* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, float value)
{
m_Items[index] = value;
}
};
// System.Int32[]
struct Int32U5BU5D_t3030399641 : public Il2CppArray
{
public:
ALIGN_FIELD (8) int32_t m_Items[1];
public:
inline int32_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline int32_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, int32_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline int32_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline int32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, int32_t value)
{
m_Items[index] = value;
}
};
extern "C" void EmulatorButtonEvent_t156276569_marshal_pinvoke(const EmulatorButtonEvent_t156276569& unmarshaled, EmulatorButtonEvent_t156276569_marshaled_pinvoke& marshaled);
extern "C" void EmulatorButtonEvent_t156276569_marshal_pinvoke_back(const EmulatorButtonEvent_t156276569_marshaled_pinvoke& marshaled, EmulatorButtonEvent_t156276569& unmarshaled);
extern "C" void EmulatorButtonEvent_t156276569_marshal_pinvoke_cleanup(EmulatorButtonEvent_t156276569_marshaled_pinvoke& marshaled);
// !!0 UnityEngine.Object::Instantiate<System.Object>(!!0,UnityEngine.Vector3,UnityEngine.Quaternion)
extern "C" Il2CppObject * Object_Instantiate_TisIl2CppObject_m3829784634_gshared (Il2CppObject * __this /* static, unused */, Il2CppObject * p0, Vector3_t2243707580 p1, Quaternion_t4030073918 p2, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<System.Object>::.ctor()
extern "C" void List_1__ctor_m310736118_gshared (List_1_t2058570427 * __this, const MethodInfo* method);
// System.Int32 System.Collections.Generic.List`1<System.Object>::get_Count()
extern "C" int32_t List_1_get_Count_m2375293942_gshared (List_1_t2058570427 * __this, const MethodInfo* method);
// !0 System.Collections.Generic.List`1<System.Object>::get_Item(System.Int32)
extern "C" Il2CppObject * List_1_get_Item_m2062981835_gshared (List_1_t2058570427 * __this, int32_t p0, const MethodInfo* method);
// !!0 UnityEngine.Component::GetComponent<System.Object>()
extern "C" Il2CppObject * Component_GetComponent_TisIl2CppObject_m4109961936_gshared (Component_t3819376471 * __this, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<System.Object>::Add(!0)
extern "C" void List_1_Add_m4157722533_gshared (List_1_t2058570427 * __this, Il2CppObject * p0, const MethodInfo* method);
// System.Void ObjectPool`1<System.Object>::.ctor()
extern "C" void ObjectPool_1__ctor_m3845927559_gshared (ObjectPool_1_t14758110 * __this, const MethodInfo* method);
// System.Void UnityEngine.Assertions.Assert::IsNotNull<System.Object>(!!0)
extern "C" void Assert_IsNotNull_TisIl2CppObject_m1908536573_gshared (Il2CppObject * __this /* static, unused */, Il2CppObject * p0, const MethodInfo* method);
// !!0 UnityEngine.GameObject::AddComponent<System.Object>()
extern "C" Il2CppObject * GameObject_AddComponent_TisIl2CppObject_m2231772097_gshared (GameObject_t1756533147 * __this, const MethodInfo* method);
// System.Void ObjectPool`1<System.Object>::Initialize(System.Int32,System.Int32)
extern "C" void ObjectPool_1_Initialize_m4283417319_gshared (ObjectPool_1_t14758110 * __this, int32_t p0, int32_t p1, const MethodInfo* method);
// !!0 UnityEngine.Object::Instantiate<System.Object>(!!0)
extern "C" Il2CppObject * Object_Instantiate_TisIl2CppObject_m2184336183_gshared (Il2CppObject * __this /* static, unused */, Il2CppObject * p0, const MethodInfo* method);
// System.Void System.Collections.Generic.Stack`1<System.Object>::.ctor(System.Int32)
extern "C" void Stack_1__ctor_m4173684663_gshared (Stack_1_t3777177449 * __this, int32_t p0, const MethodInfo* method);
// System.Int32 System.Collections.Generic.Stack`1<System.Object>::get_Count()
extern "C" int32_t Stack_1_get_Count_m4101767244_gshared (Stack_1_t3777177449 * __this, const MethodInfo* method);
// !0 System.Collections.Generic.Stack`1<System.Object>::Pop()
extern "C" Il2CppObject * Stack_1_Pop_m1289567471_gshared (Stack_1_t3777177449 * __this, const MethodInfo* method);
// System.Void System.Collections.Generic.Stack`1<System.Object>::Push(!0)
extern "C" void Stack_1_Push_m1129365869_gshared (Stack_1_t3777177449 * __this, Il2CppObject * p0, const MethodInfo* method);
// System.Collections.Generic.Stack`1/Enumerator<!0> System.Collections.Generic.Stack`1<System.Object>::GetEnumerator()
extern "C" Enumerator_t132208513 Stack_1_GetEnumerator_m1296443695_gshared (Stack_1_t3777177449 * __this, const MethodInfo* method);
// !0 System.Collections.Generic.Stack`1/Enumerator<System.Object>::get_Current()
extern "C" Il2CppObject * Enumerator_get_Current_m2815295071_gshared (Enumerator_t132208513 * __this, const MethodInfo* method);
// System.Boolean System.Collections.Generic.Stack`1/Enumerator<System.Object>::MoveNext()
extern "C" bool Enumerator_MoveNext_m689054299_gshared (Enumerator_t132208513 * __this, const MethodInfo* method);
// System.Void System.Collections.Generic.Stack`1<System.Object>::Clear()
extern "C" void Stack_1_Clear_m3792598883_gshared (Stack_1_t3777177449 * __this, const MethodInfo* method);
// System.Void UnityEngine.Events.UnityEvent`1<System.Boolean>::.ctor()
extern "C" void UnityEvent_1__ctor_m4051141261_gshared (UnityEvent_1_t3863924733 * __this, const MethodInfo* method);
// System.Void UnityEngine.Events.UnityEvent`1<System.Single>::.ctor()
extern "C" void UnityEvent_1__ctor_m29611311_gshared (UnityEvent_1_t2114859947 * __this, const MethodInfo* method);
// System.Void UnityEngine.Events.UnityEvent`1<System.Object>::.ctor()
extern "C" void UnityEvent_1__ctor_m2073978020_gshared (UnityEvent_1_t2727799310 * __this, const MethodInfo* method);
// System.Void UnityEngine.Events.UnityEvent`1<UnityEngine.Vector2>::.ctor()
extern "C" void UnityEvent_1__ctor_m3317039790_gshared (UnityEvent_1_t2282057594 * __this, const MethodInfo* method);
// System.Void UnityEngine.Events.UnityEvent`1<UnityEngine.Vector3>::.ctor()
extern "C" void UnityEvent_1__ctor_m2176906728_gshared (UnityEvent_1_t2282057595 * __this, const MethodInfo* method);
// !1 Google.ProtocolBuffers.AbstractBuilderLite`2<System.Object,System.Object>::MergeFrom(System.Byte[])
extern "C" Il2CppObject * AbstractBuilderLite_2_MergeFrom_m3890356112_gshared (AbstractBuilderLite_2_t466644448 * __this, ByteU5BU5D_t3397334013* p0, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<Gvr.Internal.EmulatorTouchEvent/Pointer>::.ctor()
extern "C" void List_1__ctor_m3832883665_gshared (List_1_t2369806134 * __this, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<Gvr.Internal.EmulatorTouchEvent/Pointer>::Add(!0)
extern "C" void List_1_Add_m3606111453_gshared (List_1_t2369806134 * __this, Pointer_t3000685002 p0, const MethodInfo* method);
// !0 System.Collections.Generic.List`1<Gvr.Internal.EmulatorTouchEvent/Pointer>::get_Item(System.Int32)
extern "C" Pointer_t3000685002 List_1_get_Item_m3841572302_gshared (List_1_t2369806134 * __this, int32_t p0, const MethodInfo* method);
// System.Int32 System.Collections.Generic.List`1<Gvr.Internal.EmulatorTouchEvent/Pointer>::get_Count()
extern "C" int32_t List_1_get_Count_m915271181_gshared (List_1_t2369806134 * __this, const MethodInfo* method);
// System.Void UnityEngine.Events.UnityEvent`2<System.Object,System.Object>::Invoke(!0,!1)
extern "C" void UnityEvent_2_Invoke_m823353588_gshared (UnityEvent_2_t1372135904 * __this, Il2CppObject * p0, Il2CppObject * p1, const MethodInfo* method);
// System.Void UnityEngine.Events.UnityEvent`2<System.Object,System.Object>::.ctor()
extern "C" void UnityEvent_2__ctor_m3717034779_gshared (UnityEvent_2_t1372135904 * __this, const MethodInfo* method);
// System.Boolean System.Collections.Generic.List`1<System.Object>::Contains(!0)
extern "C" bool List_1_Contains_m1658838094_gshared (List_1_t2058570427 * __this, Il2CppObject * p0, const MethodInfo* method);
// System.Boolean System.Collections.Generic.List`1<System.Object>::Remove(!0)
extern "C" bool List_1_Remove_m3164383811_gshared (List_1_t2058570427 * __this, Il2CppObject * p0, const MethodInfo* method);
// !!0 UnityEngine.Object::FindObjectOfType<System.Object>()
extern "C" Il2CppObject * Object_FindObjectOfType_TisIl2CppObject_m758847274_gshared (Il2CppObject * __this /* static, unused */, const MethodInfo* method);
// !!0 UnityEngine.GameObject::GetComponent<System.Object>()
extern "C" Il2CppObject * GameObject_GetComponent_TisIl2CppObject_m4211544902_gshared (GameObject_t1756533147 * __this, const MethodInfo* method);
// T GvrDropdown::GetOrAddComponent<System.Object>(UnityEngine.GameObject,System.Boolean&)
extern "C" Il2CppObject * GvrDropdown_GetOrAddComponent_TisIl2CppObject_m1936808774_gshared (Il2CppObject * __this /* static, unused */, GameObject_t1756533147 * ___go0, bool* ___addedComponent1, const MethodInfo* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Object,System.Object>::.ctor()
extern "C" void Dictionary_2__ctor_m584589095_gshared (Dictionary_2_t2281509423 * __this, const MethodInfo* method);
// System.Void GvrEventExecutor::AddEventDelegate<System.Object>(GvrEventExecutor/EventDelegate)
extern "C" void GvrEventExecutor_AddEventDelegate_TisIl2CppObject_m3840791101_gshared (GvrEventExecutor_t1694572606 * __this, EventDelegate_t3945253882 * ___eventDelegate0, const MethodInfo* method);
// System.Void GvrEventExecutor::RemoveEventDelegate<System.Object>(GvrEventExecutor/EventDelegate)
extern "C" void GvrEventExecutor_RemoveEventDelegate_TisIl2CppObject_m2164409686_gshared (GvrEventExecutor_t1694572606 * __this, EventDelegate_t3945253882 * ___eventDelegate0, const MethodInfo* method);
// !!0 UnityEngine.EventSystems.ExecuteEvents::ValidateEventData<System.Object>(UnityEngine.EventSystems.BaseEventData)
extern "C" Il2CppObject * ExecuteEvents_ValidateEventData_TisIl2CppObject_m3838331218_gshared (Il2CppObject * __this /* static, unused */, BaseEventData_t2681005625 * p0, const MethodInfo* method);
// System.Void UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<System.Object>::.ctor(System.Object,System.IntPtr)
extern "C" void EventFunction_1__ctor_m814090495_gshared (EventFunction_1_t1186599945 * __this, Il2CppObject * p0, IntPtr_t p1, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<GvrKeyboardEvent>::Add(!0)
extern "C" void List_1_Add_m578552031_gshared (List_1_t683592616 * __this, int32_t p0, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<GvrKeyboardEvent>::.ctor()
extern "C" void List_1__ctor_m1488812387_gshared (List_1_t683592616 * __this, const MethodInfo* method);
// !0 System.Collections.Generic.List`1<GvrKeyboardEvent>::get_Item(System.Int32)
extern "C" int32_t List_1_get_Item_m722956656_gshared (List_1_t683592616 * __this, int32_t p0, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<GvrKeyboardEvent>::RemoveAt(System.Int32)
extern "C" void List_1_RemoveAt_m197372785_gshared (List_1_t683592616 * __this, int32_t p0, const MethodInfo* method);
// System.Int32 System.Collections.Generic.List`1<GvrKeyboardEvent>::get_Count()
extern "C" int32_t List_1_get_Count_m2164786539_gshared (List_1_t683592616 * __this, const MethodInfo* method);
// System.Void UnityEngine.MonoBehaviour::.ctor()
extern "C" void MonoBehaviour__ctor_m2464341955 (MonoBehaviour_t1158329972 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Transform UnityEngine.Component::get_transform()
extern "C" Transform_t3275118058 * Component_get_transform_m2697483695 (Component_t3819376471 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Transform::get_position()
extern "C" Vector3_t2243707580 Transform_get_position_m1104419803 (Transform_t3275118058 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Time::get_deltaTime()
extern "C" float Time_get_deltaTime_m2233168104 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Vector3::.ctor(System.Single,System.Single,System.Single)
extern "C" void Vector3__ctor_m2638739322 (Vector3_t2243707580 * __this, float p0, float p1, float p2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Transform::set_position(UnityEngine.Vector3)
extern "C" void Transform_set_position_m2469242620 (Transform_t3275118058 * __this, Vector3_t2243707580 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Transform::get_localScale()
extern "C" Vector3_t2243707580 Transform_get_localScale_m3074381503 (Transform_t3275118058 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Vector3::op_Multiply(UnityEngine.Vector3,System.Single)
extern "C" Vector3_t2243707580 Vector3_op_Multiply_m1351554733 (Il2CppObject * __this /* static, unused */, Vector3_t2243707580 p0, float p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Vector3::op_Addition(UnityEngine.Vector3,UnityEngine.Vector3)
extern "C" Vector3_t2243707580 Vector3_op_Addition_m3146764857 (Il2CppObject * __this /* static, unused */, Vector3_t2243707580 p0, Vector3_t2243707580 p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Transform::set_localScale(UnityEngine.Vector3)
extern "C" void Transform_set_localScale_m2325460848 (Transform_t3275118058 * __this, Vector3_t2243707580 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.GameObject UnityEngine.Component::get_gameObject()
extern "C" GameObject_t1756533147 * Component_get_gameObject_m3105766835 (Component_t3819376471 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Object::Destroy(UnityEngine.Object)
extern "C" void Object_Destroy_m4145850038 (Il2CppObject * __this /* static, unused */, Object_t1021602117 * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.GameObject::CompareTag(System.String)
extern "C" bool GameObject_CompareTag_m2797152613 (GameObject_t1756533147 * __this, String_t* p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Object UnityEngine.Resources::Load(System.String)
extern "C" Object_t1021602117 * Resources_Load_m2041782325 (Il2CppObject * __this /* static, unused */, String_t* p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Quaternion UnityEngine.Transform::get_localRotation()
extern "C" Quaternion_t4030073918 Transform_get_localRotation_m4001487205 (Transform_t3275118058 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// !!0 UnityEngine.Object::Instantiate<UnityEngine.GameObject>(!!0,UnityEngine.Vector3,UnityEngine.Quaternion)
#define Object_Instantiate_TisGameObject_t1756533147_m3064851704(__this /* static, unused */, p0, p1, p2, method) (( GameObject_t1756533147 * (*) (Il2CppObject * /* static, unused */, GameObject_t1756533147 *, Vector3_t2243707580 , Quaternion_t4030073918 , const MethodInfo*))Object_Instantiate_TisIl2CppObject_m3829784634_gshared)(__this /* static, unused */, p0, p1, p2, method)
// System.Single UnityEngine.Random::Range(System.Single,System.Single)
extern "C" float Random_Range_m2884721203 (Il2CppObject * __this /* static, unused */, float p0, float p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.GameObject UnityEngine.GameObject::Find(System.String)
extern "C" GameObject_t1756533147 * GameObject_Find_m836511350 (Il2CppObject * __this /* static, unused */, String_t* p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Transform::get_localPosition()
extern "C" Vector3_t2243707580 Transform_get_localPosition_m2533925116 (Transform_t3275118058 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Material UnityEngine.Renderer::get_material()
extern "C" Material_t193706927 * Renderer_get_material_m2553789785 (Renderer_t257310565 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Color UnityEngine.Material::get_color()
extern "C" Color_t2020392075 Material_get_color_m668215843 (Material_t193706927 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Color::.ctor(System.Single,System.Single,System.Single,System.Single)
extern "C" void Color__ctor_m1909920690 (Color_t2020392075 * __this, float p0, float p1, float p2, float p3, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Vector3::op_Division(UnityEngine.Vector3,System.Single)
extern "C" Vector3_t2243707580 Vector3_op_Division_m3315615850 (Il2CppObject * __this /* static, unused */, Vector3_t2243707580 p0, float p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Transform::get_eulerAngles()
extern "C" Vector3_t2243707580 Transform_get_eulerAngles_m4066505159 (Transform_t3275118058 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Transform::set_eulerAngles(UnityEngine.Vector3)
extern "C" void Transform_set_eulerAngles_m2881310872 (Transform_t3275118058 * __this, Vector3_t2243707580 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Vector3::op_Subtraction(UnityEngine.Vector3,UnityEngine.Vector3)
extern "C" Vector3_t2243707580 Vector3_op_Subtraction_m2407545601 (Il2CppObject * __this /* static, unused */, Vector3_t2243707580 p0, Vector3_t2243707580 p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Vector3::get_magnitude()
extern "C" float Vector3_get_magnitude_m860342598 (Vector3_t2243707580 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Material::set_color(UnityEngine.Color)
extern "C" void Material_set_color_m577844242 (Material_t193706927 * __this, Color_t2020392075 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Collections.Generic.List`1<UnityEngine.Transform>::.ctor()
#define List_1__ctor_m833109890(__this, method) (( void (*) (List_1_t2644239190 *, const MethodInfo*))List_1__ctor_m310736118_gshared)(__this, method)
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Transform>::get_Count()
#define List_1_get_Count_m1995107056(__this, method) (( int32_t (*) (List_1_t2644239190 *, const MethodInfo*))List_1_get_Count_m2375293942_gshared)(__this, method)
// !0 System.Collections.Generic.List`1<UnityEngine.Transform>::get_Item(System.Int32)
#define List_1_get_Item_m3391702501(__this, p0, method) (( Transform_t3275118058 * (*) (List_1_t2644239190 *, int32_t, const MethodInfo*))List_1_get_Item_m2062981835_gshared)(__this, p0, method)
// !!0 UnityEngine.Component::GetComponent<UnityEngine.RectTransform>()
#define Component_GetComponent_TisRectTransform_t3349966182_m1310250299(__this, method) (( RectTransform_t3349966182 * (*) (Component_t3819376471 *, const MethodInfo*))Component_GetComponent_TisIl2CppObject_m4109961936_gshared)(__this, method)
// System.Void UnityEngine.Vector2::.ctor(System.Single,System.Single)
extern "C" void Vector2__ctor_m3067419446 (Vector2_t2243707579 * __this, float p0, float p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.RectTransform::set_anchorMax(UnityEngine.Vector2)
extern "C" void RectTransform_set_anchorMax_m2955899993 (RectTransform_t3349966182 * __this, Vector2_t2243707579 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.RectTransform::set_anchorMin(UnityEngine.Vector2)
extern "C" void RectTransform_set_anchorMin_m4247668187 (RectTransform_t3349966182 * __this, Vector2_t2243707579 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.GameObject::SetActive(System.Boolean)
extern "C" void GameObject_SetActive_m2887581199 (GameObject_t1756533147 * __this, bool p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Collections.IEnumerator UnityEngine.Transform::GetEnumerator()
extern "C" Il2CppObject * Transform_GetEnumerator_m3479720613 (Transform_t3275118058 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Collections.Generic.List`1<UnityEngine.Transform>::Add(!0)
#define List_1_Add_m4081083670(__this, p0, method) (( void (*) (List_1_t2644239190 *, Transform_t3275118058 *, const MethodInfo*))List_1_Add_m4157722533_gshared)(__this, p0, method)
// UnityEngine.Transform UnityEngine.Transform::Find(System.String)
extern "C" Transform_t3275118058 * Transform_Find_m3323476454 (Transform_t3275118058 * __this, String_t* p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Input::set_backButtonLeavesApp(System.Boolean)
extern "C" void Input_set_backButtonLeavesApp_m1204731617 (Il2CppObject * __this /* static, unused */, bool p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.Input::GetKeyDown(UnityEngine.KeyCode)
extern "C" bool Input_GetKeyDown_m1771960377 (Il2CppObject * __this /* static, unused */, int32_t p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Application::Quit()
extern "C" void Application_Quit_m3885595876 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void BaseScrollEffect::.ctor()
extern "C" void BaseScrollEffect__ctor_m560937132 (BaseScrollEffect_t2855282033 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void BaseTile::.ctor()
extern "C" void BaseTile__ctor_m3313659900 (BaseTile_t3549052087 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GameObjectPool::.ctor(UnityEngine.GameObject,System.Int32,System.Int32)
extern "C" void GameObjectPool__ctor_m986672534 (GameObjectPool_t4074206773 * __this, GameObject_t1756533147 * ___prefab0, int32_t ___capacity1, int32_t ___preAllocateAmount2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void ObjectPool`1<UnityEngine.GameObject>::.ctor()
#define ObjectPool_1__ctor_m2836333181(__this, method) (( void (*) (ObjectPool_1_t3376809258 *, const MethodInfo*))ObjectPool_1__ctor_m3845927559_gshared)(__this, method)
// System.Void UnityEngine.Assertions.Assert::IsNotNull<UnityEngine.GameObject>(!!0)
#define Assert_IsNotNull_TisGameObject_t1756533147_m1577831727(__this /* static, unused */, p0, method) (( void (*) (Il2CppObject * /* static, unused */, GameObject_t1756533147 *, const MethodInfo*))Assert_IsNotNull_TisIl2CppObject_m1908536573_gshared)(__this /* static, unused */, p0, method)
// System.String UnityEngine.Object::get_name()
extern "C" String_t* Object_get_name_m2079638459 (Object_t1021602117 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.String System.String::Concat(System.String,System.String)
extern "C" String_t* String_Concat_m2596409543 (Il2CppObject * __this /* static, unused */, String_t* p0, String_t* p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.GameObject::.ctor(System.String)
extern "C" void GameObject__ctor_m962601984 (GameObject_t1756533147 * __this, String_t* p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// !!0 UnityEngine.GameObject::AddComponent<GameObjectPoolController>()
#define GameObject_AddComponent_TisGameObjectPoolController_t2109978193_m1099290807(__this, method) (( GameObjectPoolController_t2109978193 * (*) (GameObject_t1756533147 *, const MethodInfo*))GameObject_AddComponent_TisIl2CppObject_m2231772097_gshared)(__this, method)
// System.Void GameObjectPoolController::Initialize(System.Int32)
extern "C" void GameObjectPoolController_Initialize_m1707273073 (GameObjectPoolController_t2109978193 * __this, int32_t ___capacity0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void ObjectPool`1<UnityEngine.GameObject>::Initialize(System.Int32,System.Int32)
#define ObjectPool_1_Initialize_m756943073(__this, p0, p1, method) (( void (*) (ObjectPool_1_t3376809258 *, int32_t, int32_t, const MethodInfo*))ObjectPool_1_Initialize_m4283417319_gshared)(__this, p0, p1, method)
// System.Boolean UnityEngine.Object::op_Inequality(UnityEngine.Object,UnityEngine.Object)
extern "C" bool Object_op_Inequality_m2402264703 (Il2CppObject * __this /* static, unused */, Object_t1021602117 * p0, Object_t1021602117 * p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GameObjectPoolController::OnBorrowed(UnityEngine.GameObject)
extern "C" void GameObjectPoolController_OnBorrowed_m2449510917 (GameObjectPoolController_t2109978193 * __this, GameObject_t1756533147 * ___borrowedObject0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GameObjectPoolController::OnPooled(UnityEngine.GameObject)
extern "C" void GameObjectPoolController_OnPooled_m393555592 (GameObjectPoolController_t2109978193 * __this, GameObject_t1756533147 * ___pooledObject0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// !!0 UnityEngine.Object::Instantiate<UnityEngine.GameObject>(!!0)
#define Object_Instantiate_TisGameObject_t1756533147_m3614337661(__this /* static, unused */, p0, method) (( GameObject_t1756533147 * (*) (Il2CppObject * /* static, unused */, GameObject_t1756533147 *, const MethodInfo*))Object_Instantiate_TisIl2CppObject_m2184336183_gshared)(__this /* static, unused */, p0, method)
// UnityEngine.Vector3 UnityEngine.Vector3::get_zero()
extern "C" Vector3_t2243707580 Vector3_get_zero_m1527993324 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Collections.Generic.Stack`1<UnityEngine.GameObject>::.ctor(System.Int32)
#define Stack_1__ctor_m2311023734(__this, p0, method) (( void (*) (Stack_1_t2844261301 *, int32_t, const MethodInfo*))Stack_1__ctor_m4173684663_gshared)(__this, p0, method)
// System.Int32 System.Collections.Generic.Stack`1<UnityEngine.GameObject>::get_Count()
#define Stack_1_get_Count_m335565545(__this, method) (( int32_t (*) (Stack_1_t2844261301 *, const MethodInfo*))Stack_1_get_Count_m4101767244_gshared)(__this, method)
// !0 System.Collections.Generic.Stack`1<UnityEngine.GameObject>::Pop()
#define Stack_1_Pop_m2665221936(__this, method) (( GameObject_t1756533147 * (*) (Stack_1_t2844261301 *, const MethodInfo*))Stack_1_Pop_m1289567471_gshared)(__this, method)
// System.Void System.Collections.Generic.Stack`1<UnityEngine.GameObject>::Push(!0)
#define Stack_1_Push_m3004012536(__this, p0, method) (( void (*) (Stack_1_t2844261301 *, GameObject_t1756533147 *, const MethodInfo*))Stack_1_Push_m1129365869_gshared)(__this, p0, method)
// System.Collections.Generic.Stack`1/Enumerator<!0> System.Collections.Generic.Stack`1<UnityEngine.GameObject>::GetEnumerator()
#define Stack_1_GetEnumerator_m1128032924(__this, method) (( Enumerator_t3494259661 (*) (Stack_1_t2844261301 *, const MethodInfo*))Stack_1_GetEnumerator_m1296443695_gshared)(__this, method)
// !0 System.Collections.Generic.Stack`1/Enumerator<UnityEngine.GameObject>::get_Current()
#define Enumerator_get_Current_m1118913844(__this, method) (( GameObject_t1756533147 * (*) (Enumerator_t3494259661 *, const MethodInfo*))Enumerator_get_Current_m2815295071_gshared)(__this, method)
// UnityEngine.Transform UnityEngine.GameObject::get_transform()
extern "C" Transform_t3275118058 * GameObject_get_transform_m909382139 (GameObject_t1756533147 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Transform::SetParent(UnityEngine.Transform,System.Boolean)
extern "C" void Transform_SetParent_m1963830867 (Transform_t3275118058 * __this, Transform_t3275118058 * p0, bool p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean System.Collections.Generic.Stack`1/Enumerator<UnityEngine.GameObject>::MoveNext()
#define Enumerator_MoveNext_m992638478(__this, method) (( bool (*) (Enumerator_t3494259661 *, const MethodInfo*))Enumerator_MoveNext_m689054299_gshared)(__this, method)
// System.Void System.Collections.Generic.Stack`1<UnityEngine.GameObject>::Clear()
#define Stack_1_Clear_m3891488846(__this, method) (( void (*) (Stack_1_t2844261301 *, const MethodInfo*))Stack_1_Clear_m3792598883_gshared)(__this, method)
// System.Void UnityEngine.Transform::set_localPosition(UnityEngine.Vector3)
extern "C" void Transform_set_localPosition_m1026930133 (Transform_t3275118058 * __this, Vector3_t2243707580 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GVR.Events.ToggleAction::RaiseToggleEvent(System.Boolean)
extern "C" void ToggleAction_RaiseToggleEvent_m3929023862 (ToggleAction_t2865238344 * __this, bool ___on0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Time::get_time()
extern "C" float Time_get_time_m2216684562 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Events.UnityEvent::Invoke()
extern "C" void UnityEvent_Invoke_m4163344491 (UnityEvent_t408735097 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Events.UnityEvent`1<System.Boolean>::.ctor()
#define UnityEvent_1__ctor_m4051141261(__this, method) (( void (*) (UnityEvent_1_t3863924733 *, const MethodInfo*))UnityEvent_1__ctor_m4051141261_gshared)(__this, method)
// System.Void UnityEngine.Events.UnityEvent::.ctor()
extern "C" void UnityEvent__ctor_m588741179 (UnityEvent_t408735097 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Events.UnityEvent`1<System.Single>::.ctor()
#define UnityEvent_1__ctor_m29611311(__this, method) (( void (*) (UnityEvent_1_t2114859947 *, const MethodInfo*))UnityEvent_1__ctor_m29611311_gshared)(__this, method)
// System.Void UnityEngine.Events.UnityEvent`1<UnityEngine.GameObject>::.ctor()
#define UnityEvent_1__ctor_m4008513313(__this, method) (( void (*) (UnityEvent_1_t1794883162 *, const MethodInfo*))UnityEvent_1__ctor_m2073978020_gshared)(__this, method)
// System.Void UnityEngine.Events.UnityEvent`1<UnityEngine.Transform>::.ctor()
#define UnityEvent_1__ctor_m2774475680(__this, method) (( void (*) (UnityEvent_1_t3313468073 *, const MethodInfo*))UnityEvent_1__ctor_m2073978020_gshared)(__this, method)
// System.Void UnityEngine.Events.UnityEvent`1<UnityEngine.Vector2>::.ctor()
#define UnityEvent_1__ctor_m3317039790(__this, method) (( void (*) (UnityEvent_1_t2282057594 *, const MethodInfo*))UnityEvent_1__ctor_m3317039790_gshared)(__this, method)
// System.Void UnityEngine.Events.UnityEvent`1<UnityEngine.Vector3>::.ctor()
#define UnityEvent_1__ctor_m2176906728(__this, method) (( void (*) (UnityEvent_1_t2282057595 *, const MethodInfo*))UnityEvent_1__ctor_m2176906728_gshared)(__this, method)
// System.Void System.Object::.ctor()
extern "C" void Object__ctor_m2551263788 (Il2CppObject * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.VR.InputTracking::set_disablePositionalTracking(System.Boolean)
extern "C" void InputTracking_set_disablePositionalTracking_m1846824499 (Il2CppObject * __this /* static, unused */, bool p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.IntPtr Gvr.Internal.AndroidNativeKeyboardProvider::GetKeyboardRenderEventFunc()
extern "C" IntPtr_t AndroidNativeKeyboardProvider_GetKeyboardRenderEventFunc_m3805721983 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.IntPtr Gvr.Internal.AndroidNativeKeyboardProvider::gvr_keyboard_get_text(System.IntPtr)
extern "C" IntPtr_t AndroidNativeKeyboardProvider_gvr_keyboard_get_text_m842454874 (Il2CppObject * __this /* static, unused */, IntPtr_t ___keyboard_context0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.String System.Runtime.InteropServices.Marshal::PtrToStringAnsi(System.IntPtr)
extern "C" String_t* Marshal_PtrToStringAnsi_m2970070000 (Il2CppObject * __this /* static, unused */, IntPtr_t p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.IntPtr System.Runtime.InteropServices.Marshal::StringToHGlobalAnsi(System.String)
extern "C" IntPtr_t Marshal_StringToHGlobalAnsi_m2621479009 (Il2CppObject * __this /* static, unused */, String_t* p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 Gvr.Internal.AndroidNativeKeyboardProvider::gvr_keyboard_set_text(System.IntPtr,System.IntPtr)
extern "C" int32_t AndroidNativeKeyboardProvider_gvr_keyboard_set_text_m2731271573 (Il2CppObject * __this /* static, unused */, IntPtr_t ___keyboard_context0, IntPtr_t ___edit_text1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.String System.String::Concat(System.Object,System.Object)
extern "C" String_t* String_Concat_m56707527 (Il2CppObject * __this /* static, unused */, Il2CppObject * p0, Il2CppObject * p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Debug::Log(System.Object)
extern "C" void Debug_Log_m920475918 (Il2CppObject * __this /* static, unused */, Il2CppObject * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.AndroidNativeKeyboardProvider::gvr_keyboard_set_input_mode(System.IntPtr,GvrKeyboardInputMode)
extern "C" void AndroidNativeKeyboardProvider_gvr_keyboard_set_input_mode_m3510009905 (Il2CppObject * __this /* static, unused */, IntPtr_t ___keyboard_context0, int32_t ___mode1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.AndroidNativeKeyboardProvider::gvr_keyboard_destroy(System.IntPtr)
extern "C" void AndroidNativeKeyboardProvider_gvr_keyboard_destroy_m2796809423 (Il2CppObject * __this /* static, unused */, IntPtr_t ___keyboard_context0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Object::Finalize()
extern "C" void Object_Finalize_m4087144328 (Il2CppObject * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean Gvr.Internal.AndroidNativeKeyboardProvider::IsVrInputMethodAppMinVersion(GvrKeyboard/KeyboardCallback)
extern "C" bool AndroidNativeKeyboardProvider_IsVrInputMethodAppMinVersion_m949362938 (AndroidNativeKeyboardProvider_t2887228014 * __this, KeyboardCallback_t4001681579 * ___keyboardEvent0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.IntPtr Gvr.Internal.AndroidNativeKeyboardProvider::gvr_keyboard_create(System.IntPtr,GvrKeyboard/KeyboardCallback)
extern "C" IntPtr_t AndroidNativeKeyboardProvider_gvr_keyboard_create_m1895646393 (Il2CppObject * __this /* static, unused */, IntPtr_t ___closure0, KeyboardCallback_t4001681579 * ___callback1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean System.IntPtr::op_Inequality(System.IntPtr,System.IntPtr)
extern "C" bool IntPtr_op_Inequality_m3044532593 (Il2CppObject * __this /* static, unused */, IntPtr_t p0, IntPtr_t p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Matrix4x4 Gvr.Internal.AndroidNativeKeyboardProvider::getRecommendedMatrix(System.Single)
extern "C" Matrix4x4_t2933234003 AndroidNativeKeyboardProvider_getRecommendedMatrix_m1377656731 (AndroidNativeKeyboardProvider_t2887228014 * __this, float ___inputDistance0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::Scale(UnityEngine.Vector3)
extern "C" Matrix4x4_t2933234003 Matrix4x4_Scale_m3010328774 (Il2CppObject * __this /* static, unused */, Vector3_t2243707580 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::op_Multiply(UnityEngine.Matrix4x4,UnityEngine.Matrix4x4)
extern "C" Matrix4x4_t2933234003 Matrix4x4_op_Multiply_m2352863493 (Il2CppObject * __this /* static, unused */, Matrix4x4_t2933234003 p0, Matrix4x4_t2933234003 p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::get_transpose()
extern "C" Matrix4x4_t2933234003 Matrix4x4_get_transpose_m3368305223 (Matrix4x4_t2933234003 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 System.Runtime.InteropServices.Marshal::SizeOf(System.Object)
extern "C" int32_t Marshal_SizeOf_m2032740146 (Il2CppObject * __this /* static, unused */, Il2CppObject * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.IntPtr System.Runtime.InteropServices.Marshal::AllocHGlobal(System.Int32)
extern "C" IntPtr_t Marshal_AllocHGlobal_m4258042074 (Il2CppObject * __this /* static, unused */, int32_t p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Runtime.InteropServices.Marshal::StructureToPtr(System.Object,System.IntPtr,System.Boolean)
extern "C" void Marshal_StructureToPtr_m3205507777 (Il2CppObject * __this /* static, unused */, Il2CppObject * p0, IntPtr_t p1, bool p2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.AndroidNativeKeyboardProvider::gvr_keyboard_set_world_from_keyboard_matrix(System.IntPtr,System.IntPtr)
extern "C" void AndroidNativeKeyboardProvider_gvr_keyboard_set_world_from_keyboard_matrix_m2513255943 (Il2CppObject * __this /* static, unused */, IntPtr_t ___keyboard_context0, IntPtr_t ___matrix1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.AndroidNativeKeyboardProvider::gvr_keyboard_show(System.IntPtr)
extern "C" void AndroidNativeKeyboardProvider_gvr_keyboard_show_m3076390570 (Il2CppObject * __this /* static, unused */, IntPtr_t ___keyboard_context0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// Gvr.Internal.AndroidNativeKeyboardProvider/gvr_clock_time_point Gvr.Internal.AndroidNativeKeyboardProvider::gvr_get_time_point_now()
extern "C" gvr_clock_time_point_t1124886566 AndroidNativeKeyboardProvider_gvr_get_time_point_now_m2949313034 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.AndroidNativeKeyboardProvider::GvrKeyboardSetFrameData(System.IntPtr,Gvr.Internal.AndroidNativeKeyboardProvider/gvr_clock_time_point)
extern "C" void AndroidNativeKeyboardProvider_GvrKeyboardSetFrameData_m1728339064 (Il2CppObject * __this /* static, unused */, IntPtr_t ___keyboard_context0, gvr_clock_time_point_t1124886566 ___t1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.GL::IssuePluginEvent(System.IntPtr,System.Int32)
extern "C" void GL_IssuePluginEvent_m2498560141 (Il2CppObject * __this /* static, unused */, IntPtr_t p0, int32_t p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Rect::get_x()
extern "C" float Rect_get_x_m1393582490 (Rect_t3681755626 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Rect::get_y()
extern "C" float Rect_get_y_m1393582395 (Rect_t3681755626 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Rect::get_height()
extern "C" float Rect_get_height_m3128694305 (Rect_t3681755626 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Rect::get_width()
extern "C" float Rect_get_width_m1138015702 (Rect_t3681755626 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::get_inverse()
extern "C" Matrix4x4_t2933234003 Matrix4x4_get_inverse_m2479387736 (Matrix4x4_t2933234003 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.AndroidNativeKeyboardProvider::GvrKeyboardSetEyeData(System.Int32,UnityEngine.Matrix4x4,UnityEngine.Matrix4x4,Gvr.Internal.AndroidNativeKeyboardProvider/gvr_recti)
extern "C" void AndroidNativeKeyboardProvider_GvrKeyboardSetEyeData_m3639183237 (Il2CppObject * __this /* static, unused */, int32_t ___eye_type0, Matrix4x4_t2933234003 ___modelview1, Matrix4x4_t2933234003 ___projection2, gvr_recti_t2743662910 ___viewport3, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.AndroidNativeKeyboardProvider::gvr_keyboard_hide(System.IntPtr)
extern "C" void AndroidNativeKeyboardProvider_gvr_keyboard_hide_m4294388745 (Il2CppObject * __this /* static, unused */, IntPtr_t ___keyboard_context0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Mathf::Clamp(System.Single,System.Single,System.Single)
extern "C" float Mathf_Clamp_m2354025655 (Il2CppObject * __this /* static, unused */, float p0, float p1, float p2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.AndroidNativeKeyboardProvider::gvr_keyboard_get_recommended_world_from_keyboard_matrix(System.Single,System.IntPtr)
extern "C" void AndroidNativeKeyboardProvider_gvr_keyboard_get_recommended_world_from_keyboard_matrix_m2103228330 (Il2CppObject * __this /* static, unused */, float ___distance_from_eye0, IntPtr_t ___matrix1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Type System.Type::GetTypeFromHandle(System.RuntimeTypeHandle)
extern "C" Type_t * Type_GetTypeFromHandle_m432505302 (Il2CppObject * __this /* static, unused */, RuntimeTypeHandle_t2330101084 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Object System.Runtime.InteropServices.Marshal::PtrToStructure(System.IntPtr,System.Type)
extern "C" Il2CppObject * Marshal_PtrToStructure_m673412918 (Il2CppObject * __this /* static, unused */, IntPtr_t p0, Type_t * p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void KeyboardState::.ctor()
extern "C" void KeyboardState__ctor_m1186812649 (KeyboardState_t3308394474 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void KeyboardState::CopyFrom(KeyboardState)
extern "C" void KeyboardState_CopyFrom_m4001058812 (KeyboardState_t3308394474 * __this, KeyboardState_t3308394474 * ___other0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int64 proto.PhoneEvent/Types/AccelerometerEvent::get_Timestamp()
extern "C" int64_t AccelerometerEvent_get_Timestamp_m3620699521 (AccelerometerEvent_t1893725728 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single proto.PhoneEvent/Types/AccelerometerEvent::get_X()
extern "C" float AccelerometerEvent_get_X_m790034322 (AccelerometerEvent_t1893725728 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single proto.PhoneEvent/Types/AccelerometerEvent::get_Y()
extern "C" float AccelerometerEvent_get_Y_m648871821 (AccelerometerEvent_t1893725728 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single proto.PhoneEvent/Types/AccelerometerEvent::get_Z()
extern "C" float AccelerometerEvent_get_Z_m507709320 (AccelerometerEvent_t1893725728 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorAccelEvent::.ctor(proto.PhoneEvent/Types/AccelerometerEvent)
extern "C" void EmulatorAccelEvent__ctor_m1068393322 (EmulatorAccelEvent_t621139879 * __this, AccelerometerEvent_t1893725728 * ___proto0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 proto.PhoneEvent/Types/KeyEvent::get_Code()
extern "C" int32_t KeyEvent_get_Code_m4093277921 (KeyEvent_t639576718 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 proto.PhoneEvent/Types/KeyEvent::get_Action()
extern "C" int32_t KeyEvent_get_Action_m3103875472 (KeyEvent_t639576718 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorButtonEvent::.ctor(proto.PhoneEvent/Types/KeyEvent)
extern "C" void EmulatorButtonEvent__ctor_m1309920830 (EmulatorButtonEvent_t156276569 * __this, KeyEvent_t639576718 * ___proto0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// Gvr.Internal.EmulatorConfig Gvr.Internal.EmulatorConfig::get_Instance()
extern "C" EmulatorConfig_t616150261 * EmulatorConfig_get_Instance_m410425010 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Threading.ThreadStart::.ctor(System.Object,System.IntPtr)
extern "C" void ThreadStart__ctor_m3015256841 (ThreadStart_t3437517264 * __this, Il2CppObject * p0, IntPtr_t p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Threading.Thread::.ctor(System.Threading.ThreadStart)
extern "C" void Thread__ctor_m4175494164 (Thread_t241561612 * __this, ThreadStart_t3437517264 * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Threading.Thread::set_IsBackground(System.Boolean)
extern "C" void Thread_set_IsBackground_m2222126055 (Thread_t241561612 * __this, bool p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Threading.Thread::Start()
extern "C" void Thread_Start_m1419497481 (Thread_t241561612 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.DateTime System.DateTime::get_Now()
extern "C" DateTime_t693205669 DateTime_get_Now_m24136300 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int64 System.DateTime::get_Ticks()
extern "C" int64_t DateTime_get_Ticks_m310281298 (DateTime_t693205669 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorClientSocket::phoneConnect()
extern "C" void EmulatorClientSocket_phoneConnect_m3583139274 (EmulatorClientSocket_t2001911543 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Debug::LogWarningFormat(System.String,System.Object[])
extern "C" void Debug_LogWarningFormat_m2130157695 (Il2CppObject * __this /* static, unused */, String_t* p0, ObjectU5BU5D_t3614634134* p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.TimeSpan::.ctor(System.Int64)
extern "C" void TimeSpan__ctor_m96381766 (TimeSpan_t3430258949 * __this, int64_t p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Double System.TimeSpan::get_TotalSeconds()
extern "C" double TimeSpan_get_TotalSeconds_m1295026915 (TimeSpan_t3430258949 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Threading.Thread::Sleep(System.Int32)
extern "C" void Thread_Sleep_m1248422015 (Il2CppObject * __this /* static, unused */, int32_t p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorClientSocket::setupPortForwarding(System.Int32)
extern "C" void EmulatorClientSocket_setupPortForwarding_m693595422 (EmulatorClientSocket_t2001911543 * __this, int32_t ___port0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Net.Sockets.TcpClient::.ctor(System.String,System.Int32)
extern "C" void TcpClient__ctor_m4115769373 (TcpClient_t408947970 * __this, String_t* p0, int32_t p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorClientSocket::set_connected(System.Boolean)
extern "C" void EmulatorClientSocket_set_connected_m3484293743 (EmulatorClientSocket_t2001911543 * __this, bool ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorClientSocket::ProcessConnection(System.Net.Sockets.TcpClient)
extern "C" void EmulatorClientSocket_ProcessConnection_m2203714527 (EmulatorClientSocket_t2001911543 * __this, TcpClient_t408947970 * ___tcpClient0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Net.Sockets.TcpClient::Close()
extern "C" void TcpClient_Close_m4260227760 (TcpClient_t408947970 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.String System.String::Format(System.String,System.Object)
extern "C" String_t* String_Format_m2024975688 (Il2CppObject * __this /* static, unused */, String_t* p0, Il2CppObject * p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Diagnostics.Process::.ctor()
extern "C" void Process__ctor_m699031546 (Process_t1448008787 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Diagnostics.ProcessStartInfo::.ctor(System.String,System.String)
extern "C" void ProcessStartInfo__ctor_m1871457906 (ProcessStartInfo_t2898458543 * __this, String_t* p0, String_t* p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Diagnostics.ProcessStartInfo::set_UseShellExecute(System.Boolean)
extern "C" void ProcessStartInfo_set_UseShellExecute_m2714645304 (ProcessStartInfo_t2898458543 * __this, bool p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Diagnostics.ProcessStartInfo::set_RedirectStandardError(System.Boolean)
extern "C" void ProcessStartInfo_set_RedirectStandardError_m871400493 (ProcessStartInfo_t2898458543 * __this, bool p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Diagnostics.ProcessStartInfo::set_CreateNoWindow(System.Boolean)
extern "C" void ProcessStartInfo_set_CreateNoWindow_m2521430833 (ProcessStartInfo_t2898458543 * __this, bool p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Diagnostics.Process::set_StartInfo(System.Diagnostics.ProcessStartInfo)
extern "C" void Process_set_StartInfo_m364158131 (Process_t1448008787 * __this, ProcessStartInfo_t2898458543 * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean System.Diagnostics.Process::Start()
extern "C" bool Process_Start_m2737551206 (Process_t1448008787 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Diagnostics.Process::WaitForExit()
extern "C" void Process_WaitForExit_m1494961306 (Process_t1448008787 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean System.Diagnostics.Process::get_HasExited()
extern "C" bool Process_get_HasExited_m594007172 (Process_t1448008787 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 System.Diagnostics.Process::get_ExitCode()
extern "C" int32_t Process_get_ExitCode_m1259516068 (Process_t1448008787 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.IO.StreamReader System.Diagnostics.Process::get_StandardError()
extern "C" StreamReader_t2360341767 * Process_get_StandardError_m221148315 (Process_t1448008787 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Diagnostics.Process::Close()
extern "C" void Process_Close_m2239215458 (Process_t1448008787 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Exception::.ctor(System.String)
extern "C" void Exception__ctor_m485833136 (Exception_t1927440687 * __this, String_t* p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.String System.String::Format(System.String,System.Object[])
extern "C" String_t* String_Format_m1263743648 (Il2CppObject * __this /* static, unused */, String_t* p0, ObjectU5BU5D_t3614634134* p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Net.Sockets.NetworkStream System.Net.Sockets.TcpClient::GetStream()
extern "C" NetworkStream_t581172200 * TcpClient_GetStream_m872175179 (TcpClient_t408947970 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Net.Sockets.TcpClient::set_ReceiveTimeout(System.Int32)
extern "C" void TcpClient_set_ReceiveTimeout_m4062746526 (TcpClient_t408947970 * __this, int32_t p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 Gvr.Internal.EmulatorClientSocket::blockingRead(System.Net.Sockets.NetworkStream,System.Byte[],System.Int32,System.Int32)
extern "C" int32_t EmulatorClientSocket_blockingRead_m3410398218 (EmulatorClientSocket_t2001911543 * __this, NetworkStream_t581172200 * ___stream0, ByteU5BU5D_t3397334013* ___buffer1, int32_t ___index2, int32_t ___count3, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Byte[] Gvr.Internal.EmulatorClientSocket::correctEndianness(System.Byte[])
extern "C" ByteU5BU5D_t3397334013* EmulatorClientSocket_correctEndianness_m336142497 (Il2CppObject * __this /* static, unused */, ByteU5BU5D_t3397334013* ___array0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 Gvr.Internal.EmulatorClientSocket::unpack32bits(System.Byte[],System.Int32)
extern "C" int32_t EmulatorClientSocket_unpack32bits_m1885594369 (EmulatorClientSocket_t2001911543 * __this, ByteU5BU5D_t3397334013* ___array0, int32_t ___offset1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// proto.PhoneEvent/Builder proto.PhoneEvent::CreateBuilder()
extern "C" Builder_t2537253112 * PhoneEvent_CreateBuilder_m1484593355 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// !1 Google.ProtocolBuffers.AbstractBuilderLite`2<proto.PhoneEvent,proto.PhoneEvent/Builder>::MergeFrom(System.Byte[])
#define AbstractBuilderLite_2_MergeFrom_m705343286(__this, p0, method) (( Builder_t2537253112 * (*) (AbstractBuilderLite_2_t1613679102 *, ByteU5BU5D_t3397334013*, const MethodInfo*))AbstractBuilderLite_2_MergeFrom_m3890356112_gshared)(__this, p0, method)
// System.Void Gvr.Internal.EmulatorManager::OnPhoneEvent(proto.PhoneEvent)
extern "C" void EmulatorManager_OnPhoneEvent_m187935926 (EmulatorManager_t3364249716 * __this, PhoneEvent_t2572128318 * ___e0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Threading.Thread::Join()
extern "C" void Thread_Join_m4266176203 (Thread_t241561612 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Array::Reverse(System.Array)
extern "C" void Array_Reverse_m3883292526 (Il2CppObject * __this /* static, unused */, Il2CppArray * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.Object::op_Equality(UnityEngine.Object,UnityEngine.Object)
extern "C" bool Object_op_Equality_m3764089466 (Il2CppObject * __this /* static, unused */, Object_t1021602117 * p0, Object_t1021602117 * p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Object[] UnityEngine.Object::FindObjectsOfType(System.Type)
extern "C" ObjectU5BU5D_t4217747464* Object_FindObjectsOfType_m2121813744 (Il2CppObject * __this /* static, unused */, Type_t * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Debug::LogError(System.Object)
extern "C" void Debug_LogError_m3715728798 (Il2CppObject * __this /* static, unused */, Il2CppObject * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// !!0 UnityEngine.GameObject::AddComponent<Gvr.Internal.EmulatorConfig>()
#define GameObject_AddComponent_TisEmulatorConfig_t616150261_m639623939(__this, method) (( EmulatorConfig_t616150261 * (*) (GameObject_t1756533147 *, const MethodInfo*))GameObject_AddComponent_TisIl2CppObject_m2231772097_gshared)(__this, method)
// System.Int64 proto.PhoneEvent/Types/GyroscopeEvent::get_Timestamp()
extern "C" int64_t GyroscopeEvent_get_Timestamp_m2387672579 (GyroscopeEvent_t182225200 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single proto.PhoneEvent/Types/GyroscopeEvent::get_X()
extern "C" float GyroscopeEvent_get_X_m2559913650 (GyroscopeEvent_t182225200 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single proto.PhoneEvent/Types/GyroscopeEvent::get_Y()
extern "C" float GyroscopeEvent_get_Y_m2701076151 (GyroscopeEvent_t182225200 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single proto.PhoneEvent/Types/GyroscopeEvent::get_Z()
extern "C" float GyroscopeEvent_get_Z_m2842238652 (GyroscopeEvent_t182225200 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorGyroEvent::.ctor(proto.PhoneEvent/Types/GyroscopeEvent)
extern "C" void EmulatorGyroEvent__ctor_m3973423935 (EmulatorGyroEvent_t1858389926 * __this, GyroscopeEvent_t182225200 * ___proto0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrKeyboard/KeyboardCallback::Invoke(System.IntPtr,GvrKeyboardEvent)
extern "C" void KeyboardCallback_Invoke_m2410660164 (KeyboardCallback_t4001681579 * __this, IntPtr_t ___closure0, int32_t ___evt1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 System.String::get_Length()
extern "C" int32_t String_get_Length_m1606060069 (String_t* __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.String System.String::Substring(System.Int32,System.Int32)
extern "C" String_t* String_Substring_m12482732 (String_t* __this, int32_t p0, int32_t p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorKeyboardProvider::SendUpdateNotification()
extern "C" void EmulatorKeyboardProvider_SendUpdateNotification_m3442702306 (EmulatorKeyboardProvider_t2695781675 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.String UnityEngine.Input::get_inputString()
extern "C" String_t* Input_get_inputString_m586924470 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Char System.String::get_Chars(System.Int32)
extern "C" Il2CppChar String_get_Chars_m4230566705 (String_t* __this, int32_t p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.WaitForEndOfFrame::.ctor()
extern "C" void WaitForEndOfFrame__ctor_m3062480170 (WaitForEndOfFrame_t1785723201 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Collections.Queue::.ctor()
extern "C" void Queue__ctor_m3347147485 (Queue_t1288490777 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Collections.Queue System.Collections.Queue::Synchronized(System.Collections.Queue)
extern "C" Queue_t1288490777 * Queue_Synchronized_m4254509198 (Il2CppObject * __this /* static, unused */, Queue_t1288490777 * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// !!0 UnityEngine.GameObject::AddComponent<Gvr.Internal.EmulatorManager>()
#define GameObject_AddComponent_TisEmulatorManager_t3364249716_m3658772290(__this, method) (( EmulatorManager_t3364249716 * (*) (GameObject_t1756533147 *, const MethodInfo*))GameObject_AddComponent_TisIl2CppObject_m2231772097_gshared)(__this, method)
// System.Void UnityEngine.Object::DontDestroyOnLoad(UnityEngine.Object)
extern "C" void Object_DontDestroyOnLoad_m2330762974 (Il2CppObject * __this /* static, unused */, Object_t1021602117 * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorManager/OnGyroEvent::Invoke(Gvr.Internal.EmulatorGyroEvent)
extern "C" void OnGyroEvent_Invoke_m3195722476 (OnGyroEvent_t1804908545 * __this, EmulatorGyroEvent_t1858389926 ___gyroEvent0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorManager::add_gyroEventListenersInternal(Gvr.Internal.EmulatorManager/OnGyroEvent)
extern "C" void EmulatorManager_add_gyroEventListenersInternal_m3017450141 (EmulatorManager_t3364249716 * __this, OnGyroEvent_t1804908545 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorManager::remove_gyroEventListenersInternal(Gvr.Internal.EmulatorManager/OnGyroEvent)
extern "C" void EmulatorManager_remove_gyroEventListenersInternal_m1959037462 (EmulatorManager_t3364249716 * __this, OnGyroEvent_t1804908545 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorManager/OnAccelEvent::Invoke(Gvr.Internal.EmulatorAccelEvent)
extern "C" void OnAccelEvent_Invoke_m1734383268 (OnAccelEvent_t1967739812 * __this, EmulatorAccelEvent_t621139879 ___accelEvent0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorManager::add_accelEventListenersInternal(Gvr.Internal.EmulatorManager/OnAccelEvent)
extern "C" void EmulatorManager_add_accelEventListenersInternal_m3372572737 (EmulatorManager_t3364249716 * __this, OnAccelEvent_t1967739812 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorManager::remove_accelEventListenersInternal(Gvr.Internal.EmulatorManager/OnAccelEvent)
extern "C" void EmulatorManager_remove_accelEventListenersInternal_m2962477662 (EmulatorManager_t3364249716 * __this, OnAccelEvent_t1967739812 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorManager/OnTouchEvent::Invoke(Gvr.Internal.EmulatorTouchEvent)
extern "C" void OnTouchEvent_Invoke_m1749858212 (OnTouchEvent_t4143287487 * __this, EmulatorTouchEvent_t1122923020 ___touchEvent0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorManager::add_touchEventListenersInternal(Gvr.Internal.EmulatorManager/OnTouchEvent)
extern "C" void EmulatorManager_add_touchEventListenersInternal_m4176544517 (EmulatorManager_t3364249716 * __this, OnTouchEvent_t4143287487 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorManager::remove_touchEventListenersInternal(Gvr.Internal.EmulatorManager/OnTouchEvent)
extern "C" void EmulatorManager_remove_touchEventListenersInternal_m1405523860 (EmulatorManager_t3364249716 * __this, OnTouchEvent_t4143287487 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorManager/OnOrientationEvent::Invoke(Gvr.Internal.EmulatorOrientationEvent)
extern "C" void OnOrientationEvent_Invoke_m1547755396 (OnOrientationEvent_t602701282 * __this, EmulatorOrientationEvent_t4153005117 ___orientationEvent0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorManager::add_orientationEventListenersInternal(Gvr.Internal.EmulatorManager/OnOrientationEvent)
extern "C" void EmulatorManager_add_orientationEventListenersInternal_m3579286333 (EmulatorManager_t3364249716 * __this, OnOrientationEvent_t602701282 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorManager::remove_orientationEventListenersInternal(Gvr.Internal.EmulatorManager/OnOrientationEvent)
extern "C" void EmulatorManager_remove_orientationEventListenersInternal_m3190711766 (EmulatorManager_t3364249716 * __this, OnOrientationEvent_t602701282 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorManager/OnButtonEvent::Invoke(Gvr.Internal.EmulatorButtonEvent)
extern "C" void OnButtonEvent_Invoke_m3526811670 (OnButtonEvent_t358370788 * __this, EmulatorButtonEvent_t156276569 ___buttonEvent0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorManager::add_buttonEventListenersInternal(Gvr.Internal.EmulatorManager/OnButtonEvent)
extern "C" void EmulatorManager_add_buttonEventListenersInternal_m1124036221 (EmulatorManager_t3364249716 * __this, OnButtonEvent_t358370788 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorManager::remove_buttonEventListenersInternal(Gvr.Internal.EmulatorManager/OnButtonEvent)
extern "C" void EmulatorManager_remove_buttonEventListenersInternal_m1787312118 (EmulatorManager_t3364249716 * __this, OnButtonEvent_t358370788 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Delegate System.Delegate::Combine(System.Delegate,System.Delegate)
extern "C" Delegate_t3022476291 * Delegate_Combine_m3791207084 (Il2CppObject * __this /* static, unused */, Delegate_t3022476291 * p0, Delegate_t3022476291 * p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Delegate System.Delegate::Remove(System.Delegate,System.Delegate)
extern "C" Delegate_t3022476291 * Delegate_Remove_m2626518725 (Il2CppObject * __this /* static, unused */, Delegate_t3022476291 * p0, Delegate_t3022476291 * p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean Gvr.Internal.EmulatorClientSocket::get_connected()
extern "C" bool EmulatorClientSocket_get_connected_m887135136 (EmulatorClientSocket_t2001911543 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Debug::LogWarning(System.Object)
extern "C" void Debug_LogWarning_m2503577968 (Il2CppObject * __this /* static, unused */, Il2CppObject * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Behaviour::set_enabled(System.Boolean)
extern "C" void Behaviour_set_enabled_m1796096907 (Behaviour_t955675639 * __this, bool p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// !!0 UnityEngine.GameObject::AddComponent<Gvr.Internal.EmulatorClientSocket>()
#define GameObject_AddComponent_TisEmulatorClientSocket_t2001911543_m760771621(__this, method) (( EmulatorClientSocket_t2001911543 * (*) (GameObject_t1756533147 *, const MethodInfo*))GameObject_AddComponent_TisIl2CppObject_m2231772097_gshared)(__this, method)
// System.Void Gvr.Internal.EmulatorClientSocket::Init(Gvr.Internal.EmulatorManager)
extern "C" void EmulatorClientSocket_Init_m4171573166 (EmulatorClientSocket_t2001911543 * __this, EmulatorManager_t3364249716 * ___remote0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Collections.IEnumerator Gvr.Internal.EmulatorManager::EndOfFrame()
extern "C" Il2CppObject * EmulatorManager_EndOfFrame_m2267188258 (EmulatorManager_t3364249716 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Coroutine UnityEngine.MonoBehaviour::StartCoroutine(System.Collections.IEnumerator)
extern "C" Coroutine_t2299508840 * MonoBehaviour_StartCoroutine_m2470621050 (MonoBehaviour_t1158329972 * __this, Il2CppObject * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorManager/<EndOfFrame>c__Iterator0::.ctor()
extern "C" void U3CEndOfFrameU3Ec__Iterator0__ctor_m3544899542 (U3CEndOfFrameU3Ec__Iterator0_t4253624923 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// proto.PhoneEvent/Types/Type proto.PhoneEvent::get_Type()
extern "C" int32_t PhoneEvent_get_Type_m1181486342 (PhoneEvent_t2572128318 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// proto.PhoneEvent/Types/MotionEvent proto.PhoneEvent::get_MotionEvent()
extern "C" MotionEvent_t4072706903 * PhoneEvent_get_MotionEvent_m3484505676 (PhoneEvent_t2572128318 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorTouchEvent::.ctor(proto.PhoneEvent/Types/MotionEvent,System.Int64)
extern "C" void EmulatorTouchEvent__ctor_m2652666916 (EmulatorTouchEvent_t1122923020 * __this, MotionEvent_t4072706903 * ___proto0, int64_t ___lastDownTimeMs1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorManager::onTouchEvent(Gvr.Internal.EmulatorTouchEvent)
extern "C" void EmulatorManager_onTouchEvent_m4049017849 (EmulatorManager_t3364249716 * __this, EmulatorTouchEvent_t1122923020 ___e0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// Gvr.Internal.EmulatorTouchEvent/Action Gvr.Internal.EmulatorTouchEvent::getActionMasked()
extern "C" int32_t EmulatorTouchEvent_getActionMasked_m1031363438 (EmulatorTouchEvent_t1122923020 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int64 proto.PhoneEvent/Types/MotionEvent::get_Timestamp()
extern "C" int64_t MotionEvent_get_Timestamp_m123845168 (MotionEvent_t4072706903 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// proto.PhoneEvent/Types/GyroscopeEvent proto.PhoneEvent::get_GyroscopeEvent()
extern "C" GyroscopeEvent_t182225200 * PhoneEvent_get_GyroscopeEvent_m1865959868 (PhoneEvent_t2572128318 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorManager::onGyroEvent(Gvr.Internal.EmulatorGyroEvent)
extern "C" void EmulatorManager_onGyroEvent_m4150320277 (EmulatorManager_t3364249716 * __this, EmulatorGyroEvent_t1858389926 ___e0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// proto.PhoneEvent/Types/AccelerometerEvent proto.PhoneEvent::get_AccelerometerEvent()
extern "C" AccelerometerEvent_t1893725728 * PhoneEvent_get_AccelerometerEvent_m1704173460 (PhoneEvent_t2572128318 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorManager::onAccelEvent(Gvr.Internal.EmulatorAccelEvent)
extern "C" void EmulatorManager_onAccelEvent_m2853352313 (EmulatorManager_t3364249716 * __this, EmulatorAccelEvent_t621139879 ___e0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// proto.PhoneEvent/Types/OrientationEvent proto.PhoneEvent::get_OrientationEvent()
extern "C" OrientationEvent_t2038376807 * PhoneEvent_get_OrientationEvent_m2639978046 (PhoneEvent_t2572128318 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorOrientationEvent::.ctor(proto.PhoneEvent/Types/OrientationEvent)
extern "C" void EmulatorOrientationEvent__ctor_m4227833381 (EmulatorOrientationEvent_t4153005117 * __this, OrientationEvent_t2038376807 * ___proto0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorManager::onOrientationEvent(Gvr.Internal.EmulatorOrientationEvent)
extern "C" void EmulatorManager_onOrientationEvent_m1122700761 (EmulatorManager_t3364249716 * __this, EmulatorOrientationEvent_t4153005117 ___e0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// proto.PhoneEvent/Types/KeyEvent proto.PhoneEvent::get_KeyEvent()
extern "C" KeyEvent_t639576718 * PhoneEvent_get_KeyEvent_m1764388548 (PhoneEvent_t2572128318 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorManager::onButtonEvent(Gvr.Internal.EmulatorButtonEvent)
extern "C" void EmulatorManager_onButtonEvent_m3245651489 (EmulatorManager_t3364249716 * __this, EmulatorButtonEvent_t156276569 ___e0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Threading.Monitor::Enter(System.Object)
extern "C" void Monitor_Enter_m2136705809 (Il2CppObject * __this /* static, unused */, Il2CppObject * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorManager::ProcessEventAtEndOfFrame(proto.PhoneEvent)
extern "C" void EmulatorManager_ProcessEventAtEndOfFrame_m2018354264 (EmulatorManager_t3364249716 * __this, PhoneEvent_t2572128318 * ___e0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Threading.Monitor::Exit(System.Object)
extern "C" void Monitor_Exit_m2677760297 (Il2CppObject * __this /* static, unused */, Il2CppObject * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.NotSupportedException::.ctor()
extern "C" void NotSupportedException__ctor_m3232764727 (NotSupportedException_t1793819818 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int64 proto.PhoneEvent/Types/OrientationEvent::get_Timestamp()
extern "C" int64_t OrientationEvent_get_Timestamp_m127113700 (OrientationEvent_t2038376807 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single proto.PhoneEvent/Types/OrientationEvent::get_X()
extern "C" float OrientationEvent_get_X_m3329194961 (OrientationEvent_t2038376807 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single proto.PhoneEvent/Types/OrientationEvent::get_Y()
extern "C" float OrientationEvent_get_Y_m3470357462 (OrientationEvent_t2038376807 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single proto.PhoneEvent/Types/OrientationEvent::get_Z()
extern "C" float OrientationEvent_get_Z_m3046869959 (OrientationEvent_t2038376807 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single proto.PhoneEvent/Types/OrientationEvent::get_W()
extern "C" float OrientationEvent_get_W_m170175888 (OrientationEvent_t2038376807 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Quaternion::.ctor(System.Single,System.Single,System.Single,System.Single)
extern "C" void Quaternion__ctor_m3196903881 (Quaternion_t4030073918 * __this, float p0, float p1, float p2, float p3, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 proto.PhoneEvent/Types/MotionEvent::get_Action()
extern "C" int32_t MotionEvent_get_Action_m469056995 (MotionEvent_t4072706903 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Collections.Generic.List`1<Gvr.Internal.EmulatorTouchEvent/Pointer>::.ctor()
#define List_1__ctor_m3832883665(__this, method) (( void (*) (List_1_t2369806134 *, const MethodInfo*))List_1__ctor_m3832883665_gshared)(__this, method)
// System.Collections.Generic.IList`1<proto.PhoneEvent/Types/MotionEvent/Types/Pointer> proto.PhoneEvent/Types/MotionEvent::get_PointersList()
extern "C" Il2CppObject* MotionEvent_get_PointersList_m1139498144 (MotionEvent_t4072706903 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 proto.PhoneEvent/Types/MotionEvent/Types/Pointer::get_Id()
extern "C" int32_t Pointer_get_Id_m1713731598 (Pointer_t1211758263 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single proto.PhoneEvent/Types/MotionEvent/Types/Pointer::get_NormalizedX()
extern "C" float Pointer_get_NormalizedX_m3399516264 (Pointer_t1211758263 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single proto.PhoneEvent/Types/MotionEvent/Types/Pointer::get_NormalizedY()
extern "C" float Pointer_get_NormalizedY_m3399516297 (Pointer_t1211758263 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorTouchEvent/Pointer::.ctor(System.Int32,System.Single,System.Single)
extern "C" void Pointer__ctor_m631654956 (Pointer_t3000685002 * __this, int32_t ___fingerId0, float ___normalizedX1, float ___normalizedY2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Collections.Generic.List`1<Gvr.Internal.EmulatorTouchEvent/Pointer>::Add(!0)
#define List_1_Add_m3606111453(__this, p0, method) (( void (*) (List_1_t2369806134 *, Pointer_t3000685002 , const MethodInfo*))List_1_Add_m3606111453_gshared)(__this, p0, method)
// System.Int32 Gvr.Internal.EmulatorTouchEvent::findPointerIndex(System.Int32,System.Collections.Generic.List`1<Gvr.Internal.EmulatorTouchEvent/Pointer>)
extern "C" int32_t EmulatorTouchEvent_findPointerIndex_m3522089136 (Il2CppObject * __this /* static, unused */, int32_t ___fingerId0, List_1_t2369806134 * ___pointers1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.String System.String::Concat(System.Object,System.Object,System.Object)
extern "C" String_t* String_Concat_m2000667605 (Il2CppObject * __this /* static, unused */, Il2CppObject * p0, Il2CppObject * p1, Il2CppObject * p2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 Gvr.Internal.EmulatorTouchEvent::getActionUnmasked(Gvr.Internal.EmulatorTouchEvent/Action,System.Int32)
extern "C" int32_t EmulatorTouchEvent_getActionUnmasked_m2794616263 (Il2CppObject * __this /* static, unused */, int32_t ___action0, int32_t ___fingerIndex1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.EmulatorTouchEvent::.ctor(Gvr.Internal.EmulatorTouchEvent/Action,System.Int32,System.Int32,System.Collections.Generic.List`1<Gvr.Internal.EmulatorTouchEvent/Pointer>)
extern "C" void EmulatorTouchEvent__ctor_m41442020 (EmulatorTouchEvent_t1122923020 * __this, int32_t ___action0, int32_t ___pointerId1, int32_t ___relativeTimestamp2, List_1_t2369806134 * ___pointers3, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// !0 System.Collections.Generic.List`1<Gvr.Internal.EmulatorTouchEvent/Pointer>::get_Item(System.Int32)
#define List_1_get_Item_m3841572302(__this, p0, method) (( Pointer_t3000685002 (*) (List_1_t2369806134 *, int32_t, const MethodInfo*))List_1_get_Item_m3841572302_gshared)(__this, p0, method)
// Gvr.Internal.EmulatorTouchEvent/Pointer Gvr.Internal.EmulatorTouchEvent::getActionPointer()
extern "C" Pointer_t3000685002 EmulatorTouchEvent_getActionPointer_m3109644827 (EmulatorTouchEvent_t1122923020 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 System.Collections.Generic.List`1<Gvr.Internal.EmulatorTouchEvent/Pointer>::get_Count()
#define List_1_get_Count_m915271181(__this, method) (( int32_t (*) (List_1_t2369806134 *, const MethodInfo*))List_1_get_Count_m915271181_gshared)(__this, method)
// System.Void System.Text.StringBuilder::.ctor()
extern "C" void StringBuilder__ctor_m3946851802 (StringBuilder_t1221177846 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Text.StringBuilder System.Text.StringBuilder::AppendFormat(System.String,System.Object[])
extern "C" StringBuilder_t1221177846 * StringBuilder_AppendFormat_m1879616656 (StringBuilder_t1221177846 * __this, String_t* p0, ObjectU5BU5D_t3614634134* p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Text.StringBuilder System.Text.StringBuilder::Append(System.Object)
extern "C" StringBuilder_t1221177846 * StringBuilder_Append_m3541816491 (StringBuilder_t1221177846 * __this, Il2CppObject * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Text.StringBuilder System.Text.StringBuilder::Append(System.String)
extern "C" StringBuilder_t1221177846 * StringBuilder_Append_m3636508479 (StringBuilder_t1221177846 * __this, String_t* p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.String Gvr.Internal.EmulatorTouchEvent::ToString()
extern "C" String_t* EmulatorTouchEvent_ToString_m1236062672 (EmulatorTouchEvent_t1122923020 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.String System.String::Format(System.String,System.Object,System.Object,System.Object)
extern "C" String_t* String_Format_m4262916296 (Il2CppObject * __this /* static, unused */, String_t* p0, Il2CppObject * p1, Il2CppObject * p2, Il2CppObject * p3, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.String Gvr.Internal.EmulatorTouchEvent/Pointer::ToString()
extern "C" String_t* Pointer_ToString_m1485079150 (Pointer_t3000685002 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void Gvr.Internal.DummyKeyboardProvider::.ctor()
extern "C" void DummyKeyboardProvider__ctor_m36419367 (DummyKeyboardProvider_t1674367534 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Collections.IEnumerator GvrAllEventsTrigger::AddListenersDelayed()
extern "C" Il2CppObject * GvrAllEventsTrigger_AddListenersDelayed_m4260636464 (GvrAllEventsTrigger_t2022443331 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAllEventsTrigger::RemoveListeners()
extern "C" void GvrAllEventsTrigger_RemoveListeners_m2257695873 (GvrAllEventsTrigger_t2022443331 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAllEventsTrigger/<AddListenersDelayed>c__Iterator0::.ctor()
extern "C" void U3CAddListenersDelayedU3Ec__Iterator0__ctor_m395659742 (U3CAddListenersDelayedU3Ec__Iterator0_t1446988883 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// GvrEventExecutor GvrPointerInputModule::FindEventExecutor()
extern "C" GvrEventExecutor_t1694572606 * GvrPointerInputModule_FindEventExecutor_m4246510852 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrEventExecutor/EventDelegate::.ctor(System.Object,System.IntPtr)
extern "C" void EventDelegate__ctor_m3273798607 (EventDelegate_t3945253882 * __this, Il2CppObject * ___object0, IntPtr_t ___method1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrEventExecutor::add_OnPointerClick(GvrEventExecutor/EventDelegate)
extern "C" void GvrEventExecutor_add_OnPointerClick_m1198177349 (GvrEventExecutor_t1694572606 * __this, EventDelegate_t3945253882 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrEventExecutor::add_OnPointerDown(GvrEventExecutor/EventDelegate)
extern "C" void GvrEventExecutor_add_OnPointerDown_m1233984057 (GvrEventExecutor_t1694572606 * __this, EventDelegate_t3945253882 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrEventExecutor::add_OnPointerUp(GvrEventExecutor/EventDelegate)
extern "C" void GvrEventExecutor_add_OnPointerUp_m660640020 (GvrEventExecutor_t1694572606 * __this, EventDelegate_t3945253882 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrEventExecutor::add_OnPointerEnter(GvrEventExecutor/EventDelegate)
extern "C" void GvrEventExecutor_add_OnPointerEnter_m2032707251 (GvrEventExecutor_t1694572606 * __this, EventDelegate_t3945253882 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrEventExecutor::add_OnPointerExit(GvrEventExecutor/EventDelegate)
extern "C" void GvrEventExecutor_add_OnPointerExit_m1578911603 (GvrEventExecutor_t1694572606 * __this, EventDelegate_t3945253882 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrEventExecutor::remove_OnPointerClick(GvrEventExecutor/EventDelegate)
extern "C" void GvrEventExecutor_remove_OnPointerClick_m939562200 (GvrEventExecutor_t1694572606 * __this, EventDelegate_t3945253882 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrEventExecutor::remove_OnPointerDown(GvrEventExecutor/EventDelegate)
extern "C" void GvrEventExecutor_remove_OnPointerDown_m1848242710 (GvrEventExecutor_t1694572606 * __this, EventDelegate_t3945253882 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrEventExecutor::remove_OnPointerUp(GvrEventExecutor/EventDelegate)
extern "C" void GvrEventExecutor_remove_OnPointerUp_m958601577 (GvrEventExecutor_t1694572606 * __this, EventDelegate_t3945253882 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrEventExecutor::remove_OnPointerEnter(GvrEventExecutor/EventDelegate)
extern "C" void GvrEventExecutor_remove_OnPointerEnter_m2069953994 (GvrEventExecutor_t1694572606 * __this, EventDelegate_t3945253882 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrEventExecutor::remove_OnPointerExit(GvrEventExecutor/EventDelegate)
extern "C" void GvrEventExecutor_remove_OnPointerExit_m4137737118 (GvrEventExecutor_t1694572606 * __this, EventDelegate_t3945253882 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Events.UnityEvent`2<UnityEngine.GameObject,UnityEngine.EventSystems.PointerEventData>::Invoke(!0,!1)
#define UnityEvent_2_Invoke_m4284579419(__this, p0, p1, method) (( void (*) (UnityEvent_2_t4020756648 *, GameObject_t1756533147 *, PointerEventData_t1599784723 *, const MethodInfo*))UnityEvent_2_Invoke_m823353588_gshared)(__this, p0, p1, method)
// System.Void GvrAllEventsTrigger::AddListeners()
extern "C" void GvrAllEventsTrigger_AddListeners_m1410664328 (GvrAllEventsTrigger_t2022443331 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Events.UnityEvent`2<UnityEngine.GameObject,UnityEngine.EventSystems.PointerEventData>::.ctor()
#define UnityEvent_2__ctor_m966466254(__this, method) (( void (*) (UnityEvent_2_t4020756648 *, const MethodInfo*))UnityEvent_2__ctor_m3717034779_gshared)(__this, method)
// UnityEngine.AudioConfiguration UnityEngine.AudioSettings::GetConfiguration()
extern "C" AudioConfiguration_t2879378008 AudioSettings_GetConfiguration_m1393045148 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudio::Initialize(System.Int32,System.Int32,System.Int32,System.Int32)
extern "C" void GvrAudio_Initialize_m2441973946 (Il2CppObject * __this /* static, unused */, int32_t ___quality0, int32_t ___sampleRate1, int32_t ___numChannels2, int32_t ___framesPerBuffer3, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudio::Shutdown()
extern "C" void GvrAudio_Shutdown_m3814448932 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 UnityEngine.LayerMask::get_value()
extern "C" int32_t LayerMask_get_value_m251765876 (LayerMask_t3188175821 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single GvrAudio::ConvertAmplitudeFromDb(System.Single)
extern "C" float GvrAudio_ConvertAmplitudeFromDb_m525493451 (Il2CppObject * __this /* static, unused */, float ___db0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudio::SetListenerGain(System.Single)
extern "C" void GvrAudio_SetListenerGain_m1924947456 (Il2CppObject * __this /* static, unused */, float ___gain0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 GvrAudio::CreateSoundfield(System.Int32)
extern "C" int32_t GvrAudio_CreateSoundfield_m278242392 (Il2CppObject * __this /* static, unused */, int32_t ___numChannels0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudio::SetSourceBypassRoomEffects(System.Int32,System.Boolean)
extern "C" void GvrAudio_SetSourceBypassRoomEffects_m1691460578 (Il2CppObject * __this /* static, unused */, int32_t ___sourceId0, bool ___bypassRoomEffects1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 GvrAudio::CreateSoundObject(System.Boolean)
extern "C" int32_t GvrAudio_CreateSoundObject_m1329629085 (Il2CppObject * __this /* static, unused */, bool ___enableHrtf0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudio::DestroySource(System.Int32)
extern "C" void GvrAudio_DestroySource_m2875741446 (Il2CppObject * __this /* static, unused */, int32_t ___sourceId0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudio::SetSourceDirectivity(System.Int32,System.Single,System.Single)
extern "C" void GvrAudio_SetSourceDirectivity_m2025518334 (Il2CppObject * __this /* static, unused */, int32_t ___sourceId0, float ___alpha1, float ___order2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudio::SetSourceListenerDirectivity(System.Int32,System.Single,System.Single)
extern "C" void GvrAudio_SetSourceListenerDirectivity_m1770884030 (Il2CppObject * __this /* static, unused */, int32_t ___sourceId0, float ___alpha1, float ___order2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudio::SetSourceOcclusionIntensity(System.Int32,System.Single)
extern "C" void GvrAudio_SetSourceOcclusionIntensity_m2889416367 (Il2CppObject * __this /* static, unused */, int32_t ___sourceId0, float ___intensity1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean System.Collections.Generic.List`1<GvrAudioRoom>::Contains(!0)
#define List_1_Contains_m2962896065(__this, p0, method) (( bool (*) (List_1_t622563310 *, GvrAudioRoom_t1253442178 *, const MethodInfo*))List_1_Contains_m1658838094_gshared)(__this, p0, method)
// System.Void System.Collections.Generic.List`1<GvrAudioRoom>::Add(!0)
#define List_1_Add_m2248878531(__this, p0, method) (( void (*) (List_1_t622563310 *, GvrAudioRoom_t1253442178 *, const MethodInfo*))List_1_Add_m4157722533_gshared)(__this, p0, method)
// System.Boolean System.Collections.Generic.List`1<GvrAudioRoom>::Remove(!0)
#define List_1_Remove_m997653976(__this, p0, method) (( bool (*) (List_1_t622563310 *, GvrAudioRoom_t1253442178 *, const MethodInfo*))List_1_Remove_m3164383811_gshared)(__this, p0, method)
// System.Int32 System.Collections.Generic.List`1<GvrAudioRoom>::get_Count()
#define List_1_get_Count_m1747142799(__this, method) (( int32_t (*) (List_1_t622563310 *, const MethodInfo*))List_1_get_Count_m2375293942_gshared)(__this, method)
// !0 System.Collections.Generic.List`1<GvrAudioRoom>::get_Item(System.Int32)
#define List_1_get_Item_m2588615602(__this, p0, method) (( GvrAudioRoom_t1253442178 * (*) (List_1_t622563310 *, int32_t, const MethodInfo*))List_1_get_Item_m2062981835_gshared)(__this, p0, method)
// GvrAudio/RoomProperties GvrAudio::GetRoomProperties(GvrAudioRoom)
extern "C" RoomProperties_t2834448096 GvrAudio_GetRoomProperties_m1029902467 (Il2CppObject * __this /* static, unused */, GvrAudioRoom_t1253442178 * ___room0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudio::SetRoomProperties(System.IntPtr)
extern "C" void GvrAudio_SetRoomProperties_m2331769136 (Il2CppObject * __this /* static, unused */, IntPtr_t ___roomProperties0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Runtime.InteropServices.Marshal::FreeHGlobal(System.IntPtr)
extern "C" void Marshal_FreeHGlobal_m2238467479 (Il2CppObject * __this /* static, unused */, IntPtr_t p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 UnityEngine.Physics::RaycastNonAlloc(UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.RaycastHit[],System.Single,System.Int32)
extern "C" int32_t Physics_RaycastNonAlloc_m1598920982 (Il2CppObject * __this /* static, unused */, Vector3_t2243707580 p0, Vector3_t2243707580 p1, RaycastHitU5BU5D_t1214023521* p2, float p3, int32_t p4, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Transform UnityEngine.RaycastHit::get_transform()
extern "C" Transform_t3275118058 * RaycastHit_get_transform_m3290290036 (RaycastHit_t87180320 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Quaternion UnityEngine.Transform::get_rotation()
extern "C" Quaternion_t4030073918 Transform_get_rotation_m1033555130 (Transform_t3275118058 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Quaternion UnityEngine.Quaternion::Inverse(UnityEngine.Quaternion)
extern "C" Quaternion_t4030073918 Quaternion_Inverse_m3931399088 (Il2CppObject * __this /* static, unused */, Quaternion_t4030073918 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Transform::get_lossyScale()
extern "C" Vector3_t2243707580 Transform_get_lossyScale_m1638545862 (Transform_t3275118058 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Vector3::Scale(UnityEngine.Vector3,UnityEngine.Vector3)
extern "C" Vector3_t2243707580 Vector3_Scale_m1087116865 (Il2CppObject * __this /* static, unused */, Vector3_t2243707580 p0, Vector3_t2243707580 p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Bounds::set_size(UnityEngine.Vector3)
extern "C" void Bounds_set_size_m3943815629 (Bounds_t3033363703 * __this, Vector3_t2243707580 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Quaternion::op_Multiply(UnityEngine.Quaternion,UnityEngine.Vector3)
extern "C" Vector3_t2243707580 Quaternion_op_Multiply_m1483423721 (Il2CppObject * __this /* static, unused */, Quaternion_t4030073918 p0, Vector3_t2243707580 p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.Bounds::Contains(UnityEngine.Vector3)
extern "C" bool Bounds_Contains_m485855890 (Bounds_t3033363703 * __this, Vector3_t2243707580 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Vector3::get_one()
extern "C" Vector3_t2243707580 Vector3_get_one_m627547232 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::TRS(UnityEngine.Vector3,UnityEngine.Quaternion,UnityEngine.Vector3)
extern "C" Matrix4x4_t2933234003 Matrix4x4_TRS_m1913765359 (Il2CppObject * __this /* static, unused */, Vector3_t2243707580 p0, Quaternion_t4030073918 p1, Vector3_t2243707580 p2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void MutablePose3D::SetRightHanded(UnityEngine.Matrix4x4)
extern "C" void MutablePose3D_SetRightHanded_m3138031279 (MutablePose3D_t1015643808 * __this, Matrix4x4_t2933234003 ___matrix0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 Pose3D::get_Position()
extern "C" Vector3_t2243707580 Pose3D_get_Position_m1770539115 (Pose3D_t3872859958 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Quaternion Pose3D::get_Orientation()
extern "C" Quaternion_t4030073918 Pose3D_get_Orientation_m3125329874 (Pose3D_t3872859958 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudio::ConvertAudioTransformFromUnity(UnityEngine.Vector3&,UnityEngine.Quaternion&)
extern "C" void GvrAudio_ConvertAudioTransformFromUnity_m3914902326 (Il2CppObject * __this /* static, unused */, Vector3_t2243707580 * ___position0, Quaternion_t4030073918 * ___rotation1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Color UnityEngine.Color::get_magenta()
extern "C" Color_t2020392075 Color_get_magenta_m3193089961 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Color UnityEngine.Color::op_Multiply(System.Single,UnityEngine.Color)
extern "C" Color_t2020392075 Color_op_Multiply_m4176613710 (Il2CppObject * __this /* static, unused */, float p0, Color_t2020392075 p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Color UnityEngine.Color::get_blue()
extern "C" Color_t2020392075 Color_get_blue_m4180825090 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Bounds::.ctor(UnityEngine.Vector3,UnityEngine.Vector3)
extern "C" void Bounds__ctor_m1202659404 (Bounds_t3033363703 * __this, Vector3_t2243707580 p0, Vector3_t2243707580 p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Collections.Generic.List`1<GvrAudioRoom>::.ctor()
#define List_1__ctor_m4264488695(__this, method) (( void (*) (List_1_t622563310 *, const MethodInfo*))List_1__ctor_m310736118_gshared)(__this, method)
// System.Void MutablePose3D::.ctor()
extern "C" void MutablePose3D__ctor_m2869278687 (MutablePose3D_t1015643808 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.LayerMask UnityEngine.LayerMask::op_Implicit(System.Int32)
extern "C" LayerMask_t3188175821 LayerMask_op_Implicit_m3804506591 (Il2CppObject * __this /* static, unused */, int32_t p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudio::Initialize(GvrAudioListener,GvrAudio/Quality)
extern "C" void GvrAudio_Initialize_m2739768702 (Il2CppObject * __this /* static, unused */, GvrAudioListener_t1521766837 * ___listener0, int32_t ___quality1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudio::UpdateAudioListener(System.Single,UnityEngine.LayerMask)
extern "C" void GvrAudio_UpdateAudioListener_m3370947442 (Il2CppObject * __this /* static, unused */, float ___globalGainDb0, LayerMask_t3188175821 ___occlusionMask1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudio::Shutdown(GvrAudioListener)
extern "C" void GvrAudio_Shutdown_m2838331605 (Il2CppObject * __this /* static, unused */, GvrAudioListener_t1521766837 * ___listener0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean GvrAudio::IsListenerInsideRoom(GvrAudioRoom)
extern "C" bool GvrAudio_IsListenerInsideRoom_m431752851 (Il2CppObject * __this /* static, unused */, GvrAudioRoom_t1253442178 * ___room0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudio::UpdateAudioRoom(GvrAudioRoom,System.Boolean)
extern "C" void GvrAudio_UpdateAudioRoom_m3179955199 (Il2CppObject * __this /* static, unused */, GvrAudioRoom_t1253442178 * ___room0, bool ___roomEnabled1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Color UnityEngine.Color::get_yellow()
extern "C" Color_t2020392075 Color_get_yellow_m3741935494 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Gizmos::set_color(UnityEngine.Color)
extern "C" void Gizmos_set_color_m494992840 (Il2CppObject * __this /* static, unused */, Color_t2020392075 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Matrix4x4 UnityEngine.Transform::get_localToWorldMatrix()
extern "C" Matrix4x4_t2933234003 Transform_get_localToWorldMatrix_m2868579006 (Transform_t3275118058 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Gizmos::set_matrix(UnityEngine.Matrix4x4)
extern "C" void Gizmos_set_matrix_m1590313986 (Il2CppObject * __this /* static, unused */, Matrix4x4_t2933234003 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Gizmos::DrawWireCube(UnityEngine.Vector3,UnityEngine.Vector3)
extern "C" void Gizmos_DrawWireCube_m2061545338 (Il2CppObject * __this /* static, unused */, Vector3_t2243707580 p0, Vector3_t2243707580 p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::set_clip(UnityEngine.AudioClip)
extern "C" void AudioSource_set_clip_m738814682 (AudioSource_t1135106623 * __this, AudioClip_t1932558630 * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.AudioSource::get_isPlaying()
extern "C" bool AudioSource_get_isPlaying_m3677592677 (AudioSource_t1135106623 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::set_loop(System.Boolean)
extern "C" void AudioSource_set_loop_m313035616 (AudioSource_t1135106623 * __this, bool p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::set_mute(System.Boolean)
extern "C" void AudioSource_set_mute_m3645750033 (AudioSource_t1135106623 * __this, bool p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::set_pitch(System.Single)
extern "C" void AudioSource_set_pitch_m3064416458 (AudioSource_t1135106623 * __this, float p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::set_priority(System.Int32)
extern "C" void AudioSource_set_priority_m608149462 (AudioSource_t1135106623 * __this, int32_t p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::set_spatialBlend(System.Single)
extern "C" void AudioSource_set_spatialBlend_m387590113 (AudioSource_t1135106623 * __this, float p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::set_dopplerLevel(System.Single)
extern "C" void AudioSource_set_dopplerLevel_m107848870 (AudioSource_t1135106623 * __this, float p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.AudioSource::get_time()
extern "C" float AudioSource_get_time_m1465582328 (AudioSource_t1135106623 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::set_time(System.Single)
extern "C" void AudioSource_set_time_m2642008583 (AudioSource_t1135106623 * __this, float p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 UnityEngine.AudioSource::get_timeSamples()
extern "C" int32_t AudioSource_get_timeSamples_m1719074425 (AudioSource_t1135106623 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::set_timeSamples(System.Int32)
extern "C" void AudioSource_set_timeSamples_m1321768050 (AudioSource_t1135106623 * __this, int32_t p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::set_volume(System.Single)
extern "C" void AudioSource_set_volume_m2777308722 (AudioSource_t1135106623 * __this, float p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::set_rolloffMode(UnityEngine.AudioRolloffMode)
extern "C" void AudioSource_set_rolloffMode_m2959852922 (AudioSource_t1135106623 * __this, int32_t p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.AudioRolloffMode GvrAudioSoundfield::get_rolloffMode()
extern "C" int32_t GvrAudioSoundfield_get_rolloffMode_m2701215212 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.AnimationCurve UnityEngine.AnimationCurve::Linear(System.Single,System.Single,System.Single,System.Single)
extern "C" AnimationCurve_t3306541151 * AnimationCurve_Linear_m125562148 (Il2CppObject * __this /* static, unused */, float p0, float p1, float p2, float p3, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::SetCustomCurve(UnityEngine.AudioSourceCurveType,UnityEngine.AnimationCurve)
extern "C" void AudioSource_SetCustomCurve_m1269103073 (AudioSource_t1135106623 * __this, int32_t p0, AnimationCurve_t3306541151 * p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::set_maxDistance(System.Single)
extern "C" void AudioSource_set_maxDistance_m2780167297 (AudioSource_t1135106623 * __this, float p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::set_minDistance(System.Single)
extern "C" void AudioSource_set_minDistance_m3497133611 (AudioSource_t1135106623 * __this, float p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Transform::set_parent(UnityEngine.Transform)
extern "C" void Transform_set_parent_m3281327839 (Transform_t3275118058 * __this, Transform_t3275118058 * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Quaternion UnityEngine.Quaternion::get_identity()
extern "C" Quaternion_t4030073918 Quaternion_get_identity_m1561886418 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Transform::set_localRotation(UnityEngine.Quaternion)
extern "C" void Transform_set_localRotation_m2055111962 (Transform_t3275118058 * __this, Quaternion_t4030073918 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Object::set_hideFlags(UnityEngine.HideFlags)
extern "C" void Object_set_hideFlags_m2204253440 (Object_t1021602117 * __this, int32_t p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// !!0 UnityEngine.GameObject::AddComponent<UnityEngine.AudioSource>()
#define GameObject_AddComponent_TisAudioSource_t1135106623_m1060393270(__this, method) (( AudioSource_t1135106623 * (*) (GameObject_t1756533147 *, const MethodInfo*))GameObject_AddComponent_TisIl2CppObject_m2231772097_gshared)(__this, method)
// System.Void UnityEngine.AudioSource::set_playOnAwake(System.Boolean)
extern "C" void AudioSource_set_playOnAwake_m858475204 (AudioSource_t1135106623 * __this, bool p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::set_bypassReverbZones(System.Boolean)
extern "C" void AudioSource_set_bypassReverbZones_m1621259587 (AudioSource_t1135106623 * __this, bool p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::set_spatializePostEffects(System.Boolean)
extern "C" void AudioSource_set_spatializePostEffects_m20284068 (AudioSource_t1135106623 * __this, bool p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Audio.AudioMixerGroup[] UnityEngine.Audio.AudioMixer::FindMatchingGroups(System.String)
extern "C" AudioMixerGroupU5BU5D_t1763409949* AudioMixer_FindMatchingGroups_m2958147472 (AudioMixer_t3244290001 * __this, String_t* p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::set_outputAudioMixerGroup(UnityEngine.Audio.AudioMixerGroup)
extern "C" void AudioSource_set_outputAudioMixerGroup_m2944940779 (AudioSource_t1135106623 * __this, AudioMixerGroup_t959546644 * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSoundfield::OnValidate()
extern "C" void GvrAudioSoundfield_OnValidate_m402992064 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean GvrAudioSoundfield::get_isPlaying()
extern "C" bool GvrAudioSoundfield_get_isPlaying_m2063179004 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean GvrAudioSoundfield::InitializeSoundfield()
extern "C" bool GvrAudioSoundfield_InitializeSoundfield_m2000343270 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSoundfield::Play()
extern "C" void GvrAudioSoundfield_Play_m4004363143 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSoundfield::Stop()
extern "C" void GvrAudioSoundfield_Stop_m788222535 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSoundfield::Pause()
extern "C" void GvrAudioSoundfield_Pause_m2499230617 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSoundfield::UnPause()
extern "C" void GvrAudioSoundfield_UnPause_m2753349180 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.AudioSource::SetSpatializerFloat(System.Int32,System.Single)
extern "C" bool AudioSource_SetSpatializerFloat_m1516717820 (AudioSource_t1135106623 * __this, int32_t p0, float p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudio::UpdateAudioSoundfield(System.Int32,GvrAudioSoundfield)
extern "C" void GvrAudio_UpdateAudioSoundfield_m2589129101 (Il2CppObject * __this /* static, unused */, int32_t ___id0, GvrAudioSoundfield_t1301118448 * ___soundfield1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSoundfield::set_clip0102(UnityEngine.AudioClip)
extern "C" void GvrAudioSoundfield_set_clip0102_m324418954 (GvrAudioSoundfield_t1301118448 * __this, AudioClip_t1932558630 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSoundfield::set_clip0304(UnityEngine.AudioClip)
extern "C" void GvrAudioSoundfield_set_clip0304_m3890960182 (GvrAudioSoundfield_t1301118448 * __this, AudioClip_t1932558630 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSoundfield::set_loop(System.Boolean)
extern "C" void GvrAudioSoundfield_set_loop_m2933465149 (GvrAudioSoundfield_t1301118448 * __this, bool ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSoundfield::set_mute(System.Boolean)
extern "C" void GvrAudioSoundfield_set_mute_m3676534418 (GvrAudioSoundfield_t1301118448 * __this, bool ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSoundfield::set_pitch(System.Single)
extern "C" void GvrAudioSoundfield_set_pitch_m1328065293 (GvrAudioSoundfield_t1301118448 * __this, float ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSoundfield::set_priority(System.Int32)
extern "C" void GvrAudioSoundfield_set_priority_m3260742081 (GvrAudioSoundfield_t1301118448 * __this, int32_t ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSoundfield::set_spatialBlend(System.Single)
extern "C" void GvrAudioSoundfield_set_spatialBlend_m3169449330 (GvrAudioSoundfield_t1301118448 * __this, float ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSoundfield::set_volume(System.Single)
extern "C" void GvrAudioSoundfield_set_volume_m317435059 (GvrAudioSoundfield_t1301118448 * __this, float ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSoundfield::set_dopplerLevel(System.Single)
extern "C" void GvrAudioSoundfield_set_dopplerLevel_m2478224561 (GvrAudioSoundfield_t1301118448 * __this, float ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSoundfield::set_minDistance(System.Single)
extern "C" void GvrAudioSoundfield_set_minDistance_m3117626096 (GvrAudioSoundfield_t1301118448 * __this, float ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSoundfield::set_maxDistance(System.Single)
extern "C" void GvrAudioSoundfield_set_maxDistance_m1287102658 (GvrAudioSoundfield_t1301118448 * __this, float ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSoundfield::set_rolloffMode(UnityEngine.AudioRolloffMode)
extern "C" void GvrAudioSoundfield_set_rolloffMode_m2512403003 (GvrAudioSoundfield_t1301118448 * __this, int32_t ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::Pause()
extern "C" void AudioSource_Pause_m71375470 (AudioSource_t1135106623 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Double UnityEngine.AudioSettings::get_dspTime()
extern "C" double AudioSettings_get_dspTime_m2570540328 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSoundfield::PlayScheduled(System.Double)
extern "C" void GvrAudioSoundfield_PlayScheduled_m3074893852 (GvrAudioSoundfield_t1301118448 * __this, double ___time0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::PlayScheduled(System.Double)
extern "C" void AudioSource_PlayScheduled_m572677317 (AudioSource_t1135106623 * __this, double p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::SetScheduledEndTime(System.Double)
extern "C" void AudioSource_SetScheduledEndTime_m122925797 (AudioSource_t1135106623 * __this, double p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::SetScheduledStartTime(System.Double)
extern "C" void AudioSource_SetScheduledStartTime_m640448526 (AudioSource_t1135106623 * __this, double p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::Stop()
extern "C" void AudioSource_Stop_m3452679614 (AudioSource_t1135106623 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSoundfield::ShutdownSoundfield()
extern "C" void GvrAudioSoundfield_ShutdownSoundfield_m2554412452 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::UnPause()
extern "C" void AudioSource_UnPause_m1911402783 (AudioSource_t1135106623 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 GvrAudio::CreateAudioSoundfield()
extern "C" int32_t GvrAudio_CreateAudioSoundfield_m1783995047 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSoundfield::InitializeChannelSet(UnityEngine.AudioSource,System.Int32)
extern "C" void GvrAudioSoundfield_InitializeChannelSet_m2342420071 (GvrAudioSoundfield_t1301118448 * __this, AudioSource_t1135106623 * ___source0, int32_t ___channelSet1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSoundfield::ShutdownChannelSet(UnityEngine.AudioSource,System.Int32)
extern "C" void GvrAudioSoundfield_ShutdownChannelSet_m1300044223 (GvrAudioSoundfield_t1301118448 * __this, AudioSource_t1135106623 * ___source0, int32_t ___channelSet1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudio::DestroyAudioSource(System.Int32)
extern "C" void GvrAudio_DestroyAudioSource_m801182782 (Il2CppObject * __this /* static, unused */, int32_t ___id0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::set_spatialize(System.Boolean)
extern "C" void AudioSource_set_spatialize_m4140626972 (AudioSource_t1135106623 * __this, bool p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::set_spread(System.Single)
extern "C" void AudioSource_set_spread_m1707451775 (AudioSource_t1135106623 * __this, float p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.AudioRolloffMode GvrAudioSource::get_rolloffMode()
extern "C" int32_t GvrAudioSource_get_rolloffMode_m2079256484 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSource::OnValidate()
extern "C" void GvrAudioSource_OnValidate_m2508299240 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean GvrAudioSource::get_isPlaying()
extern "C" bool GvrAudioSource_get_isPlaying_m3816759052 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean GvrAudioSource::InitializeSource()
extern "C" bool GvrAudioSource_InitializeSource_m594433190 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSource::Play()
extern "C" void GvrAudioSource_Play_m3662053203 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSource::Stop()
extern "C" void GvrAudioSource_Stop_m896185459 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSource::Pause()
extern "C" void GvrAudioSource_Pause_m470842017 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSource::UnPause()
extern "C" void GvrAudioSource_UnPause_m1361505432 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single GvrAudio::ComputeOcclusion(UnityEngine.Transform)
extern "C" float GvrAudio_ComputeOcclusion_m400996319 (Il2CppObject * __this /* static, unused */, Transform_t3275118058 * ___sourceTransform0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudio::UpdateAudioSource(System.Int32,GvrAudioSource,System.Single)
extern "C" void GvrAudio_UpdateAudioSource_m1447747246 (Il2CppObject * __this /* static, unused */, int32_t ___id0, GvrAudioSource_t2307460312 * ___source1, float ___currentOcclusion2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::GetOutputData(System.Single[],System.Int32)
extern "C" void AudioSource_GetOutputData_m443764241 (AudioSource_t1135106623 * __this, SingleU5BU5D_t577127397* p0, int32_t p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::GetSpectrumData(System.Single[],System.Int32,UnityEngine.FFTWindow)
extern "C" void AudioSource_GetSpectrumData_m4116675176 (AudioSource_t1135106623 * __this, SingleU5BU5D_t577127397* p0, int32_t p1, int32_t p2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::Play()
extern "C" void AudioSource_Play_m353744792 (AudioSource_t1135106623 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::PlayDelayed(System.Single)
extern "C" void AudioSource_PlayDelayed_m1283429031 (AudioSource_t1135106623 * __this, float p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSource::PlayOneShot(UnityEngine.AudioClip,System.Single)
extern "C" void GvrAudioSource_PlayOneShot_m468197481 (GvrAudioSource_t2307460312 * __this, AudioClip_t1932558630 * ___clip0, float ___volume1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.AudioSource::PlayOneShot(UnityEngine.AudioClip,System.Single)
extern "C" void AudioSource_PlayOneShot_m4118899740 (AudioSource_t1135106623 * __this, AudioClip_t1932558630 * p0, float p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSource::ShutdownSource()
extern "C" void GvrAudioSource_ShutdownSource_m801851364 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 GvrAudio::CreateAudioSource(System.Boolean)
extern "C" int32_t GvrAudio_CreateAudioSource_m1984649488 (Il2CppObject * __this /* static, unused */, bool ___hrtfEnabled0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSource::set_clip(UnityEngine.AudioClip)
extern "C" void GvrAudioSource_set_clip_m150171591 (GvrAudioSource_t2307460312 * __this, AudioClip_t1932558630 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSource::set_loop(System.Boolean)
extern "C" void GvrAudioSource_set_loop_m1477845813 (GvrAudioSource_t2307460312 * __this, bool ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSource::set_mute(System.Boolean)
extern "C" void GvrAudioSource_set_mute_m2720289274 (GvrAudioSource_t2307460312 * __this, bool ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSource::set_pitch(System.Single)
extern "C" void GvrAudioSource_set_pitch_m2341430061 (GvrAudioSource_t2307460312 * __this, float ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSource::set_priority(System.Int32)
extern "C" void GvrAudioSource_set_priority_m2028801425 (GvrAudioSource_t2307460312 * __this, int32_t ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSource::set_spatialBlend(System.Single)
extern "C" void GvrAudioSource_set_spatialBlend_m2613394170 (GvrAudioSource_t2307460312 * __this, float ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSource::set_volume(System.Single)
extern "C" void GvrAudioSource_set_volume_m1423146671 (GvrAudioSource_t2307460312 * __this, float ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSource::set_dopplerLevel(System.Single)
extern "C" void GvrAudioSource_set_dopplerLevel_m2475613985 (GvrAudioSource_t2307460312 * __this, float ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSource::set_spread(System.Single)
extern "C" void GvrAudioSource_set_spread_m4221610670 (GvrAudioSource_t2307460312 * __this, float ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSource::set_minDistance(System.Single)
extern "C" void GvrAudioSource_set_minDistance_m4182013404 (GvrAudioSource_t2307460312 * __this, float ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSource::set_maxDistance(System.Single)
extern "C" void GvrAudioSource_set_maxDistance_m4049442018 (GvrAudioSource_t2307460312 * __this, float ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrAudioSource::set_rolloffMode(UnityEngine.AudioRolloffMode)
extern "C" void GvrAudioSource_set_rolloffMode_m3982865991 (GvrAudioSource_t2307460312 * __this, int32_t ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// !!0 UnityEngine.Object::FindObjectOfType<GvrAudioListener>()
#define Object_FindObjectOfType_TisGvrAudioListener_t1521766837_m1334356948(__this /* static, unused */, method) (( GvrAudioListener_t1521766837 * (*) (Il2CppObject * /* static, unused */, const MethodInfo*))Object_FindObjectOfType_TisIl2CppObject_m758847274_gshared)(__this /* static, unused */, method)
// System.Void GvrAudioSource::DrawDirectivityGizmo(UnityEngine.Transform,System.Single,System.Single,System.Int32)
extern "C" void GvrAudioSource_DrawDirectivityGizmo_m3726562269 (GvrAudioSource_t2307460312 * __this, Transform_t3275118058 * ___target0, float ___alpha1, float ___sharpness2, int32_t ___resolution3, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector2[] GvrAudio::Generate2dPolarPattern(System.Single,System.Single,System.Int32)
extern "C" Vector2U5BU5D_t686124026* GvrAudio_Generate2dPolarPattern_m4010778215 (Il2CppObject * __this /* static, unused */, float ___alpha0, float ___order1, int32_t ___resolution2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Mesh::.ctor()
extern "C" void Mesh__ctor_m2975981674 (Mesh_t1356156583 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Mesh::set_vertices(UnityEngine.Vector3[])
extern "C" void Mesh_set_vertices_m2936804213 (Mesh_t1356156583 * __this, Vector3U5BU5D_t1172311765* p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Mesh::set_triangles(System.Int32[])
extern "C" void Mesh_set_triangles_m3244966865 (Mesh_t1356156583 * __this, Int32U5BU5D_t3030399641* p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Mesh::RecalculateNormals()
extern "C" void Mesh_RecalculateNormals_m1034493793 (Mesh_t1356156583 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Mathf::Max(System.Single,System.Single)
extern "C" float Mathf_Max_m2564622569 (Il2CppObject * __this /* static, unused */, float p0, float p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Vector3::op_Multiply(System.Single,UnityEngine.Vector3)
extern "C" Vector3_t2243707580 Vector3_op_Multiply_m3872631309 (Il2CppObject * __this /* static, unused */, float p0, Vector3_t2243707580 p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Gizmos::DrawMesh(UnityEngine.Mesh,UnityEngine.Vector3,UnityEngine.Quaternion,UnityEngine.Vector3)
extern "C" void Gizmos_DrawMesh_m3249467004 (Il2CppObject * __this /* static, unused */, Mesh_t1356156583 * p0, Vector3_t2243707580 p1, Quaternion_t4030073918 p2, Vector3_t2243707580 p3, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// GvrPointerInputModule GvrPointerInputModule::FindInputModule()
extern "C" GvrPointerInputModule_t1603976810 * GvrPointerInputModule_FindInputModule_m1873422985 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// GvrPointerInputModuleImpl GvrPointerInputModule::get_Impl()
extern "C" GvrPointerInputModuleImpl_t2072755720 * GvrPointerInputModule_get_Impl_m3808415001 (GvrPointerInputModule_t1603976810 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.EventSystems.PointerEventData GvrPointerInputModuleImpl::get_CurrentEventData()
extern "C" PointerEventData_t1599784723 * GvrPointerInputModuleImpl_get_CurrentEventData_m208522044 (GvrPointerInputModuleImpl_t2072755720 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.EventSystems.RaycastResult UnityEngine.EventSystems.PointerEventData::get_pointerCurrentRaycast()
extern "C" RaycastResult_t21186376 PointerEventData_get_pointerCurrentRaycast_m1374279130 (PointerEventData_t1599784723 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.Input::GetMouseButtonDown(System.Int32)
extern "C" bool Input_GetMouseButtonDown_m47917805 (Il2CppObject * __this /* static, unused */, int32_t p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.Input::GetMouseButton(System.Int32)
extern "C" bool Input_GetMouseButton_m464100923 (Il2CppObject * __this /* static, unused */, int32_t p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrPointerManager::OnPointerCreated(GvrBasePointer)
extern "C" void GvrPointerManager_OnPointerCreated_m1891135371 (Il2CppObject * __this /* static, unused */, GvrBasePointer_t2150122635 * ___createdPointer0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.EventSystems.BaseRaycaster::.ctor()
extern "C" void BaseRaycaster__ctor_m1844650514 (BaseRaycaster_t2336171397 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// GvrBasePointer GvrPointerManager::get_Pointer()
extern "C" GvrBasePointer_t2150122635 * GvrPointerManager_get_Pointer_m2011861714 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean GvrBasePointer::get_ShouldUseExitRadiusForRaycast()
extern "C" bool GvrBasePointer_get_ShouldUseExitRadiusForRaycast_m3705361285 (GvrBasePointer_t2150122635 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean GvrBasePointerRaycaster::IsPointerAvailable()
extern "C" bool GvrBasePointerRaycaster_IsPointerAvailable_m2792971214 (GvrBasePointerRaycaster_t1189534163 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Transform::get_forward()
extern "C" Vector3_t2243707580 Transform_get_forward_m1833488937 (Transform_t3275118058 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single GvrBasePointerRaycaster::get_MaxPointerDistance()
extern "C" float GvrBasePointerRaycaster_get_MaxPointerDistance_m771532845 (GvrBasePointerRaycaster_t1189534163 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Camera UnityEngine.Camera::get_main()
extern "C" Camera_t189460977 * Camera_get_main_m475173995 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Vector3::Normalize()
extern "C" void Vector3_Normalize_m3679112426 (Vector3_t2243707580 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Camera::get_nearClipPlane()
extern "C" float Camera_get_nearClipPlane_m3536967407 (Camera_t189460977 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Ray::.ctor(UnityEngine.Vector3,UnityEngine.Vector3)
extern "C" void Ray__ctor_m3379034047 (Ray_t2469606224 * __this, Vector3_t2243707580 p0, Vector3_t2243707580 p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrBaseControllerVisual::.ctor()
extern "C" void GvrBaseControllerVisual__ctor_m3531331701 (GvrBaseControllerVisual_t4093442088 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.IntPtr UnityEngine.VR.VRDevice::GetNativePtr()
extern "C" IntPtr_t VRDevice_GetNativePtr_m1938964139 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrCardboardHelpers::gvr_reset_tracking(System.IntPtr)
extern "C" void GvrCardboardHelpers_gvr_reset_tracking_m3334065992 (Il2CppObject * __this /* static, unused */, IntPtr_t ___gvr_context0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrCardboardHelpers::gvr_set_default_viewer_profile(System.IntPtr,System.String)
extern "C" void GvrCardboardHelpers_gvr_set_default_viewer_profile_m4232937330 (Il2CppObject * __this /* static, unused */, IntPtr_t ___gvr_context0, String_t* ___viewer_profile_uri1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrDaydreamApi::.ctor()
extern "C" void GvrDaydreamApi__ctor_m1926314739 (GvrDaydreamApi_t4123913920 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Dropdown::.ctor()
extern "C" void Dropdown__ctor_m964984536 (Dropdown_t1985816271 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Dropdown::OnPointerClick(UnityEngine.EventSystems.PointerEventData)
extern "C" void Dropdown_OnPointerClick_m253039636 (Dropdown_t1985816271 * __this, PointerEventData_t1599784723 * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrDropdown::FixTemplateAndBlockerRaycasters()
extern "C" void GvrDropdown_FixTemplateAndBlockerRaycasters_m3605751466 (GvrDropdown_t2234606196 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Dropdown::OnSubmit(UnityEngine.EventSystems.BaseEventData)
extern "C" void Dropdown_OnSubmit_m3243881785 (Dropdown_t1985816271 * __this, BaseEventData_t2681005625 * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.RectTransform UnityEngine.UI.Dropdown::get_template()
extern "C" RectTransform_t3349966182 * Dropdown_get_template_m3014799983 (Dropdown_t1985816271 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrDropdown::FixRaycaster(UnityEngine.GameObject,System.Boolean)
extern "C" void GvrDropdown_FixRaycaster_m1697516107 (GvrDropdown_t2234606196 * __this, GameObject_t1756533147 * ___go0, bool ___shouldCopyProperties1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.GameObject UnityEngine.UI.Dropdown::CreateBlocker(UnityEngine.Canvas)
extern "C" GameObject_t1756533147 * Dropdown_CreateBlocker_m4109366440 (Dropdown_t1985816271 * __this, Canvas_t209405766 * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.GameObject UnityEngine.UI.Dropdown::CreateDropdownList(UnityEngine.GameObject)
extern "C" GameObject_t1756533147 * Dropdown_CreateDropdownList_m3718670168 (Dropdown_t1985816271 * __this, GameObject_t1756533147 * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// !!0 UnityEngine.GameObject::GetComponent<UnityEngine.UI.GraphicRaycaster>()
#define GameObject_GetComponent_TisGraphicRaycaster_t410733016_m3518220980(__this, method) (( GraphicRaycaster_t410733016 * (*) (GameObject_t1756533147 *, const MethodInfo*))GameObject_GetComponent_TisIl2CppObject_m4211544902_gshared)(__this, method)
// T GvrDropdown::GetOrAddComponent<GvrPointerGraphicRaycaster>(UnityEngine.GameObject,System.Boolean&)
#define GvrDropdown_GetOrAddComponent_TisGvrPointerGraphicRaycaster_t1649506702_m553117666(__this /* static, unused */, ___go0, ___addedComponent1, method) (( GvrPointerGraphicRaycaster_t1649506702 * (*) (Il2CppObject * /* static, unused */, GameObject_t1756533147 *, bool*, const MethodInfo*))GvrDropdown_GetOrAddComponent_TisIl2CppObject_m1936808774_gshared)(__this /* static, unused */, ___go0, ___addedComponent1, method)
// GvrPointerGraphicRaycaster GvrDropdown::GetTemplateRaycaster()
extern "C" GvrPointerGraphicRaycaster_t1649506702 * GvrDropdown_GetTemplateRaycaster_m2203793630 (GvrDropdown_t2234606196 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrDropdown::CopyRaycasterProperties(GvrPointerGraphicRaycaster,GvrPointerGraphicRaycaster)
extern "C" void GvrDropdown_CopyRaycasterProperties_m1926843691 (GvrDropdown_t2234606196 * __this, GvrPointerGraphicRaycaster_t1649506702 * ___source0, GvrPointerGraphicRaycaster_t1649506702 * ___dest1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// !!0 UnityEngine.Component::GetComponent<GvrPointerGraphicRaycaster>()
#define Component_GetComponent_TisGvrPointerGraphicRaycaster_t1649506702_m1701133637(__this, method) (( GvrPointerGraphicRaycaster_t1649506702 * (*) (Component_t3819376471 *, const MethodInfo*))Component_GetComponent_TisIl2CppObject_m4109961936_gshared)(__this, method)
// System.Void System.Collections.Generic.Dictionary`2<System.Type,GvrEventExecutor/EventDelegate>::.ctor()
#define Dictionary_2__ctor_m3921307911(__this, method) (( void (*) (Dictionary_2_t1587644483 *, const MethodInfo*))Dictionary_2__ctor_m584589095_gshared)(__this, method)
// System.Void GvrEventExecutor::AddEventDelegate<UnityEngine.EventSystems.IPointerClickHandler>(GvrEventExecutor/EventDelegate)
#define GvrEventExecutor_AddEventDelegate_TisIPointerClickHandler_t96169666_m1448185920(__this, ___eventDelegate0, method) (( void (*) (GvrEventExecutor_t1694572606 *, EventDelegate_t3945253882 *, const MethodInfo*))GvrEventExecutor_AddEventDelegate_TisIl2CppObject_m3840791101_gshared)(__this, ___eventDelegate0, method)
// System.Void GvrEventExecutor::RemoveEventDelegate<UnityEngine.EventSystems.IPointerClickHandler>(GvrEventExecutor/EventDelegate)
#define GvrEventExecutor_RemoveEventDelegate_TisIPointerClickHandler_t96169666_m1653697351(__this, ___eventDelegate0, method) (( void (*) (GvrEventExecutor_t1694572606 *, EventDelegate_t3945253882 *, const MethodInfo*))GvrEventExecutor_RemoveEventDelegate_TisIl2CppObject_m2164409686_gshared)(__this, ___eventDelegate0, method)
// System.Void GvrEventExecutor::AddEventDelegate<UnityEngine.EventSystems.IPointerDownHandler>(GvrEventExecutor/EventDelegate)
#define GvrEventExecutor_AddEventDelegate_TisIPointerDownHandler_t3929046918_m560529682(__this, ___eventDelegate0, method) (( void (*) (GvrEventExecutor_t1694572606 *, EventDelegate_t3945253882 *, const MethodInfo*))GvrEventExecutor_AddEventDelegate_TisIl2CppObject_m3840791101_gshared)(__this, ___eventDelegate0, method)
// System.Void GvrEventExecutor::RemoveEventDelegate<UnityEngine.EventSystems.IPointerDownHandler>(GvrEventExecutor/EventDelegate)
#define GvrEventExecutor_RemoveEventDelegate_TisIPointerDownHandler_t3929046918_m821445983(__this, ___eventDelegate0, method) (( void (*) (GvrEventExecutor_t1694572606 *, EventDelegate_t3945253882 *, const MethodInfo*))GvrEventExecutor_RemoveEventDelegate_TisIl2CppObject_m2164409686_gshared)(__this, ___eventDelegate0, method)
// System.Void GvrEventExecutor::AddEventDelegate<UnityEngine.EventSystems.IPointerUpHandler>(GvrEventExecutor/EventDelegate)
#define GvrEventExecutor_AddEventDelegate_TisIPointerUpHandler_t1847764461_m1683968963(__this, ___eventDelegate0, method) (( void (*) (GvrEventExecutor_t1694572606 *, EventDelegate_t3945253882 *, const MethodInfo*))GvrEventExecutor_AddEventDelegate_TisIl2CppObject_m3840791101_gshared)(__this, ___eventDelegate0, method)
// System.Void GvrEventExecutor::RemoveEventDelegate<UnityEngine.EventSystems.IPointerUpHandler>(GvrEventExecutor/EventDelegate)
#define GvrEventExecutor_RemoveEventDelegate_TisIPointerUpHandler_t1847764461_m3388920110(__this, ___eventDelegate0, method) (( void (*) (GvrEventExecutor_t1694572606 *, EventDelegate_t3945253882 *, const MethodInfo*))GvrEventExecutor_RemoveEventDelegate_TisIl2CppObject_m2164409686_gshared)(__this, ___eventDelegate0, method)
// System.Void GvrEventExecutor::AddEventDelegate<UnityEngine.EventSystems.IPointerEnterHandler>(GvrEventExecutor/EventDelegate)
#define GvrEventExecutor_AddEventDelegate_TisIPointerEnterHandler_t193164956_m30556150(__this, ___eventDelegate0, method) (( void (*) (GvrEventExecutor_t1694572606 *, EventDelegate_t3945253882 *, const MethodInfo*))GvrEventExecutor_AddEventDelegate_TisIl2CppObject_m3840791101_gshared)(__this, ___eventDelegate0, method)
// System.Void GvrEventExecutor::RemoveEventDelegate<UnityEngine.EventSystems.IPointerEnterHandler>(GvrEventExecutor/EventDelegate)
#define GvrEventExecutor_RemoveEventDelegate_TisIPointerEnterHandler_t193164956_m3547870765(__this, ___eventDelegate0, method) (( void (*) (GvrEventExecutor_t1694572606 *, EventDelegate_t3945253882 *, const MethodInfo*))GvrEventExecutor_RemoveEventDelegate_TisIl2CppObject_m2164409686_gshared)(__this, ___eventDelegate0, method)
// System.Void GvrEventExecutor::AddEventDelegate<UnityEngine.EventSystems.IPointerExitHandler>(GvrEventExecutor/EventDelegate)
#define GvrEventExecutor_AddEventDelegate_TisIPointerExitHandler_t461019860_m1019492654(__this, ___eventDelegate0, method) (( void (*) (GvrEventExecutor_t1694572606 *, EventDelegate_t3945253882 *, const MethodInfo*))GvrEventExecutor_AddEventDelegate_TisIl2CppObject_m3840791101_gshared)(__this, ___eventDelegate0, method)
// System.Void GvrEventExecutor::RemoveEventDelegate<UnityEngine.EventSystems.IPointerExitHandler>(GvrEventExecutor/EventDelegate)
#define GvrEventExecutor_RemoveEventDelegate_TisIPointerExitHandler_t461019860_m3421713581(__this, ___eventDelegate0, method) (( void (*) (GvrEventExecutor_t1694572606 *, EventDelegate_t3945253882 *, const MethodInfo*))GvrEventExecutor_RemoveEventDelegate_TisIl2CppObject_m2164409686_gshared)(__this, ___eventDelegate0, method)
// System.Void GvrEventExecutor/EventDelegate::Invoke(UnityEngine.GameObject,UnityEngine.EventSystems.PointerEventData)
extern "C" void EventDelegate_Invoke_m3556559983 (EventDelegate_t3945253882 * __this, GameObject_t1756533147 * ___target0, PointerEventData_t1599784723 * ___eventData1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// !!0 UnityEngine.EventSystems.ExecuteEvents::ValidateEventData<UnityEngine.EventSystems.PointerEventData>(UnityEngine.EventSystems.BaseEventData)
#define ExecuteEvents_ValidateEventData_TisPointerEventData_t1599784723_m1649947406(__this /* static, unused */, p0, method) (( PointerEventData_t1599784723 * (*) (Il2CppObject * /* static, unused */, BaseEventData_t2681005625 *, const MethodInfo*))ExecuteEvents_ValidateEventData_TisIl2CppObject_m3838331218_gshared)(__this /* static, unused */, p0, method)
// System.Void UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<IGvrPointerHoverHandler>::.ctor(System.Object,System.IntPtr)
#define EventFunction_1__ctor_m2039577089(__this, p0, p1, method) (( void (*) (EventFunction_1_t181019251 *, Il2CppObject *, IntPtr_t, const MethodInfo*))EventFunction_1__ctor_m814090495_gshared)(__this, p0, p1, method)
// !!0 UnityEngine.Component::GetComponent<UnityEngine.UI.Text>()
#define Component_GetComponent_TisText_t356221433_m1342661039(__this, method) (( Text_t356221433 * (*) (Component_t3819376471 *, const MethodInfo*))Component_GetComponent_TisIl2CppObject_m4109961936_gshared)(__this, method)
// !!0 UnityEngine.Component::GetComponent<UnityEngine.Transform>()
#define Component_GetComponent_TisTransform_t3275118058_m235623703(__this, method) (( Transform_t3275118058 * (*) (Component_t3819376471 *, const MethodInfo*))Component_GetComponent_TisIl2CppObject_m4109961936_gshared)(__this, method)
// System.Single UnityEngine.Time::get_unscaledDeltaTime()
extern "C" float Time_get_unscaledDeltaTime_m4281640537 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Mathf::Lerp(System.Single,System.Single,System.Single)
extern "C" float Mathf_Lerp_m1686556575 (Il2CppObject * __this /* static, unused */, float p0, float p1, float p2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.String System.Single::ToString(System.String)
extern "C" String_t* Single_ToString_m2359963436 (float* __this, String_t* p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 UnityEngine.Mathf::RoundToInt(System.Single)
extern "C" int32_t Mathf_RoundToInt_m2927198556 (Il2CppObject * __this /* static, unused */, float p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.String System.String::Format(System.String,System.Object,System.Object)
extern "C" String_t* String_Format_m1811873526 (Il2CppObject * __this /* static, unused */, String_t* p0, Il2CppObject * p1, Il2CppObject * p2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::get_zero()
extern "C" Matrix4x4_t2933234003 Matrix4x4_get_zero_m2893472556 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// Gvr.Internal.IKeyboardProvider Gvr.Internal.KeyboardProviderFactory::CreateKeyboardProvider(GvrKeyboard)
extern "C" Il2CppObject * KeyboardProviderFactory_CreateKeyboardProvider_m1653736575 (Il2CppObject * __this /* static, unused */, GvrKeyboard_t598184456 * ___owner0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrKeyboard/ErrorCallback::.ctor(System.Object,System.IntPtr)
extern "C" void ErrorCallback__ctor_m869251959 (ErrorCallback_t1270209242 * __this, Il2CppObject * ___object0, IntPtr_t ___method1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrKeyboard/StandardCallback::.ctor(System.Object,System.IntPtr)
extern "C" void StandardCallback__ctor_m1848505198 (StandardCallback_t1386534425 * __this, Il2CppObject * ___object0, IntPtr_t ___method1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrKeyboard/EditTextCallback::.ctor(System.Object,System.IntPtr)
extern "C" void EditTextCallback__ctor_m4032200664 (EditTextCallback_t661057455 * __this, Il2CppObject * ___object0, IntPtr_t ___method1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.EventHandler::.ctor(System.Object,System.IntPtr)
extern "C" void EventHandler__ctor_m3447735595 (EventHandler_t277755526 * __this, Il2CppObject * p0, IntPtr_t p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean GvrKeyboard::get_IsValid()
extern "C" bool GvrKeyboard_get_IsValid_m933893404 (GvrKeyboard_t598184456 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrKeyboard/KeyboardCallback::.ctor(System.Object,System.IntPtr)
extern "C" void KeyboardCallback__ctor_m2947035214 (KeyboardCallback_t4001681579 * __this, Il2CppObject * ___object0, IntPtr_t ___method1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean GvrKeyboard::get_IsReady()
extern "C" bool GvrKeyboard_get_IsReady_m582613765 (GvrKeyboard_t598184456 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.Transform::get_hasChanged()
extern "C" bool Transform_get_hasChanged_m4220930228 (Transform_t3275118058 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrKeyboard::Show()
extern "C" void GvrKeyboard_Show_m2673766430 (GvrKeyboard_t598184456 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Transform::set_hasChanged(System.Boolean)
extern "C" void Transform_set_hasChanged_m2322582363 (Transform_t3275118058 * __this, bool p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Camera UnityEngine.Camera::get_current()
extern "C" Camera_t189460977 * Camera_get_current_m2639890517 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.Object::op_Implicit(UnityEngine.Object)
extern "C" bool Object_op_Implicit_m2856731593 (Il2CppObject * __this /* static, unused */, Object_t1021602117 * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Matrix4x4 UnityEngine.Camera::GetStereoProjectionMatrix(UnityEngine.Camera/StereoscopicEye)
extern "C" Matrix4x4_t2933234003 Camera_GetStereoProjectionMatrix_m1452216890 (Camera_t189460977 * __this, int32_t p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Matrix4x4 UnityEngine.Camera::GetStereoViewMatrix(UnityEngine.Camera/StereoscopicEye)
extern "C" Matrix4x4_t2933234003 Camera_GetStereoViewMatrix_m3693763010 (Camera_t189460977 * __this, int32_t p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Rect UnityEngine.Camera::get_pixelRect()
extern "C" Rect_t3681755626 Camera_get_pixelRect_m2084185953 (Camera_t189460977 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::get_identity()
extern "C" Matrix4x4_t2933234003 Matrix4x4_get_identity_m3039560904 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Matrix4x4 GvrKeyboard::GetKeyboardObjectMatrix(UnityEngine.Vector3)
extern "C" Matrix4x4_t2933234003 GvrKeyboard_GetKeyboardObjectMatrix_m2898371228 (GvrKeyboard_t598184456 * __this, Vector3_t2243707580 ___position0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Collections.IEnumerator GvrKeyboard::Executer()
extern "C" Il2CppObject * GvrKeyboard_Executer_m1146748672 (GvrKeyboard_t598184456 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.MonoBehaviour::StopCoroutine(System.Collections.IEnumerator)
extern "C" void MonoBehaviour_StopCoroutine_m1170478282 (MonoBehaviour_t1158329972 * __this, Il2CppObject * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrKeyboard/<Executer>c__Iterator0::.ctor()
extern "C" void U3CExecuterU3Ec__Iterator0__ctor_m4019602360 (U3CExecuterU3Ec__Iterator0_t1374321097 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrKeyboard/ErrorCallback::Invoke(GvrKeyboardError)
extern "C" void ErrorCallback_Invoke_m2963148981 (ErrorCallback_t1270209242 * __this, int32_t ___err0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrKeyboard/StandardCallback::Invoke()
extern "C" void StandardCallback_Invoke_m3534083516 (StandardCallback_t1386534425 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrKeyboard/EditTextCallback::Invoke(System.String)
extern "C" void EditTextCallback_Invoke_m2867238628 (EditTextCallback_t661057455 * __this, String_t* ___edit_text0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Collections.Generic.List`1<GvrKeyboardEvent>::Add(!0)
#define List_1_Add_m578552031(__this, p0, method) (( void (*) (List_1_t683592616 *, int32_t, const MethodInfo*))List_1_Add_m578552031_gshared)(__this, p0, method)
// UnityEngine.Quaternion UnityEngine.Quaternion::LookRotation(UnityEngine.Vector3)
extern "C" Quaternion_t4030073918 Quaternion_LookRotation_m633695927 (Il2CppObject * __this /* static, unused */, Vector3_t2243707580 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Matrix4x4::SetTRS(UnityEngine.Vector3,UnityEngine.Quaternion,UnityEngine.Vector3)
extern "C" void Matrix4x4_SetTRS_m3756460302 (Matrix4x4_t2933234003 * __this, Vector3_t2243707580 p0, Quaternion_t4030073918 p1, Vector3_t2243707580 p2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Matrix4x4::get_Item(System.Int32,System.Int32)
extern "C" float Matrix4x4_get_Item_m312280350 (Matrix4x4_t2933234003 * __this, int32_t p0, int32_t p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector4 UnityEngine.Matrix4x4::GetRow(System.Int32)
extern "C" Vector4_t2243707581 Matrix4x4_GetRow_m3874586412 (Matrix4x4_t2933234003 * __this, int32_t p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Vector4::.ctor(System.Single,System.Single,System.Single,System.Single)
extern "C" void Vector4__ctor_m1222289168 (Vector4_t2243707581 * __this, float p0, float p1, float p2, float p3, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Matrix4x4::SetRow(System.Int32,UnityEngine.Vector4)
extern "C" void Matrix4x4_SetRow_m117954573 (Matrix4x4_t2933234003 * __this, int32_t p0, Vector4_t2243707581 p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Collections.Generic.List`1<GvrKeyboardEvent>::.ctor()
#define List_1__ctor_m1488812387(__this, method) (( void (*) (List_1_t683592616 *, const MethodInfo*))List_1__ctor_m1488812387_gshared)(__this, method)
// System.Void UnityEngine.WaitForSeconds::.ctor(System.Single)
extern "C" void WaitForSeconds__ctor_m1990515539 (WaitForSeconds_t3839502067 * __this, float p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// !0 System.Collections.Generic.List`1<GvrKeyboardEvent>::get_Item(System.Int32)
#define List_1_get_Item_m722956656(__this, p0, method) (( int32_t (*) (List_1_t683592616 *, int32_t, const MethodInfo*))List_1_get_Item_m722956656_gshared)(__this, p0, method)
// System.Void GvrKeyboard::PoolKeyboardCallbacks(GvrKeyboardEvent)
extern "C" void GvrKeyboard_PoolKeyboardCallbacks_m1976974374 (GvrKeyboard_t598184456 * __this, int32_t ___keyboardEvent0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Collections.Generic.List`1<GvrKeyboardEvent>::RemoveAt(System.Int32)
#define List_1_RemoveAt_m197372785(__this, p0, method) (( void (*) (List_1_t683592616 *, int32_t, const MethodInfo*))List_1_RemoveAt_m197372785_gshared)(__this, p0, method)
// System.Int32 System.Collections.Generic.List`1<GvrKeyboardEvent>::get_Count()
#define List_1_get_Count_m2164786539(__this, method) (( int32_t (*) (List_1_t683592616 *, const MethodInfo*))List_1_get_Count_m2164786539_gshared)(__this, method)
// System.Void GvrBasePointer::.ctor()
extern "C" void GvrBasePointer__ctor_m677865000 (GvrBasePointer_t2150122635 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrLaserPointerImpl::set_MaxLaserDistance(System.Single)
extern "C" void GvrLaserPointerImpl_set_MaxLaserDistance_m3674615216 (GvrLaserPointerImpl_t2141976067 * __this, float ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void GvrLaserPointerImpl::set_MaxReticleDistance(System.Single)
extern "C" void GvrLaserPointerImpl_set_MaxReticleDistance_m3254151873 (GvrLaserPointerImpl_t2141976067 * __this, float ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// !!0 UnityEngine.GameObject::GetComponent<UnityEngine.MeshFilter>()
#define GameObject_GetComponent_TisMeshFilter_t3026937449_m1728707518(__this, method) (( MeshFilter_t3026937449 * (*) (GameObject_t1756533147 *, const MethodInfo*))GameObject_GetComponent_TisIl2CppObject_m4211544902_gshared)(__this, method)
// UnityEngine.Mesh UnityEngine.MeshFilter::get_mesh()
extern "C" Mesh_t1356156583 * MeshFilter_get_mesh_m977520135 (MeshFilter_t3026937449 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Bounds UnityEngine.Mesh::get_bounds()
extern "C" Bounds_t3033363703 Mesh_get_bounds_m1752141467 (Mesh_t1356156583 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Bounds::get_size()
extern "C" Vector3_t2243707580 Bounds_get_size_m1728027642 (Bounds_t3033363703 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void balloon::.ctor()
extern "C" void balloon__ctor_m997150706 (balloon_t2980151287 * __this, const MethodInfo* method)
{
{
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void balloon::Start()
extern "C" void balloon_Start_m13999358 (balloon_t2980151287 * __this, const MethodInfo* method)
{
{
// }
return;
}
}
// System.Void balloon::Update()
extern "C" void balloon_Update_m3371549975 (balloon_t2980151287 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (balloon_Update_m3371549975_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Vector3_t2243707580 V_0;
memset(&V_0, 0, sizeof(V_0));
Vector3_t2243707580 V_1;
memset(&V_1, 0, sizeof(V_1));
Vector3_t2243707580 V_2;
memset(&V_2, 0, sizeof(V_2));
Vector3_t2243707580 V_3;
memset(&V_3, 0, sizeof(V_3));
Vector3_t2243707580 V_4;
memset(&V_4, 0, sizeof(V_4));
{
// transform.position = new Vector3 (transform.position.x, transform.position.y + speed * Time.deltaTime, transform.position.z);
// transform.position = new Vector3 (transform.position.x, transform.position.y + speed * Time.deltaTime, transform.position.z);
Transform_t3275118058 * L_0 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
// transform.position = new Vector3 (transform.position.x, transform.position.y + speed * Time.deltaTime, transform.position.z);
Transform_t3275118058 * L_1 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
// transform.position = new Vector3 (transform.position.x, transform.position.y + speed * Time.deltaTime, transform.position.z);
NullCheck(L_1);
Vector3_t2243707580 L_2 = Transform_get_position_m1104419803(L_1, /*hidden argument*/NULL);
V_0 = L_2;
float L_3 = (&V_0)->get_x_1();
// transform.position = new Vector3 (transform.position.x, transform.position.y + speed * Time.deltaTime, transform.position.z);
Transform_t3275118058 * L_4 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
// transform.position = new Vector3 (transform.position.x, transform.position.y + speed * Time.deltaTime, transform.position.z);
NullCheck(L_4);
Vector3_t2243707580 L_5 = Transform_get_position_m1104419803(L_4, /*hidden argument*/NULL);
V_1 = L_5;
float L_6 = (&V_1)->get_y_2();
float L_7 = __this->get_speed_2();
// transform.position = new Vector3 (transform.position.x, transform.position.y + speed * Time.deltaTime, transform.position.z);
float L_8 = Time_get_deltaTime_m2233168104(NULL /*static, unused*/, /*hidden argument*/NULL);
// transform.position = new Vector3 (transform.position.x, transform.position.y + speed * Time.deltaTime, transform.position.z);
Transform_t3275118058 * L_9 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
// transform.position = new Vector3 (transform.position.x, transform.position.y + speed * Time.deltaTime, transform.position.z);
NullCheck(L_9);
Vector3_t2243707580 L_10 = Transform_get_position_m1104419803(L_9, /*hidden argument*/NULL);
V_2 = L_10;
float L_11 = (&V_2)->get_z_3();
// transform.position = new Vector3 (transform.position.x, transform.position.y + speed * Time.deltaTime, transform.position.z);
Vector3_t2243707580 L_12;
memset(&L_12, 0, sizeof(L_12));
Vector3__ctor_m2638739322(&L_12, L_3, ((float)((float)L_6+(float)((float)((float)L_7*(float)L_8)))), L_11, /*hidden argument*/NULL);
// transform.position = new Vector3 (transform.position.x, transform.position.y + speed * Time.deltaTime, transform.position.z);
NullCheck(L_0);
Transform_set_position_m2469242620(L_0, L_12, /*hidden argument*/NULL);
// if (transform.localScale.x < 20) {
// if (transform.localScale.x < 20) {
Transform_t3275118058 * L_13 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
// if (transform.localScale.x < 20) {
NullCheck(L_13);
Vector3_t2243707580 L_14 = Transform_get_localScale_m3074381503(L_13, /*hidden argument*/NULL);
V_3 = L_14;
float L_15 = (&V_3)->get_x_1();
if ((!(((float)L_15) < ((float)(20.0f)))))
{
goto IL_00b0;
}
}
{
// transform.localScale = transform.localScale + new Vector3(Time.deltaTime, Time.deltaTime, Time.deltaTime) * bigger;
// transform.localScale = transform.localScale + new Vector3(Time.deltaTime, Time.deltaTime, Time.deltaTime) * bigger;
Transform_t3275118058 * L_16 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
// transform.localScale = transform.localScale + new Vector3(Time.deltaTime, Time.deltaTime, Time.deltaTime) * bigger;
Transform_t3275118058 * L_17 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
// transform.localScale = transform.localScale + new Vector3(Time.deltaTime, Time.deltaTime, Time.deltaTime) * bigger;
NullCheck(L_17);
Vector3_t2243707580 L_18 = Transform_get_localScale_m3074381503(L_17, /*hidden argument*/NULL);
// transform.localScale = transform.localScale + new Vector3(Time.deltaTime, Time.deltaTime, Time.deltaTime) * bigger;
float L_19 = Time_get_deltaTime_m2233168104(NULL /*static, unused*/, /*hidden argument*/NULL);
// transform.localScale = transform.localScale + new Vector3(Time.deltaTime, Time.deltaTime, Time.deltaTime) * bigger;
float L_20 = Time_get_deltaTime_m2233168104(NULL /*static, unused*/, /*hidden argument*/NULL);
// transform.localScale = transform.localScale + new Vector3(Time.deltaTime, Time.deltaTime, Time.deltaTime) * bigger;
float L_21 = Time_get_deltaTime_m2233168104(NULL /*static, unused*/, /*hidden argument*/NULL);
// transform.localScale = transform.localScale + new Vector3(Time.deltaTime, Time.deltaTime, Time.deltaTime) * bigger;
Vector3_t2243707580 L_22;
memset(&L_22, 0, sizeof(L_22));
Vector3__ctor_m2638739322(&L_22, L_19, L_20, L_21, /*hidden argument*/NULL);
float L_23 = __this->get_bigger_3();
// transform.localScale = transform.localScale + new Vector3(Time.deltaTime, Time.deltaTime, Time.deltaTime) * bigger;
Vector3_t2243707580 L_24 = Vector3_op_Multiply_m1351554733(NULL /*static, unused*/, L_22, L_23, /*hidden argument*/NULL);
// transform.localScale = transform.localScale + new Vector3(Time.deltaTime, Time.deltaTime, Time.deltaTime) * bigger;
Vector3_t2243707580 L_25 = Vector3_op_Addition_m3146764857(NULL /*static, unused*/, L_18, L_24, /*hidden argument*/NULL);
// transform.localScale = transform.localScale + new Vector3(Time.deltaTime, Time.deltaTime, Time.deltaTime) * bigger;
NullCheck(L_16);
Transform_set_localScale_m2325460848(L_16, L_25, /*hidden argument*/NULL);
}
IL_00b0:
{
// if (transform.position.y > 500)
// if (transform.position.y > 500)
Transform_t3275118058 * L_26 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
// if (transform.position.y > 500)
NullCheck(L_26);
Vector3_t2243707580 L_27 = Transform_get_position_m1104419803(L_26, /*hidden argument*/NULL);
V_4 = L_27;
float L_28 = (&V_4)->get_y_2();
if ((!(((float)L_28) > ((float)(500.0f)))))
{
goto IL_00d9;
}
}
{
// Destroy (this.gameObject);
// Destroy (this.gameObject);
GameObject_t1756533147 * L_29 = Component_get_gameObject_m3105766835(__this, /*hidden argument*/NULL);
// Destroy (this.gameObject);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
Object_Destroy_m4145850038(NULL /*static, unused*/, L_29, /*hidden argument*/NULL);
}
IL_00d9:
{
// }
return;
}
}
// System.Void balloon::OnTriggerEnter(UnityEngine.Collider)
extern "C" void balloon_OnTriggerEnter_m4040106270 (balloon_t2980151287 * __this, Collider_t3497673348 * ___col0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (balloon_OnTriggerEnter_m4040106270_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (col.gameObject.CompareTag ("beem")) {
Collider_t3497673348 * L_0 = ___col0;
// if (col.gameObject.CompareTag ("beem")) {
NullCheck(L_0);
GameObject_t1756533147 * L_1 = Component_get_gameObject_m3105766835(L_0, /*hidden argument*/NULL);
// if (col.gameObject.CompareTag ("beem")) {
NullCheck(L_1);
bool L_2 = GameObject_CompareTag_m2797152613(L_1, _stringLiteral1051108099, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0023;
}
}
{
// Destroy (this.gameObject);
// Destroy (this.gameObject);
GameObject_t1756533147 * L_3 = Component_get_gameObject_m3105766835(__this, /*hidden argument*/NULL);
// Destroy (this.gameObject);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
Object_Destroy_m4145850038(NULL /*static, unused*/, L_3, /*hidden argument*/NULL);
}
IL_0023:
{
// }
return;
}
}
// System.Void balloonMake::.ctor()
extern "C" void balloonMake__ctor_m1812657632 (balloonMake_t2793062909 * __this, const MethodInfo* method)
{
{
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void balloonMake::Start()
extern "C" void balloonMake_Start_m1639640664 (balloonMake_t2793062909 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (balloonMake_Start_m1639640664_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// hoge = 0.0f;
__this->set_hoge_3((0.0f));
// circleScale = 300.0f;
__this->set_circleScale_4((300.0f));
// balloon = (GameObject)Resources.Load ("Prefab/balloon");
// balloon = (GameObject)Resources.Load ("Prefab/balloon");
Object_t1021602117 * L_0 = Resources_Load_m2041782325(NULL /*static, unused*/, _stringLiteral2041116264, /*hidden argument*/NULL);
__this->set_balloon_5(((GameObject_t1756533147 *)CastclassSealed(L_0, GameObject_t1756533147_il2cpp_TypeInfo_var)));
// }
return;
}
}
// System.Void balloonMake::Update()
extern "C" void balloonMake_Update_m2723459741 (balloonMake_t2793062909 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (balloonMake_Update_m2723459741_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
Vector3_t2243707580 V_1;
memset(&V_1, 0, sizeof(V_1));
{
// hoge += Time.deltaTime;
float L_0 = __this->get_hoge_3();
// hoge += Time.deltaTime;
float L_1 = Time_get_deltaTime_m2233168104(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_hoge_3(((float)((float)L_0+(float)L_1)));
// if (hoge > interval) {
float L_2 = __this->get_hoge_3();
float L_3 = __this->get_interval_2();
if ((!(((float)L_2) > ((float)L_3))))
{
goto IL_00ac;
}
}
{
// Instantiate (balloon, transform.position, transform.localRotation);
GameObject_t1756533147 * L_4 = __this->get_balloon_5();
// Instantiate (balloon, transform.position, transform.localRotation);
Transform_t3275118058 * L_5 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
// Instantiate (balloon, transform.position, transform.localRotation);
NullCheck(L_5);
Vector3_t2243707580 L_6 = Transform_get_position_m1104419803(L_5, /*hidden argument*/NULL);
// Instantiate (balloon, transform.position, transform.localRotation);
Transform_t3275118058 * L_7 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
// Instantiate (balloon, transform.position, transform.localRotation);
NullCheck(L_7);
Quaternion_t4030073918 L_8 = Transform_get_localRotation_m4001487205(L_7, /*hidden argument*/NULL);
// Instantiate (balloon, transform.position, transform.localRotation);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
Object_Instantiate_TisGameObject_t1756533147_m3064851704(NULL /*static, unused*/, L_4, L_6, L_8, /*hidden argument*/Object_Instantiate_TisGameObject_t1756533147_m3064851704_MethodInfo_var);
// float rand = Random.Range (0.0f, 2.0f);
// float rand = Random.Range (0.0f, 2.0f);
float L_9 = Random_Range_m2884721203(NULL /*static, unused*/, (0.0f), (2.0f), /*hidden argument*/NULL);
V_0 = L_9;
// transform.position = new Vector3 (circleScale * Mathf.Sin (rand * Mathf.PI), transform
// transform.position = new Vector3 (circleScale * Mathf.Sin (rand * Mathf.PI), transform
Transform_t3275118058 * L_10 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
float L_11 = __this->get_circleScale_4();
float L_12 = V_0;
// transform.position = new Vector3 (circleScale * Mathf.Sin (rand * Mathf.PI), transform
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_13 = sinf(((float)((float)L_12*(float)(3.14159274f))));
// transform.position = new Vector3 (circleScale * Mathf.Sin (rand * Mathf.PI), transform
Transform_t3275118058 * L_14 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
// .position.y, circleScale * Mathf.Cos (rand * Mathf.PI));
NullCheck(L_14);
Vector3_t2243707580 L_15 = Transform_get_position_m1104419803(L_14, /*hidden argument*/NULL);
V_1 = L_15;
float L_16 = (&V_1)->get_y_2();
float L_17 = __this->get_circleScale_4();
float L_18 = V_0;
// .position.y, circleScale * Mathf.Cos (rand * Mathf.PI));
float L_19 = cosf(((float)((float)L_18*(float)(3.14159274f))));
// transform.position = new Vector3 (circleScale * Mathf.Sin (rand * Mathf.PI), transform
Vector3_t2243707580 L_20;
memset(&L_20, 0, sizeof(L_20));
Vector3__ctor_m2638739322(&L_20, ((float)((float)L_11*(float)L_13)), L_16, ((float)((float)L_17*(float)L_19)), /*hidden argument*/NULL);
// transform.position = new Vector3 (circleScale * Mathf.Sin (rand * Mathf.PI), transform
NullCheck(L_10);
Transform_set_position_m2469242620(L_10, L_20, /*hidden argument*/NULL);
// hoge = 0.0f;
__this->set_hoge_3((0.0f));
}
IL_00ac:
{
// }
return;
}
}
// System.Void BaseScrollEffect::.ctor()
extern "C" void BaseScrollEffect__ctor_m560937132 (BaseScrollEffect_t2855282033 * __this, const MethodInfo* method)
{
{
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void BaseTile::.ctor()
extern "C" void BaseTile__ctor_m3313659900 (BaseTile_t3549052087 * __this, const MethodInfo* method)
{
{
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void beem::.ctor()
extern "C" void beem__ctor_m2428984550 (beem_t323029581 * __this, const MethodInfo* method)
{
{
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void beem::Start()
extern "C" void beem_Start_m2691062574 (beem_t323029581 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (beem_Start_m2691062574_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Color_t2020392075 V_0;
memset(&V_0, 0, sizeof(V_0));
Color_t2020392075 V_1;
memset(&V_1, 0, sizeof(V_1));
Color_t2020392075 V_2;
memset(&V_2, 0, sizeof(V_2));
Color_t2020392075 V_3;
memset(&V_3, 0, sizeof(V_3));
Color_t2020392075 V_4;
memset(&V_4, 0, sizeof(V_4));
Color_t2020392075 V_5;
memset(&V_5, 0, sizeof(V_5));
{
// cyl = GameObject.Find ("Cylinder");
// cyl = GameObject.Find ("Cylinder");
GameObject_t1756533147 * L_0 = GameObject_Find_m836511350(NULL /*static, unused*/, _stringLiteral181058256, /*hidden argument*/NULL);
__this->set_cyl_2(L_0);
// lastMarker = tr.localPosition;
Transform_t3275118058 * L_1 = __this->get_tr_3();
// lastMarker = tr.localPosition;
NullCheck(L_1);
Vector3_t2243707580 L_2 = Transform_get_localPosition_m2533925116(L_1, /*hidden argument*/NULL);
__this->set_lastMarker_8(L_2);
// fire = new Color (mat.material.color.r, mat.material.color.g, mat.material.color.b, 64);
Renderer_t257310565 * L_3 = __this->get_mat_7();
// fire = new Color (mat.material.color.r, mat.material.color.g, mat.material.color.b, 64);
NullCheck(L_3);
Material_t193706927 * L_4 = Renderer_get_material_m2553789785(L_3, /*hidden argument*/NULL);
// fire = new Color (mat.material.color.r, mat.material.color.g, mat.material.color.b, 64);
NullCheck(L_4);
Color_t2020392075 L_5 = Material_get_color_m668215843(L_4, /*hidden argument*/NULL);
V_0 = L_5;
float L_6 = (&V_0)->get_r_0();
Renderer_t257310565 * L_7 = __this->get_mat_7();
// fire = new Color (mat.material.color.r, mat.material.color.g, mat.material.color.b, 64);
NullCheck(L_7);
Material_t193706927 * L_8 = Renderer_get_material_m2553789785(L_7, /*hidden argument*/NULL);
// fire = new Color (mat.material.color.r, mat.material.color.g, mat.material.color.b, 64);
NullCheck(L_8);
Color_t2020392075 L_9 = Material_get_color_m668215843(L_8, /*hidden argument*/NULL);
V_1 = L_9;
float L_10 = (&V_1)->get_g_1();
Renderer_t257310565 * L_11 = __this->get_mat_7();
// fire = new Color (mat.material.color.r, mat.material.color.g, mat.material.color.b, 64);
NullCheck(L_11);
Material_t193706927 * L_12 = Renderer_get_material_m2553789785(L_11, /*hidden argument*/NULL);
// fire = new Color (mat.material.color.r, mat.material.color.g, mat.material.color.b, 64);
NullCheck(L_12);
Color_t2020392075 L_13 = Material_get_color_m668215843(L_12, /*hidden argument*/NULL);
V_2 = L_13;
float L_14 = (&V_2)->get_b_2();
// fire = new Color (mat.material.color.r, mat.material.color.g, mat.material.color.b, 64);
Color_t2020392075 L_15;
memset(&L_15, 0, sizeof(L_15));
Color__ctor_m1909920690(&L_15, L_6, L_10, L_14, (64.0f), /*hidden argument*/NULL);
__this->set_fire_5(L_15);
// hide = new Color (mat.material.color.r, mat.material.color.g, mat.material.color.b, 0);
Renderer_t257310565 * L_16 = __this->get_mat_7();
// hide = new Color (mat.material.color.r, mat.material.color.g, mat.material.color.b, 0);
NullCheck(L_16);
Material_t193706927 * L_17 = Renderer_get_material_m2553789785(L_16, /*hidden argument*/NULL);
// hide = new Color (mat.material.color.r, mat.material.color.g, mat.material.color.b, 0);
NullCheck(L_17);
Color_t2020392075 L_18 = Material_get_color_m668215843(L_17, /*hidden argument*/NULL);
V_3 = L_18;
float L_19 = (&V_3)->get_r_0();
Renderer_t257310565 * L_20 = __this->get_mat_7();
// hide = new Color (mat.material.color.r, mat.material.color.g, mat.material.color.b, 0);
NullCheck(L_20);
Material_t193706927 * L_21 = Renderer_get_material_m2553789785(L_20, /*hidden argument*/NULL);
// hide = new Color (mat.material.color.r, mat.material.color.g, mat.material.color.b, 0);
NullCheck(L_21);
Color_t2020392075 L_22 = Material_get_color_m668215843(L_21, /*hidden argument*/NULL);
V_4 = L_22;
float L_23 = (&V_4)->get_g_1();
Renderer_t257310565 * L_24 = __this->get_mat_7();
// hide = new Color (mat.material.color.r, mat.material.color.g, mat.material.color.b, 0);
NullCheck(L_24);
Material_t193706927 * L_25 = Renderer_get_material_m2553789785(L_24, /*hidden argument*/NULL);
// hide = new Color (mat.material.color.r, mat.material.color.g, mat.material.color.b, 0);
NullCheck(L_25);
Color_t2020392075 L_26 = Material_get_color_m668215843(L_25, /*hidden argument*/NULL);
V_5 = L_26;
float L_27 = (&V_5)->get_b_2();
// hide = new Color (mat.material.color.r, mat.material.color.g, mat.material.color.b, 0);
Color_t2020392075 L_28;
memset(&L_28, 0, sizeof(L_28));
Color__ctor_m1909920690(&L_28, L_19, L_23, L_27, (0.0f), /*hidden argument*/NULL);
__this->set_hide_6(L_28);
// }
return;
}
}
// System.Void beem::Update()
extern "C" void beem_Update_m422681773 (beem_t323029581 * __this, const MethodInfo* method)
{
Vector3_t2243707580 V_0;
memset(&V_0, 0, sizeof(V_0));
Vector3_t2243707580 V_1;
memset(&V_1, 0, sizeof(V_1));
Vector3_t2243707580 V_2;
memset(&V_2, 0, sizeof(V_2));
Vector3_t2243707580 V_3;
memset(&V_3, 0, sizeof(V_3));
Vector3_t2243707580 V_4;
memset(&V_4, 0, sizeof(V_4));
Vector3_t2243707580 V_5;
memset(&V_5, 0, sizeof(V_5));
Vector3_t2243707580 V_6;
memset(&V_6, 0, sizeof(V_6));
Vector3_t2243707580 V_7;
memset(&V_7, 0, sizeof(V_7));
Vector3_t2243707580 V_8;
memset(&V_8, 0, sizeof(V_8));
Vector3_t2243707580 V_9;
memset(&V_9, 0, sizeof(V_9));
{
// transform.position = new Vector3(
// transform.position = new Vector3(
Transform_t3275118058 * L_0 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
Transform_t3275118058 * L_1 = __this->get_tr_3();
// tr.position.x + ar.localPosition.x,
NullCheck(L_1);
Vector3_t2243707580 L_2 = Transform_get_position_m1104419803(L_1, /*hidden argument*/NULL);
V_0 = L_2;
float L_3 = (&V_0)->get_x_1();
Transform_t3275118058 * L_4 = __this->get_ar_4();
// tr.position.x + ar.localPosition.x,
NullCheck(L_4);
Vector3_t2243707580 L_5 = Transform_get_localPosition_m2533925116(L_4, /*hidden argument*/NULL);
V_1 = L_5;
float L_6 = (&V_1)->get_x_1();
Transform_t3275118058 * L_7 = __this->get_tr_3();
// tr.position.y + ar.localPosition.y,
NullCheck(L_7);
Vector3_t2243707580 L_8 = Transform_get_position_m1104419803(L_7, /*hidden argument*/NULL);
V_2 = L_8;
float L_9 = (&V_2)->get_y_2();
Transform_t3275118058 * L_10 = __this->get_ar_4();
// tr.position.y + ar.localPosition.y,
NullCheck(L_10);
Vector3_t2243707580 L_11 = Transform_get_localPosition_m2533925116(L_10, /*hidden argument*/NULL);
V_3 = L_11;
float L_12 = (&V_3)->get_y_2();
Transform_t3275118058 * L_13 = __this->get_tr_3();
// tr.position.z + ar.localPosition.z
NullCheck(L_13);
Vector3_t2243707580 L_14 = Transform_get_position_m1104419803(L_13, /*hidden argument*/NULL);
V_4 = L_14;
float L_15 = (&V_4)->get_z_3();
Transform_t3275118058 * L_16 = __this->get_ar_4();
// tr.position.z + ar.localPosition.z
NullCheck(L_16);
Vector3_t2243707580 L_17 = Transform_get_localPosition_m2533925116(L_16, /*hidden argument*/NULL);
V_5 = L_17;
float L_18 = (&V_5)->get_z_3();
// transform.position = new Vector3(
Vector3_t2243707580 L_19;
memset(&L_19, 0, sizeof(L_19));
Vector3__ctor_m2638739322(&L_19, ((float)((float)L_3+(float)L_6)), ((float)((float)L_9+(float)L_12)), ((float)((float)L_15+(float)L_18)), /*hidden argument*/NULL);
// transform.position = new Vector3(
Vector3_t2243707580 L_20 = Vector3_op_Division_m3315615850(NULL /*static, unused*/, L_19, (5.0f), /*hidden argument*/NULL);
// transform.position = new Vector3(
NullCheck(L_0);
Transform_set_position_m2469242620(L_0, L_20, /*hidden argument*/NULL);
// transform.eulerAngles = new Vector3(
// transform.eulerAngles = new Vector3(
Transform_t3275118058 * L_21 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
Transform_t3275118058 * L_22 = __this->get_tr_3();
// tr.eulerAngles.x,
NullCheck(L_22);
Vector3_t2243707580 L_23 = Transform_get_eulerAngles_m4066505159(L_22, /*hidden argument*/NULL);
V_6 = L_23;
float L_24 = (&V_6)->get_x_1();
Transform_t3275118058 * L_25 = __this->get_tr_3();
// tr.eulerAngles.y,
NullCheck(L_25);
Vector3_t2243707580 L_26 = Transform_get_eulerAngles_m4066505159(L_25, /*hidden argument*/NULL);
V_7 = L_26;
float L_27 = (&V_7)->get_y_2();
Transform_t3275118058 * L_28 = __this->get_tr_3();
// tr.eulerAngles.z
NullCheck(L_28);
Vector3_t2243707580 L_29 = Transform_get_eulerAngles_m4066505159(L_28, /*hidden argument*/NULL);
V_8 = L_29;
float L_30 = (&V_8)->get_z_3();
// transform.eulerAngles = new Vector3(
Vector3_t2243707580 L_31;
memset(&L_31, 0, sizeof(L_31));
Vector3__ctor_m2638739322(&L_31, L_24, L_27, L_30, /*hidden argument*/NULL);
// transform.eulerAngles = new Vector3(
NullCheck(L_21);
Transform_set_eulerAngles_m2881310872(L_21, L_31, /*hidden argument*/NULL);
// if ((lastMarker - tr.localPosition).magnitude < 0.001)
Vector3_t2243707580 L_32 = __this->get_lastMarker_8();
Transform_t3275118058 * L_33 = __this->get_tr_3();
// if ((lastMarker - tr.localPosition).magnitude < 0.001)
NullCheck(L_33);
Vector3_t2243707580 L_34 = Transform_get_localPosition_m2533925116(L_33, /*hidden argument*/NULL);
// if ((lastMarker - tr.localPosition).magnitude < 0.001)
Vector3_t2243707580 L_35 = Vector3_op_Subtraction_m2407545601(NULL /*static, unused*/, L_32, L_34, /*hidden argument*/NULL);
V_9 = L_35;
// if ((lastMarker - tr.localPosition).magnitude < 0.001)
float L_36 = Vector3_get_magnitude_m860342598((&V_9), /*hidden argument*/NULL);
if ((!(((double)(((double)((double)L_36)))) < ((double)(0.001)))))
{
goto IL_0127;
}
}
{
// mat.material.color = hide;
Renderer_t257310565 * L_37 = __this->get_mat_7();
// mat.material.color = hide;
NullCheck(L_37);
Material_t193706927 * L_38 = Renderer_get_material_m2553789785(L_37, /*hidden argument*/NULL);
Color_t2020392075 L_39 = __this->get_hide_6();
// mat.material.color = hide;
NullCheck(L_38);
Material_set_color_m577844242(L_38, L_39, /*hidden argument*/NULL);
goto IL_013d;
}
IL_0127:
{
// mat.material.color = fire;
Renderer_t257310565 * L_40 = __this->get_mat_7();
// mat.material.color = fire;
NullCheck(L_40);
Material_t193706927 * L_41 = Renderer_get_material_m2553789785(L_40, /*hidden argument*/NULL);
Color_t2020392075 L_42 = __this->get_fire_5();
// mat.material.color = fire;
NullCheck(L_41);
Material_set_color_m577844242(L_41, L_42, /*hidden argument*/NULL);
}
IL_013d:
{
// lastMarker = tr.localPosition;
Transform_t3275118058 * L_43 = __this->get_tr_3();
// lastMarker = tr.localPosition;
NullCheck(L_43);
Vector3_t2243707580 L_44 = Transform_get_localPosition_m2533925116(L_43, /*hidden argument*/NULL);
__this->set_lastMarker_8(L_44);
// }
return;
}
}
// System.Void ChildrenPageProvider::.ctor()
extern "C" void ChildrenPageProvider__ctor_m3435118708 (ChildrenPageProvider_t958136491 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ChildrenPageProvider__ctor_m3435118708_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// private List<Transform> pages = new List<Transform>();
List_1_t2644239190 * L_0 = (List_1_t2644239190 *)il2cpp_codegen_object_new(List_1_t2644239190_il2cpp_TypeInfo_var);
List_1__ctor_m833109890(L_0, /*hidden argument*/List_1__ctor_m833109890_MethodInfo_var);
__this->set_pages_2(L_0);
// public float spacing = 2000.0f;
__this->set_spacing_3((2000.0f));
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// System.Single ChildrenPageProvider::GetSpacing()
extern "C" float ChildrenPageProvider_GetSpacing_m3278955327 (ChildrenPageProvider_t958136491 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
// return spacing;
float L_0 = __this->get_spacing_3();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// }
float L_1 = V_0;
return L_1;
}
}
// System.Int32 ChildrenPageProvider::GetNumberOfPages()
extern "C" int32_t ChildrenPageProvider_GetNumberOfPages_m2165365796 (ChildrenPageProvider_t958136491 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ChildrenPageProvider_GetNumberOfPages_m2165365796_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
// return pages.Count;
List_1_t2644239190 * L_0 = __this->get_pages_2();
// return pages.Count;
NullCheck(L_0);
int32_t L_1 = List_1_get_Count_m1995107056(L_0, /*hidden argument*/List_1_get_Count_m1995107056_MethodInfo_var);
V_0 = L_1;
goto IL_0012;
}
IL_0012:
{
// }
int32_t L_2 = V_0;
return L_2;
}
}
// UnityEngine.RectTransform ChildrenPageProvider::ProvidePage(System.Int32)
extern "C" RectTransform_t3349966182 * ChildrenPageProvider_ProvidePage_m3434407371 (ChildrenPageProvider_t958136491 * __this, int32_t ___index0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ChildrenPageProvider_ProvidePage_m3434407371_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Transform_t3275118058 * V_0 = NULL;
RectTransform_t3349966182 * V_1 = NULL;
Vector2_t2243707579 V_2;
memset(&V_2, 0, sizeof(V_2));
RectTransform_t3349966182 * V_3 = NULL;
{
// Transform pageTransform = pages[index];
List_1_t2644239190 * L_0 = __this->get_pages_2();
int32_t L_1 = ___index0;
// Transform pageTransform = pages[index];
NullCheck(L_0);
Transform_t3275118058 * L_2 = List_1_get_Item_m3391702501(L_0, L_1, /*hidden argument*/List_1_get_Item_m3391702501_MethodInfo_var);
V_0 = L_2;
// RectTransform page = pageTransform.GetComponent<RectTransform>();
Transform_t3275118058 * L_3 = V_0;
// RectTransform page = pageTransform.GetComponent<RectTransform>();
NullCheck(L_3);
RectTransform_t3349966182 * L_4 = Component_GetComponent_TisRectTransform_t3349966182_m1310250299(L_3, /*hidden argument*/Component_GetComponent_TisRectTransform_t3349966182_m1310250299_MethodInfo_var);
V_1 = L_4;
// Vector2 middleAnchor = new Vector2(0.5f, 0.5f);
// Vector2 middleAnchor = new Vector2(0.5f, 0.5f);
Vector2__ctor_m3067419446((&V_2), (0.5f), (0.5f), /*hidden argument*/NULL);
// page.anchorMax = middleAnchor;
RectTransform_t3349966182 * L_5 = V_1;
Vector2_t2243707579 L_6 = V_2;
// page.anchorMax = middleAnchor;
NullCheck(L_5);
RectTransform_set_anchorMax_m2955899993(L_5, L_6, /*hidden argument*/NULL);
// page.anchorMin = middleAnchor;
RectTransform_t3349966182 * L_7 = V_1;
Vector2_t2243707579 L_8 = V_2;
// page.anchorMin = middleAnchor;
NullCheck(L_7);
RectTransform_set_anchorMin_m4247668187(L_7, L_8, /*hidden argument*/NULL);
// pageTransform.gameObject.SetActive(true);
Transform_t3275118058 * L_9 = V_0;
// pageTransform.gameObject.SetActive(true);
NullCheck(L_9);
GameObject_t1756533147 * L_10 = Component_get_gameObject_m3105766835(L_9, /*hidden argument*/NULL);
// pageTransform.gameObject.SetActive(true);
NullCheck(L_10);
GameObject_SetActive_m2887581199(L_10, (bool)1, /*hidden argument*/NULL);
// return page;
RectTransform_t3349966182 * L_11 = V_1;
V_3 = L_11;
goto IL_0047;
}
IL_0047:
{
// }
RectTransform_t3349966182 * L_12 = V_3;
return L_12;
}
}
// System.Void ChildrenPageProvider::RemovePage(System.Int32,UnityEngine.RectTransform)
extern "C" void ChildrenPageProvider_RemovePage_m2093049637 (ChildrenPageProvider_t958136491 * __this, int32_t ___index0, RectTransform_t3349966182 * ___page1, const MethodInfo* method)
{
{
// page.gameObject.SetActive(false);
RectTransform_t3349966182 * L_0 = ___page1;
// page.gameObject.SetActive(false);
NullCheck(L_0);
GameObject_t1756533147 * L_1 = Component_get_gameObject_m3105766835(L_0, /*hidden argument*/NULL);
// page.gameObject.SetActive(false);
NullCheck(L_1);
GameObject_SetActive_m2887581199(L_1, (bool)0, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void ChildrenPageProvider::Awake()
extern "C" void ChildrenPageProvider_Awake_m4066496487 (ChildrenPageProvider_t958136491 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ChildrenPageProvider_Awake_m4066496487_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Transform_t3275118058 * 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);
{
// foreach (Transform page in transform) {
// foreach (Transform page in transform) {
Transform_t3275118058 * L_0 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
// foreach (Transform page in transform) {
NullCheck(L_0);
Il2CppObject * L_1 = Transform_GetEnumerator_m3479720613(L_0, /*hidden argument*/NULL);
V_1 = L_1;
}
IL_000e:
try
{ // begin try (depth: 1)
{
goto IL_0039;
}
IL_0013:
{
// foreach (Transform page in transform) {
Il2CppObject * L_2 = V_1;
// foreach (Transform page in transform) {
NullCheck(L_2);
Il2CppObject * L_3 = InterfaceFuncInvoker0< Il2CppObject * >::Invoke(0 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_2);
V_0 = ((Transform_t3275118058 *)CastclassClass(L_3, Transform_t3275118058_il2cpp_TypeInfo_var));
// page.gameObject.SetActive(false);
Transform_t3275118058 * L_4 = V_0;
// page.gameObject.SetActive(false);
NullCheck(L_4);
GameObject_t1756533147 * L_5 = Component_get_gameObject_m3105766835(L_4, /*hidden argument*/NULL);
// page.gameObject.SetActive(false);
NullCheck(L_5);
GameObject_SetActive_m2887581199(L_5, (bool)0, /*hidden argument*/NULL);
// pages.Add(page);
List_1_t2644239190 * L_6 = __this->get_pages_2();
Transform_t3275118058 * L_7 = V_0;
// pages.Add(page);
NullCheck(L_6);
List_1_Add_m4081083670(L_6, L_7, /*hidden argument*/List_1_Add_m4081083670_MethodInfo_var);
}
IL_0039:
{
Il2CppObject * L_8 = V_1;
// foreach (Transform page in transform) {
NullCheck(L_8);
bool L_9 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_8);
if (L_9)
{
goto IL_0013;
}
}
IL_0044:
{
IL2CPP_LEAVE(0x5D, FINALLY_0049);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_0049;
}
FINALLY_0049:
{ // begin finally (depth: 1)
{
Il2CppObject * L_10 = V_1;
Il2CppObject * L_11 = ((Il2CppObject *)IsInst(L_10, IDisposable_t2427283555_il2cpp_TypeInfo_var));
V_2 = L_11;
if (!L_11)
{
goto IL_005c;
}
}
IL_0056:
{
Il2CppObject * L_12 = V_2;
NullCheck(L_12);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t2427283555_il2cpp_TypeInfo_var, L_12);
}
IL_005c:
{
IL2CPP_END_FINALLY(73)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(73)
{
IL2CPP_JUMP_TBL(0x5D, IL_005d)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_005d:
{
// }
return;
}
}
// System.Void DemoInputManager::.ctor()
extern "C" void DemoInputManager__ctor_m9619453 (DemoInputManager_t2776755480 * __this, const MethodInfo* method)
{
{
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void DemoInputManager::Start()
extern "C" void DemoInputManager_Start_m50976037 (DemoInputManager_t2776755480 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (DemoInputManager_Start_m50976037_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GameObject_t1756533147 * V_0 = NULL;
{
// GameObject messageCanvas = transform.Find("MessageCanvas").gameObject;
// GameObject messageCanvas = transform.Find("MessageCanvas").gameObject;
Transform_t3275118058 * L_0 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
// GameObject messageCanvas = transform.Find("MessageCanvas").gameObject;
NullCheck(L_0);
Transform_t3275118058 * L_1 = Transform_Find_m3323476454(L_0, _stringLiteral482864659, /*hidden argument*/NULL);
// GameObject messageCanvas = transform.Find("MessageCanvas").gameObject;
NullCheck(L_1);
GameObject_t1756533147 * L_2 = Component_get_gameObject_m3105766835(L_1, /*hidden argument*/NULL);
V_0 = L_2;
// messageCanvas.SetActive(false);
GameObject_t1756533147 * L_3 = V_0;
// messageCanvas.SetActive(false);
NullCheck(L_3);
GameObject_SetActive_m2887581199(L_3, (bool)0, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void DemoSceneManager::.ctor()
extern "C" void DemoSceneManager__ctor_m238314145 (DemoSceneManager_t779426248 * __this, const MethodInfo* method)
{
{
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void DemoSceneManager::Start()
extern "C" void DemoSceneManager_Start_m25303337 (DemoSceneManager_t779426248 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (DemoSceneManager_Start_m25303337_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// Input.backButtonLeavesApp = true;
// Input.backButtonLeavesApp = true;
IL2CPP_RUNTIME_CLASS_INIT(Input_t1785128008_il2cpp_TypeInfo_var);
Input_set_backButtonLeavesApp_m1204731617(NULL /*static, unused*/, (bool)1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void DemoSceneManager::Update()
extern "C" void DemoSceneManager_Update_m3480481970 (DemoSceneManager_t779426248 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (DemoSceneManager_Update_m3480481970_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (Input.GetKeyDown(KeyCode.Escape)) {
// if (Input.GetKeyDown(KeyCode.Escape)) {
IL2CPP_RUNTIME_CLASS_INIT(Input_t1785128008_il2cpp_TypeInfo_var);
bool L_0 = Input_GetKeyDown_m1771960377(NULL /*static, unused*/, ((int32_t)27), /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0014;
}
}
{
// Application.Quit();
Application_Quit_m3885595876(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_0014:
{
// }
return;
}
}
// System.Void FadeScrollEffect::.ctor()
extern "C" void FadeScrollEffect__ctor_m3546210939 (FadeScrollEffect_t2128935010 * __this, const MethodInfo* method)
{
{
BaseScrollEffect__ctor_m560937132(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void FloatTile::.ctor()
extern "C" void FloatTile__ctor_m967607759 (FloatTile_t645192174 * __this, const MethodInfo* method)
{
{
BaseTile__ctor_m3313659900(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void FloatTile::OnPointerEnter(UnityEngine.EventSystems.PointerEventData)
extern "C" void FloatTile_OnPointerEnter_m1843985537 (FloatTile_t645192174 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method)
{
{
// }
return;
}
}
// System.Void FloatTile::OnPointerExit(UnityEngine.EventSystems.PointerEventData)
extern "C" void FloatTile_OnPointerExit_m3847484989 (FloatTile_t645192174 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method)
{
{
// }
return;
}
}
// System.Void FloatTile::OnGvrPointerHover(UnityEngine.EventSystems.PointerEventData)
extern "C" void FloatTile_OnGvrPointerHover_m4020376646 (FloatTile_t645192174 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method)
{
{
// }
return;
}
}
// System.Void GameObjectPool::.ctor(UnityEngine.GameObject,System.Int32)
extern "C" void GameObjectPool__ctor_m486088741 (GameObjectPool_t4074206773 * __this, GameObject_t1756533147 * ___prefab0, int32_t ___capacity1, const MethodInfo* method)
{
{
// : this(prefab, capacity, 0) {
GameObject_t1756533147 * L_0 = ___prefab0;
int32_t L_1 = ___capacity1;
GameObjectPool__ctor_m986672534(__this, L_0, L_1, 0, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GameObjectPool::.ctor(UnityEngine.GameObject,System.Int32,System.Int32)
extern "C" void GameObjectPool__ctor_m986672534 (GameObjectPool_t4074206773 * __this, GameObject_t1756533147 * ___prefab0, int32_t ___capacity1, int32_t ___preAllocateAmount2, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GameObjectPool__ctor_m986672534_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GameObject_t1756533147 * V_0 = NULL;
{
// public GameObjectPool(GameObject prefab, int capacity, int preAllocateAmount) {
ObjectPool_1__ctor_m2836333181(__this, /*hidden argument*/ObjectPool_1__ctor_m2836333181_MethodInfo_var);
// Assert.IsNotNull(prefab);
GameObject_t1756533147 * L_0 = ___prefab0;
// Assert.IsNotNull(prefab);
Assert_IsNotNull_TisGameObject_t1756533147_m1577831727(NULL /*static, unused*/, L_0, /*hidden argument*/Assert_IsNotNull_TisGameObject_t1756533147_m1577831727_MethodInfo_var);
// this.prefab = prefab;
GameObject_t1756533147 * L_1 = ___prefab0;
__this->set_prefab_2(L_1);
// GameObject poolContainerObject = new GameObject(prefab.name + " Pool");
GameObject_t1756533147 * L_2 = ___prefab0;
// GameObject poolContainerObject = new GameObject(prefab.name + " Pool");
NullCheck(L_2);
String_t* L_3 = Object_get_name_m2079638459(L_2, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_4 = String_Concat_m2596409543(NULL /*static, unused*/, L_3, _stringLiteral3376747656, /*hidden argument*/NULL);
// GameObject poolContainerObject = new GameObject(prefab.name + " Pool");
GameObject_t1756533147 * L_5 = (GameObject_t1756533147 *)il2cpp_codegen_object_new(GameObject_t1756533147_il2cpp_TypeInfo_var);
GameObject__ctor_m962601984(L_5, L_4, /*hidden argument*/NULL);
V_0 = L_5;
// poolController = poolContainerObject.AddComponent<GameObjectPoolController>();
GameObject_t1756533147 * L_6 = V_0;
// poolController = poolContainerObject.AddComponent<GameObjectPoolController>();
NullCheck(L_6);
GameObjectPoolController_t2109978193 * L_7 = GameObject_AddComponent_TisGameObjectPoolController_t2109978193_m1099290807(L_6, /*hidden argument*/GameObject_AddComponent_TisGameObjectPoolController_t2109978193_m1099290807_MethodInfo_var);
__this->set_poolController_3(L_7);
// poolController.Initialize(capacity);
GameObjectPoolController_t2109978193 * L_8 = __this->get_poolController_3();
int32_t L_9 = ___capacity1;
// poolController.Initialize(capacity);
NullCheck(L_8);
GameObjectPoolController_Initialize_m1707273073(L_8, L_9, /*hidden argument*/NULL);
// Initialize(capacity, preAllocateAmount);
int32_t L_10 = ___capacity1;
int32_t L_11 = ___preAllocateAmount2;
// Initialize(capacity, preAllocateAmount);
ObjectPool_1_Initialize_m756943073(__this, L_10, L_11, /*hidden argument*/ObjectPool_1_Initialize_m756943073_MethodInfo_var);
// }
return;
}
}
// System.Void GameObjectPool::Dispose()
extern "C" void GameObjectPool_Dispose_m2174999751 (GameObjectPool_t4074206773 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GameObjectPool_Dispose_m2174999751_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (poolController != null) {
GameObjectPoolController_t2109978193 * L_0 = __this->get_poolController_3();
// if (poolController != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0024;
}
}
{
// GameObject.Destroy(poolController.gameObject);
GameObjectPoolController_t2109978193 * L_2 = __this->get_poolController_3();
// GameObject.Destroy(poolController.gameObject);
NullCheck(L_2);
GameObject_t1756533147 * L_3 = Component_get_gameObject_m3105766835(L_2, /*hidden argument*/NULL);
// GameObject.Destroy(poolController.gameObject);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
Object_Destroy_m4145850038(NULL /*static, unused*/, L_3, /*hidden argument*/NULL);
}
IL_0024:
{
// }
return;
}
}
// System.Void GameObjectPool::OnBorrowed(UnityEngine.GameObject)
extern "C" void GameObjectPool_OnBorrowed_m830573541 (GameObjectPool_t4074206773 * __this, GameObject_t1756533147 * ___borrowedObject0, const MethodInfo* method)
{
{
// poolController.OnBorrowed(borrowedObject);
GameObjectPoolController_t2109978193 * L_0 = __this->get_poolController_3();
GameObject_t1756533147 * L_1 = ___borrowedObject0;
// poolController.OnBorrowed(borrowedObject);
NullCheck(L_0);
GameObjectPoolController_OnBorrowed_m2449510917(L_0, L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GameObjectPool::OnPooled(UnityEngine.GameObject)
extern "C" void GameObjectPool_OnPooled_m3997689112 (GameObjectPool_t4074206773 * __this, GameObject_t1756533147 * ___pooledObject0, const MethodInfo* method)
{
{
// poolController.OnPooled(pooledObject);
GameObjectPoolController_t2109978193 * L_0 = __this->get_poolController_3();
GameObject_t1756533147 * L_1 = ___pooledObject0;
// poolController.OnPooled(pooledObject);
NullCheck(L_0);
GameObjectPoolController_OnPooled_m393555592(L_0, L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GameObjectPool::OnUnableToReturn(UnityEngine.GameObject)
extern "C" void GameObjectPool_OnUnableToReturn_m2801959349 (GameObjectPool_t4074206773 * __this, GameObject_t1756533147 * ___returnedObject0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GameObjectPool_OnUnableToReturn_m2801959349_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// GameObject.Destroy(returnedObject);
GameObject_t1756533147 * L_0 = ___returnedObject0;
// GameObject.Destroy(returnedObject);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
Object_Destroy_m4145850038(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
// }
return;
}
}
// UnityEngine.GameObject GameObjectPool::AllocateObject()
extern "C" GameObject_t1756533147 * GameObjectPool_AllocateObject_m372494399 (GameObjectPool_t4074206773 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GameObjectPool_AllocateObject_m372494399_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GameObject_t1756533147 * V_0 = NULL;
GameObject_t1756533147 * V_1 = NULL;
{
// GameObject obj = GameObject.Instantiate(prefab);
GameObject_t1756533147 * L_0 = __this->get_prefab_2();
// GameObject obj = GameObject.Instantiate(prefab);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
GameObject_t1756533147 * L_1 = Object_Instantiate_TisGameObject_t1756533147_m3614337661(NULL /*static, unused*/, L_0, /*hidden argument*/Object_Instantiate_TisGameObject_t1756533147_m3614337661_MethodInfo_var);
V_0 = L_1;
// return obj;
GameObject_t1756533147 * L_2 = V_0;
V_1 = L_2;
goto IL_0014;
}
IL_0014:
{
// }
GameObject_t1756533147 * L_3 = V_1;
return L_3;
}
}
// System.Void GameObjectPoolController::.ctor()
extern "C" void GameObjectPoolController__ctor_m3740921134 (GameObjectPoolController_t2109978193 * __this, const MethodInfo* method)
{
{
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void GameObjectPoolController::Initialize(System.Int32)
extern "C" void GameObjectPoolController_Initialize_m1707273073 (GameObjectPoolController_t2109978193 * __this, int32_t ___capacity0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GameObjectPoolController_Initialize_m1707273073_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// transform.localScale = Vector3.zero;
// transform.localScale = Vector3.zero;
Transform_t3275118058 * L_0 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
// transform.localScale = Vector3.zero;
Vector3_t2243707580 L_1 = Vector3_get_zero_m1527993324(NULL /*static, unused*/, /*hidden argument*/NULL);
// transform.localScale = Vector3.zero;
NullCheck(L_0);
Transform_set_localScale_m2325460848(L_0, L_1, /*hidden argument*/NULL);
// toReparentStack = new Stack<GameObject>(capacity);
int32_t L_2 = ___capacity0;
// toReparentStack = new Stack<GameObject>(capacity);
Stack_1_t2844261301 * L_3 = (Stack_1_t2844261301 *)il2cpp_codegen_object_new(Stack_1_t2844261301_il2cpp_TypeInfo_var);
Stack_1__ctor_m2311023734(L_3, L_2, /*hidden argument*/Stack_1__ctor_m2311023734_MethodInfo_var);
__this->set_toReparentStack_2(L_3);
// }
return;
}
}
// System.Void GameObjectPoolController::OnBorrowed(UnityEngine.GameObject)
extern "C" void GameObjectPoolController_OnBorrowed_m2449510917 (GameObjectPoolController_t2109978193 * __this, GameObject_t1756533147 * ___borrowedObject0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GameObjectPoolController_OnBorrowed_m2449510917_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (toReparentStack.Count > 0) {
Stack_1_t2844261301 * L_0 = __this->get_toReparentStack_2();
// if (toReparentStack.Count > 0) {
NullCheck(L_0);
int32_t L_1 = Stack_1_get_Count_m335565545(L_0, /*hidden argument*/Stack_1_get_Count_m335565545_MethodInfo_var);
if ((((int32_t)L_1) <= ((int32_t)0)))
{
goto IL_0020;
}
}
{
// toReparentStack.Pop();
Stack_1_t2844261301 * L_2 = __this->get_toReparentStack_2();
// toReparentStack.Pop();
NullCheck(L_2);
Stack_1_Pop_m2665221936(L_2, /*hidden argument*/Stack_1_Pop_m2665221936_MethodInfo_var);
}
IL_0020:
{
// }
return;
}
}
// System.Void GameObjectPoolController::OnPooled(UnityEngine.GameObject)
extern "C" void GameObjectPoolController_OnPooled_m393555592 (GameObjectPoolController_t2109978193 * __this, GameObject_t1756533147 * ___pooledObject0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GameObjectPoolController_OnPooled_m393555592_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// toReparentStack.Push(pooledObject);
Stack_1_t2844261301 * L_0 = __this->get_toReparentStack_2();
GameObject_t1756533147 * L_1 = ___pooledObject0;
// toReparentStack.Push(pooledObject);
NullCheck(L_0);
Stack_1_Push_m3004012536(L_0, L_1, /*hidden argument*/Stack_1_Push_m3004012536_MethodInfo_var);
// }
return;
}
}
// System.Void GameObjectPoolController::LateUpdate()
extern "C" void GameObjectPoolController_LateUpdate_m3552926721 (GameObjectPoolController_t2109978193 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GameObjectPoolController_LateUpdate_m3552926721_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Enumerator_t3494259661 V_0;
memset(&V_0, 0, sizeof(V_0));
GameObject_t1756533147 * V_1 = NULL;
{
// if (toReparentStack.Count > 0) {
Stack_1_t2844261301 * L_0 = __this->get_toReparentStack_2();
// if (toReparentStack.Count > 0) {
NullCheck(L_0);
int32_t L_1 = Stack_1_get_Count_m335565545(L_0, /*hidden argument*/Stack_1_get_Count_m335565545_MethodInfo_var);
if ((((int32_t)L_1) <= ((int32_t)0)))
{
goto IL_0058;
}
}
{
// var enumerator = toReparentStack.GetEnumerator();
Stack_1_t2844261301 * L_2 = __this->get_toReparentStack_2();
// var enumerator = toReparentStack.GetEnumerator();
NullCheck(L_2);
Enumerator_t3494259661 L_3 = Stack_1_GetEnumerator_m1128032924(L_2, /*hidden argument*/Stack_1_GetEnumerator_m1128032924_MethodInfo_var);
V_0 = L_3;
// while (enumerator.MoveNext()) {
goto IL_0040;
}
IL_0024:
{
// GameObject obj = enumerator.Current;
// GameObject obj = enumerator.Current;
GameObject_t1756533147 * L_4 = Enumerator_get_Current_m1118913844((&V_0), /*hidden argument*/Enumerator_get_Current_m1118913844_MethodInfo_var);
V_1 = L_4;
// obj.transform.SetParent(transform, false);
GameObject_t1756533147 * L_5 = V_1;
// obj.transform.SetParent(transform, false);
NullCheck(L_5);
Transform_t3275118058 * L_6 = GameObject_get_transform_m909382139(L_5, /*hidden argument*/NULL);
// obj.transform.SetParent(transform, false);
Transform_t3275118058 * L_7 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
// obj.transform.SetParent(transform, false);
NullCheck(L_6);
Transform_SetParent_m1963830867(L_6, L_7, (bool)0, /*hidden argument*/NULL);
}
IL_0040:
{
// while (enumerator.MoveNext()) {
// while (enumerator.MoveNext()) {
bool L_8 = Enumerator_MoveNext_m992638478((&V_0), /*hidden argument*/Enumerator_MoveNext_m992638478_MethodInfo_var);
if (L_8)
{
goto IL_0024;
}
}
{
// toReparentStack.Clear();
Stack_1_t2844261301 * L_9 = __this->get_toReparentStack_2();
// toReparentStack.Clear();
NullCheck(L_9);
Stack_1_Clear_m3891488846(L_9, /*hidden argument*/Stack_1_Clear_m3891488846_MethodInfo_var);
}
IL_0058:
{
// }
return;
}
}
// System.Void GVR.Events.PositionSwapper::.ctor()
extern "C" void PositionSwapper__ctor_m983052788 (PositionSwapper_t2793617445 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PositionSwapper__ctor_m983052788_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// private int currentIndex = -1;
__this->set_currentIndex_2((-1));
// public Vector3[] Positions = new Vector3[0];
__this->set_Positions_3(((Vector3U5BU5D_t1172311765*)SZArrayNew(Vector3U5BU5D_t1172311765_il2cpp_TypeInfo_var, (uint32_t)0)));
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void GVR.Events.PositionSwapper::SetConstraint(System.Int32)
extern "C" void PositionSwapper_SetConstraint_m520123626 (PositionSwapper_t2793617445 * __this, int32_t ___index0, const MethodInfo* method)
{
{
// public void SetConstraint(int index) { }
return;
}
}
// System.Void GVR.Events.PositionSwapper::SetPosition(System.Int32)
extern "C" void PositionSwapper_SetPosition_m1298722950 (PositionSwapper_t2793617445 * __this, int32_t ___index0, const MethodInfo* method)
{
{
// currentIndex = index % Positions.Length;
int32_t L_0 = ___index0;
Vector3U5BU5D_t1172311765* L_1 = __this->get_Positions_3();
NullCheck(L_1);
__this->set_currentIndex_2(((int32_t)((int32_t)L_0%(int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_1)->max_length)))))));
// transform.localPosition = Positions[currentIndex];
// transform.localPosition = Positions[currentIndex];
Transform_t3275118058 * L_2 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
Vector3U5BU5D_t1172311765* L_3 = __this->get_Positions_3();
int32_t L_4 = __this->get_currentIndex_2();
NullCheck(L_3);
// transform.localPosition = Positions[currentIndex];
NullCheck(L_2);
Transform_set_localPosition_m1026930133(L_2, (*(Vector3_t2243707580 *)((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_4)))), /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GVR.Events.ToggleAction::.ctor()
extern "C" void ToggleAction__ctor_m1487284959 (ToggleAction_t2865238344 * __this, const MethodInfo* method)
{
{
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void GVR.Events.ToggleAction::Start()
extern "C" void ToggleAction_Start_m1766399539 (ToggleAction_t2865238344 * __this, const MethodInfo* method)
{
{
// on = InitialState;
bool L_0 = __this->get_InitialState_6();
__this->set_on_3(L_0);
// if (RaiseEventForInitialState) {
bool L_1 = __this->get_RaiseEventForInitialState_7();
if (!L_1)
{
goto IL_0026;
}
}
{
// RaiseToggleEvent(on);
bool L_2 = __this->get_on_3();
// RaiseToggleEvent(on);
ToggleAction_RaiseToggleEvent_m3929023862(__this, L_2, /*hidden argument*/NULL);
}
IL_0026:
{
// }
return;
}
}
// System.Void GVR.Events.ToggleAction::Toggle()
extern "C" void ToggleAction_Toggle_m2354549425 (ToggleAction_t2865238344 * __this, const MethodInfo* method)
{
{
// if (Time.time - lastUsage < Cooldown) {
float L_0 = Time_get_time_m2216684562(NULL /*static, unused*/, /*hidden argument*/NULL);
float L_1 = __this->get_lastUsage_2();
float L_2 = __this->get_Cooldown_8();
if ((!(((float)((float)((float)L_0-(float)L_1))) < ((float)L_2))))
{
goto IL_001e;
}
}
{
// return;
goto IL_0044;
}
IL_001e:
{
// lastUsage = Time.time;
// lastUsage = Time.time;
float L_3 = Time_get_time_m2216684562(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_lastUsage_2(L_3);
// on = !on;
bool L_4 = __this->get_on_3();
__this->set_on_3((bool)((((int32_t)L_4) == ((int32_t)0))? 1 : 0));
// RaiseToggleEvent(on);
bool L_5 = __this->get_on_3();
// RaiseToggleEvent(on);
ToggleAction_RaiseToggleEvent_m3929023862(__this, L_5, /*hidden argument*/NULL);
}
IL_0044:
{
// }
return;
}
}
// System.Void GVR.Events.ToggleAction::Set(System.Boolean)
extern "C" void ToggleAction_Set_m2917802110 (ToggleAction_t2865238344 * __this, bool ___on0, const MethodInfo* method)
{
{
// if (this.on == on) {
bool L_0 = __this->get_on_3();
bool L_1 = ___on0;
if ((!(((uint32_t)L_0) == ((uint32_t)L_1))))
{
goto IL_0013;
}
}
{
// return;
goto IL_0021;
}
IL_0013:
{
// this.on = on;
bool L_2 = ___on0;
__this->set_on_3(L_2);
// RaiseToggleEvent(on);
bool L_3 = ___on0;
// RaiseToggleEvent(on);
ToggleAction_RaiseToggleEvent_m3929023862(__this, L_3, /*hidden argument*/NULL);
}
IL_0021:
{
// }
return;
}
}
// System.Void GVR.Events.ToggleAction::RaiseToggleEvent(System.Boolean)
extern "C" void ToggleAction_RaiseToggleEvent_m3929023862 (ToggleAction_t2865238344 * __this, bool ___on0, const MethodInfo* method)
{
{
// if (on) {
bool L_0 = ___on0;
if (!L_0)
{
goto IL_0019;
}
}
{
// OnToggleOn.Invoke();
UnityEvent_t408735097 * L_1 = __this->get_OnToggleOn_4();
// OnToggleOn.Invoke();
NullCheck(L_1);
UnityEvent_Invoke_m4163344491(L_1, /*hidden argument*/NULL);
goto IL_0026;
}
IL_0019:
{
// OnToggleOff.Invoke();
UnityEvent_t408735097 * L_2 = __this->get_OnToggleOff_5();
// OnToggleOff.Invoke();
NullCheck(L_2);
UnityEvent_Invoke_m4163344491(L_2, /*hidden argument*/NULL);
}
IL_0026:
{
// }
return;
}
}
// System.Void GVR.Input.AppButtonInput::.ctor()
extern "C" void AppButtonInput__ctor_m2465222827 (AppButtonInput_t1324551885 * __this, const MethodInfo* method)
{
{
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void GVR.Input.BoolEvent::.ctor()
extern "C" void BoolEvent__ctor_m3444785988 (BoolEvent_t555382268 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BoolEvent__ctor_m3444785988_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
UnityEvent_1__ctor_m4051141261(__this, /*hidden argument*/UnityEvent_1__ctor_m4051141261_MethodInfo_var);
return;
}
}
// System.Void GVR.Input.ButtonEvent::.ctor()
extern "C" void ButtonEvent__ctor_m1676339476 (ButtonEvent_t3014361476 * __this, const MethodInfo* method)
{
{
UnityEvent__ctor_m588741179(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void GVR.Input.FloatEvent::.ctor()
extern "C" void FloatEvent__ctor_m920471060 (FloatEvent_t2213495270 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (FloatEvent__ctor_m920471060_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
UnityEvent_1__ctor_m29611311(__this, /*hidden argument*/UnityEvent_1__ctor_m29611311_MethodInfo_var);
return;
}
}
// System.Void GVR.Input.GameObjectEvent::.ctor()
extern "C" void GameObjectEvent__ctor_m3285908993 (GameObjectEvent_t3653055841 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GameObjectEvent__ctor_m3285908993_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
UnityEvent_1__ctor_m4008513313(__this, /*hidden argument*/UnityEvent_1__ctor_m4008513313_MethodInfo_var);
return;
}
}
// System.Void GVR.Input.TouchPadEvent::.ctor()
extern "C" void TouchPadEvent__ctor_m971226180 (TouchPadEvent_t1647781410 * __this, const MethodInfo* method)
{
{
UnityEvent__ctor_m588741179(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void GVR.Input.TransformEvent::.ctor()
extern "C" void TransformEvent__ctor_m4078659930 (TransformEvent_t206501054 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TransformEvent__ctor_m4078659930_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
UnityEvent_1__ctor_m2774475680(__this, /*hidden argument*/UnityEvent_1__ctor_m2774475680_MethodInfo_var);
return;
}
}
// System.Void GVR.Input.Vector2Event::.ctor()
extern "C" void Vector2Event__ctor_m2692025845 (Vector2Event_t2806928513 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Vector2Event__ctor_m2692025845_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
UnityEvent_1__ctor_m3317039790(__this, /*hidden argument*/UnityEvent_1__ctor_m3317039790_MethodInfo_var);
return;
}
}
// System.Void GVR.Input.Vector3Event::.ctor()
extern "C" void Vector3Event__ctor_m4093400854 (Vector3Event_t2806921088 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Vector3Event__ctor_m4093400854_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
UnityEvent_1__ctor_m2176906728(__this, /*hidden argument*/UnityEvent_1__ctor_m2176906728_MethodInfo_var);
return;
}
}
// System.Void Gvr.Internal.AndroidNativeControllerProvider::.ctor()
extern "C" void AndroidNativeControllerProvider__ctor_m1272877542 (AndroidNativeControllerProvider_t1389606029 * __this, const MethodInfo* method)
{
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Gvr.Internal.AndroidNativeControllerProvider::Dispose()
extern "C" void AndroidNativeControllerProvider_Dispose_m1718654779 (AndroidNativeControllerProvider_t1389606029 * __this, const MethodInfo* method)
{
{
// public void Dispose() { }
return;
}
}
// System.Void Gvr.Internal.AndroidNativeKeyboardProvider::.ctor()
extern "C" void AndroidNativeKeyboardProvider__ctor_m75407301 (AndroidNativeKeyboardProvider_t2887228014 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (AndroidNativeKeyboardProvider__ctor_m75407301_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// private IntPtr keyboard_context = IntPtr.Zero;
IntPtr_t L_0 = ((IntPtr_t_StaticFields*)IntPtr_t_il2cpp_TypeInfo_var->static_fields)->get_Zero_1();
__this->set_keyboard_context_9(L_0);
// private GvrKeyboardInputMode mode = GvrKeyboardInputMode.DEFAULT;
__this->set_mode_16(0);
// private string editorText = string.Empty;
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();
__this->set_editorText_17(L_1);
// private bool isValid = false;
__this->set_isValid_19((bool)0);
// private bool isReady = false;
__this->set_isReady_20((bool)0);
// public AndroidNativeKeyboardProvider() {
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
// InputTracking.disablePositionalTracking = true;
// InputTracking.disablePositionalTracking = true;
InputTracking_set_disablePositionalTracking_m1846824499(NULL /*static, unused*/, (bool)1, /*hidden argument*/NULL);
// renderEventFunction = GetKeyboardRenderEventFunc();
// renderEventFunction = GetKeyboardRenderEventFunc();
IntPtr_t L_2 = AndroidNativeKeyboardProvider_GetKeyboardRenderEventFunc_m3805721983(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_renderEventFunction_0(L_2);
// }
return;
}
}
// Gvr.Internal.AndroidNativeKeyboardProvider/gvr_clock_time_point Gvr.Internal.AndroidNativeKeyboardProvider::gvr_get_time_point_now()
extern "C" gvr_clock_time_point_t1124886566 AndroidNativeKeyboardProvider_gvr_get_time_point_now_m2949313034 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
typedef gvr_clock_time_point_t1124886566 (DEFAULT_CALL *PInvokeFunc) ();
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = 0;
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("gvr"), "gvr_get_time_point_now", IL2CPP_CALL_DEFAULT, CHARSET_UNICODE, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'gvr_get_time_point_now'"));
}
}
// Native function invocation
gvr_clock_time_point_t1124886566 returnValue = il2cppPInvokeFunc();
return returnValue;
}
// GvrKeyboardInputMode Gvr.Internal.AndroidNativeKeyboardProvider::gvr_keyboard_get_input_mode(System.IntPtr)
extern "C" int32_t AndroidNativeKeyboardProvider_gvr_keyboard_get_input_mode_m3824741694 (Il2CppObject * __this /* static, unused */, IntPtr_t ___keyboard_context0, const MethodInfo* method)
{
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (intptr_t);
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = sizeof(intptr_t);
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("gvr_keyboard_shim_unity"), "gvr_keyboard_get_input_mode", IL2CPP_CALL_DEFAULT, CHARSET_UNICODE, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'gvr_keyboard_get_input_mode'"));
}
}
// Native function invocation
int32_t returnValue = il2cppPInvokeFunc(reinterpret_cast<intptr_t>((___keyboard_context0).get_m_value_0()));
return returnValue;
}
// System.Void Gvr.Internal.AndroidNativeKeyboardProvider::gvr_keyboard_set_input_mode(System.IntPtr,GvrKeyboardInputMode)
extern "C" void AndroidNativeKeyboardProvider_gvr_keyboard_set_input_mode_m3510009905 (Il2CppObject * __this /* static, unused */, IntPtr_t ___keyboard_context0, int32_t ___mode1, const MethodInfo* method)
{
typedef void (DEFAULT_CALL *PInvokeFunc) (intptr_t, int32_t);
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = sizeof(intptr_t) + sizeof(int32_t);
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("gvr_keyboard_shim_unity"), "gvr_keyboard_set_input_mode", IL2CPP_CALL_DEFAULT, CHARSET_UNICODE, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'gvr_keyboard_set_input_mode'"));
}
}
// Native function invocation
il2cppPInvokeFunc(reinterpret_cast<intptr_t>((___keyboard_context0).get_m_value_0()), ___mode1);
}
// System.IntPtr Gvr.Internal.AndroidNativeKeyboardProvider::gvr_keyboard_create(System.IntPtr,GvrKeyboard/KeyboardCallback)
extern "C" IntPtr_t AndroidNativeKeyboardProvider_gvr_keyboard_create_m1895646393 (Il2CppObject * __this /* static, unused */, IntPtr_t ___closure0, KeyboardCallback_t4001681579 * ___callback1, const MethodInfo* method)
{
typedef intptr_t (DEFAULT_CALL *PInvokeFunc) (intptr_t, Il2CppMethodPointer);
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = sizeof(intptr_t) + sizeof(void*);
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("gvr_keyboard_shim_unity"), "gvr_keyboard_create", IL2CPP_CALL_DEFAULT, CHARSET_UNICODE, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'gvr_keyboard_create'"));
}
}
// Marshaling of parameter '___callback1' to native representation
Il2CppMethodPointer ____callback1_marshaled = NULL;
____callback1_marshaled = il2cpp_codegen_marshal_delegate(reinterpret_cast<Il2CppCodeGenMulticastDelegate*>(___callback1));
// Native function invocation
intptr_t returnValue = il2cppPInvokeFunc(reinterpret_cast<intptr_t>((___closure0).get_m_value_0()), ____callback1_marshaled);
// Marshaling of return value back from native representation
IntPtr_t _returnValue_unmarshaled;
_returnValue_unmarshaled.set_m_value_0(reinterpret_cast<void*>((intptr_t)(returnValue)));
return _returnValue_unmarshaled;
}
// System.Void Gvr.Internal.AndroidNativeKeyboardProvider::gvr_keyboard_get_recommended_world_from_keyboard_matrix(System.Single,System.IntPtr)
extern "C" void AndroidNativeKeyboardProvider_gvr_keyboard_get_recommended_world_from_keyboard_matrix_m2103228330 (Il2CppObject * __this /* static, unused */, float ___distance_from_eye0, IntPtr_t ___matrix1, const MethodInfo* method)
{
typedef void (DEFAULT_CALL *PInvokeFunc) (float, intptr_t);
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = sizeof(float) + sizeof(intptr_t);
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("gvr_keyboard_shim_unity"), "gvr_keyboard_get_recommended_world_from_keyboard_matrix", IL2CPP_CALL_DEFAULT, CHARSET_UNICODE, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'gvr_keyboard_get_recommended_world_from_keyboard_matrix'"));
}
}
// Native function invocation
il2cppPInvokeFunc(___distance_from_eye0, reinterpret_cast<intptr_t>((___matrix1).get_m_value_0()));
}
// System.Void Gvr.Internal.AndroidNativeKeyboardProvider::gvr_keyboard_set_world_from_keyboard_matrix(System.IntPtr,System.IntPtr)
extern "C" void AndroidNativeKeyboardProvider_gvr_keyboard_set_world_from_keyboard_matrix_m2513255943 (Il2CppObject * __this /* static, unused */, IntPtr_t ___keyboard_context0, IntPtr_t ___matrix1, const MethodInfo* method)
{
typedef void (DEFAULT_CALL *PInvokeFunc) (intptr_t, intptr_t);
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = sizeof(intptr_t) + sizeof(intptr_t);
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("gvr_keyboard_shim_unity"), "gvr_keyboard_set_world_from_keyboard_matrix", IL2CPP_CALL_DEFAULT, CHARSET_UNICODE, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'gvr_keyboard_set_world_from_keyboard_matrix'"));
}
}
// Native function invocation
il2cppPInvokeFunc(reinterpret_cast<intptr_t>((___keyboard_context0).get_m_value_0()), reinterpret_cast<intptr_t>((___matrix1).get_m_value_0()));
}
// System.Void Gvr.Internal.AndroidNativeKeyboardProvider::gvr_keyboard_show(System.IntPtr)
extern "C" void AndroidNativeKeyboardProvider_gvr_keyboard_show_m3076390570 (Il2CppObject * __this /* static, unused */, IntPtr_t ___keyboard_context0, const MethodInfo* method)
{
typedef void (DEFAULT_CALL *PInvokeFunc) (intptr_t);
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = sizeof(intptr_t);
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("gvr_keyboard_shim_unity"), "gvr_keyboard_show", IL2CPP_CALL_DEFAULT, CHARSET_UNICODE, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'gvr_keyboard_show'"));
}
}
// Native function invocation
il2cppPInvokeFunc(reinterpret_cast<intptr_t>((___keyboard_context0).get_m_value_0()));
}
// System.Void Gvr.Internal.AndroidNativeKeyboardProvider::gvr_keyboard_update_button_state(System.IntPtr,System.Int32,System.Boolean)
extern "C" void AndroidNativeKeyboardProvider_gvr_keyboard_update_button_state_m2376131403 (Il2CppObject * __this /* static, unused */, IntPtr_t ___keyboard_context0, int32_t ___buttonIndex1, bool ___pressed2, const MethodInfo* method)
{
typedef void (DEFAULT_CALL *PInvokeFunc) (intptr_t, int32_t, int32_t);
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = sizeof(intptr_t) + sizeof(int32_t) + 4;
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("gvr_keyboard_shim_unity"), "gvr_keyboard_update_button_state", IL2CPP_CALL_DEFAULT, CHARSET_UNICODE, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'gvr_keyboard_update_button_state'"));
}
}
// Native function invocation
il2cppPInvokeFunc(reinterpret_cast<intptr_t>((___keyboard_context0).get_m_value_0()), ___buttonIndex1, static_cast<int32_t>(___pressed2));
}
// System.Boolean Gvr.Internal.AndroidNativeKeyboardProvider::gvr_keyboard_update_controller_ray(System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr)
extern "C" bool AndroidNativeKeyboardProvider_gvr_keyboard_update_controller_ray_m144815156 (Il2CppObject * __this /* static, unused */, IntPtr_t ___keyboard_context0, IntPtr_t ___vector3Start1, IntPtr_t ___vector3End2, IntPtr_t ___vector3Hit3, const MethodInfo* method)
{
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (intptr_t, intptr_t, intptr_t, intptr_t);
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = sizeof(intptr_t) + sizeof(intptr_t) + sizeof(intptr_t) + sizeof(intptr_t);
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("gvr_keyboard_shim_unity"), "gvr_keyboard_update_controller_ray", IL2CPP_CALL_DEFAULT, CHARSET_UNICODE, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'gvr_keyboard_update_controller_ray'"));
}
}
// Native function invocation
int32_t returnValue = il2cppPInvokeFunc(reinterpret_cast<intptr_t>((___keyboard_context0).get_m_value_0()), reinterpret_cast<intptr_t>((___vector3Start1).get_m_value_0()), reinterpret_cast<intptr_t>((___vector3End2).get_m_value_0()), reinterpret_cast<intptr_t>((___vector3Hit3).get_m_value_0()));
return static_cast<bool>(returnValue);
}
// System.IntPtr Gvr.Internal.AndroidNativeKeyboardProvider::gvr_keyboard_get_text(System.IntPtr)
extern "C" IntPtr_t AndroidNativeKeyboardProvider_gvr_keyboard_get_text_m842454874 (Il2CppObject * __this /* static, unused */, IntPtr_t ___keyboard_context0, const MethodInfo* method)
{
typedef intptr_t (DEFAULT_CALL *PInvokeFunc) (intptr_t);
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = sizeof(intptr_t);
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("gvr_keyboard_shim_unity"), "gvr_keyboard_get_text", IL2CPP_CALL_DEFAULT, CHARSET_UNICODE, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'gvr_keyboard_get_text'"));
}
}
// Native function invocation
intptr_t returnValue = il2cppPInvokeFunc(reinterpret_cast<intptr_t>((___keyboard_context0).get_m_value_0()));
// Marshaling of return value back from native representation
IntPtr_t _returnValue_unmarshaled;
_returnValue_unmarshaled.set_m_value_0(reinterpret_cast<void*>((intptr_t)(returnValue)));
return _returnValue_unmarshaled;
}
// System.Int32 Gvr.Internal.AndroidNativeKeyboardProvider::gvr_keyboard_set_text(System.IntPtr,System.IntPtr)
extern "C" int32_t AndroidNativeKeyboardProvider_gvr_keyboard_set_text_m2731271573 (Il2CppObject * __this /* static, unused */, IntPtr_t ___keyboard_context0, IntPtr_t ___edit_text1, const MethodInfo* method)
{
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (intptr_t, intptr_t);
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = sizeof(intptr_t) + sizeof(intptr_t);
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("gvr_keyboard_shim_unity"), "gvr_keyboard_set_text", IL2CPP_CALL_DEFAULT, CHARSET_UNICODE, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'gvr_keyboard_set_text'"));
}
}
// Native function invocation
int32_t returnValue = il2cppPInvokeFunc(reinterpret_cast<intptr_t>((___keyboard_context0).get_m_value_0()), reinterpret_cast<intptr_t>((___edit_text1).get_m_value_0()));
return returnValue;
}
// System.Void Gvr.Internal.AndroidNativeKeyboardProvider::gvr_keyboard_hide(System.IntPtr)
extern "C" void AndroidNativeKeyboardProvider_gvr_keyboard_hide_m4294388745 (Il2CppObject * __this /* static, unused */, IntPtr_t ___keyboard_context0, const MethodInfo* method)
{
typedef void (DEFAULT_CALL *PInvokeFunc) (intptr_t);
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = sizeof(intptr_t);
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("gvr_keyboard_shim_unity"), "gvr_keyboard_hide", IL2CPP_CALL_DEFAULT, CHARSET_UNICODE, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'gvr_keyboard_hide'"));
}
}
// Native function invocation
il2cppPInvokeFunc(reinterpret_cast<intptr_t>((___keyboard_context0).get_m_value_0()));
}
// System.Void Gvr.Internal.AndroidNativeKeyboardProvider::gvr_keyboard_destroy(System.IntPtr)
extern "C" void AndroidNativeKeyboardProvider_gvr_keyboard_destroy_m2796809423 (Il2CppObject * __this /* static, unused */, IntPtr_t ___keyboard_context0, const MethodInfo* method)
{
typedef void (DEFAULT_CALL *PInvokeFunc) (intptr_t);
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = sizeof(intptr_t);
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("gvr_keyboard_shim_unity"), "gvr_keyboard_destroy", IL2CPP_CALL_DEFAULT, CHARSET_UNICODE, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'gvr_keyboard_destroy'"));
}
}
// Native function invocation
il2cppPInvokeFunc(reinterpret_cast<intptr_t>((___keyboard_context0).get_m_value_0()));
}
// System.Void Gvr.Internal.AndroidNativeKeyboardProvider::GvrKeyboardSetFrameData(System.IntPtr,Gvr.Internal.AndroidNativeKeyboardProvider/gvr_clock_time_point)
extern "C" void AndroidNativeKeyboardProvider_GvrKeyboardSetFrameData_m1728339064 (Il2CppObject * __this /* static, unused */, IntPtr_t ___keyboard_context0, gvr_clock_time_point_t1124886566 ___t1, const MethodInfo* method)
{
typedef void (DEFAULT_CALL *PInvokeFunc) (intptr_t, gvr_clock_time_point_t1124886566 );
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = sizeof(intptr_t) + sizeof(gvr_clock_time_point_t1124886566 );
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("gvr_keyboard_shim_unity"), "GvrKeyboardSetFrameData", IL2CPP_CALL_DEFAULT, CHARSET_UNICODE, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'GvrKeyboardSetFrameData'"));
}
}
// Native function invocation
il2cppPInvokeFunc(reinterpret_cast<intptr_t>((___keyboard_context0).get_m_value_0()), ___t1);
}
// System.Void Gvr.Internal.AndroidNativeKeyboardProvider::GvrKeyboardSetEyeData(System.Int32,UnityEngine.Matrix4x4,UnityEngine.Matrix4x4,Gvr.Internal.AndroidNativeKeyboardProvider/gvr_recti)
extern "C" void AndroidNativeKeyboardProvider_GvrKeyboardSetEyeData_m3639183237 (Il2CppObject * __this /* static, unused */, int32_t ___eye_type0, Matrix4x4_t2933234003 ___modelview1, Matrix4x4_t2933234003 ___projection2, gvr_recti_t2743662910 ___viewport3, const MethodInfo* method)
{
typedef void (DEFAULT_CALL *PInvokeFunc) (int32_t, Matrix4x4_t2933234003 , Matrix4x4_t2933234003 , gvr_recti_t2743662910 );
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = sizeof(int32_t) + sizeof(Matrix4x4_t2933234003 ) + sizeof(Matrix4x4_t2933234003 ) + sizeof(gvr_recti_t2743662910 );
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("gvr_keyboard_shim_unity"), "GvrKeyboardSetEyeData", IL2CPP_CALL_DEFAULT, CHARSET_UNICODE, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'GvrKeyboardSetEyeData'"));
}
}
// Native function invocation
il2cppPInvokeFunc(___eye_type0, ___modelview1, ___projection2, ___viewport3);
}
// System.IntPtr Gvr.Internal.AndroidNativeKeyboardProvider::GetKeyboardRenderEventFunc()
extern "C" IntPtr_t AndroidNativeKeyboardProvider_GetKeyboardRenderEventFunc_m3805721983 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
typedef intptr_t (DEFAULT_CALL *PInvokeFunc) ();
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = 0;
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("gvr_keyboard_shim_unity"), "GetKeyboardRenderEventFunc", IL2CPP_CALL_DEFAULT, CHARSET_UNICODE, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'GetKeyboardRenderEventFunc'"));
}
}
// Native function invocation
intptr_t returnValue = il2cppPInvokeFunc();
// Marshaling of return value back from native representation
IntPtr_t _returnValue_unmarshaled;
_returnValue_unmarshaled.set_m_value_0(reinterpret_cast<void*>((intptr_t)(returnValue)));
return _returnValue_unmarshaled;
}
// System.String Gvr.Internal.AndroidNativeKeyboardProvider::get_EditorText()
extern "C" String_t* AndroidNativeKeyboardProvider_get_EditorText_m2413977029 (AndroidNativeKeyboardProvider_t2887228014 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (AndroidNativeKeyboardProvider_get_EditorText_m2413977029_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
IntPtr_t V_0;
memset(&V_0, 0, sizeof(V_0));
String_t* V_1 = NULL;
{
// IntPtr text = gvr_keyboard_get_text(keyboard_context);
IntPtr_t L_0 = __this->get_keyboard_context_9();
// IntPtr text = gvr_keyboard_get_text(keyboard_context);
IntPtr_t L_1 = AndroidNativeKeyboardProvider_gvr_keyboard_get_text_m842454874(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
V_0 = L_1;
// editorText = Marshal.PtrToStringAnsi(text);
IntPtr_t L_2 = V_0;
// editorText = Marshal.PtrToStringAnsi(text);
IL2CPP_RUNTIME_CLASS_INIT(Marshal_t785896760_il2cpp_TypeInfo_var);
String_t* L_3 = Marshal_PtrToStringAnsi_m2970070000(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
__this->set_editorText_17(L_3);
// return editorText;
String_t* L_4 = __this->get_editorText_17();
V_1 = L_4;
goto IL_0025;
}
IL_0025:
{
// }
String_t* L_5 = V_1;
return L_5;
}
}
// System.Void Gvr.Internal.AndroidNativeKeyboardProvider::set_EditorText(System.String)
extern "C" void AndroidNativeKeyboardProvider_set_EditorText_m547735420 (AndroidNativeKeyboardProvider_t2887228014 * __this, String_t* ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (AndroidNativeKeyboardProvider_set_EditorText_m547735420_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
IntPtr_t V_0;
memset(&V_0, 0, sizeof(V_0));
{
// editorText = value;
String_t* L_0 = ___value0;
__this->set_editorText_17(L_0);
// IntPtr text = Marshal.StringToHGlobalAnsi(editorText);
String_t* L_1 = __this->get_editorText_17();
// IntPtr text = Marshal.StringToHGlobalAnsi(editorText);
IL2CPP_RUNTIME_CLASS_INIT(Marshal_t785896760_il2cpp_TypeInfo_var);
IntPtr_t L_2 = Marshal_StringToHGlobalAnsi_m2621479009(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
V_0 = L_2;
// gvr_keyboard_set_text(keyboard_context, text);
IntPtr_t L_3 = __this->get_keyboard_context_9();
IntPtr_t L_4 = V_0;
// gvr_keyboard_set_text(keyboard_context, text);
AndroidNativeKeyboardProvider_gvr_keyboard_set_text_m2731271573(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Gvr.Internal.AndroidNativeKeyboardProvider::SetInputMode(GvrKeyboardInputMode)
extern "C" void AndroidNativeKeyboardProvider_SetInputMode_m1725059409 (AndroidNativeKeyboardProvider_t2887228014 * __this, int32_t ___mode0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (AndroidNativeKeyboardProvider_SetInputMode_m1725059409_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// Debug.Log("Calling set input mode: " + mode);
int32_t L_0 = ___mode0;
int32_t L_1 = L_0;
Il2CppObject * L_2 = Box(GvrKeyboardInputMode_t2940030961_il2cpp_TypeInfo_var, &L_1);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_3 = String_Concat_m56707527(NULL /*static, unused*/, _stringLiteral1886951671, L_2, /*hidden argument*/NULL);
// Debug.Log("Calling set input mode: " + mode);
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_Log_m920475918(NULL /*static, unused*/, L_3, /*hidden argument*/NULL);
// gvr_keyboard_set_input_mode(keyboard_context, mode);
IntPtr_t L_4 = __this->get_keyboard_context_9();
int32_t L_5 = ___mode0;
// gvr_keyboard_set_input_mode(keyboard_context, mode);
AndroidNativeKeyboardProvider_gvr_keyboard_set_input_mode_m3510009905(NULL /*static, unused*/, L_4, L_5, /*hidden argument*/NULL);
// this.mode = mode;
int32_t L_6 = ___mode0;
__this->set_mode_16(L_6);
// }
return;
}
}
// System.Void Gvr.Internal.AndroidNativeKeyboardProvider::OnPause()
extern "C" void AndroidNativeKeyboardProvider_OnPause_m2265024248 (AndroidNativeKeyboardProvider_t2887228014 * __this, const MethodInfo* method)
{
{
// public void OnPause() { }
return;
}
}
// System.Void Gvr.Internal.AndroidNativeKeyboardProvider::OnResume()
extern "C" void AndroidNativeKeyboardProvider_OnResume_m4182881645 (AndroidNativeKeyboardProvider_t2887228014 * __this, const MethodInfo* method)
{
{
// public void OnResume() { }
return;
}
}
// System.Void Gvr.Internal.AndroidNativeKeyboardProvider::ReadState(KeyboardState)
extern "C" void AndroidNativeKeyboardProvider_ReadState_m1089404692 (AndroidNativeKeyboardProvider_t2887228014 * __this, KeyboardState_t3308394474 * ___outState0, const MethodInfo* method)
{
{
// outState.editorText = editorText;
KeyboardState_t3308394474 * L_0 = ___outState0;
String_t* L_1 = __this->get_editorText_17();
NullCheck(L_0);
L_0->set_editorText_0(L_1);
// outState.mode = mode;
KeyboardState_t3308394474 * L_2 = ___outState0;
int32_t L_3 = __this->get_mode_16();
NullCheck(L_2);
L_2->set_mode_1(L_3);
// outState.worldMatrix = worldMatrix;
KeyboardState_t3308394474 * L_4 = ___outState0;
Matrix4x4_t2933234003 L_5 = __this->get_worldMatrix_18();
NullCheck(L_4);
L_4->set_worldMatrix_4(L_5);
// outState.isValid = isValid;
KeyboardState_t3308394474 * L_6 = ___outState0;
bool L_7 = __this->get_isValid_19();
NullCheck(L_6);
L_6->set_isValid_2(L_7);
// outState.isReady = isReady;
KeyboardState_t3308394474 * L_8 = ___outState0;
bool L_9 = __this->get_isReady_20();
NullCheck(L_8);
L_8->set_isReady_3(L_9);
// }
return;
}
}
// System.Void Gvr.Internal.AndroidNativeKeyboardProvider::Finalize()
extern "C" void AndroidNativeKeyboardProvider_Finalize_m2018336171 (AndroidNativeKeyboardProvider_t2887228014 * __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_0001:
try
{ // begin try (depth: 1)
// gvr_keyboard_destroy(keyboard_context);
IntPtr_t L_0 = __this->get_keyboard_context_9();
// gvr_keyboard_destroy(keyboard_context);
AndroidNativeKeyboardProvider_gvr_keyboard_destroy_m2796809423(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x18, FINALLY_0011);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_0011;
}
FINALLY_0011:
{ // begin finally (depth: 1)
// ~AndroidNativeKeyboardProvider() {
Object_Finalize_m4087144328(__this, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(17)
} // end finally (depth: 1)
IL2CPP_CLEANUP(17)
{
IL2CPP_JUMP_TBL(0x18, IL_0018)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_0018:
{
// }
return;
}
}
// System.Boolean Gvr.Internal.AndroidNativeKeyboardProvider::Create(GvrKeyboard/KeyboardCallback)
extern "C" bool AndroidNativeKeyboardProvider_Create_m3052585206 (AndroidNativeKeyboardProvider_t2887228014 * __this, KeyboardCallback_t4001681579 * ___keyboardEvent0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (AndroidNativeKeyboardProvider_Create_m3052585206_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
// if (!IsVrInputMethodAppMinVersion(keyboardEvent)) {
KeyboardCallback_t4001681579 * L_0 = ___keyboardEvent0;
// if (!IsVrInputMethodAppMinVersion(keyboardEvent)) {
bool L_1 = AndroidNativeKeyboardProvider_IsVrInputMethodAppMinVersion_m949362938(__this, L_0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0015;
}
}
{
// return false;
V_0 = (bool)0;
goto IL_0048;
}
IL_0015:
{
// keyboard_context = gvr_keyboard_create(IntPtr.Zero, keyboardEvent);
IntPtr_t L_2 = ((IntPtr_t_StaticFields*)IntPtr_t_il2cpp_TypeInfo_var->static_fields)->get_Zero_1();
KeyboardCallback_t4001681579 * L_3 = ___keyboardEvent0;
// keyboard_context = gvr_keyboard_create(IntPtr.Zero, keyboardEvent);
IntPtr_t L_4 = AndroidNativeKeyboardProvider_gvr_keyboard_create_m1895646393(NULL /*static, unused*/, L_2, L_3, /*hidden argument*/NULL);
__this->set_keyboard_context_9(L_4);
// isReady = keyboard_context != IntPtr.Zero;
IntPtr_t L_5 = __this->get_keyboard_context_9();
IntPtr_t L_6 = ((IntPtr_t_StaticFields*)IntPtr_t_il2cpp_TypeInfo_var->static_fields)->get_Zero_1();
// isReady = keyboard_context != IntPtr.Zero;
bool L_7 = IntPtr_op_Inequality_m3044532593(NULL /*static, unused*/, L_5, L_6, /*hidden argument*/NULL);
__this->set_isReady_20(L_7);
// return isReady;
bool L_8 = __this->get_isReady_20();
V_0 = L_8;
goto IL_0048;
}
IL_0048:
{
// }
bool L_9 = V_0;
return L_9;
}
}
// System.Void Gvr.Internal.AndroidNativeKeyboardProvider::Show(UnityEngine.Matrix4x4,System.Boolean,System.Single,UnityEngine.Matrix4x4)
extern "C" void AndroidNativeKeyboardProvider_Show_m1893808566 (AndroidNativeKeyboardProvider_t2887228014 * __this, Matrix4x4_t2933234003 ___userMatrix0, bool ___useRecommended1, float ___distance2, Matrix4x4_t2933234003 ___model3, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (AndroidNativeKeyboardProvider_Show_m1893808566_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Matrix4x4_t2933234003 V_0;
memset(&V_0, 0, sizeof(V_0));
Matrix4x4_t2933234003 V_1;
memset(&V_1, 0, sizeof(V_1));
IntPtr_t V_2;
memset(&V_2, 0, sizeof(V_2));
{
// if (useRecommended) {
bool L_0 = ___useRecommended1;
if (!L_0)
{
goto IL_001b;
}
}
{
// worldMatrix = getRecommendedMatrix(distance);
float L_1 = ___distance2;
// worldMatrix = getRecommendedMatrix(distance);
Matrix4x4_t2933234003 L_2 = AndroidNativeKeyboardProvider_getRecommendedMatrix_m1377656731(__this, L_1, /*hidden argument*/NULL);
__this->set_worldMatrix_18(L_2);
goto IL_005b;
}
IL_001b:
{
// Matrix4x4 flipZ = Matrix4x4.Scale(new Vector3(1, 1, -1));
// Matrix4x4 flipZ = Matrix4x4.Scale(new Vector3(1, 1, -1));
Vector3_t2243707580 L_3;
memset(&L_3, 0, sizeof(L_3));
Vector3__ctor_m2638739322(&L_3, (1.0f), (1.0f), (-1.0f), /*hidden argument*/NULL);
// Matrix4x4 flipZ = Matrix4x4.Scale(new Vector3(1, 1, -1));
Matrix4x4_t2933234003 L_4 = Matrix4x4_Scale_m3010328774(NULL /*static, unused*/, L_3, /*hidden argument*/NULL);
V_0 = L_4;
// worldMatrix = flipZ * userMatrix * flipZ;
Matrix4x4_t2933234003 L_5 = V_0;
Matrix4x4_t2933234003 L_6 = ___userMatrix0;
// worldMatrix = flipZ * userMatrix * flipZ;
Matrix4x4_t2933234003 L_7 = Matrix4x4_op_Multiply_m2352863493(NULL /*static, unused*/, L_5, L_6, /*hidden argument*/NULL);
Matrix4x4_t2933234003 L_8 = V_0;
// worldMatrix = flipZ * userMatrix * flipZ;
Matrix4x4_t2933234003 L_9 = Matrix4x4_op_Multiply_m2352863493(NULL /*static, unused*/, L_7, L_8, /*hidden argument*/NULL);
__this->set_worldMatrix_18(L_9);
// worldMatrix = worldMatrix.transpose;
Matrix4x4_t2933234003 * L_10 = __this->get_address_of_worldMatrix_18();
// worldMatrix = worldMatrix.transpose;
Matrix4x4_t2933234003 L_11 = Matrix4x4_get_transpose_m3368305223(L_10, /*hidden argument*/NULL);
__this->set_worldMatrix_18(L_11);
}
IL_005b:
{
// Matrix4x4 matToSet = worldMatrix * model.transpose;
Matrix4x4_t2933234003 L_12 = __this->get_worldMatrix_18();
// Matrix4x4 matToSet = worldMatrix * model.transpose;
Matrix4x4_t2933234003 L_13 = Matrix4x4_get_transpose_m3368305223((&___model3), /*hidden argument*/NULL);
// Matrix4x4 matToSet = worldMatrix * model.transpose;
Matrix4x4_t2933234003 L_14 = Matrix4x4_op_Multiply_m2352863493(NULL /*static, unused*/, L_12, L_13, /*hidden argument*/NULL);
V_1 = L_14;
// IntPtr mat_ptr = Marshal.AllocHGlobal(Marshal.SizeOf(matToSet));
Matrix4x4_t2933234003 L_15 = V_1;
Matrix4x4_t2933234003 L_16 = L_15;
Il2CppObject * L_17 = Box(Matrix4x4_t2933234003_il2cpp_TypeInfo_var, &L_16);
// IntPtr mat_ptr = Marshal.AllocHGlobal(Marshal.SizeOf(matToSet));
IL2CPP_RUNTIME_CLASS_INIT(Marshal_t785896760_il2cpp_TypeInfo_var);
int32_t L_18 = Marshal_SizeOf_m2032740146(NULL /*static, unused*/, L_17, /*hidden argument*/NULL);
// IntPtr mat_ptr = Marshal.AllocHGlobal(Marshal.SizeOf(matToSet));
IntPtr_t L_19 = Marshal_AllocHGlobal_m4258042074(NULL /*static, unused*/, L_18, /*hidden argument*/NULL);
V_2 = L_19;
// Marshal.StructureToPtr(matToSet, mat_ptr, true);
Matrix4x4_t2933234003 L_20 = V_1;
Matrix4x4_t2933234003 L_21 = L_20;
Il2CppObject * L_22 = Box(Matrix4x4_t2933234003_il2cpp_TypeInfo_var, &L_21);
IntPtr_t L_23 = V_2;
// Marshal.StructureToPtr(matToSet, mat_ptr, true);
Marshal_StructureToPtr_m3205507777(NULL /*static, unused*/, L_22, L_23, (bool)1, /*hidden argument*/NULL);
// gvr_keyboard_set_world_from_keyboard_matrix(keyboard_context, mat_ptr);
IntPtr_t L_24 = __this->get_keyboard_context_9();
IntPtr_t L_25 = V_2;
// gvr_keyboard_set_world_from_keyboard_matrix(keyboard_context, mat_ptr);
AndroidNativeKeyboardProvider_gvr_keyboard_set_world_from_keyboard_matrix_m2513255943(NULL /*static, unused*/, L_24, L_25, /*hidden argument*/NULL);
// gvr_keyboard_show(keyboard_context);
IntPtr_t L_26 = __this->get_keyboard_context_9();
// gvr_keyboard_show(keyboard_context);
AndroidNativeKeyboardProvider_gvr_keyboard_show_m3076390570(NULL /*static, unused*/, L_26, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Gvr.Internal.AndroidNativeKeyboardProvider::UpdateData()
extern "C" void AndroidNativeKeyboardProvider_UpdateData_m3359755956 (AndroidNativeKeyboardProvider_t2887228014 * __this, const MethodInfo* method)
{
gvr_clock_time_point_t1124886566 V_0;
memset(&V_0, 0, sizeof(V_0));
{
// gvr_clock_time_point time = gvr_get_time_point_now();
gvr_clock_time_point_t1124886566 L_0 = AndroidNativeKeyboardProvider_gvr_get_time_point_now_m2949313034(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = L_0;
// time.monotonic_system_time_nanos += kPredictionTimeWithoutVsyncNanos;
gvr_clock_time_point_t1124886566 * L_1 = (&V_0);
int64_t L_2 = L_1->get_monotonic_system_time_nanos_0();
L_1->set_monotonic_system_time_nanos_0(((int64_t)((int64_t)L_2+(int64_t)(((int64_t)((int64_t)((int32_t)50000000)))))));
// GvrKeyboardSetFrameData(keyboard_context, time);
IntPtr_t L_3 = __this->get_keyboard_context_9();
gvr_clock_time_point_t1124886566 L_4 = V_0;
// GvrKeyboardSetFrameData(keyboard_context, time);
AndroidNativeKeyboardProvider_GvrKeyboardSetFrameData_m1728339064(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL);
// GL.IssuePluginEvent(renderEventFunction, advanceID);
IntPtr_t L_5 = __this->get_renderEventFunction_0();
// GL.IssuePluginEvent(renderEventFunction, advanceID);
GL_IssuePluginEvent_m2498560141(NULL /*static, unused*/, L_5, ((int32_t)1571584315), /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Gvr.Internal.AndroidNativeKeyboardProvider::Render(System.Int32,UnityEngine.Matrix4x4,UnityEngine.Matrix4x4,UnityEngine.Rect)
extern "C" void AndroidNativeKeyboardProvider_Render_m3971606001 (AndroidNativeKeyboardProvider_t2887228014 * __this, int32_t ___eye0, Matrix4x4_t2933234003 ___modelview1, Matrix4x4_t2933234003 ___projection2, Rect_t3681755626 ___viewport3, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (AndroidNativeKeyboardProvider_Render_m3971606001_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
gvr_recti_t2743662910 V_0;
memset(&V_0, 0, sizeof(V_0));
Matrix4x4_t2933234003 V_1;
memset(&V_1, 0, sizeof(V_1));
Matrix4x4_t2933234003 V_2;
memset(&V_2, 0, sizeof(V_2));
Matrix4x4_t2933234003 V_3;
memset(&V_3, 0, sizeof(V_3));
IntPtr_t G_B2_0;
memset(&G_B2_0, 0, sizeof(G_B2_0));
IntPtr_t G_B1_0;
memset(&G_B1_0, 0, sizeof(G_B1_0));
int32_t G_B3_0 = 0;
IntPtr_t G_B3_1;
memset(&G_B3_1, 0, sizeof(G_B3_1));
{
// gvr_recti rect = new gvr_recti();
Initobj (gvr_recti_t2743662910_il2cpp_TypeInfo_var, (&V_0));
// rect.left = (int)viewport.x;
// rect.left = (int)viewport.x;
float L_0 = Rect_get_x_m1393582490((&___viewport3), /*hidden argument*/NULL);
(&V_0)->set_left_0((((int32_t)((int32_t)L_0))));
// rect.top = (int)viewport.y + (int)viewport.height;
// rect.top = (int)viewport.y + (int)viewport.height;
float L_1 = Rect_get_y_m1393582395((&___viewport3), /*hidden argument*/NULL);
// rect.top = (int)viewport.y + (int)viewport.height;
float L_2 = Rect_get_height_m3128694305((&___viewport3), /*hidden argument*/NULL);
(&V_0)->set_top_3(((int32_t)((int32_t)(((int32_t)((int32_t)L_1)))+(int32_t)(((int32_t)((int32_t)L_2))))));
// rect.right = (int)viewport.x + (int)viewport.width;
// rect.right = (int)viewport.x + (int)viewport.width;
float L_3 = Rect_get_x_m1393582490((&___viewport3), /*hidden argument*/NULL);
// rect.right = (int)viewport.x + (int)viewport.width;
float L_4 = Rect_get_width_m1138015702((&___viewport3), /*hidden argument*/NULL);
(&V_0)->set_right_1(((int32_t)((int32_t)(((int32_t)((int32_t)L_3)))+(int32_t)(((int32_t)((int32_t)L_4))))));
// rect.bottom = (int)viewport.y;
// rect.bottom = (int)viewport.y;
float L_5 = Rect_get_y_m1393582395((&___viewport3), /*hidden argument*/NULL);
(&V_0)->set_bottom_2((((int32_t)((int32_t)L_5))));
// Matrix4x4 flipZ = Matrix4x4.Scale(new Vector3(1, 1, -1));
// Matrix4x4 flipZ = Matrix4x4.Scale(new Vector3(1, 1, -1));
Vector3_t2243707580 L_6;
memset(&L_6, 0, sizeof(L_6));
Vector3__ctor_m2638739322(&L_6, (1.0f), (1.0f), (-1.0f), /*hidden argument*/NULL);
// Matrix4x4 flipZ = Matrix4x4.Scale(new Vector3(1, 1, -1));
Matrix4x4_t2933234003 L_7 = Matrix4x4_Scale_m3010328774(NULL /*static, unused*/, L_6, /*hidden argument*/NULL);
V_1 = L_7;
// GvrKeyboardSetEyeData(eye, (flipZ * modelview.inverse).transpose.inverse, projection.transpose, rect);
int32_t L_8 = ___eye0;
Matrix4x4_t2933234003 L_9 = V_1;
// GvrKeyboardSetEyeData(eye, (flipZ * modelview.inverse).transpose.inverse, projection.transpose, rect);
Matrix4x4_t2933234003 L_10 = Matrix4x4_get_inverse_m2479387736((&___modelview1), /*hidden argument*/NULL);
// GvrKeyboardSetEyeData(eye, (flipZ * modelview.inverse).transpose.inverse, projection.transpose, rect);
Matrix4x4_t2933234003 L_11 = Matrix4x4_op_Multiply_m2352863493(NULL /*static, unused*/, L_9, L_10, /*hidden argument*/NULL);
V_2 = L_11;
// GvrKeyboardSetEyeData(eye, (flipZ * modelview.inverse).transpose.inverse, projection.transpose, rect);
Matrix4x4_t2933234003 L_12 = Matrix4x4_get_transpose_m3368305223((&V_2), /*hidden argument*/NULL);
V_3 = L_12;
// GvrKeyboardSetEyeData(eye, (flipZ * modelview.inverse).transpose.inverse, projection.transpose, rect);
Matrix4x4_t2933234003 L_13 = Matrix4x4_get_inverse_m2479387736((&V_3), /*hidden argument*/NULL);
// GvrKeyboardSetEyeData(eye, (flipZ * modelview.inverse).transpose.inverse, projection.transpose, rect);
Matrix4x4_t2933234003 L_14 = Matrix4x4_get_transpose_m3368305223((&___projection2), /*hidden argument*/NULL);
gvr_recti_t2743662910 L_15 = V_0;
// GvrKeyboardSetEyeData(eye, (flipZ * modelview.inverse).transpose.inverse, projection.transpose, rect);
AndroidNativeKeyboardProvider_GvrKeyboardSetEyeData_m3639183237(NULL /*static, unused*/, L_8, L_13, L_14, L_15, /*hidden argument*/NULL);
// GL.IssuePluginEvent(renderEventFunction, eye == 0 ? renderLeftID : renderRightID);
IntPtr_t L_16 = __this->get_renderEventFunction_0();
int32_t L_17 = ___eye0;
G_B1_0 = L_16;
if (L_17)
{
G_B2_0 = L_16;
goto IL_00b2;
}
}
{
G_B3_0 = ((int32_t)1022982717);
G_B3_1 = G_B1_0;
goto IL_00b7;
}
IL_00b2:
{
G_B3_0 = ((int32_t)1022982718);
G_B3_1 = G_B2_0;
}
IL_00b7:
{
// GL.IssuePluginEvent(renderEventFunction, eye == 0 ? renderLeftID : renderRightID);
GL_IssuePluginEvent_m2498560141(NULL /*static, unused*/, G_B3_1, G_B3_0, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Gvr.Internal.AndroidNativeKeyboardProvider::Hide()
extern "C" void AndroidNativeKeyboardProvider_Hide_m1205077765 (AndroidNativeKeyboardProvider_t2887228014 * __this, const MethodInfo* method)
{
{
// gvr_keyboard_hide(keyboard_context);
IntPtr_t L_0 = __this->get_keyboard_context_9();
// gvr_keyboard_hide(keyboard_context);
AndroidNativeKeyboardProvider_gvr_keyboard_hide_m4294388745(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
// }
return;
}
}
// UnityEngine.Matrix4x4 Gvr.Internal.AndroidNativeKeyboardProvider::getRecommendedMatrix(System.Single)
extern "C" Matrix4x4_t2933234003 AndroidNativeKeyboardProvider_getRecommendedMatrix_m1377656731 (AndroidNativeKeyboardProvider_t2887228014 * __this, float ___inputDistance0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (AndroidNativeKeyboardProvider_getRecommendedMatrix_m1377656731_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
Matrix4x4_t2933234003 V_1;
memset(&V_1, 0, sizeof(V_1));
IntPtr_t V_2;
memset(&V_2, 0, sizeof(V_2));
Matrix4x4_t2933234003 V_3;
memset(&V_3, 0, sizeof(V_3));
{
// float distance = Mathf.Clamp(inputDistance, 1.0f, 5.0f);
float L_0 = ___inputDistance0;
// float distance = Mathf.Clamp(inputDistance, 1.0f, 5.0f);
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_1 = Mathf_Clamp_m2354025655(NULL /*static, unused*/, L_0, (1.0f), (5.0f), /*hidden argument*/NULL);
V_0 = L_1;
// Matrix4x4 result = new Matrix4x4();
Initobj (Matrix4x4_t2933234003_il2cpp_TypeInfo_var, (&V_1));
// IntPtr mat_ptr = Marshal.AllocHGlobal(Marshal.SizeOf (result));
Matrix4x4_t2933234003 L_2 = V_1;
Matrix4x4_t2933234003 L_3 = L_2;
Il2CppObject * L_4 = Box(Matrix4x4_t2933234003_il2cpp_TypeInfo_var, &L_3);
// IntPtr mat_ptr = Marshal.AllocHGlobal(Marshal.SizeOf (result));
IL2CPP_RUNTIME_CLASS_INIT(Marshal_t785896760_il2cpp_TypeInfo_var);
int32_t L_5 = Marshal_SizeOf_m2032740146(NULL /*static, unused*/, L_4, /*hidden argument*/NULL);
// IntPtr mat_ptr = Marshal.AllocHGlobal(Marshal.SizeOf (result));
IntPtr_t L_6 = Marshal_AllocHGlobal_m4258042074(NULL /*static, unused*/, L_5, /*hidden argument*/NULL);
V_2 = L_6;
// Marshal.StructureToPtr(result, mat_ptr, true);
Matrix4x4_t2933234003 L_7 = V_1;
Matrix4x4_t2933234003 L_8 = L_7;
Il2CppObject * L_9 = Box(Matrix4x4_t2933234003_il2cpp_TypeInfo_var, &L_8);
IntPtr_t L_10 = V_2;
// Marshal.StructureToPtr(result, mat_ptr, true);
Marshal_StructureToPtr_m3205507777(NULL /*static, unused*/, L_9, L_10, (bool)1, /*hidden argument*/NULL);
// gvr_keyboard_get_recommended_world_from_keyboard_matrix(distance, mat_ptr);
float L_11 = V_0;
IntPtr_t L_12 = V_2;
// gvr_keyboard_get_recommended_world_from_keyboard_matrix(distance, mat_ptr);
AndroidNativeKeyboardProvider_gvr_keyboard_get_recommended_world_from_keyboard_matrix_m2103228330(NULL /*static, unused*/, L_11, L_12, /*hidden argument*/NULL);
// result = (Matrix4x4) Marshal.PtrToStructure(mat_ptr, typeof(Matrix4x4));
IntPtr_t L_13 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_14 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Matrix4x4_t2933234003_0_0_0_var), /*hidden argument*/NULL);
// result = (Matrix4x4) Marshal.PtrToStructure(mat_ptr, typeof(Matrix4x4));
Il2CppObject * L_15 = Marshal_PtrToStructure_m673412918(NULL /*static, unused*/, L_13, L_14, /*hidden argument*/NULL);
V_1 = ((*(Matrix4x4_t2933234003 *)((Matrix4x4_t2933234003 *)UnBox(L_15, Matrix4x4_t2933234003_il2cpp_TypeInfo_var))));
// return result;
Matrix4x4_t2933234003 L_16 = V_1;
V_3 = L_16;
goto IL_005c;
}
IL_005c:
{
// }
Matrix4x4_t2933234003 L_17 = V_3;
return L_17;
}
}
// System.Boolean Gvr.Internal.AndroidNativeKeyboardProvider::IsVrInputMethodAppMinVersion(GvrKeyboard/KeyboardCallback)
extern "C" bool AndroidNativeKeyboardProvider_IsVrInputMethodAppMinVersion_m949362938 (AndroidNativeKeyboardProvider_t2887228014 * __this, KeyboardCallback_t4001681579 * ___keyboardEvent0, const MethodInfo* method)
{
bool V_0 = false;
{
// return true;
V_0 = (bool)1;
goto IL_0008;
}
IL_0008:
{
// }
bool L_0 = V_0;
return L_0;
}
}
// System.Void Gvr.Internal.DummyKeyboardProvider::.ctor()
extern "C" void DummyKeyboardProvider__ctor_m36419367 (DummyKeyboardProvider_t1674367534 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (DummyKeyboardProvider__ctor_m36419367_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// private KeyboardState dummyState = new KeyboardState();
// private KeyboardState dummyState = new KeyboardState();
KeyboardState_t3308394474 * L_0 = (KeyboardState_t3308394474 *)il2cpp_codegen_object_new(KeyboardState_t3308394474_il2cpp_TypeInfo_var);
KeyboardState__ctor_m1186812649(L_0, /*hidden argument*/NULL);
__this->set_dummyState_0(L_0);
// internal DummyKeyboardProvider() { }
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
// internal DummyKeyboardProvider() { }
return;
}
}
// System.Void Gvr.Internal.DummyKeyboardProvider::ReadState(KeyboardState)
extern "C" void DummyKeyboardProvider_ReadState_m2140645608 (DummyKeyboardProvider_t1674367534 * __this, KeyboardState_t3308394474 * ___outState0, const MethodInfo* method)
{
{
// outState.CopyFrom(dummyState);
KeyboardState_t3308394474 * L_0 = ___outState0;
KeyboardState_t3308394474 * L_1 = __this->get_dummyState_0();
// outState.CopyFrom(dummyState);
NullCheck(L_0);
KeyboardState_CopyFrom_m4001058812(L_0, L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Gvr.Internal.DummyKeyboardProvider::OnPause()
extern "C" void DummyKeyboardProvider_OnPause_m805935160 (DummyKeyboardProvider_t1674367534 * __this, const MethodInfo* method)
{
{
// public void OnPause() { }
return;
}
}
// System.Void Gvr.Internal.DummyKeyboardProvider::OnResume()
extern "C" void DummyKeyboardProvider_OnResume_m3238252835 (DummyKeyboardProvider_t1674367534 * __this, const MethodInfo* method)
{
{
// public void OnResume() { }
return;
}
}
// System.Void Gvr.Internal.DummyKeyboardProvider::UpdateData()
extern "C" void DummyKeyboardProvider_UpdateData_m1969667680 (DummyKeyboardProvider_t1674367534 * __this, const MethodInfo* method)
{
{
// public void UpdateData() { }
return;
}
}
// System.Void Gvr.Internal.DummyKeyboardProvider::Render(System.Int32,UnityEngine.Matrix4x4,UnityEngine.Matrix4x4,UnityEngine.Rect)
extern "C" void DummyKeyboardProvider_Render_m1571653523 (DummyKeyboardProvider_t1674367534 * __this, int32_t ___eye0, Matrix4x4_t2933234003 ___modelview1, Matrix4x4_t2933234003 ___projection2, Rect_t3681755626 ___viewport3, const MethodInfo* method)
{
{
// public void Render(int eye, Matrix4x4 modelview, Matrix4x4 projection, Rect viewport) { }
return;
}
}
// System.Void Gvr.Internal.DummyKeyboardProvider::Hide()
extern "C" void DummyKeyboardProvider_Hide_m2530720399 (DummyKeyboardProvider_t1674367534 * __this, const MethodInfo* method)
{
{
// public void Hide() { }
return;
}
}
// System.Void Gvr.Internal.DummyKeyboardProvider::Show(UnityEngine.Matrix4x4,System.Boolean,System.Single,UnityEngine.Matrix4x4)
extern "C" void DummyKeyboardProvider_Show_m2443865194 (DummyKeyboardProvider_t1674367534 * __this, Matrix4x4_t2933234003 ___controllerMatrix0, bool ___useRecommended1, float ___distance2, Matrix4x4_t2933234003 ___model3, const MethodInfo* method)
{
{
// Matrix4x4 model) { }
return;
}
}
// System.Boolean Gvr.Internal.DummyKeyboardProvider::Create(GvrKeyboard/KeyboardCallback)
extern "C" bool DummyKeyboardProvider_Create_m3088324162 (DummyKeyboardProvider_t1674367534 * __this, KeyboardCallback_t4001681579 * ___keyboardEvent0, const MethodInfo* method)
{
bool V_0 = false;
{
// public bool Create(GvrKeyboard.KeyboardCallback keyboardEvent) { return true; }
V_0 = (bool)1;
goto IL_0008;
}
IL_0008:
{
// public bool Create(GvrKeyboard.KeyboardCallback keyboardEvent) { return true; }
bool L_0 = V_0;
return L_0;
}
}
// System.Void Gvr.Internal.DummyKeyboardProvider::SetInputMode(GvrKeyboardInputMode)
extern "C" void DummyKeyboardProvider_SetInputMode_m3702454631 (DummyKeyboardProvider_t1674367534 * __this, int32_t ___mode0, const MethodInfo* method)
{
{
// public void SetInputMode(GvrKeyboardInputMode mode) { }
return;
}
}
// System.String Gvr.Internal.DummyKeyboardProvider::get_EditorText()
extern "C" String_t* DummyKeyboardProvider_get_EditorText_m2283156967 (DummyKeyboardProvider_t1674367534 * __this, const MethodInfo* method)
{
String_t* V_0 = NULL;
{
// public string EditorText { get; set; }
String_t* L_0 = __this->get_U3CEditorTextU3Ek__BackingField_1();
V_0 = L_0;
goto IL_000c;
}
IL_000c:
{
String_t* L_1 = V_0;
return L_1;
}
}
// System.Void Gvr.Internal.DummyKeyboardProvider::set_EditorText(System.String)
extern "C" void DummyKeyboardProvider_set_EditorText_m1969026812 (DummyKeyboardProvider_t1674367534 * __this, String_t* ___value0, const MethodInfo* method)
{
{
// public string EditorText { get; set; }
String_t* L_0 = ___value0;
__this->set_U3CEditorTextU3Ek__BackingField_1(L_0);
return;
}
}
// System.Void Gvr.Internal.EmulatorAccelEvent::.ctor(proto.PhoneEvent/Types/AccelerometerEvent)
extern "C" void EmulatorAccelEvent__ctor_m1068393322 (EmulatorAccelEvent_t621139879 * __this, AccelerometerEvent_t1893725728 * ___proto0, const MethodInfo* method)
{
{
// timestamp = proto.Timestamp;
AccelerometerEvent_t1893725728 * L_0 = ___proto0;
// timestamp = proto.Timestamp;
NullCheck(L_0);
int64_t L_1 = AccelerometerEvent_get_Timestamp_m3620699521(L_0, /*hidden argument*/NULL);
__this->set_timestamp_0(L_1);
// value = new Vector3(proto.X, proto.Y, proto.Z);
AccelerometerEvent_t1893725728 * L_2 = ___proto0;
// value = new Vector3(proto.X, proto.Y, proto.Z);
NullCheck(L_2);
float L_3 = AccelerometerEvent_get_X_m790034322(L_2, /*hidden argument*/NULL);
AccelerometerEvent_t1893725728 * L_4 = ___proto0;
// value = new Vector3(proto.X, proto.Y, proto.Z);
NullCheck(L_4);
float L_5 = AccelerometerEvent_get_Y_m648871821(L_4, /*hidden argument*/NULL);
AccelerometerEvent_t1893725728 * L_6 = ___proto0;
// value = new Vector3(proto.X, proto.Y, proto.Z);
NullCheck(L_6);
float L_7 = AccelerometerEvent_get_Z_m507709320(L_6, /*hidden argument*/NULL);
// value = new Vector3(proto.X, proto.Y, proto.Z);
Vector3_t2243707580 L_8;
memset(&L_8, 0, sizeof(L_8));
Vector3__ctor_m2638739322(&L_8, L_3, L_5, L_7, /*hidden argument*/NULL);
__this->set_value_1(L_8);
// }
return;
}
}
extern "C" void EmulatorAccelEvent__ctor_m1068393322_AdjustorThunk (Il2CppObject * __this, AccelerometerEvent_t1893725728 * ___proto0, const MethodInfo* method)
{
EmulatorAccelEvent_t621139879 * _thisAdjusted = reinterpret_cast<EmulatorAccelEvent_t621139879 *>(__this + 1);
EmulatorAccelEvent__ctor_m1068393322(_thisAdjusted, ___proto0, method);
}
// Conversion methods for marshalling of: Gvr.Internal.EmulatorButtonEvent
extern "C" void EmulatorButtonEvent_t156276569_marshal_pinvoke(const EmulatorButtonEvent_t156276569& unmarshaled, EmulatorButtonEvent_t156276569_marshaled_pinvoke& marshaled)
{
marshaled.___code_0 = unmarshaled.get_code_0();
marshaled.___down_1 = static_cast<int32_t>(unmarshaled.get_down_1());
}
extern "C" void EmulatorButtonEvent_t156276569_marshal_pinvoke_back(const EmulatorButtonEvent_t156276569_marshaled_pinvoke& marshaled, EmulatorButtonEvent_t156276569& unmarshaled)
{
int32_t unmarshaled_code_temp_0 = 0;
unmarshaled_code_temp_0 = marshaled.___code_0;
unmarshaled.set_code_0(unmarshaled_code_temp_0);
bool unmarshaled_down_temp_1 = false;
unmarshaled_down_temp_1 = static_cast<bool>(marshaled.___down_1);
unmarshaled.set_down_1(unmarshaled_down_temp_1);
}
// Conversion method for clean up from marshalling of: Gvr.Internal.EmulatorButtonEvent
extern "C" void EmulatorButtonEvent_t156276569_marshal_pinvoke_cleanup(EmulatorButtonEvent_t156276569_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: Gvr.Internal.EmulatorButtonEvent
extern "C" void EmulatorButtonEvent_t156276569_marshal_com(const EmulatorButtonEvent_t156276569& unmarshaled, EmulatorButtonEvent_t156276569_marshaled_com& marshaled)
{
marshaled.___code_0 = unmarshaled.get_code_0();
marshaled.___down_1 = static_cast<int32_t>(unmarshaled.get_down_1());
}
extern "C" void EmulatorButtonEvent_t156276569_marshal_com_back(const EmulatorButtonEvent_t156276569_marshaled_com& marshaled, EmulatorButtonEvent_t156276569& unmarshaled)
{
int32_t unmarshaled_code_temp_0 = 0;
unmarshaled_code_temp_0 = marshaled.___code_0;
unmarshaled.set_code_0(unmarshaled_code_temp_0);
bool unmarshaled_down_temp_1 = false;
unmarshaled_down_temp_1 = static_cast<bool>(marshaled.___down_1);
unmarshaled.set_down_1(unmarshaled_down_temp_1);
}
// Conversion method for clean up from marshalling of: Gvr.Internal.EmulatorButtonEvent
extern "C" void EmulatorButtonEvent_t156276569_marshal_com_cleanup(EmulatorButtonEvent_t156276569_marshaled_com& marshaled)
{
}
// System.Void Gvr.Internal.EmulatorButtonEvent::.ctor(proto.PhoneEvent/Types/KeyEvent)
extern "C" void EmulatorButtonEvent__ctor_m1309920830 (EmulatorButtonEvent_t156276569 * __this, KeyEvent_t639576718 * ___proto0, const MethodInfo* method)
{
{
// code = (ButtonCode) proto.Code;
KeyEvent_t639576718 * L_0 = ___proto0;
// code = (ButtonCode) proto.Code;
NullCheck(L_0);
int32_t L_1 = KeyEvent_get_Code_m4093277921(L_0, /*hidden argument*/NULL);
__this->set_code_0(L_1);
// down = proto.Action == 0;
KeyEvent_t639576718 * L_2 = ___proto0;
// down = proto.Action == 0;
NullCheck(L_2);
int32_t L_3 = KeyEvent_get_Action_m3103875472(L_2, /*hidden argument*/NULL);
__this->set_down_1((bool)((((int32_t)L_3) == ((int32_t)0))? 1 : 0));
// }
return;
}
}
extern "C" void EmulatorButtonEvent__ctor_m1309920830_AdjustorThunk (Il2CppObject * __this, KeyEvent_t639576718 * ___proto0, const MethodInfo* method)
{
EmulatorButtonEvent_t156276569 * _thisAdjusted = reinterpret_cast<EmulatorButtonEvent_t156276569 *>(__this + 1);
EmulatorButtonEvent__ctor_m1309920830(_thisAdjusted, ___proto0, method);
}
// System.Void Gvr.Internal.EmulatorClientSocket::.ctor()
extern "C" void EmulatorClientSocket__ctor_m2223632350 (EmulatorClientSocket_t2001911543 * __this, const MethodInfo* method)
{
{
// private volatile bool shouldStop = false;
il2cpp_codegen_memory_barrier();
__this->set_shouldStop_7(0);
// private volatile bool lastConnectionAttemptWasSuccessful = true;
il2cpp_codegen_memory_barrier();
__this->set_lastConnectionAttemptWasSuccessful_8(1);
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// System.Boolean Gvr.Internal.EmulatorClientSocket::get_connected()
extern "C" bool EmulatorClientSocket_get_connected_m887135136 (EmulatorClientSocket_t2001911543 * __this, const MethodInfo* method)
{
bool V_0 = false;
{
// public bool connected { get; private set; }
bool L_0 = __this->get_U3CconnectedU3Ek__BackingField_10();
V_0 = L_0;
goto IL_000c;
}
IL_000c:
{
bool L_1 = V_0;
return L_1;
}
}
// System.Void Gvr.Internal.EmulatorClientSocket::set_connected(System.Boolean)
extern "C" void EmulatorClientSocket_set_connected_m3484293743 (EmulatorClientSocket_t2001911543 * __this, bool ___value0, const MethodInfo* method)
{
{
// public bool connected { get; private set; }
bool L_0 = ___value0;
__this->set_U3CconnectedU3Ek__BackingField_10(L_0);
return;
}
}
// System.Void Gvr.Internal.EmulatorClientSocket::Init(Gvr.Internal.EmulatorManager)
extern "C" void EmulatorClientSocket_Init_m4171573166 (EmulatorClientSocket_t2001911543 * __this, EmulatorManager_t3364249716 * ___remote0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorClientSocket_Init_m4171573166_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// phoneRemote = remote;
EmulatorManager_t3364249716 * L_0 = ___remote0;
__this->set_phoneRemote_9(L_0);
// if (EmulatorConfig.Instance.PHONE_EVENT_MODE != EmulatorConfig.Mode.OFF) {
IL2CPP_RUNTIME_CLASS_INIT(EmulatorConfig_t616150261_il2cpp_TypeInfo_var);
EmulatorConfig_t616150261 * L_1 = EmulatorConfig_get_Instance_m410425010(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_1);
int32_t L_2 = L_1->get_PHONE_EVENT_MODE_3();
if (!L_2)
{
goto IL_0047;
}
}
{
// phoneEventThread = new Thread(phoneEventSocketLoop);
IntPtr_t L_3;
L_3.set_m_value_0((void*)(void*)EmulatorClientSocket_phoneEventSocketLoop_m1408520055_MethodInfo_var);
ThreadStart_t3437517264 * L_4 = (ThreadStart_t3437517264 *)il2cpp_codegen_object_new(ThreadStart_t3437517264_il2cpp_TypeInfo_var);
ThreadStart__ctor_m3015256841(L_4, __this, L_3, /*hidden argument*/NULL);
// phoneEventThread = new Thread(phoneEventSocketLoop);
Thread_t241561612 * L_5 = (Thread_t241561612 *)il2cpp_codegen_object_new(Thread_t241561612_il2cpp_TypeInfo_var);
Thread__ctor_m4175494164(L_5, L_4, /*hidden argument*/NULL);
__this->set_phoneEventThread_6(L_5);
// phoneEventThread.IsBackground = true;
Thread_t241561612 * L_6 = __this->get_phoneEventThread_6();
// phoneEventThread.IsBackground = true;
NullCheck(L_6);
Thread_set_IsBackground_m2222126055(L_6, (bool)1, /*hidden argument*/NULL);
// phoneEventThread.Start();
Thread_t241561612 * L_7 = __this->get_phoneEventThread_6();
// phoneEventThread.Start();
NullCheck(L_7);
Thread_Start_m1419497481(L_7, /*hidden argument*/NULL);
}
IL_0047:
{
// }
return;
}
}
// System.Void Gvr.Internal.EmulatorClientSocket::phoneEventSocketLoop()
extern "C" void EmulatorClientSocket_phoneEventSocketLoop_m1408520055 (EmulatorClientSocket_t2001911543 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorClientSocket_phoneEventSocketLoop_m1408520055_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int64_t V_0 = 0;
DateTime_t693205669 V_1;
memset(&V_1, 0, sizeof(V_1));
Exception_t1927440687 * V_2 = NULL;
TimeSpan_t3430258949 V_3;
memset(&V_3, 0, sizeof(V_3));
DateTime_t693205669 V_4;
memset(&V_4, 0, sizeof(V_4));
float V_5 = 0.0f;
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);
{
// while (!shouldStop) {
goto IL_00a8;
}
IL_0006:
{
// long lastConnectionAttemptTime = DateTime.Now.Ticks;
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var);
DateTime_t693205669 L_0 = DateTime_get_Now_m24136300(NULL /*static, unused*/, /*hidden argument*/NULL);
V_1 = L_0;
// long lastConnectionAttemptTime = DateTime.Now.Ticks;
int64_t L_1 = DateTime_get_Ticks_m310281298((&V_1), /*hidden argument*/NULL);
V_0 = L_1;
}
IL_0015:
try
{ // begin try (depth: 1)
// phoneConnect();
// phoneConnect();
EmulatorClientSocket_phoneConnect_m3583139274(__this, /*hidden argument*/NULL);
// } catch(Exception e) {
goto IL_0064;
} // 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->klass))
goto CATCH_0022;
throw e;
}
CATCH_0022:
{ // begin catch(System.Exception)
{
V_2 = ((Exception_t1927440687 *)__exception_local);
// if (lastConnectionAttemptWasSuccessful) {
bool L_2 = __this->get_lastConnectionAttemptWasSuccessful_8();
il2cpp_codegen_memory_barrier();
if (!L_2)
{
goto IL_005e;
}
}
IL_0031:
{
// Debug.LogWarningFormat("{0}\n{1}", e.Message, e.StackTrace);
ObjectU5BU5D_t3614634134* L_3 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)2));
Exception_t1927440687 * L_4 = V_2;
// Debug.LogWarningFormat("{0}\n{1}", e.Message, e.StackTrace);
NullCheck(L_4);
String_t* L_5 = VirtFuncInvoker0< String_t* >::Invoke(6 /* System.String System.Exception::get_Message() */, L_4);
NullCheck(L_3);
ArrayElementTypeCheck (L_3, L_5);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)L_5);
ObjectU5BU5D_t3614634134* L_6 = L_3;
Exception_t1927440687 * L_7 = V_2;
// Debug.LogWarningFormat("{0}\n{1}", e.Message, e.StackTrace);
NullCheck(L_7);
String_t* L_8 = VirtFuncInvoker0< String_t* >::Invoke(8 /* System.String System.Exception::get_StackTrace() */, L_7);
NullCheck(L_6);
ArrayElementTypeCheck (L_6, L_8);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(1), (Il2CppObject *)L_8);
// Debug.LogWarningFormat("{0}\n{1}", e.Message, e.StackTrace);
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_LogWarningFormat_m2130157695(NULL /*static, unused*/, _stringLiteral1296085355, L_6, /*hidden argument*/NULL);
// lastConnectionAttemptWasSuccessful = false;
il2cpp_codegen_memory_barrier();
__this->set_lastConnectionAttemptWasSuccessful_8(0);
}
IL_005e:
{
goto IL_0064;
}
} // end catch (depth: 1)
IL_0064:
{
// TimeSpan elapsed = new TimeSpan(DateTime.Now.Ticks - lastConnectionAttemptTime);
// TimeSpan elapsed = new TimeSpan(DateTime.Now.Ticks - lastConnectionAttemptTime);
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t693205669_il2cpp_TypeInfo_var);
DateTime_t693205669 L_9 = DateTime_get_Now_m24136300(NULL /*static, unused*/, /*hidden argument*/NULL);
V_4 = L_9;
// TimeSpan elapsed = new TimeSpan(DateTime.Now.Ticks - lastConnectionAttemptTime);
int64_t L_10 = DateTime_get_Ticks_m310281298((&V_4), /*hidden argument*/NULL);
int64_t L_11 = V_0;
// TimeSpan elapsed = new TimeSpan(DateTime.Now.Ticks - lastConnectionAttemptTime);
TimeSpan__ctor_m96381766((&V_3), ((int64_t)((int64_t)L_10-(int64_t)L_11)), /*hidden argument*/NULL);
// float toWait = kMinReconnectInterval - (float) elapsed.TotalSeconds;
// float toWait = kMinReconnectInterval - (float) elapsed.TotalSeconds;
double L_12 = TimeSpan_get_TotalSeconds_m1295026915((&V_3), /*hidden argument*/NULL);
V_5 = ((float)((float)(1.0f)-(float)(((float)((float)L_12)))));
// if (toWait > 0) {
float L_13 = V_5;
if ((!(((float)L_13) > ((float)(0.0f)))))
{
goto IL_00a7;
}
}
{
// Thread.Sleep((int) (toWait * 1000));
float L_14 = V_5;
// Thread.Sleep((int) (toWait * 1000));
IL2CPP_RUNTIME_CLASS_INIT(Thread_t241561612_il2cpp_TypeInfo_var);
Thread_Sleep_m1248422015(NULL /*static, unused*/, (((int32_t)((int32_t)((float)((float)L_14*(float)(1000.0f)))))), /*hidden argument*/NULL);
}
IL_00a7:
{
}
IL_00a8:
{
// while (!shouldStop) {
bool L_15 = __this->get_shouldStop_7();
il2cpp_codegen_memory_barrier();
if (!L_15)
{
goto IL_0006;
}
}
{
// }
return;
}
}
// System.Void Gvr.Internal.EmulatorClientSocket::phoneConnect()
extern "C" void EmulatorClientSocket_phoneConnect_m3583139274 (EmulatorClientSocket_t2001911543 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorClientSocket_phoneConnect_m3583139274_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
TcpClient_t408947970 * 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);
String_t* G_B3_0 = NULL;
{
// string addr = EmulatorConfig.Instance.PHONE_EVENT_MODE == EmulatorConfig.Mode.USB
IL2CPP_RUNTIME_CLASS_INIT(EmulatorConfig_t616150261_il2cpp_TypeInfo_var);
EmulatorConfig_t616150261 * L_0 = EmulatorConfig_get_Instance_m410425010(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_0);
int32_t L_1 = L_0->get_PHONE_EVENT_MODE_3();
if ((!(((uint32_t)L_1) == ((uint32_t)1))))
{
goto IL_001b;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(EmulatorConfig_t616150261_il2cpp_TypeInfo_var);
String_t* L_2 = ((EmulatorConfig_t616150261_StaticFields*)EmulatorConfig_t616150261_il2cpp_TypeInfo_var->static_fields)->get_USB_SERVER_IP_4();
G_B3_0 = L_2;
goto IL_0020;
}
IL_001b:
{
IL2CPP_RUNTIME_CLASS_INIT(EmulatorConfig_t616150261_il2cpp_TypeInfo_var);
String_t* L_3 = ((EmulatorConfig_t616150261_StaticFields*)EmulatorConfig_t616150261_il2cpp_TypeInfo_var->static_fields)->get_WIFI_SERVER_IP_5();
G_B3_0 = L_3;
}
IL_0020:
{
V_0 = G_B3_0;
}
IL_0021:
try
{ // begin try (depth: 1)
{
// if (EmulatorConfig.Instance.PHONE_EVENT_MODE == EmulatorConfig.Mode.USB) {
IL2CPP_RUNTIME_CLASS_INIT(EmulatorConfig_t616150261_il2cpp_TypeInfo_var);
EmulatorConfig_t616150261 * L_4 = EmulatorConfig_get_Instance_m410425010(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_4);
int32_t L_5 = L_4->get_PHONE_EVENT_MODE_3();
if ((!(((uint32_t)L_5) == ((uint32_t)1))))
{
goto IL_003f;
}
}
IL_0032:
{
// setupPortForwarding(kPhoneEventPort);
IL2CPP_RUNTIME_CLASS_INIT(EmulatorClientSocket_t2001911543_il2cpp_TypeInfo_var);
int32_t L_6 = ((EmulatorClientSocket_t2001911543_StaticFields*)EmulatorClientSocket_t2001911543_il2cpp_TypeInfo_var->static_fields)->get_kPhoneEventPort_2();
// setupPortForwarding(kPhoneEventPort);
EmulatorClientSocket_setupPortForwarding_m693595422(__this, L_6, /*hidden argument*/NULL);
}
IL_003f:
{
// TcpClient tcpClient = new TcpClient(addr, kPhoneEventPort);
String_t* L_7 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(EmulatorClientSocket_t2001911543_il2cpp_TypeInfo_var);
int32_t L_8 = ((EmulatorClientSocket_t2001911543_StaticFields*)EmulatorClientSocket_t2001911543_il2cpp_TypeInfo_var->static_fields)->get_kPhoneEventPort_2();
// TcpClient tcpClient = new TcpClient(addr, kPhoneEventPort);
TcpClient_t408947970 * L_9 = (TcpClient_t408947970 *)il2cpp_codegen_object_new(TcpClient_t408947970_il2cpp_TypeInfo_var);
TcpClient__ctor_m4115769373(L_9, L_7, L_8, /*hidden argument*/NULL);
V_1 = L_9;
// connected = true;
// connected = true;
EmulatorClientSocket_set_connected_m3484293743(__this, (bool)1, /*hidden argument*/NULL);
// ProcessConnection(tcpClient);
TcpClient_t408947970 * L_10 = V_1;
// ProcessConnection(tcpClient);
EmulatorClientSocket_ProcessConnection_m2203714527(__this, L_10, /*hidden argument*/NULL);
// tcpClient.Close();
TcpClient_t408947970 * L_11 = V_1;
// tcpClient.Close();
NullCheck(L_11);
TcpClient_Close_m4260227760(L_11, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x6F, FINALLY_0065);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_0065;
}
FINALLY_0065:
{ // begin finally (depth: 1)
// connected = false;
// connected = false;
EmulatorClientSocket_set_connected_m3484293743(__this, (bool)0, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(101)
} // end finally (depth: 1)
IL2CPP_CLEANUP(101)
{
IL2CPP_JUMP_TBL(0x6F, IL_006f)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_006f:
{
// }
return;
}
}
// System.Void Gvr.Internal.EmulatorClientSocket::setupPortForwarding(System.Int32)
extern "C" void EmulatorClientSocket_setupPortForwarding_m693595422 (EmulatorClientSocket_t2001911543 * __this, int32_t ___port0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorClientSocket_setupPortForwarding_m693595422_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
Process_t1448008787 * V_1 = NULL;
String_t* V_2 = NULL;
String_t* V_3 = NULL;
int32_t V_4 = 0;
ProcessStartInfo_t2898458543 * V_5 = NULL;
int32_t V_6 = 0;
String_t* V_7 = NULL;
{
// string adbCommand = string.Format("adb forward tcp:{0} tcp:{0}", port);
int32_t L_0 = ___port0;
int32_t L_1 = L_0;
Il2CppObject * L_2 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_1);
// string adbCommand = string.Format("adb forward tcp:{0} tcp:{0}", port);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_3 = String_Format_m2024975688(NULL /*static, unused*/, _stringLiteral1373918990, L_2, /*hidden argument*/NULL);
V_0 = L_3;
// System.Diagnostics.Process myProcess = new System.Diagnostics.Process();
Process_t1448008787 * L_4 = (Process_t1448008787 *)il2cpp_codegen_object_new(Process_t1448008787_il2cpp_TypeInfo_var);
Process__ctor_m699031546(L_4, /*hidden argument*/NULL);
V_1 = L_4;
// string processFilename = "bash";
V_2 = _stringLiteral2375273008;
// string processArguments = string.Format("-l -c \"{0}\"", adbCommand);
String_t* L_5 = V_0;
// string processArguments = string.Format("-l -c \"{0}\"", adbCommand);
String_t* L_6 = String_Format_m2024975688(NULL /*static, unused*/, _stringLiteral1992102629, L_5, /*hidden argument*/NULL);
V_3 = L_6;
// int kExitCodeCommandNotFound = 127;
V_4 = ((int32_t)127);
// System.Diagnostics.ProcessStartInfo myProcessStartInfo =
String_t* L_7 = V_2;
String_t* L_8 = V_3;
// new System.Diagnostics.ProcessStartInfo(processFilename, processArguments);
ProcessStartInfo_t2898458543 * L_9 = (ProcessStartInfo_t2898458543 *)il2cpp_codegen_object_new(ProcessStartInfo_t2898458543_il2cpp_TypeInfo_var);
ProcessStartInfo__ctor_m1871457906(L_9, L_7, L_8, /*hidden argument*/NULL);
V_5 = L_9;
// myProcessStartInfo.UseShellExecute = false;
ProcessStartInfo_t2898458543 * L_10 = V_5;
// myProcessStartInfo.UseShellExecute = false;
NullCheck(L_10);
ProcessStartInfo_set_UseShellExecute_m2714645304(L_10, (bool)0, /*hidden argument*/NULL);
// myProcessStartInfo.RedirectStandardError = true;
ProcessStartInfo_t2898458543 * L_11 = V_5;
// myProcessStartInfo.RedirectStandardError = true;
NullCheck(L_11);
ProcessStartInfo_set_RedirectStandardError_m871400493(L_11, (bool)1, /*hidden argument*/NULL);
// myProcessStartInfo.CreateNoWindow = true;
ProcessStartInfo_t2898458543 * L_12 = V_5;
// myProcessStartInfo.CreateNoWindow = true;
NullCheck(L_12);
ProcessStartInfo_set_CreateNoWindow_m2521430833(L_12, (bool)1, /*hidden argument*/NULL);
// myProcess.StartInfo = myProcessStartInfo;
Process_t1448008787 * L_13 = V_1;
ProcessStartInfo_t2898458543 * L_14 = V_5;
// myProcess.StartInfo = myProcessStartInfo;
NullCheck(L_13);
Process_set_StartInfo_m364158131(L_13, L_14, /*hidden argument*/NULL);
// myProcess.Start();
Process_t1448008787 * L_15 = V_1;
// myProcess.Start();
NullCheck(L_15);
Process_Start_m2737551206(L_15, /*hidden argument*/NULL);
// myProcess.WaitForExit();
Process_t1448008787 * L_16 = V_1;
// myProcess.WaitForExit();
NullCheck(L_16);
Process_WaitForExit_m1494961306(L_16, /*hidden argument*/NULL);
// while (!myProcess.HasExited) {
goto IL_0071;
}
IL_0069:
{
// Thread.Sleep(1);
// Thread.Sleep(1);
IL2CPP_RUNTIME_CLASS_INIT(Thread_t241561612_il2cpp_TypeInfo_var);
Thread_Sleep_m1248422015(NULL /*static, unused*/, 1, /*hidden argument*/NULL);
}
IL_0071:
{
// while (!myProcess.HasExited) {
Process_t1448008787 * L_17 = V_1;
// while (!myProcess.HasExited) {
NullCheck(L_17);
bool L_18 = Process_get_HasExited_m594007172(L_17, /*hidden argument*/NULL);
if (!L_18)
{
goto IL_0069;
}
}
{
// int exitCode = myProcess.ExitCode;
Process_t1448008787 * L_19 = V_1;
// int exitCode = myProcess.ExitCode;
NullCheck(L_19);
int32_t L_20 = Process_get_ExitCode_m1259516068(L_19, /*hidden argument*/NULL);
V_6 = L_20;
// string standardError = myProcess.StandardError.ReadToEnd();
Process_t1448008787 * L_21 = V_1;
// string standardError = myProcess.StandardError.ReadToEnd();
NullCheck(L_21);
StreamReader_t2360341767 * L_22 = Process_get_StandardError_m221148315(L_21, /*hidden argument*/NULL);
// string standardError = myProcess.StandardError.ReadToEnd();
NullCheck(L_22);
String_t* L_23 = VirtFuncInvoker0< String_t* >::Invoke(11 /* System.String System.IO.TextReader::ReadToEnd() */, L_22);
V_7 = L_23;
// myProcess.Close();
Process_t1448008787 * L_24 = V_1;
// myProcess.Close();
NullCheck(L_24);
Process_Close_m2239215458(L_24, /*hidden argument*/NULL);
// if (exitCode == 0) {
int32_t L_25 = V_6;
if (L_25)
{
goto IL_00a4;
}
}
{
// return;
goto IL_00e6;
}
IL_00a4:
{
// if (exitCode == kExitCodeCommandNotFound) {
int32_t L_26 = V_6;
int32_t L_27 = V_4;
if ((!(((uint32_t)L_26) == ((uint32_t)L_27))))
{
goto IL_00b9;
}
}
{
// throw new Exception(
// throw new Exception(
Exception_t1927440687 * L_28 = (Exception_t1927440687 *)il2cpp_codegen_object_new(Exception_t1927440687_il2cpp_TypeInfo_var);
Exception__ctor_m485833136(L_28, _stringLiteral794328206, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_28);
}
IL_00b9:
{
// throw new Exception(
ObjectU5BU5D_t3614634134* L_29 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)4));
int32_t L_30 = V_6;
int32_t L_31 = L_30;
Il2CppObject * L_32 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_31);
NullCheck(L_29);
ArrayElementTypeCheck (L_29, L_32);
(L_29)->SetAt(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)L_32);
ObjectU5BU5D_t3614634134* L_33 = L_29;
String_t* L_34 = V_2;
NullCheck(L_33);
ArrayElementTypeCheck (L_33, L_34);
(L_33)->SetAt(static_cast<il2cpp_array_size_t>(1), (Il2CppObject *)L_34);
ObjectU5BU5D_t3614634134* L_35 = L_33;
String_t* L_36 = V_3;
NullCheck(L_35);
ArrayElementTypeCheck (L_35, L_36);
(L_35)->SetAt(static_cast<il2cpp_array_size_t>(2), (Il2CppObject *)L_36);
ObjectU5BU5D_t3614634134* L_37 = L_35;
String_t* L_38 = V_7;
NullCheck(L_37);
ArrayElementTypeCheck (L_37, L_38);
(L_37)->SetAt(static_cast<il2cpp_array_size_t>(3), (Il2CppObject *)L_38);
// String.Format(
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_39 = String_Format_m1263743648(NULL /*static, unused*/, _stringLiteral3824521097, L_37, /*hidden argument*/NULL);
// throw new Exception(
Exception_t1927440687 * L_40 = (Exception_t1927440687 *)il2cpp_codegen_object_new(Exception_t1927440687_il2cpp_TypeInfo_var);
Exception__ctor_m485833136(L_40, L_39, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_40);
}
IL_00e6:
{
// }
return;
}
}
// System.Void Gvr.Internal.EmulatorClientSocket::ProcessConnection(System.Net.Sockets.TcpClient)
extern "C" void EmulatorClientSocket_ProcessConnection_m2203714527 (EmulatorClientSocket_t2001911543 * __this, TcpClient_t408947970 * ___tcpClient0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorClientSocket_ProcessConnection_m2203714527_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_t3397334013* V_0 = NULL;
NetworkStream_t581172200 * V_1 = NULL;
int32_t V_2 = 0;
int32_t V_3 = 0;
ByteU5BU5D_t3397334013* V_4 = NULL;
PhoneEvent_t2572128318 * V_5 = NULL;
{
// byte[] buffer = new byte[4];
V_0 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)4));
// NetworkStream stream = tcpClient.GetStream();
TcpClient_t408947970 * L_0 = ___tcpClient0;
// NetworkStream stream = tcpClient.GetStream();
NullCheck(L_0);
NetworkStream_t581172200 * L_1 = TcpClient_GetStream_m872175179(L_0, /*hidden argument*/NULL);
V_1 = L_1;
// stream.ReadTimeout = kSocketReadTimeoutMillis;
NetworkStream_t581172200 * L_2 = V_1;
// stream.ReadTimeout = kSocketReadTimeoutMillis;
NullCheck(L_2);
VirtActionInvoker1< int32_t >::Invoke(13 /* System.Void System.IO.Stream::set_ReadTimeout(System.Int32) */, L_2, ((int32_t)5000));
// tcpClient.ReceiveTimeout = kSocketReadTimeoutMillis;
TcpClient_t408947970 * L_3 = ___tcpClient0;
// tcpClient.ReceiveTimeout = kSocketReadTimeoutMillis;
NullCheck(L_3);
TcpClient_set_ReceiveTimeout_m4062746526(L_3, ((int32_t)5000), /*hidden argument*/NULL);
// while (!shouldStop) {
goto IL_00c1;
}
IL_002a:
{
// int bytesRead = blockingRead(stream, buffer, 0, 4);
NetworkStream_t581172200 * L_4 = V_1;
ByteU5BU5D_t3397334013* L_5 = V_0;
// int bytesRead = blockingRead(stream, buffer, 0, 4);
int32_t L_6 = EmulatorClientSocket_blockingRead_m3410398218(__this, L_4, L_5, 0, 4, /*hidden argument*/NULL);
V_2 = L_6;
// if (bytesRead < 4) {
int32_t L_7 = V_2;
if ((((int32_t)L_7) >= ((int32_t)4)))
{
goto IL_0049;
}
}
{
// throw new Exception(
// throw new Exception(
Exception_t1927440687 * L_8 = (Exception_t1927440687 *)il2cpp_codegen_object_new(Exception_t1927440687_il2cpp_TypeInfo_var);
Exception__ctor_m485833136(L_8, _stringLiteral830690597, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8);
}
IL_0049:
{
// int msgLen = unpack32bits(correctEndianness(buffer), 0);
ByteU5BU5D_t3397334013* L_9 = V_0;
// int msgLen = unpack32bits(correctEndianness(buffer), 0);
IL2CPP_RUNTIME_CLASS_INIT(EmulatorClientSocket_t2001911543_il2cpp_TypeInfo_var);
ByteU5BU5D_t3397334013* L_10 = EmulatorClientSocket_correctEndianness_m336142497(NULL /*static, unused*/, L_9, /*hidden argument*/NULL);
// int msgLen = unpack32bits(correctEndianness(buffer), 0);
int32_t L_11 = EmulatorClientSocket_unpack32bits_m1885594369(__this, L_10, 0, /*hidden argument*/NULL);
V_3 = L_11;
// byte[] dataBuffer = new byte[msgLen];
int32_t L_12 = V_3;
V_4 = ((ByteU5BU5D_t3397334013*)SZArrayNew(ByteU5BU5D_t3397334013_il2cpp_TypeInfo_var, (uint32_t)L_12));
// bytesRead = blockingRead(stream, dataBuffer, 0, msgLen);
NetworkStream_t581172200 * L_13 = V_1;
ByteU5BU5D_t3397334013* L_14 = V_4;
int32_t L_15 = V_3;
// bytesRead = blockingRead(stream, dataBuffer, 0, msgLen);
int32_t L_16 = EmulatorClientSocket_blockingRead_m3410398218(__this, L_13, L_14, 0, L_15, /*hidden argument*/NULL);
V_2 = L_16;
// if (bytesRead < msgLen) {
int32_t L_17 = V_2;
int32_t L_18 = V_3;
if ((((int32_t)L_17) >= ((int32_t)L_18)))
{
goto IL_007e;
}
}
{
// throw new Exception(
// throw new Exception(
Exception_t1927440687 * L_19 = (Exception_t1927440687 *)il2cpp_codegen_object_new(Exception_t1927440687_il2cpp_TypeInfo_var);
Exception__ctor_m485833136(L_19, _stringLiteral830690597, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_19);
}
IL_007e:
{
// PhoneEvent.CreateBuilder().MergeFrom(dataBuffer).Build();
IL2CPP_RUNTIME_CLASS_INIT(PhoneEvent_t2572128318_il2cpp_TypeInfo_var);
Builder_t2537253112 * L_20 = PhoneEvent_CreateBuilder_m1484593355(NULL /*static, unused*/, /*hidden argument*/NULL);
ByteU5BU5D_t3397334013* L_21 = V_4;
// PhoneEvent.CreateBuilder().MergeFrom(dataBuffer).Build();
NullCheck(L_20);
Builder_t2537253112 * L_22 = AbstractBuilderLite_2_MergeFrom_m705343286(L_20, L_21, /*hidden argument*/AbstractBuilderLite_2_MergeFrom_m705343286_MethodInfo_var);
// PhoneEvent.CreateBuilder().MergeFrom(dataBuffer).Build();
NullCheck(L_22);
PhoneEvent_t2572128318 * L_23 = VirtFuncInvoker0< PhoneEvent_t2572128318 * >::Invoke(12 /* !0 Google.ProtocolBuffers.AbstractBuilderLite`2<proto.PhoneEvent,proto.PhoneEvent/Builder>::Build() */, L_22);
V_5 = L_23;
// phoneRemote.OnPhoneEvent(proto);
EmulatorManager_t3364249716 * L_24 = __this->get_phoneRemote_9();
PhoneEvent_t2572128318 * L_25 = V_5;
// phoneRemote.OnPhoneEvent(proto);
NullCheck(L_24);
EmulatorManager_OnPhoneEvent_m187935926(L_24, L_25, /*hidden argument*/NULL);
// if (!lastConnectionAttemptWasSuccessful) {
bool L_26 = __this->get_lastConnectionAttemptWasSuccessful_8();
il2cpp_codegen_memory_barrier();
if (L_26)
{
goto IL_00c0;
}
}
{
// Debug.Log("Successfully connected to controller emulator app.");
// Debug.Log("Successfully connected to controller emulator app.");
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_Log_m920475918(NULL /*static, unused*/, _stringLiteral2095212411, /*hidden argument*/NULL);
// lastConnectionAttemptWasSuccessful = true;
il2cpp_codegen_memory_barrier();
__this->set_lastConnectionAttemptWasSuccessful_8(1);
}
IL_00c0:
{
}
IL_00c1:
{
// while (!shouldStop) {
bool L_27 = __this->get_shouldStop_7();
il2cpp_codegen_memory_barrier();
if (!L_27)
{
goto IL_002a;
}
}
{
// }
return;
}
}
// System.Int32 Gvr.Internal.EmulatorClientSocket::blockingRead(System.Net.Sockets.NetworkStream,System.Byte[],System.Int32,System.Int32)
extern "C" int32_t EmulatorClientSocket_blockingRead_m3410398218 (EmulatorClientSocket_t2001911543 * __this, NetworkStream_t581172200 * ___stream0, ByteU5BU5D_t3397334013* ___buffer1, int32_t ___index2, int32_t ___count3, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorClientSocket_blockingRead_m3410398218_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 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);
{
// int bytesRead = 0;
V_0 = 0;
// while (!shouldStop && bytesRead < count) {
goto IL_0045;
}
IL_0008:
{
}
IL_0009:
try
{ // begin try (depth: 1)
{
// int n = stream.Read(buffer, index + bytesRead, count - bytesRead);
NetworkStream_t581172200 * L_0 = ___stream0;
ByteU5BU5D_t3397334013* L_1 = ___buffer1;
int32_t L_2 = ___index2;
int32_t L_3 = V_0;
int32_t L_4 = ___count3;
int32_t L_5 = V_0;
// int n = stream.Read(buffer, index + bytesRead, count - bytesRead);
NullCheck(L_0);
int32_t L_6 = VirtFuncInvoker3< int32_t, ByteU5BU5D_t3397334013*, int32_t, int32_t >::Invoke(15 /* System.Int32 System.IO.Stream::Read(System.Byte[],System.Int32,System.Int32) */, L_0, L_1, ((int32_t)((int32_t)L_2+(int32_t)L_3)), ((int32_t)((int32_t)L_4-(int32_t)L_5)));
V_1 = L_6;
// if (n <= 0) {
int32_t L_7 = V_1;
if ((((int32_t)L_7) > ((int32_t)0)))
{
goto IL_0028;
}
}
IL_0020:
{
// return -1;
V_2 = (-1);
goto IL_0061;
}
IL_0028:
{
// bytesRead += n;
int32_t L_8 = V_0;
int32_t L_9 = V_1;
V_0 = ((int32_t)((int32_t)L_8+(int32_t)L_9));
// } catch (IOException) {
goto IL_0044;
}
} // 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->klass))
goto CATCH_0032;
if(il2cpp_codegen_class_is_assignable_from (ObjectDisposedException_t2695136451_il2cpp_TypeInfo_var, e.ex->klass))
goto CATCH_003b;
throw e;
}
CATCH_0032:
{ // begin catch(System.IO.IOException)
// return -1;
V_2 = (-1);
goto IL_0061;
} // end catch (depth: 1)
CATCH_003b:
{ // begin catch(System.ObjectDisposedException)
// } catch (ObjectDisposedException) {
// return -1;
V_2 = (-1);
goto IL_0061;
} // end catch (depth: 1)
IL_0044:
{
}
IL_0045:
{
// while (!shouldStop && bytesRead < count) {
bool L_10 = __this->get_shouldStop_7();
il2cpp_codegen_memory_barrier();
if (L_10)
{
goto IL_005a;
}
}
{
int32_t L_11 = V_0;
int32_t L_12 = ___count3;
if ((((int32_t)L_11) < ((int32_t)L_12)))
{
goto IL_0008;
}
}
IL_005a:
{
// return bytesRead;
int32_t L_13 = V_0;
V_2 = L_13;
goto IL_0061;
}
IL_0061:
{
// }
int32_t L_14 = V_2;
return L_14;
}
}
// System.Void Gvr.Internal.EmulatorClientSocket::OnDestroy()
extern "C" void EmulatorClientSocket_OnDestroy_m1902642189 (EmulatorClientSocket_t2001911543 * __this, const MethodInfo* method)
{
{
// shouldStop = true;
il2cpp_codegen_memory_barrier();
__this->set_shouldStop_7(1);
// if (phoneMirroringSocket != null) {
TcpClient_t408947970 * L_0 = __this->get_phoneMirroringSocket_5();
if (!L_0)
{
goto IL_0029;
}
}
{
// phoneMirroringSocket.Close ();
TcpClient_t408947970 * L_1 = __this->get_phoneMirroringSocket_5();
// phoneMirroringSocket.Close ();
NullCheck(L_1);
TcpClient_Close_m4260227760(L_1, /*hidden argument*/NULL);
// phoneMirroringSocket = null;
__this->set_phoneMirroringSocket_5((TcpClient_t408947970 *)NULL);
}
IL_0029:
{
// if (phoneEventThread != null) {
Thread_t241561612 * L_2 = __this->get_phoneEventThread_6();
if (!L_2)
{
goto IL_0041;
}
}
{
// phoneEventThread.Join();
Thread_t241561612 * L_3 = __this->get_phoneEventThread_6();
// phoneEventThread.Join();
NullCheck(L_3);
Thread_Join_m4266176203(L_3, /*hidden argument*/NULL);
}
IL_0041:
{
// }
return;
}
}
// System.Int32 Gvr.Internal.EmulatorClientSocket::unpack32bits(System.Byte[],System.Int32)
extern "C" int32_t EmulatorClientSocket_unpack32bits_m1885594369 (EmulatorClientSocket_t2001911543 * __this, ByteU5BU5D_t3397334013* ___array0, int32_t ___offset1, const MethodInfo* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
{
// int num = 0;
V_0 = 0;
// for (int i = 0; i < 4; i++) {
V_1 = 0;
goto IL_001f;
}
IL_000a:
{
// num += array [offset + i] << (i * 8);
int32_t L_0 = V_0;
ByteU5BU5D_t3397334013* L_1 = ___array0;
int32_t L_2 = ___offset1;
int32_t L_3 = V_1;
NullCheck(L_1);
int32_t L_4 = ((int32_t)((int32_t)L_2+(int32_t)L_3));
uint8_t L_5 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
int32_t L_6 = V_1;
V_0 = ((int32_t)((int32_t)L_0+(int32_t)((int32_t)((int32_t)L_5<<(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_6*(int32_t)8))&(int32_t)((int32_t)31)))))));
// for (int i = 0; i < 4; i++) {
int32_t L_7 = V_1;
V_1 = ((int32_t)((int32_t)L_7+(int32_t)1));
}
IL_001f:
{
// for (int i = 0; i < 4; i++) {
int32_t L_8 = V_1;
if ((((int32_t)L_8) < ((int32_t)4)))
{
goto IL_000a;
}
}
{
// return num;
int32_t L_9 = V_0;
V_2 = L_9;
goto IL_002d;
}
IL_002d:
{
// }
int32_t L_10 = V_2;
return L_10;
}
}
// System.Byte[] Gvr.Internal.EmulatorClientSocket::correctEndianness(System.Byte[])
extern "C" ByteU5BU5D_t3397334013* EmulatorClientSocket_correctEndianness_m336142497 (Il2CppObject * __this /* static, unused */, ByteU5BU5D_t3397334013* ___array0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorClientSocket_correctEndianness_m336142497_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_t3397334013* V_0 = NULL;
{
// if (BitConverter.IsLittleEndian)
IL2CPP_RUNTIME_CLASS_INIT(BitConverter_t3195628829_il2cpp_TypeInfo_var);
bool L_0 = ((BitConverter_t3195628829_StaticFields*)BitConverter_t3195628829_il2cpp_TypeInfo_var->static_fields)->get_IsLittleEndian_1();
if (!L_0)
{
goto IL_0011;
}
}
{
// Array.Reverse(array);
ByteU5BU5D_t3397334013* L_1 = ___array0;
// Array.Reverse(array);
Array_Reverse_m3883292526(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_1, /*hidden argument*/NULL);
}
IL_0011:
{
// return array;
ByteU5BU5D_t3397334013* L_2 = ___array0;
V_0 = L_2;
goto IL_0018;
}
IL_0018:
{
// }
ByteU5BU5D_t3397334013* L_3 = V_0;
return L_3;
}
}
// System.Void Gvr.Internal.EmulatorClientSocket::.cctor()
extern "C" void EmulatorClientSocket__cctor_m288133801 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorClientSocket__cctor_m288133801_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// private static readonly int kPhoneEventPort = 7003;
((EmulatorClientSocket_t2001911543_StaticFields*)EmulatorClientSocket_t2001911543_il2cpp_TypeInfo_var->static_fields)->set_kPhoneEventPort_2(((int32_t)7003));
return;
}
}
// System.Void Gvr.Internal.EmulatorConfig::.ctor()
extern "C" void EmulatorConfig__ctor_m1856438434 (EmulatorConfig_t616150261 * __this, const MethodInfo* method)
{
{
// public Mode PHONE_EVENT_MODE = Mode.USB;
__this->set_PHONE_EVENT_MODE_3(1);
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// Gvr.Internal.EmulatorConfig Gvr.Internal.EmulatorConfig::get_Instance()
extern "C" EmulatorConfig_t616150261 * EmulatorConfig_get_Instance_m410425010 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorConfig_get_Instance_m410425010_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
EmulatorConfigU5BU5D_t1923274648* V_0 = NULL;
GameObject_t1756533147 * V_1 = NULL;
EmulatorConfig_t616150261 * V_2 = NULL;
{
// if (instance == null) {
IL2CPP_RUNTIME_CLASS_INIT(EmulatorConfig_t616150261_il2cpp_TypeInfo_var);
EmulatorConfig_t616150261 * L_0 = ((EmulatorConfig_t616150261_StaticFields*)EmulatorConfig_t616150261_il2cpp_TypeInfo_var->static_fields)->get_instance_2();
// if (instance == null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0055;
}
}
{
// EmulatorConfig[] configs = (EmulatorConfig[]) FindObjectsOfType(typeof(EmulatorConfig));
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_2 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(EmulatorConfig_t616150261_0_0_0_var), /*hidden argument*/NULL);
// EmulatorConfig[] configs = (EmulatorConfig[]) FindObjectsOfType(typeof(EmulatorConfig));
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
ObjectU5BU5D_t4217747464* L_3 = Object_FindObjectsOfType_m2121813744(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
V_0 = ((EmulatorConfigU5BU5D_t1923274648*)Castclass(L_3, EmulatorConfigU5BU5D_t1923274648_il2cpp_TypeInfo_var));
// if (configs.Length == 1) {
EmulatorConfigU5BU5D_t1923274648* L_4 = V_0;
NullCheck(L_4);
if ((!(((uint32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_4)->max_length))))) == ((uint32_t)1))))
{
goto IL_003f;
}
}
{
// instance = configs[0];
EmulatorConfigU5BU5D_t1923274648* L_5 = V_0;
NullCheck(L_5);
int32_t L_6 = 0;
EmulatorConfig_t616150261 * L_7 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
IL2CPP_RUNTIME_CLASS_INIT(EmulatorConfig_t616150261_il2cpp_TypeInfo_var);
((EmulatorConfig_t616150261_StaticFields*)EmulatorConfig_t616150261_il2cpp_TypeInfo_var->static_fields)->set_instance_2(L_7);
goto IL_0054;
}
IL_003f:
{
// } else if (configs.Length > 1) {
EmulatorConfigU5BU5D_t1923274648* L_8 = V_0;
NullCheck(L_8);
if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_8)->max_length))))) <= ((int32_t)1)))
{
goto IL_0054;
}
}
{
// Debug.LogError(
// Debug.LogError(
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_LogError_m3715728798(NULL /*static, unused*/, _stringLiteral115638372, /*hidden argument*/NULL);
}
IL_0054:
{
}
IL_0055:
{
// if (instance == null) {
IL2CPP_RUNTIME_CLASS_INIT(EmulatorConfig_t616150261_il2cpp_TypeInfo_var);
EmulatorConfig_t616150261 * L_9 = ((EmulatorConfig_t616150261_StaticFields*)EmulatorConfig_t616150261_il2cpp_TypeInfo_var->static_fields)->get_instance_2();
// if (instance == null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_10 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_9, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_10)
{
goto IL_007d;
}
}
{
// var gameObject = new GameObject("PhoneRemoteConfig");
// var gameObject = new GameObject("PhoneRemoteConfig");
GameObject_t1756533147 * L_11 = (GameObject_t1756533147 *)il2cpp_codegen_object_new(GameObject_t1756533147_il2cpp_TypeInfo_var);
GameObject__ctor_m962601984(L_11, _stringLiteral2267280474, /*hidden argument*/NULL);
V_1 = L_11;
// instance = gameObject.AddComponent<EmulatorConfig>();
GameObject_t1756533147 * L_12 = V_1;
// instance = gameObject.AddComponent<EmulatorConfig>();
NullCheck(L_12);
EmulatorConfig_t616150261 * L_13 = GameObject_AddComponent_TisEmulatorConfig_t616150261_m639623939(L_12, /*hidden argument*/GameObject_AddComponent_TisEmulatorConfig_t616150261_m639623939_MethodInfo_var);
IL2CPP_RUNTIME_CLASS_INIT(EmulatorConfig_t616150261_il2cpp_TypeInfo_var);
((EmulatorConfig_t616150261_StaticFields*)EmulatorConfig_t616150261_il2cpp_TypeInfo_var->static_fields)->set_instance_2(L_13);
}
IL_007d:
{
// return instance;
IL2CPP_RUNTIME_CLASS_INIT(EmulatorConfig_t616150261_il2cpp_TypeInfo_var);
EmulatorConfig_t616150261 * L_14 = ((EmulatorConfig_t616150261_StaticFields*)EmulatorConfig_t616150261_il2cpp_TypeInfo_var->static_fields)->get_instance_2();
V_2 = L_14;
goto IL_0088;
}
IL_0088:
{
// }
EmulatorConfig_t616150261 * L_15 = V_2;
return L_15;
}
}
// System.Void Gvr.Internal.EmulatorConfig::.cctor()
extern "C" void EmulatorConfig__cctor_m2606221763 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorConfig__cctor_m2606221763_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// private static EmulatorConfig instance = null;
((EmulatorConfig_t616150261_StaticFields*)EmulatorConfig_t616150261_il2cpp_TypeInfo_var->static_fields)->set_instance_2((EmulatorConfig_t616150261 *)NULL);
// public static readonly string USB_SERVER_IP = "127.0.0.1";
((EmulatorConfig_t616150261_StaticFields*)EmulatorConfig_t616150261_il2cpp_TypeInfo_var->static_fields)->set_USB_SERVER_IP_4(_stringLiteral2524945039);
// public static readonly string WIFI_SERVER_IP = "192.168.43.1";
((EmulatorConfig_t616150261_StaticFields*)EmulatorConfig_t616150261_il2cpp_TypeInfo_var->static_fields)->set_WIFI_SERVER_IP_5(_stringLiteral825751485);
return;
}
}
// System.Void Gvr.Internal.EmulatorGyroEvent::.ctor(proto.PhoneEvent/Types/GyroscopeEvent)
extern "C" void EmulatorGyroEvent__ctor_m3973423935 (EmulatorGyroEvent_t1858389926 * __this, GyroscopeEvent_t182225200 * ___proto0, const MethodInfo* method)
{
{
// timestamp = proto.Timestamp;
GyroscopeEvent_t182225200 * L_0 = ___proto0;
// timestamp = proto.Timestamp;
NullCheck(L_0);
int64_t L_1 = GyroscopeEvent_get_Timestamp_m2387672579(L_0, /*hidden argument*/NULL);
__this->set_timestamp_0(L_1);
// value = new Vector3(proto.X, proto.Y, proto.Z);
GyroscopeEvent_t182225200 * L_2 = ___proto0;
// value = new Vector3(proto.X, proto.Y, proto.Z);
NullCheck(L_2);
float L_3 = GyroscopeEvent_get_X_m2559913650(L_2, /*hidden argument*/NULL);
GyroscopeEvent_t182225200 * L_4 = ___proto0;
// value = new Vector3(proto.X, proto.Y, proto.Z);
NullCheck(L_4);
float L_5 = GyroscopeEvent_get_Y_m2701076151(L_4, /*hidden argument*/NULL);
GyroscopeEvent_t182225200 * L_6 = ___proto0;
// value = new Vector3(proto.X, proto.Y, proto.Z);
NullCheck(L_6);
float L_7 = GyroscopeEvent_get_Z_m2842238652(L_6, /*hidden argument*/NULL);
// value = new Vector3(proto.X, proto.Y, proto.Z);
Vector3_t2243707580 L_8;
memset(&L_8, 0, sizeof(L_8));
Vector3__ctor_m2638739322(&L_8, L_3, L_5, L_7, /*hidden argument*/NULL);
__this->set_value_1(L_8);
// }
return;
}
}
extern "C" void EmulatorGyroEvent__ctor_m3973423935_AdjustorThunk (Il2CppObject * __this, GyroscopeEvent_t182225200 * ___proto0, const MethodInfo* method)
{
EmulatorGyroEvent_t1858389926 * _thisAdjusted = reinterpret_cast<EmulatorGyroEvent_t1858389926 *>(__this + 1);
EmulatorGyroEvent__ctor_m3973423935(_thisAdjusted, ___proto0, method);
}
// System.Void Gvr.Internal.EmulatorKeyboardProvider::.ctor()
extern "C" void EmulatorKeyboardProvider__ctor_m3463846836 (EmulatorKeyboardProvider_t2695781675 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorKeyboardProvider__ctor_m3463846836_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// private string editorText = string.Empty;
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();
__this->set_editorText_3(L_0);
// private GvrKeyboardInputMode mode = GvrKeyboardInputMode.DEFAULT;
__this->set_mode_4(0);
// private bool isValid = false;
__this->set_isValid_6((bool)0);
// public EmulatorKeyboardProvider() {
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
// Debug.Log("Creating stub keyboard");
// Debug.Log("Creating stub keyboard");
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_Log_m920475918(NULL /*static, unused*/, _stringLiteral1826614188, /*hidden argument*/NULL);
// showing = false;
__this->set_showing_1((bool)0);
// isValid = true;
__this->set_isValid_6((bool)1);
// }
return;
}
}
// System.String Gvr.Internal.EmulatorKeyboardProvider::get_EditorText()
extern "C" String_t* EmulatorKeyboardProvider_get_EditorText_m31506478 (EmulatorKeyboardProvider_t2695781675 * __this, const MethodInfo* method)
{
String_t* V_0 = NULL;
{
// get { return editorText; }
String_t* L_0 = __this->get_editorText_3();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// get { return editorText; }
String_t* L_1 = V_0;
return L_1;
}
}
// System.Void Gvr.Internal.EmulatorKeyboardProvider::set_EditorText(System.String)
extern "C" void EmulatorKeyboardProvider_set_EditorText_m179593629 (EmulatorKeyboardProvider_t2695781675 * __this, String_t* ___value0, const MethodInfo* method)
{
{
// set { editorText = value; }
String_t* L_0 = ___value0;
__this->set_editorText_3(L_0);
// set { editorText = value; }
return;
}
}
// System.Void Gvr.Internal.EmulatorKeyboardProvider::SetInputMode(GvrKeyboardInputMode)
extern "C" void EmulatorKeyboardProvider_SetInputMode_m2605193668 (EmulatorKeyboardProvider_t2695781675 * __this, int32_t ___mode0, const MethodInfo* method)
{
{
// this.mode = mode;
int32_t L_0 = ___mode0;
__this->set_mode_4(L_0);
// }
return;
}
}
// System.Void Gvr.Internal.EmulatorKeyboardProvider::OnPause()
extern "C" void EmulatorKeyboardProvider_OnPause_m2124479209 (EmulatorKeyboardProvider_t2695781675 * __this, const MethodInfo* method)
{
{
// public void OnPause() { }
return;
}
}
// System.Void Gvr.Internal.EmulatorKeyboardProvider::OnResume()
extern "C" void EmulatorKeyboardProvider_OnResume_m3302509040 (EmulatorKeyboardProvider_t2695781675 * __this, const MethodInfo* method)
{
{
// public void OnResume() { }
return;
}
}
// System.Void Gvr.Internal.EmulatorKeyboardProvider::ReadState(KeyboardState)
extern "C" void EmulatorKeyboardProvider_ReadState_m45069481 (EmulatorKeyboardProvider_t2695781675 * __this, KeyboardState_t3308394474 * ___outState0, const MethodInfo* method)
{
{
// outState.mode = mode;
KeyboardState_t3308394474 * L_0 = ___outState0;
int32_t L_1 = __this->get_mode_4();
NullCheck(L_0);
L_0->set_mode_1(L_1);
// outState.editorText = editorText;
KeyboardState_t3308394474 * L_2 = ___outState0;
String_t* L_3 = __this->get_editorText_3();
NullCheck(L_2);
L_2->set_editorText_0(L_3);
// outState.worldMatrix = worldMatrix;
KeyboardState_t3308394474 * L_4 = ___outState0;
Matrix4x4_t2933234003 L_5 = __this->get_worldMatrix_5();
NullCheck(L_4);
L_4->set_worldMatrix_4(L_5);
// outState.isValid = isValid;
KeyboardState_t3308394474 * L_6 = ___outState0;
bool L_7 = __this->get_isValid_6();
NullCheck(L_6);
L_6->set_isValid_2(L_7);
// outState.isReady = true;
KeyboardState_t3308394474 * L_8 = ___outState0;
NullCheck(L_8);
L_8->set_isReady_3((bool)1);
// }
return;
}
}
// System.Boolean Gvr.Internal.EmulatorKeyboardProvider::Create(GvrKeyboard/KeyboardCallback)
extern "C" bool EmulatorKeyboardProvider_Create_m1584119999 (EmulatorKeyboardProvider_t2695781675 * __this, KeyboardCallback_t4001681579 * ___keyboardEvent0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorKeyboardProvider_Create_m1584119999_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
// keyboardCallback = keyboardEvent;
KeyboardCallback_t4001681579 * L_0 = ___keyboardEvent0;
__this->set_keyboardCallback_2(L_0);
// if (!isValid) {
bool L_1 = __this->get_isValid_6();
if (L_1)
{
goto IL_0026;
}
}
{
// keyboardCallback(IntPtr.Zero, GvrKeyboardEvent.GVR_KEYBOARD_ERROR_SERVICE_NOT_CONNECTED);
KeyboardCallback_t4001681579 * L_2 = __this->get_keyboardCallback_2();
IntPtr_t L_3 = ((IntPtr_t_StaticFields*)IntPtr_t_il2cpp_TypeInfo_var->static_fields)->get_Zero_1();
// keyboardCallback(IntPtr.Zero, GvrKeyboardEvent.GVR_KEYBOARD_ERROR_SERVICE_NOT_CONNECTED);
NullCheck(L_2);
KeyboardCallback_Invoke_m2410660164(L_2, L_3, 1, /*hidden argument*/NULL);
}
IL_0026:
{
// return true;
V_0 = (bool)1;
goto IL_002d;
}
IL_002d:
{
// }
bool L_4 = V_0;
return L_4;
}
}
// System.Void Gvr.Internal.EmulatorKeyboardProvider::Show(UnityEngine.Matrix4x4,System.Boolean,System.Single,UnityEngine.Matrix4x4)
extern "C" void EmulatorKeyboardProvider_Show_m969023091 (EmulatorKeyboardProvider_t2695781675 * __this, Matrix4x4_t2933234003 ___controllerMatrix0, bool ___useRecommended1, float ___distance2, Matrix4x4_t2933234003 ___model3, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorKeyboardProvider_Show_m969023091_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (!showing && isValid) {
bool L_0 = __this->get_showing_1();
if (L_0)
{
goto IL_0038;
}
}
{
bool L_1 = __this->get_isValid_6();
if (!L_1)
{
goto IL_0038;
}
}
{
// showing = true;
__this->set_showing_1((bool)1);
// worldMatrix = controllerMatrix;
Matrix4x4_t2933234003 L_2 = ___controllerMatrix0;
__this->set_worldMatrix_5(L_2);
// keyboardCallback(IntPtr.Zero, GvrKeyboardEvent.GVR_KEYBOARD_SHOWN);
KeyboardCallback_t4001681579 * L_3 = __this->get_keyboardCallback_2();
IntPtr_t L_4 = ((IntPtr_t_StaticFields*)IntPtr_t_il2cpp_TypeInfo_var->static_fields)->get_Zero_1();
// keyboardCallback(IntPtr.Zero, GvrKeyboardEvent.GVR_KEYBOARD_SHOWN);
NullCheck(L_3);
KeyboardCallback_Invoke_m2410660164(L_3, L_4, 4, /*hidden argument*/NULL);
}
IL_0038:
{
// }
return;
}
}
// System.Void Gvr.Internal.EmulatorKeyboardProvider::UpdateData()
extern "C" void EmulatorKeyboardProvider_UpdateData_m3070658071 (EmulatorKeyboardProvider_t2695781675 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorKeyboardProvider_UpdateData_m3070658071_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
Il2CppChar V_1 = 0x0;
String_t* V_2 = NULL;
int32_t V_3 = 0;
{
// if (!showing)
bool L_0 = __this->get_showing_1();
if (L_0)
{
goto IL_0012;
}
}
{
// return;
goto IL_012c;
}
IL_0012:
{
// if (Input.GetKeyDown(KeyCode.KeypadEnter))
// if (Input.GetKeyDown(KeyCode.KeypadEnter))
IL2CPP_RUNTIME_CLASS_INIT(Input_t1785128008_il2cpp_TypeInfo_var);
bool L_1 = Input_GetKeyDown_m1771960377(NULL /*static, unused*/, ((int32_t)271), /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0038;
}
}
{
// keyboardCallback(IntPtr.Zero, GvrKeyboardEvent.GVR_KEYBOARD_TEXT_COMMITTED);
KeyboardCallback_t4001681579 * L_2 = __this->get_keyboardCallback_2();
IntPtr_t L_3 = ((IntPtr_t_StaticFields*)IntPtr_t_il2cpp_TypeInfo_var->static_fields)->get_Zero_1();
// keyboardCallback(IntPtr.Zero, GvrKeyboardEvent.GVR_KEYBOARD_TEXT_COMMITTED);
NullCheck(L_2);
KeyboardCallback_Invoke_m2410660164(L_2, L_3, 7, /*hidden argument*/NULL);
// return;
goto IL_012c;
}
IL_0038:
{
// if (Input.GetKeyDown(KeyCode.Backspace))
// if (Input.GetKeyDown(KeyCode.Backspace))
IL2CPP_RUNTIME_CLASS_INIT(Input_t1785128008_il2cpp_TypeInfo_var);
bool L_4 = Input_GetKeyDown_m1771960377(NULL /*static, unused*/, 8, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_0081;
}
}
{
// if (editorText.Length > 0)
String_t* L_5 = __this->get_editorText_3();
// if (editorText.Length > 0)
NullCheck(L_5);
int32_t L_6 = String_get_Length_m1606060069(L_5, /*hidden argument*/NULL);
if ((((int32_t)L_6) <= ((int32_t)0)))
{
goto IL_007c;
}
}
{
// editorText = editorText.Substring(0, editorText.Length - 1);
String_t* L_7 = __this->get_editorText_3();
String_t* L_8 = __this->get_editorText_3();
// editorText = editorText.Substring(0, editorText.Length - 1);
NullCheck(L_8);
int32_t L_9 = String_get_Length_m1606060069(L_8, /*hidden argument*/NULL);
// editorText = editorText.Substring(0, editorText.Length - 1);
NullCheck(L_7);
String_t* L_10 = String_Substring_m12482732(L_7, 0, ((int32_t)((int32_t)L_9-(int32_t)1)), /*hidden argument*/NULL);
__this->set_editorText_3(L_10);
// SendUpdateNotification();
// SendUpdateNotification();
EmulatorKeyboardProvider_SendUpdateNotification_m3442702306(__this, /*hidden argument*/NULL);
}
IL_007c:
{
// return;
goto IL_012c;
}
IL_0081:
{
// if (Input.inputString.Length <= 0)
IL2CPP_RUNTIME_CLASS_INIT(Input_t1785128008_il2cpp_TypeInfo_var);
String_t* L_11 = Input_get_inputString_m586924470(NULL /*static, unused*/, /*hidden argument*/NULL);
// if (Input.inputString.Length <= 0)
NullCheck(L_11);
int32_t L_12 = String_get_Length_m1606060069(L_11, /*hidden argument*/NULL);
if ((((int32_t)L_12) > ((int32_t)0)))
{
goto IL_0097;
}
}
{
// return;
goto IL_012c;
}
IL_0097:
{
// switch (mode)
int32_t L_13 = __this->get_mode_4();
V_0 = L_13;
// {
int32_t L_14 = V_0;
if (!L_14)
{
goto IL_00b0;
}
}
{
int32_t L_15 = V_0;
if ((((int32_t)L_15) == ((int32_t)1)))
{
goto IL_00cb;
}
}
{
goto IL_0121;
}
IL_00b0:
{
// editorText += Input.inputString;
String_t* L_16 = __this->get_editorText_3();
// editorText += Input.inputString;
IL2CPP_RUNTIME_CLASS_INIT(Input_t1785128008_il2cpp_TypeInfo_var);
String_t* L_17 = Input_get_inputString_m586924470(NULL /*static, unused*/, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_18 = String_Concat_m2596409543(NULL /*static, unused*/, L_16, L_17, /*hidden argument*/NULL);
__this->set_editorText_3(L_18);
// break;
goto IL_0126;
}
IL_00cb:
{
// foreach (char n in Input.inputString)
IL2CPP_RUNTIME_CLASS_INIT(Input_t1785128008_il2cpp_TypeInfo_var);
String_t* L_19 = Input_get_inputString_m586924470(NULL /*static, unused*/, /*hidden argument*/NULL);
V_2 = L_19;
V_3 = 0;
goto IL_0110;
}
IL_00d9:
{
// foreach (char n in Input.inputString)
String_t* L_20 = V_2;
int32_t L_21 = V_3;
// foreach (char n in Input.inputString)
NullCheck(L_20);
Il2CppChar L_22 = String_get_Chars_m4230566705(L_20, L_21, /*hidden argument*/NULL);
V_1 = L_22;
// if (n >= '0' && n <= '9')
Il2CppChar L_23 = V_1;
if ((((int32_t)L_23) < ((int32_t)((int32_t)48))))
{
goto IL_010b;
}
}
{
Il2CppChar L_24 = V_1;
if ((((int32_t)L_24) > ((int32_t)((int32_t)57))))
{
goto IL_010b;
}
}
{
// editorText += n;
String_t* L_25 = __this->get_editorText_3();
Il2CppChar L_26 = V_1;
Il2CppChar L_27 = L_26;
Il2CppObject * L_28 = Box(Char_t3454481338_il2cpp_TypeInfo_var, &L_27);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_29 = String_Concat_m56707527(NULL /*static, unused*/, L_25, L_28, /*hidden argument*/NULL);
__this->set_editorText_3(L_29);
}
IL_010b:
{
// foreach (char n in Input.inputString)
int32_t L_30 = V_3;
V_3 = ((int32_t)((int32_t)L_30+(int32_t)1));
}
IL_0110:
{
int32_t L_31 = V_3;
String_t* L_32 = V_2;
// foreach (char n in Input.inputString)
NullCheck(L_32);
int32_t L_33 = String_get_Length_m1606060069(L_32, /*hidden argument*/NULL);
if ((((int32_t)L_31) < ((int32_t)L_33)))
{
goto IL_00d9;
}
}
{
// break;
goto IL_0126;
}
IL_0121:
{
// break;
goto IL_0126;
}
IL_0126:
{
// SendUpdateNotification();
// SendUpdateNotification();
EmulatorKeyboardProvider_SendUpdateNotification_m3442702306(__this, /*hidden argument*/NULL);
}
IL_012c:
{
// }
return;
}
}
// System.Void Gvr.Internal.EmulatorKeyboardProvider::Render(System.Int32,UnityEngine.Matrix4x4,UnityEngine.Matrix4x4,UnityEngine.Rect)
extern "C" void EmulatorKeyboardProvider_Render_m2728030032 (EmulatorKeyboardProvider_t2695781675 * __this, int32_t ___eye0, Matrix4x4_t2933234003 ___modelview1, Matrix4x4_t2933234003 ___projection2, Rect_t3681755626 ___viewport3, const MethodInfo* method)
{
{
// public void Render(int eye, Matrix4x4 modelview, Matrix4x4 projection, Rect viewport) {}
return;
}
}
// System.Void Gvr.Internal.EmulatorKeyboardProvider::Hide()
extern "C" void EmulatorKeyboardProvider_Hide_m889740258 (EmulatorKeyboardProvider_t2695781675 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorKeyboardProvider_Hide_m889740258_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (showing) {
bool L_0 = __this->get_showing_1();
if (!L_0)
{
goto IL_0026;
}
}
{
// showing = false;
__this->set_showing_1((bool)0);
// keyboardCallback(IntPtr.Zero, GvrKeyboardEvent.GVR_KEYBOARD_HIDDEN);
KeyboardCallback_t4001681579 * L_1 = __this->get_keyboardCallback_2();
IntPtr_t L_2 = ((IntPtr_t_StaticFields*)IntPtr_t_il2cpp_TypeInfo_var->static_fields)->get_Zero_1();
// keyboardCallback(IntPtr.Zero, GvrKeyboardEvent.GVR_KEYBOARD_HIDDEN);
NullCheck(L_1);
KeyboardCallback_Invoke_m2410660164(L_1, L_2, 5, /*hidden argument*/NULL);
}
IL_0026:
{
// }
return;
}
}
// System.Void Gvr.Internal.EmulatorKeyboardProvider::SendUpdateNotification()
extern "C" void EmulatorKeyboardProvider_SendUpdateNotification_m3442702306 (EmulatorKeyboardProvider_t2695781675 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorKeyboardProvider_SendUpdateNotification_m3442702306_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// keyboardCallback(IntPtr.Zero, GvrKeyboardEvent.GVR_KEYBOARD_TEXT_UPDATED);
KeyboardCallback_t4001681579 * L_0 = __this->get_keyboardCallback_2();
IntPtr_t L_1 = ((IntPtr_t_StaticFields*)IntPtr_t_il2cpp_TypeInfo_var->static_fields)->get_Zero_1();
// keyboardCallback(IntPtr.Zero, GvrKeyboardEvent.GVR_KEYBOARD_TEXT_UPDATED);
NullCheck(L_0);
KeyboardCallback_Invoke_m2410660164(L_0, L_1, 6, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Gvr.Internal.EmulatorManager::.ctor()
extern "C" void EmulatorManager__ctor_m2902830753 (EmulatorManager_t3364249716 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorManager__ctor_m2902830753_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// private WaitForEndOfFrame waitForEndOfFrame = new WaitForEndOfFrame();
WaitForEndOfFrame_t1785723201 * L_0 = (WaitForEndOfFrame_t1785723201 *)il2cpp_codegen_object_new(WaitForEndOfFrame_t1785723201_il2cpp_TypeInfo_var);
WaitForEndOfFrame__ctor_m3062480170(L_0, /*hidden argument*/NULL);
__this->set_waitForEndOfFrame_3(L_0);
// private Queue pendingEvents = Queue.Synchronized(new Queue());
Queue_t1288490777 * L_1 = (Queue_t1288490777 *)il2cpp_codegen_object_new(Queue_t1288490777_il2cpp_TypeInfo_var);
Queue__ctor_m3347147485(L_1, /*hidden argument*/NULL);
Queue_t1288490777 * L_2 = Queue_Synchronized_m4254509198(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
__this->set_pendingEvents_15(L_2);
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// Gvr.Internal.EmulatorManager Gvr.Internal.EmulatorManager::get_Instance()
extern "C" EmulatorManager_t3364249716 * EmulatorManager_get_Instance_m2672610894 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorManager_get_Instance_m2672610894_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GameObject_t1756533147 * V_0 = NULL;
EmulatorManager_t3364249716 * V_1 = NULL;
{
// if (instance == null) {
IL2CPP_RUNTIME_CLASS_INIT(EmulatorManager_t3364249716_il2cpp_TypeInfo_var);
EmulatorManager_t3364249716 * L_0 = ((EmulatorManager_t3364249716_StaticFields*)EmulatorManager_t3364249716_il2cpp_TypeInfo_var->static_fields)->get_instance_4();
// if (instance == null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0033;
}
}
{
// var gameObject = new GameObject("PhoneRemote");
// var gameObject = new GameObject("PhoneRemote");
GameObject_t1756533147 * L_2 = (GameObject_t1756533147 *)il2cpp_codegen_object_new(GameObject_t1756533147_il2cpp_TypeInfo_var);
GameObject__ctor_m962601984(L_2, _stringLiteral4181646808, /*hidden argument*/NULL);
V_0 = L_2;
// instance = gameObject.AddComponent<EmulatorManager>();
GameObject_t1756533147 * L_3 = V_0;
// instance = gameObject.AddComponent<EmulatorManager>();
NullCheck(L_3);
EmulatorManager_t3364249716 * L_4 = GameObject_AddComponent_TisEmulatorManager_t3364249716_m3658772290(L_3, /*hidden argument*/GameObject_AddComponent_TisEmulatorManager_t3364249716_m3658772290_MethodInfo_var);
IL2CPP_RUNTIME_CLASS_INIT(EmulatorManager_t3364249716_il2cpp_TypeInfo_var);
((EmulatorManager_t3364249716_StaticFields*)EmulatorManager_t3364249716_il2cpp_TypeInfo_var->static_fields)->set_instance_4(L_4);
// GameObject.DontDestroyOnLoad(instance);
EmulatorManager_t3364249716 * L_5 = ((EmulatorManager_t3364249716_StaticFields*)EmulatorManager_t3364249716_il2cpp_TypeInfo_var->static_fields)->get_instance_4();
// GameObject.DontDestroyOnLoad(instance);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
Object_DontDestroyOnLoad_m2330762974(NULL /*static, unused*/, L_5, /*hidden argument*/NULL);
}
IL_0033:
{
// return instance;
IL2CPP_RUNTIME_CLASS_INIT(EmulatorManager_t3364249716_il2cpp_TypeInfo_var);
EmulatorManager_t3364249716 * L_6 = ((EmulatorManager_t3364249716_StaticFields*)EmulatorManager_t3364249716_il2cpp_TypeInfo_var->static_fields)->get_instance_4();
V_1 = L_6;
goto IL_003e;
}
IL_003e:
{
// }
EmulatorManager_t3364249716 * L_7 = V_1;
return L_7;
}
}
// System.Void Gvr.Internal.EmulatorManager::add_gyroEventListeners(Gvr.Internal.EmulatorManager/OnGyroEvent)
extern "C" void EmulatorManager_add_gyroEventListeners_m3470864766 (EmulatorManager_t3364249716 * __this, OnGyroEvent_t1804908545 * ___value0, const MethodInfo* method)
{
{
// if (value != null) {
OnGyroEvent_t1804908545 * L_0 = ___value0;
if (!L_0)
{
goto IL_0015;
}
}
{
// value(currentGyroEvent);
OnGyroEvent_t1804908545 * L_1 = ___value0;
EmulatorGyroEvent_t1858389926 L_2 = __this->get_currentGyroEvent_5();
// value(currentGyroEvent);
NullCheck(L_1);
OnGyroEvent_Invoke_m3195722476(L_1, L_2, /*hidden argument*/NULL);
}
IL_0015:
{
// gyroEventListenersInternal += value;
OnGyroEvent_t1804908545 * L_3 = ___value0;
// gyroEventListenersInternal += value;
EmulatorManager_add_gyroEventListenersInternal_m3017450141(__this, L_3, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Gvr.Internal.EmulatorManager::remove_gyroEventListeners(Gvr.Internal.EmulatorManager/OnGyroEvent)
extern "C" void EmulatorManager_remove_gyroEventListeners_m2633060857 (EmulatorManager_t3364249716 * __this, OnGyroEvent_t1804908545 * ___value0, const MethodInfo* method)
{
{
// gyroEventListenersInternal -= value;
OnGyroEvent_t1804908545 * L_0 = ___value0;
// gyroEventListenersInternal -= value;
EmulatorManager_remove_gyroEventListenersInternal_m1959037462(__this, L_0, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Gvr.Internal.EmulatorManager::add_accelEventListeners(Gvr.Internal.EmulatorManager/OnAccelEvent)
extern "C" void EmulatorManager_add_accelEventListeners_m270640740 (EmulatorManager_t3364249716 * __this, OnAccelEvent_t1967739812 * ___value0, const MethodInfo* method)
{
{
// if (value != null) {
OnAccelEvent_t1967739812 * L_0 = ___value0;
if (!L_0)
{
goto IL_0015;
}
}
{
// value(currentAccelEvent);
OnAccelEvent_t1967739812 * L_1 = ___value0;
EmulatorAccelEvent_t621139879 L_2 = __this->get_currentAccelEvent_6();
// value(currentAccelEvent);
NullCheck(L_1);
OnAccelEvent_Invoke_m1734383268(L_1, L_2, /*hidden argument*/NULL);
}
IL_0015:
{
// accelEventListenersInternal += value;
OnAccelEvent_t1967739812 * L_3 = ___value0;
// accelEventListenersInternal += value;
EmulatorManager_add_accelEventListenersInternal_m3372572737(__this, L_3, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Gvr.Internal.EmulatorManager::remove_accelEventListeners(Gvr.Internal.EmulatorManager/OnAccelEvent)
extern "C" void EmulatorManager_remove_accelEventListeners_m2032519549 (EmulatorManager_t3364249716 * __this, OnAccelEvent_t1967739812 * ___value0, const MethodInfo* method)
{
{
// accelEventListenersInternal -= value;
OnAccelEvent_t1967739812 * L_0 = ___value0;
// accelEventListenersInternal -= value;
EmulatorManager_remove_accelEventListenersInternal_m2962477662(__this, L_0, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Gvr.Internal.EmulatorManager::add_touchEventListeners(Gvr.Internal.EmulatorManager/OnTouchEvent)
extern "C" void EmulatorManager_add_touchEventListeners_m1614012878 (EmulatorManager_t3364249716 * __this, OnTouchEvent_t4143287487 * ___value0, const MethodInfo* method)
{
{
// if (value != null
OnTouchEvent_t4143287487 * L_0 = ___value0;
if (!L_0)
{
goto IL_0025;
}
}
{
EmulatorTouchEvent_t1122923020 * L_1 = __this->get_address_of_currentTouchEvent_7();
List_1_t2369806134 * L_2 = L_1->get_pointers_2();
if (!L_2)
{
goto IL_0025;
}
}
{
// value(currentTouchEvent);
OnTouchEvent_t4143287487 * L_3 = ___value0;
EmulatorTouchEvent_t1122923020 L_4 = __this->get_currentTouchEvent_7();
// value(currentTouchEvent);
NullCheck(L_3);
OnTouchEvent_Invoke_m1749858212(L_3, L_4, /*hidden argument*/NULL);
}
IL_0025:
{
// touchEventListenersInternal += value;
OnTouchEvent_t4143287487 * L_5 = ___value0;
// touchEventListenersInternal += value;
EmulatorManager_add_touchEventListenersInternal_m4176544517(__this, L_5, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Gvr.Internal.EmulatorManager::remove_touchEventListeners(Gvr.Internal.EmulatorManager/OnTouchEvent)
extern "C" void EmulatorManager_remove_touchEventListeners_m2841481457 (EmulatorManager_t3364249716 * __this, OnTouchEvent_t4143287487 * ___value0, const MethodInfo* method)
{
{
// touchEventListenersInternal -= value;
OnTouchEvent_t4143287487 * L_0 = ___value0;
// touchEventListenersInternal -= value;
EmulatorManager_remove_touchEventListenersInternal_m1405523860(__this, L_0, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Gvr.Internal.EmulatorManager::add_orientationEventListeners(Gvr.Internal.EmulatorManager/OnOrientationEvent)
extern "C" void EmulatorManager_add_orientationEventListeners_m354605180 (EmulatorManager_t3364249716 * __this, OnOrientationEvent_t602701282 * ___value0, const MethodInfo* method)
{
{
// if (value != null) {
OnOrientationEvent_t602701282 * L_0 = ___value0;
if (!L_0)
{
goto IL_0015;
}
}
{
// value(currentOrientationEvent);
OnOrientationEvent_t602701282 * L_1 = ___value0;
EmulatorOrientationEvent_t4153005117 L_2 = __this->get_currentOrientationEvent_8();
// value(currentOrientationEvent);
NullCheck(L_1);
OnOrientationEvent_Invoke_m1547755396(L_1, L_2, /*hidden argument*/NULL);
}
IL_0015:
{
// orientationEventListenersInternal += value;
OnOrientationEvent_t602701282 * L_3 = ___value0;
// orientationEventListenersInternal += value;
EmulatorManager_add_orientationEventListenersInternal_m3579286333(__this, L_3, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Gvr.Internal.EmulatorManager::remove_orientationEventListeners(Gvr.Internal.EmulatorManager/OnOrientationEvent)
extern "C" void EmulatorManager_remove_orientationEventListeners_m4008957729 (EmulatorManager_t3364249716 * __this, OnOrientationEvent_t602701282 * ___value0, const MethodInfo* method)
{
{
// orientationEventListenersInternal -= value;
OnOrientationEvent_t602701282 * L_0 = ___value0;
// orientationEventListenersInternal -= value;
EmulatorManager_remove_orientationEventListenersInternal_m3190711766(__this, L_0, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Gvr.Internal.EmulatorManager::add_buttonEventListeners(Gvr.Internal.EmulatorManager/OnButtonEvent)
extern "C" void EmulatorManager_add_buttonEventListeners_m2575451646 (EmulatorManager_t3364249716 * __this, OnButtonEvent_t358370788 * ___value0, const MethodInfo* method)
{
{
// if (value != null) {
OnButtonEvent_t358370788 * L_0 = ___value0;
if (!L_0)
{
goto IL_0015;
}
}
{
// value(currentButtonEvent);
OnButtonEvent_t358370788 * L_1 = ___value0;
EmulatorButtonEvent_t156276569 L_2 = __this->get_currentButtonEvent_9();
// value(currentButtonEvent);
NullCheck(L_1);
OnButtonEvent_Invoke_m3526811670(L_1, L_2, /*hidden argument*/NULL);
}
IL_0015:
{
// buttonEventListenersInternal += value;
OnButtonEvent_t358370788 * L_3 = ___value0;
// buttonEventListenersInternal += value;
EmulatorManager_add_buttonEventListenersInternal_m1124036221(__this, L_3, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Gvr.Internal.EmulatorManager::remove_buttonEventListeners(Gvr.Internal.EmulatorManager/OnButtonEvent)
extern "C" void EmulatorManager_remove_buttonEventListeners_m3693896249 (EmulatorManager_t3364249716 * __this, OnButtonEvent_t358370788 * ___value0, const MethodInfo* method)
{
{
// buttonEventListenersInternal -= value;
OnButtonEvent_t358370788 * L_0 = ___value0;
// buttonEventListenersInternal -= value;
EmulatorManager_remove_buttonEventListenersInternal_m1787312118(__this, L_0, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Gvr.Internal.EmulatorManager::onGyroEvent(Gvr.Internal.EmulatorGyroEvent)
extern "C" void EmulatorManager_onGyroEvent_m4150320277 (EmulatorManager_t3364249716 * __this, EmulatorGyroEvent_t1858389926 ___e0, const MethodInfo* method)
{
{
// currentGyroEvent = e;
EmulatorGyroEvent_t1858389926 L_0 = ___e0;
__this->set_currentGyroEvent_5(L_0);
// if (gyroEventListenersInternal != null) {
OnGyroEvent_t1804908545 * L_1 = __this->get_gyroEventListenersInternal_10();
if (!L_1)
{
goto IL_0021;
}
}
{
// gyroEventListenersInternal(e);
OnGyroEvent_t1804908545 * L_2 = __this->get_gyroEventListenersInternal_10();
EmulatorGyroEvent_t1858389926 L_3 = ___e0;
// gyroEventListenersInternal(e);
NullCheck(L_2);
OnGyroEvent_Invoke_m3195722476(L_2, L_3, /*hidden argument*/NULL);
}
IL_0021:
{
// }
return;
}
}
// System.Void Gvr.Internal.EmulatorManager::onAccelEvent(Gvr.Internal.EmulatorAccelEvent)
extern "C" void EmulatorManager_onAccelEvent_m2853352313 (EmulatorManager_t3364249716 * __this, EmulatorAccelEvent_t621139879 ___e0, const MethodInfo* method)
{
{
// currentAccelEvent = e;
EmulatorAccelEvent_t621139879 L_0 = ___e0;
__this->set_currentAccelEvent_6(L_0);
// if (accelEventListenersInternal != null) {
OnAccelEvent_t1967739812 * L_1 = __this->get_accelEventListenersInternal_11();
if (!L_1)
{
goto IL_0021;
}
}
{
// accelEventListenersInternal(e);
OnAccelEvent_t1967739812 * L_2 = __this->get_accelEventListenersInternal_11();
EmulatorAccelEvent_t621139879 L_3 = ___e0;
// accelEventListenersInternal(e);
NullCheck(L_2);
OnAccelEvent_Invoke_m1734383268(L_2, L_3, /*hidden argument*/NULL);
}
IL_0021:
{
// }
return;
}
}
// System.Void Gvr.Internal.EmulatorManager::onTouchEvent(Gvr.Internal.EmulatorTouchEvent)
extern "C" void EmulatorManager_onTouchEvent_m4049017849 (EmulatorManager_t3364249716 * __this, EmulatorTouchEvent_t1122923020 ___e0, const MethodInfo* method)
{
{
// currentTouchEvent = e;
EmulatorTouchEvent_t1122923020 L_0 = ___e0;
__this->set_currentTouchEvent_7(L_0);
// if (touchEventListenersInternal != null) {
OnTouchEvent_t4143287487 * L_1 = __this->get_touchEventListenersInternal_12();
if (!L_1)
{
goto IL_0021;
}
}
{
// touchEventListenersInternal(e);
OnTouchEvent_t4143287487 * L_2 = __this->get_touchEventListenersInternal_12();
EmulatorTouchEvent_t1122923020 L_3 = ___e0;
// touchEventListenersInternal(e);
NullCheck(L_2);
OnTouchEvent_Invoke_m1749858212(L_2, L_3, /*hidden argument*/NULL);
}
IL_0021:
{
// }
return;
}
}
// System.Void Gvr.Internal.EmulatorManager::onOrientationEvent(Gvr.Internal.EmulatorOrientationEvent)
extern "C" void EmulatorManager_onOrientationEvent_m1122700761 (EmulatorManager_t3364249716 * __this, EmulatorOrientationEvent_t4153005117 ___e0, const MethodInfo* method)
{
{
// currentOrientationEvent = e;
EmulatorOrientationEvent_t4153005117 L_0 = ___e0;
__this->set_currentOrientationEvent_8(L_0);
// if (orientationEventListenersInternal != null) {
OnOrientationEvent_t602701282 * L_1 = __this->get_orientationEventListenersInternal_13();
if (!L_1)
{
goto IL_0021;
}
}
{
// orientationEventListenersInternal(e);
OnOrientationEvent_t602701282 * L_2 = __this->get_orientationEventListenersInternal_13();
EmulatorOrientationEvent_t4153005117 L_3 = ___e0;
// orientationEventListenersInternal(e);
NullCheck(L_2);
OnOrientationEvent_Invoke_m1547755396(L_2, L_3, /*hidden argument*/NULL);
}
IL_0021:
{
// }
return;
}
}
// System.Void Gvr.Internal.EmulatorManager::onButtonEvent(Gvr.Internal.EmulatorButtonEvent)
extern "C" void EmulatorManager_onButtonEvent_m3245651489 (EmulatorManager_t3364249716 * __this, EmulatorButtonEvent_t156276569 ___e0, const MethodInfo* method)
{
{
// currentButtonEvent = e;
EmulatorButtonEvent_t156276569 L_0 = ___e0;
__this->set_currentButtonEvent_9(L_0);
// if (buttonEventListenersInternal != null) {
OnButtonEvent_t358370788 * L_1 = __this->get_buttonEventListenersInternal_14();
if (!L_1)
{
goto IL_0021;
}
}
{
// buttonEventListenersInternal(e);
OnButtonEvent_t358370788 * L_2 = __this->get_buttonEventListenersInternal_14();
EmulatorButtonEvent_t156276569 L_3 = ___e0;
// buttonEventListenersInternal(e);
NullCheck(L_2);
OnButtonEvent_Invoke_m3526811670(L_2, L_3, /*hidden argument*/NULL);
}
IL_0021:
{
// }
return;
}
}
// System.Void Gvr.Internal.EmulatorManager::add_gyroEventListenersInternal(Gvr.Internal.EmulatorManager/OnGyroEvent)
extern "C" void EmulatorManager_add_gyroEventListenersInternal_m3017450141 (EmulatorManager_t3364249716 * __this, OnGyroEvent_t1804908545 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorManager_add_gyroEventListenersInternal_m3017450141_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
OnGyroEvent_t1804908545 * V_0 = NULL;
OnGyroEvent_t1804908545 * V_1 = NULL;
{
OnGyroEvent_t1804908545 * L_0 = __this->get_gyroEventListenersInternal_10();
V_0 = L_0;
}
IL_0007:
{
OnGyroEvent_t1804908545 * L_1 = V_0;
V_1 = L_1;
OnGyroEvent_t1804908545 ** L_2 = __this->get_address_of_gyroEventListenersInternal_10();
OnGyroEvent_t1804908545 * L_3 = V_1;
OnGyroEvent_t1804908545 * L_4 = ___value0;
Delegate_t3022476291 * L_5 = Delegate_Combine_m3791207084(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL);
OnGyroEvent_t1804908545 * L_6 = V_0;
OnGyroEvent_t1804908545 * L_7 = InterlockedCompareExchangeImpl<OnGyroEvent_t1804908545 *>(L_2, ((OnGyroEvent_t1804908545 *)CastclassSealed(L_5, OnGyroEvent_t1804908545_il2cpp_TypeInfo_var)), L_6);
V_0 = L_7;
OnGyroEvent_t1804908545 * L_8 = V_0;
OnGyroEvent_t1804908545 * L_9 = V_1;
if ((!(((Il2CppObject*)(OnGyroEvent_t1804908545 *)L_8) == ((Il2CppObject*)(OnGyroEvent_t1804908545 *)L_9))))
{
goto IL_0007;
}
}
{
return;
}
}
// System.Void Gvr.Internal.EmulatorManager::remove_gyroEventListenersInternal(Gvr.Internal.EmulatorManager/OnGyroEvent)
extern "C" void EmulatorManager_remove_gyroEventListenersInternal_m1959037462 (EmulatorManager_t3364249716 * __this, OnGyroEvent_t1804908545 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorManager_remove_gyroEventListenersInternal_m1959037462_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
OnGyroEvent_t1804908545 * V_0 = NULL;
OnGyroEvent_t1804908545 * V_1 = NULL;
{
OnGyroEvent_t1804908545 * L_0 = __this->get_gyroEventListenersInternal_10();
V_0 = L_0;
}
IL_0007:
{
OnGyroEvent_t1804908545 * L_1 = V_0;
V_1 = L_1;
OnGyroEvent_t1804908545 ** L_2 = __this->get_address_of_gyroEventListenersInternal_10();
OnGyroEvent_t1804908545 * L_3 = V_1;
OnGyroEvent_t1804908545 * L_4 = ___value0;
Delegate_t3022476291 * L_5 = Delegate_Remove_m2626518725(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL);
OnGyroEvent_t1804908545 * L_6 = V_0;
OnGyroEvent_t1804908545 * L_7 = InterlockedCompareExchangeImpl<OnGyroEvent_t1804908545 *>(L_2, ((OnGyroEvent_t1804908545 *)CastclassSealed(L_5, OnGyroEvent_t1804908545_il2cpp_TypeInfo_var)), L_6);
V_0 = L_7;
OnGyroEvent_t1804908545 * L_8 = V_0;
OnGyroEvent_t1804908545 * L_9 = V_1;
if ((!(((Il2CppObject*)(OnGyroEvent_t1804908545 *)L_8) == ((Il2CppObject*)(OnGyroEvent_t1804908545 *)L_9))))
{
goto IL_0007;
}
}
{
return;
}
}
// System.Void Gvr.Internal.EmulatorManager::add_accelEventListenersInternal(Gvr.Internal.EmulatorManager/OnAccelEvent)
extern "C" void EmulatorManager_add_accelEventListenersInternal_m3372572737 (EmulatorManager_t3364249716 * __this, OnAccelEvent_t1967739812 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorManager_add_accelEventListenersInternal_m3372572737_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
OnAccelEvent_t1967739812 * V_0 = NULL;
OnAccelEvent_t1967739812 * V_1 = NULL;
{
OnAccelEvent_t1967739812 * L_0 = __this->get_accelEventListenersInternal_11();
V_0 = L_0;
}
IL_0007:
{
OnAccelEvent_t1967739812 * L_1 = V_0;
V_1 = L_1;
OnAccelEvent_t1967739812 ** L_2 = __this->get_address_of_accelEventListenersInternal_11();
OnAccelEvent_t1967739812 * L_3 = V_1;
OnAccelEvent_t1967739812 * L_4 = ___value0;
Delegate_t3022476291 * L_5 = Delegate_Combine_m3791207084(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL);
OnAccelEvent_t1967739812 * L_6 = V_0;
OnAccelEvent_t1967739812 * L_7 = InterlockedCompareExchangeImpl<OnAccelEvent_t1967739812 *>(L_2, ((OnAccelEvent_t1967739812 *)CastclassSealed(L_5, OnAccelEvent_t1967739812_il2cpp_TypeInfo_var)), L_6);
V_0 = L_7;
OnAccelEvent_t1967739812 * L_8 = V_0;
OnAccelEvent_t1967739812 * L_9 = V_1;
if ((!(((Il2CppObject*)(OnAccelEvent_t1967739812 *)L_8) == ((Il2CppObject*)(OnAccelEvent_t1967739812 *)L_9))))
{
goto IL_0007;
}
}
{
return;
}
}
// System.Void Gvr.Internal.EmulatorManager::remove_accelEventListenersInternal(Gvr.Internal.EmulatorManager/OnAccelEvent)
extern "C" void EmulatorManager_remove_accelEventListenersInternal_m2962477662 (EmulatorManager_t3364249716 * __this, OnAccelEvent_t1967739812 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorManager_remove_accelEventListenersInternal_m2962477662_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
OnAccelEvent_t1967739812 * V_0 = NULL;
OnAccelEvent_t1967739812 * V_1 = NULL;
{
OnAccelEvent_t1967739812 * L_0 = __this->get_accelEventListenersInternal_11();
V_0 = L_0;
}
IL_0007:
{
OnAccelEvent_t1967739812 * L_1 = V_0;
V_1 = L_1;
OnAccelEvent_t1967739812 ** L_2 = __this->get_address_of_accelEventListenersInternal_11();
OnAccelEvent_t1967739812 * L_3 = V_1;
OnAccelEvent_t1967739812 * L_4 = ___value0;
Delegate_t3022476291 * L_5 = Delegate_Remove_m2626518725(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL);
OnAccelEvent_t1967739812 * L_6 = V_0;
OnAccelEvent_t1967739812 * L_7 = InterlockedCompareExchangeImpl<OnAccelEvent_t1967739812 *>(L_2, ((OnAccelEvent_t1967739812 *)CastclassSealed(L_5, OnAccelEvent_t1967739812_il2cpp_TypeInfo_var)), L_6);
V_0 = L_7;
OnAccelEvent_t1967739812 * L_8 = V_0;
OnAccelEvent_t1967739812 * L_9 = V_1;
if ((!(((Il2CppObject*)(OnAccelEvent_t1967739812 *)L_8) == ((Il2CppObject*)(OnAccelEvent_t1967739812 *)L_9))))
{
goto IL_0007;
}
}
{
return;
}
}
// System.Void Gvr.Internal.EmulatorManager::add_touchEventListenersInternal(Gvr.Internal.EmulatorManager/OnTouchEvent)
extern "C" void EmulatorManager_add_touchEventListenersInternal_m4176544517 (EmulatorManager_t3364249716 * __this, OnTouchEvent_t4143287487 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorManager_add_touchEventListenersInternal_m4176544517_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
OnTouchEvent_t4143287487 * V_0 = NULL;
OnTouchEvent_t4143287487 * V_1 = NULL;
{
OnTouchEvent_t4143287487 * L_0 = __this->get_touchEventListenersInternal_12();
V_0 = L_0;
}
IL_0007:
{
OnTouchEvent_t4143287487 * L_1 = V_0;
V_1 = L_1;
OnTouchEvent_t4143287487 ** L_2 = __this->get_address_of_touchEventListenersInternal_12();
OnTouchEvent_t4143287487 * L_3 = V_1;
OnTouchEvent_t4143287487 * L_4 = ___value0;
Delegate_t3022476291 * L_5 = Delegate_Combine_m3791207084(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL);
OnTouchEvent_t4143287487 * L_6 = V_0;
OnTouchEvent_t4143287487 * L_7 = InterlockedCompareExchangeImpl<OnTouchEvent_t4143287487 *>(L_2, ((OnTouchEvent_t4143287487 *)CastclassSealed(L_5, OnTouchEvent_t4143287487_il2cpp_TypeInfo_var)), L_6);
V_0 = L_7;
OnTouchEvent_t4143287487 * L_8 = V_0;
OnTouchEvent_t4143287487 * L_9 = V_1;
if ((!(((Il2CppObject*)(OnTouchEvent_t4143287487 *)L_8) == ((Il2CppObject*)(OnTouchEvent_t4143287487 *)L_9))))
{
goto IL_0007;
}
}
{
return;
}
}
// System.Void Gvr.Internal.EmulatorManager::remove_touchEventListenersInternal(Gvr.Internal.EmulatorManager/OnTouchEvent)
extern "C" void EmulatorManager_remove_touchEventListenersInternal_m1405523860 (EmulatorManager_t3364249716 * __this, OnTouchEvent_t4143287487 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorManager_remove_touchEventListenersInternal_m1405523860_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
OnTouchEvent_t4143287487 * V_0 = NULL;
OnTouchEvent_t4143287487 * V_1 = NULL;
{
OnTouchEvent_t4143287487 * L_0 = __this->get_touchEventListenersInternal_12();
V_0 = L_0;
}
IL_0007:
{
OnTouchEvent_t4143287487 * L_1 = V_0;
V_1 = L_1;
OnTouchEvent_t4143287487 ** L_2 = __this->get_address_of_touchEventListenersInternal_12();
OnTouchEvent_t4143287487 * L_3 = V_1;
OnTouchEvent_t4143287487 * L_4 = ___value0;
Delegate_t3022476291 * L_5 = Delegate_Remove_m2626518725(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL);
OnTouchEvent_t4143287487 * L_6 = V_0;
OnTouchEvent_t4143287487 * L_7 = InterlockedCompareExchangeImpl<OnTouchEvent_t4143287487 *>(L_2, ((OnTouchEvent_t4143287487 *)CastclassSealed(L_5, OnTouchEvent_t4143287487_il2cpp_TypeInfo_var)), L_6);
V_0 = L_7;
OnTouchEvent_t4143287487 * L_8 = V_0;
OnTouchEvent_t4143287487 * L_9 = V_1;
if ((!(((Il2CppObject*)(OnTouchEvent_t4143287487 *)L_8) == ((Il2CppObject*)(OnTouchEvent_t4143287487 *)L_9))))
{
goto IL_0007;
}
}
{
return;
}
}
// System.Void Gvr.Internal.EmulatorManager::add_orientationEventListenersInternal(Gvr.Internal.EmulatorManager/OnOrientationEvent)
extern "C" void EmulatorManager_add_orientationEventListenersInternal_m3579286333 (EmulatorManager_t3364249716 * __this, OnOrientationEvent_t602701282 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorManager_add_orientationEventListenersInternal_m3579286333_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
OnOrientationEvent_t602701282 * V_0 = NULL;
OnOrientationEvent_t602701282 * V_1 = NULL;
{
OnOrientationEvent_t602701282 * L_0 = __this->get_orientationEventListenersInternal_13();
V_0 = L_0;
}
IL_0007:
{
OnOrientationEvent_t602701282 * L_1 = V_0;
V_1 = L_1;
OnOrientationEvent_t602701282 ** L_2 = __this->get_address_of_orientationEventListenersInternal_13();
OnOrientationEvent_t602701282 * L_3 = V_1;
OnOrientationEvent_t602701282 * L_4 = ___value0;
Delegate_t3022476291 * L_5 = Delegate_Combine_m3791207084(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL);
OnOrientationEvent_t602701282 * L_6 = V_0;
OnOrientationEvent_t602701282 * L_7 = InterlockedCompareExchangeImpl<OnOrientationEvent_t602701282 *>(L_2, ((OnOrientationEvent_t602701282 *)CastclassSealed(L_5, OnOrientationEvent_t602701282_il2cpp_TypeInfo_var)), L_6);
V_0 = L_7;
OnOrientationEvent_t602701282 * L_8 = V_0;
OnOrientationEvent_t602701282 * L_9 = V_1;
if ((!(((Il2CppObject*)(OnOrientationEvent_t602701282 *)L_8) == ((Il2CppObject*)(OnOrientationEvent_t602701282 *)L_9))))
{
goto IL_0007;
}
}
{
return;
}
}
// System.Void Gvr.Internal.EmulatorManager::remove_orientationEventListenersInternal(Gvr.Internal.EmulatorManager/OnOrientationEvent)
extern "C" void EmulatorManager_remove_orientationEventListenersInternal_m3190711766 (EmulatorManager_t3364249716 * __this, OnOrientationEvent_t602701282 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorManager_remove_orientationEventListenersInternal_m3190711766_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
OnOrientationEvent_t602701282 * V_0 = NULL;
OnOrientationEvent_t602701282 * V_1 = NULL;
{
OnOrientationEvent_t602701282 * L_0 = __this->get_orientationEventListenersInternal_13();
V_0 = L_0;
}
IL_0007:
{
OnOrientationEvent_t602701282 * L_1 = V_0;
V_1 = L_1;
OnOrientationEvent_t602701282 ** L_2 = __this->get_address_of_orientationEventListenersInternal_13();
OnOrientationEvent_t602701282 * L_3 = V_1;
OnOrientationEvent_t602701282 * L_4 = ___value0;
Delegate_t3022476291 * L_5 = Delegate_Remove_m2626518725(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL);
OnOrientationEvent_t602701282 * L_6 = V_0;
OnOrientationEvent_t602701282 * L_7 = InterlockedCompareExchangeImpl<OnOrientationEvent_t602701282 *>(L_2, ((OnOrientationEvent_t602701282 *)CastclassSealed(L_5, OnOrientationEvent_t602701282_il2cpp_TypeInfo_var)), L_6);
V_0 = L_7;
OnOrientationEvent_t602701282 * L_8 = V_0;
OnOrientationEvent_t602701282 * L_9 = V_1;
if ((!(((Il2CppObject*)(OnOrientationEvent_t602701282 *)L_8) == ((Il2CppObject*)(OnOrientationEvent_t602701282 *)L_9))))
{
goto IL_0007;
}
}
{
return;
}
}
// System.Void Gvr.Internal.EmulatorManager::add_buttonEventListenersInternal(Gvr.Internal.EmulatorManager/OnButtonEvent)
extern "C" void EmulatorManager_add_buttonEventListenersInternal_m1124036221 (EmulatorManager_t3364249716 * __this, OnButtonEvent_t358370788 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorManager_add_buttonEventListenersInternal_m1124036221_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
OnButtonEvent_t358370788 * V_0 = NULL;
OnButtonEvent_t358370788 * V_1 = NULL;
{
OnButtonEvent_t358370788 * L_0 = __this->get_buttonEventListenersInternal_14();
V_0 = L_0;
}
IL_0007:
{
OnButtonEvent_t358370788 * L_1 = V_0;
V_1 = L_1;
OnButtonEvent_t358370788 ** L_2 = __this->get_address_of_buttonEventListenersInternal_14();
OnButtonEvent_t358370788 * L_3 = V_1;
OnButtonEvent_t358370788 * L_4 = ___value0;
Delegate_t3022476291 * L_5 = Delegate_Combine_m3791207084(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL);
OnButtonEvent_t358370788 * L_6 = V_0;
OnButtonEvent_t358370788 * L_7 = InterlockedCompareExchangeImpl<OnButtonEvent_t358370788 *>(L_2, ((OnButtonEvent_t358370788 *)CastclassSealed(L_5, OnButtonEvent_t358370788_il2cpp_TypeInfo_var)), L_6);
V_0 = L_7;
OnButtonEvent_t358370788 * L_8 = V_0;
OnButtonEvent_t358370788 * L_9 = V_1;
if ((!(((Il2CppObject*)(OnButtonEvent_t358370788 *)L_8) == ((Il2CppObject*)(OnButtonEvent_t358370788 *)L_9))))
{
goto IL_0007;
}
}
{
return;
}
}
// System.Void Gvr.Internal.EmulatorManager::remove_buttonEventListenersInternal(Gvr.Internal.EmulatorManager/OnButtonEvent)
extern "C" void EmulatorManager_remove_buttonEventListenersInternal_m1787312118 (EmulatorManager_t3364249716 * __this, OnButtonEvent_t358370788 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorManager_remove_buttonEventListenersInternal_m1787312118_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
OnButtonEvent_t358370788 * V_0 = NULL;
OnButtonEvent_t358370788 * V_1 = NULL;
{
OnButtonEvent_t358370788 * L_0 = __this->get_buttonEventListenersInternal_14();
V_0 = L_0;
}
IL_0007:
{
OnButtonEvent_t358370788 * L_1 = V_0;
V_1 = L_1;
OnButtonEvent_t358370788 ** L_2 = __this->get_address_of_buttonEventListenersInternal_14();
OnButtonEvent_t358370788 * L_3 = V_1;
OnButtonEvent_t358370788 * L_4 = ___value0;
Delegate_t3022476291 * L_5 = Delegate_Remove_m2626518725(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL);
OnButtonEvent_t358370788 * L_6 = V_0;
OnButtonEvent_t358370788 * L_7 = InterlockedCompareExchangeImpl<OnButtonEvent_t358370788 *>(L_2, ((OnButtonEvent_t358370788 *)CastclassSealed(L_5, OnButtonEvent_t358370788_il2cpp_TypeInfo_var)), L_6);
V_0 = L_7;
OnButtonEvent_t358370788 * L_8 = V_0;
OnButtonEvent_t358370788 * L_9 = V_1;
if ((!(((Il2CppObject*)(OnButtonEvent_t358370788 *)L_8) == ((Il2CppObject*)(OnButtonEvent_t358370788 *)L_9))))
{
goto IL_0007;
}
}
{
return;
}
}
// System.Boolean Gvr.Internal.EmulatorManager::get_Connected()
extern "C" bool EmulatorManager_get_Connected_m2151749703 (EmulatorManager_t3364249716 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorManager_get_Connected_m2151749703_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
int32_t G_B3_0 = 0;
{
// return socket != null && socket.connected;
EmulatorClientSocket_t2001911543 * L_0 = __this->get_socket_16();
// return socket != null && socket.connected;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_001f;
}
}
{
EmulatorClientSocket_t2001911543 * L_2 = __this->get_socket_16();
// return socket != null && socket.connected;
NullCheck(L_2);
bool L_3 = EmulatorClientSocket_get_connected_m887135136(L_2, /*hidden argument*/NULL);
G_B3_0 = ((int32_t)(L_3));
goto IL_0020;
}
IL_001f:
{
G_B3_0 = 0;
}
IL_0020:
{
V_0 = (bool)G_B3_0;
goto IL_0026;
}
IL_0026:
{
// }
bool L_4 = V_0;
return L_4;
}
}
// System.Void Gvr.Internal.EmulatorManager::Awake()
extern "C" void EmulatorManager_Awake_m2269357796 (EmulatorManager_t3364249716 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorManager_Awake_m2269357796_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (instance == null) {
IL2CPP_RUNTIME_CLASS_INIT(EmulatorManager_t3364249716_il2cpp_TypeInfo_var);
EmulatorManager_t3364249716 * L_0 = ((EmulatorManager_t3364249716_StaticFields*)EmulatorManager_t3364249716_il2cpp_TypeInfo_var->static_fields)->get_instance_4();
// if (instance == null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0019;
}
}
{
// instance = this;
IL2CPP_RUNTIME_CLASS_INIT(EmulatorManager_t3364249716_il2cpp_TypeInfo_var);
((EmulatorManager_t3364249716_StaticFields*)EmulatorManager_t3364249716_il2cpp_TypeInfo_var->static_fields)->set_instance_4(__this);
}
IL_0019:
{
// if (instance != this) {
IL2CPP_RUNTIME_CLASS_INIT(EmulatorManager_t3364249716_il2cpp_TypeInfo_var);
EmulatorManager_t3364249716 * L_2 = ((EmulatorManager_t3364249716_StaticFields*)EmulatorManager_t3364249716_il2cpp_TypeInfo_var->static_fields)->get_instance_4();
// if (instance != this) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_3 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_2, __this, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_0040;
}
}
{
// Debug.LogWarning("PhoneRemote must be a singleton.");
// Debug.LogWarning("PhoneRemote must be a singleton.");
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_LogWarning_m2503577968(NULL /*static, unused*/, _stringLiteral3114425798, /*hidden argument*/NULL);
// enabled = false;
// enabled = false;
Behaviour_set_enabled_m1796096907(__this, (bool)0, /*hidden argument*/NULL);
// return;
goto IL_0040;
}
IL_0040:
{
// }
return;
}
}
// System.Void Gvr.Internal.EmulatorManager::Start()
extern "C" void EmulatorManager_Start_m411591913 (EmulatorManager_t3364249716 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorManager_Start_m411591913_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// socket = gameObject.AddComponent<EmulatorClientSocket>();
// socket = gameObject.AddComponent<EmulatorClientSocket>();
GameObject_t1756533147 * L_0 = Component_get_gameObject_m3105766835(__this, /*hidden argument*/NULL);
// socket = gameObject.AddComponent<EmulatorClientSocket>();
NullCheck(L_0);
EmulatorClientSocket_t2001911543 * L_1 = GameObject_AddComponent_TisEmulatorClientSocket_t2001911543_m760771621(L_0, /*hidden argument*/GameObject_AddComponent_TisEmulatorClientSocket_t2001911543_m760771621_MethodInfo_var);
__this->set_socket_16(L_1);
// socket.Init(this);
EmulatorClientSocket_t2001911543 * L_2 = __this->get_socket_16();
// socket.Init(this);
NullCheck(L_2);
EmulatorClientSocket_Init_m4171573166(L_2, __this, /*hidden argument*/NULL);
// emulatorUpdate = EndOfFrame();
// emulatorUpdate = EndOfFrame();
Il2CppObject * L_3 = EmulatorManager_EndOfFrame_m2267188258(__this, /*hidden argument*/NULL);
__this->set_emulatorUpdate_2(L_3);
// StartCoroutine(emulatorUpdate);
Il2CppObject * L_4 = __this->get_emulatorUpdate_2();
// StartCoroutine(emulatorUpdate);
MonoBehaviour_StartCoroutine_m2470621050(__this, L_4, /*hidden argument*/NULL);
// }
return;
}
}
// System.Collections.IEnumerator Gvr.Internal.EmulatorManager::EndOfFrame()
extern "C" Il2CppObject * EmulatorManager_EndOfFrame_m2267188258 (EmulatorManager_t3364249716 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorManager_EndOfFrame_m2267188258_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
U3CEndOfFrameU3Ec__Iterator0_t4253624923 * V_0 = NULL;
Il2CppObject * V_1 = NULL;
{
U3CEndOfFrameU3Ec__Iterator0_t4253624923 * L_0 = (U3CEndOfFrameU3Ec__Iterator0_t4253624923 *)il2cpp_codegen_object_new(U3CEndOfFrameU3Ec__Iterator0_t4253624923_il2cpp_TypeInfo_var);
U3CEndOfFrameU3Ec__Iterator0__ctor_m3544899542(L_0, /*hidden argument*/NULL);
V_0 = L_0;
U3CEndOfFrameU3Ec__Iterator0_t4253624923 * L_1 = V_0;
NullCheck(L_1);
L_1->set_U24this_1(__this);
U3CEndOfFrameU3Ec__Iterator0_t4253624923 * L_2 = V_0;
V_1 = L_2;
goto IL_0014;
}
IL_0014:
{
Il2CppObject * L_3 = V_1;
return L_3;
}
}
// System.Void Gvr.Internal.EmulatorManager::OnPhoneEvent(proto.PhoneEvent)
extern "C" void EmulatorManager_OnPhoneEvent_m187935926 (EmulatorManager_t3364249716 * __this, PhoneEvent_t2572128318 * ___e0, const MethodInfo* method)
{
{
// pendingEvents.Enqueue(e);
Queue_t1288490777 * L_0 = __this->get_pendingEvents_15();
PhoneEvent_t2572128318 * L_1 = ___e0;
// pendingEvents.Enqueue(e);
NullCheck(L_0);
VirtActionInvoker1< Il2CppObject * >::Invoke(18 /* System.Void System.Collections.Queue::Enqueue(System.Object) */, L_0, L_1);
// }
return;
}
}
// System.Void Gvr.Internal.EmulatorManager::ProcessEventAtEndOfFrame(proto.PhoneEvent)
extern "C" void EmulatorManager_ProcessEventAtEndOfFrame_m2018354264 (EmulatorManager_t3364249716 * __this, PhoneEvent_t2572128318 * ___e0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorManager_ProcessEventAtEndOfFrame_m2018354264_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
EmulatorTouchEvent_t1122923020 V_1;
memset(&V_1, 0, sizeof(V_1));
EmulatorGyroEvent_t1858389926 V_2;
memset(&V_2, 0, sizeof(V_2));
EmulatorAccelEvent_t621139879 V_3;
memset(&V_3, 0, sizeof(V_3));
EmulatorOrientationEvent_t4153005117 V_4;
memset(&V_4, 0, sizeof(V_4));
EmulatorButtonEvent_t156276569 V_5;
memset(&V_5, 0, sizeof(V_5));
{
// switch (e.Type) {
PhoneEvent_t2572128318 * L_0 = ___e0;
// switch (e.Type) {
NullCheck(L_0);
int32_t L_1 = PhoneEvent_get_Type_m1181486342(L_0, /*hidden argument*/NULL);
V_0 = L_1;
// switch (e.Type) {
int32_t L_2 = V_0;
switch (((int32_t)((int32_t)L_2-(int32_t)1)))
{
case 0:
{
goto IL_002d;
}
case 1:
{
goto IL_006b;
}
case 2:
{
goto IL_0084;
}
case 3:
{
goto IL_00d1;
}
case 4:
{
goto IL_009d;
}
case 5:
{
goto IL_00b7;
}
}
}
{
goto IL_00d1;
}
IL_002d:
{
// EmulatorTouchEvent touchEvent = new EmulatorTouchEvent(e.MotionEvent, lastDownTimeMs);
PhoneEvent_t2572128318 * L_3 = ___e0;
// EmulatorTouchEvent touchEvent = new EmulatorTouchEvent(e.MotionEvent, lastDownTimeMs);
NullCheck(L_3);
MotionEvent_t4072706903 * L_4 = PhoneEvent_get_MotionEvent_m3484505676(L_3, /*hidden argument*/NULL);
int64_t L_5 = __this->get_lastDownTimeMs_17();
// EmulatorTouchEvent touchEvent = new EmulatorTouchEvent(e.MotionEvent, lastDownTimeMs);
EmulatorTouchEvent__ctor_m2652666916((&V_1), L_4, L_5, /*hidden argument*/NULL);
// onTouchEvent(touchEvent);
EmulatorTouchEvent_t1122923020 L_6 = V_1;
// onTouchEvent(touchEvent);
EmulatorManager_onTouchEvent_m4049017849(__this, L_6, /*hidden argument*/NULL);
// if (touchEvent.getActionMasked() == EmulatorTouchEvent.Action.kActionDown) {
// if (touchEvent.getActionMasked() == EmulatorTouchEvent.Action.kActionDown) {
int32_t L_7 = EmulatorTouchEvent_getActionMasked_m1031363438((&V_1), /*hidden argument*/NULL);
if (L_7)
{
goto IL_0066;
}
}
{
// lastDownTimeMs = e.MotionEvent.Timestamp;
PhoneEvent_t2572128318 * L_8 = ___e0;
// lastDownTimeMs = e.MotionEvent.Timestamp;
NullCheck(L_8);
MotionEvent_t4072706903 * L_9 = PhoneEvent_get_MotionEvent_m3484505676(L_8, /*hidden argument*/NULL);
// lastDownTimeMs = e.MotionEvent.Timestamp;
NullCheck(L_9);
int64_t L_10 = MotionEvent_get_Timestamp_m123845168(L_9, /*hidden argument*/NULL);
__this->set_lastDownTimeMs_17(L_10);
}
IL_0066:
{
// break;
goto IL_00f0;
}
IL_006b:
{
// EmulatorGyroEvent gyroEvent = new EmulatorGyroEvent(e.GyroscopeEvent);
PhoneEvent_t2572128318 * L_11 = ___e0;
// EmulatorGyroEvent gyroEvent = new EmulatorGyroEvent(e.GyroscopeEvent);
NullCheck(L_11);
GyroscopeEvent_t182225200 * L_12 = PhoneEvent_get_GyroscopeEvent_m1865959868(L_11, /*hidden argument*/NULL);
// EmulatorGyroEvent gyroEvent = new EmulatorGyroEvent(e.GyroscopeEvent);
EmulatorGyroEvent__ctor_m3973423935((&V_2), L_12, /*hidden argument*/NULL);
// onGyroEvent(gyroEvent);
EmulatorGyroEvent_t1858389926 L_13 = V_2;
// onGyroEvent(gyroEvent);
EmulatorManager_onGyroEvent_m4150320277(__this, L_13, /*hidden argument*/NULL);
// break;
goto IL_00f0;
}
IL_0084:
{
// EmulatorAccelEvent accelEvent = new EmulatorAccelEvent(e.AccelerometerEvent);
PhoneEvent_t2572128318 * L_14 = ___e0;
// EmulatorAccelEvent accelEvent = new EmulatorAccelEvent(e.AccelerometerEvent);
NullCheck(L_14);
AccelerometerEvent_t1893725728 * L_15 = PhoneEvent_get_AccelerometerEvent_m1704173460(L_14, /*hidden argument*/NULL);
// EmulatorAccelEvent accelEvent = new EmulatorAccelEvent(e.AccelerometerEvent);
EmulatorAccelEvent__ctor_m1068393322((&V_3), L_15, /*hidden argument*/NULL);
// onAccelEvent(accelEvent);
EmulatorAccelEvent_t621139879 L_16 = V_3;
// onAccelEvent(accelEvent);
EmulatorManager_onAccelEvent_m2853352313(__this, L_16, /*hidden argument*/NULL);
// break;
goto IL_00f0;
}
IL_009d:
{
// EmulatorOrientationEvent orientationEvent =
PhoneEvent_t2572128318 * L_17 = ___e0;
// new EmulatorOrientationEvent(e.OrientationEvent);
NullCheck(L_17);
OrientationEvent_t2038376807 * L_18 = PhoneEvent_get_OrientationEvent_m2639978046(L_17, /*hidden argument*/NULL);
// new EmulatorOrientationEvent(e.OrientationEvent);
EmulatorOrientationEvent__ctor_m4227833381((&V_4), L_18, /*hidden argument*/NULL);
// onOrientationEvent(orientationEvent);
EmulatorOrientationEvent_t4153005117 L_19 = V_4;
// onOrientationEvent(orientationEvent);
EmulatorManager_onOrientationEvent_m1122700761(__this, L_19, /*hidden argument*/NULL);
// break;
goto IL_00f0;
}
IL_00b7:
{
// EmulatorButtonEvent buttonEvent = new EmulatorButtonEvent(e.KeyEvent);
PhoneEvent_t2572128318 * L_20 = ___e0;
// EmulatorButtonEvent buttonEvent = new EmulatorButtonEvent(e.KeyEvent);
NullCheck(L_20);
KeyEvent_t639576718 * L_21 = PhoneEvent_get_KeyEvent_m1764388548(L_20, /*hidden argument*/NULL);
// EmulatorButtonEvent buttonEvent = new EmulatorButtonEvent(e.KeyEvent);
EmulatorButtonEvent__ctor_m1309920830((&V_5), L_21, /*hidden argument*/NULL);
// onButtonEvent(buttonEvent);
EmulatorButtonEvent_t156276569 L_22 = V_5;
// onButtonEvent(buttonEvent);
EmulatorManager_onButtonEvent_m3245651489(__this, L_22, /*hidden argument*/NULL);
// break;
goto IL_00f0;
}
IL_00d1:
{
// Debug.Log("Unsupported PhoneEvent type: " + e.Type);
PhoneEvent_t2572128318 * L_23 = ___e0;
// Debug.Log("Unsupported PhoneEvent type: " + e.Type);
NullCheck(L_23);
int32_t L_24 = PhoneEvent_get_Type_m1181486342(L_23, /*hidden argument*/NULL);
int32_t L_25 = L_24;
Il2CppObject * L_26 = Box(Type_t1530480861_il2cpp_TypeInfo_var, &L_25);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_27 = String_Concat_m56707527(NULL /*static, unused*/, _stringLiteral329175675, L_26, /*hidden argument*/NULL);
// Debug.Log("Unsupported PhoneEvent type: " + e.Type);
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_Log_m920475918(NULL /*static, unused*/, L_27, /*hidden argument*/NULL);
// break;
goto IL_00f0;
}
IL_00f0:
{
// }
return;
}
}
// System.Void Gvr.Internal.EmulatorManager::.cctor()
extern "C" void EmulatorManager__cctor_m2262768450 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorManager__cctor_m2262768450_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// private static EmulatorManager instance = null;
((EmulatorManager_t3364249716_StaticFields*)EmulatorManager_t3364249716_il2cpp_TypeInfo_var->static_fields)->set_instance_4((EmulatorManager_t3364249716 *)NULL);
return;
}
}
// System.Void Gvr.Internal.EmulatorManager/<EndOfFrame>c__Iterator0::.ctor()
extern "C" void U3CEndOfFrameU3Ec__Iterator0__ctor_m3544899542 (U3CEndOfFrameU3Ec__Iterator0_t4253624923 * __this, const MethodInfo* method)
{
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
return;
}
}
// System.Boolean Gvr.Internal.EmulatorManager/<EndOfFrame>c__Iterator0::MoveNext()
extern "C" bool U3CEndOfFrameU3Ec__Iterator0_MoveNext_m1061821778 (U3CEndOfFrameU3Ec__Iterator0_t4253624923 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CEndOfFrameU3Ec__Iterator0_MoveNext_m1061821778_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
uint32_t V_0 = 0;
PhoneEvent_t2572128318 * 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);
{
int32_t L_0 = __this->get_U24PC_4();
V_0 = L_0;
__this->set_U24PC_4((-1));
uint32_t L_1 = V_0;
switch (L_1)
{
case 0:
{
goto IL_0021;
}
case 1:
{
goto IL_0049;
}
}
}
{
goto IL_00c9;
}
IL_0021:
{
}
IL_0022:
{
// yield return waitForEndOfFrame;
EmulatorManager_t3364249716 * L_2 = __this->get_U24this_1();
NullCheck(L_2);
WaitForEndOfFrame_t1785723201 * L_3 = L_2->get_waitForEndOfFrame_3();
__this->set_U24current_2(L_3);
bool L_4 = __this->get_U24disposing_3();
if (L_4)
{
goto IL_0044;
}
}
{
__this->set_U24PC_4(1);
}
IL_0044:
{
goto IL_00cb;
}
IL_0049:
{
// lock (pendingEvents.SyncRoot) {
EmulatorManager_t3364249716 * L_5 = __this->get_U24this_1();
NullCheck(L_5);
Queue_t1288490777 * L_6 = L_5->get_pendingEvents_15();
// lock (pendingEvents.SyncRoot) {
NullCheck(L_6);
Il2CppObject * L_7 = VirtFuncInvoker0< Il2CppObject * >::Invoke(12 /* System.Object System.Collections.Queue::get_SyncRoot() */, L_6);
__this->set_U24locvar0_0(L_7);
Il2CppObject * L_8 = __this->get_U24locvar0_0();
Monitor_Enter_m2136705809(NULL /*static, unused*/, L_8, /*hidden argument*/NULL);
}
IL_006a:
try
{ // begin try (depth: 1)
{
// while (pendingEvents.Count > 0) {
goto IL_0094;
}
IL_0070:
{
// PhoneEvent phoneEvent = (PhoneEvent) pendingEvents.Dequeue();
EmulatorManager_t3364249716 * L_9 = __this->get_U24this_1();
NullCheck(L_9);
Queue_t1288490777 * L_10 = L_9->get_pendingEvents_15();
// PhoneEvent phoneEvent = (PhoneEvent) pendingEvents.Dequeue();
NullCheck(L_10);
Il2CppObject * L_11 = VirtFuncInvoker0< Il2CppObject * >::Invoke(17 /* System.Object System.Collections.Queue::Dequeue() */, L_10);
V_1 = ((PhoneEvent_t2572128318 *)CastclassSealed(L_11, PhoneEvent_t2572128318_il2cpp_TypeInfo_var));
// ProcessEventAtEndOfFrame(phoneEvent);
EmulatorManager_t3364249716 * L_12 = __this->get_U24this_1();
PhoneEvent_t2572128318 * L_13 = V_1;
// ProcessEventAtEndOfFrame(phoneEvent);
NullCheck(L_12);
EmulatorManager_ProcessEventAtEndOfFrame_m2018354264(L_12, L_13, /*hidden argument*/NULL);
}
IL_0094:
{
// while (pendingEvents.Count > 0) {
EmulatorManager_t3364249716 * L_14 = __this->get_U24this_1();
NullCheck(L_14);
Queue_t1288490777 * L_15 = L_14->get_pendingEvents_15();
// while (pendingEvents.Count > 0) {
NullCheck(L_15);
int32_t L_16 = VirtFuncInvoker0< int32_t >::Invoke(10 /* System.Int32 System.Collections.Queue::get_Count() */, L_15);
if ((((int32_t)L_16) > ((int32_t)0)))
{
goto IL_0070;
}
}
IL_00aa:
{
IL2CPP_LEAVE(0xBC, FINALLY_00b0);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_00b0;
}
FINALLY_00b0:
{ // begin finally (depth: 1)
Il2CppObject * L_17 = __this->get_U24locvar0_0();
Monitor_Exit_m2677760297(NULL /*static, unused*/, L_17, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(176)
} // end finally (depth: 1)
IL2CPP_CLEANUP(176)
{
IL2CPP_JUMP_TBL(0xBC, IL_00bc)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_00bc:
{
goto IL_0022;
}
// Dead block : IL_00c2: ldarg.0
IL_00c9:
{
return (bool)0;
}
IL_00cb:
{
return (bool)1;
}
}
// System.Object Gvr.Internal.EmulatorManager/<EndOfFrame>c__Iterator0::System.Collections.Generic.IEnumerator<object>.get_Current()
extern "C" Il2CppObject * U3CEndOfFrameU3Ec__Iterator0_System_Collections_Generic_IEnumeratorU3CobjectU3E_get_Current_m1825900 (U3CEndOfFrameU3Ec__Iterator0_t4253624923 * __this, const MethodInfo* method)
{
Il2CppObject * V_0 = NULL;
{
Il2CppObject * L_0 = __this->get_U24current_2();
V_0 = L_0;
goto IL_000c;
}
IL_000c:
{
Il2CppObject * L_1 = V_0;
return L_1;
}
}
// System.Object Gvr.Internal.EmulatorManager/<EndOfFrame>c__Iterator0::System.Collections.IEnumerator.get_Current()
extern "C" Il2CppObject * U3CEndOfFrameU3Ec__Iterator0_System_Collections_IEnumerator_get_Current_m1283979844 (U3CEndOfFrameU3Ec__Iterator0_t4253624923 * __this, const MethodInfo* method)
{
Il2CppObject * V_0 = NULL;
{
Il2CppObject * L_0 = __this->get_U24current_2();
V_0 = L_0;
goto IL_000c;
}
IL_000c:
{
Il2CppObject * L_1 = V_0;
return L_1;
}
}
// System.Void Gvr.Internal.EmulatorManager/<EndOfFrame>c__Iterator0::Dispose()
extern "C" void U3CEndOfFrameU3Ec__Iterator0_Dispose_m1839376797 (U3CEndOfFrameU3Ec__Iterator0_t4253624923 * __this, const MethodInfo* method)
{
{
__this->set_U24disposing_3((bool)1);
__this->set_U24PC_4((-1));
return;
}
}
// System.Void Gvr.Internal.EmulatorManager/<EndOfFrame>c__Iterator0::Reset()
extern "C" void U3CEndOfFrameU3Ec__Iterator0_Reset_m1527123899 (U3CEndOfFrameU3Ec__Iterator0_t4253624923 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CEndOfFrameU3Ec__Iterator0_Reset_m1527123899_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);
}
}
extern "C" void DelegatePInvokeWrapper_OnAccelEvent_t1967739812 (OnAccelEvent_t1967739812 * __this, EmulatorAccelEvent_t621139879 ___accelEvent0, const MethodInfo* method)
{
typedef void (STDCALL *PInvokeFunc)(EmulatorAccelEvent_t621139879 );
PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(((Il2CppDelegate*)__this)->method->methodPointer);
// Native function invocation
il2cppPInvokeFunc(___accelEvent0);
}
// System.Void Gvr.Internal.EmulatorManager/OnAccelEvent::.ctor(System.Object,System.IntPtr)
extern "C" void OnAccelEvent__ctor_m2435154167 (OnAccelEvent_t1967739812 * __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 Gvr.Internal.EmulatorManager/OnAccelEvent::Invoke(Gvr.Internal.EmulatorAccelEvent)
extern "C" void OnAccelEvent_Invoke_m1734383268 (OnAccelEvent_t1967739812 * __this, EmulatorAccelEvent_t621139879 ___accelEvent0, const MethodInfo* method)
{
if(__this->get_prev_9() != NULL)
{
OnAccelEvent_Invoke_m1734383268((OnAccelEvent_t1967739812 *)__this->get_prev_9(),___accelEvent0, 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, EmulatorAccelEvent_t621139879 ___accelEvent0, const MethodInfo* method);
((FunctionPointerType)__this->get_method_ptr_0())(NULL,__this->get_m_target_2(),___accelEvent0,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
else
{
typedef void (*FunctionPointerType) (void* __this, EmulatorAccelEvent_t621139879 ___accelEvent0, const MethodInfo* method);
((FunctionPointerType)__this->get_method_ptr_0())(__this->get_m_target_2(),___accelEvent0,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
}
// System.IAsyncResult Gvr.Internal.EmulatorManager/OnAccelEvent::BeginInvoke(Gvr.Internal.EmulatorAccelEvent,System.AsyncCallback,System.Object)
extern "C" Il2CppObject * OnAccelEvent_BeginInvoke_m1032300737 (OnAccelEvent_t1967739812 * __this, EmulatorAccelEvent_t621139879 ___accelEvent0, AsyncCallback_t163412349 * ___callback1, Il2CppObject * ___object2, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (OnAccelEvent_BeginInvoke_m1032300737_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
void *__d_args[2] = {0};
__d_args[0] = Box(EmulatorAccelEvent_t621139879_il2cpp_TypeInfo_var, &___accelEvent0);
return (Il2CppObject *)il2cpp_codegen_delegate_begin_invoke((Il2CppDelegate*)__this, __d_args, (Il2CppDelegate*)___callback1, (Il2CppObject*)___object2);
}
// System.Void Gvr.Internal.EmulatorManager/OnAccelEvent::EndInvoke(System.IAsyncResult)
extern "C" void OnAccelEvent_EndInvoke_m64792645 (OnAccelEvent_t1967739812 * __this, Il2CppObject * ___result0, const MethodInfo* method)
{
il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
}
extern "C" void DelegatePInvokeWrapper_OnButtonEvent_t358370788 (OnButtonEvent_t358370788 * __this, EmulatorButtonEvent_t156276569 ___buttonEvent0, const MethodInfo* method)
{
typedef void (STDCALL *PInvokeFunc)(EmulatorButtonEvent_t156276569_marshaled_pinvoke);
PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(((Il2CppDelegate*)__this)->method->methodPointer);
// Marshaling of parameter '___buttonEvent0' to native representation
EmulatorButtonEvent_t156276569_marshaled_pinvoke ____buttonEvent0_marshaled = {};
EmulatorButtonEvent_t156276569_marshal_pinvoke(___buttonEvent0, ____buttonEvent0_marshaled);
// Native function invocation
il2cppPInvokeFunc(____buttonEvent0_marshaled);
// Marshaling cleanup of parameter '___buttonEvent0' native representation
EmulatorButtonEvent_t156276569_marshal_pinvoke_cleanup(____buttonEvent0_marshaled);
}
// System.Void Gvr.Internal.EmulatorManager/OnButtonEvent::.ctor(System.Object,System.IntPtr)
extern "C" void OnButtonEvent__ctor_m3778410729 (OnButtonEvent_t358370788 * __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 Gvr.Internal.EmulatorManager/OnButtonEvent::Invoke(Gvr.Internal.EmulatorButtonEvent)
extern "C" void OnButtonEvent_Invoke_m3526811670 (OnButtonEvent_t358370788 * __this, EmulatorButtonEvent_t156276569 ___buttonEvent0, const MethodInfo* method)
{
if(__this->get_prev_9() != NULL)
{
OnButtonEvent_Invoke_m3526811670((OnButtonEvent_t358370788 *)__this->get_prev_9(),___buttonEvent0, 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, EmulatorButtonEvent_t156276569 ___buttonEvent0, const MethodInfo* method);
((FunctionPointerType)__this->get_method_ptr_0())(NULL,__this->get_m_target_2(),___buttonEvent0,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
else
{
typedef void (*FunctionPointerType) (void* __this, EmulatorButtonEvent_t156276569 ___buttonEvent0, const MethodInfo* method);
((FunctionPointerType)__this->get_method_ptr_0())(__this->get_m_target_2(),___buttonEvent0,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
}
// System.IAsyncResult Gvr.Internal.EmulatorManager/OnButtonEvent::BeginInvoke(Gvr.Internal.EmulatorButtonEvent,System.AsyncCallback,System.Object)
extern "C" Il2CppObject * OnButtonEvent_BeginInvoke_m354434029 (OnButtonEvent_t358370788 * __this, EmulatorButtonEvent_t156276569 ___buttonEvent0, AsyncCallback_t163412349 * ___callback1, Il2CppObject * ___object2, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (OnButtonEvent_BeginInvoke_m354434029_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
void *__d_args[2] = {0};
__d_args[0] = Box(EmulatorButtonEvent_t156276569_il2cpp_TypeInfo_var, &___buttonEvent0);
return (Il2CppObject *)il2cpp_codegen_delegate_begin_invoke((Il2CppDelegate*)__this, __d_args, (Il2CppDelegate*)___callback1, (Il2CppObject*)___object2);
}
// System.Void Gvr.Internal.EmulatorManager/OnButtonEvent::EndInvoke(System.IAsyncResult)
extern "C" void OnButtonEvent_EndInvoke_m1937632587 (OnButtonEvent_t358370788 * __this, Il2CppObject * ___result0, const MethodInfo* method)
{
il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
}
extern "C" void DelegatePInvokeWrapper_OnGyroEvent_t1804908545 (OnGyroEvent_t1804908545 * __this, EmulatorGyroEvent_t1858389926 ___gyroEvent0, const MethodInfo* method)
{
typedef void (STDCALL *PInvokeFunc)(EmulatorGyroEvent_t1858389926 );
PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(((Il2CppDelegate*)__this)->method->methodPointer);
// Native function invocation
il2cppPInvokeFunc(___gyroEvent0);
}
// System.Void Gvr.Internal.EmulatorManager/OnGyroEvent::.ctor(System.Object,System.IntPtr)
extern "C" void OnGyroEvent__ctor_m2855559188 (OnGyroEvent_t1804908545 * __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 Gvr.Internal.EmulatorManager/OnGyroEvent::Invoke(Gvr.Internal.EmulatorGyroEvent)
extern "C" void OnGyroEvent_Invoke_m3195722476 (OnGyroEvent_t1804908545 * __this, EmulatorGyroEvent_t1858389926 ___gyroEvent0, const MethodInfo* method)
{
if(__this->get_prev_9() != NULL)
{
OnGyroEvent_Invoke_m3195722476((OnGyroEvent_t1804908545 *)__this->get_prev_9(),___gyroEvent0, 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, EmulatorGyroEvent_t1858389926 ___gyroEvent0, const MethodInfo* method);
((FunctionPointerType)__this->get_method_ptr_0())(NULL,__this->get_m_target_2(),___gyroEvent0,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
else
{
typedef void (*FunctionPointerType) (void* __this, EmulatorGyroEvent_t1858389926 ___gyroEvent0, const MethodInfo* method);
((FunctionPointerType)__this->get_method_ptr_0())(__this->get_m_target_2(),___gyroEvent0,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
}
// System.IAsyncResult Gvr.Internal.EmulatorManager/OnGyroEvent::BeginInvoke(Gvr.Internal.EmulatorGyroEvent,System.AsyncCallback,System.Object)
extern "C" Il2CppObject * OnGyroEvent_BeginInvoke_m635063469 (OnGyroEvent_t1804908545 * __this, EmulatorGyroEvent_t1858389926 ___gyroEvent0, AsyncCallback_t163412349 * ___callback1, Il2CppObject * ___object2, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (OnGyroEvent_BeginInvoke_m635063469_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
void *__d_args[2] = {0};
__d_args[0] = Box(EmulatorGyroEvent_t1858389926_il2cpp_TypeInfo_var, &___gyroEvent0);
return (Il2CppObject *)il2cpp_codegen_delegate_begin_invoke((Il2CppDelegate*)__this, __d_args, (Il2CppDelegate*)___callback1, (Il2CppObject*)___object2);
}
// System.Void Gvr.Internal.EmulatorManager/OnGyroEvent::EndInvoke(System.IAsyncResult)
extern "C" void OnGyroEvent_EndInvoke_m2486377070 (OnGyroEvent_t1804908545 * __this, Il2CppObject * ___result0, const MethodInfo* method)
{
il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
}
extern "C" void DelegatePInvokeWrapper_OnOrientationEvent_t602701282 (OnOrientationEvent_t602701282 * __this, EmulatorOrientationEvent_t4153005117 ___orientationEvent0, const MethodInfo* method)
{
typedef void (STDCALL *PInvokeFunc)(EmulatorOrientationEvent_t4153005117 );
PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(((Il2CppDelegate*)__this)->method->methodPointer);
// Native function invocation
il2cppPInvokeFunc(___orientationEvent0);
}
// System.Void Gvr.Internal.EmulatorManager/OnOrientationEvent::.ctor(System.Object,System.IntPtr)
extern "C" void OnOrientationEvent__ctor_m3139561141 (OnOrientationEvent_t602701282 * __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 Gvr.Internal.EmulatorManager/OnOrientationEvent::Invoke(Gvr.Internal.EmulatorOrientationEvent)
extern "C" void OnOrientationEvent_Invoke_m1547755396 (OnOrientationEvent_t602701282 * __this, EmulatorOrientationEvent_t4153005117 ___orientationEvent0, const MethodInfo* method)
{
if(__this->get_prev_9() != NULL)
{
OnOrientationEvent_Invoke_m1547755396((OnOrientationEvent_t602701282 *)__this->get_prev_9(),___orientationEvent0, 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, EmulatorOrientationEvent_t4153005117 ___orientationEvent0, const MethodInfo* method);
((FunctionPointerType)__this->get_method_ptr_0())(NULL,__this->get_m_target_2(),___orientationEvent0,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
else
{
typedef void (*FunctionPointerType) (void* __this, EmulatorOrientationEvent_t4153005117 ___orientationEvent0, const MethodInfo* method);
((FunctionPointerType)__this->get_method_ptr_0())(__this->get_m_target_2(),___orientationEvent0,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
}
// System.IAsyncResult Gvr.Internal.EmulatorManager/OnOrientationEvent::BeginInvoke(Gvr.Internal.EmulatorOrientationEvent,System.AsyncCallback,System.Object)
extern "C" Il2CppObject * OnOrientationEvent_BeginInvoke_m2079793085 (OnOrientationEvent_t602701282 * __this, EmulatorOrientationEvent_t4153005117 ___orientationEvent0, AsyncCallback_t163412349 * ___callback1, Il2CppObject * ___object2, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (OnOrientationEvent_BeginInvoke_m2079793085_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
void *__d_args[2] = {0};
__d_args[0] = Box(EmulatorOrientationEvent_t4153005117_il2cpp_TypeInfo_var, &___orientationEvent0);
return (Il2CppObject *)il2cpp_codegen_delegate_begin_invoke((Il2CppDelegate*)__this, __d_args, (Il2CppDelegate*)___callback1, (Il2CppObject*)___object2);
}
// System.Void Gvr.Internal.EmulatorManager/OnOrientationEvent::EndInvoke(System.IAsyncResult)
extern "C" void OnOrientationEvent_EndInvoke_m2079597163 (OnOrientationEvent_t602701282 * __this, Il2CppObject * ___result0, const MethodInfo* method)
{
il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
}
// System.Void Gvr.Internal.EmulatorManager/OnTouchEvent::.ctor(System.Object,System.IntPtr)
extern "C" void OnTouchEvent__ctor_m3994445320 (OnTouchEvent_t4143287487 * __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 Gvr.Internal.EmulatorManager/OnTouchEvent::Invoke(Gvr.Internal.EmulatorTouchEvent)
extern "C" void OnTouchEvent_Invoke_m1749858212 (OnTouchEvent_t4143287487 * __this, EmulatorTouchEvent_t1122923020 ___touchEvent0, const MethodInfo* method)
{
if(__this->get_prev_9() != NULL)
{
OnTouchEvent_Invoke_m1749858212((OnTouchEvent_t4143287487 *)__this->get_prev_9(),___touchEvent0, 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, EmulatorTouchEvent_t1122923020 ___touchEvent0, const MethodInfo* method);
((FunctionPointerType)__this->get_method_ptr_0())(NULL,__this->get_m_target_2(),___touchEvent0,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
else
{
typedef void (*FunctionPointerType) (void* __this, EmulatorTouchEvent_t1122923020 ___touchEvent0, const MethodInfo* method);
((FunctionPointerType)__this->get_method_ptr_0())(__this->get_m_target_2(),___touchEvent0,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
}
// System.IAsyncResult Gvr.Internal.EmulatorManager/OnTouchEvent::BeginInvoke(Gvr.Internal.EmulatorTouchEvent,System.AsyncCallback,System.Object)
extern "C" Il2CppObject * OnTouchEvent_BeginInvoke_m625390245 (OnTouchEvent_t4143287487 * __this, EmulatorTouchEvent_t1122923020 ___touchEvent0, AsyncCallback_t163412349 * ___callback1, Il2CppObject * ___object2, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (OnTouchEvent_BeginInvoke_m625390245_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
void *__d_args[2] = {0};
__d_args[0] = Box(EmulatorTouchEvent_t1122923020_il2cpp_TypeInfo_var, &___touchEvent0);
return (Il2CppObject *)il2cpp_codegen_delegate_begin_invoke((Il2CppDelegate*)__this, __d_args, (Il2CppDelegate*)___callback1, (Il2CppObject*)___object2);
}
// System.Void Gvr.Internal.EmulatorManager/OnTouchEvent::EndInvoke(System.IAsyncResult)
extern "C" void OnTouchEvent_EndInvoke_m2905934786 (OnTouchEvent_t4143287487 * __this, Il2CppObject * ___result0, const MethodInfo* method)
{
il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
}
// System.Void Gvr.Internal.EmulatorOrientationEvent::.ctor(proto.PhoneEvent/Types/OrientationEvent)
extern "C" void EmulatorOrientationEvent__ctor_m4227833381 (EmulatorOrientationEvent_t4153005117 * __this, OrientationEvent_t2038376807 * ___proto0, const MethodInfo* method)
{
{
// timestamp = proto.Timestamp;
OrientationEvent_t2038376807 * L_0 = ___proto0;
// timestamp = proto.Timestamp;
NullCheck(L_0);
int64_t L_1 = OrientationEvent_get_Timestamp_m127113700(L_0, /*hidden argument*/NULL);
__this->set_timestamp_0(L_1);
// orientation = new Quaternion(proto.X, proto.Y, -proto.Z, proto.W);
OrientationEvent_t2038376807 * L_2 = ___proto0;
// orientation = new Quaternion(proto.X, proto.Y, -proto.Z, proto.W);
NullCheck(L_2);
float L_3 = OrientationEvent_get_X_m3329194961(L_2, /*hidden argument*/NULL);
OrientationEvent_t2038376807 * L_4 = ___proto0;
// orientation = new Quaternion(proto.X, proto.Y, -proto.Z, proto.W);
NullCheck(L_4);
float L_5 = OrientationEvent_get_Y_m3470357462(L_4, /*hidden argument*/NULL);
OrientationEvent_t2038376807 * L_6 = ___proto0;
// orientation = new Quaternion(proto.X, proto.Y, -proto.Z, proto.W);
NullCheck(L_6);
float L_7 = OrientationEvent_get_Z_m3046869959(L_6, /*hidden argument*/NULL);
OrientationEvent_t2038376807 * L_8 = ___proto0;
// orientation = new Quaternion(proto.X, proto.Y, -proto.Z, proto.W);
NullCheck(L_8);
float L_9 = OrientationEvent_get_W_m170175888(L_8, /*hidden argument*/NULL);
// orientation = new Quaternion(proto.X, proto.Y, -proto.Z, proto.W);
Quaternion_t4030073918 L_10;
memset(&L_10, 0, sizeof(L_10));
Quaternion__ctor_m3196903881(&L_10, L_3, L_5, ((-L_7)), L_9, /*hidden argument*/NULL);
__this->set_orientation_1(L_10);
// }
return;
}
}
extern "C" void EmulatorOrientationEvent__ctor_m4227833381_AdjustorThunk (Il2CppObject * __this, OrientationEvent_t2038376807 * ___proto0, const MethodInfo* method)
{
EmulatorOrientationEvent_t4153005117 * _thisAdjusted = reinterpret_cast<EmulatorOrientationEvent_t4153005117 *>(__this + 1);
EmulatorOrientationEvent__ctor_m4227833381(_thisAdjusted, ___proto0, method);
}
// Conversion methods for marshalling of: Gvr.Internal.EmulatorTouchEvent
extern "C" void EmulatorTouchEvent_t1122923020_marshal_pinvoke(const EmulatorTouchEvent_t1122923020& unmarshaled, EmulatorTouchEvent_t1122923020_marshaled_pinvoke& marshaled)
{
Il2CppCodeGenException* ___pointers_2Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'pointers' of type 'EmulatorTouchEvent'.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___pointers_2Exception);
}
extern "C" void EmulatorTouchEvent_t1122923020_marshal_pinvoke_back(const EmulatorTouchEvent_t1122923020_marshaled_pinvoke& marshaled, EmulatorTouchEvent_t1122923020& unmarshaled)
{
Il2CppCodeGenException* ___pointers_2Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'pointers' of type 'EmulatorTouchEvent'.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___pointers_2Exception);
}
// Conversion method for clean up from marshalling of: Gvr.Internal.EmulatorTouchEvent
extern "C" void EmulatorTouchEvent_t1122923020_marshal_pinvoke_cleanup(EmulatorTouchEvent_t1122923020_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: Gvr.Internal.EmulatorTouchEvent
extern "C" void EmulatorTouchEvent_t1122923020_marshal_com(const EmulatorTouchEvent_t1122923020& unmarshaled, EmulatorTouchEvent_t1122923020_marshaled_com& marshaled)
{
Il2CppCodeGenException* ___pointers_2Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'pointers' of type 'EmulatorTouchEvent'.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___pointers_2Exception);
}
extern "C" void EmulatorTouchEvent_t1122923020_marshal_com_back(const EmulatorTouchEvent_t1122923020_marshaled_com& marshaled, EmulatorTouchEvent_t1122923020& unmarshaled)
{
Il2CppCodeGenException* ___pointers_2Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'pointers' of type 'EmulatorTouchEvent'.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___pointers_2Exception);
}
// Conversion method for clean up from marshalling of: Gvr.Internal.EmulatorTouchEvent
extern "C" void EmulatorTouchEvent_t1122923020_marshal_com_cleanup(EmulatorTouchEvent_t1122923020_marshaled_com& marshaled)
{
}
// System.Void Gvr.Internal.EmulatorTouchEvent::.ctor(proto.PhoneEvent/Types/MotionEvent,System.Int64)
extern "C" void EmulatorTouchEvent__ctor_m2652666916 (EmulatorTouchEvent_t1122923020 * __this, MotionEvent_t4072706903 * ___proto0, int64_t ___lastDownTimeMs1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorTouchEvent__ctor_m2652666916_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Pointer_t1211758263 * 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);
EmulatorTouchEvent_t1122923020 * G_B2_0 = NULL;
EmulatorTouchEvent_t1122923020 * G_B1_0 = NULL;
int32_t G_B3_0 = 0;
EmulatorTouchEvent_t1122923020 * G_B3_1 = NULL;
{
// action = proto.Action;
MotionEvent_t4072706903 * L_0 = ___proto0;
// action = proto.Action;
NullCheck(L_0);
int32_t L_1 = MotionEvent_get_Action_m469056995(L_0, /*hidden argument*/NULL);
__this->set_action_0(L_1);
// relativeTimestamp =
MotionEvent_t4072706903 * L_2 = ___proto0;
// (Action)(proto.Action & ACTION_MASK) == Action.kActionDown
NullCheck(L_2);
int32_t L_3 = MotionEvent_get_Action_m469056995(L_2, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(EmulatorTouchEvent_t1122923020_il2cpp_TypeInfo_var);
int32_t L_4 = ((EmulatorTouchEvent_t1122923020_StaticFields*)EmulatorTouchEvent_t1122923020_il2cpp_TypeInfo_var->static_fields)->get_ACTION_MASK_5();
G_B1_0 = __this;
if (((int32_t)((int32_t)L_3&(int32_t)L_4)))
{
G_B2_0 = __this;
goto IL_0025;
}
}
{
G_B3_0 = 0;
G_B3_1 = G_B1_0;
goto IL_002e;
}
IL_0025:
{
MotionEvent_t4072706903 * L_5 = ___proto0;
// ? 0 : (int) (proto.Timestamp - lastDownTimeMs);
NullCheck(L_5);
int64_t L_6 = MotionEvent_get_Timestamp_m123845168(L_5, /*hidden argument*/NULL);
int64_t L_7 = ___lastDownTimeMs1;
G_B3_0 = (((int32_t)((int32_t)((int64_t)((int64_t)L_6-(int64_t)L_7)))));
G_B3_1 = G_B2_0;
}
IL_002e:
{
G_B3_1->set_relativeTimestamp_1(G_B3_0);
// pointers = new List<Pointer>();
// pointers = new List<Pointer>();
List_1_t2369806134 * L_8 = (List_1_t2369806134 *)il2cpp_codegen_object_new(List_1_t2369806134_il2cpp_TypeInfo_var);
List_1__ctor_m3832883665(L_8, /*hidden argument*/List_1__ctor_m3832883665_MethodInfo_var);
__this->set_pointers_2(L_8);
// proto.PointersList) {
MotionEvent_t4072706903 * L_9 = ___proto0;
// proto.PointersList) {
NullCheck(L_9);
Il2CppObject* L_10 = MotionEvent_get_PointersList_m1139498144(L_9, /*hidden argument*/NULL);
// proto.PointersList) {
NullCheck(L_10);
Il2CppObject* L_11 = InterfaceFuncInvoker0< Il2CppObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<!0> System.Collections.Generic.IEnumerable`1<proto.PhoneEvent/Types/MotionEvent/Types/Pointer>::GetEnumerator() */, IEnumerable_1_t1503885308_il2cpp_TypeInfo_var, L_10);
V_1 = L_11;
}
IL_004b:
try
{ // begin try (depth: 1)
{
goto IL_007b;
}
IL_0050:
{
// foreach (PhoneEvent.Types.MotionEvent.Types.Pointer pointer in
Il2CppObject* L_12 = V_1;
// proto.PointersList) {
NullCheck(L_12);
Pointer_t1211758263 * L_13 = InterfaceFuncInvoker0< Pointer_t1211758263 * >::Invoke(0 /* !0 System.Collections.Generic.IEnumerator`1<proto.PhoneEvent/Types/MotionEvent/Types/Pointer>::get_Current() */, IEnumerator_1_t2982249386_il2cpp_TypeInfo_var, L_12);
V_0 = L_13;
// pointers.Add(
List_1_t2369806134 * L_14 = __this->get_pointers_2();
Pointer_t1211758263 * L_15 = V_0;
// new Pointer(pointer.Id, pointer.NormalizedX, pointer.NormalizedY));
NullCheck(L_15);
int32_t L_16 = Pointer_get_Id_m1713731598(L_15, /*hidden argument*/NULL);
Pointer_t1211758263 * L_17 = V_0;
// new Pointer(pointer.Id, pointer.NormalizedX, pointer.NormalizedY));
NullCheck(L_17);
float L_18 = Pointer_get_NormalizedX_m3399516264(L_17, /*hidden argument*/NULL);
Pointer_t1211758263 * L_19 = V_0;
// new Pointer(pointer.Id, pointer.NormalizedX, pointer.NormalizedY));
NullCheck(L_19);
float L_20 = Pointer_get_NormalizedY_m3399516297(L_19, /*hidden argument*/NULL);
// new Pointer(pointer.Id, pointer.NormalizedX, pointer.NormalizedY));
Pointer_t3000685002 L_21;
memset(&L_21, 0, sizeof(L_21));
Pointer__ctor_m631654956(&L_21, L_16, L_18, L_20, /*hidden argument*/NULL);
// pointers.Add(
NullCheck(L_14);
List_1_Add_m3606111453(L_14, L_21, /*hidden argument*/List_1_Add_m3606111453_MethodInfo_var);
}
IL_007b:
{
Il2CppObject* L_22 = V_1;
// proto.PointersList) {
NullCheck(L_22);
bool L_23 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1466026749_il2cpp_TypeInfo_var, L_22);
if (L_23)
{
goto IL_0050;
}
}
IL_0086:
{
IL2CPP_LEAVE(0x98, FINALLY_008b);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_008b;
}
FINALLY_008b:
{ // begin finally (depth: 1)
{
Il2CppObject* L_24 = V_1;
if (!L_24)
{
goto IL_0097;
}
}
IL_0091:
{
Il2CppObject* L_25 = V_1;
// proto.PointersList) {
NullCheck(L_25);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t2427283555_il2cpp_TypeInfo_var, L_25);
}
IL_0097:
{
IL2CPP_END_FINALLY(139)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(139)
{
IL2CPP_JUMP_TBL(0x98, IL_0098)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_0098:
{
// }
return;
}
}
extern "C" void EmulatorTouchEvent__ctor_m2652666916_AdjustorThunk (Il2CppObject * __this, MotionEvent_t4072706903 * ___proto0, int64_t ___lastDownTimeMs1, const MethodInfo* method)
{
EmulatorTouchEvent_t1122923020 * _thisAdjusted = reinterpret_cast<EmulatorTouchEvent_t1122923020 *>(__this + 1);
EmulatorTouchEvent__ctor_m2652666916(_thisAdjusted, ___proto0, ___lastDownTimeMs1, method);
}
// System.Void Gvr.Internal.EmulatorTouchEvent::.ctor(Gvr.Internal.EmulatorTouchEvent/Action,System.Int32,System.Int32,System.Collections.Generic.List`1<Gvr.Internal.EmulatorTouchEvent/Pointer>)
extern "C" void EmulatorTouchEvent__ctor_m41442020 (EmulatorTouchEvent_t1122923020 * __this, int32_t ___action0, int32_t ___pointerId1, int32_t ___relativeTimestamp2, List_1_t2369806134 * ___pointers3, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorTouchEvent__ctor_m41442020_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
// int fingerIndex = 0;
V_0 = 0;
// if (action == Action.kActionPointerDown
int32_t L_0 = ___action0;
if ((((int32_t)L_0) == ((int32_t)5)))
{
goto IL_0011;
}
}
{
int32_t L_1 = ___action0;
if ((!(((uint32_t)L_1) == ((uint32_t)6))))
{
goto IL_0041;
}
}
IL_0011:
{
// fingerIndex = findPointerIndex(pointerId, pointers);
int32_t L_2 = ___pointerId1;
List_1_t2369806134 * L_3 = ___pointers3;
// fingerIndex = findPointerIndex(pointerId, pointers);
IL2CPP_RUNTIME_CLASS_INIT(EmulatorTouchEvent_t1122923020_il2cpp_TypeInfo_var);
int32_t L_4 = EmulatorTouchEvent_findPointerIndex_m3522089136(NULL /*static, unused*/, L_2, L_3, /*hidden argument*/NULL);
V_0 = L_4;
// if (fingerIndex == -1) {
int32_t L_5 = V_0;
if ((!(((uint32_t)L_5) == ((uint32_t)(-1)))))
{
goto IL_0040;
}
}
{
// Debug.LogWarning("Could not find specific fingerId " + pointerId
int32_t L_6 = ___pointerId1;
int32_t L_7 = L_6;
Il2CppObject * L_8 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_7);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_9 = String_Concat_m2000667605(NULL /*static, unused*/, _stringLiteral185337353, L_8, _stringLiteral212532649, /*hidden argument*/NULL);
// Debug.LogWarning("Could not find specific fingerId " + pointerId
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_LogWarning_m2503577968(NULL /*static, unused*/, L_9, /*hidden argument*/NULL);
// fingerIndex = 0;
V_0 = 0;
}
IL_0040:
{
}
IL_0041:
{
// this.action = getActionUnmasked(action, fingerIndex);
int32_t L_10 = ___action0;
int32_t L_11 = V_0;
// this.action = getActionUnmasked(action, fingerIndex);
IL2CPP_RUNTIME_CLASS_INIT(EmulatorTouchEvent_t1122923020_il2cpp_TypeInfo_var);
int32_t L_12 = EmulatorTouchEvent_getActionUnmasked_m2794616263(NULL /*static, unused*/, L_10, L_11, /*hidden argument*/NULL);
__this->set_action_0(L_12);
// this.relativeTimestamp = relativeTimestamp;
int32_t L_13 = ___relativeTimestamp2;
__this->set_relativeTimestamp_1(L_13);
// this.pointers = pointers;
List_1_t2369806134 * L_14 = ___pointers3;
__this->set_pointers_2(L_14);
// }
return;
}
}
extern "C" void EmulatorTouchEvent__ctor_m41442020_AdjustorThunk (Il2CppObject * __this, int32_t ___action0, int32_t ___pointerId1, int32_t ___relativeTimestamp2, List_1_t2369806134 * ___pointers3, const MethodInfo* method)
{
EmulatorTouchEvent_t1122923020 * _thisAdjusted = reinterpret_cast<EmulatorTouchEvent_t1122923020 *>(__this + 1);
EmulatorTouchEvent__ctor_m41442020(_thisAdjusted, ___action0, ___pointerId1, ___relativeTimestamp2, ___pointers3, method);
}
// Gvr.Internal.EmulatorTouchEvent/Action Gvr.Internal.EmulatorTouchEvent::getActionMasked()
extern "C" int32_t EmulatorTouchEvent_getActionMasked_m1031363438 (EmulatorTouchEvent_t1122923020 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorTouchEvent_getActionMasked_m1031363438_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
// return (Action)(action & ACTION_MASK);
int32_t L_0 = __this->get_action_0();
IL2CPP_RUNTIME_CLASS_INIT(EmulatorTouchEvent_t1122923020_il2cpp_TypeInfo_var);
int32_t L_1 = ((EmulatorTouchEvent_t1122923020_StaticFields*)EmulatorTouchEvent_t1122923020_il2cpp_TypeInfo_var->static_fields)->get_ACTION_MASK_5();
V_0 = ((int32_t)((int32_t)L_0&(int32_t)L_1));
goto IL_0013;
}
IL_0013:
{
// }
int32_t L_2 = V_0;
return L_2;
}
}
extern "C" int32_t EmulatorTouchEvent_getActionMasked_m1031363438_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method)
{
EmulatorTouchEvent_t1122923020 * _thisAdjusted = reinterpret_cast<EmulatorTouchEvent_t1122923020 *>(__this + 1);
return EmulatorTouchEvent_getActionMasked_m1031363438(_thisAdjusted, method);
}
// Gvr.Internal.EmulatorTouchEvent/Pointer Gvr.Internal.EmulatorTouchEvent::getActionPointer()
extern "C" Pointer_t3000685002 EmulatorTouchEvent_getActionPointer_m3109644827 (EmulatorTouchEvent_t1122923020 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorTouchEvent_getActionPointer_m3109644827_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
Pointer_t3000685002 V_1;
memset(&V_1, 0, sizeof(V_1));
{
// int index =
int32_t L_0 = __this->get_action_0();
IL2CPP_RUNTIME_CLASS_INIT(EmulatorTouchEvent_t1122923020_il2cpp_TypeInfo_var);
int32_t L_1 = ((EmulatorTouchEvent_t1122923020_StaticFields*)EmulatorTouchEvent_t1122923020_il2cpp_TypeInfo_var->static_fields)->get_ACTION_POINTER_INDEX_MASK_4();
int32_t L_2 = ((EmulatorTouchEvent_t1122923020_StaticFields*)EmulatorTouchEvent_t1122923020_il2cpp_TypeInfo_var->static_fields)->get_ACTION_POINTER_INDEX_SHIFT_3();
V_0 = ((int32_t)((int32_t)((int32_t)((int32_t)L_0&(int32_t)L_1))>>(int32_t)((int32_t)((int32_t)L_2&(int32_t)((int32_t)31)))));
// return pointers[index];
List_1_t2369806134 * L_3 = __this->get_pointers_2();
int32_t L_4 = V_0;
// return pointers[index];
NullCheck(L_3);
Pointer_t3000685002 L_5 = List_1_get_Item_m3841572302(L_3, L_4, /*hidden argument*/List_1_get_Item_m3841572302_MethodInfo_var);
V_1 = L_5;
goto IL_0029;
}
IL_0029:
{
// }
Pointer_t3000685002 L_6 = V_1;
return L_6;
}
}
extern "C" Pointer_t3000685002 EmulatorTouchEvent_getActionPointer_m3109644827_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method)
{
EmulatorTouchEvent_t1122923020 * _thisAdjusted = reinterpret_cast<EmulatorTouchEvent_t1122923020 *>(__this + 1);
return EmulatorTouchEvent_getActionPointer_m3109644827(_thisAdjusted, method);
}
// System.Int32 Gvr.Internal.EmulatorTouchEvent::getActionUnmasked(Gvr.Internal.EmulatorTouchEvent/Action,System.Int32)
extern "C" int32_t EmulatorTouchEvent_getActionUnmasked_m2794616263 (Il2CppObject * __this /* static, unused */, int32_t ___action0, int32_t ___fingerIndex1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorTouchEvent_getActionUnmasked_m2794616263_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
// return ((int)action) | (fingerIndex << ACTION_POINTER_INDEX_SHIFT);
int32_t L_0 = ___action0;
int32_t L_1 = ___fingerIndex1;
IL2CPP_RUNTIME_CLASS_INIT(EmulatorTouchEvent_t1122923020_il2cpp_TypeInfo_var);
int32_t L_2 = ((EmulatorTouchEvent_t1122923020_StaticFields*)EmulatorTouchEvent_t1122923020_il2cpp_TypeInfo_var->static_fields)->get_ACTION_POINTER_INDEX_SHIFT_3();
V_0 = ((int32_t)((int32_t)L_0|(int32_t)((int32_t)((int32_t)L_1<<(int32_t)((int32_t)((int32_t)L_2&(int32_t)((int32_t)31)))))));
goto IL_0013;
}
IL_0013:
{
// }
int32_t L_3 = V_0;
return L_3;
}
}
// System.Int32 Gvr.Internal.EmulatorTouchEvent::findPointerIndex(System.Int32,System.Collections.Generic.List`1<Gvr.Internal.EmulatorTouchEvent/Pointer>)
extern "C" int32_t EmulatorTouchEvent_findPointerIndex_m3522089136 (Il2CppObject * __this /* static, unused */, int32_t ___fingerId0, List_1_t2369806134 * ___pointers1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorTouchEvent_findPointerIndex_m3522089136_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
Pointer_t3000685002 V_2;
memset(&V_2, 0, sizeof(V_2));
int32_t V_3 = 0;
{
// int fingerIndex = -1;
V_0 = (-1);
// for (int i = 0; i < pointers.Count; i++) {
V_1 = 0;
goto IL_002d;
}
IL_000a:
{
// if (fingerId == pointers[i].fingerId) {
int32_t L_0 = ___fingerId0;
List_1_t2369806134 * L_1 = ___pointers1;
int32_t L_2 = V_1;
// if (fingerId == pointers[i].fingerId) {
NullCheck(L_1);
Pointer_t3000685002 L_3 = List_1_get_Item_m3841572302(L_1, L_2, /*hidden argument*/List_1_get_Item_m3841572302_MethodInfo_var);
V_2 = L_3;
int32_t L_4 = (&V_2)->get_fingerId_0();
if ((!(((uint32_t)L_0) == ((uint32_t)L_4))))
{
goto IL_0028;
}
}
{
// fingerIndex = i;
int32_t L_5 = V_1;
V_0 = L_5;
// break;
goto IL_0039;
}
IL_0028:
{
// for (int i = 0; i < pointers.Count; i++) {
int32_t L_6 = V_1;
V_1 = ((int32_t)((int32_t)L_6+(int32_t)1));
}
IL_002d:
{
// for (int i = 0; i < pointers.Count; i++) {
int32_t L_7 = V_1;
List_1_t2369806134 * L_8 = ___pointers1;
// for (int i = 0; i < pointers.Count; i++) {
NullCheck(L_8);
int32_t L_9 = List_1_get_Count_m915271181(L_8, /*hidden argument*/List_1_get_Count_m915271181_MethodInfo_var);
if ((((int32_t)L_7) < ((int32_t)L_9)))
{
goto IL_000a;
}
}
IL_0039:
{
// return fingerIndex;
int32_t L_10 = V_0;
V_3 = L_10;
goto IL_0040;
}
IL_0040:
{
// }
int32_t L_11 = V_3;
return L_11;
}
}
// System.String Gvr.Internal.EmulatorTouchEvent::ToString()
extern "C" String_t* EmulatorTouchEvent_ToString_m1236062672 (EmulatorTouchEvent_t1122923020 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorTouchEvent_ToString_m1236062672_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StringBuilder_t1221177846 * V_0 = NULL;
Pointer_t3000685002 V_1;
memset(&V_1, 0, sizeof(V_1));
int32_t V_2 = 0;
String_t* V_3 = NULL;
{
// System.Text.StringBuilder builder = new System.Text.StringBuilder ();
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;
// builder.AppendFormat("t = {0}; A = {1}; P = {2}; N = {3}; [",
StringBuilder_t1221177846 * L_1 = V_0;
ObjectU5BU5D_t3614634134* L_2 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)4));
int32_t L_3 = __this->get_relativeTimestamp_1();
int32_t L_4 = L_3;
Il2CppObject * L_5 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_4);
NullCheck(L_2);
ArrayElementTypeCheck (L_2, L_5);
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)L_5);
ObjectU5BU5D_t3614634134* L_6 = L_2;
// relativeTimestamp, getActionMasked (), getActionPointer ().fingerId,
int32_t L_7 = EmulatorTouchEvent_getActionMasked_m1031363438(__this, /*hidden argument*/NULL);
int32_t L_8 = L_7;
Il2CppObject * L_9 = Box(Action_t936529327_il2cpp_TypeInfo_var, &L_8);
NullCheck(L_6);
ArrayElementTypeCheck (L_6, L_9);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(1), (Il2CppObject *)L_9);
ObjectU5BU5D_t3614634134* L_10 = L_6;
// relativeTimestamp, getActionMasked (), getActionPointer ().fingerId,
Pointer_t3000685002 L_11 = EmulatorTouchEvent_getActionPointer_m3109644827(__this, /*hidden argument*/NULL);
V_1 = L_11;
int32_t L_12 = (&V_1)->get_fingerId_0();
int32_t L_13 = L_12;
Il2CppObject * L_14 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_13);
NullCheck(L_10);
ArrayElementTypeCheck (L_10, L_14);
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(2), (Il2CppObject *)L_14);
ObjectU5BU5D_t3614634134* L_15 = L_10;
List_1_t2369806134 * L_16 = __this->get_pointers_2();
// pointers.Count);
NullCheck(L_16);
int32_t L_17 = List_1_get_Count_m915271181(L_16, /*hidden argument*/List_1_get_Count_m915271181_MethodInfo_var);
int32_t L_18 = L_17;
Il2CppObject * L_19 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_18);
NullCheck(L_15);
ArrayElementTypeCheck (L_15, L_19);
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(3), (Il2CppObject *)L_19);
// builder.AppendFormat("t = {0}; A = {1}; P = {2}; N = {3}; [",
NullCheck(L_1);
StringBuilder_AppendFormat_m1879616656(L_1, _stringLiteral840853824, L_15, /*hidden argument*/NULL);
// for (int i = 0; i < pointers.Count; i++) {
V_2 = 0;
goto IL_008d;
}
IL_0065:
{
// builder.Append(pointers[i]).Append (", ");
StringBuilder_t1221177846 * L_20 = V_0;
List_1_t2369806134 * L_21 = __this->get_pointers_2();
int32_t L_22 = V_2;
// builder.Append(pointers[i]).Append (", ");
NullCheck(L_21);
Pointer_t3000685002 L_23 = List_1_get_Item_m3841572302(L_21, L_22, /*hidden argument*/List_1_get_Item_m3841572302_MethodInfo_var);
Pointer_t3000685002 L_24 = L_23;
Il2CppObject * L_25 = Box(Pointer_t3000685002_il2cpp_TypeInfo_var, &L_24);
// builder.Append(pointers[i]).Append (", ");
NullCheck(L_20);
StringBuilder_t1221177846 * L_26 = StringBuilder_Append_m3541816491(L_20, L_25, /*hidden argument*/NULL);
// builder.Append(pointers[i]).Append (", ");
NullCheck(L_26);
StringBuilder_Append_m3636508479(L_26, _stringLiteral811305474, /*hidden argument*/NULL);
// for (int i = 0; i < pointers.Count; i++) {
int32_t L_27 = V_2;
V_2 = ((int32_t)((int32_t)L_27+(int32_t)1));
}
IL_008d:
{
// for (int i = 0; i < pointers.Count; i++) {
int32_t L_28 = V_2;
List_1_t2369806134 * L_29 = __this->get_pointers_2();
// for (int i = 0; i < pointers.Count; i++) {
NullCheck(L_29);
int32_t L_30 = List_1_get_Count_m915271181(L_29, /*hidden argument*/List_1_get_Count_m915271181_MethodInfo_var);
if ((((int32_t)L_28) < ((int32_t)L_30)))
{
goto IL_0065;
}
}
{
// builder.Append ("]");
StringBuilder_t1221177846 * L_31 = V_0;
// builder.Append ("]");
NullCheck(L_31);
StringBuilder_Append_m3636508479(L_31, _stringLiteral372029425, /*hidden argument*/NULL);
// return builder.ToString();
StringBuilder_t1221177846 * L_32 = V_0;
// return builder.ToString();
NullCheck(L_32);
String_t* L_33 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_32);
V_3 = L_33;
goto IL_00b6;
}
IL_00b6:
{
// }
String_t* L_34 = V_3;
return L_34;
}
}
extern "C" String_t* EmulatorTouchEvent_ToString_m1236062672_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method)
{
EmulatorTouchEvent_t1122923020 * _thisAdjusted = reinterpret_cast<EmulatorTouchEvent_t1122923020 *>(__this + 1);
return EmulatorTouchEvent_ToString_m1236062672(_thisAdjusted, method);
}
// System.Void Gvr.Internal.EmulatorTouchEvent::.cctor()
extern "C" void EmulatorTouchEvent__cctor_m3766555102 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EmulatorTouchEvent__cctor_m3766555102_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// private static readonly int ACTION_POINTER_INDEX_SHIFT = 8;
((EmulatorTouchEvent_t1122923020_StaticFields*)EmulatorTouchEvent_t1122923020_il2cpp_TypeInfo_var->static_fields)->set_ACTION_POINTER_INDEX_SHIFT_3(8);
// private static readonly int ACTION_POINTER_INDEX_MASK = 0xff00;
((EmulatorTouchEvent_t1122923020_StaticFields*)EmulatorTouchEvent_t1122923020_il2cpp_TypeInfo_var->static_fields)->set_ACTION_POINTER_INDEX_MASK_4(((int32_t)65280));
// private static readonly int ACTION_MASK = 0xff;
((EmulatorTouchEvent_t1122923020_StaticFields*)EmulatorTouchEvent_t1122923020_il2cpp_TypeInfo_var->static_fields)->set_ACTION_MASK_5(((int32_t)255));
return;
}
}
// System.Void Gvr.Internal.EmulatorTouchEvent/Pointer::.ctor(System.Int32,System.Single,System.Single)
extern "C" void Pointer__ctor_m631654956 (Pointer_t3000685002 * __this, int32_t ___fingerId0, float ___normalizedX1, float ___normalizedY2, const MethodInfo* method)
{
{
// this.fingerId = fingerId;
int32_t L_0 = ___fingerId0;
__this->set_fingerId_0(L_0);
// this.normalizedX = normalizedX;
float L_1 = ___normalizedX1;
__this->set_normalizedX_1(L_1);
// this.normalizedY = normalizedY;
float L_2 = ___normalizedY2;
__this->set_normalizedY_2(L_2);
// }
return;
}
}
extern "C" void Pointer__ctor_m631654956_AdjustorThunk (Il2CppObject * __this, int32_t ___fingerId0, float ___normalizedX1, float ___normalizedY2, const MethodInfo* method)
{
Pointer_t3000685002 * _thisAdjusted = reinterpret_cast<Pointer_t3000685002 *>(__this + 1);
Pointer__ctor_m631654956(_thisAdjusted, ___fingerId0, ___normalizedX1, ___normalizedY2, method);
}
// System.String Gvr.Internal.EmulatorTouchEvent/Pointer::ToString()
extern "C" String_t* Pointer_ToString_m1485079150 (Pointer_t3000685002 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Pointer_ToString_m1485079150_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
{
// return string.Format ("({0}, {1}, {2})", fingerId, normalizedX,
int32_t L_0 = __this->get_fingerId_0();
int32_t L_1 = L_0;
Il2CppObject * L_2 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_1);
float L_3 = __this->get_normalizedX_1();
float L_4 = L_3;
Il2CppObject * L_5 = Box(Single_t2076509932_il2cpp_TypeInfo_var, &L_4);
float L_6 = __this->get_normalizedY_2();
float L_7 = L_6;
Il2CppObject * L_8 = Box(Single_t2076509932_il2cpp_TypeInfo_var, &L_7);
// return string.Format ("({0}, {1}, {2})", fingerId, normalizedX,
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_9 = String_Format_m4262916296(NULL /*static, unused*/, _stringLiteral3239507012, L_2, L_5, L_8, /*hidden argument*/NULL);
V_0 = L_9;
goto IL_0032;
}
IL_0032:
{
// }
String_t* L_10 = V_0;
return L_10;
}
}
extern "C" String_t* Pointer_ToString_m1485079150_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method)
{
Pointer_t3000685002 * _thisAdjusted = reinterpret_cast<Pointer_t3000685002 *>(__this + 1);
return Pointer_ToString_m1485079150(_thisAdjusted, method);
}
// Gvr.Internal.IKeyboardProvider Gvr.Internal.KeyboardProviderFactory::CreateKeyboardProvider(GvrKeyboard)
extern "C" Il2CppObject * KeyboardProviderFactory_CreateKeyboardProvider_m1653736575 (Il2CppObject * __this /* static, unused */, GvrKeyboard_t598184456 * ___owner0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (KeyboardProviderFactory_CreateKeyboardProvider_m1653736575_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Il2CppObject * V_0 = NULL;
{
// Debug.LogWarning("Platform not supported");
// Debug.LogWarning("Platform not supported");
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_LogWarning_m2503577968(NULL /*static, unused*/, _stringLiteral527688282, /*hidden argument*/NULL);
// return new DummyKeyboardProvider();
DummyKeyboardProvider_t1674367534 * L_0 = (DummyKeyboardProvider_t1674367534 *)il2cpp_codegen_object_new(DummyKeyboardProvider_t1674367534_il2cpp_TypeInfo_var);
DummyKeyboardProvider__ctor_m36419367(L_0, /*hidden argument*/NULL);
V_0 = L_0;
goto IL_0016;
}
IL_0016:
{
// }
Il2CppObject * L_1 = V_0;
return L_1;
}
}
// System.Void GvrAllEventsTrigger::.ctor()
extern "C" void GvrAllEventsTrigger__ctor_m3590993298 (GvrAllEventsTrigger_t2022443331 * __this, const MethodInfo* method)
{
{
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void GvrAllEventsTrigger::OnEnable()
extern "C" void GvrAllEventsTrigger_OnEnable_m2784344286 (GvrAllEventsTrigger_t2022443331 * __this, const MethodInfo* method)
{
{
// StartCoroutine(AddListenersDelayed());
// StartCoroutine(AddListenersDelayed());
Il2CppObject * L_0 = GvrAllEventsTrigger_AddListenersDelayed_m4260636464(__this, /*hidden argument*/NULL);
// StartCoroutine(AddListenersDelayed());
MonoBehaviour_StartCoroutine_m2470621050(__this, L_0, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrAllEventsTrigger::OnDisable()
extern "C" void GvrAllEventsTrigger_OnDisable_m1925371527 (GvrAllEventsTrigger_t2022443331 * __this, const MethodInfo* method)
{
{
// RemoveListeners();
// RemoveListeners();
GvrAllEventsTrigger_RemoveListeners_m2257695873(__this, /*hidden argument*/NULL);
// }
return;
}
}
// System.Collections.IEnumerator GvrAllEventsTrigger::AddListenersDelayed()
extern "C" Il2CppObject * GvrAllEventsTrigger_AddListenersDelayed_m4260636464 (GvrAllEventsTrigger_t2022443331 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAllEventsTrigger_AddListenersDelayed_m4260636464_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
U3CAddListenersDelayedU3Ec__Iterator0_t1446988883 * V_0 = NULL;
Il2CppObject * V_1 = NULL;
{
U3CAddListenersDelayedU3Ec__Iterator0_t1446988883 * L_0 = (U3CAddListenersDelayedU3Ec__Iterator0_t1446988883 *)il2cpp_codegen_object_new(U3CAddListenersDelayedU3Ec__Iterator0_t1446988883_il2cpp_TypeInfo_var);
U3CAddListenersDelayedU3Ec__Iterator0__ctor_m395659742(L_0, /*hidden argument*/NULL);
V_0 = L_0;
U3CAddListenersDelayedU3Ec__Iterator0_t1446988883 * L_1 = V_0;
NullCheck(L_1);
L_1->set_U24this_0(__this);
U3CAddListenersDelayedU3Ec__Iterator0_t1446988883 * L_2 = V_0;
V_1 = L_2;
goto IL_0014;
}
IL_0014:
{
Il2CppObject * L_3 = V_1;
return L_3;
}
}
// System.Void GvrAllEventsTrigger::AddListeners()
extern "C" void GvrAllEventsTrigger_AddListeners_m1410664328 (GvrAllEventsTrigger_t2022443331 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAllEventsTrigger_AddListeners_m1410664328_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GvrEventExecutor_t1694572606 * V_0 = NULL;
{
// GvrEventExecutor eventExecutor = GvrPointerInputModule.FindEventExecutor();
GvrEventExecutor_t1694572606 * L_0 = GvrPointerInputModule_FindEventExecutor_m4246510852(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = L_0;
// if (eventExecutor == null) {
GvrEventExecutor_t1694572606 * L_1 = V_0;
if (L_1)
{
goto IL_0013;
}
}
{
// return;
goto IL_006d;
}
IL_0013:
{
// eventExecutor.OnPointerClick += OnPointerClickHandler;
GvrEventExecutor_t1694572606 * L_2 = V_0;
IntPtr_t L_3;
L_3.set_m_value_0((void*)(void*)GvrAllEventsTrigger_OnPointerClickHandler_m2667250324_MethodInfo_var);
EventDelegate_t3945253882 * L_4 = (EventDelegate_t3945253882 *)il2cpp_codegen_object_new(EventDelegate_t3945253882_il2cpp_TypeInfo_var);
EventDelegate__ctor_m3273798607(L_4, __this, L_3, /*hidden argument*/NULL);
// eventExecutor.OnPointerClick += OnPointerClickHandler;
NullCheck(L_2);
GvrEventExecutor_add_OnPointerClick_m1198177349(L_2, L_4, /*hidden argument*/NULL);
// eventExecutor.OnPointerDown += OnPointerDownHandler;
GvrEventExecutor_t1694572606 * L_5 = V_0;
IntPtr_t L_6;
L_6.set_m_value_0((void*)(void*)GvrAllEventsTrigger_OnPointerDownHandler_m4092136378_MethodInfo_var);
EventDelegate_t3945253882 * L_7 = (EventDelegate_t3945253882 *)il2cpp_codegen_object_new(EventDelegate_t3945253882_il2cpp_TypeInfo_var);
EventDelegate__ctor_m3273798607(L_7, __this, L_6, /*hidden argument*/NULL);
// eventExecutor.OnPointerDown += OnPointerDownHandler;
NullCheck(L_5);
GvrEventExecutor_add_OnPointerDown_m1233984057(L_5, L_7, /*hidden argument*/NULL);
// eventExecutor.OnPointerUp += OnPointerUpHandler;
GvrEventExecutor_t1694572606 * L_8 = V_0;
IntPtr_t L_9;
L_9.set_m_value_0((void*)(void*)GvrAllEventsTrigger_OnPointerUpHandler_m1281472661_MethodInfo_var);
EventDelegate_t3945253882 * L_10 = (EventDelegate_t3945253882 *)il2cpp_codegen_object_new(EventDelegate_t3945253882_il2cpp_TypeInfo_var);
EventDelegate__ctor_m3273798607(L_10, __this, L_9, /*hidden argument*/NULL);
// eventExecutor.OnPointerUp += OnPointerUpHandler;
NullCheck(L_8);
GvrEventExecutor_add_OnPointerUp_m660640020(L_8, L_10, /*hidden argument*/NULL);
// eventExecutor.OnPointerEnter += OnPointerEnterHandler;
GvrEventExecutor_t1694572606 * L_11 = V_0;
IntPtr_t L_12;
L_12.set_m_value_0((void*)(void*)GvrAllEventsTrigger_OnPointerEnterHandler_m1882259142_MethodInfo_var);
EventDelegate_t3945253882 * L_13 = (EventDelegate_t3945253882 *)il2cpp_codegen_object_new(EventDelegate_t3945253882_il2cpp_TypeInfo_var);
EventDelegate__ctor_m3273798607(L_13, __this, L_12, /*hidden argument*/NULL);
// eventExecutor.OnPointerEnter += OnPointerEnterHandler;
NullCheck(L_11);
GvrEventExecutor_add_OnPointerEnter_m2032707251(L_11, L_13, /*hidden argument*/NULL);
// eventExecutor.OnPointerExit += OnPointerExitHandler;
GvrEventExecutor_t1694572606 * L_14 = V_0;
IntPtr_t L_15;
L_15.set_m_value_0((void*)(void*)GvrAllEventsTrigger_OnPointerExitHandler_m2862750938_MethodInfo_var);
EventDelegate_t3945253882 * L_16 = (EventDelegate_t3945253882 *)il2cpp_codegen_object_new(EventDelegate_t3945253882_il2cpp_TypeInfo_var);
EventDelegate__ctor_m3273798607(L_16, __this, L_15, /*hidden argument*/NULL);
// eventExecutor.OnPointerExit += OnPointerExitHandler;
NullCheck(L_14);
GvrEventExecutor_add_OnPointerExit_m1578911603(L_14, L_16, /*hidden argument*/NULL);
}
IL_006d:
{
// }
return;
}
}
// System.Void GvrAllEventsTrigger::RemoveListeners()
extern "C" void GvrAllEventsTrigger_RemoveListeners_m2257695873 (GvrAllEventsTrigger_t2022443331 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAllEventsTrigger_RemoveListeners_m2257695873_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GvrEventExecutor_t1694572606 * V_0 = NULL;
{
// GvrEventExecutor eventExecutor = GvrPointerInputModule.FindEventExecutor();
GvrEventExecutor_t1694572606 * L_0 = GvrPointerInputModule_FindEventExecutor_m4246510852(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = L_0;
// if (eventExecutor == null) {
GvrEventExecutor_t1694572606 * L_1 = V_0;
if (L_1)
{
goto IL_0013;
}
}
{
// return;
goto IL_006d;
}
IL_0013:
{
// eventExecutor.OnPointerClick -= OnPointerClickHandler;
GvrEventExecutor_t1694572606 * L_2 = V_0;
IntPtr_t L_3;
L_3.set_m_value_0((void*)(void*)GvrAllEventsTrigger_OnPointerClickHandler_m2667250324_MethodInfo_var);
EventDelegate_t3945253882 * L_4 = (EventDelegate_t3945253882 *)il2cpp_codegen_object_new(EventDelegate_t3945253882_il2cpp_TypeInfo_var);
EventDelegate__ctor_m3273798607(L_4, __this, L_3, /*hidden argument*/NULL);
// eventExecutor.OnPointerClick -= OnPointerClickHandler;
NullCheck(L_2);
GvrEventExecutor_remove_OnPointerClick_m939562200(L_2, L_4, /*hidden argument*/NULL);
// eventExecutor.OnPointerDown -= OnPointerDownHandler;
GvrEventExecutor_t1694572606 * L_5 = V_0;
IntPtr_t L_6;
L_6.set_m_value_0((void*)(void*)GvrAllEventsTrigger_OnPointerDownHandler_m4092136378_MethodInfo_var);
EventDelegate_t3945253882 * L_7 = (EventDelegate_t3945253882 *)il2cpp_codegen_object_new(EventDelegate_t3945253882_il2cpp_TypeInfo_var);
EventDelegate__ctor_m3273798607(L_7, __this, L_6, /*hidden argument*/NULL);
// eventExecutor.OnPointerDown -= OnPointerDownHandler;
NullCheck(L_5);
GvrEventExecutor_remove_OnPointerDown_m1848242710(L_5, L_7, /*hidden argument*/NULL);
// eventExecutor.OnPointerUp -= OnPointerUpHandler;
GvrEventExecutor_t1694572606 * L_8 = V_0;
IntPtr_t L_9;
L_9.set_m_value_0((void*)(void*)GvrAllEventsTrigger_OnPointerUpHandler_m1281472661_MethodInfo_var);
EventDelegate_t3945253882 * L_10 = (EventDelegate_t3945253882 *)il2cpp_codegen_object_new(EventDelegate_t3945253882_il2cpp_TypeInfo_var);
EventDelegate__ctor_m3273798607(L_10, __this, L_9, /*hidden argument*/NULL);
// eventExecutor.OnPointerUp -= OnPointerUpHandler;
NullCheck(L_8);
GvrEventExecutor_remove_OnPointerUp_m958601577(L_8, L_10, /*hidden argument*/NULL);
// eventExecutor.OnPointerEnter -= OnPointerEnterHandler;
GvrEventExecutor_t1694572606 * L_11 = V_0;
IntPtr_t L_12;
L_12.set_m_value_0((void*)(void*)GvrAllEventsTrigger_OnPointerEnterHandler_m1882259142_MethodInfo_var);
EventDelegate_t3945253882 * L_13 = (EventDelegate_t3945253882 *)il2cpp_codegen_object_new(EventDelegate_t3945253882_il2cpp_TypeInfo_var);
EventDelegate__ctor_m3273798607(L_13, __this, L_12, /*hidden argument*/NULL);
// eventExecutor.OnPointerEnter -= OnPointerEnterHandler;
NullCheck(L_11);
GvrEventExecutor_remove_OnPointerEnter_m2069953994(L_11, L_13, /*hidden argument*/NULL);
// eventExecutor.OnPointerExit -= OnPointerExitHandler;
GvrEventExecutor_t1694572606 * L_14 = V_0;
IntPtr_t L_15;
L_15.set_m_value_0((void*)(void*)GvrAllEventsTrigger_OnPointerExitHandler_m2862750938_MethodInfo_var);
EventDelegate_t3945253882 * L_16 = (EventDelegate_t3945253882 *)il2cpp_codegen_object_new(EventDelegate_t3945253882_il2cpp_TypeInfo_var);
EventDelegate__ctor_m3273798607(L_16, __this, L_15, /*hidden argument*/NULL);
// eventExecutor.OnPointerExit -= OnPointerExitHandler;
NullCheck(L_14);
GvrEventExecutor_remove_OnPointerExit_m4137737118(L_14, L_16, /*hidden argument*/NULL);
}
IL_006d:
{
// }
return;
}
}
// System.Void GvrAllEventsTrigger::OnPointerClickHandler(UnityEngine.GameObject,UnityEngine.EventSystems.PointerEventData)
extern "C" void GvrAllEventsTrigger_OnPointerClickHandler_m2667250324 (GvrAllEventsTrigger_t2022443331 * __this, GameObject_t1756533147 * ___target0, PointerEventData_t1599784723 * ___eventData1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAllEventsTrigger_OnPointerClickHandler_m2667250324_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// OnPointerClick.Invoke(target, eventData);
TriggerEvent_t1749878144 * L_0 = __this->get_OnPointerClick_2();
GameObject_t1756533147 * L_1 = ___target0;
PointerEventData_t1599784723 * L_2 = ___eventData1;
// OnPointerClick.Invoke(target, eventData);
NullCheck(L_0);
UnityEvent_2_Invoke_m4284579419(L_0, L_1, L_2, /*hidden argument*/UnityEvent_2_Invoke_m4284579419_MethodInfo_var);
// }
return;
}
}
// System.Void GvrAllEventsTrigger::OnPointerDownHandler(UnityEngine.GameObject,UnityEngine.EventSystems.PointerEventData)
extern "C" void GvrAllEventsTrigger_OnPointerDownHandler_m4092136378 (GvrAllEventsTrigger_t2022443331 * __this, GameObject_t1756533147 * ___target0, PointerEventData_t1599784723 * ___eventData1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAllEventsTrigger_OnPointerDownHandler_m4092136378_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// OnPointerDown.Invoke(target, eventData);
TriggerEvent_t1749878144 * L_0 = __this->get_OnPointerDown_3();
GameObject_t1756533147 * L_1 = ___target0;
PointerEventData_t1599784723 * L_2 = ___eventData1;
// OnPointerDown.Invoke(target, eventData);
NullCheck(L_0);
UnityEvent_2_Invoke_m4284579419(L_0, L_1, L_2, /*hidden argument*/UnityEvent_2_Invoke_m4284579419_MethodInfo_var);
// }
return;
}
}
// System.Void GvrAllEventsTrigger::OnPointerUpHandler(UnityEngine.GameObject,UnityEngine.EventSystems.PointerEventData)
extern "C" void GvrAllEventsTrigger_OnPointerUpHandler_m1281472661 (GvrAllEventsTrigger_t2022443331 * __this, GameObject_t1756533147 * ___target0, PointerEventData_t1599784723 * ___eventData1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAllEventsTrigger_OnPointerUpHandler_m1281472661_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// OnPointerUp.Invoke(target, eventData);
TriggerEvent_t1749878144 * L_0 = __this->get_OnPointerUp_4();
GameObject_t1756533147 * L_1 = ___target0;
PointerEventData_t1599784723 * L_2 = ___eventData1;
// OnPointerUp.Invoke(target, eventData);
NullCheck(L_0);
UnityEvent_2_Invoke_m4284579419(L_0, L_1, L_2, /*hidden argument*/UnityEvent_2_Invoke_m4284579419_MethodInfo_var);
// }
return;
}
}
// System.Void GvrAllEventsTrigger::OnPointerEnterHandler(UnityEngine.GameObject,UnityEngine.EventSystems.PointerEventData)
extern "C" void GvrAllEventsTrigger_OnPointerEnterHandler_m1882259142 (GvrAllEventsTrigger_t2022443331 * __this, GameObject_t1756533147 * ___target0, PointerEventData_t1599784723 * ___eventData1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAllEventsTrigger_OnPointerEnterHandler_m1882259142_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// OnPointerEnter.Invoke(target, eventData);
TriggerEvent_t1749878144 * L_0 = __this->get_OnPointerEnter_5();
GameObject_t1756533147 * L_1 = ___target0;
PointerEventData_t1599784723 * L_2 = ___eventData1;
// OnPointerEnter.Invoke(target, eventData);
NullCheck(L_0);
UnityEvent_2_Invoke_m4284579419(L_0, L_1, L_2, /*hidden argument*/UnityEvent_2_Invoke_m4284579419_MethodInfo_var);
// }
return;
}
}
// System.Void GvrAllEventsTrigger::OnPointerExitHandler(UnityEngine.GameObject,UnityEngine.EventSystems.PointerEventData)
extern "C" void GvrAllEventsTrigger_OnPointerExitHandler_m2862750938 (GvrAllEventsTrigger_t2022443331 * __this, GameObject_t1756533147 * ___target0, PointerEventData_t1599784723 * ___eventData1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAllEventsTrigger_OnPointerExitHandler_m2862750938_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// OnPointerExit.Invoke(target, eventData);
TriggerEvent_t1749878144 * L_0 = __this->get_OnPointerExit_6();
GameObject_t1756533147 * L_1 = ___target0;
PointerEventData_t1599784723 * L_2 = ___eventData1;
// OnPointerExit.Invoke(target, eventData);
NullCheck(L_0);
UnityEvent_2_Invoke_m4284579419(L_0, L_1, L_2, /*hidden argument*/UnityEvent_2_Invoke_m4284579419_MethodInfo_var);
// }
return;
}
}
// System.Void GvrAllEventsTrigger/<AddListenersDelayed>c__Iterator0::.ctor()
extern "C" void U3CAddListenersDelayedU3Ec__Iterator0__ctor_m395659742 (U3CAddListenersDelayedU3Ec__Iterator0_t1446988883 * __this, const MethodInfo* method)
{
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
return;
}
}
// System.Boolean GvrAllEventsTrigger/<AddListenersDelayed>c__Iterator0::MoveNext()
extern "C" bool U3CAddListenersDelayedU3Ec__Iterator0_MoveNext_m3647973994 (U3CAddListenersDelayedU3Ec__Iterator0_t1446988883 * __this, const MethodInfo* method)
{
uint32_t V_0 = 0;
{
int32_t L_0 = __this->get_U24PC_3();
V_0 = L_0;
__this->set_U24PC_3((-1));
uint32_t L_1 = V_0;
switch (L_1)
{
case 0:
{
goto IL_0021;
}
case 1:
{
goto IL_003d;
}
}
}
{
goto IL_004f;
}
IL_0021:
{
// yield return null;
__this->set_U24current_1(NULL);
bool L_2 = __this->get_U24disposing_2();
if (L_2)
{
goto IL_0038;
}
}
{
__this->set_U24PC_3(1);
}
IL_0038:
{
goto IL_0051;
}
IL_003d:
{
// AddListeners();
GvrAllEventsTrigger_t2022443331 * L_3 = __this->get_U24this_0();
// AddListeners();
NullCheck(L_3);
GvrAllEventsTrigger_AddListeners_m1410664328(L_3, /*hidden argument*/NULL);
// }
__this->set_U24PC_3((-1));
}
IL_004f:
{
return (bool)0;
}
IL_0051:
{
return (bool)1;
}
}
// System.Object GvrAllEventsTrigger/<AddListenersDelayed>c__Iterator0::System.Collections.Generic.IEnumerator<object>.get_Current()
extern "C" Il2CppObject * U3CAddListenersDelayedU3Ec__Iterator0_System_Collections_Generic_IEnumeratorU3CobjectU3E_get_Current_m4254442724 (U3CAddListenersDelayedU3Ec__Iterator0_t1446988883 * __this, const MethodInfo* method)
{
Il2CppObject * V_0 = NULL;
{
Il2CppObject * L_0 = __this->get_U24current_1();
V_0 = L_0;
goto IL_000c;
}
IL_000c:
{
Il2CppObject * L_1 = V_0;
return L_1;
}
}
// System.Object GvrAllEventsTrigger/<AddListenersDelayed>c__Iterator0::System.Collections.IEnumerator.get_Current()
extern "C" Il2CppObject * U3CAddListenersDelayedU3Ec__Iterator0_System_Collections_IEnumerator_get_Current_m2052187980 (U3CAddListenersDelayedU3Ec__Iterator0_t1446988883 * __this, const MethodInfo* method)
{
Il2CppObject * V_0 = NULL;
{
Il2CppObject * L_0 = __this->get_U24current_1();
V_0 = L_0;
goto IL_000c;
}
IL_000c:
{
Il2CppObject * L_1 = V_0;
return L_1;
}
}
// System.Void GvrAllEventsTrigger/<AddListenersDelayed>c__Iterator0::Dispose()
extern "C" void U3CAddListenersDelayedU3Ec__Iterator0_Dispose_m1749611653 (U3CAddListenersDelayedU3Ec__Iterator0_t1446988883 * __this, const MethodInfo* method)
{
{
__this->set_U24disposing_2((bool)1);
__this->set_U24PC_3((-1));
return;
}
}
// System.Void GvrAllEventsTrigger/<AddListenersDelayed>c__Iterator0::Reset()
extern "C" void U3CAddListenersDelayedU3Ec__Iterator0_Reset_m1111492947 (U3CAddListenersDelayedU3Ec__Iterator0_t1446988883 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CAddListenersDelayedU3Ec__Iterator0_Reset_m1111492947_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 GvrAllEventsTrigger/TriggerEvent::.ctor()
extern "C" void TriggerEvent__ctor_m1797572253 (TriggerEvent_t1749878144 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TriggerEvent__ctor_m1797572253_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
UnityEvent_2__ctor_m966466254(__this, /*hidden argument*/UnityEvent_2__ctor_m966466254_MethodInfo_var);
return;
}
}
// System.Void GvrArmModel::.ctor()
extern "C" void GvrArmModel__ctor_m1809788965 (GvrArmModel_t1664224602 * __this, const MethodInfo* method)
{
{
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void GvrArmModelOffsets::.ctor()
extern "C" void GvrArmModelOffsets__ctor_m2306009619 (GvrArmModelOffsets_t2241056642 * __this, const MethodInfo* method)
{
{
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// System.Int32 GvrAudio::get_SampleRate()
extern "C" int32_t GvrAudio_get_SampleRate_m3725406845 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudio_get_SampleRate_m3725406845_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
// get { return sampleRate; }
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
int32_t L_0 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_sampleRate_0();
V_0 = L_0;
goto IL_000c;
}
IL_000c:
{
// get { return sampleRate; }
int32_t L_1 = V_0;
return L_1;
}
}
// System.Int32 GvrAudio::get_NumChannels()
extern "C" int32_t GvrAudio_get_NumChannels_m462395491 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudio_get_NumChannels_m462395491_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
// get { return numChannels; }
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
int32_t L_0 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_numChannels_1();
V_0 = L_0;
goto IL_000c;
}
IL_000c:
{
// get { return numChannels; }
int32_t L_1 = V_0;
return L_1;
}
}
// System.Int32 GvrAudio::get_FramesPerBuffer()
extern "C" int32_t GvrAudio_get_FramesPerBuffer_m1101848786 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudio_get_FramesPerBuffer_m1101848786_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
// get { return framesPerBuffer; }
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
int32_t L_0 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_framesPerBuffer_2();
V_0 = L_0;
goto IL_000c;
}
IL_000c:
{
// get { return framesPerBuffer; }
int32_t L_1 = V_0;
return L_1;
}
}
// System.Void GvrAudio::Initialize(GvrAudioListener,GvrAudio/Quality)
extern "C" void GvrAudio_Initialize_m2739768702 (Il2CppObject * __this /* static, unused */, GvrAudioListener_t1521766837 * ___listener0, int32_t ___quality1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudio_Initialize_m2739768702_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
AudioConfiguration_t2879378008 V_0;
memset(&V_0, 0, sizeof(V_0));
{
// if (!initialized) {
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
bool L_0 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_initialized_19();
if (L_0)
{
goto IL_007d;
}
}
{
// AudioConfiguration config = AudioSettings.GetConfiguration();
AudioConfiguration_t2879378008 L_1 = AudioSettings_GetConfiguration_m1393045148(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = L_1;
// sampleRate = config.sampleRate;
int32_t L_2 = (&V_0)->get_sampleRate_2();
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->set_sampleRate_0(L_2);
// numChannels = (int)config.speakerMode;
int32_t L_3 = (&V_0)->get_speakerMode_0();
((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->set_numChannels_1(L_3);
// framesPerBuffer = config.dspBufferSize;
int32_t L_4 = (&V_0)->get_dspBufferSize_1();
((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->set_framesPerBuffer_2(L_4);
// if (numChannels != (int)AudioSpeakerMode.Stereo) {
int32_t L_5 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_numChannels_1();
if ((((int32_t)L_5) == ((int32_t)2)))
{
goto IL_0051;
}
}
{
// Debug.LogError("Only 'Stereo' speaker mode is supported by GVR Audio.");
// Debug.LogError("Only 'Stereo' speaker mode is supported by GVR Audio.");
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_LogError_m3715728798(NULL /*static, unused*/, _stringLiteral1298616568, /*hidden argument*/NULL);
// return;
goto IL_00a4;
}
IL_0051:
{
// Initialize((int) quality, sampleRate, numChannels, framesPerBuffer);
int32_t L_6 = ___quality1;
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
int32_t L_7 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_sampleRate_0();
int32_t L_8 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_numChannels_1();
int32_t L_9 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_framesPerBuffer_2();
// Initialize((int) quality, sampleRate, numChannels, framesPerBuffer);
GvrAudio_Initialize_m2441973946(NULL /*static, unused*/, L_6, L_7, L_8, L_9, /*hidden argument*/NULL);
// listenerTransform = listener.transform;
GvrAudioListener_t1521766837 * L_10 = ___listener0;
// listenerTransform = listener.transform;
NullCheck(L_10);
Transform_t3275118058 * L_11 = Component_get_transform_m2697483695(L_10, /*hidden argument*/NULL);
((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->set_listenerTransform_20(L_11);
// initialized = true;
((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->set_initialized_19((bool)1);
goto IL_00a4;
}
IL_007d:
{
// } else if (listener.transform != listenerTransform) {
GvrAudioListener_t1521766837 * L_12 = ___listener0;
// } else if (listener.transform != listenerTransform) {
NullCheck(L_12);
Transform_t3275118058 * L_13 = Component_get_transform_m2697483695(L_12, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
Transform_t3275118058 * L_14 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_listenerTransform_20();
// } else if (listener.transform != listenerTransform) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_15 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_13, L_14, /*hidden argument*/NULL);
if (!L_15)
{
goto IL_00a4;
}
}
{
// Debug.LogError("Only one GvrAudioListener component is allowed in the scene.");
// Debug.LogError("Only one GvrAudioListener component is allowed in the scene.");
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_LogError_m3715728798(NULL /*static, unused*/, _stringLiteral3640508444, /*hidden argument*/NULL);
// GvrAudioListener.Destroy(listener);
GvrAudioListener_t1521766837 * L_16 = ___listener0;
// GvrAudioListener.Destroy(listener);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
Object_Destroy_m4145850038(NULL /*static, unused*/, L_16, /*hidden argument*/NULL);
}
IL_00a4:
{
// }
return;
}
}
// System.Void GvrAudio::Shutdown(GvrAudioListener)
extern "C" void GvrAudio_Shutdown_m2838331605 (Il2CppObject * __this /* static, unused */, GvrAudioListener_t1521766837 * ___listener0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudio_Shutdown_m2838331605_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (initialized && listener.transform == listenerTransform) {
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
bool L_0 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_initialized_19();
if (!L_0)
{
goto IL_0045;
}
}
{
GvrAudioListener_t1521766837 * L_1 = ___listener0;
// if (initialized && listener.transform == listenerTransform) {
NullCheck(L_1);
Transform_t3275118058 * L_2 = Component_get_transform_m2697483695(L_1, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
Transform_t3275118058 * L_3 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_listenerTransform_20();
// if (initialized && listener.transform == listenerTransform) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_4 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_2, L_3, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_0045;
}
}
{
// initialized = false;
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->set_initialized_19((bool)0);
// Shutdown();
GvrAudio_Shutdown_m3814448932(NULL /*static, unused*/, /*hidden argument*/NULL);
// sampleRate = -1;
((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->set_sampleRate_0((-1));
// numChannels = -1;
((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->set_numChannels_1((-1));
// framesPerBuffer = -1;
((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->set_framesPerBuffer_2((-1));
// listenerTransform = null;
((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->set_listenerTransform_20((Transform_t3275118058 *)NULL);
}
IL_0045:
{
// }
return;
}
}
// System.Void GvrAudio::UpdateAudioListener(System.Single,UnityEngine.LayerMask)
extern "C" void GvrAudio_UpdateAudioListener_m3370947442 (Il2CppObject * __this /* static, unused */, float ___globalGainDb0, LayerMask_t3188175821 ___occlusionMask1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudio_UpdateAudioListener_m3370947442_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (initialized) {
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
bool L_0 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_initialized_19();
if (!L_0)
{
goto IL_0024;
}
}
{
// occlusionMaskValue = occlusionMask.value;
// occlusionMaskValue = occlusionMask.value;
int32_t L_1 = LayerMask_get_value_m251765876((&___occlusionMask1), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->set_occlusionMaskValue_22(L_1);
// SetListenerGain(ConvertAmplitudeFromDb(globalGainDb));
float L_2 = ___globalGainDb0;
// SetListenerGain(ConvertAmplitudeFromDb(globalGainDb));
float L_3 = GvrAudio_ConvertAmplitudeFromDb_m525493451(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
// SetListenerGain(ConvertAmplitudeFromDb(globalGainDb));
GvrAudio_SetListenerGain_m1924947456(NULL /*static, unused*/, L_3, /*hidden argument*/NULL);
}
IL_0024:
{
// }
return;
}
}
// System.Int32 GvrAudio::CreateAudioSoundfield()
extern "C" int32_t GvrAudio_CreateAudioSoundfield_m1783995047 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudio_CreateAudioSoundfield_m1783995047_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
// int soundfieldId = -1;
V_0 = (-1);
// if (initialized) {
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
bool L_0 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_initialized_19();
if (!L_0)
{
goto IL_0016;
}
}
{
// soundfieldId = CreateSoundfield(numFoaChannels);
// soundfieldId = CreateSoundfield(numFoaChannels);
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
int32_t L_1 = GvrAudio_CreateSoundfield_m278242392(NULL /*static, unused*/, 4, /*hidden argument*/NULL);
V_0 = L_1;
}
IL_0016:
{
// return soundfieldId;
int32_t L_2 = V_0;
V_1 = L_2;
goto IL_001d;
}
IL_001d:
{
// }
int32_t L_3 = V_1;
return L_3;
}
}
// System.Void GvrAudio::UpdateAudioSoundfield(System.Int32,GvrAudioSoundfield)
extern "C" void GvrAudio_UpdateAudioSoundfield_m2589129101 (Il2CppObject * __this /* static, unused */, int32_t ___id0, GvrAudioSoundfield_t1301118448 * ___soundfield1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudio_UpdateAudioSoundfield_m2589129101_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (initialized) {
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
bool L_0 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_initialized_19();
if (!L_0)
{
goto IL_0019;
}
}
{
// SetSourceBypassRoomEffects(id, soundfield.bypassRoomEffects);
int32_t L_1 = ___id0;
GvrAudioSoundfield_t1301118448 * L_2 = ___soundfield1;
NullCheck(L_2);
bool L_3 = L_2->get_bypassRoomEffects_2();
// SetSourceBypassRoomEffects(id, soundfield.bypassRoomEffects);
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
GvrAudio_SetSourceBypassRoomEffects_m1691460578(NULL /*static, unused*/, L_1, L_3, /*hidden argument*/NULL);
}
IL_0019:
{
// }
return;
}
}
// System.Int32 GvrAudio::CreateAudioSource(System.Boolean)
extern "C" int32_t GvrAudio_CreateAudioSource_m1984649488 (Il2CppObject * __this /* static, unused */, bool ___hrtfEnabled0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudio_CreateAudioSource_m1984649488_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
// int sourceId = -1;
V_0 = (-1);
// if (initialized) {
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
bool L_0 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_initialized_19();
if (!L_0)
{
goto IL_0016;
}
}
{
// sourceId = CreateSoundObject(hrtfEnabled);
bool L_1 = ___hrtfEnabled0;
// sourceId = CreateSoundObject(hrtfEnabled);
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
int32_t L_2 = GvrAudio_CreateSoundObject_m1329629085(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
V_0 = L_2;
}
IL_0016:
{
// return sourceId;
int32_t L_3 = V_0;
V_1 = L_3;
goto IL_001d;
}
IL_001d:
{
// }
int32_t L_4 = V_1;
return L_4;
}
}
// System.Void GvrAudio::DestroyAudioSource(System.Int32)
extern "C" void GvrAudio_DestroyAudioSource_m801182782 (Il2CppObject * __this /* static, unused */, int32_t ___id0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudio_DestroyAudioSource_m801182782_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (initialized) {
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
bool L_0 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_initialized_19();
if (!L_0)
{
goto IL_0013;
}
}
{
// DestroySource(id);
int32_t L_1 = ___id0;
// DestroySource(id);
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
GvrAudio_DestroySource_m2875741446(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
}
IL_0013:
{
// }
return;
}
}
// System.Void GvrAudio::UpdateAudioSource(System.Int32,GvrAudioSource,System.Single)
extern "C" void GvrAudio_UpdateAudioSource_m1447747246 (Il2CppObject * __this /* static, unused */, int32_t ___id0, GvrAudioSource_t2307460312 * ___source1, float ___currentOcclusion2, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudio_UpdateAudioSource_m1447747246_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (initialized) {
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
bool L_0 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_initialized_19();
if (!L_0)
{
goto IL_0044;
}
}
{
// SetSourceBypassRoomEffects(id, source.bypassRoomEffects);
int32_t L_1 = ___id0;
GvrAudioSource_t2307460312 * L_2 = ___source1;
NullCheck(L_2);
bool L_3 = L_2->get_bypassRoomEffects_2();
// SetSourceBypassRoomEffects(id, source.bypassRoomEffects);
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
GvrAudio_SetSourceBypassRoomEffects_m1691460578(NULL /*static, unused*/, L_1, L_3, /*hidden argument*/NULL);
// SetSourceDirectivity(id, source.directivityAlpha, source.directivitySharpness);
int32_t L_4 = ___id0;
GvrAudioSource_t2307460312 * L_5 = ___source1;
NullCheck(L_5);
float L_6 = L_5->get_directivityAlpha_3();
GvrAudioSource_t2307460312 * L_7 = ___source1;
NullCheck(L_7);
float L_8 = L_7->get_directivitySharpness_4();
// SetSourceDirectivity(id, source.directivityAlpha, source.directivitySharpness);
GvrAudio_SetSourceDirectivity_m2025518334(NULL /*static, unused*/, L_4, L_6, L_8, /*hidden argument*/NULL);
// SetSourceListenerDirectivity(id, source.listenerDirectivityAlpha,
int32_t L_9 = ___id0;
GvrAudioSource_t2307460312 * L_10 = ___source1;
NullCheck(L_10);
float L_11 = L_10->get_listenerDirectivityAlpha_5();
GvrAudioSource_t2307460312 * L_12 = ___source1;
NullCheck(L_12);
float L_13 = L_12->get_listenerDirectivitySharpness_6();
// SetSourceListenerDirectivity(id, source.listenerDirectivityAlpha,
GvrAudio_SetSourceListenerDirectivity_m1770884030(NULL /*static, unused*/, L_9, L_11, L_13, /*hidden argument*/NULL);
// SetSourceOcclusionIntensity(id, currentOcclusion);
int32_t L_14 = ___id0;
float L_15 = ___currentOcclusion2;
// SetSourceOcclusionIntensity(id, currentOcclusion);
GvrAudio_SetSourceOcclusionIntensity_m2889416367(NULL /*static, unused*/, L_14, L_15, /*hidden argument*/NULL);
}
IL_0044:
{
// }
return;
}
}
// System.Void GvrAudio::UpdateAudioRoom(GvrAudioRoom,System.Boolean)
extern "C" void GvrAudio_UpdateAudioRoom_m3179955199 (Il2CppObject * __this /* static, unused */, GvrAudioRoom_t1253442178 * ___room0, bool ___roomEnabled1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudio_UpdateAudioRoom_m3179955199_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GvrAudioRoom_t1253442178 * V_0 = NULL;
RoomProperties_t2834448096 V_1;
memset(&V_1, 0, sizeof(V_1));
IntPtr_t V_2;
memset(&V_2, 0, sizeof(V_2));
{
// if (roomEnabled) {
bool L_0 = ___roomEnabled1;
if (!L_0)
{
goto IL_002b;
}
}
{
// if (!enabledRooms.Contains(room)) {
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
List_1_t622563310 * L_1 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_enabledRooms_18();
GvrAudioRoom_t1253442178 * L_2 = ___room0;
// if (!enabledRooms.Contains(room)) {
NullCheck(L_1);
bool L_3 = List_1_Contains_m2962896065(L_1, L_2, /*hidden argument*/List_1_Contains_m2962896065_MethodInfo_var);
if (L_3)
{
goto IL_0025;
}
}
{
// enabledRooms.Add(room);
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
List_1_t622563310 * L_4 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_enabledRooms_18();
GvrAudioRoom_t1253442178 * L_5 = ___room0;
// enabledRooms.Add(room);
NullCheck(L_4);
List_1_Add_m2248878531(L_4, L_5, /*hidden argument*/List_1_Add_m2248878531_MethodInfo_var);
}
IL_0025:
{
goto IL_0039;
}
IL_002b:
{
// enabledRooms.Remove(room);
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
List_1_t622563310 * L_6 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_enabledRooms_18();
GvrAudioRoom_t1253442178 * L_7 = ___room0;
// enabledRooms.Remove(room);
NullCheck(L_6);
List_1_Remove_m997653976(L_6, L_7, /*hidden argument*/List_1_Remove_m997653976_MethodInfo_var);
}
IL_0039:
{
// if(initialized) {
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
bool L_8 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_initialized_19();
if (!L_8)
{
goto IL_00b0;
}
}
{
// if (enabledRooms.Count > 0) {
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
List_1_t622563310 * L_9 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_enabledRooms_18();
// if (enabledRooms.Count > 0) {
NullCheck(L_9);
int32_t L_10 = List_1_get_Count_m1747142799(L_9, /*hidden argument*/List_1_get_Count_m1747142799_MethodInfo_var);
if ((((int32_t)L_10) <= ((int32_t)0)))
{
goto IL_00a3;
}
}
{
// GvrAudioRoom currentRoom = enabledRooms[enabledRooms.Count - 1];
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
List_1_t622563310 * L_11 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_enabledRooms_18();
List_1_t622563310 * L_12 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_enabledRooms_18();
// GvrAudioRoom currentRoom = enabledRooms[enabledRooms.Count - 1];
NullCheck(L_12);
int32_t L_13 = List_1_get_Count_m1747142799(L_12, /*hidden argument*/List_1_get_Count_m1747142799_MethodInfo_var);
// GvrAudioRoom currentRoom = enabledRooms[enabledRooms.Count - 1];
NullCheck(L_11);
GvrAudioRoom_t1253442178 * L_14 = List_1_get_Item_m2588615602(L_11, ((int32_t)((int32_t)L_13-(int32_t)1)), /*hidden argument*/List_1_get_Item_m2588615602_MethodInfo_var);
V_0 = L_14;
// RoomProperties roomProperties = GetRoomProperties(currentRoom);
GvrAudioRoom_t1253442178 * L_15 = V_0;
// RoomProperties roomProperties = GetRoomProperties(currentRoom);
RoomProperties_t2834448096 L_16 = GvrAudio_GetRoomProperties_m1029902467(NULL /*static, unused*/, L_15, /*hidden argument*/NULL);
V_1 = L_16;
// IntPtr roomPropertiesPtr = Marshal.AllocHGlobal(Marshal.SizeOf(roomProperties));
RoomProperties_t2834448096 L_17 = V_1;
RoomProperties_t2834448096 L_18 = L_17;
Il2CppObject * L_19 = Box(RoomProperties_t2834448096_il2cpp_TypeInfo_var, &L_18);
// IntPtr roomPropertiesPtr = Marshal.AllocHGlobal(Marshal.SizeOf(roomProperties));
IL2CPP_RUNTIME_CLASS_INIT(Marshal_t785896760_il2cpp_TypeInfo_var);
int32_t L_20 = Marshal_SizeOf_m2032740146(NULL /*static, unused*/, L_19, /*hidden argument*/NULL);
// IntPtr roomPropertiesPtr = Marshal.AllocHGlobal(Marshal.SizeOf(roomProperties));
IntPtr_t L_21 = Marshal_AllocHGlobal_m4258042074(NULL /*static, unused*/, L_20, /*hidden argument*/NULL);
V_2 = L_21;
// Marshal.StructureToPtr(roomProperties, roomPropertiesPtr, false);
RoomProperties_t2834448096 L_22 = V_1;
RoomProperties_t2834448096 L_23 = L_22;
Il2CppObject * L_24 = Box(RoomProperties_t2834448096_il2cpp_TypeInfo_var, &L_23);
IntPtr_t L_25 = V_2;
// Marshal.StructureToPtr(roomProperties, roomPropertiesPtr, false);
Marshal_StructureToPtr_m3205507777(NULL /*static, unused*/, L_24, L_25, (bool)0, /*hidden argument*/NULL);
// SetRoomProperties(roomPropertiesPtr);
IntPtr_t L_26 = V_2;
// SetRoomProperties(roomPropertiesPtr);
GvrAudio_SetRoomProperties_m2331769136(NULL /*static, unused*/, L_26, /*hidden argument*/NULL);
// Marshal.FreeHGlobal(roomPropertiesPtr);
IntPtr_t L_27 = V_2;
// Marshal.FreeHGlobal(roomPropertiesPtr);
Marshal_FreeHGlobal_m2238467479(NULL /*static, unused*/, L_27, /*hidden argument*/NULL);
goto IL_00af;
}
IL_00a3:
{
// SetRoomProperties(IntPtr.Zero);
IntPtr_t L_28 = ((IntPtr_t_StaticFields*)IntPtr_t_il2cpp_TypeInfo_var->static_fields)->get_Zero_1();
// SetRoomProperties(IntPtr.Zero);
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
GvrAudio_SetRoomProperties_m2331769136(NULL /*static, unused*/, L_28, /*hidden argument*/NULL);
}
IL_00af:
{
}
IL_00b0:
{
// }
return;
}
}
// System.Single GvrAudio::ComputeOcclusion(UnityEngine.Transform)
extern "C" float GvrAudio_ComputeOcclusion_m400996319 (Il2CppObject * __this /* static, unused */, Transform_t3275118058 * ___sourceTransform0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudio_ComputeOcclusion_m400996319_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
Vector3_t2243707580 V_1;
memset(&V_1, 0, sizeof(V_1));
Vector3_t2243707580 V_2;
memset(&V_2, 0, sizeof(V_2));
int32_t V_3 = 0;
int32_t V_4 = 0;
float V_5 = 0.0f;
{
// float occlusion = 0.0f;
V_0 = (0.0f);
// if (initialized) {
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
bool L_0 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_initialized_19();
if (!L_0)
{
goto IL_00a2;
}
}
{
// Vector3 listenerPosition = listenerTransform.position;
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
Transform_t3275118058 * L_1 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_listenerTransform_20();
// Vector3 listenerPosition = listenerTransform.position;
NullCheck(L_1);
Vector3_t2243707580 L_2 = Transform_get_position_m1104419803(L_1, /*hidden argument*/NULL);
V_1 = L_2;
// Vector3 sourceFromListener = sourceTransform.position - listenerPosition;
Transform_t3275118058 * L_3 = ___sourceTransform0;
// Vector3 sourceFromListener = sourceTransform.position - listenerPosition;
NullCheck(L_3);
Vector3_t2243707580 L_4 = Transform_get_position_m1104419803(L_3, /*hidden argument*/NULL);
Vector3_t2243707580 L_5 = V_1;
// Vector3 sourceFromListener = sourceTransform.position - listenerPosition;
Vector3_t2243707580 L_6 = Vector3_op_Subtraction_m2407545601(NULL /*static, unused*/, L_4, L_5, /*hidden argument*/NULL);
V_2 = L_6;
// int numHits = Physics.RaycastNonAlloc(listenerPosition, sourceFromListener, occlusionHits,
Vector3_t2243707580 L_7 = V_1;
Vector3_t2243707580 L_8 = V_2;
RaycastHitU5BU5D_t1214023521* L_9 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_occlusionHits_21();
// sourceFromListener.magnitude, occlusionMaskValue);
float L_10 = Vector3_get_magnitude_m860342598((&V_2), /*hidden argument*/NULL);
int32_t L_11 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_occlusionMaskValue_22();
// int numHits = Physics.RaycastNonAlloc(listenerPosition, sourceFromListener, occlusionHits,
int32_t L_12 = Physics_RaycastNonAlloc_m1598920982(NULL /*static, unused*/, L_7, L_8, L_9, L_10, L_11, /*hidden argument*/NULL);
V_3 = L_12;
// for (int i = 0; i < numHits; ++i) {
V_4 = 0;
goto IL_0099;
}
IL_004b:
{
// if (occlusionHits[i].transform != listenerTransform &&
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
RaycastHitU5BU5D_t1214023521* L_13 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_occlusionHits_21();
int32_t L_14 = V_4;
NullCheck(L_13);
// if (occlusionHits[i].transform != listenerTransform &&
Transform_t3275118058 * L_15 = RaycastHit_get_transform_m3290290036(((L_13)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_14))), /*hidden argument*/NULL);
Transform_t3275118058 * L_16 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_listenerTransform_20();
// if (occlusionHits[i].transform != listenerTransform &&
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_17 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_15, L_16, /*hidden argument*/NULL);
if (!L_17)
{
goto IL_0092;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
RaycastHitU5BU5D_t1214023521* L_18 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_occlusionHits_21();
int32_t L_19 = V_4;
NullCheck(L_18);
// occlusionHits[i].transform != sourceTransform) {
Transform_t3275118058 * L_20 = RaycastHit_get_transform_m3290290036(((L_18)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_19))), /*hidden argument*/NULL);
Transform_t3275118058 * L_21 = ___sourceTransform0;
// occlusionHits[i].transform != sourceTransform) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_22 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_20, L_21, /*hidden argument*/NULL);
if (!L_22)
{
goto IL_0092;
}
}
{
// occlusion += 1.0f;
float L_23 = V_0;
V_0 = ((float)((float)L_23+(float)(1.0f)));
}
IL_0092:
{
// for (int i = 0; i < numHits; ++i) {
int32_t L_24 = V_4;
V_4 = ((int32_t)((int32_t)L_24+(int32_t)1));
}
IL_0099:
{
// for (int i = 0; i < numHits; ++i) {
int32_t L_25 = V_4;
int32_t L_26 = V_3;
if ((((int32_t)L_25) < ((int32_t)L_26)))
{
goto IL_004b;
}
}
{
}
IL_00a2:
{
// return occlusion;
float L_27 = V_0;
V_5 = L_27;
goto IL_00aa;
}
IL_00aa:
{
// }
float L_28 = V_5;
return L_28;
}
}
// System.Single GvrAudio::ConvertAmplitudeFromDb(System.Single)
extern "C" float GvrAudio_ConvertAmplitudeFromDb_m525493451 (Il2CppObject * __this /* static, unused */, float ___db0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudio_ConvertAmplitudeFromDb_m525493451_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
{
// return Mathf.Pow(10.0f, 0.05f * db);
float L_0 = ___db0;
// return Mathf.Pow(10.0f, 0.05f * db);
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_1 = powf((10.0f), ((float)((float)(0.05f)*(float)L_0)));
V_0 = L_1;
goto IL_0018;
}
IL_0018:
{
// }
float L_2 = V_0;
return L_2;
}
}
// UnityEngine.Vector2[] GvrAudio::Generate2dPolarPattern(System.Single,System.Single,System.Int32)
extern "C" Vector2U5BU5D_t686124026* GvrAudio_Generate2dPolarPattern_m4010778215 (Il2CppObject * __this /* static, unused */, float ___alpha0, float ___order1, int32_t ___resolution2, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudio_Generate2dPolarPattern_m4010778215_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Vector2U5BU5D_t686124026* V_0 = NULL;
float V_1 = 0.0f;
int32_t V_2 = 0;
float V_3 = 0.0f;
float V_4 = 0.0f;
Vector2U5BU5D_t686124026* V_5 = NULL;
{
// Vector2[] points = new Vector2[resolution];
int32_t L_0 = ___resolution2;
V_0 = ((Vector2U5BU5D_t686124026*)SZArrayNew(Vector2U5BU5D_t686124026_il2cpp_TypeInfo_var, (uint32_t)L_0));
// float interval = 2.0f * Mathf.PI / resolution;
int32_t L_1 = ___resolution2;
V_1 = ((float)((float)(6.28318548f)/(float)(((float)((float)L_1)))));
// for (int i = 0; i < resolution; ++i) {
V_2 = 0;
goto IL_0063;
}
IL_0018:
{
// float theta = i * interval;
int32_t L_2 = V_2;
float L_3 = V_1;
V_3 = ((float)((float)(((float)((float)L_2)))*(float)L_3));
// float r = Mathf.Pow(Mathf.Abs((1 - alpha) + alpha * Mathf.Cos(theta)), order);
float L_4 = ___alpha0;
float L_5 = ___alpha0;
float L_6 = V_3;
// float r = Mathf.Pow(Mathf.Abs((1 - alpha) + alpha * Mathf.Cos(theta)), order);
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_7 = cosf(L_6);
// float r = Mathf.Pow(Mathf.Abs((1 - alpha) + alpha * Mathf.Cos(theta)), order);
float L_8 = fabsf(((float)((float)((float)((float)(1.0f)-(float)L_4))+(float)((float)((float)L_5*(float)L_7)))));
float L_9 = ___order1;
// float r = Mathf.Pow(Mathf.Abs((1 - alpha) + alpha * Mathf.Cos(theta)), order);
float L_10 = powf(L_8, L_9);
V_4 = L_10;
// points[i] = new Vector2(r * Mathf.Sin(theta), r * Mathf.Cos(theta));
Vector2U5BU5D_t686124026* L_11 = V_0;
int32_t L_12 = V_2;
NullCheck(L_11);
float L_13 = V_4;
float L_14 = V_3;
// points[i] = new Vector2(r * Mathf.Sin(theta), r * Mathf.Cos(theta));
float L_15 = sinf(L_14);
float L_16 = V_4;
float L_17 = V_3;
// points[i] = new Vector2(r * Mathf.Sin(theta), r * Mathf.Cos(theta));
float L_18 = cosf(L_17);
// points[i] = new Vector2(r * Mathf.Sin(theta), r * Mathf.Cos(theta));
Vector2_t2243707579 L_19;
memset(&L_19, 0, sizeof(L_19));
Vector2__ctor_m3067419446(&L_19, ((float)((float)L_13*(float)L_15)), ((float)((float)L_16*(float)L_18)), /*hidden argument*/NULL);
(*(Vector2_t2243707579 *)((L_11)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_12)))) = L_19;
// for (int i = 0; i < resolution; ++i) {
int32_t L_20 = V_2;
V_2 = ((int32_t)((int32_t)L_20+(int32_t)1));
}
IL_0063:
{
// for (int i = 0; i < resolution; ++i) {
int32_t L_21 = V_2;
int32_t L_22 = ___resolution2;
if ((((int32_t)L_21) < ((int32_t)L_22)))
{
goto IL_0018;
}
}
{
// return points;
Vector2U5BU5D_t686124026* L_23 = V_0;
V_5 = L_23;
goto IL_0072;
}
IL_0072:
{
// }
Vector2U5BU5D_t686124026* L_24 = V_5;
return L_24;
}
}
// System.Boolean GvrAudio::IsListenerInsideRoom(GvrAudioRoom)
extern "C" bool GvrAudio_IsListenerInsideRoom_m431752851 (Il2CppObject * __this /* static, unused */, GvrAudioRoom_t1253442178 * ___room0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudio_IsListenerInsideRoom_m431752851_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
Vector3_t2243707580 V_1;
memset(&V_1, 0, sizeof(V_1));
Quaternion_t4030073918 V_2;
memset(&V_2, 0, sizeof(V_2));
bool V_3 = false;
{
// bool isInside = false;
V_0 = (bool)0;
// if(initialized) {
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
bool L_0 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_initialized_19();
if (!L_0)
{
goto IL_006d;
}
}
{
// Vector3 relativePosition = listenerTransform.position - room.transform.position;
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
Transform_t3275118058 * L_1 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_listenerTransform_20();
// Vector3 relativePosition = listenerTransform.position - room.transform.position;
NullCheck(L_1);
Vector3_t2243707580 L_2 = Transform_get_position_m1104419803(L_1, /*hidden argument*/NULL);
GvrAudioRoom_t1253442178 * L_3 = ___room0;
// Vector3 relativePosition = listenerTransform.position - room.transform.position;
NullCheck(L_3);
Transform_t3275118058 * L_4 = Component_get_transform_m2697483695(L_3, /*hidden argument*/NULL);
// Vector3 relativePosition = listenerTransform.position - room.transform.position;
NullCheck(L_4);
Vector3_t2243707580 L_5 = Transform_get_position_m1104419803(L_4, /*hidden argument*/NULL);
// Vector3 relativePosition = listenerTransform.position - room.transform.position;
Vector3_t2243707580 L_6 = Vector3_op_Subtraction_m2407545601(NULL /*static, unused*/, L_2, L_5, /*hidden argument*/NULL);
V_1 = L_6;
// Quaternion rotationInverse = Quaternion.Inverse(room.transform.rotation);
GvrAudioRoom_t1253442178 * L_7 = ___room0;
// Quaternion rotationInverse = Quaternion.Inverse(room.transform.rotation);
NullCheck(L_7);
Transform_t3275118058 * L_8 = Component_get_transform_m2697483695(L_7, /*hidden argument*/NULL);
// Quaternion rotationInverse = Quaternion.Inverse(room.transform.rotation);
NullCheck(L_8);
Quaternion_t4030073918 L_9 = Transform_get_rotation_m1033555130(L_8, /*hidden argument*/NULL);
// Quaternion rotationInverse = Quaternion.Inverse(room.transform.rotation);
Quaternion_t4030073918 L_10 = Quaternion_Inverse_m3931399088(NULL /*static, unused*/, L_9, /*hidden argument*/NULL);
V_2 = L_10;
// bounds.size = Vector3.Scale(room.transform.lossyScale, room.size);
GvrAudioRoom_t1253442178 * L_11 = ___room0;
// bounds.size = Vector3.Scale(room.transform.lossyScale, room.size);
NullCheck(L_11);
Transform_t3275118058 * L_12 = Component_get_transform_m2697483695(L_11, /*hidden argument*/NULL);
// bounds.size = Vector3.Scale(room.transform.lossyScale, room.size);
NullCheck(L_12);
Vector3_t2243707580 L_13 = Transform_get_lossyScale_m1638545862(L_12, /*hidden argument*/NULL);
GvrAudioRoom_t1253442178 * L_14 = ___room0;
NullCheck(L_14);
Vector3_t2243707580 L_15 = L_14->get_size_12();
// bounds.size = Vector3.Scale(room.transform.lossyScale, room.size);
Vector3_t2243707580 L_16 = Vector3_Scale_m1087116865(NULL /*static, unused*/, L_13, L_15, /*hidden argument*/NULL);
// bounds.size = Vector3.Scale(room.transform.lossyScale, room.size);
Bounds_set_size_m3943815629((((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_address_of_bounds_17()), L_16, /*hidden argument*/NULL);
// isInside = bounds.Contains(rotationInverse * relativePosition);
Quaternion_t4030073918 L_17 = V_2;
Vector3_t2243707580 L_18 = V_1;
// isInside = bounds.Contains(rotationInverse * relativePosition);
Vector3_t2243707580 L_19 = Quaternion_op_Multiply_m1483423721(NULL /*static, unused*/, L_17, L_18, /*hidden argument*/NULL);
// isInside = bounds.Contains(rotationInverse * relativePosition);
bool L_20 = Bounds_Contains_m485855890((((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_address_of_bounds_17()), L_19, /*hidden argument*/NULL);
V_0 = L_20;
}
IL_006d:
{
// return isInside;
bool L_21 = V_0;
V_3 = L_21;
goto IL_0074;
}
IL_0074:
{
// }
bool L_22 = V_3;
return L_22;
}
}
// System.Void GvrAudio::ConvertAudioTransformFromUnity(UnityEngine.Vector3&,UnityEngine.Quaternion&)
extern "C" void GvrAudio_ConvertAudioTransformFromUnity_m3914902326 (Il2CppObject * __this /* static, unused */, Vector3_t2243707580 * ___position0, Quaternion_t4030073918 * ___rotation1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudio_ConvertAudioTransformFromUnity_m3914902326_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// pose.SetRightHanded(Matrix4x4.TRS(position, rotation, Vector3.one));
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
MutablePose3D_t1015643808 * L_0 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_pose_23();
Vector3_t2243707580 * L_1 = ___position0;
Quaternion_t4030073918 * L_2 = ___rotation1;
// pose.SetRightHanded(Matrix4x4.TRS(position, rotation, Vector3.one));
Vector3_t2243707580 L_3 = Vector3_get_one_m627547232(NULL /*static, unused*/, /*hidden argument*/NULL);
// pose.SetRightHanded(Matrix4x4.TRS(position, rotation, Vector3.one));
Matrix4x4_t2933234003 L_4 = Matrix4x4_TRS_m1913765359(NULL /*static, unused*/, (*(Vector3_t2243707580 *)L_1), (*(Quaternion_t4030073918 *)L_2), L_3, /*hidden argument*/NULL);
// pose.SetRightHanded(Matrix4x4.TRS(position, rotation, Vector3.one));
NullCheck(L_0);
MutablePose3D_SetRightHanded_m3138031279(L_0, L_4, /*hidden argument*/NULL);
// position = pose.Position;
Vector3_t2243707580 * L_5 = ___position0;
MutablePose3D_t1015643808 * L_6 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_pose_23();
// position = pose.Position;
NullCheck(L_6);
Vector3_t2243707580 L_7 = Pose3D_get_Position_m1770539115(L_6, /*hidden argument*/NULL);
(*(Vector3_t2243707580 *)L_5) = L_7;
// rotation = pose.Orientation;
Quaternion_t4030073918 * L_8 = ___rotation1;
MutablePose3D_t1015643808 * L_9 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_pose_23();
// rotation = pose.Orientation;
NullCheck(L_9);
Quaternion_t4030073918 L_10 = Pose3D_get_Orientation_m3125329874(L_9, /*hidden argument*/NULL);
(*(Quaternion_t4030073918 *)L_8) = L_10;
// }
return;
}
}
// GvrAudio/RoomProperties GvrAudio::GetRoomProperties(GvrAudioRoom)
extern "C" RoomProperties_t2834448096 GvrAudio_GetRoomProperties_m1029902467 (Il2CppObject * __this /* static, unused */, GvrAudioRoom_t1253442178 * ___room0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudio_GetRoomProperties_m1029902467_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RoomProperties_t2834448096 V_0;
memset(&V_0, 0, sizeof(V_0));
Vector3_t2243707580 V_1;
memset(&V_1, 0, sizeof(V_1));
Quaternion_t4030073918 V_2;
memset(&V_2, 0, sizeof(V_2));
Vector3_t2243707580 V_3;
memset(&V_3, 0, sizeof(V_3));
RoomProperties_t2834448096 V_4;
memset(&V_4, 0, sizeof(V_4));
{
// Vector3 position = room.transform.position;
GvrAudioRoom_t1253442178 * L_0 = ___room0;
// Vector3 position = room.transform.position;
NullCheck(L_0);
Transform_t3275118058 * L_1 = Component_get_transform_m2697483695(L_0, /*hidden argument*/NULL);
// Vector3 position = room.transform.position;
NullCheck(L_1);
Vector3_t2243707580 L_2 = Transform_get_position_m1104419803(L_1, /*hidden argument*/NULL);
V_1 = L_2;
// Quaternion rotation = room.transform.rotation;
GvrAudioRoom_t1253442178 * L_3 = ___room0;
// Quaternion rotation = room.transform.rotation;
NullCheck(L_3);
Transform_t3275118058 * L_4 = Component_get_transform_m2697483695(L_3, /*hidden argument*/NULL);
// Quaternion rotation = room.transform.rotation;
NullCheck(L_4);
Quaternion_t4030073918 L_5 = Transform_get_rotation_m1033555130(L_4, /*hidden argument*/NULL);
V_2 = L_5;
// Vector3 scale = Vector3.Scale(room.transform.lossyScale, room.size);
GvrAudioRoom_t1253442178 * L_6 = ___room0;
// Vector3 scale = Vector3.Scale(room.transform.lossyScale, room.size);
NullCheck(L_6);
Transform_t3275118058 * L_7 = Component_get_transform_m2697483695(L_6, /*hidden argument*/NULL);
// Vector3 scale = Vector3.Scale(room.transform.lossyScale, room.size);
NullCheck(L_7);
Vector3_t2243707580 L_8 = Transform_get_lossyScale_m1638545862(L_7, /*hidden argument*/NULL);
GvrAudioRoom_t1253442178 * L_9 = ___room0;
NullCheck(L_9);
Vector3_t2243707580 L_10 = L_9->get_size_12();
// Vector3 scale = Vector3.Scale(room.transform.lossyScale, room.size);
Vector3_t2243707580 L_11 = Vector3_Scale_m1087116865(NULL /*static, unused*/, L_8, L_10, /*hidden argument*/NULL);
V_3 = L_11;
// ConvertAudioTransformFromUnity(ref position, ref rotation);
// ConvertAudioTransformFromUnity(ref position, ref rotation);
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
GvrAudio_ConvertAudioTransformFromUnity_m3914902326(NULL /*static, unused*/, (&V_1), (&V_2), /*hidden argument*/NULL);
// roomProperties.positionX = position.x;
float L_12 = (&V_1)->get_x_1();
(&V_0)->set_positionX_0(L_12);
// roomProperties.positionY = position.y;
float L_13 = (&V_1)->get_y_2();
(&V_0)->set_positionY_1(L_13);
// roomProperties.positionZ = position.z;
float L_14 = (&V_1)->get_z_3();
(&V_0)->set_positionZ_2(L_14);
// roomProperties.rotationX = rotation.x;
float L_15 = (&V_2)->get_x_0();
(&V_0)->set_rotationX_3(L_15);
// roomProperties.rotationY = rotation.y;
float L_16 = (&V_2)->get_y_1();
(&V_0)->set_rotationY_4(L_16);
// roomProperties.rotationZ = rotation.z;
float L_17 = (&V_2)->get_z_2();
(&V_0)->set_rotationZ_5(L_17);
// roomProperties.rotationW = rotation.w;
float L_18 = (&V_2)->get_w_3();
(&V_0)->set_rotationW_6(L_18);
// roomProperties.dimensionsX = scale.x;
float L_19 = (&V_3)->get_x_1();
(&V_0)->set_dimensionsX_7(L_19);
// roomProperties.dimensionsY = scale.y;
float L_20 = (&V_3)->get_y_2();
(&V_0)->set_dimensionsY_8(L_20);
// roomProperties.dimensionsZ = scale.z;
float L_21 = (&V_3)->get_z_3();
(&V_0)->set_dimensionsZ_9(L_21);
// roomProperties.materialLeft = room.leftWall;
GvrAudioRoom_t1253442178 * L_22 = ___room0;
NullCheck(L_22);
int32_t L_23 = L_22->get_leftWall_2();
(&V_0)->set_materialLeft_10(L_23);
// roomProperties.materialRight = room.rightWall;
GvrAudioRoom_t1253442178 * L_24 = ___room0;
NullCheck(L_24);
int32_t L_25 = L_24->get_rightWall_3();
(&V_0)->set_materialRight_11(L_25);
// roomProperties.materialBottom = room.floor;
GvrAudioRoom_t1253442178 * L_26 = ___room0;
NullCheck(L_26);
int32_t L_27 = L_26->get_floor_4();
(&V_0)->set_materialBottom_12(L_27);
// roomProperties.materialTop = room.ceiling;
GvrAudioRoom_t1253442178 * L_28 = ___room0;
NullCheck(L_28);
int32_t L_29 = L_28->get_ceiling_5();
(&V_0)->set_materialTop_13(L_29);
// roomProperties.materialFront = room.frontWall;
GvrAudioRoom_t1253442178 * L_30 = ___room0;
NullCheck(L_30);
int32_t L_31 = L_30->get_frontWall_7();
(&V_0)->set_materialFront_14(L_31);
// roomProperties.materialBack = room.backWall;
GvrAudioRoom_t1253442178 * L_32 = ___room0;
NullCheck(L_32);
int32_t L_33 = L_32->get_backWall_6();
(&V_0)->set_materialBack_15(L_33);
// roomProperties.reverbGain = ConvertAmplitudeFromDb(room.reverbGainDb);
GvrAudioRoom_t1253442178 * L_34 = ___room0;
NullCheck(L_34);
float L_35 = L_34->get_reverbGainDb_9();
// roomProperties.reverbGain = ConvertAmplitudeFromDb(room.reverbGainDb);
float L_36 = GvrAudio_ConvertAmplitudeFromDb_m525493451(NULL /*static, unused*/, L_35, /*hidden argument*/NULL);
(&V_0)->set_reverbGain_17(L_36);
// roomProperties.reverbTime = room.reverbTime;
GvrAudioRoom_t1253442178 * L_37 = ___room0;
NullCheck(L_37);
float L_38 = L_37->get_reverbTime_11();
(&V_0)->set_reverbTime_18(L_38);
// roomProperties.reverbBrightness = room.reverbBrightness;
GvrAudioRoom_t1253442178 * L_39 = ___room0;
NullCheck(L_39);
float L_40 = L_39->get_reverbBrightness_10();
(&V_0)->set_reverbBrightness_19(L_40);
// roomProperties.reflectionScalar = room.reflectivity;
GvrAudioRoom_t1253442178 * L_41 = ___room0;
NullCheck(L_41);
float L_42 = L_41->get_reflectivity_8();
(&V_0)->set_reflectionScalar_16(L_42);
// return roomProperties;
RoomProperties_t2834448096 L_43 = V_0;
V_4 = L_43;
goto IL_0154;
}
IL_0154:
{
// }
RoomProperties_t2834448096 L_44 = V_4;
return L_44;
}
}
extern "C" void DEFAULT_CALL SetListenerGain(float);
// System.Void GvrAudio::SetListenerGain(System.Single)
extern "C" void GvrAudio_SetListenerGain_m1924947456 (Il2CppObject * __this /* static, unused */, float ___gain0, const MethodInfo* method)
{
typedef void (DEFAULT_CALL *PInvokeFunc) (float);
// Native function invocation
reinterpret_cast<PInvokeFunc>(SetListenerGain)(___gain0);
}
extern "C" int32_t DEFAULT_CALL CreateSoundfield(int32_t);
// System.Int32 GvrAudio::CreateSoundfield(System.Int32)
extern "C" int32_t GvrAudio_CreateSoundfield_m278242392 (Il2CppObject * __this /* static, unused */, int32_t ___numChannels0, const MethodInfo* method)
{
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t);
// Native function invocation
int32_t returnValue = reinterpret_cast<PInvokeFunc>(CreateSoundfield)(___numChannels0);
return returnValue;
}
extern "C" int32_t DEFAULT_CALL CreateSoundObject(int32_t);
// System.Int32 GvrAudio::CreateSoundObject(System.Boolean)
extern "C" int32_t GvrAudio_CreateSoundObject_m1329629085 (Il2CppObject * __this /* static, unused */, bool ___enableHrtf0, const MethodInfo* method)
{
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t);
// Native function invocation
int32_t returnValue = reinterpret_cast<PInvokeFunc>(CreateSoundObject)(static_cast<int32_t>(___enableHrtf0));
return returnValue;
}
extern "C" void DEFAULT_CALL DestroySource(int32_t);
// System.Void GvrAudio::DestroySource(System.Int32)
extern "C" void GvrAudio_DestroySource_m2875741446 (Il2CppObject * __this /* static, unused */, int32_t ___sourceId0, const MethodInfo* method)
{
typedef void (DEFAULT_CALL *PInvokeFunc) (int32_t);
// Native function invocation
reinterpret_cast<PInvokeFunc>(DestroySource)(___sourceId0);
}
extern "C" void DEFAULT_CALL SetSourceBypassRoomEffects(int32_t, int32_t);
// System.Void GvrAudio::SetSourceBypassRoomEffects(System.Int32,System.Boolean)
extern "C" void GvrAudio_SetSourceBypassRoomEffects_m1691460578 (Il2CppObject * __this /* static, unused */, int32_t ___sourceId0, bool ___bypassRoomEffects1, const MethodInfo* method)
{
typedef void (DEFAULT_CALL *PInvokeFunc) (int32_t, int32_t);
// Native function invocation
reinterpret_cast<PInvokeFunc>(SetSourceBypassRoomEffects)(___sourceId0, static_cast<int32_t>(___bypassRoomEffects1));
}
extern "C" void DEFAULT_CALL SetSourceDirectivity(int32_t, float, float);
// System.Void GvrAudio::SetSourceDirectivity(System.Int32,System.Single,System.Single)
extern "C" void GvrAudio_SetSourceDirectivity_m2025518334 (Il2CppObject * __this /* static, unused */, int32_t ___sourceId0, float ___alpha1, float ___order2, const MethodInfo* method)
{
typedef void (DEFAULT_CALL *PInvokeFunc) (int32_t, float, float);
// Native function invocation
reinterpret_cast<PInvokeFunc>(SetSourceDirectivity)(___sourceId0, ___alpha1, ___order2);
}
extern "C" void DEFAULT_CALL SetSourceListenerDirectivity(int32_t, float, float);
// System.Void GvrAudio::SetSourceListenerDirectivity(System.Int32,System.Single,System.Single)
extern "C" void GvrAudio_SetSourceListenerDirectivity_m1770884030 (Il2CppObject * __this /* static, unused */, int32_t ___sourceId0, float ___alpha1, float ___order2, const MethodInfo* method)
{
typedef void (DEFAULT_CALL *PInvokeFunc) (int32_t, float, float);
// Native function invocation
reinterpret_cast<PInvokeFunc>(SetSourceListenerDirectivity)(___sourceId0, ___alpha1, ___order2);
}
extern "C" void DEFAULT_CALL SetSourceOcclusionIntensity(int32_t, float);
// System.Void GvrAudio::SetSourceOcclusionIntensity(System.Int32,System.Single)
extern "C" void GvrAudio_SetSourceOcclusionIntensity_m2889416367 (Il2CppObject * __this /* static, unused */, int32_t ___sourceId0, float ___intensity1, const MethodInfo* method)
{
typedef void (DEFAULT_CALL *PInvokeFunc) (int32_t, float);
// Native function invocation
reinterpret_cast<PInvokeFunc>(SetSourceOcclusionIntensity)(___sourceId0, ___intensity1);
}
extern "C" void DEFAULT_CALL SetRoomProperties(intptr_t);
// System.Void GvrAudio::SetRoomProperties(System.IntPtr)
extern "C" void GvrAudio_SetRoomProperties_m2331769136 (Il2CppObject * __this /* static, unused */, IntPtr_t ___roomProperties0, const MethodInfo* method)
{
typedef void (DEFAULT_CALL *PInvokeFunc) (intptr_t);
// Native function invocation
reinterpret_cast<PInvokeFunc>(SetRoomProperties)(reinterpret_cast<intptr_t>((___roomProperties0).get_m_value_0()));
}
extern "C" void DEFAULT_CALL Initialize(int32_t, int32_t, int32_t, int32_t);
// System.Void GvrAudio::Initialize(System.Int32,System.Int32,System.Int32,System.Int32)
extern "C" void GvrAudio_Initialize_m2441973946 (Il2CppObject * __this /* static, unused */, int32_t ___quality0, int32_t ___sampleRate1, int32_t ___numChannels2, int32_t ___framesPerBuffer3, const MethodInfo* method)
{
typedef void (DEFAULT_CALL *PInvokeFunc) (int32_t, int32_t, int32_t, int32_t);
// Native function invocation
reinterpret_cast<PInvokeFunc>(Initialize)(___quality0, ___sampleRate1, ___numChannels2, ___framesPerBuffer3);
}
extern "C" void DEFAULT_CALL Shutdown();
// System.Void GvrAudio::Shutdown()
extern "C" void GvrAudio_Shutdown_m3814448932 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
typedef void (DEFAULT_CALL *PInvokeFunc) ();
// Native function invocation
reinterpret_cast<PInvokeFunc>(Shutdown)();
}
// System.Void GvrAudio::.cctor()
extern "C" void GvrAudio__cctor_m1808371205 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudio__cctor_m1808371205_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// private static int sampleRate = -1;
((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->set_sampleRate_0((-1));
// private static int numChannels = -1;
((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->set_numChannels_1((-1));
// private static int framesPerBuffer = -1;
((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->set_framesPerBuffer_2((-1));
// public static readonly Color listenerDirectivityColor = 0.65f * Color.magenta;
Color_t2020392075 L_0 = Color_get_magenta_m3193089961(NULL /*static, unused*/, /*hidden argument*/NULL);
Color_t2020392075 L_1 = Color_op_Multiply_m4176613710(NULL /*static, unused*/, (0.65f), L_0, /*hidden argument*/NULL);
((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->set_listenerDirectivityColor_3(L_1);
// public static readonly Color sourceDirectivityColor = 0.65f * Color.blue;
Color_t2020392075 L_2 = Color_get_blue_m4180825090(NULL /*static, unused*/, /*hidden argument*/NULL);
Color_t2020392075 L_3 = Color_op_Multiply_m4176613710(NULL /*static, unused*/, (0.65f), L_2, /*hidden argument*/NULL);
((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->set_sourceDirectivityColor_4(L_3);
// private static Bounds bounds = new Bounds(Vector3.zero, Vector3.zero);
Vector3_t2243707580 L_4 = Vector3_get_zero_m1527993324(NULL /*static, unused*/, /*hidden argument*/NULL);
Vector3_t2243707580 L_5 = Vector3_get_zero_m1527993324(NULL /*static, unused*/, /*hidden argument*/NULL);
Bounds_t3033363703 L_6;
memset(&L_6, 0, sizeof(L_6));
Bounds__ctor_m1202659404(&L_6, L_4, L_5, /*hidden argument*/NULL);
((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->set_bounds_17(L_6);
// private static List<GvrAudioRoom> enabledRooms = new List<GvrAudioRoom>();
List_1_t622563310 * L_7 = (List_1_t622563310 *)il2cpp_codegen_object_new(List_1_t622563310_il2cpp_TypeInfo_var);
List_1__ctor_m4264488695(L_7, /*hidden argument*/List_1__ctor_m4264488695_MethodInfo_var);
((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->set_enabledRooms_18(L_7);
// private static bool initialized = false;
((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->set_initialized_19((bool)0);
// private static Transform listenerTransform = null;
((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->set_listenerTransform_20((Transform_t3275118058 *)NULL);
// private static RaycastHit[] occlusionHits = new RaycastHit[maxNumOcclusionHits];
((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->set_occlusionHits_21(((RaycastHitU5BU5D_t1214023521*)SZArrayNew(RaycastHitU5BU5D_t1214023521_il2cpp_TypeInfo_var, (uint32_t)((int32_t)12))));
// private static int occlusionMaskValue = -1;
((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->set_occlusionMaskValue_22((-1));
// private static MutablePose3D pose = new MutablePose3D();
MutablePose3D_t1015643808 * L_8 = (MutablePose3D_t1015643808 *)il2cpp_codegen_object_new(MutablePose3D_t1015643808_il2cpp_TypeInfo_var);
MutablePose3D__ctor_m2869278687(L_8, /*hidden argument*/NULL);
((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->set_pose_23(L_8);
return;
}
}
// System.Void GvrAudioListener::.ctor()
extern "C" void GvrAudioListener__ctor_m2678059692 (GvrAudioListener_t1521766837 * __this, const MethodInfo* method)
{
{
// public float globalGainDb = 0.0f;
__this->set_globalGainDb_2((0.0f));
// public LayerMask occlusionMask = -1;
LayerMask_t3188175821 L_0 = LayerMask_op_Implicit_m3804506591(NULL /*static, unused*/, (-1), /*hidden argument*/NULL);
__this->set_occlusionMask_3(L_0);
// private GvrAudio.Quality quality = GvrAudio.Quality.High;
__this->set_quality_4(2);
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void GvrAudioListener::Awake()
extern "C" void GvrAudioListener_Awake_m266798577 (GvrAudioListener_t1521766837 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioListener_Awake_m266798577_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// GvrAudio.Initialize(this, quality);
int32_t L_0 = __this->get_quality_4();
// GvrAudio.Initialize(this, quality);
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
GvrAudio_Initialize_m2739768702(NULL /*static, unused*/, __this, L_0, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrAudioListener::OnEnable()
extern "C" void GvrAudioListener_OnEnable_m40475892 (GvrAudioListener_t1521766837 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioListener_OnEnable_m40475892_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// GvrAudio.UpdateAudioListener(globalGainDb, occlusionMask);
float L_0 = __this->get_globalGainDb_2();
LayerMask_t3188175821 L_1 = __this->get_occlusionMask_3();
// GvrAudio.UpdateAudioListener(globalGainDb, occlusionMask);
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
GvrAudio_UpdateAudioListener_m3370947442(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrAudioListener::OnDestroy()
extern "C" void GvrAudioListener_OnDestroy_m3389696323 (GvrAudioListener_t1521766837 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioListener_OnDestroy_m3389696323_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// GvrAudio.Shutdown(this);
// GvrAudio.Shutdown(this);
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
GvrAudio_Shutdown_m2838331605(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrAudioListener::Update()
extern "C" void GvrAudioListener_Update_m2037834365 (GvrAudioListener_t1521766837 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioListener_Update_m2037834365_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// GvrAudio.UpdateAudioListener(globalGainDb, occlusionMask);
float L_0 = __this->get_globalGainDb_2();
LayerMask_t3188175821 L_1 = __this->get_occlusionMask_3();
// GvrAudio.UpdateAudioListener(globalGainDb, occlusionMask);
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
GvrAudio_UpdateAudioListener_m3370947442(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrAudioRoom::.ctor()
extern "C" void GvrAudioRoom__ctor_m1306426045 (GvrAudioRoom_t1253442178 * __this, const MethodInfo* method)
{
{
// public SurfaceMaterial leftWall = SurfaceMaterial.ConcreteBlockCoarse;
__this->set_leftWall_2(4);
// public SurfaceMaterial rightWall = SurfaceMaterial.ConcreteBlockCoarse;
__this->set_rightWall_3(4);
// public SurfaceMaterial floor = SurfaceMaterial.ParquetOnConcrete;
__this->set_floor_4(((int32_t)14));
// public SurfaceMaterial ceiling = SurfaceMaterial.PlasterRough;
__this->set_ceiling_5(((int32_t)15));
// public SurfaceMaterial backWall = SurfaceMaterial.ConcreteBlockCoarse;
__this->set_backWall_6(4);
// public SurfaceMaterial frontWall = SurfaceMaterial.ConcreteBlockCoarse;
__this->set_frontWall_7(4);
// public float reflectivity = 1.0f;
__this->set_reflectivity_8((1.0f));
// public float reverbGainDb = 0.0f;
__this->set_reverbGainDb_9((0.0f));
// public float reverbBrightness = 0.0f;
__this->set_reverbBrightness_10((0.0f));
// public float reverbTime = 1.0f;
__this->set_reverbTime_11((1.0f));
// public Vector3 size = Vector3.one;
Vector3_t2243707580 L_0 = Vector3_get_one_m627547232(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_size_12(L_0);
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void GvrAudioRoom::OnEnable()
extern "C" void GvrAudioRoom_OnEnable_m2514172269 (GvrAudioRoom_t1253442178 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioRoom_OnEnable_m2514172269_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// GvrAudio.UpdateAudioRoom(this, GvrAudio.IsListenerInsideRoom(this));
// GvrAudio.UpdateAudioRoom(this, GvrAudio.IsListenerInsideRoom(this));
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
bool L_0 = GvrAudio_IsListenerInsideRoom_m431752851(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
// GvrAudio.UpdateAudioRoom(this, GvrAudio.IsListenerInsideRoom(this));
GvrAudio_UpdateAudioRoom_m3179955199(NULL /*static, unused*/, __this, L_0, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrAudioRoom::OnDisable()
extern "C" void GvrAudioRoom_OnDisable_m3702867154 (GvrAudioRoom_t1253442178 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioRoom_OnDisable_m3702867154_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// GvrAudio.UpdateAudioRoom(this, false);
// GvrAudio.UpdateAudioRoom(this, false);
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
GvrAudio_UpdateAudioRoom_m3179955199(NULL /*static, unused*/, __this, (bool)0, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrAudioRoom::Update()
extern "C" void GvrAudioRoom_Update_m2293437988 (GvrAudioRoom_t1253442178 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioRoom_Update_m2293437988_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// GvrAudio.UpdateAudioRoom(this, GvrAudio.IsListenerInsideRoom(this));
// GvrAudio.UpdateAudioRoom(this, GvrAudio.IsListenerInsideRoom(this));
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
bool L_0 = GvrAudio_IsListenerInsideRoom_m431752851(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
// GvrAudio.UpdateAudioRoom(this, GvrAudio.IsListenerInsideRoom(this));
GvrAudio_UpdateAudioRoom_m3179955199(NULL /*static, unused*/, __this, L_0, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrAudioRoom::OnDrawGizmosSelected()
extern "C" void GvrAudioRoom_OnDrawGizmosSelected_m3667597680 (GvrAudioRoom_t1253442178 * __this, const MethodInfo* method)
{
{
// Gizmos.color = Color.yellow;
Color_t2020392075 L_0 = Color_get_yellow_m3741935494(NULL /*static, unused*/, /*hidden argument*/NULL);
// Gizmos.color = Color.yellow;
Gizmos_set_color_m494992840(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
// Gizmos.matrix = transform.localToWorldMatrix;
// Gizmos.matrix = transform.localToWorldMatrix;
Transform_t3275118058 * L_1 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
// Gizmos.matrix = transform.localToWorldMatrix;
NullCheck(L_1);
Matrix4x4_t2933234003 L_2 = Transform_get_localToWorldMatrix_m2868579006(L_1, /*hidden argument*/NULL);
// Gizmos.matrix = transform.localToWorldMatrix;
Gizmos_set_matrix_m1590313986(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
// Gizmos.DrawWireCube(Vector3.zero, size);
Vector3_t2243707580 L_3 = Vector3_get_zero_m1527993324(NULL /*static, unused*/, /*hidden argument*/NULL);
Vector3_t2243707580 L_4 = __this->get_size_12();
// Gizmos.DrawWireCube(Vector3.zero, size);
Gizmos_DrawWireCube_m2061545338(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrAudioSoundfield::.ctor()
extern "C" void GvrAudioSoundfield__ctor_m3594803927 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
{
// public bool bypassRoomEffects = true;
__this->set_bypassRoomEffects_2((bool)1);
// public float gainDb = 0.0f;
__this->set_gainDb_3((0.0f));
// public bool playOnAwake = true;
__this->set_playOnAwake_4((bool)1);
// private AudioClip soundfieldClip0102 = null;
__this->set_soundfieldClip0102_5((AudioClip_t1932558630 *)NULL);
// private AudioClip soundfieldClip0304 = null;
__this->set_soundfieldClip0304_6((AudioClip_t1932558630 *)NULL);
// private bool soundfieldLoop = false;
__this->set_soundfieldLoop_7((bool)0);
// private bool soundfieldMute = false;
__this->set_soundfieldMute_8((bool)0);
// private float soundfieldPitch = 1.0f;
__this->set_soundfieldPitch_9((1.0f));
// private int soundfieldPriority = 32;
__this->set_soundfieldPriority_10(((int32_t)32));
// private float soundfieldSpatialBlend = 0.0f;
__this->set_soundfieldSpatialBlend_11((0.0f));
// private float soundfieldDopplerLevel = 0.0f;
__this->set_soundfieldDopplerLevel_12((0.0f));
// private float soundfieldVolume = 1.0f;
__this->set_soundfieldVolume_13((1.0f));
// private AudioRolloffMode soundfieldRolloffMode = AudioRolloffMode.Logarithmic;
__this->set_soundfieldRolloffMode_14(0);
// private float soundfieldMaxDistance = 500.0f;
__this->set_soundfieldMaxDistance_15((500.0f));
// private float soundfieldMinDistance = 1.0f;
__this->set_soundfieldMinDistance_16((1.0f));
// private int id = -1;
__this->set_id_17((-1));
// private AudioSource[] audioSources = null;
__this->set_audioSources_18((AudioSourceU5BU5D_t1873220070*)NULL);
// private bool isPaused = false;
__this->set_isPaused_19((bool)0);
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.AudioClip GvrAudioSoundfield::get_clip0102()
extern "C" AudioClip_t1932558630 * GvrAudioSoundfield_get_clip0102_m3095882123 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
AudioClip_t1932558630 * V_0 = NULL;
{
// get { return soundfieldClip0102; }
AudioClip_t1932558630 * L_0 = __this->get_soundfieldClip0102_5();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// get { return soundfieldClip0102; }
AudioClip_t1932558630 * L_1 = V_0;
return L_1;
}
}
// System.Void GvrAudioSoundfield::set_clip0102(UnityEngine.AudioClip)
extern "C" void GvrAudioSoundfield_set_clip0102_m324418954 (GvrAudioSoundfield_t1301118448 * __this, AudioClip_t1932558630 * ___value0, const MethodInfo* method)
{
{
// soundfieldClip0102 = value;
AudioClip_t1932558630 * L_0 = ___value0;
__this->set_soundfieldClip0102_5(L_0);
// if (audioSources != null && audioSources.Length > 0) {
AudioSourceU5BU5D_t1873220070* L_1 = __this->get_audioSources_18();
if (!L_1)
{
goto IL_0036;
}
}
{
AudioSourceU5BU5D_t1873220070* L_2 = __this->get_audioSources_18();
NullCheck(L_2);
if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_2)->max_length))))) <= ((int32_t)0)))
{
goto IL_0036;
}
}
{
// audioSources[0].clip = soundfieldClip0102;
AudioSourceU5BU5D_t1873220070* L_3 = __this->get_audioSources_18();
NullCheck(L_3);
int32_t L_4 = 0;
AudioSource_t1135106623 * L_5 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
AudioClip_t1932558630 * L_6 = __this->get_soundfieldClip0102_5();
// audioSources[0].clip = soundfieldClip0102;
NullCheck(L_5);
AudioSource_set_clip_m738814682(L_5, L_6, /*hidden argument*/NULL);
}
IL_0036:
{
// }
return;
}
}
// UnityEngine.AudioClip GvrAudioSoundfield::get_clip0304()
extern "C" AudioClip_t1932558630 * GvrAudioSoundfield_get_clip0304_m2975697591 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
AudioClip_t1932558630 * V_0 = NULL;
{
// get { return soundfieldClip0304; }
AudioClip_t1932558630 * L_0 = __this->get_soundfieldClip0304_6();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// get { return soundfieldClip0304; }
AudioClip_t1932558630 * L_1 = V_0;
return L_1;
}
}
// System.Void GvrAudioSoundfield::set_clip0304(UnityEngine.AudioClip)
extern "C" void GvrAudioSoundfield_set_clip0304_m3890960182 (GvrAudioSoundfield_t1301118448 * __this, AudioClip_t1932558630 * ___value0, const MethodInfo* method)
{
{
// soundfieldClip0304 = value;
AudioClip_t1932558630 * L_0 = ___value0;
__this->set_soundfieldClip0304_6(L_0);
// if (audioSources != null && audioSources.Length > 0) {
AudioSourceU5BU5D_t1873220070* L_1 = __this->get_audioSources_18();
if (!L_1)
{
goto IL_0036;
}
}
{
AudioSourceU5BU5D_t1873220070* L_2 = __this->get_audioSources_18();
NullCheck(L_2);
if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_2)->max_length))))) <= ((int32_t)0)))
{
goto IL_0036;
}
}
{
// audioSources[1].clip = soundfieldClip0304;
AudioSourceU5BU5D_t1873220070* L_3 = __this->get_audioSources_18();
NullCheck(L_3);
int32_t L_4 = 1;
AudioSource_t1135106623 * L_5 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
AudioClip_t1932558630 * L_6 = __this->get_soundfieldClip0304_6();
// audioSources[1].clip = soundfieldClip0304;
NullCheck(L_5);
AudioSource_set_clip_m738814682(L_5, L_6, /*hidden argument*/NULL);
}
IL_0036:
{
// }
return;
}
}
// System.Boolean GvrAudioSoundfield::get_isPlaying()
extern "C" bool GvrAudioSoundfield_get_isPlaying_m2063179004 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
bool V_0 = false;
{
// if(audioSources != null && audioSources.Length > 0) {
AudioSourceU5BU5D_t1873220070* L_0 = __this->get_audioSources_18();
if (!L_0)
{
goto IL_002e;
}
}
{
AudioSourceU5BU5D_t1873220070* L_1 = __this->get_audioSources_18();
NullCheck(L_1);
if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_1)->max_length))))) <= ((int32_t)0)))
{
goto IL_002e;
}
}
{
// return audioSources[0].isPlaying;
AudioSourceU5BU5D_t1873220070* L_2 = __this->get_audioSources_18();
NullCheck(L_2);
int32_t L_3 = 0;
AudioSource_t1135106623 * L_4 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
// return audioSources[0].isPlaying;
NullCheck(L_4);
bool L_5 = AudioSource_get_isPlaying_m3677592677(L_4, /*hidden argument*/NULL);
V_0 = L_5;
goto IL_0035;
}
IL_002e:
{
// return false;
V_0 = (bool)0;
goto IL_0035;
}
IL_0035:
{
// }
bool L_6 = V_0;
return L_6;
}
}
// System.Boolean GvrAudioSoundfield::get_loop()
extern "C" bool GvrAudioSoundfield_get_loop_m4259508786 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
bool V_0 = false;
{
// get { return soundfieldLoop; }
bool L_0 = __this->get_soundfieldLoop_7();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// get { return soundfieldLoop; }
bool L_1 = V_0;
return L_1;
}
}
// System.Void GvrAudioSoundfield::set_loop(System.Boolean)
extern "C" void GvrAudioSoundfield_set_loop_m2933465149 (GvrAudioSoundfield_t1301118448 * __this, bool ___value0, const MethodInfo* method)
{
int32_t V_0 = 0;
{
// soundfieldLoop = value;
bool L_0 = ___value0;
__this->set_soundfieldLoop_7(L_0);
// if(audioSources != null) {
AudioSourceU5BU5D_t1873220070* L_1 = __this->get_audioSources_18();
if (!L_1)
{
goto IL_0043;
}
}
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
V_0 = 0;
goto IL_0034;
}
IL_001b:
{
// audioSources[channelSet].loop = soundfieldLoop;
AudioSourceU5BU5D_t1873220070* L_2 = __this->get_audioSources_18();
int32_t L_3 = V_0;
NullCheck(L_2);
int32_t L_4 = L_3;
AudioSource_t1135106623 * L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
bool L_6 = __this->get_soundfieldLoop_7();
// audioSources[channelSet].loop = soundfieldLoop;
NullCheck(L_5);
AudioSource_set_loop_m313035616(L_5, L_6, /*hidden argument*/NULL);
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_7 = V_0;
V_0 = ((int32_t)((int32_t)L_7+(int32_t)1));
}
IL_0034:
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_8 = V_0;
AudioSourceU5BU5D_t1873220070* L_9 = __this->get_audioSources_18();
NullCheck(L_9);
if ((((int32_t)L_8) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_9)->max_length)))))))
{
goto IL_001b;
}
}
{
}
IL_0043:
{
// }
return;
}
}
// System.Boolean GvrAudioSoundfield::get_mute()
extern "C" bool GvrAudioSoundfield_get_mute_m4283524391 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
bool V_0 = false;
{
// get { return soundfieldMute; }
bool L_0 = __this->get_soundfieldMute_8();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// get { return soundfieldMute; }
bool L_1 = V_0;
return L_1;
}
}
// System.Void GvrAudioSoundfield::set_mute(System.Boolean)
extern "C" void GvrAudioSoundfield_set_mute_m3676534418 (GvrAudioSoundfield_t1301118448 * __this, bool ___value0, const MethodInfo* method)
{
int32_t V_0 = 0;
{
// soundfieldMute = value;
bool L_0 = ___value0;
__this->set_soundfieldMute_8(L_0);
// if(audioSources != null) {
AudioSourceU5BU5D_t1873220070* L_1 = __this->get_audioSources_18();
if (!L_1)
{
goto IL_0043;
}
}
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
V_0 = 0;
goto IL_0034;
}
IL_001b:
{
// audioSources[channelSet].mute = soundfieldMute;
AudioSourceU5BU5D_t1873220070* L_2 = __this->get_audioSources_18();
int32_t L_3 = V_0;
NullCheck(L_2);
int32_t L_4 = L_3;
AudioSource_t1135106623 * L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
bool L_6 = __this->get_soundfieldMute_8();
// audioSources[channelSet].mute = soundfieldMute;
NullCheck(L_5);
AudioSource_set_mute_m3645750033(L_5, L_6, /*hidden argument*/NULL);
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_7 = V_0;
V_0 = ((int32_t)((int32_t)L_7+(int32_t)1));
}
IL_0034:
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_8 = V_0;
AudioSourceU5BU5D_t1873220070* L_9 = __this->get_audioSources_18();
NullCheck(L_9);
if ((((int32_t)L_8) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_9)->max_length)))))))
{
goto IL_001b;
}
}
{
}
IL_0043:
{
// }
return;
}
}
// System.Single GvrAudioSoundfield::get_pitch()
extern "C" float GvrAudioSoundfield_get_pitch_m3225609132 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
// get { return soundfieldPitch; }
float L_0 = __this->get_soundfieldPitch_9();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// get { return soundfieldPitch; }
float L_1 = V_0;
return L_1;
}
}
// System.Void GvrAudioSoundfield::set_pitch(System.Single)
extern "C" void GvrAudioSoundfield_set_pitch_m1328065293 (GvrAudioSoundfield_t1301118448 * __this, float ___value0, const MethodInfo* method)
{
int32_t V_0 = 0;
{
// soundfieldPitch = value;
float L_0 = ___value0;
__this->set_soundfieldPitch_9(L_0);
// if(audioSources != null) {
AudioSourceU5BU5D_t1873220070* L_1 = __this->get_audioSources_18();
if (!L_1)
{
goto IL_0043;
}
}
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
V_0 = 0;
goto IL_0034;
}
IL_001b:
{
// audioSources[channelSet].pitch = soundfieldPitch;
AudioSourceU5BU5D_t1873220070* L_2 = __this->get_audioSources_18();
int32_t L_3 = V_0;
NullCheck(L_2);
int32_t L_4 = L_3;
AudioSource_t1135106623 * L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
float L_6 = __this->get_soundfieldPitch_9();
// audioSources[channelSet].pitch = soundfieldPitch;
NullCheck(L_5);
AudioSource_set_pitch_m3064416458(L_5, L_6, /*hidden argument*/NULL);
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_7 = V_0;
V_0 = ((int32_t)((int32_t)L_7+(int32_t)1));
}
IL_0034:
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_8 = V_0;
AudioSourceU5BU5D_t1873220070* L_9 = __this->get_audioSources_18();
NullCheck(L_9);
if ((((int32_t)L_8) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_9)->max_length)))))))
{
goto IL_001b;
}
}
{
}
IL_0043:
{
// }
return;
}
}
// System.Int32 GvrAudioSoundfield::get_priority()
extern "C" int32_t GvrAudioSoundfield_get_priority_m1752823384 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
// get { return soundfieldPriority; }
int32_t L_0 = __this->get_soundfieldPriority_10();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// get { return soundfieldPriority; }
int32_t L_1 = V_0;
return L_1;
}
}
// System.Void GvrAudioSoundfield::set_priority(System.Int32)
extern "C" void GvrAudioSoundfield_set_priority_m3260742081 (GvrAudioSoundfield_t1301118448 * __this, int32_t ___value0, const MethodInfo* method)
{
int32_t V_0 = 0;
{
// soundfieldPriority = value;
int32_t L_0 = ___value0;
__this->set_soundfieldPriority_10(L_0);
// if(audioSources != null) {
AudioSourceU5BU5D_t1873220070* L_1 = __this->get_audioSources_18();
if (!L_1)
{
goto IL_0043;
}
}
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
V_0 = 0;
goto IL_0034;
}
IL_001b:
{
// audioSources[channelSet].priority = soundfieldPriority;
AudioSourceU5BU5D_t1873220070* L_2 = __this->get_audioSources_18();
int32_t L_3 = V_0;
NullCheck(L_2);
int32_t L_4 = L_3;
AudioSource_t1135106623 * L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
int32_t L_6 = __this->get_soundfieldPriority_10();
// audioSources[channelSet].priority = soundfieldPriority;
NullCheck(L_5);
AudioSource_set_priority_m608149462(L_5, L_6, /*hidden argument*/NULL);
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_7 = V_0;
V_0 = ((int32_t)((int32_t)L_7+(int32_t)1));
}
IL_0034:
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_8 = V_0;
AudioSourceU5BU5D_t1873220070* L_9 = __this->get_audioSources_18();
NullCheck(L_9);
if ((((int32_t)L_8) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_9)->max_length)))))))
{
goto IL_001b;
}
}
{
}
IL_0043:
{
// }
return;
}
}
// System.Single GvrAudioSoundfield::get_spatialBlend()
extern "C" float GvrAudioSoundfield_get_spatialBlend_m1612194323 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
// get { return soundfieldSpatialBlend; }
float L_0 = __this->get_soundfieldSpatialBlend_11();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// get { return soundfieldSpatialBlend; }
float L_1 = V_0;
return L_1;
}
}
// System.Void GvrAudioSoundfield::set_spatialBlend(System.Single)
extern "C" void GvrAudioSoundfield_set_spatialBlend_m3169449330 (GvrAudioSoundfield_t1301118448 * __this, float ___value0, const MethodInfo* method)
{
int32_t V_0 = 0;
{
// soundfieldSpatialBlend = value;
float L_0 = ___value0;
__this->set_soundfieldSpatialBlend_11(L_0);
// if (audioSources != null) {
AudioSourceU5BU5D_t1873220070* L_1 = __this->get_audioSources_18();
if (!L_1)
{
goto IL_0043;
}
}
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
V_0 = 0;
goto IL_0034;
}
IL_001b:
{
// audioSources[channelSet].spatialBlend = soundfieldSpatialBlend;
AudioSourceU5BU5D_t1873220070* L_2 = __this->get_audioSources_18();
int32_t L_3 = V_0;
NullCheck(L_2);
int32_t L_4 = L_3;
AudioSource_t1135106623 * L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
float L_6 = __this->get_soundfieldSpatialBlend_11();
// audioSources[channelSet].spatialBlend = soundfieldSpatialBlend;
NullCheck(L_5);
AudioSource_set_spatialBlend_m387590113(L_5, L_6, /*hidden argument*/NULL);
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_7 = V_0;
V_0 = ((int32_t)((int32_t)L_7+(int32_t)1));
}
IL_0034:
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_8 = V_0;
AudioSourceU5BU5D_t1873220070* L_9 = __this->get_audioSources_18();
NullCheck(L_9);
if ((((int32_t)L_8) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_9)->max_length)))))))
{
goto IL_001b;
}
}
{
}
IL_0043:
{
// }
return;
}
}
// System.Single GvrAudioSoundfield::get_dopplerLevel()
extern "C" float GvrAudioSoundfield_get_dopplerLevel_m1782941374 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
// get { return soundfieldDopplerLevel; }
float L_0 = __this->get_soundfieldDopplerLevel_12();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// get { return soundfieldDopplerLevel; }
float L_1 = V_0;
return L_1;
}
}
// System.Void GvrAudioSoundfield::set_dopplerLevel(System.Single)
extern "C" void GvrAudioSoundfield_set_dopplerLevel_m2478224561 (GvrAudioSoundfield_t1301118448 * __this, float ___value0, const MethodInfo* method)
{
int32_t V_0 = 0;
{
// soundfieldDopplerLevel = value;
float L_0 = ___value0;
__this->set_soundfieldDopplerLevel_12(L_0);
// if(audioSources != null) {
AudioSourceU5BU5D_t1873220070* L_1 = __this->get_audioSources_18();
if (!L_1)
{
goto IL_0043;
}
}
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
V_0 = 0;
goto IL_0034;
}
IL_001b:
{
// audioSources[channelSet].dopplerLevel = soundfieldDopplerLevel;
AudioSourceU5BU5D_t1873220070* L_2 = __this->get_audioSources_18();
int32_t L_3 = V_0;
NullCheck(L_2);
int32_t L_4 = L_3;
AudioSource_t1135106623 * L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
float L_6 = __this->get_soundfieldDopplerLevel_12();
// audioSources[channelSet].dopplerLevel = soundfieldDopplerLevel;
NullCheck(L_5);
AudioSource_set_dopplerLevel_m107848870(L_5, L_6, /*hidden argument*/NULL);
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_7 = V_0;
V_0 = ((int32_t)((int32_t)L_7+(int32_t)1));
}
IL_0034:
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_8 = V_0;
AudioSourceU5BU5D_t1873220070* L_9 = __this->get_audioSources_18();
NullCheck(L_9);
if ((((int32_t)L_8) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_9)->max_length)))))))
{
goto IL_001b;
}
}
{
}
IL_0043:
{
// }
return;
}
}
// System.Single GvrAudioSoundfield::get_time()
extern "C" float GvrAudioSoundfield_get_time_m3108047857 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
// if(audioSources != null && audioSources.Length > 0) {
AudioSourceU5BU5D_t1873220070* L_0 = __this->get_audioSources_18();
if (!L_0)
{
goto IL_002e;
}
}
{
AudioSourceU5BU5D_t1873220070* L_1 = __this->get_audioSources_18();
NullCheck(L_1);
if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_1)->max_length))))) <= ((int32_t)0)))
{
goto IL_002e;
}
}
{
// return audioSources[0].time;
AudioSourceU5BU5D_t1873220070* L_2 = __this->get_audioSources_18();
NullCheck(L_2);
int32_t L_3 = 0;
AudioSource_t1135106623 * L_4 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
// return audioSources[0].time;
NullCheck(L_4);
float L_5 = AudioSource_get_time_m1465582328(L_4, /*hidden argument*/NULL);
V_0 = L_5;
goto IL_0039;
}
IL_002e:
{
// return 0.0f;
V_0 = (0.0f);
goto IL_0039;
}
IL_0039:
{
// }
float L_6 = V_0;
return L_6;
}
}
// System.Void GvrAudioSoundfield::set_time(System.Single)
extern "C" void GvrAudioSoundfield_set_time_m2360704772 (GvrAudioSoundfield_t1301118448 * __this, float ___value0, const MethodInfo* method)
{
int32_t V_0 = 0;
{
// if(audioSources != null) {
AudioSourceU5BU5D_t1873220070* L_0 = __this->get_audioSources_18();
if (!L_0)
{
goto IL_0037;
}
}
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
V_0 = 0;
goto IL_0028;
}
IL_0014:
{
// audioSources[channelSet].time = value;
AudioSourceU5BU5D_t1873220070* L_1 = __this->get_audioSources_18();
int32_t L_2 = V_0;
NullCheck(L_1);
int32_t L_3 = L_2;
AudioSource_t1135106623 * L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
float L_5 = ___value0;
// audioSources[channelSet].time = value;
NullCheck(L_4);
AudioSource_set_time_m2642008583(L_4, L_5, /*hidden argument*/NULL);
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_6 = V_0;
V_0 = ((int32_t)((int32_t)L_6+(int32_t)1));
}
IL_0028:
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_7 = V_0;
AudioSourceU5BU5D_t1873220070* L_8 = __this->get_audioSources_18();
NullCheck(L_8);
if ((((int32_t)L_7) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_8)->max_length)))))))
{
goto IL_0014;
}
}
{
}
IL_0037:
{
// }
return;
}
}
// System.Int32 GvrAudioSoundfield::get_timeSamples()
extern "C" int32_t GvrAudioSoundfield_get_timeSamples_m1332110422 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
// if(audioSources != null && audioSources.Length > 0) {
AudioSourceU5BU5D_t1873220070* L_0 = __this->get_audioSources_18();
if (!L_0)
{
goto IL_002e;
}
}
{
AudioSourceU5BU5D_t1873220070* L_1 = __this->get_audioSources_18();
NullCheck(L_1);
if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_1)->max_length))))) <= ((int32_t)0)))
{
goto IL_002e;
}
}
{
// return audioSources[0].timeSamples;
AudioSourceU5BU5D_t1873220070* L_2 = __this->get_audioSources_18();
NullCheck(L_2);
int32_t L_3 = 0;
AudioSource_t1135106623 * L_4 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
// return audioSources[0].timeSamples;
NullCheck(L_4);
int32_t L_5 = AudioSource_get_timeSamples_m1719074425(L_4, /*hidden argument*/NULL);
V_0 = L_5;
goto IL_0035;
}
IL_002e:
{
// return 0;
V_0 = 0;
goto IL_0035;
}
IL_0035:
{
// }
int32_t L_6 = V_0;
return L_6;
}
}
// System.Void GvrAudioSoundfield::set_timeSamples(System.Int32)
extern "C" void GvrAudioSoundfield_set_timeSamples_m2120523123 (GvrAudioSoundfield_t1301118448 * __this, int32_t ___value0, const MethodInfo* method)
{
int32_t V_0 = 0;
{
// if(audioSources != null) {
AudioSourceU5BU5D_t1873220070* L_0 = __this->get_audioSources_18();
if (!L_0)
{
goto IL_0037;
}
}
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
V_0 = 0;
goto IL_0028;
}
IL_0014:
{
// audioSources[channelSet].timeSamples = value;
AudioSourceU5BU5D_t1873220070* L_1 = __this->get_audioSources_18();
int32_t L_2 = V_0;
NullCheck(L_1);
int32_t L_3 = L_2;
AudioSource_t1135106623 * L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
int32_t L_5 = ___value0;
// audioSources[channelSet].timeSamples = value;
NullCheck(L_4);
AudioSource_set_timeSamples_m1321768050(L_4, L_5, /*hidden argument*/NULL);
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_6 = V_0;
V_0 = ((int32_t)((int32_t)L_6+(int32_t)1));
}
IL_0028:
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_7 = V_0;
AudioSourceU5BU5D_t1873220070* L_8 = __this->get_audioSources_18();
NullCheck(L_8);
if ((((int32_t)L_7) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_8)->max_length)))))))
{
goto IL_0014;
}
}
{
}
IL_0037:
{
// }
return;
}
}
// System.Single GvrAudioSoundfield::get_volume()
extern "C" float GvrAudioSoundfield_get_volume_m567417374 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
// get { return soundfieldVolume; }
float L_0 = __this->get_soundfieldVolume_13();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// get { return soundfieldVolume; }
float L_1 = V_0;
return L_1;
}
}
// System.Void GvrAudioSoundfield::set_volume(System.Single)
extern "C" void GvrAudioSoundfield_set_volume_m317435059 (GvrAudioSoundfield_t1301118448 * __this, float ___value0, const MethodInfo* method)
{
int32_t V_0 = 0;
{
// soundfieldVolume = value;
float L_0 = ___value0;
__this->set_soundfieldVolume_13(L_0);
// if(audioSources != null) {
AudioSourceU5BU5D_t1873220070* L_1 = __this->get_audioSources_18();
if (!L_1)
{
goto IL_0043;
}
}
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
V_0 = 0;
goto IL_0034;
}
IL_001b:
{
// audioSources[channelSet].volume = soundfieldVolume;
AudioSourceU5BU5D_t1873220070* L_2 = __this->get_audioSources_18();
int32_t L_3 = V_0;
NullCheck(L_2);
int32_t L_4 = L_3;
AudioSource_t1135106623 * L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
float L_6 = __this->get_soundfieldVolume_13();
// audioSources[channelSet].volume = soundfieldVolume;
NullCheck(L_5);
AudioSource_set_volume_m2777308722(L_5, L_6, /*hidden argument*/NULL);
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_7 = V_0;
V_0 = ((int32_t)((int32_t)L_7+(int32_t)1));
}
IL_0034:
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_8 = V_0;
AudioSourceU5BU5D_t1873220070* L_9 = __this->get_audioSources_18();
NullCheck(L_9);
if ((((int32_t)L_8) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_9)->max_length)))))))
{
goto IL_001b;
}
}
{
}
IL_0043:
{
// }
return;
}
}
// UnityEngine.AudioRolloffMode GvrAudioSoundfield::get_rolloffMode()
extern "C" int32_t GvrAudioSoundfield_get_rolloffMode_m2701215212 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
// get { return soundfieldRolloffMode; }
int32_t L_0 = __this->get_soundfieldRolloffMode_14();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// get { return soundfieldRolloffMode; }
int32_t L_1 = V_0;
return L_1;
}
}
// System.Void GvrAudioSoundfield::set_rolloffMode(UnityEngine.AudioRolloffMode)
extern "C" void GvrAudioSoundfield_set_rolloffMode_m2512403003 (GvrAudioSoundfield_t1301118448 * __this, int32_t ___value0, const MethodInfo* method)
{
int32_t V_0 = 0;
{
// soundfieldRolloffMode = value;
int32_t L_0 = ___value0;
__this->set_soundfieldRolloffMode_14(L_0);
// if (audioSources != null) {
AudioSourceU5BU5D_t1873220070* L_1 = __this->get_audioSources_18();
if (!L_1)
{
goto IL_007a;
}
}
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
V_0 = 0;
goto IL_006b;
}
IL_001b:
{
// audioSources[channelSet].rolloffMode = soundfieldRolloffMode;
AudioSourceU5BU5D_t1873220070* L_2 = __this->get_audioSources_18();
int32_t L_3 = V_0;
NullCheck(L_2);
int32_t L_4 = L_3;
AudioSource_t1135106623 * L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
int32_t L_6 = __this->get_soundfieldRolloffMode_14();
// audioSources[channelSet].rolloffMode = soundfieldRolloffMode;
NullCheck(L_5);
AudioSource_set_rolloffMode_m2959852922(L_5, L_6, /*hidden argument*/NULL);
// if (rolloffMode == AudioRolloffMode.Custom) {
// if (rolloffMode == AudioRolloffMode.Custom) {
int32_t L_7 = GvrAudioSoundfield_get_rolloffMode_m2701215212(__this, /*hidden argument*/NULL);
if ((!(((uint32_t)L_7) == ((uint32_t)2))))
{
goto IL_0066;
}
}
{
// audioSources[channelSet].SetCustomCurve(
AudioSourceU5BU5D_t1873220070* L_8 = __this->get_audioSources_18();
int32_t L_9 = V_0;
NullCheck(L_8);
int32_t L_10 = L_9;
AudioSource_t1135106623 * L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
float L_12 = __this->get_soundfieldMinDistance_16();
float L_13 = __this->get_soundfieldMaxDistance_15();
// AnimationCurve.Linear(soundfieldMinDistance, 1.0f, soundfieldMaxDistance, 1.0f));
AnimationCurve_t3306541151 * L_14 = AnimationCurve_Linear_m125562148(NULL /*static, unused*/, L_12, (1.0f), L_13, (1.0f), /*hidden argument*/NULL);
// audioSources[channelSet].SetCustomCurve(
NullCheck(L_11);
AudioSource_SetCustomCurve_m1269103073(L_11, 0, L_14, /*hidden argument*/NULL);
}
IL_0066:
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_15 = V_0;
V_0 = ((int32_t)((int32_t)L_15+(int32_t)1));
}
IL_006b:
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_16 = V_0;
AudioSourceU5BU5D_t1873220070* L_17 = __this->get_audioSources_18();
NullCheck(L_17);
if ((((int32_t)L_16) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_17)->max_length)))))))
{
goto IL_001b;
}
}
{
}
IL_007a:
{
// }
return;
}
}
// System.Single GvrAudioSoundfield::get_maxDistance()
extern "C" float GvrAudioSoundfield_get_maxDistance_m3260299843 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
// get { return soundfieldMaxDistance; }
float L_0 = __this->get_soundfieldMaxDistance_15();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// get { return soundfieldMaxDistance; }
float L_1 = V_0;
return L_1;
}
}
// System.Void GvrAudioSoundfield::set_maxDistance(System.Single)
extern "C" void GvrAudioSoundfield_set_maxDistance_m1287102658 (GvrAudioSoundfield_t1301118448 * __this, float ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSoundfield_set_maxDistance_m1287102658_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
// soundfieldMaxDistance = Mathf.Clamp(value, soundfieldMinDistance + GvrAudio.distanceEpsilon,
float L_0 = ___value0;
float L_1 = __this->get_soundfieldMinDistance_16();
// soundfieldMaxDistance = Mathf.Clamp(value, soundfieldMinDistance + GvrAudio.distanceEpsilon,
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_2 = Mathf_Clamp_m2354025655(NULL /*static, unused*/, L_0, ((float)((float)L_1+(float)(0.01f))), (1000000.0f), /*hidden argument*/NULL);
__this->set_soundfieldMaxDistance_15(L_2);
// if (audioSources != null) {
AudioSourceU5BU5D_t1873220070* L_3 = __this->get_audioSources_18();
if (!L_3)
{
goto IL_0059;
}
}
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
V_0 = 0;
goto IL_004a;
}
IL_0031:
{
// audioSources[channelSet].maxDistance = soundfieldMaxDistance;
AudioSourceU5BU5D_t1873220070* L_4 = __this->get_audioSources_18();
int32_t L_5 = V_0;
NullCheck(L_4);
int32_t L_6 = L_5;
AudioSource_t1135106623 * L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
float L_8 = __this->get_soundfieldMaxDistance_15();
// audioSources[channelSet].maxDistance = soundfieldMaxDistance;
NullCheck(L_7);
AudioSource_set_maxDistance_m2780167297(L_7, L_8, /*hidden argument*/NULL);
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_9 = V_0;
V_0 = ((int32_t)((int32_t)L_9+(int32_t)1));
}
IL_004a:
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_10 = V_0;
AudioSourceU5BU5D_t1873220070* L_11 = __this->get_audioSources_18();
NullCheck(L_11);
if ((((int32_t)L_10) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_11)->max_length)))))))
{
goto IL_0031;
}
}
{
}
IL_0059:
{
// }
return;
}
}
// System.Single GvrAudioSoundfield::get_minDistance()
extern "C" float GvrAudioSoundfield_get_minDistance_m4121417033 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
// get { return soundfieldMinDistance; }
float L_0 = __this->get_soundfieldMinDistance_16();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// get { return soundfieldMinDistance; }
float L_1 = V_0;
return L_1;
}
}
// System.Void GvrAudioSoundfield::set_minDistance(System.Single)
extern "C" void GvrAudioSoundfield_set_minDistance_m3117626096 (GvrAudioSoundfield_t1301118448 * __this, float ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSoundfield_set_minDistance_m3117626096_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
// soundfieldMinDistance = Mathf.Clamp(value, 0.0f, GvrAudio.minDistanceLimit);
float L_0 = ___value0;
// soundfieldMinDistance = Mathf.Clamp(value, 0.0f, GvrAudio.minDistanceLimit);
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_1 = Mathf_Clamp_m2354025655(NULL /*static, unused*/, L_0, (0.0f), (990099.0f), /*hidden argument*/NULL);
__this->set_soundfieldMinDistance_16(L_1);
// if (audioSources != null) {
AudioSourceU5BU5D_t1873220070* L_2 = __this->get_audioSources_18();
if (!L_2)
{
goto IL_0052;
}
}
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
V_0 = 0;
goto IL_0043;
}
IL_002a:
{
// audioSources[channelSet].minDistance = soundfieldMinDistance;
AudioSourceU5BU5D_t1873220070* L_3 = __this->get_audioSources_18();
int32_t L_4 = V_0;
NullCheck(L_3);
int32_t L_5 = L_4;
AudioSource_t1135106623 * L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
float L_7 = __this->get_soundfieldMinDistance_16();
// audioSources[channelSet].minDistance = soundfieldMinDistance;
NullCheck(L_6);
AudioSource_set_minDistance_m3497133611(L_6, L_7, /*hidden argument*/NULL);
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_8 = V_0;
V_0 = ((int32_t)((int32_t)L_8+(int32_t)1));
}
IL_0043:
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_9 = V_0;
AudioSourceU5BU5D_t1873220070* L_10 = __this->get_audioSources_18();
NullCheck(L_10);
if ((((int32_t)L_9) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_10)->max_length)))))))
{
goto IL_002a;
}
}
{
}
IL_0052:
{
// }
return;
}
}
// System.Void GvrAudioSoundfield::Awake()
extern "C" void GvrAudioSoundfield_Awake_m2965117100 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSoundfield_Awake_m2965117100_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
AudioMixer_t3244290001 * V_0 = NULL;
int32_t V_1 = 0;
GameObject_t1756533147 * V_2 = NULL;
{
// AudioMixer mixer = (Resources.Load("GvrAudioMixer") as AudioMixer);
// AudioMixer mixer = (Resources.Load("GvrAudioMixer") as AudioMixer);
Object_t1021602117 * L_0 = Resources_Load_m2041782325(NULL /*static, unused*/, _stringLiteral3248387252, /*hidden argument*/NULL);
V_0 = ((AudioMixer_t3244290001 *)IsInstClass(L_0, AudioMixer_t3244290001_il2cpp_TypeInfo_var));
// if(mixer == null) {
AudioMixer_t3244290001 * L_1 = V_0;
// if(mixer == null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_1, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_002d;
}
}
{
// Debug.LogError("GVRAudioMixer could not be found in Resources. Make sure that the GVR SDK" +
// Debug.LogError("GVRAudioMixer could not be found in Resources. Make sure that the GVR SDK" +
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_LogError_m3715728798(NULL /*static, unused*/, _stringLiteral1451690761, /*hidden argument*/NULL);
// return;
goto IL_010e;
}
IL_002d:
{
// audioSources = new AudioSource[GvrAudio.numFoaChannels / 2];
__this->set_audioSources_18(((AudioSourceU5BU5D_t1873220070*)SZArrayNew(AudioSourceU5BU5D_t1873220070_il2cpp_TypeInfo_var, (uint32_t)2)));
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
V_1 = 0;
goto IL_00fa;
}
IL_0040:
{
// GameObject channelSetObject = new GameObject("Channel Set " + channelSet);
int32_t L_3 = V_1;
int32_t L_4 = L_3;
Il2CppObject * L_5 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_4);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_6 = String_Concat_m56707527(NULL /*static, unused*/, _stringLiteral320790385, L_5, /*hidden argument*/NULL);
// GameObject channelSetObject = new GameObject("Channel Set " + channelSet);
GameObject_t1756533147 * L_7 = (GameObject_t1756533147 *)il2cpp_codegen_object_new(GameObject_t1756533147_il2cpp_TypeInfo_var);
GameObject__ctor_m962601984(L_7, L_6, /*hidden argument*/NULL);
V_2 = L_7;
// channelSetObject.transform.parent = gameObject.transform;
GameObject_t1756533147 * L_8 = V_2;
// channelSetObject.transform.parent = gameObject.transform;
NullCheck(L_8);
Transform_t3275118058 * L_9 = GameObject_get_transform_m909382139(L_8, /*hidden argument*/NULL);
// channelSetObject.transform.parent = gameObject.transform;
GameObject_t1756533147 * L_10 = Component_get_gameObject_m3105766835(__this, /*hidden argument*/NULL);
// channelSetObject.transform.parent = gameObject.transform;
NullCheck(L_10);
Transform_t3275118058 * L_11 = GameObject_get_transform_m909382139(L_10, /*hidden argument*/NULL);
// channelSetObject.transform.parent = gameObject.transform;
NullCheck(L_9);
Transform_set_parent_m3281327839(L_9, L_11, /*hidden argument*/NULL);
// channelSetObject.transform.localPosition = Vector3.zero;
GameObject_t1756533147 * L_12 = V_2;
// channelSetObject.transform.localPosition = Vector3.zero;
NullCheck(L_12);
Transform_t3275118058 * L_13 = GameObject_get_transform_m909382139(L_12, /*hidden argument*/NULL);
// channelSetObject.transform.localPosition = Vector3.zero;
Vector3_t2243707580 L_14 = Vector3_get_zero_m1527993324(NULL /*static, unused*/, /*hidden argument*/NULL);
// channelSetObject.transform.localPosition = Vector3.zero;
NullCheck(L_13);
Transform_set_localPosition_m1026930133(L_13, L_14, /*hidden argument*/NULL);
// channelSetObject.transform.localRotation = Quaternion.identity;
GameObject_t1756533147 * L_15 = V_2;
// channelSetObject.transform.localRotation = Quaternion.identity;
NullCheck(L_15);
Transform_t3275118058 * L_16 = GameObject_get_transform_m909382139(L_15, /*hidden argument*/NULL);
// channelSetObject.transform.localRotation = Quaternion.identity;
Quaternion_t4030073918 L_17 = Quaternion_get_identity_m1561886418(NULL /*static, unused*/, /*hidden argument*/NULL);
// channelSetObject.transform.localRotation = Quaternion.identity;
NullCheck(L_16);
Transform_set_localRotation_m2055111962(L_16, L_17, /*hidden argument*/NULL);
// channelSetObject.hideFlags = HideFlags.HideAndDontSave;
GameObject_t1756533147 * L_18 = V_2;
// channelSetObject.hideFlags = HideFlags.HideAndDontSave;
NullCheck(L_18);
Object_set_hideFlags_m2204253440(L_18, ((int32_t)61), /*hidden argument*/NULL);
// audioSources[channelSet] = channelSetObject.AddComponent<AudioSource>();
AudioSourceU5BU5D_t1873220070* L_19 = __this->get_audioSources_18();
int32_t L_20 = V_1;
GameObject_t1756533147 * L_21 = V_2;
// audioSources[channelSet] = channelSetObject.AddComponent<AudioSource>();
NullCheck(L_21);
AudioSource_t1135106623 * L_22 = GameObject_AddComponent_TisAudioSource_t1135106623_m1060393270(L_21, /*hidden argument*/GameObject_AddComponent_TisAudioSource_t1135106623_m1060393270_MethodInfo_var);
NullCheck(L_19);
ArrayElementTypeCheck (L_19, L_22);
(L_19)->SetAt(static_cast<il2cpp_array_size_t>(L_20), (AudioSource_t1135106623 *)L_22);
// audioSources[channelSet].enabled = false;
AudioSourceU5BU5D_t1873220070* L_23 = __this->get_audioSources_18();
int32_t L_24 = V_1;
NullCheck(L_23);
int32_t L_25 = L_24;
AudioSource_t1135106623 * L_26 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
// audioSources[channelSet].enabled = false;
NullCheck(L_26);
Behaviour_set_enabled_m1796096907(L_26, (bool)0, /*hidden argument*/NULL);
// audioSources[channelSet].playOnAwake = false;
AudioSourceU5BU5D_t1873220070* L_27 = __this->get_audioSources_18();
int32_t L_28 = V_1;
NullCheck(L_27);
int32_t L_29 = L_28;
AudioSource_t1135106623 * L_30 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
// audioSources[channelSet].playOnAwake = false;
NullCheck(L_30);
AudioSource_set_playOnAwake_m858475204(L_30, (bool)0, /*hidden argument*/NULL);
// audioSources[channelSet].bypassReverbZones = true;
AudioSourceU5BU5D_t1873220070* L_31 = __this->get_audioSources_18();
int32_t L_32 = V_1;
NullCheck(L_31);
int32_t L_33 = L_32;
AudioSource_t1135106623 * L_34 = (L_31)->GetAt(static_cast<il2cpp_array_size_t>(L_33));
// audioSources[channelSet].bypassReverbZones = true;
NullCheck(L_34);
AudioSource_set_bypassReverbZones_m1621259587(L_34, (bool)1, /*hidden argument*/NULL);
// audioSources[channelSet].spatializePostEffects = true;
AudioSourceU5BU5D_t1873220070* L_35 = __this->get_audioSources_18();
int32_t L_36 = V_1;
NullCheck(L_35);
int32_t L_37 = L_36;
AudioSource_t1135106623 * L_38 = (L_35)->GetAt(static_cast<il2cpp_array_size_t>(L_37));
// audioSources[channelSet].spatializePostEffects = true;
NullCheck(L_38);
AudioSource_set_spatializePostEffects_m20284068(L_38, (bool)1, /*hidden argument*/NULL);
// audioSources[channelSet].outputAudioMixerGroup = mixer.FindMatchingGroups("Master")[0];
AudioSourceU5BU5D_t1873220070* L_39 = __this->get_audioSources_18();
int32_t L_40 = V_1;
NullCheck(L_39);
int32_t L_41 = L_40;
AudioSource_t1135106623 * L_42 = (L_39)->GetAt(static_cast<il2cpp_array_size_t>(L_41));
AudioMixer_t3244290001 * L_43 = V_0;
// audioSources[channelSet].outputAudioMixerGroup = mixer.FindMatchingGroups("Master")[0];
NullCheck(L_43);
AudioMixerGroupU5BU5D_t1763409949* L_44 = AudioMixer_FindMatchingGroups_m2958147472(L_43, _stringLiteral4058986920, /*hidden argument*/NULL);
NullCheck(L_44);
int32_t L_45 = 0;
AudioMixerGroup_t959546644 * L_46 = (L_44)->GetAt(static_cast<il2cpp_array_size_t>(L_45));
// audioSources[channelSet].outputAudioMixerGroup = mixer.FindMatchingGroups("Master")[0];
NullCheck(L_42);
AudioSource_set_outputAudioMixerGroup_m2944940779(L_42, L_46, /*hidden argument*/NULL);
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_47 = V_1;
V_1 = ((int32_t)((int32_t)L_47+(int32_t)1));
}
IL_00fa:
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_48 = V_1;
AudioSourceU5BU5D_t1873220070* L_49 = __this->get_audioSources_18();
NullCheck(L_49);
if ((((int32_t)L_48) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_49)->max_length)))))))
{
goto IL_0040;
}
}
{
// OnValidate();
// OnValidate();
GvrAudioSoundfield_OnValidate_m402992064(__this, /*hidden argument*/NULL);
}
IL_010e:
{
// }
return;
}
}
// System.Void GvrAudioSoundfield::OnEnable()
extern "C" void GvrAudioSoundfield_OnEnable_m1161240347 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
V_0 = 0;
goto IL_001c;
}
IL_0008:
{
// audioSources[channelSet].enabled = true;
AudioSourceU5BU5D_t1873220070* L_0 = __this->get_audioSources_18();
int32_t L_1 = V_0;
NullCheck(L_0);
int32_t L_2 = L_1;
AudioSource_t1135106623 * L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
// audioSources[channelSet].enabled = true;
NullCheck(L_3);
Behaviour_set_enabled_m1796096907(L_3, (bool)1, /*hidden argument*/NULL);
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_4 = V_0;
V_0 = ((int32_t)((int32_t)L_4+(int32_t)1));
}
IL_001c:
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_5 = V_0;
AudioSourceU5BU5D_t1873220070* L_6 = __this->get_audioSources_18();
NullCheck(L_6);
if ((((int32_t)L_5) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_6)->max_length)))))))
{
goto IL_0008;
}
}
{
// if (playOnAwake && !isPlaying && InitializeSoundfield()) {
bool L_7 = __this->get_playOnAwake_4();
if (!L_7)
{
goto IL_0053;
}
}
{
// if (playOnAwake && !isPlaying && InitializeSoundfield()) {
bool L_8 = GvrAudioSoundfield_get_isPlaying_m2063179004(__this, /*hidden argument*/NULL);
if (L_8)
{
goto IL_0053;
}
}
{
// if (playOnAwake && !isPlaying && InitializeSoundfield()) {
bool L_9 = GvrAudioSoundfield_InitializeSoundfield_m2000343270(__this, /*hidden argument*/NULL);
if (!L_9)
{
goto IL_0053;
}
}
{
// Play();
// Play();
GvrAudioSoundfield_Play_m4004363143(__this, /*hidden argument*/NULL);
}
IL_0053:
{
// }
return;
}
}
// System.Void GvrAudioSoundfield::Start()
extern "C" void GvrAudioSoundfield_Start_m988594587 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
{
// if (playOnAwake && !isPlaying) {
bool L_0 = __this->get_playOnAwake_4();
if (!L_0)
{
goto IL_001f;
}
}
{
// if (playOnAwake && !isPlaying) {
bool L_1 = GvrAudioSoundfield_get_isPlaying_m2063179004(__this, /*hidden argument*/NULL);
if (L_1)
{
goto IL_001f;
}
}
{
// Play();
// Play();
GvrAudioSoundfield_Play_m4004363143(__this, /*hidden argument*/NULL);
}
IL_001f:
{
// }
return;
}
}
// System.Void GvrAudioSoundfield::OnDisable()
extern "C" void GvrAudioSoundfield_OnDisable_m133002600 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
// Stop();
// Stop();
GvrAudioSoundfield_Stop_m788222535(__this, /*hidden argument*/NULL);
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
V_0 = 0;
goto IL_0022;
}
IL_000e:
{
// audioSources[channelSet].enabled = false;
AudioSourceU5BU5D_t1873220070* L_0 = __this->get_audioSources_18();
int32_t L_1 = V_0;
NullCheck(L_0);
int32_t L_2 = L_1;
AudioSource_t1135106623 * L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
// audioSources[channelSet].enabled = false;
NullCheck(L_3);
Behaviour_set_enabled_m1796096907(L_3, (bool)0, /*hidden argument*/NULL);
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_4 = V_0;
V_0 = ((int32_t)((int32_t)L_4+(int32_t)1));
}
IL_0022:
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_5 = V_0;
AudioSourceU5BU5D_t1873220070* L_6 = __this->get_audioSources_18();
NullCheck(L_6);
if ((((int32_t)L_5) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_6)->max_length)))))))
{
goto IL_000e;
}
}
{
// }
return;
}
}
// System.Void GvrAudioSoundfield::OnDestroy()
extern "C" void GvrAudioSoundfield_OnDestroy_m1174080950 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSoundfield_OnDestroy_m1174080950_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
V_0 = 0;
goto IL_0020;
}
IL_0008:
{
// Destroy(audioSources[channelSet].gameObject);
AudioSourceU5BU5D_t1873220070* L_0 = __this->get_audioSources_18();
int32_t L_1 = V_0;
NullCheck(L_0);
int32_t L_2 = L_1;
AudioSource_t1135106623 * L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
// Destroy(audioSources[channelSet].gameObject);
NullCheck(L_3);
GameObject_t1756533147 * L_4 = Component_get_gameObject_m3105766835(L_3, /*hidden argument*/NULL);
// Destroy(audioSources[channelSet].gameObject);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
Object_Destroy_m4145850038(NULL /*static, unused*/, L_4, /*hidden argument*/NULL);
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_5 = V_0;
V_0 = ((int32_t)((int32_t)L_5+(int32_t)1));
}
IL_0020:
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_6 = V_0;
AudioSourceU5BU5D_t1873220070* L_7 = __this->get_audioSources_18();
NullCheck(L_7);
if ((((int32_t)L_6) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_7)->max_length)))))))
{
goto IL_0008;
}
}
{
// }
return;
}
}
// System.Void GvrAudioSoundfield::OnApplicationPause(System.Boolean)
extern "C" void GvrAudioSoundfield_OnApplicationPause_m1614769573 (GvrAudioSoundfield_t1301118448 * __this, bool ___pauseStatus0, const MethodInfo* method)
{
{
// if (pauseStatus) {
bool L_0 = ___pauseStatus0;
if (!L_0)
{
goto IL_0014;
}
}
{
// Pause();
// Pause();
GvrAudioSoundfield_Pause_m2499230617(__this, /*hidden argument*/NULL);
goto IL_001c;
}
IL_0014:
{
// UnPause();
// UnPause();
GvrAudioSoundfield_UnPause_m2753349180(__this, /*hidden argument*/NULL);
}
IL_001c:
{
// }
return;
}
}
// System.Void GvrAudioSoundfield::Update()
extern "C" void GvrAudioSoundfield_Update_m2595276686 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSoundfield_Update_m2595276686_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
// if (!isPlaying && !isPaused) {
// if (!isPlaying && !isPaused) {
bool L_0 = GvrAudioSoundfield_get_isPlaying_m2063179004(__this, /*hidden argument*/NULL);
if (L_0)
{
goto IL_0024;
}
}
{
bool L_1 = __this->get_isPaused_19();
if (L_1)
{
goto IL_0024;
}
}
{
// Stop();
// Stop();
GvrAudioSoundfield_Stop_m788222535(__this, /*hidden argument*/NULL);
goto IL_0070;
}
IL_0024:
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
V_0 = 0;
goto IL_0061;
}
IL_002c:
{
// audioSources[channelSet].SetSpatializerFloat((int) GvrAudio.SpatializerData.Gain,
AudioSourceU5BU5D_t1873220070* L_2 = __this->get_audioSources_18();
int32_t L_3 = V_0;
NullCheck(L_2);
int32_t L_4 = L_3;
AudioSource_t1135106623 * L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
float L_6 = __this->get_gainDb_3();
// GvrAudio.ConvertAmplitudeFromDb(gainDb));
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
float L_7 = GvrAudio_ConvertAmplitudeFromDb_m525493451(NULL /*static, unused*/, L_6, /*hidden argument*/NULL);
// audioSources[channelSet].SetSpatializerFloat((int) GvrAudio.SpatializerData.Gain,
NullCheck(L_5);
AudioSource_SetSpatializerFloat_m1516717820(L_5, 4, L_7, /*hidden argument*/NULL);
// audioSources[channelSet].SetSpatializerFloat((int) GvrAudio.SpatializerData.MinDistance,
AudioSourceU5BU5D_t1873220070* L_8 = __this->get_audioSources_18();
int32_t L_9 = V_0;
NullCheck(L_8);
int32_t L_10 = L_9;
AudioSource_t1135106623 * L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
float L_12 = __this->get_soundfieldMinDistance_16();
// audioSources[channelSet].SetSpatializerFloat((int) GvrAudio.SpatializerData.MinDistance,
NullCheck(L_11);
AudioSource_SetSpatializerFloat_m1516717820(L_11, 6, L_12, /*hidden argument*/NULL);
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_13 = V_0;
V_0 = ((int32_t)((int32_t)L_13+(int32_t)1));
}
IL_0061:
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_14 = V_0;
AudioSourceU5BU5D_t1873220070* L_15 = __this->get_audioSources_18();
NullCheck(L_15);
if ((((int32_t)L_14) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_15)->max_length)))))))
{
goto IL_002c;
}
}
{
}
IL_0070:
{
// GvrAudio.UpdateAudioSoundfield(id, this);
int32_t L_16 = __this->get_id_17();
// GvrAudio.UpdateAudioSoundfield(id, this);
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
GvrAudio_UpdateAudioSoundfield_m2589129101(NULL /*static, unused*/, L_16, __this, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrAudioSoundfield::OnValidate()
extern "C" void GvrAudioSoundfield_OnValidate_m402992064 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
{
// clip0102 = soundfieldClip0102;
AudioClip_t1932558630 * L_0 = __this->get_soundfieldClip0102_5();
// clip0102 = soundfieldClip0102;
GvrAudioSoundfield_set_clip0102_m324418954(__this, L_0, /*hidden argument*/NULL);
// clip0304 = soundfieldClip0304;
AudioClip_t1932558630 * L_1 = __this->get_soundfieldClip0304_6();
// clip0304 = soundfieldClip0304;
GvrAudioSoundfield_set_clip0304_m3890960182(__this, L_1, /*hidden argument*/NULL);
// loop = soundfieldLoop;
bool L_2 = __this->get_soundfieldLoop_7();
// loop = soundfieldLoop;
GvrAudioSoundfield_set_loop_m2933465149(__this, L_2, /*hidden argument*/NULL);
// mute = soundfieldMute;
bool L_3 = __this->get_soundfieldMute_8();
// mute = soundfieldMute;
GvrAudioSoundfield_set_mute_m3676534418(__this, L_3, /*hidden argument*/NULL);
// pitch = soundfieldPitch;
float L_4 = __this->get_soundfieldPitch_9();
// pitch = soundfieldPitch;
GvrAudioSoundfield_set_pitch_m1328065293(__this, L_4, /*hidden argument*/NULL);
// priority = soundfieldPriority;
int32_t L_5 = __this->get_soundfieldPriority_10();
// priority = soundfieldPriority;
GvrAudioSoundfield_set_priority_m3260742081(__this, L_5, /*hidden argument*/NULL);
// spatialBlend = soundfieldSpatialBlend;
float L_6 = __this->get_soundfieldSpatialBlend_11();
// spatialBlend = soundfieldSpatialBlend;
GvrAudioSoundfield_set_spatialBlend_m3169449330(__this, L_6, /*hidden argument*/NULL);
// volume = soundfieldVolume;
float L_7 = __this->get_soundfieldVolume_13();
// volume = soundfieldVolume;
GvrAudioSoundfield_set_volume_m317435059(__this, L_7, /*hidden argument*/NULL);
// dopplerLevel = soundfieldDopplerLevel;
float L_8 = __this->get_soundfieldDopplerLevel_12();
// dopplerLevel = soundfieldDopplerLevel;
GvrAudioSoundfield_set_dopplerLevel_m2478224561(__this, L_8, /*hidden argument*/NULL);
// minDistance = soundfieldMinDistance;
float L_9 = __this->get_soundfieldMinDistance_16();
// minDistance = soundfieldMinDistance;
GvrAudioSoundfield_set_minDistance_m3117626096(__this, L_9, /*hidden argument*/NULL);
// maxDistance = soundfieldMaxDistance;
float L_10 = __this->get_soundfieldMaxDistance_15();
// maxDistance = soundfieldMaxDistance;
GvrAudioSoundfield_set_maxDistance_m1287102658(__this, L_10, /*hidden argument*/NULL);
// rolloffMode = soundfieldRolloffMode;
int32_t L_11 = __this->get_soundfieldRolloffMode_14();
// rolloffMode = soundfieldRolloffMode;
GvrAudioSoundfield_set_rolloffMode_m2512403003(__this, L_11, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrAudioSoundfield::Pause()
extern "C" void GvrAudioSoundfield_Pause_m2499230617 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
// if (audioSources != null) {
AudioSourceU5BU5D_t1873220070* L_0 = __this->get_audioSources_18();
if (!L_0)
{
goto IL_003d;
}
}
{
// isPaused = true;
__this->set_isPaused_19((bool)1);
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
V_0 = 0;
goto IL_002e;
}
IL_001b:
{
// audioSources[channelSet].Pause();
AudioSourceU5BU5D_t1873220070* L_1 = __this->get_audioSources_18();
int32_t L_2 = V_0;
NullCheck(L_1);
int32_t L_3 = L_2;
AudioSource_t1135106623 * L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
// audioSources[channelSet].Pause();
NullCheck(L_4);
AudioSource_Pause_m71375470(L_4, /*hidden argument*/NULL);
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_5 = V_0;
V_0 = ((int32_t)((int32_t)L_5+(int32_t)1));
}
IL_002e:
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_6 = V_0;
AudioSourceU5BU5D_t1873220070* L_7 = __this->get_audioSources_18();
NullCheck(L_7);
if ((((int32_t)L_6) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_7)->max_length)))))))
{
goto IL_001b;
}
}
{
}
IL_003d:
{
// }
return;
}
}
// System.Void GvrAudioSoundfield::Play()
extern "C" void GvrAudioSoundfield_Play_m4004363143 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
double V_0 = 0.0;
{
// double dspTime = AudioSettings.dspTime;
double L_0 = AudioSettings_get_dspTime_m2570540328(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = L_0;
// PlayScheduled(dspTime);
double L_1 = V_0;
// PlayScheduled(dspTime);
GvrAudioSoundfield_PlayScheduled_m3074893852(__this, L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrAudioSoundfield::PlayDelayed(System.Single)
extern "C" void GvrAudioSoundfield_PlayDelayed_m609559284 (GvrAudioSoundfield_t1301118448 * __this, float ___delay0, const MethodInfo* method)
{
double V_0 = 0.0;
{
// double delayedDspTime = AudioSettings.dspTime + (double)delay;
double L_0 = AudioSettings_get_dspTime_m2570540328(NULL /*static, unused*/, /*hidden argument*/NULL);
float L_1 = ___delay0;
V_0 = ((double)((double)L_0+(double)(((double)((double)L_1)))));
// PlayScheduled(delayedDspTime);
double L_2 = V_0;
// PlayScheduled(delayedDspTime);
GvrAudioSoundfield_PlayScheduled_m3074893852(__this, L_2, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrAudioSoundfield::PlayScheduled(System.Double)
extern "C" void GvrAudioSoundfield_PlayScheduled_m3074893852 (GvrAudioSoundfield_t1301118448 * __this, double ___time0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSoundfield_PlayScheduled_m3074893852_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
// if (audioSources != null && InitializeSoundfield()) {
AudioSourceU5BU5D_t1873220070* L_0 = __this->get_audioSources_18();
if (!L_0)
{
goto IL_004e;
}
}
{
// if (audioSources != null && InitializeSoundfield()) {
bool L_1 = GvrAudioSoundfield_InitializeSoundfield_m2000343270(__this, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_004e;
}
}
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
V_0 = 0;
goto IL_0033;
}
IL_001f:
{
// audioSources[channelSet].PlayScheduled(time);
AudioSourceU5BU5D_t1873220070* L_2 = __this->get_audioSources_18();
int32_t L_3 = V_0;
NullCheck(L_2);
int32_t L_4 = L_3;
AudioSource_t1135106623 * L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
double L_6 = ___time0;
// audioSources[channelSet].PlayScheduled(time);
NullCheck(L_5);
AudioSource_PlayScheduled_m572677317(L_5, L_6, /*hidden argument*/NULL);
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_7 = V_0;
V_0 = ((int32_t)((int32_t)L_7+(int32_t)1));
}
IL_0033:
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_8 = V_0;
AudioSourceU5BU5D_t1873220070* L_9 = __this->get_audioSources_18();
NullCheck(L_9);
if ((((int32_t)L_8) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_9)->max_length)))))))
{
goto IL_001f;
}
}
{
// isPaused = false;
__this->set_isPaused_19((bool)0);
goto IL_005a;
}
IL_004e:
{
// Debug.LogWarning ("GVR Audio soundfield not initialized. Audio playback not supported " +
// Debug.LogWarning ("GVR Audio soundfield not initialized. Audio playback not supported " +
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_LogWarning_m2503577968(NULL /*static, unused*/, _stringLiteral762922235, /*hidden argument*/NULL);
}
IL_005a:
{
// }
return;
}
}
// System.Void GvrAudioSoundfield::SetScheduledEndTime(System.Double)
extern "C" void GvrAudioSoundfield_SetScheduledEndTime_m4033330700 (GvrAudioSoundfield_t1301118448 * __this, double ___time0, const MethodInfo* method)
{
int32_t V_0 = 0;
{
// if (audioSources != null) {
AudioSourceU5BU5D_t1873220070* L_0 = __this->get_audioSources_18();
if (!L_0)
{
goto IL_0037;
}
}
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
V_0 = 0;
goto IL_0028;
}
IL_0014:
{
// audioSources[channelSet].SetScheduledEndTime(time);
AudioSourceU5BU5D_t1873220070* L_1 = __this->get_audioSources_18();
int32_t L_2 = V_0;
NullCheck(L_1);
int32_t L_3 = L_2;
AudioSource_t1135106623 * L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
double L_5 = ___time0;
// audioSources[channelSet].SetScheduledEndTime(time);
NullCheck(L_4);
AudioSource_SetScheduledEndTime_m122925797(L_4, L_5, /*hidden argument*/NULL);
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_6 = V_0;
V_0 = ((int32_t)((int32_t)L_6+(int32_t)1));
}
IL_0028:
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_7 = V_0;
AudioSourceU5BU5D_t1873220070* L_8 = __this->get_audioSources_18();
NullCheck(L_8);
if ((((int32_t)L_7) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_8)->max_length)))))))
{
goto IL_0014;
}
}
{
}
IL_0037:
{
// }
return;
}
}
// System.Void GvrAudioSoundfield::SetScheduledStartTime(System.Double)
extern "C" void GvrAudioSoundfield_SetScheduledStartTime_m2829202023 (GvrAudioSoundfield_t1301118448 * __this, double ___time0, const MethodInfo* method)
{
int32_t V_0 = 0;
{
// if (audioSources != null) {
AudioSourceU5BU5D_t1873220070* L_0 = __this->get_audioSources_18();
if (!L_0)
{
goto IL_0037;
}
}
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
V_0 = 0;
goto IL_0028;
}
IL_0014:
{
// audioSources[channelSet].SetScheduledStartTime(time);
AudioSourceU5BU5D_t1873220070* L_1 = __this->get_audioSources_18();
int32_t L_2 = V_0;
NullCheck(L_1);
int32_t L_3 = L_2;
AudioSource_t1135106623 * L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
double L_5 = ___time0;
// audioSources[channelSet].SetScheduledStartTime(time);
NullCheck(L_4);
AudioSource_SetScheduledStartTime_m640448526(L_4, L_5, /*hidden argument*/NULL);
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_6 = V_0;
V_0 = ((int32_t)((int32_t)L_6+(int32_t)1));
}
IL_0028:
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_7 = V_0;
AudioSourceU5BU5D_t1873220070* L_8 = __this->get_audioSources_18();
NullCheck(L_8);
if ((((int32_t)L_7) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_8)->max_length)))))))
{
goto IL_0014;
}
}
{
}
IL_0037:
{
// }
return;
}
}
// System.Void GvrAudioSoundfield::Stop()
extern "C" void GvrAudioSoundfield_Stop_m788222535 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
// if(audioSources != null) {
AudioSourceU5BU5D_t1873220070* L_0 = __this->get_audioSources_18();
if (!L_0)
{
goto IL_0043;
}
}
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
V_0 = 0;
goto IL_0027;
}
IL_0014:
{
// audioSources[channelSet].Stop();
AudioSourceU5BU5D_t1873220070* L_1 = __this->get_audioSources_18();
int32_t L_2 = V_0;
NullCheck(L_1);
int32_t L_3 = L_2;
AudioSource_t1135106623 * L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
// audioSources[channelSet].Stop();
NullCheck(L_4);
AudioSource_Stop_m3452679614(L_4, /*hidden argument*/NULL);
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_5 = V_0;
V_0 = ((int32_t)((int32_t)L_5+(int32_t)1));
}
IL_0027:
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_6 = V_0;
AudioSourceU5BU5D_t1873220070* L_7 = __this->get_audioSources_18();
NullCheck(L_7);
if ((((int32_t)L_6) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_7)->max_length)))))))
{
goto IL_0014;
}
}
{
// ShutdownSoundfield();
// ShutdownSoundfield();
GvrAudioSoundfield_ShutdownSoundfield_m2554412452(__this, /*hidden argument*/NULL);
// isPaused = false;
__this->set_isPaused_19((bool)0);
}
IL_0043:
{
// }
return;
}
}
// System.Void GvrAudioSoundfield::UnPause()
extern "C" void GvrAudioSoundfield_UnPause_m2753349180 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
// if (audioSources != null) {
AudioSourceU5BU5D_t1873220070* L_0 = __this->get_audioSources_18();
if (!L_0)
{
goto IL_003d;
}
}
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
V_0 = 0;
goto IL_0027;
}
IL_0014:
{
// audioSources[channelSet].UnPause();
AudioSourceU5BU5D_t1873220070* L_1 = __this->get_audioSources_18();
int32_t L_2 = V_0;
NullCheck(L_1);
int32_t L_3 = L_2;
AudioSource_t1135106623 * L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
// audioSources[channelSet].UnPause();
NullCheck(L_4);
AudioSource_UnPause_m1911402783(L_4, /*hidden argument*/NULL);
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_5 = V_0;
V_0 = ((int32_t)((int32_t)L_5+(int32_t)1));
}
IL_0027:
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_6 = V_0;
AudioSourceU5BU5D_t1873220070* L_7 = __this->get_audioSources_18();
NullCheck(L_7);
if ((((int32_t)L_6) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_7)->max_length)))))))
{
goto IL_0014;
}
}
{
// isPaused = true;
__this->set_isPaused_19((bool)1);
}
IL_003d:
{
// }
return;
}
}
// System.Boolean GvrAudioSoundfield::InitializeSoundfield()
extern "C" bool GvrAudioSoundfield_InitializeSoundfield_m2000343270 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSoundfield_InitializeSoundfield_m2000343270_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
bool V_1 = false;
{
// if (id < 0) {
int32_t L_0 = __this->get_id_17();
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_005e;
}
}
{
// id = GvrAudio.CreateAudioSoundfield();
// id = GvrAudio.CreateAudioSoundfield();
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
int32_t L_1 = GvrAudio_CreateAudioSoundfield_m1783995047(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_id_17(L_1);
// if (id >= 0) {
int32_t L_2 = __this->get_id_17();
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_005d;
}
}
{
// GvrAudio.UpdateAudioSoundfield(id, this);
int32_t L_3 = __this->get_id_17();
// GvrAudio.UpdateAudioSoundfield(id, this);
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
GvrAudio_UpdateAudioSoundfield_m2589129101(NULL /*static, unused*/, L_3, __this, /*hidden argument*/NULL);
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
V_0 = 0;
goto IL_004e;
}
IL_0039:
{
// InitializeChannelSet(audioSources[channelSet], channelSet);
AudioSourceU5BU5D_t1873220070* L_4 = __this->get_audioSources_18();
int32_t L_5 = V_0;
NullCheck(L_4);
int32_t L_6 = L_5;
AudioSource_t1135106623 * L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
int32_t L_8 = V_0;
// InitializeChannelSet(audioSources[channelSet], channelSet);
GvrAudioSoundfield_InitializeChannelSet_m2342420071(__this, L_7, L_8, /*hidden argument*/NULL);
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_9 = V_0;
V_0 = ((int32_t)((int32_t)L_9+(int32_t)1));
}
IL_004e:
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_10 = V_0;
AudioSourceU5BU5D_t1873220070* L_11 = __this->get_audioSources_18();
NullCheck(L_11);
if ((((int32_t)L_10) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_11)->max_length)))))))
{
goto IL_0039;
}
}
{
}
IL_005d:
{
}
IL_005e:
{
// return id >= 0;
int32_t L_12 = __this->get_id_17();
V_1 = (bool)((((int32_t)((((int32_t)L_12) < ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_0070;
}
IL_0070:
{
// }
bool L_13 = V_1;
return L_13;
}
}
// System.Void GvrAudioSoundfield::ShutdownSoundfield()
extern "C" void GvrAudioSoundfield_ShutdownSoundfield_m2554412452 (GvrAudioSoundfield_t1301118448 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSoundfield_ShutdownSoundfield_m2554412452_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
// if (id >= 0) {
int32_t L_0 = __this->get_id_17();
if ((((int32_t)L_0) < ((int32_t)0)))
{
goto IL_004b;
}
}
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
V_0 = 0;
goto IL_002a;
}
IL_0015:
{
// ShutdownChannelSet(audioSources[channelSet], channelSet);
AudioSourceU5BU5D_t1873220070* L_1 = __this->get_audioSources_18();
int32_t L_2 = V_0;
NullCheck(L_1);
int32_t L_3 = L_2;
AudioSource_t1135106623 * L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
int32_t L_5 = V_0;
// ShutdownChannelSet(audioSources[channelSet], channelSet);
GvrAudioSoundfield_ShutdownChannelSet_m1300044223(__this, L_4, L_5, /*hidden argument*/NULL);
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_6 = V_0;
V_0 = ((int32_t)((int32_t)L_6+(int32_t)1));
}
IL_002a:
{
// for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet) {
int32_t L_7 = V_0;
AudioSourceU5BU5D_t1873220070* L_8 = __this->get_audioSources_18();
NullCheck(L_8);
if ((((int32_t)L_7) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_8)->max_length)))))))
{
goto IL_0015;
}
}
{
// GvrAudio.DestroyAudioSource(id);
int32_t L_9 = __this->get_id_17();
// GvrAudio.DestroyAudioSource(id);
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
GvrAudio_DestroyAudioSource_m801182782(NULL /*static, unused*/, L_9, /*hidden argument*/NULL);
// id = -1;
__this->set_id_17((-1));
}
IL_004b:
{
// }
return;
}
}
// System.Void GvrAudioSoundfield::InitializeChannelSet(UnityEngine.AudioSource,System.Int32)
extern "C" void GvrAudioSoundfield_InitializeChannelSet_m2342420071 (GvrAudioSoundfield_t1301118448 * __this, AudioSource_t1135106623 * ___source0, int32_t ___channelSet1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSoundfield_InitializeChannelSet_m2342420071_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// source.spatialize = true;
AudioSource_t1135106623 * L_0 = ___source0;
// source.spatialize = true;
NullCheck(L_0);
AudioSource_set_spatialize_m4140626972(L_0, (bool)1, /*hidden argument*/NULL);
// source.SetSpatializerFloat((int) GvrAudio.SpatializerData.Type,
AudioSource_t1135106623 * L_1 = ___source0;
// source.SetSpatializerFloat((int) GvrAudio.SpatializerData.Type,
NullCheck(L_1);
AudioSource_SetSpatializerFloat_m1516717820(L_1, 1, (1.0f), /*hidden argument*/NULL);
// source.SetSpatializerFloat((int) GvrAudio.SpatializerData.NumChannels,
AudioSource_t1135106623 * L_2 = ___source0;
// source.SetSpatializerFloat((int) GvrAudio.SpatializerData.NumChannels,
NullCheck(L_2);
AudioSource_SetSpatializerFloat_m1516717820(L_2, 2, (4.0f), /*hidden argument*/NULL);
// source.SetSpatializerFloat((int) GvrAudio.SpatializerData.ChannelSet, (float) channelSet);
AudioSource_t1135106623 * L_3 = ___source0;
int32_t L_4 = ___channelSet1;
// source.SetSpatializerFloat((int) GvrAudio.SpatializerData.ChannelSet, (float) channelSet);
NullCheck(L_3);
AudioSource_SetSpatializerFloat_m1516717820(L_3, 3, (((float)((float)L_4))), /*hidden argument*/NULL);
// source.SetSpatializerFloat((int) GvrAudio.SpatializerData.Gain,
AudioSource_t1135106623 * L_5 = ___source0;
float L_6 = __this->get_gainDb_3();
// GvrAudio.ConvertAmplitudeFromDb(gainDb));
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
float L_7 = GvrAudio_ConvertAmplitudeFromDb_m525493451(NULL /*static, unused*/, L_6, /*hidden argument*/NULL);
// source.SetSpatializerFloat((int) GvrAudio.SpatializerData.Gain,
NullCheck(L_5);
AudioSource_SetSpatializerFloat_m1516717820(L_5, 4, L_7, /*hidden argument*/NULL);
// source.SetSpatializerFloat((int) GvrAudio.SpatializerData.MinDistance, soundfieldMinDistance);
AudioSource_t1135106623 * L_8 = ___source0;
float L_9 = __this->get_soundfieldMinDistance_16();
// source.SetSpatializerFloat((int) GvrAudio.SpatializerData.MinDistance, soundfieldMinDistance);
NullCheck(L_8);
AudioSource_SetSpatializerFloat_m1516717820(L_8, 6, L_9, /*hidden argument*/NULL);
// source.SetSpatializerFloat((int) GvrAudio.SpatializerData.ZeroOutput, 0.0f);
AudioSource_t1135106623 * L_10 = ___source0;
// source.SetSpatializerFloat((int) GvrAudio.SpatializerData.ZeroOutput, 0.0f);
NullCheck(L_10);
AudioSource_SetSpatializerFloat_m1516717820(L_10, 7, (0.0f), /*hidden argument*/NULL);
// source.SetSpatializerFloat((int) GvrAudio.SpatializerData.Id, (float) id);
AudioSource_t1135106623 * L_11 = ___source0;
int32_t L_12 = __this->get_id_17();
// source.SetSpatializerFloat((int) GvrAudio.SpatializerData.Id, (float) id);
NullCheck(L_11);
AudioSource_SetSpatializerFloat_m1516717820(L_11, 0, (((float)((float)L_12))), /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrAudioSoundfield::ShutdownChannelSet(UnityEngine.AudioSource,System.Int32)
extern "C" void GvrAudioSoundfield_ShutdownChannelSet_m1300044223 (GvrAudioSoundfield_t1301118448 * __this, AudioSource_t1135106623 * ___source0, int32_t ___channelSet1, const MethodInfo* method)
{
{
// source.SetSpatializerFloat((int) GvrAudio.SpatializerData.Id, -1.0f);
AudioSource_t1135106623 * L_0 = ___source0;
// source.SetSpatializerFloat((int) GvrAudio.SpatializerData.Id, -1.0f);
NullCheck(L_0);
AudioSource_SetSpatializerFloat_m1516717820(L_0, 0, (-1.0f), /*hidden argument*/NULL);
// source.SetSpatializerFloat((int) GvrAudio.SpatializerData.ZeroOutput, 1.0f);
AudioSource_t1135106623 * L_1 = ___source0;
// source.SetSpatializerFloat((int) GvrAudio.SpatializerData.ZeroOutput, 1.0f);
NullCheck(L_1);
AudioSource_SetSpatializerFloat_m1516717820(L_1, 7, (1.0f), /*hidden argument*/NULL);
// source.spatialize = false;
AudioSource_t1135106623 * L_2 = ___source0;
// source.spatialize = false;
NullCheck(L_2);
AudioSource_set_spatialize_m4140626972(L_2, (bool)0, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrAudioSource::.ctor()
extern "C" void GvrAudioSource__ctor_m3669457171 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
{
// public bool bypassRoomEffects = false;
__this->set_bypassRoomEffects_2((bool)0);
// public float directivityAlpha = 0.0f;
__this->set_directivityAlpha_3((0.0f));
// public float directivitySharpness = 1.0f;
__this->set_directivitySharpness_4((1.0f));
// public float listenerDirectivityAlpha = 0.0f;
__this->set_listenerDirectivityAlpha_5((0.0f));
// public float listenerDirectivitySharpness = 1.0f;
__this->set_listenerDirectivitySharpness_6((1.0f));
// public float gainDb = 0.0f;
__this->set_gainDb_7((0.0f));
// public bool occlusionEnabled = false;
__this->set_occlusionEnabled_8((bool)0);
// public bool playOnAwake = true;
__this->set_playOnAwake_9((bool)1);
// private AudioClip sourceClip = null;
__this->set_sourceClip_10((AudioClip_t1932558630 *)NULL);
// private bool sourceLoop = false;
__this->set_sourceLoop_11((bool)0);
// private bool sourceMute = false;
__this->set_sourceMute_12((bool)0);
// private float sourcePitch = 1.0f;
__this->set_sourcePitch_13((1.0f));
// private int sourcePriority = 128;
__this->set_sourcePriority_14(((int32_t)128));
// private float sourceSpatialBlend = 1.0f;
__this->set_sourceSpatialBlend_15((1.0f));
// private float sourceDopplerLevel = 1.0f;
__this->set_sourceDopplerLevel_16((1.0f));
// private float sourceSpread = 0.0f;
__this->set_sourceSpread_17((0.0f));
// private float sourceVolume = 1.0f;
__this->set_sourceVolume_18((1.0f));
// private AudioRolloffMode sourceRolloffMode = AudioRolloffMode.Logarithmic;
__this->set_sourceRolloffMode_19(0);
// private float sourceMaxDistance = 500.0f;
__this->set_sourceMaxDistance_20((500.0f));
// private float sourceMinDistance = 1.0f;
__this->set_sourceMinDistance_21((1.0f));
// private bool hrtfEnabled = true;
__this->set_hrtfEnabled_22((bool)1);
// private AudioSource audioSource = null;
__this->set_audioSource_23((AudioSource_t1135106623 *)NULL);
// private int id = -1;
__this->set_id_24((-1));
// private float currentOcclusion = 0.0f;
__this->set_currentOcclusion_25((0.0f));
// private float nextOcclusionUpdate = 0.0f;
__this->set_nextOcclusionUpdate_26((0.0f));
// private bool isPaused = false;
__this->set_isPaused_27((bool)0);
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.AudioClip GvrAudioSource::get_clip()
extern "C" AudioClip_t1932558630 * GvrAudioSource_get_clip_m314569926 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
AudioClip_t1932558630 * V_0 = NULL;
{
// get { return sourceClip; }
AudioClip_t1932558630 * L_0 = __this->get_sourceClip_10();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// get { return sourceClip; }
AudioClip_t1932558630 * L_1 = V_0;
return L_1;
}
}
// System.Void GvrAudioSource::set_clip(UnityEngine.AudioClip)
extern "C" void GvrAudioSource_set_clip_m150171591 (GvrAudioSource_t2307460312 * __this, AudioClip_t1932558630 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_set_clip_m150171591_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// sourceClip = value;
AudioClip_t1932558630 * L_0 = ___value0;
__this->set_sourceClip_10(L_0);
// if (audioSource != null) {
AudioSource_t1135106623 * L_1 = __this->get_audioSource_23();
// if (audioSource != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_1, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_002c;
}
}
{
// audioSource.clip = sourceClip;
AudioSource_t1135106623 * L_3 = __this->get_audioSource_23();
AudioClip_t1932558630 * L_4 = __this->get_sourceClip_10();
// audioSource.clip = sourceClip;
NullCheck(L_3);
AudioSource_set_clip_m738814682(L_3, L_4, /*hidden argument*/NULL);
}
IL_002c:
{
// }
return;
}
}
// System.Boolean GvrAudioSource::get_isPlaying()
extern "C" bool GvrAudioSource_get_isPlaying_m3816759052 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_get_isPlaying_m3816759052_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
// if (audioSource != null) {
AudioSource_t1135106623 * L_0 = __this->get_audioSource_23();
// if (audioSource != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0024;
}
}
{
// return audioSource.isPlaying;
AudioSource_t1135106623 * L_2 = __this->get_audioSource_23();
// return audioSource.isPlaying;
NullCheck(L_2);
bool L_3 = AudioSource_get_isPlaying_m3677592677(L_2, /*hidden argument*/NULL);
V_0 = L_3;
goto IL_002b;
}
IL_0024:
{
// return false;
V_0 = (bool)0;
goto IL_002b;
}
IL_002b:
{
// }
bool L_4 = V_0;
return L_4;
}
}
// System.Boolean GvrAudioSource::get_loop()
extern "C" bool GvrAudioSource_get_loop_m1298561502 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
bool V_0 = false;
{
// get { return sourceLoop; }
bool L_0 = __this->get_sourceLoop_11();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// get { return sourceLoop; }
bool L_1 = V_0;
return L_1;
}
}
// System.Void GvrAudioSource::set_loop(System.Boolean)
extern "C" void GvrAudioSource_set_loop_m1477845813 (GvrAudioSource_t2307460312 * __this, bool ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_set_loop_m1477845813_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// sourceLoop = value;
bool L_0 = ___value0;
__this->set_sourceLoop_11(L_0);
// if (audioSource != null) {
AudioSource_t1135106623 * L_1 = __this->get_audioSource_23();
// if (audioSource != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_1, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_002c;
}
}
{
// audioSource.loop = sourceLoop;
AudioSource_t1135106623 * L_3 = __this->get_audioSource_23();
bool L_4 = __this->get_sourceLoop_11();
// audioSource.loop = sourceLoop;
NullCheck(L_3);
AudioSource_set_loop_m313035616(L_3, L_4, /*hidden argument*/NULL);
}
IL_002c:
{
// }
return;
}
}
// System.Boolean GvrAudioSource::get_mute()
extern "C" bool GvrAudioSource_get_mute_m774819547 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
bool V_0 = false;
{
// get { return sourceMute; }
bool L_0 = __this->get_sourceMute_12();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// get { return sourceMute; }
bool L_1 = V_0;
return L_1;
}
}
// System.Void GvrAudioSource::set_mute(System.Boolean)
extern "C" void GvrAudioSource_set_mute_m2720289274 (GvrAudioSource_t2307460312 * __this, bool ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_set_mute_m2720289274_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// sourceMute = value;
bool L_0 = ___value0;
__this->set_sourceMute_12(L_0);
// if (audioSource != null) {
AudioSource_t1135106623 * L_1 = __this->get_audioSource_23();
// if (audioSource != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_1, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_002c;
}
}
{
// audioSource.mute = sourceMute;
AudioSource_t1135106623 * L_3 = __this->get_audioSource_23();
bool L_4 = __this->get_sourceMute_12();
// audioSource.mute = sourceMute;
NullCheck(L_3);
AudioSource_set_mute_m3645750033(L_3, L_4, /*hidden argument*/NULL);
}
IL_002c:
{
// }
return;
}
}
// System.Single GvrAudioSource::get_pitch()
extern "C" float GvrAudioSource_get_pitch_m3338566872 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
// get { return sourcePitch; }
float L_0 = __this->get_sourcePitch_13();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// get { return sourcePitch; }
float L_1 = V_0;
return L_1;
}
}
// System.Void GvrAudioSource::set_pitch(System.Single)
extern "C" void GvrAudioSource_set_pitch_m2341430061 (GvrAudioSource_t2307460312 * __this, float ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_set_pitch_m2341430061_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// sourcePitch = value;
float L_0 = ___value0;
__this->set_sourcePitch_13(L_0);
// if (audioSource != null) {
AudioSource_t1135106623 * L_1 = __this->get_audioSource_23();
// if (audioSource != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_1, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_002c;
}
}
{
// audioSource.pitch = sourcePitch;
AudioSource_t1135106623 * L_3 = __this->get_audioSource_23();
float L_4 = __this->get_sourcePitch_13();
// audioSource.pitch = sourcePitch;
NullCheck(L_3);
AudioSource_set_pitch_m3064416458(L_3, L_4, /*hidden argument*/NULL);
}
IL_002c:
{
// }
return;
}
}
// System.Int32 GvrAudioSource::get_priority()
extern "C" int32_t GvrAudioSource_get_priority_m1549690748 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
// get { return sourcePriority; }
int32_t L_0 = __this->get_sourcePriority_14();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// get { return sourcePriority; }
int32_t L_1 = V_0;
return L_1;
}
}
// System.Void GvrAudioSource::set_priority(System.Int32)
extern "C" void GvrAudioSource_set_priority_m2028801425 (GvrAudioSource_t2307460312 * __this, int32_t ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_set_priority_m2028801425_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// sourcePriority = value;
int32_t L_0 = ___value0;
__this->set_sourcePriority_14(L_0);
// if(audioSource != null) {
AudioSource_t1135106623 * L_1 = __this->get_audioSource_23();
// if(audioSource != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_1, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_002c;
}
}
{
// audioSource.priority = sourcePriority;
AudioSource_t1135106623 * L_3 = __this->get_audioSource_23();
int32_t L_4 = __this->get_sourcePriority_14();
// audioSource.priority = sourcePriority;
NullCheck(L_3);
AudioSource_set_priority_m608149462(L_3, L_4, /*hidden argument*/NULL);
}
IL_002c:
{
// }
return;
}
}
// System.Single GvrAudioSource::get_spatialBlend()
extern "C" float GvrAudioSource_get_spatialBlend_m3488469079 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
// get { return sourceSpatialBlend; }
float L_0 = __this->get_sourceSpatialBlend_15();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// get { return sourceSpatialBlend; }
float L_1 = V_0;
return L_1;
}
}
// System.Void GvrAudioSource::set_spatialBlend(System.Single)
extern "C" void GvrAudioSource_set_spatialBlend_m2613394170 (GvrAudioSource_t2307460312 * __this, float ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_set_spatialBlend_m2613394170_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// sourceSpatialBlend = value;
float L_0 = ___value0;
__this->set_sourceSpatialBlend_15(L_0);
// if (audioSource != null) {
AudioSource_t1135106623 * L_1 = __this->get_audioSource_23();
// if (audioSource != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_1, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_002c;
}
}
{
// audioSource.spatialBlend = sourceSpatialBlend;
AudioSource_t1135106623 * L_3 = __this->get_audioSource_23();
float L_4 = __this->get_sourceSpatialBlend_15();
// audioSource.spatialBlend = sourceSpatialBlend;
NullCheck(L_3);
AudioSource_set_spatialBlend_m387590113(L_3, L_4, /*hidden argument*/NULL);
}
IL_002c:
{
// }
return;
}
}
// System.Single GvrAudioSource::get_dopplerLevel()
extern "C" float GvrAudioSource_get_dopplerLevel_m3235884738 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
// get { return sourceDopplerLevel; }
float L_0 = __this->get_sourceDopplerLevel_16();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// get { return sourceDopplerLevel; }
float L_1 = V_0;
return L_1;
}
}
// System.Void GvrAudioSource::set_dopplerLevel(System.Single)
extern "C" void GvrAudioSource_set_dopplerLevel_m2475613985 (GvrAudioSource_t2307460312 * __this, float ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_set_dopplerLevel_m2475613985_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// sourceDopplerLevel = value;
float L_0 = ___value0;
__this->set_sourceDopplerLevel_16(L_0);
// if(audioSource != null) {
AudioSource_t1135106623 * L_1 = __this->get_audioSource_23();
// if(audioSource != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_1, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_002c;
}
}
{
// audioSource.dopplerLevel = sourceDopplerLevel;
AudioSource_t1135106623 * L_3 = __this->get_audioSource_23();
float L_4 = __this->get_sourceDopplerLevel_16();
// audioSource.dopplerLevel = sourceDopplerLevel;
NullCheck(L_3);
AudioSource_set_dopplerLevel_m107848870(L_3, L_4, /*hidden argument*/NULL);
}
IL_002c:
{
// }
return;
}
}
// System.Single GvrAudioSource::get_spread()
extern "C" float GvrAudioSource_get_spread_m2820711937 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
// get { return sourceSpread; }
float L_0 = __this->get_sourceSpread_17();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// get { return sourceSpread; }
float L_1 = V_0;
return L_1;
}
}
// System.Void GvrAudioSource::set_spread(System.Single)
extern "C" void GvrAudioSource_set_spread_m4221610670 (GvrAudioSource_t2307460312 * __this, float ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_set_spread_m4221610670_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// sourceSpread = value;
float L_0 = ___value0;
__this->set_sourceSpread_17(L_0);
// if(audioSource != null) {
AudioSource_t1135106623 * L_1 = __this->get_audioSource_23();
// if(audioSource != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_1, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_002c;
}
}
{
// audioSource.spread = sourceSpread;
AudioSource_t1135106623 * L_3 = __this->get_audioSource_23();
float L_4 = __this->get_sourceSpread_17();
// audioSource.spread = sourceSpread;
NullCheck(L_3);
AudioSource_set_spread_m1707451775(L_3, L_4, /*hidden argument*/NULL);
}
IL_002c:
{
// }
return;
}
}
// System.Single GvrAudioSource::get_time()
extern "C" float GvrAudioSource_get_time_m2664362289 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_get_time_m2664362289_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
{
// if(audioSource != null) {
AudioSource_t1135106623 * L_0 = __this->get_audioSource_23();
// if(audioSource != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0024;
}
}
{
// return audioSource.time;
AudioSource_t1135106623 * L_2 = __this->get_audioSource_23();
// return audioSource.time;
NullCheck(L_2);
float L_3 = AudioSource_get_time_m1465582328(L_2, /*hidden argument*/NULL);
V_0 = L_3;
goto IL_002f;
}
IL_0024:
{
// return 0.0f;
V_0 = (0.0f);
goto IL_002f;
}
IL_002f:
{
// }
float L_4 = V_0;
return L_4;
}
}
// System.Void GvrAudioSource::set_time(System.Single)
extern "C" void GvrAudioSource_set_time_m3812878640 (GvrAudioSource_t2307460312 * __this, float ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_set_time_m3812878640_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if(audioSource != null) {
AudioSource_t1135106623 * L_0 = __this->get_audioSource_23();
// if(audioSource != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0020;
}
}
{
// audioSource.time = value;
AudioSource_t1135106623 * L_2 = __this->get_audioSource_23();
float L_3 = ___value0;
// audioSource.time = value;
NullCheck(L_2);
AudioSource_set_time_m2642008583(L_2, L_3, /*hidden argument*/NULL);
}
IL_0020:
{
// }
return;
}
}
// System.Int32 GvrAudioSource::get_timeSamples()
extern "C" int32_t GvrAudioSource_get_timeSamples_m1777353574 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_get_timeSamples_m1777353574_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
// if(audioSource != null) {
AudioSource_t1135106623 * L_0 = __this->get_audioSource_23();
// if(audioSource != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0024;
}
}
{
// return audioSource.timeSamples;
AudioSource_t1135106623 * L_2 = __this->get_audioSource_23();
// return audioSource.timeSamples;
NullCheck(L_2);
int32_t L_3 = AudioSource_get_timeSamples_m1719074425(L_2, /*hidden argument*/NULL);
V_0 = L_3;
goto IL_002b;
}
IL_0024:
{
// return 0;
V_0 = 0;
goto IL_002b;
}
IL_002b:
{
// }
int32_t L_4 = V_0;
return L_4;
}
}
// System.Void GvrAudioSource::set_timeSamples(System.Int32)
extern "C" void GvrAudioSource_set_timeSamples_m564442159 (GvrAudioSource_t2307460312 * __this, int32_t ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_set_timeSamples_m564442159_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if(audioSource != null) {
AudioSource_t1135106623 * L_0 = __this->get_audioSource_23();
// if(audioSource != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0020;
}
}
{
// audioSource.timeSamples = value;
AudioSource_t1135106623 * L_2 = __this->get_audioSource_23();
int32_t L_3 = ___value0;
// audioSource.timeSamples = value;
NullCheck(L_2);
AudioSource_set_timeSamples_m1321768050(L_2, L_3, /*hidden argument*/NULL);
}
IL_0020:
{
// }
return;
}
}
// System.Single GvrAudioSource::get_volume()
extern "C" float GvrAudioSource_get_volume_m4075726166 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
// get { return sourceVolume; }
float L_0 = __this->get_sourceVolume_18();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// get { return sourceVolume; }
float L_1 = V_0;
return L_1;
}
}
// System.Void GvrAudioSource::set_volume(System.Single)
extern "C" void GvrAudioSource_set_volume_m1423146671 (GvrAudioSource_t2307460312 * __this, float ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_set_volume_m1423146671_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// sourceVolume = value;
float L_0 = ___value0;
__this->set_sourceVolume_18(L_0);
// if (audioSource != null) {
AudioSource_t1135106623 * L_1 = __this->get_audioSource_23();
// if (audioSource != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_1, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_002c;
}
}
{
// audioSource.volume = sourceVolume;
AudioSource_t1135106623 * L_3 = __this->get_audioSource_23();
float L_4 = __this->get_sourceVolume_18();
// audioSource.volume = sourceVolume;
NullCheck(L_3);
AudioSource_set_volume_m2777308722(L_3, L_4, /*hidden argument*/NULL);
}
IL_002c:
{
// }
return;
}
}
// UnityEngine.AudioRolloffMode GvrAudioSource::get_rolloffMode()
extern "C" int32_t GvrAudioSource_get_rolloffMode_m2079256484 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
// get { return sourceRolloffMode; }
int32_t L_0 = __this->get_sourceRolloffMode_19();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// get { return sourceRolloffMode; }
int32_t L_1 = V_0;
return L_1;
}
}
// System.Void GvrAudioSource::set_rolloffMode(UnityEngine.AudioRolloffMode)
extern "C" void GvrAudioSource_set_rolloffMode_m3982865991 (GvrAudioSource_t2307460312 * __this, int32_t ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_set_rolloffMode_m3982865991_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// sourceRolloffMode = value;
int32_t L_0 = ___value0;
__this->set_sourceRolloffMode_19(L_0);
// if (audioSource != null) {
AudioSource_t1135106623 * L_1 = __this->get_audioSource_23();
// if (audioSource != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_1, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0061;
}
}
{
// audioSource.rolloffMode = sourceRolloffMode;
AudioSource_t1135106623 * L_3 = __this->get_audioSource_23();
int32_t L_4 = __this->get_sourceRolloffMode_19();
// audioSource.rolloffMode = sourceRolloffMode;
NullCheck(L_3);
AudioSource_set_rolloffMode_m2959852922(L_3, L_4, /*hidden argument*/NULL);
// if (rolloffMode == AudioRolloffMode.Custom) {
// if (rolloffMode == AudioRolloffMode.Custom) {
int32_t L_5 = GvrAudioSource_get_rolloffMode_m2079256484(__this, /*hidden argument*/NULL);
if ((!(((uint32_t)L_5) == ((uint32_t)2))))
{
goto IL_0060;
}
}
{
// audioSource.SetCustomCurve(AudioSourceCurveType.CustomRolloff,
AudioSource_t1135106623 * L_6 = __this->get_audioSource_23();
float L_7 = __this->get_sourceMinDistance_21();
float L_8 = __this->get_sourceMaxDistance_20();
// AnimationCurve.Linear(sourceMinDistance, 1.0f,
AnimationCurve_t3306541151 * L_9 = AnimationCurve_Linear_m125562148(NULL /*static, unused*/, L_7, (1.0f), L_8, (1.0f), /*hidden argument*/NULL);
// audioSource.SetCustomCurve(AudioSourceCurveType.CustomRolloff,
NullCheck(L_6);
AudioSource_SetCustomCurve_m1269103073(L_6, 0, L_9, /*hidden argument*/NULL);
}
IL_0060:
{
}
IL_0061:
{
// }
return;
}
}
// System.Single GvrAudioSource::get_maxDistance()
extern "C" float GvrAudioSource_get_maxDistance_m98035543 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
// get { return sourceMaxDistance; }
float L_0 = __this->get_sourceMaxDistance_20();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// get { return sourceMaxDistance; }
float L_1 = V_0;
return L_1;
}
}
// System.Void GvrAudioSource::set_maxDistance(System.Single)
extern "C" void GvrAudioSource_set_maxDistance_m4049442018 (GvrAudioSource_t2307460312 * __this, float ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_set_maxDistance_m4049442018_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// sourceMaxDistance = Mathf.Clamp(value, sourceMinDistance + GvrAudio.distanceEpsilon,
float L_0 = ___value0;
float L_1 = __this->get_sourceMinDistance_21();
// sourceMaxDistance = Mathf.Clamp(value, sourceMinDistance + GvrAudio.distanceEpsilon,
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_2 = Mathf_Clamp_m2354025655(NULL /*static, unused*/, L_0, ((float)((float)L_1+(float)(0.01f))), (1000000.0f), /*hidden argument*/NULL);
__this->set_sourceMaxDistance_20(L_2);
// if(audioSource != null) {
AudioSource_t1135106623 * L_3 = __this->get_audioSource_23();
// if(audioSource != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_4 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_3, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_0042;
}
}
{
// audioSource.maxDistance = sourceMaxDistance;
AudioSource_t1135106623 * L_5 = __this->get_audioSource_23();
float L_6 = __this->get_sourceMaxDistance_20();
// audioSource.maxDistance = sourceMaxDistance;
NullCheck(L_5);
AudioSource_set_maxDistance_m2780167297(L_5, L_6, /*hidden argument*/NULL);
}
IL_0042:
{
// }
return;
}
}
// System.Single GvrAudioSource::get_minDistance()
extern "C" float GvrAudioSource_get_minDistance_m495601449 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
// get { return sourceMinDistance; }
float L_0 = __this->get_sourceMinDistance_21();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// get { return sourceMinDistance; }
float L_1 = V_0;
return L_1;
}
}
// System.Void GvrAudioSource::set_minDistance(System.Single)
extern "C" void GvrAudioSource_set_minDistance_m4182013404 (GvrAudioSource_t2307460312 * __this, float ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_set_minDistance_m4182013404_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// sourceMinDistance = Mathf.Clamp(value, 0.0f, GvrAudio.minDistanceLimit);
float L_0 = ___value0;
// sourceMinDistance = Mathf.Clamp(value, 0.0f, GvrAudio.minDistanceLimit);
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_1 = Mathf_Clamp_m2354025655(NULL /*static, unused*/, L_0, (0.0f), (990099.0f), /*hidden argument*/NULL);
__this->set_sourceMinDistance_21(L_1);
// if(audioSource != null) {
AudioSource_t1135106623 * L_2 = __this->get_audioSource_23();
// if(audioSource != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_3 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_2, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_003b;
}
}
{
// audioSource.minDistance = sourceMinDistance;
AudioSource_t1135106623 * L_4 = __this->get_audioSource_23();
float L_5 = __this->get_sourceMinDistance_21();
// audioSource.minDistance = sourceMinDistance;
NullCheck(L_4);
AudioSource_set_minDistance_m3497133611(L_4, L_5, /*hidden argument*/NULL);
}
IL_003b:
{
// }
return;
}
}
// System.Void GvrAudioSource::Awake()
extern "C" void GvrAudioSource_Awake_m3633096 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_Awake_m3633096_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
AudioMixer_t3244290001 * V_0 = NULL;
{
// if (audioSource == null) {
AudioSource_t1135106623 * L_0 = __this->get_audioSource_23();
// if (audioSource == null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0025;
}
}
{
// audioSource = gameObject.AddComponent<AudioSource>();
// audioSource = gameObject.AddComponent<AudioSource>();
GameObject_t1756533147 * L_2 = Component_get_gameObject_m3105766835(__this, /*hidden argument*/NULL);
// audioSource = gameObject.AddComponent<AudioSource>();
NullCheck(L_2);
AudioSource_t1135106623 * L_3 = GameObject_AddComponent_TisAudioSource_t1135106623_m1060393270(L_2, /*hidden argument*/GameObject_AddComponent_TisAudioSource_t1135106623_m1060393270_MethodInfo_var);
__this->set_audioSource_23(L_3);
}
IL_0025:
{
// audioSource.enabled = false;
AudioSource_t1135106623 * L_4 = __this->get_audioSource_23();
// audioSource.enabled = false;
NullCheck(L_4);
Behaviour_set_enabled_m1796096907(L_4, (bool)0, /*hidden argument*/NULL);
// audioSource.hideFlags = HideFlags.HideInInspector | HideFlags.HideAndDontSave;
AudioSource_t1135106623 * L_5 = __this->get_audioSource_23();
// audioSource.hideFlags = HideFlags.HideInInspector | HideFlags.HideAndDontSave;
NullCheck(L_5);
Object_set_hideFlags_m2204253440(L_5, ((int32_t)63), /*hidden argument*/NULL);
// audioSource.playOnAwake = false;
AudioSource_t1135106623 * L_6 = __this->get_audioSource_23();
// audioSource.playOnAwake = false;
NullCheck(L_6);
AudioSource_set_playOnAwake_m858475204(L_6, (bool)0, /*hidden argument*/NULL);
// audioSource.bypassReverbZones = true;
AudioSource_t1135106623 * L_7 = __this->get_audioSource_23();
// audioSource.bypassReverbZones = true;
NullCheck(L_7);
AudioSource_set_bypassReverbZones_m1621259587(L_7, (bool)1, /*hidden argument*/NULL);
// audioSource.spatializePostEffects = true;
AudioSource_t1135106623 * L_8 = __this->get_audioSource_23();
// audioSource.spatializePostEffects = true;
NullCheck(L_8);
AudioSource_set_spatializePostEffects_m20284068(L_8, (bool)1, /*hidden argument*/NULL);
// OnValidate();
// OnValidate();
GvrAudioSource_OnValidate_m2508299240(__this, /*hidden argument*/NULL);
// AudioMixer mixer = (Resources.Load("GvrAudioMixer") as AudioMixer);
// AudioMixer mixer = (Resources.Load("GvrAudioMixer") as AudioMixer);
Object_t1021602117 * L_9 = Resources_Load_m2041782325(NULL /*static, unused*/, _stringLiteral3248387252, /*hidden argument*/NULL);
V_0 = ((AudioMixer_t3244290001 *)IsInstClass(L_9, AudioMixer_t3244290001_il2cpp_TypeInfo_var));
// if(mixer != null) {
AudioMixer_t3244290001 * L_10 = V_0;
// if(mixer != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_11 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_10, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_00a3;
}
}
{
// audioSource.outputAudioMixerGroup = mixer.FindMatchingGroups("Master")[0];
AudioSource_t1135106623 * L_12 = __this->get_audioSource_23();
AudioMixer_t3244290001 * L_13 = V_0;
// audioSource.outputAudioMixerGroup = mixer.FindMatchingGroups("Master")[0];
NullCheck(L_13);
AudioMixerGroupU5BU5D_t1763409949* L_14 = AudioMixer_FindMatchingGroups_m2958147472(L_13, _stringLiteral4058986920, /*hidden argument*/NULL);
NullCheck(L_14);
int32_t L_15 = 0;
AudioMixerGroup_t959546644 * L_16 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
// audioSource.outputAudioMixerGroup = mixer.FindMatchingGroups("Master")[0];
NullCheck(L_12);
AudioSource_set_outputAudioMixerGroup_m2944940779(L_12, L_16, /*hidden argument*/NULL);
goto IL_00af;
}
IL_00a3:
{
// Debug.LogError("GVRAudioMixer could not be found in Resources. Make sure that the GVR SDK " +
// Debug.LogError("GVRAudioMixer could not be found in Resources. Make sure that the GVR SDK " +
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_LogError_m3715728798(NULL /*static, unused*/, _stringLiteral3816224597, /*hidden argument*/NULL);
}
IL_00af:
{
// }
return;
}
}
// System.Void GvrAudioSource::OnEnable()
extern "C" void GvrAudioSource_OnEnable_m198719511 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
{
// audioSource.enabled = true;
AudioSource_t1135106623 * L_0 = __this->get_audioSource_23();
// audioSource.enabled = true;
NullCheck(L_0);
Behaviour_set_enabled_m1796096907(L_0, (bool)1, /*hidden argument*/NULL);
// if (playOnAwake && !isPlaying && InitializeSource()) {
bool L_1 = __this->get_playOnAwake_9();
if (!L_1)
{
goto IL_0036;
}
}
{
// if (playOnAwake && !isPlaying && InitializeSource()) {
bool L_2 = GvrAudioSource_get_isPlaying_m3816759052(__this, /*hidden argument*/NULL);
if (L_2)
{
goto IL_0036;
}
}
{
// if (playOnAwake && !isPlaying && InitializeSource()) {
bool L_3 = GvrAudioSource_InitializeSource_m594433190(__this, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_0036;
}
}
{
// Play();
// Play();
GvrAudioSource_Play_m3662053203(__this, /*hidden argument*/NULL);
}
IL_0036:
{
// }
return;
}
}
// System.Void GvrAudioSource::Start()
extern "C" void GvrAudioSource_Start_m1537117911 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
{
// if (playOnAwake && !isPlaying) {
bool L_0 = __this->get_playOnAwake_9();
if (!L_0)
{
goto IL_001f;
}
}
{
// if (playOnAwake && !isPlaying) {
bool L_1 = GvrAudioSource_get_isPlaying_m3816759052(__this, /*hidden argument*/NULL);
if (L_1)
{
goto IL_001f;
}
}
{
// Play();
// Play();
GvrAudioSource_Play_m3662053203(__this, /*hidden argument*/NULL);
}
IL_001f:
{
// }
return;
}
}
// System.Void GvrAudioSource::OnDisable()
extern "C" void GvrAudioSource_OnDisable_m2237802204 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
{
// Stop();
// Stop();
GvrAudioSource_Stop_m896185459(__this, /*hidden argument*/NULL);
// audioSource.enabled = false;
AudioSource_t1135106623 * L_0 = __this->get_audioSource_23();
// audioSource.enabled = false;
NullCheck(L_0);
Behaviour_set_enabled_m1796096907(L_0, (bool)0, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrAudioSource::OnDestroy()
extern "C" void GvrAudioSource_OnDestroy_m1641155302 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_OnDestroy_m1641155302_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// Destroy(audioSource);
AudioSource_t1135106623 * L_0 = __this->get_audioSource_23();
// Destroy(audioSource);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
Object_Destroy_m4145850038(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrAudioSource::OnApplicationPause(System.Boolean)
extern "C" void GvrAudioSource_OnApplicationPause_m2477334669 (GvrAudioSource_t2307460312 * __this, bool ___pauseStatus0, const MethodInfo* method)
{
{
// if (pauseStatus) {
bool L_0 = ___pauseStatus0;
if (!L_0)
{
goto IL_0014;
}
}
{
// Pause();
// Pause();
GvrAudioSource_Pause_m470842017(__this, /*hidden argument*/NULL);
goto IL_001c;
}
IL_0014:
{
// UnPause();
// UnPause();
GvrAudioSource_UnPause_m1361505432(__this, /*hidden argument*/NULL);
}
IL_001c:
{
// }
return;
}
}
// System.Void GvrAudioSource::Update()
extern "C" void GvrAudioSource_Update_m2450669274 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_Update_m2450669274_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (!occlusionEnabled) {
bool L_0 = __this->get_occlusionEnabled_8();
if (L_0)
{
goto IL_001e;
}
}
{
// currentOcclusion = 0.0f;
__this->set_currentOcclusion_25((0.0f));
goto IL_0052;
}
IL_001e:
{
// } else if (Time.time >= nextOcclusionUpdate) {
float L_1 = Time_get_time_m2216684562(NULL /*static, unused*/, /*hidden argument*/NULL);
float L_2 = __this->get_nextOcclusionUpdate_26();
if ((!(((float)L_1) >= ((float)L_2))))
{
goto IL_0052;
}
}
{
// nextOcclusionUpdate = Time.time + GvrAudio.occlusionDetectionInterval;
// nextOcclusionUpdate = Time.time + GvrAudio.occlusionDetectionInterval;
float L_3 = Time_get_time_m2216684562(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_nextOcclusionUpdate_26(((float)((float)L_3+(float)(0.2f))));
// currentOcclusion = GvrAudio.ComputeOcclusion(transform);
// currentOcclusion = GvrAudio.ComputeOcclusion(transform);
Transform_t3275118058 * L_4 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
// currentOcclusion = GvrAudio.ComputeOcclusion(transform);
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
float L_5 = GvrAudio_ComputeOcclusion_m400996319(NULL /*static, unused*/, L_4, /*hidden argument*/NULL);
__this->set_currentOcclusion_25(L_5);
}
IL_0052:
{
// if (!isPlaying && !isPaused) {
// if (!isPlaying && !isPaused) {
bool L_6 = GvrAudioSource_get_isPlaying_m3816759052(__this, /*hidden argument*/NULL);
if (L_6)
{
goto IL_0075;
}
}
{
bool L_7 = __this->get_isPaused_27();
if (L_7)
{
goto IL_0075;
}
}
{
// Stop();
// Stop();
GvrAudioSource_Stop_m896185459(__this, /*hidden argument*/NULL);
goto IL_00b4;
}
IL_0075:
{
// audioSource.SetSpatializerFloat((int) GvrAudio.SpatializerData.Gain,
AudioSource_t1135106623 * L_8 = __this->get_audioSource_23();
float L_9 = __this->get_gainDb_7();
// GvrAudio.ConvertAmplitudeFromDb(gainDb));
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
float L_10 = GvrAudio_ConvertAmplitudeFromDb_m525493451(NULL /*static, unused*/, L_9, /*hidden argument*/NULL);
// audioSource.SetSpatializerFloat((int) GvrAudio.SpatializerData.Gain,
NullCheck(L_8);
AudioSource_SetSpatializerFloat_m1516717820(L_8, 4, L_10, /*hidden argument*/NULL);
// audioSource.SetSpatializerFloat((int) GvrAudio.SpatializerData.MinDistance,
AudioSource_t1135106623 * L_11 = __this->get_audioSource_23();
float L_12 = __this->get_sourceMinDistance_21();
// audioSource.SetSpatializerFloat((int) GvrAudio.SpatializerData.MinDistance,
NullCheck(L_11);
AudioSource_SetSpatializerFloat_m1516717820(L_11, 6, L_12, /*hidden argument*/NULL);
// GvrAudio.UpdateAudioSource(id, this, currentOcclusion);
int32_t L_13 = __this->get_id_24();
float L_14 = __this->get_currentOcclusion_25();
// GvrAudio.UpdateAudioSource(id, this, currentOcclusion);
GvrAudio_UpdateAudioSource_m1447747246(NULL /*static, unused*/, L_13, __this, L_14, /*hidden argument*/NULL);
}
IL_00b4:
{
// }
return;
}
}
// System.Void GvrAudioSource::GetOutputData(System.Single[],System.Int32)
extern "C" void GvrAudioSource_GetOutputData_m902515642 (GvrAudioSource_t2307460312 * __this, SingleU5BU5D_t577127397* ___samples0, int32_t ___channel1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_GetOutputData_m902515642_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (audioSource != null) {
AudioSource_t1135106623 * L_0 = __this->get_audioSource_23();
// if (audioSource != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0021;
}
}
{
// audioSource.GetOutputData(samples, channel);
AudioSource_t1135106623 * L_2 = __this->get_audioSource_23();
SingleU5BU5D_t577127397* L_3 = ___samples0;
int32_t L_4 = ___channel1;
// audioSource.GetOutputData(samples, channel);
NullCheck(L_2);
AudioSource_GetOutputData_m443764241(L_2, L_3, L_4, /*hidden argument*/NULL);
}
IL_0021:
{
// }
return;
}
}
// System.Void GvrAudioSource::GetSpectrumData(System.Single[],System.Int32,UnityEngine.FFTWindow)
extern "C" void GvrAudioSource_GetSpectrumData_m3864999427 (GvrAudioSource_t2307460312 * __this, SingleU5BU5D_t577127397* ___samples0, int32_t ___channel1, int32_t ___window2, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_GetSpectrumData_m3864999427_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (audioSource != null) {
AudioSource_t1135106623 * L_0 = __this->get_audioSource_23();
// if (audioSource != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0022;
}
}
{
// audioSource.GetSpectrumData(samples, channel, window);
AudioSource_t1135106623 * L_2 = __this->get_audioSource_23();
SingleU5BU5D_t577127397* L_3 = ___samples0;
int32_t L_4 = ___channel1;
int32_t L_5 = ___window2;
// audioSource.GetSpectrumData(samples, channel, window);
NullCheck(L_2);
AudioSource_GetSpectrumData_m4116675176(L_2, L_3, L_4, L_5, /*hidden argument*/NULL);
}
IL_0022:
{
// }
return;
}
}
// System.Void GvrAudioSource::Pause()
extern "C" void GvrAudioSource_Pause_m470842017 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_Pause_m470842017_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (audioSource != null) {
AudioSource_t1135106623 * L_0 = __this->get_audioSource_23();
// if (audioSource != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0026;
}
}
{
// isPaused = true;
__this->set_isPaused_27((bool)1);
// audioSource.Pause();
AudioSource_t1135106623 * L_2 = __this->get_audioSource_23();
// audioSource.Pause();
NullCheck(L_2);
AudioSource_Pause_m71375470(L_2, /*hidden argument*/NULL);
}
IL_0026:
{
// }
return;
}
}
// System.Void GvrAudioSource::Play()
extern "C" void GvrAudioSource_Play_m3662053203 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_Play_m3662053203_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (audioSource != null && InitializeSource()) {
AudioSource_t1135106623 * L_0 = __this->get_audioSource_23();
// if (audioSource != null && InitializeSource()) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0036;
}
}
{
// if (audioSource != null && InitializeSource()) {
bool L_2 = GvrAudioSource_InitializeSource_m594433190(__this, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0036;
}
}
{
// audioSource.Play();
AudioSource_t1135106623 * L_3 = __this->get_audioSource_23();
// audioSource.Play();
NullCheck(L_3);
AudioSource_Play_m353744792(L_3, /*hidden argument*/NULL);
// isPaused = false;
__this->set_isPaused_27((bool)0);
goto IL_0042;
}
IL_0036:
{
// Debug.LogWarning ("GVR Audio source not initialized. Audio playback not supported " +
// Debug.LogWarning ("GVR Audio source not initialized. Audio playback not supported " +
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_LogWarning_m2503577968(NULL /*static, unused*/, _stringLiteral472785647, /*hidden argument*/NULL);
}
IL_0042:
{
// }
return;
}
}
// System.Void GvrAudioSource::PlayDelayed(System.Single)
extern "C" void GvrAudioSource_PlayDelayed_m3664484016 (GvrAudioSource_t2307460312 * __this, float ___delay0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_PlayDelayed_m3664484016_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (audioSource != null && InitializeSource()) {
AudioSource_t1135106623 * L_0 = __this->get_audioSource_23();
// if (audioSource != null && InitializeSource()) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0037;
}
}
{
// if (audioSource != null && InitializeSource()) {
bool L_2 = GvrAudioSource_InitializeSource_m594433190(__this, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0037;
}
}
{
// audioSource.PlayDelayed(delay);
AudioSource_t1135106623 * L_3 = __this->get_audioSource_23();
float L_4 = ___delay0;
// audioSource.PlayDelayed(delay);
NullCheck(L_3);
AudioSource_PlayDelayed_m1283429031(L_3, L_4, /*hidden argument*/NULL);
// isPaused = false;
__this->set_isPaused_27((bool)0);
goto IL_0043;
}
IL_0037:
{
// Debug.LogWarning ("GVR Audio source not initialized. Audio playback not supported " +
// Debug.LogWarning ("GVR Audio source not initialized. Audio playback not supported " +
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_LogWarning_m2503577968(NULL /*static, unused*/, _stringLiteral472785647, /*hidden argument*/NULL);
}
IL_0043:
{
// }
return;
}
}
// System.Void GvrAudioSource::PlayOneShot(UnityEngine.AudioClip)
extern "C" void GvrAudioSource_PlayOneShot_m177386602 (GvrAudioSource_t2307460312 * __this, AudioClip_t1932558630 * ___clip0, const MethodInfo* method)
{
{
// PlayOneShot(clip, 1.0f);
AudioClip_t1932558630 * L_0 = ___clip0;
// PlayOneShot(clip, 1.0f);
GvrAudioSource_PlayOneShot_m468197481(__this, L_0, (1.0f), /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrAudioSource::PlayOneShot(UnityEngine.AudioClip,System.Single)
extern "C" void GvrAudioSource_PlayOneShot_m468197481 (GvrAudioSource_t2307460312 * __this, AudioClip_t1932558630 * ___clip0, float ___volume1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_PlayOneShot_m468197481_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (audioSource != null && InitializeSource()) {
AudioSource_t1135106623 * L_0 = __this->get_audioSource_23();
// if (audioSource != null && InitializeSource()) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0038;
}
}
{
// if (audioSource != null && InitializeSource()) {
bool L_2 = GvrAudioSource_InitializeSource_m594433190(__this, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0038;
}
}
{
// audioSource.PlayOneShot(clip, volume);
AudioSource_t1135106623 * L_3 = __this->get_audioSource_23();
AudioClip_t1932558630 * L_4 = ___clip0;
float L_5 = ___volume1;
// audioSource.PlayOneShot(clip, volume);
NullCheck(L_3);
AudioSource_PlayOneShot_m4118899740(L_3, L_4, L_5, /*hidden argument*/NULL);
// isPaused = false;
__this->set_isPaused_27((bool)0);
goto IL_0044;
}
IL_0038:
{
// Debug.LogWarning ("GVR Audio source not initialized. Audio playback not supported " +
// Debug.LogWarning ("GVR Audio source not initialized. Audio playback not supported " +
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_LogWarning_m2503577968(NULL /*static, unused*/, _stringLiteral472785647, /*hidden argument*/NULL);
}
IL_0044:
{
// }
return;
}
}
// System.Void GvrAudioSource::PlayScheduled(System.Double)
extern "C" void GvrAudioSource_PlayScheduled_m2680287420 (GvrAudioSource_t2307460312 * __this, double ___time0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_PlayScheduled_m2680287420_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (audioSource != null && InitializeSource()) {
AudioSource_t1135106623 * L_0 = __this->get_audioSource_23();
// if (audioSource != null && InitializeSource()) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0037;
}
}
{
// if (audioSource != null && InitializeSource()) {
bool L_2 = GvrAudioSource_InitializeSource_m594433190(__this, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0037;
}
}
{
// audioSource.PlayScheduled(time);
AudioSource_t1135106623 * L_3 = __this->get_audioSource_23();
double L_4 = ___time0;
// audioSource.PlayScheduled(time);
NullCheck(L_3);
AudioSource_PlayScheduled_m572677317(L_3, L_4, /*hidden argument*/NULL);
// isPaused = false;
__this->set_isPaused_27((bool)0);
goto IL_0043;
}
IL_0037:
{
// Debug.LogWarning ("GVR Audio source not initialized. Audio playback not supported " +
// Debug.LogWarning ("GVR Audio source not initialized. Audio playback not supported " +
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_LogWarning_m2503577968(NULL /*static, unused*/, _stringLiteral472785647, /*hidden argument*/NULL);
}
IL_0043:
{
// }
return;
}
}
// System.Void GvrAudioSource::SetScheduledEndTime(System.Double)
extern "C" void GvrAudioSource_SetScheduledEndTime_m1165113532 (GvrAudioSource_t2307460312 * __this, double ___time0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_SetScheduledEndTime_m1165113532_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (audioSource != null) {
AudioSource_t1135106623 * L_0 = __this->get_audioSource_23();
// if (audioSource != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0020;
}
}
{
// audioSource.SetScheduledEndTime(time);
AudioSource_t1135106623 * L_2 = __this->get_audioSource_23();
double L_3 = ___time0;
// audioSource.SetScheduledEndTime(time);
NullCheck(L_2);
AudioSource_SetScheduledEndTime_m122925797(L_2, L_3, /*hidden argument*/NULL);
}
IL_0020:
{
// }
return;
}
}
// System.Void GvrAudioSource::SetScheduledStartTime(System.Double)
extern "C" void GvrAudioSource_SetScheduledStartTime_m4195598187 (GvrAudioSource_t2307460312 * __this, double ___time0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_SetScheduledStartTime_m4195598187_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (audioSource != null) {
AudioSource_t1135106623 * L_0 = __this->get_audioSource_23();
// if (audioSource != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0020;
}
}
{
// audioSource.SetScheduledStartTime(time);
AudioSource_t1135106623 * L_2 = __this->get_audioSource_23();
double L_3 = ___time0;
// audioSource.SetScheduledStartTime(time);
NullCheck(L_2);
AudioSource_SetScheduledStartTime_m640448526(L_2, L_3, /*hidden argument*/NULL);
}
IL_0020:
{
// }
return;
}
}
// System.Void GvrAudioSource::Stop()
extern "C" void GvrAudioSource_Stop_m896185459 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_Stop_m896185459_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (audioSource != null) {
AudioSource_t1135106623 * L_0 = __this->get_audioSource_23();
// if (audioSource != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_002c;
}
}
{
// audioSource.Stop();
AudioSource_t1135106623 * L_2 = __this->get_audioSource_23();
// audioSource.Stop();
NullCheck(L_2);
AudioSource_Stop_m3452679614(L_2, /*hidden argument*/NULL);
// ShutdownSource();
// ShutdownSource();
GvrAudioSource_ShutdownSource_m801851364(__this, /*hidden argument*/NULL);
// isPaused = false;
__this->set_isPaused_27((bool)0);
}
IL_002c:
{
// }
return;
}
}
// System.Void GvrAudioSource::UnPause()
extern "C" void GvrAudioSource_UnPause_m1361505432 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_UnPause_m1361505432_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (audioSource != null) {
AudioSource_t1135106623 * L_0 = __this->get_audioSource_23();
// if (audioSource != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0026;
}
}
{
// audioSource.UnPause();
AudioSource_t1135106623 * L_2 = __this->get_audioSource_23();
// audioSource.UnPause();
NullCheck(L_2);
AudioSource_UnPause_m1911402783(L_2, /*hidden argument*/NULL);
// isPaused = false;
__this->set_isPaused_27((bool)0);
}
IL_0026:
{
// }
return;
}
}
// System.Boolean GvrAudioSource::InitializeSource()
extern "C" bool GvrAudioSource_InitializeSource_m594433190 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_InitializeSource_m594433190_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
// if (id < 0) {
int32_t L_0 = __this->get_id_24();
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_00af;
}
}
{
// id = GvrAudio.CreateAudioSource(hrtfEnabled);
bool L_1 = __this->get_hrtfEnabled_22();
// id = GvrAudio.CreateAudioSource(hrtfEnabled);
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
int32_t L_2 = GvrAudio_CreateAudioSource_m1984649488(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
__this->set_id_24(L_2);
// if (id >= 0) {
int32_t L_3 = __this->get_id_24();
if ((((int32_t)L_3) < ((int32_t)0)))
{
goto IL_00ae;
}
}
{
// GvrAudio.UpdateAudioSource(id, this, currentOcclusion);
int32_t L_4 = __this->get_id_24();
float L_5 = __this->get_currentOcclusion_25();
// GvrAudio.UpdateAudioSource(id, this, currentOcclusion);
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
GvrAudio_UpdateAudioSource_m1447747246(NULL /*static, unused*/, L_4, __this, L_5, /*hidden argument*/NULL);
// audioSource.spatialize = true;
AudioSource_t1135106623 * L_6 = __this->get_audioSource_23();
// audioSource.spatialize = true;
NullCheck(L_6);
AudioSource_set_spatialize_m4140626972(L_6, (bool)1, /*hidden argument*/NULL);
// audioSource.SetSpatializerFloat((int) GvrAudio.SpatializerData.Type,
AudioSource_t1135106623 * L_7 = __this->get_audioSource_23();
// audioSource.SetSpatializerFloat((int) GvrAudio.SpatializerData.Type,
NullCheck(L_7);
AudioSource_SetSpatializerFloat_m1516717820(L_7, 1, (0.0f), /*hidden argument*/NULL);
// audioSource.SetSpatializerFloat((int) GvrAudio.SpatializerData.Gain,
AudioSource_t1135106623 * L_8 = __this->get_audioSource_23();
float L_9 = __this->get_gainDb_7();
// GvrAudio.ConvertAmplitudeFromDb(gainDb));
float L_10 = GvrAudio_ConvertAmplitudeFromDb_m525493451(NULL /*static, unused*/, L_9, /*hidden argument*/NULL);
// audioSource.SetSpatializerFloat((int) GvrAudio.SpatializerData.Gain,
NullCheck(L_8);
AudioSource_SetSpatializerFloat_m1516717820(L_8, 4, L_10, /*hidden argument*/NULL);
// audioSource.SetSpatializerFloat((int) GvrAudio.SpatializerData.MinDistance,
AudioSource_t1135106623 * L_11 = __this->get_audioSource_23();
float L_12 = __this->get_sourceMinDistance_21();
// audioSource.SetSpatializerFloat((int) GvrAudio.SpatializerData.MinDistance,
NullCheck(L_11);
AudioSource_SetSpatializerFloat_m1516717820(L_11, 6, L_12, /*hidden argument*/NULL);
// audioSource.SetSpatializerFloat((int) GvrAudio.SpatializerData.ZeroOutput, 0.0f);
AudioSource_t1135106623 * L_13 = __this->get_audioSource_23();
// audioSource.SetSpatializerFloat((int) GvrAudio.SpatializerData.ZeroOutput, 0.0f);
NullCheck(L_13);
AudioSource_SetSpatializerFloat_m1516717820(L_13, 7, (0.0f), /*hidden argument*/NULL);
// audioSource.SetSpatializerFloat((int) GvrAudio.SpatializerData.Id, (float) id);
AudioSource_t1135106623 * L_14 = __this->get_audioSource_23();
int32_t L_15 = __this->get_id_24();
// audioSource.SetSpatializerFloat((int) GvrAudio.SpatializerData.Id, (float) id);
NullCheck(L_14);
AudioSource_SetSpatializerFloat_m1516717820(L_14, 0, (((float)((float)L_15))), /*hidden argument*/NULL);
}
IL_00ae:
{
}
IL_00af:
{
// return id >= 0;
int32_t L_16 = __this->get_id_24();
V_0 = (bool)((((int32_t)((((int32_t)L_16) < ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_00c1;
}
IL_00c1:
{
// }
bool L_17 = V_0;
return L_17;
}
}
// System.Void GvrAudioSource::ShutdownSource()
extern "C" void GvrAudioSource_ShutdownSource_m801851364 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_ShutdownSource_m801851364_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (id >= 0) {
int32_t L_0 = __this->get_id_24();
if ((((int32_t)L_0) < ((int32_t)0)))
{
goto IL_0051;
}
}
{
// audioSource.SetSpatializerFloat((int) GvrAudio.SpatializerData.Id, -1.0f);
AudioSource_t1135106623 * L_1 = __this->get_audioSource_23();
// audioSource.SetSpatializerFloat((int) GvrAudio.SpatializerData.Id, -1.0f);
NullCheck(L_1);
AudioSource_SetSpatializerFloat_m1516717820(L_1, 0, (-1.0f), /*hidden argument*/NULL);
// audioSource.SetSpatializerFloat((int) GvrAudio.SpatializerData.ZeroOutput, 1.0f);
AudioSource_t1135106623 * L_2 = __this->get_audioSource_23();
// audioSource.SetSpatializerFloat((int) GvrAudio.SpatializerData.ZeroOutput, 1.0f);
NullCheck(L_2);
AudioSource_SetSpatializerFloat_m1516717820(L_2, 7, (1.0f), /*hidden argument*/NULL);
// audioSource.spatialize = false;
AudioSource_t1135106623 * L_3 = __this->get_audioSource_23();
// audioSource.spatialize = false;
NullCheck(L_3);
AudioSource_set_spatialize_m4140626972(L_3, (bool)0, /*hidden argument*/NULL);
// GvrAudio.DestroyAudioSource(id);
int32_t L_4 = __this->get_id_24();
// GvrAudio.DestroyAudioSource(id);
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
GvrAudio_DestroyAudioSource_m801182782(NULL /*static, unused*/, L_4, /*hidden argument*/NULL);
// id = -1;
__this->set_id_24((-1));
}
IL_0051:
{
// }
return;
}
}
// System.Void GvrAudioSource::OnDidApplyAnimationProperties()
extern "C" void GvrAudioSource_OnDidApplyAnimationProperties_m3166179542 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
{
// OnValidate();
// OnValidate();
GvrAudioSource_OnValidate_m2508299240(__this, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrAudioSource::OnValidate()
extern "C" void GvrAudioSource_OnValidate_m2508299240 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
{
// clip = sourceClip;
AudioClip_t1932558630 * L_0 = __this->get_sourceClip_10();
// clip = sourceClip;
GvrAudioSource_set_clip_m150171591(__this, L_0, /*hidden argument*/NULL);
// loop = sourceLoop;
bool L_1 = __this->get_sourceLoop_11();
// loop = sourceLoop;
GvrAudioSource_set_loop_m1477845813(__this, L_1, /*hidden argument*/NULL);
// mute = sourceMute;
bool L_2 = __this->get_sourceMute_12();
// mute = sourceMute;
GvrAudioSource_set_mute_m2720289274(__this, L_2, /*hidden argument*/NULL);
// pitch = sourcePitch;
float L_3 = __this->get_sourcePitch_13();
// pitch = sourcePitch;
GvrAudioSource_set_pitch_m2341430061(__this, L_3, /*hidden argument*/NULL);
// priority = sourcePriority;
int32_t L_4 = __this->get_sourcePriority_14();
// priority = sourcePriority;
GvrAudioSource_set_priority_m2028801425(__this, L_4, /*hidden argument*/NULL);
// spatialBlend = sourceSpatialBlend;
float L_5 = __this->get_sourceSpatialBlend_15();
// spatialBlend = sourceSpatialBlend;
GvrAudioSource_set_spatialBlend_m2613394170(__this, L_5, /*hidden argument*/NULL);
// volume = sourceVolume;
float L_6 = __this->get_sourceVolume_18();
// volume = sourceVolume;
GvrAudioSource_set_volume_m1423146671(__this, L_6, /*hidden argument*/NULL);
// dopplerLevel = sourceDopplerLevel;
float L_7 = __this->get_sourceDopplerLevel_16();
// dopplerLevel = sourceDopplerLevel;
GvrAudioSource_set_dopplerLevel_m2475613985(__this, L_7, /*hidden argument*/NULL);
// spread = sourceSpread;
float L_8 = __this->get_sourceSpread_17();
// spread = sourceSpread;
GvrAudioSource_set_spread_m4221610670(__this, L_8, /*hidden argument*/NULL);
// minDistance = sourceMinDistance;
float L_9 = __this->get_sourceMinDistance_21();
// minDistance = sourceMinDistance;
GvrAudioSource_set_minDistance_m4182013404(__this, L_9, /*hidden argument*/NULL);
// maxDistance = sourceMaxDistance;
float L_10 = __this->get_sourceMaxDistance_20();
// maxDistance = sourceMaxDistance;
GvrAudioSource_set_maxDistance_m4049442018(__this, L_10, /*hidden argument*/NULL);
// rolloffMode = sourceRolloffMode;
int32_t L_11 = __this->get_sourceRolloffMode_19();
// rolloffMode = sourceRolloffMode;
GvrAudioSource_set_rolloffMode_m3982865991(__this, L_11, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrAudioSource::OnDrawGizmosSelected()
extern "C" void GvrAudioSource_OnDrawGizmosSelected_m3402600534 (GvrAudioSource_t2307460312 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_OnDrawGizmosSelected_m3402600534_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GvrAudioListener_t1521766837 * V_0 = NULL;
{
// GvrAudioListener listener = FindObjectOfType<GvrAudioListener>();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
GvrAudioListener_t1521766837 * L_0 = Object_FindObjectOfType_TisGvrAudioListener_t1521766837_m1334356948(NULL /*static, unused*/, /*hidden argument*/Object_FindObjectOfType_TisGvrAudioListener_t1521766837_m1334356948_MethodInfo_var);
V_0 = L_0;
// if(listener != null) {
GvrAudioListener_t1521766837 * L_1 = V_0;
// if(listener != null) {
bool L_2 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_1, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_003c;
}
}
{
// Gizmos.color = GvrAudio.listenerDirectivityColor;
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
Color_t2020392075 L_3 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_listenerDirectivityColor_3();
// Gizmos.color = GvrAudio.listenerDirectivityColor;
Gizmos_set_color_m494992840(NULL /*static, unused*/, L_3, /*hidden argument*/NULL);
// DrawDirectivityGizmo(listener.transform, listenerDirectivityAlpha,
GvrAudioListener_t1521766837 * L_4 = V_0;
// DrawDirectivityGizmo(listener.transform, listenerDirectivityAlpha,
NullCheck(L_4);
Transform_t3275118058 * L_5 = Component_get_transform_m2697483695(L_4, /*hidden argument*/NULL);
float L_6 = __this->get_listenerDirectivityAlpha_5();
float L_7 = __this->get_listenerDirectivitySharpness_6();
// DrawDirectivityGizmo(listener.transform, listenerDirectivityAlpha,
GvrAudioSource_DrawDirectivityGizmo_m3726562269(__this, L_5, L_6, L_7, ((int32_t)180), /*hidden argument*/NULL);
}
IL_003c:
{
// Gizmos.color = GvrAudio.sourceDirectivityColor;
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
Color_t2020392075 L_8 = ((GvrAudio_t2627885619_StaticFields*)GvrAudio_t2627885619_il2cpp_TypeInfo_var->static_fields)->get_sourceDirectivityColor_4();
// Gizmos.color = GvrAudio.sourceDirectivityColor;
Gizmos_set_color_m494992840(NULL /*static, unused*/, L_8, /*hidden argument*/NULL);
// DrawDirectivityGizmo(transform, directivityAlpha, directivitySharpness, 180);
// DrawDirectivityGizmo(transform, directivityAlpha, directivitySharpness, 180);
Transform_t3275118058 * L_9 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
float L_10 = __this->get_directivityAlpha_3();
float L_11 = __this->get_directivitySharpness_4();
// DrawDirectivityGizmo(transform, directivityAlpha, directivitySharpness, 180);
GvrAudioSource_DrawDirectivityGizmo_m3726562269(__this, L_9, L_10, L_11, ((int32_t)180), /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrAudioSource::DrawDirectivityGizmo(UnityEngine.Transform,System.Single,System.Single,System.Int32)
extern "C" void GvrAudioSource_DrawDirectivityGizmo_m3726562269 (GvrAudioSource_t2307460312 * __this, Transform_t3275118058 * ___target0, float ___alpha1, float ___sharpness2, int32_t ___resolution3, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrAudioSource_DrawDirectivityGizmo_m3726562269_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Vector2U5BU5D_t686124026* V_0 = NULL;
int32_t V_1 = 0;
Vector3U5BU5D_t1172311765* V_2 = NULL;
int32_t V_3 = 0;
Int32U5BU5D_t3030399641* V_4 = NULL;
int32_t V_5 = 0;
int32_t V_6 = 0;
Mesh_t1356156583 * V_7 = NULL;
Vector3_t2243707580 V_8;
memset(&V_8, 0, sizeof(V_8));
Vector3_t2243707580 V_9;
memset(&V_9, 0, sizeof(V_9));
Vector3_t2243707580 V_10;
memset(&V_10, 0, sizeof(V_10));
{
// Vector2[] points = GvrAudio.Generate2dPolarPattern(alpha, sharpness, resolution);
float L_0 = ___alpha1;
float L_1 = ___sharpness2;
int32_t L_2 = ___resolution3;
// Vector2[] points = GvrAudio.Generate2dPolarPattern(alpha, sharpness, resolution);
IL2CPP_RUNTIME_CLASS_INIT(GvrAudio_t2627885619_il2cpp_TypeInfo_var);
Vector2U5BU5D_t686124026* L_3 = GvrAudio_Generate2dPolarPattern_m4010778215(NULL /*static, unused*/, L_0, L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
// int numVertices = resolution + 1;
int32_t L_4 = ___resolution3;
V_1 = ((int32_t)((int32_t)L_4+(int32_t)1));
// Vector3[] vertices = new Vector3[numVertices];
int32_t L_5 = V_1;
V_2 = ((Vector3U5BU5D_t1172311765*)SZArrayNew(Vector3U5BU5D_t1172311765_il2cpp_TypeInfo_var, (uint32_t)L_5));
// vertices[0] = Vector3.zero;
Vector3U5BU5D_t1172311765* L_6 = V_2;
NullCheck(L_6);
// vertices[0] = Vector3.zero;
Vector3_t2243707580 L_7 = Vector3_get_zero_m1527993324(NULL /*static, unused*/, /*hidden argument*/NULL);
(*(Vector3_t2243707580 *)((L_6)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))) = L_7;
// for (int i = 0; i < points.Length; ++i) {
V_3 = 0;
goto IL_0065;
}
IL_002f:
{
// vertices[i + 1] = new Vector3(points[i].x, 0.0f, points[i].y);
Vector3U5BU5D_t1172311765* L_8 = V_2;
int32_t L_9 = V_3;
NullCheck(L_8);
Vector2U5BU5D_t686124026* L_10 = V_0;
int32_t L_11 = V_3;
NullCheck(L_10);
float L_12 = ((L_10)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_11)))->get_x_0();
Vector2U5BU5D_t686124026* L_13 = V_0;
int32_t L_14 = V_3;
NullCheck(L_13);
float L_15 = ((L_13)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_14)))->get_y_1();
// vertices[i + 1] = new Vector3(points[i].x, 0.0f, points[i].y);
Vector3_t2243707580 L_16;
memset(&L_16, 0, sizeof(L_16));
Vector3__ctor_m2638739322(&L_16, L_12, (0.0f), L_15, /*hidden argument*/NULL);
(*(Vector3_t2243707580 *)((L_8)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_9+(int32_t)1)))))) = L_16;
// for (int i = 0; i < points.Length; ++i) {
int32_t L_17 = V_3;
V_3 = ((int32_t)((int32_t)L_17+(int32_t)1));
}
IL_0065:
{
// for (int i = 0; i < points.Length; ++i) {
int32_t L_18 = V_3;
Vector2U5BU5D_t686124026* L_19 = V_0;
NullCheck(L_19);
if ((((int32_t)L_18) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_19)->max_length)))))))
{
goto IL_002f;
}
}
{
// int[] triangles = new int[6 * numVertices];
int32_t L_20 = V_1;
V_4 = ((Int32U5BU5D_t3030399641*)SZArrayNew(Int32U5BU5D_t3030399641_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)6*(int32_t)L_20))));
// for (int i = 0; i < numVertices - 1; ++i) {
V_5 = 0;
goto IL_00fd;
}
IL_0080:
{
// int index = 6 * i;
int32_t L_21 = V_5;
V_6 = ((int32_t)((int32_t)6*(int32_t)L_21));
// if (i < numVertices - 2) {
int32_t L_22 = V_5;
int32_t L_23 = V_1;
if ((((int32_t)L_22) >= ((int32_t)((int32_t)((int32_t)L_23-(int32_t)2)))))
{
goto IL_00b4;
}
}
{
// triangles[index] = 0;
Int32U5BU5D_t3030399641* L_24 = V_4;
int32_t L_25 = V_6;
NullCheck(L_24);
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(L_25), (int32_t)0);
// triangles[index + 1] = i + 1;
Int32U5BU5D_t3030399641* L_26 = V_4;
int32_t L_27 = V_6;
int32_t L_28 = V_5;
NullCheck(L_26);
(L_26)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_27+(int32_t)1))), (int32_t)((int32_t)((int32_t)L_28+(int32_t)1)));
// triangles[index + 2] = i + 2;
Int32U5BU5D_t3030399641* L_29 = V_4;
int32_t L_30 = V_6;
int32_t L_31 = V_5;
NullCheck(L_29);
(L_29)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_30+(int32_t)2))), (int32_t)((int32_t)((int32_t)L_31+(int32_t)2)));
goto IL_00ce;
}
IL_00b4:
{
// triangles[index] = 0;
Int32U5BU5D_t3030399641* L_32 = V_4;
int32_t L_33 = V_6;
NullCheck(L_32);
(L_32)->SetAt(static_cast<il2cpp_array_size_t>(L_33), (int32_t)0);
// triangles[index + 1] = numVertices - 1;
Int32U5BU5D_t3030399641* L_34 = V_4;
int32_t L_35 = V_6;
int32_t L_36 = V_1;
NullCheck(L_34);
(L_34)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_35+(int32_t)1))), (int32_t)((int32_t)((int32_t)L_36-(int32_t)1)));
// triangles[index + 2] = 1;
Int32U5BU5D_t3030399641* L_37 = V_4;
int32_t L_38 = V_6;
NullCheck(L_37);
(L_37)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_38+(int32_t)2))), (int32_t)1);
}
IL_00ce:
{
// triangles[index + 3] = triangles[index];
Int32U5BU5D_t3030399641* L_39 = V_4;
int32_t L_40 = V_6;
Int32U5BU5D_t3030399641* L_41 = V_4;
int32_t L_42 = V_6;
NullCheck(L_41);
int32_t L_43 = L_42;
int32_t L_44 = (L_41)->GetAt(static_cast<il2cpp_array_size_t>(L_43));
NullCheck(L_39);
(L_39)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_40+(int32_t)3))), (int32_t)L_44);
// triangles[index + 4] = triangles[index + 2];
Int32U5BU5D_t3030399641* L_45 = V_4;
int32_t L_46 = V_6;
Int32U5BU5D_t3030399641* L_47 = V_4;
int32_t L_48 = V_6;
NullCheck(L_47);
int32_t L_49 = ((int32_t)((int32_t)L_48+(int32_t)2));
int32_t L_50 = (L_47)->GetAt(static_cast<il2cpp_array_size_t>(L_49));
NullCheck(L_45);
(L_45)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_46+(int32_t)4))), (int32_t)L_50);
// triangles[index + 5] = triangles[index + 1];
Int32U5BU5D_t3030399641* L_51 = V_4;
int32_t L_52 = V_6;
Int32U5BU5D_t3030399641* L_53 = V_4;
int32_t L_54 = V_6;
NullCheck(L_53);
int32_t L_55 = ((int32_t)((int32_t)L_54+(int32_t)1));
int32_t L_56 = (L_53)->GetAt(static_cast<il2cpp_array_size_t>(L_55));
NullCheck(L_51);
(L_51)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_52+(int32_t)5))), (int32_t)L_56);
// for (int i = 0; i < numVertices - 1; ++i) {
int32_t L_57 = V_5;
V_5 = ((int32_t)((int32_t)L_57+(int32_t)1));
}
IL_00fd:
{
// for (int i = 0; i < numVertices - 1; ++i) {
int32_t L_58 = V_5;
int32_t L_59 = V_1;
if ((((int32_t)L_58) < ((int32_t)((int32_t)((int32_t)L_59-(int32_t)1)))))
{
goto IL_0080;
}
}
{
// Mesh directivityGizmoMesh = new Mesh();
Mesh_t1356156583 * L_60 = (Mesh_t1356156583 *)il2cpp_codegen_object_new(Mesh_t1356156583_il2cpp_TypeInfo_var);
Mesh__ctor_m2975981674(L_60, /*hidden argument*/NULL);
V_7 = L_60;
// directivityGizmoMesh.hideFlags = HideFlags.DontSaveInEditor;
Mesh_t1356156583 * L_61 = V_7;
// directivityGizmoMesh.hideFlags = HideFlags.DontSaveInEditor;
NullCheck(L_61);
Object_set_hideFlags_m2204253440(L_61, 4, /*hidden argument*/NULL);
// directivityGizmoMesh.vertices = vertices;
Mesh_t1356156583 * L_62 = V_7;
Vector3U5BU5D_t1172311765* L_63 = V_2;
// directivityGizmoMesh.vertices = vertices;
NullCheck(L_62);
Mesh_set_vertices_m2936804213(L_62, L_63, /*hidden argument*/NULL);
// directivityGizmoMesh.triangles = triangles;
Mesh_t1356156583 * L_64 = V_7;
Int32U5BU5D_t3030399641* L_65 = V_4;
// directivityGizmoMesh.triangles = triangles;
NullCheck(L_64);
Mesh_set_triangles_m3244966865(L_64, L_65, /*hidden argument*/NULL);
// directivityGizmoMesh.RecalculateNormals();
Mesh_t1356156583 * L_66 = V_7;
// directivityGizmoMesh.RecalculateNormals();
NullCheck(L_66);
Mesh_RecalculateNormals_m1034493793(L_66, /*hidden argument*/NULL);
// Vector3 scale = 2.0f * Mathf.Max(target.lossyScale.x, target.lossyScale.z) * Vector3.one;
Transform_t3275118058 * L_67 = ___target0;
// Vector3 scale = 2.0f * Mathf.Max(target.lossyScale.x, target.lossyScale.z) * Vector3.one;
NullCheck(L_67);
Vector3_t2243707580 L_68 = Transform_get_lossyScale_m1638545862(L_67, /*hidden argument*/NULL);
V_9 = L_68;
float L_69 = (&V_9)->get_x_1();
Transform_t3275118058 * L_70 = ___target0;
// Vector3 scale = 2.0f * Mathf.Max(target.lossyScale.x, target.lossyScale.z) * Vector3.one;
NullCheck(L_70);
Vector3_t2243707580 L_71 = Transform_get_lossyScale_m1638545862(L_70, /*hidden argument*/NULL);
V_10 = L_71;
float L_72 = (&V_10)->get_z_3();
// Vector3 scale = 2.0f * Mathf.Max(target.lossyScale.x, target.lossyScale.z) * Vector3.one;
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_73 = Mathf_Max_m2564622569(NULL /*static, unused*/, L_69, L_72, /*hidden argument*/NULL);
// Vector3 scale = 2.0f * Mathf.Max(target.lossyScale.x, target.lossyScale.z) * Vector3.one;
Vector3_t2243707580 L_74 = Vector3_get_one_m627547232(NULL /*static, unused*/, /*hidden argument*/NULL);
// Vector3 scale = 2.0f * Mathf.Max(target.lossyScale.x, target.lossyScale.z) * Vector3.one;
Vector3_t2243707580 L_75 = Vector3_op_Multiply_m3872631309(NULL /*static, unused*/, ((float)((float)(2.0f)*(float)L_73)), L_74, /*hidden argument*/NULL);
V_8 = L_75;
// Gizmos.DrawMesh(directivityGizmoMesh, target.position, target.rotation, scale);
Mesh_t1356156583 * L_76 = V_7;
Transform_t3275118058 * L_77 = ___target0;
// Gizmos.DrawMesh(directivityGizmoMesh, target.position, target.rotation, scale);
NullCheck(L_77);
Vector3_t2243707580 L_78 = Transform_get_position_m1104419803(L_77, /*hidden argument*/NULL);
Transform_t3275118058 * L_79 = ___target0;
// Gizmos.DrawMesh(directivityGizmoMesh, target.position, target.rotation, scale);
NullCheck(L_79);
Quaternion_t4030073918 L_80 = Transform_get_rotation_m1033555130(L_79, /*hidden argument*/NULL);
Vector3_t2243707580 L_81 = V_8;
// Gizmos.DrawMesh(directivityGizmoMesh, target.position, target.rotation, scale);
Gizmos_DrawMesh_m3249467004(NULL /*static, unused*/, L_76, L_78, L_80, L_81, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrBaseControllerVisual::.ctor()
extern "C" void GvrBaseControllerVisual__ctor_m3531331701 (GvrBaseControllerVisual_t4093442088 * __this, const MethodInfo* method)
{
{
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void GvrBasePointer::.ctor()
extern "C" void GvrBasePointer__ctor_m677865000 (GvrBasePointer_t2150122635 * __this, const MethodInfo* method)
{
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.EventSystems.RaycastResult GvrBasePointer::get_CurrentRaycastResult()
extern "C" RaycastResult_t21186376 GvrBasePointer_get_CurrentRaycastResult_m3220047514 (GvrBasePointer_t2150122635 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrBasePointer_get_CurrentRaycastResult_m3220047514_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GvrPointerInputModule_t1603976810 * V_0 = NULL;
RaycastResult_t21186376 V_1;
memset(&V_1, 0, sizeof(V_1));
RaycastResult_t21186376 V_2;
memset(&V_2, 0, sizeof(V_2));
RaycastResult_t21186376 V_3;
memset(&V_3, 0, sizeof(V_3));
RaycastResult_t21186376 V_4;
memset(&V_4, 0, sizeof(V_4));
{
// GvrPointerInputModule inputModule = GvrPointerInputModule.FindInputModule();
GvrPointerInputModule_t1603976810 * L_0 = GvrPointerInputModule_FindInputModule_m1873422985(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = L_0;
// if (inputModule == null) {
GvrPointerInputModule_t1603976810 * L_1 = V_0;
// if (inputModule == null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_1, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0023;
}
}
{
// return new RaycastResult();
Initobj (RaycastResult_t21186376_il2cpp_TypeInfo_var, (&V_1));
RaycastResult_t21186376 L_3 = V_1;
V_2 = L_3;
goto IL_0075;
}
IL_0023:
{
// if (inputModule.Impl == null) {
GvrPointerInputModule_t1603976810 * L_4 = V_0;
// if (inputModule.Impl == null) {
NullCheck(L_4);
GvrPointerInputModuleImpl_t2072755720 * L_5 = GvrPointerInputModule_get_Impl_m3808415001(L_4, /*hidden argument*/NULL);
if (L_5)
{
goto IL_003e;
}
}
{
// return new RaycastResult();
Initobj (RaycastResult_t21186376_il2cpp_TypeInfo_var, (&V_3));
RaycastResult_t21186376 L_6 = V_3;
V_2 = L_6;
goto IL_0075;
}
IL_003e:
{
// if (inputModule.Impl.CurrentEventData == null) {
GvrPointerInputModule_t1603976810 * L_7 = V_0;
// if (inputModule.Impl.CurrentEventData == null) {
NullCheck(L_7);
GvrPointerInputModuleImpl_t2072755720 * L_8 = GvrPointerInputModule_get_Impl_m3808415001(L_7, /*hidden argument*/NULL);
// if (inputModule.Impl.CurrentEventData == null) {
NullCheck(L_8);
PointerEventData_t1599784723 * L_9 = GvrPointerInputModuleImpl_get_CurrentEventData_m208522044(L_8, /*hidden argument*/NULL);
if (L_9)
{
goto IL_005f;
}
}
{
// return new RaycastResult();
Initobj (RaycastResult_t21186376_il2cpp_TypeInfo_var, (&V_4));
RaycastResult_t21186376 L_10 = V_4;
V_2 = L_10;
goto IL_0075;
}
IL_005f:
{
// return inputModule.Impl.CurrentEventData.pointerCurrentRaycast;
GvrPointerInputModule_t1603976810 * L_11 = V_0;
// return inputModule.Impl.CurrentEventData.pointerCurrentRaycast;
NullCheck(L_11);
GvrPointerInputModuleImpl_t2072755720 * L_12 = GvrPointerInputModule_get_Impl_m3808415001(L_11, /*hidden argument*/NULL);
// return inputModule.Impl.CurrentEventData.pointerCurrentRaycast;
NullCheck(L_12);
PointerEventData_t1599784723 * L_13 = GvrPointerInputModuleImpl_get_CurrentEventData_m208522044(L_12, /*hidden argument*/NULL);
// return inputModule.Impl.CurrentEventData.pointerCurrentRaycast;
NullCheck(L_13);
RaycastResult_t21186376 L_14 = PointerEventData_get_pointerCurrentRaycast_m1374279130(L_13, /*hidden argument*/NULL);
V_2 = L_14;
goto IL_0075;
}
IL_0075:
{
// }
RaycastResult_t21186376 L_15 = V_2;
return L_15;
}
}
// System.Boolean GvrBasePointer::get_ShouldUseExitRadiusForRaycast()
extern "C" bool GvrBasePointer_get_ShouldUseExitRadiusForRaycast_m3705361285 (GvrBasePointer_t2150122635 * __this, const MethodInfo* method)
{
bool V_0 = false;
{
// public bool ShouldUseExitRadiusForRaycast { get; set; }
bool L_0 = __this->get_U3CShouldUseExitRadiusForRaycastU3Ek__BackingField_0();
V_0 = L_0;
goto IL_000c;
}
IL_000c:
{
bool L_1 = V_0;
return L_1;
}
}
// System.Void GvrBasePointer::set_ShouldUseExitRadiusForRaycast(System.Boolean)
extern "C" void GvrBasePointer_set_ShouldUseExitRadiusForRaycast_m1138403000 (GvrBasePointer_t2150122635 * __this, bool ___value0, const MethodInfo* method)
{
{
// public bool ShouldUseExitRadiusForRaycast { get; set; }
bool L_0 = ___value0;
__this->set_U3CShouldUseExitRadiusForRaycastU3Ek__BackingField_0(L_0);
return;
}
}
// UnityEngine.Transform GvrBasePointer::get_PointerTransform()
extern "C" Transform_t3275118058 * GvrBasePointer_get_PointerTransform_m3494232690 (GvrBasePointer_t2150122635 * __this, const MethodInfo* method)
{
Transform_t3275118058 * V_0 = NULL;
{
// public virtual Transform PointerTransform { get; set; }
Transform_t3275118058 * L_0 = __this->get_U3CPointerTransformU3Ek__BackingField_1();
V_0 = L_0;
goto IL_000c;
}
IL_000c:
{
Transform_t3275118058 * L_1 = V_0;
return L_1;
}
}
// System.Void GvrBasePointer::set_PointerTransform(UnityEngine.Transform)
extern "C" void GvrBasePointer_set_PointerTransform_m2270092423 (GvrBasePointer_t2150122635 * __this, Transform_t3275118058 * ___value0, const MethodInfo* method)
{
{
// public virtual Transform PointerTransform { get; set; }
Transform_t3275118058 * L_0 = ___value0;
__this->set_U3CPointerTransformU3Ek__BackingField_1(L_0);
return;
}
}
// System.Boolean GvrBasePointer::get_TriggerDown()
extern "C" bool GvrBasePointer_get_TriggerDown_m4178479353 (GvrBasePointer_t2150122635 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrBasePointer_get_TriggerDown_m4178479353_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
{
// bool isTriggerDown = Input.GetMouseButtonDown(0);
// bool isTriggerDown = Input.GetMouseButtonDown(0);
IL2CPP_RUNTIME_CLASS_INIT(Input_t1785128008_il2cpp_TypeInfo_var);
bool L_0 = Input_GetMouseButtonDown_m47917805(NULL /*static, unused*/, 0, /*hidden argument*/NULL);
V_0 = L_0;
// return isTriggerDown;
bool L_1 = V_0;
V_1 = L_1;
goto IL_000f;
}
IL_000f:
{
// }
bool L_2 = V_1;
return L_2;
}
}
// System.Boolean GvrBasePointer::get_Triggering()
extern "C" bool GvrBasePointer_get_Triggering_m3433380623 (GvrBasePointer_t2150122635 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrBasePointer_get_Triggering_m3433380623_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
{
// bool isTriggering = Input.GetMouseButton(0);
// bool isTriggering = Input.GetMouseButton(0);
IL2CPP_RUNTIME_CLASS_INIT(Input_t1785128008_il2cpp_TypeInfo_var);
bool L_0 = Input_GetMouseButton_m464100923(NULL /*static, unused*/, 0, /*hidden argument*/NULL);
V_0 = L_0;
// return isTriggering;
bool L_1 = V_0;
V_1 = L_1;
goto IL_000f;
}
IL_000f:
{
// }
bool L_2 = V_1;
return L_2;
}
}
// System.Void GvrBasePointer::OnStart()
extern "C" void GvrBasePointer_OnStart_m2563285875 (GvrBasePointer_t2150122635 * __this, const MethodInfo* method)
{
{
// GvrPointerManager.OnPointerCreated(this);
// GvrPointerManager.OnPointerCreated(this);
GvrPointerManager_OnPointerCreated_m1891135371(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrBasePointerRaycaster::.ctor()
extern "C" void GvrBasePointerRaycaster__ctor_m4174019434 (GvrBasePointerRaycaster_t1189534163 * __this, const MethodInfo* method)
{
{
// public RaycastMode raycastMode = RaycastMode.Camera;
__this->set_raycastMode_2(0);
// protected GvrBasePointerRaycaster() {
BaseRaycaster__ctor_m1844650514(__this, /*hidden argument*/NULL);
// }
return;
}
}
// System.Single GvrBasePointerRaycaster::get_MaxPointerDistance()
extern "C" float GvrBasePointerRaycaster_get_MaxPointerDistance_m771532845 (GvrBasePointerRaycaster_t1189534163 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
// if (GvrPointerManager.Pointer == null) {
GvrBasePointer_t2150122635 * L_0 = GvrPointerManager_get_Pointer_m2011861714(NULL /*static, unused*/, /*hidden argument*/NULL);
if (L_0)
{
goto IL_0017;
}
}
{
// return 0.0f;
V_0 = (0.0f);
goto IL_0027;
}
IL_0017:
{
// return GvrPointerManager.Pointer.MaxPointerDistance;
GvrBasePointer_t2150122635 * L_1 = GvrPointerManager_get_Pointer_m2011861714(NULL /*static, unused*/, /*hidden argument*/NULL);
// return GvrPointerManager.Pointer.MaxPointerDistance;
NullCheck(L_1);
float L_2 = VirtFuncInvoker0< float >::Invoke(7 /* System.Single GvrBasePointer::get_MaxPointerDistance() */, L_1);
V_0 = L_2;
goto IL_0027;
}
IL_0027:
{
// }
float L_3 = V_0;
return L_3;
}
}
// System.Single GvrBasePointerRaycaster::get_PointerRadius()
extern "C" float GvrBasePointerRaycaster_get_PointerRadius_m3443004720 (GvrBasePointerRaycaster_t1189534163 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
float V_1 = 0.0f;
float V_2 = 0.0f;
{
// if (GvrPointerManager.Pointer == null) {
GvrBasePointer_t2150122635 * L_0 = GvrPointerManager_get_Pointer_m2011861714(NULL /*static, unused*/, /*hidden argument*/NULL);
if (L_0)
{
goto IL_0017;
}
}
{
// return 0.0f;
V_0 = (0.0f);
goto IL_0044;
}
IL_0017:
{
// GvrPointerManager.Pointer.GetPointerRadius(out enterRadius, out exitRadius);
GvrBasePointer_t2150122635 * L_1 = GvrPointerManager_get_Pointer_m2011861714(NULL /*static, unused*/, /*hidden argument*/NULL);
// GvrPointerManager.Pointer.GetPointerRadius(out enterRadius, out exitRadius);
NullCheck(L_1);
VirtActionInvoker2< float*, float* >::Invoke(18 /* System.Void GvrBasePointer::GetPointerRadius(System.Single&,System.Single&) */, L_1, (&V_1), (&V_2));
// if (GvrPointerManager.Pointer.ShouldUseExitRadiusForRaycast) {
GvrBasePointer_t2150122635 * L_2 = GvrPointerManager_get_Pointer_m2011861714(NULL /*static, unused*/, /*hidden argument*/NULL);
// if (GvrPointerManager.Pointer.ShouldUseExitRadiusForRaycast) {
NullCheck(L_2);
bool L_3 = GvrBasePointer_get_ShouldUseExitRadiusForRaycast_m3705361285(L_2, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_003c;
}
}
{
// return exitRadius;
float L_4 = V_2;
V_0 = L_4;
goto IL_0044;
}
IL_003c:
{
// return enterRadius;
float L_5 = V_1;
V_0 = L_5;
goto IL_0044;
}
IL_0044:
{
// }
float L_6 = V_0;
return L_6;
}
}
// System.Boolean GvrBasePointerRaycaster::IsPointerAvailable()
extern "C" bool GvrBasePointerRaycaster_IsPointerAvailable_m2792971214 (GvrBasePointerRaycaster_t1189534163 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrBasePointerRaycaster_IsPointerAvailable_m2792971214_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
// if (GvrPointerManager.Pointer == null) {
GvrBasePointer_t2150122635 * L_0 = GvrPointerManager_get_Pointer_m2011861714(NULL /*static, unused*/, /*hidden argument*/NULL);
if (L_0)
{
goto IL_0013;
}
}
{
// return false;
V_0 = (bool)0;
goto IL_0037;
}
IL_0013:
{
// if (GvrPointerManager.Pointer.PointerTransform == null) {
GvrBasePointer_t2150122635 * L_1 = GvrPointerManager_get_Pointer_m2011861714(NULL /*static, unused*/, /*hidden argument*/NULL);
// if (GvrPointerManager.Pointer.PointerTransform == null) {
NullCheck(L_1);
Transform_t3275118058 * L_2 = VirtFuncInvoker0< Transform_t3275118058 * >::Invoke(4 /* UnityEngine.Transform GvrBasePointer::get_PointerTransform() */, L_1);
// if (GvrPointerManager.Pointer.PointerTransform == null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_3 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_2, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_0030;
}
}
{
// return false;
V_0 = (bool)0;
goto IL_0037;
}
IL_0030:
{
// return true;
V_0 = (bool)1;
goto IL_0037;
}
IL_0037:
{
// }
bool L_4 = V_0;
return L_4;
}
}
// UnityEngine.Ray GvrBasePointerRaycaster::GetLastRay()
extern "C" Ray_t2469606224 GvrBasePointerRaycaster_GetLastRay_m1048711842 (GvrBasePointerRaycaster_t1189534163 * __this, const MethodInfo* method)
{
Ray_t2469606224 V_0;
memset(&V_0, 0, sizeof(V_0));
{
// return lastRay;
Ray_t2469606224 L_0 = __this->get_lastRay_3();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// }
Ray_t2469606224 L_1 = V_0;
return L_1;
}
}
// UnityEngine.Ray GvrBasePointerRaycaster::GetRay()
extern "C" Ray_t2469606224 GvrBasePointerRaycaster_GetRay_m2992454774 (GvrBasePointerRaycaster_t1189534163 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrBasePointerRaycaster_GetRay_m2992454774_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Ray_t2469606224 V_0;
memset(&V_0, 0, sizeof(V_0));
Ray_t2469606224 V_1;
memset(&V_1, 0, sizeof(V_1));
Transform_t3275118058 * V_2 = NULL;
int32_t V_3 = 0;
Vector3_t2243707580 V_4;
memset(&V_4, 0, sizeof(V_4));
Vector3_t2243707580 V_5;
memset(&V_5, 0, sizeof(V_5));
Vector3_t2243707580 V_6;
memset(&V_6, 0, sizeof(V_6));
Vector3_t2243707580 V_7;
memset(&V_7, 0, sizeof(V_7));
Vector3_t2243707580 V_8;
memset(&V_8, 0, sizeof(V_8));
Ray_t2469606224 V_9;
memset(&V_9, 0, sizeof(V_9));
{
// if (!IsPointerAvailable()) {
// if (!IsPointerAvailable()) {
bool L_0 = GvrBasePointerRaycaster_IsPointerAvailable_m2792971214(__this, /*hidden argument*/NULL);
if (L_0)
{
goto IL_0032;
}
}
{
// Debug.LogError("Calling GetRay when the pointer isn't available.");
// Debug.LogError("Calling GetRay when the pointer isn't available.");
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_LogError_m3715728798(NULL /*static, unused*/, _stringLiteral835756156, /*hidden argument*/NULL);
// lastRay = new Ray();
Initobj (Ray_t2469606224_il2cpp_TypeInfo_var, (&V_0));
Ray_t2469606224 L_1 = V_0;
__this->set_lastRay_3(L_1);
// return lastRay;
Ray_t2469606224 L_2 = __this->get_lastRay_3();
V_1 = L_2;
goto IL_0106;
}
IL_0032:
{
// Transform pointerTransform = GvrPointerManager.Pointer.PointerTransform;
GvrBasePointer_t2150122635 * L_3 = GvrPointerManager_get_Pointer_m2011861714(NULL /*static, unused*/, /*hidden argument*/NULL);
// Transform pointerTransform = GvrPointerManager.Pointer.PointerTransform;
NullCheck(L_3);
Transform_t3275118058 * L_4 = VirtFuncInvoker0< Transform_t3275118058 * >::Invoke(4 /* UnityEngine.Transform GvrBasePointer::get_PointerTransform() */, L_3);
V_2 = L_4;
// switch (raycastMode) {
int32_t L_5 = __this->get_raycastMode_2();
V_3 = L_5;
// switch (raycastMode) {
int32_t L_6 = V_3;
if (!L_6)
{
goto IL_0056;
}
}
{
int32_t L_7 = V_3;
if ((((int32_t)L_7) == ((int32_t)1)))
{
goto IL_00c9;
}
}
{
goto IL_00e5;
}
IL_0056:
{
// Vector3 rayPointerStart = pointerTransform.position;
Transform_t3275118058 * L_8 = V_2;
// Vector3 rayPointerStart = pointerTransform.position;
NullCheck(L_8);
Vector3_t2243707580 L_9 = Transform_get_position_m1104419803(L_8, /*hidden argument*/NULL);
V_4 = L_9;
// Vector3 rayPointerEnd = rayPointerStart + (pointerTransform.forward * MaxPointerDistance);
Vector3_t2243707580 L_10 = V_4;
Transform_t3275118058 * L_11 = V_2;
// Vector3 rayPointerEnd = rayPointerStart + (pointerTransform.forward * MaxPointerDistance);
NullCheck(L_11);
Vector3_t2243707580 L_12 = Transform_get_forward_m1833488937(L_11, /*hidden argument*/NULL);
// Vector3 rayPointerEnd = rayPointerStart + (pointerTransform.forward * MaxPointerDistance);
float L_13 = GvrBasePointerRaycaster_get_MaxPointerDistance_m771532845(__this, /*hidden argument*/NULL);
// Vector3 rayPointerEnd = rayPointerStart + (pointerTransform.forward * MaxPointerDistance);
Vector3_t2243707580 L_14 = Vector3_op_Multiply_m1351554733(NULL /*static, unused*/, L_12, L_13, /*hidden argument*/NULL);
// Vector3 rayPointerEnd = rayPointerStart + (pointerTransform.forward * MaxPointerDistance);
Vector3_t2243707580 L_15 = Vector3_op_Addition_m3146764857(NULL /*static, unused*/, L_10, L_14, /*hidden argument*/NULL);
V_5 = L_15;
// Vector3 cameraLocation = Camera.main.transform.position;
Camera_t189460977 * L_16 = Camera_get_main_m475173995(NULL /*static, unused*/, /*hidden argument*/NULL);
// Vector3 cameraLocation = Camera.main.transform.position;
NullCheck(L_16);
Transform_t3275118058 * L_17 = Component_get_transform_m2697483695(L_16, /*hidden argument*/NULL);
// Vector3 cameraLocation = Camera.main.transform.position;
NullCheck(L_17);
Vector3_t2243707580 L_18 = Transform_get_position_m1104419803(L_17, /*hidden argument*/NULL);
V_6 = L_18;
// Vector3 finalRayDirection = rayPointerEnd - cameraLocation;
Vector3_t2243707580 L_19 = V_5;
Vector3_t2243707580 L_20 = V_6;
// Vector3 finalRayDirection = rayPointerEnd - cameraLocation;
Vector3_t2243707580 L_21 = Vector3_op_Subtraction_m2407545601(NULL /*static, unused*/, L_19, L_20, /*hidden argument*/NULL);
V_7 = L_21;
// finalRayDirection.Normalize();
// finalRayDirection.Normalize();
Vector3_Normalize_m3679112426((&V_7), /*hidden argument*/NULL);
// Vector3 finalRayStart = cameraLocation + (finalRayDirection * Camera.main.nearClipPlane);
Vector3_t2243707580 L_22 = V_6;
Vector3_t2243707580 L_23 = V_7;
// Vector3 finalRayStart = cameraLocation + (finalRayDirection * Camera.main.nearClipPlane);
Camera_t189460977 * L_24 = Camera_get_main_m475173995(NULL /*static, unused*/, /*hidden argument*/NULL);
// Vector3 finalRayStart = cameraLocation + (finalRayDirection * Camera.main.nearClipPlane);
NullCheck(L_24);
float L_25 = Camera_get_nearClipPlane_m3536967407(L_24, /*hidden argument*/NULL);
// Vector3 finalRayStart = cameraLocation + (finalRayDirection * Camera.main.nearClipPlane);
Vector3_t2243707580 L_26 = Vector3_op_Multiply_m1351554733(NULL /*static, unused*/, L_23, L_25, /*hidden argument*/NULL);
// Vector3 finalRayStart = cameraLocation + (finalRayDirection * Camera.main.nearClipPlane);
Vector3_t2243707580 L_27 = Vector3_op_Addition_m3146764857(NULL /*static, unused*/, L_22, L_26, /*hidden argument*/NULL);
V_8 = L_27;
// lastRay = new Ray(finalRayStart, finalRayDirection);
Vector3_t2243707580 L_28 = V_8;
Vector3_t2243707580 L_29 = V_7;
// lastRay = new Ray(finalRayStart, finalRayDirection);
Ray_t2469606224 L_30;
memset(&L_30, 0, sizeof(L_30));
Ray__ctor_m3379034047(&L_30, L_28, L_29, /*hidden argument*/NULL);
__this->set_lastRay_3(L_30);
// break;
goto IL_00fa;
}
IL_00c9:
{
// lastRay = new Ray(pointerTransform.position, pointerTransform.forward);
Transform_t3275118058 * L_31 = V_2;
// lastRay = new Ray(pointerTransform.position, pointerTransform.forward);
NullCheck(L_31);
Vector3_t2243707580 L_32 = Transform_get_position_m1104419803(L_31, /*hidden argument*/NULL);
Transform_t3275118058 * L_33 = V_2;
// lastRay = new Ray(pointerTransform.position, pointerTransform.forward);
NullCheck(L_33);
Vector3_t2243707580 L_34 = Transform_get_forward_m1833488937(L_33, /*hidden argument*/NULL);
// lastRay = new Ray(pointerTransform.position, pointerTransform.forward);
Ray_t2469606224 L_35;
memset(&L_35, 0, sizeof(L_35));
Ray__ctor_m3379034047(&L_35, L_32, L_34, /*hidden argument*/NULL);
__this->set_lastRay_3(L_35);
// break;
goto IL_00fa;
}
IL_00e5:
{
// lastRay = new Ray();
Initobj (Ray_t2469606224_il2cpp_TypeInfo_var, (&V_9));
Ray_t2469606224 L_36 = V_9;
__this->set_lastRay_3(L_36);
// break;
goto IL_00fa;
}
IL_00fa:
{
// return lastRay;
Ray_t2469606224 L_37 = __this->get_lastRay_3();
V_1 = L_37;
goto IL_0106;
}
IL_0106:
{
// }
Ray_t2469606224 L_38 = V_1;
return L_38;
}
}
// System.Void GvrBatteryIndicator::.ctor()
extern "C" void GvrBatteryIndicator__ctor_m3200984038 (GvrBatteryIndicator_t1573734297 * __this, const MethodInfo* method)
{
{
GvrBaseControllerVisual__ctor_m3531331701(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void GvrCardboardHelpers::.ctor()
extern "C" void GvrCardboardHelpers__ctor_m1464526203 (GvrCardboardHelpers_t336308462 * __this, const MethodInfo* method)
{
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void GvrCardboardHelpers::Recenter()
extern "C" void GvrCardboardHelpers_Recenter_m857608615 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrCardboardHelpers_Recenter_m857608615_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// gvr_reset_tracking(VRDevice.GetNativePtr());
IntPtr_t L_0 = VRDevice_GetNativePtr_m1938964139(NULL /*static, unused*/, /*hidden argument*/NULL);
// gvr_reset_tracking(VRDevice.GetNativePtr());
GvrCardboardHelpers_gvr_reset_tracking_m3334065992(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
// Debug.Log("Use GvrEditorEmulator for in-editor recentering");
// Debug.Log("Use GvrEditorEmulator for in-editor recentering");
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_Log_m920475918(NULL /*static, unused*/, _stringLiteral2491476726, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrCardboardHelpers::SetViewerProfile(System.String)
extern "C" void GvrCardboardHelpers_SetViewerProfile_m1833978500 (Il2CppObject * __this /* static, unused */, String_t* ___viewerProfileUri0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrCardboardHelpers_SetViewerProfile_m1833978500_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// gvr_set_default_viewer_profile(VRDevice.GetNativePtr(), viewerProfileUri);
IntPtr_t L_0 = VRDevice_GetNativePtr_m1938964139(NULL /*static, unused*/, /*hidden argument*/NULL);
String_t* L_1 = ___viewerProfileUri0;
// gvr_set_default_viewer_profile(VRDevice.GetNativePtr(), viewerProfileUri);
GvrCardboardHelpers_gvr_set_default_viewer_profile_m4232937330(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
// Debug.Log("Unavailable for non-Android and non-iOS builds");
// Debug.Log("Unavailable for non-Android and non-iOS builds");
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_Log_m920475918(NULL /*static, unused*/, _stringLiteral1970103385, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrCardboardHelpers::gvr_reset_tracking(System.IntPtr)
extern "C" void GvrCardboardHelpers_gvr_reset_tracking_m3334065992 (Il2CppObject * __this /* static, unused */, IntPtr_t ___gvr_context0, const MethodInfo* method)
{
typedef void (DEFAULT_CALL *PInvokeFunc) (intptr_t);
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = sizeof(intptr_t);
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("gvr"), "gvr_reset_tracking", IL2CPP_CALL_DEFAULT, CHARSET_UNICODE, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'gvr_reset_tracking'"));
}
}
// Native function invocation
il2cppPInvokeFunc(reinterpret_cast<intptr_t>((___gvr_context0).get_m_value_0()));
}
// System.Void GvrCardboardHelpers::gvr_set_default_viewer_profile(System.IntPtr,System.String)
extern "C" void GvrCardboardHelpers_gvr_set_default_viewer_profile_m4232937330 (Il2CppObject * __this /* static, unused */, IntPtr_t ___gvr_context0, String_t* ___viewer_profile_uri1, const MethodInfo* method)
{
typedef void (DEFAULT_CALL *PInvokeFunc) (intptr_t, char*);
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = sizeof(intptr_t) + sizeof(char*);
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("gvr"), "gvr_set_default_viewer_profile", IL2CPP_CALL_DEFAULT, CHARSET_UNICODE, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'gvr_set_default_viewer_profile'"));
}
}
// Marshaling of parameter '___viewer_profile_uri1' to native representation
char* ____viewer_profile_uri1_marshaled = NULL;
____viewer_profile_uri1_marshaled = il2cpp_codegen_marshal_string(___viewer_profile_uri1);
// Native function invocation
il2cppPInvokeFunc(reinterpret_cast<intptr_t>((___gvr_context0).get_m_value_0()), ____viewer_profile_uri1_marshaled);
// Marshaling cleanup of parameter '___viewer_profile_uri1' native representation
il2cpp_codegen_marshal_free(____viewer_profile_uri1_marshaled);
____viewer_profile_uri1_marshaled = NULL;
}
// System.Void GvrController::.ctor()
extern "C" void GvrController__ctor_m2877647192 (GvrController_t1602869021 * __this, const MethodInfo* method)
{
{
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void GvrControllerVisual::.ctor()
extern "C" void GvrControllerVisual__ctor_m4119471196 (GvrControllerVisual_t3328916665 * __this, const MethodInfo* method)
{
{
GvrBaseControllerVisual__ctor_m3531331701(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void GvrControllerVisualManager::.ctor()
extern "C" void GvrControllerVisualManager__ctor_m598650875 (GvrControllerVisualManager_t1857939020 * __this, const MethodInfo* method)
{
{
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void GvrDaydreamApi::.ctor()
extern "C" void GvrDaydreamApi__ctor_m1926314739 (GvrDaydreamApi_t4123913920 * __this, const MethodInfo* method)
{
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
return;
}
}
// System.Boolean GvrDaydreamApi::get_IsCreated()
extern "C" bool GvrDaydreamApi_get_IsCreated_m2470893558 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrDaydreamApi_get_IsCreated_m2470893558_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
// return (m_instance != null);
GvrDaydreamApi_t4123913920 * L_0 = ((GvrDaydreamApi_t4123913920_StaticFields*)GvrDaydreamApi_t4123913920_il2cpp_TypeInfo_var->static_fields)->get_m_instance_4();
V_0 = (bool)((((int32_t)((((Il2CppObject*)(GvrDaydreamApi_t4123913920 *)L_0) == ((Il2CppObject*)(Il2CppObject *)NULL))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_0012;
}
IL_0012:
{
// }
bool L_1 = V_0;
return L_1;
}
}
// System.Void GvrDaydreamApi::Dispose()
extern "C" void GvrDaydreamApi_Dispose_m3078458430 (GvrDaydreamApi_t4123913920 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrDaydreamApi_Dispose_m3078458430_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// m_instance = null;
((GvrDaydreamApi_t4123913920_StaticFields*)GvrDaydreamApi_t4123913920_il2cpp_TypeInfo_var->static_fields)->set_m_instance_4((GvrDaydreamApi_t4123913920 *)NULL);
// }
return;
}
}
// System.Void GvrDaydreamApi::Create()
extern "C" void GvrDaydreamApi_Create_m2419646199 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrDaydreamApi_Create_m2419646199_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (m_instance == null) {
GvrDaydreamApi_t4123913920 * L_0 = ((GvrDaydreamApi_t4123913920_StaticFields*)GvrDaydreamApi_t4123913920_il2cpp_TypeInfo_var->static_fields)->get_m_instance_4();
if (L_0)
{
goto IL_0017;
}
}
{
// m_instance = new GvrDaydreamApi();
GvrDaydreamApi_t4123913920 * L_1 = (GvrDaydreamApi_t4123913920 *)il2cpp_codegen_object_new(GvrDaydreamApi_t4123913920_il2cpp_TypeInfo_var);
GvrDaydreamApi__ctor_m1926314739(L_1, /*hidden argument*/NULL);
((GvrDaydreamApi_t4123913920_StaticFields*)GvrDaydreamApi_t4123913920_il2cpp_TypeInfo_var->static_fields)->set_m_instance_4(L_1);
}
IL_0017:
{
// }
return;
}
}
// System.Void GvrDaydreamApi::LaunchVrHome()
extern "C" void GvrDaydreamApi_LaunchVrHome_m2127798285 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
{
// }
return;
}
}
// System.Void GVRDemoManager::.ctor()
extern "C" void GVRDemoManager__ctor_m2879673956 (GVRDemoManager_t2690453893 * __this, const MethodInfo* method)
{
{
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void GVRDemoManager::Start()
extern "C" void GVRDemoManager_Start_m1801573700 (GVRDemoManager_t2690453893 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GVRDemoManager_Start_m1801573700_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (m_launchVrHomeButton == null) {
GameObject_t1756533147 * L_0 = __this->get_m_launchVrHomeButton_2();
// if (m_launchVrHomeButton == null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0018;
}
}
{
// return;
goto IL_0024;
}
IL_0018:
{
// m_launchVrHomeButton.SetActive(false);
GameObject_t1756533147 * L_2 = __this->get_m_launchVrHomeButton_2();
// m_launchVrHomeButton.SetActive(false);
NullCheck(L_2);
GameObject_SetActive_m2887581199(L_2, (bool)0, /*hidden argument*/NULL);
}
IL_0024:
{
// }
return;
}
}
// System.Void GVRDemoManager::LaunchVrHome()
extern "C" void GVRDemoManager_LaunchVrHome_m255536734 (GVRDemoManager_t2690453893 * __this, const MethodInfo* method)
{
{
// }
return;
}
}
// System.Void GvrDropdown::.ctor()
extern "C" void GvrDropdown__ctor_m355199575 (GvrDropdown_t2234606196 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrDropdown__ctor_m355199575_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(Dropdown_t1985816271_il2cpp_TypeInfo_var);
Dropdown__ctor_m964984536(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void GvrDropdown::OnPointerClick(UnityEngine.EventSystems.PointerEventData)
extern "C" void GvrDropdown_OnPointerClick_m898035059 (GvrDropdown_t2234606196 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method)
{
{
// base.OnPointerClick(eventData);
PointerEventData_t1599784723 * L_0 = ___eventData0;
// base.OnPointerClick(eventData);
Dropdown_OnPointerClick_m253039636(__this, L_0, /*hidden argument*/NULL);
// FixTemplateAndBlockerRaycasters();
// FixTemplateAndBlockerRaycasters();
GvrDropdown_FixTemplateAndBlockerRaycasters_m3605751466(__this, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrDropdown::OnSubmit(UnityEngine.EventSystems.BaseEventData)
extern "C" void GvrDropdown_OnSubmit_m2777299550 (GvrDropdown_t2234606196 * __this, BaseEventData_t2681005625 * ___eventData0, const MethodInfo* method)
{
{
// base.OnSubmit(eventData);
BaseEventData_t2681005625 * L_0 = ___eventData0;
// base.OnSubmit(eventData);
Dropdown_OnSubmit_m3243881785(__this, L_0, /*hidden argument*/NULL);
// FixTemplateAndBlockerRaycasters();
// FixTemplateAndBlockerRaycasters();
GvrDropdown_FixTemplateAndBlockerRaycasters_m3605751466(__this, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrDropdown::FixTemplateAndBlockerRaycasters()
extern "C" void GvrDropdown_FixTemplateAndBlockerRaycasters_m3605751466 (GvrDropdown_t2234606196 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrDropdown_FixTemplateAndBlockerRaycasters_m3605751466_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (template != null) {
// if (template != null) {
RectTransform_t3349966182 * L_0 = Dropdown_get_template_m3014799983(__this, /*hidden argument*/NULL);
// if (template != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0026;
}
}
{
// FixRaycaster(template.gameObject, false);
// FixRaycaster(template.gameObject, false);
RectTransform_t3349966182 * L_2 = Dropdown_get_template_m3014799983(__this, /*hidden argument*/NULL);
// FixRaycaster(template.gameObject, false);
NullCheck(L_2);
GameObject_t1756533147 * L_3 = Component_get_gameObject_m3105766835(L_2, /*hidden argument*/NULL);
// FixRaycaster(template.gameObject, false);
GvrDropdown_FixRaycaster_m1697516107(__this, L_3, (bool)0, /*hidden argument*/NULL);
}
IL_0026:
{
// FixRaycaster(currentBlocker, true);
GameObject_t1756533147 * L_4 = __this->get_currentBlocker_30();
// FixRaycaster(currentBlocker, true);
GvrDropdown_FixRaycaster_m1697516107(__this, L_4, (bool)1, /*hidden argument*/NULL);
// }
return;
}
}
// UnityEngine.GameObject GvrDropdown::CreateBlocker(UnityEngine.Canvas)
extern "C" GameObject_t1756533147 * GvrDropdown_CreateBlocker_m1752141389 (GvrDropdown_t2234606196 * __this, Canvas_t209405766 * ___rootCanvas0, const MethodInfo* method)
{
GameObject_t1756533147 * V_0 = NULL;
{
// currentBlocker = base.CreateBlocker(rootCanvas);
Canvas_t209405766 * L_0 = ___rootCanvas0;
// currentBlocker = base.CreateBlocker(rootCanvas);
GameObject_t1756533147 * L_1 = Dropdown_CreateBlocker_m4109366440(__this, L_0, /*hidden argument*/NULL);
__this->set_currentBlocker_30(L_1);
// return currentBlocker;
GameObject_t1756533147 * L_2 = __this->get_currentBlocker_30();
V_0 = L_2;
goto IL_001a;
}
IL_001a:
{
// }
GameObject_t1756533147 * L_3 = V_0;
return L_3;
}
}
// UnityEngine.GameObject GvrDropdown::CreateDropdownList(UnityEngine.GameObject)
extern "C" GameObject_t1756533147 * GvrDropdown_CreateDropdownList_m2420220213 (GvrDropdown_t2234606196 * __this, GameObject_t1756533147 * ___template0, const MethodInfo* method)
{
GameObject_t1756533147 * V_0 = NULL;
GameObject_t1756533147 * V_1 = NULL;
{
// GameObject dropdown = base.CreateDropdownList(template);
GameObject_t1756533147 * L_0 = ___template0;
// GameObject dropdown = base.CreateDropdownList(template);
GameObject_t1756533147 * L_1 = Dropdown_CreateDropdownList_m3718670168(__this, L_0, /*hidden argument*/NULL);
V_0 = L_1;
// FixRaycaster(dropdown, false);
GameObject_t1756533147 * L_2 = V_0;
// FixRaycaster(dropdown, false);
GvrDropdown_FixRaycaster_m1697516107(__this, L_2, (bool)0, /*hidden argument*/NULL);
// return dropdown;
GameObject_t1756533147 * L_3 = V_0;
V_1 = L_3;
goto IL_0018;
}
IL_0018:
{
// }
GameObject_t1756533147 * L_4 = V_1;
return L_4;
}
}
// System.Void GvrDropdown::FixRaycaster(UnityEngine.GameObject,System.Boolean)
extern "C" void GvrDropdown_FixRaycaster_m1697516107 (GvrDropdown_t2234606196 * __this, GameObject_t1756533147 * ___go0, bool ___shouldCopyProperties1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrDropdown_FixRaycaster_m1697516107_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GraphicRaycaster_t410733016 * V_0 = NULL;
bool V_1 = false;
GvrPointerGraphicRaycaster_t1649506702 * V_2 = NULL;
GvrPointerGraphicRaycaster_t1649506702 * V_3 = NULL;
{
// if (go == null) {
GameObject_t1756533147 * L_0 = ___go0;
// if (go == null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0013;
}
}
{
// return;
goto IL_0054;
}
IL_0013:
{
// GraphicRaycaster oldRaycaster = go.GetComponent<GraphicRaycaster>();
GameObject_t1756533147 * L_2 = ___go0;
// GraphicRaycaster oldRaycaster = go.GetComponent<GraphicRaycaster>();
NullCheck(L_2);
GraphicRaycaster_t410733016 * L_3 = GameObject_GetComponent_TisGraphicRaycaster_t410733016_m3518220980(L_2, /*hidden argument*/GameObject_GetComponent_TisGraphicRaycaster_t410733016_m3518220980_MethodInfo_var);
V_0 = L_3;
// Destroy(oldRaycaster);
GraphicRaycaster_t410733016 * L_4 = V_0;
// Destroy(oldRaycaster);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
Object_Destroy_m4145850038(NULL /*static, unused*/, L_4, /*hidden argument*/NULL);
// raycaster = GetOrAddComponent<GvrPointerGraphicRaycaster>(go, out addedRaycaster);
GameObject_t1756533147 * L_5 = ___go0;
// raycaster = GetOrAddComponent<GvrPointerGraphicRaycaster>(go, out addedRaycaster);
GvrPointerGraphicRaycaster_t1649506702 * L_6 = GvrDropdown_GetOrAddComponent_TisGvrPointerGraphicRaycaster_t1649506702_m553117666(NULL /*static, unused*/, L_5, (&V_1), /*hidden argument*/GvrDropdown_GetOrAddComponent_TisGvrPointerGraphicRaycaster_t1649506702_m553117666_MethodInfo_var);
V_2 = L_6;
// if (shouldCopyProperties) {
bool L_7 = ___shouldCopyProperties1;
if (!L_7)
{
goto IL_0054;
}
}
{
// GvrPointerGraphicRaycaster templateRaycaster = GetTemplateRaycaster();
// GvrPointerGraphicRaycaster templateRaycaster = GetTemplateRaycaster();
GvrPointerGraphicRaycaster_t1649506702 * L_8 = GvrDropdown_GetTemplateRaycaster_m2203793630(__this, /*hidden argument*/NULL);
V_3 = L_8;
// if (addedRaycaster && templateRaycaster != null) {
bool L_9 = V_1;
if (!L_9)
{
goto IL_0053;
}
}
{
GvrPointerGraphicRaycaster_t1649506702 * L_10 = V_3;
// if (addedRaycaster && templateRaycaster != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_11 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_10, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_0053;
}
}
{
// CopyRaycasterProperties(templateRaycaster, raycaster);
GvrPointerGraphicRaycaster_t1649506702 * L_12 = V_3;
GvrPointerGraphicRaycaster_t1649506702 * L_13 = V_2;
// CopyRaycasterProperties(templateRaycaster, raycaster);
GvrDropdown_CopyRaycasterProperties_m1926843691(__this, L_12, L_13, /*hidden argument*/NULL);
}
IL_0053:
{
}
IL_0054:
{
// }
return;
}
}
// GvrPointerGraphicRaycaster GvrDropdown::GetTemplateRaycaster()
extern "C" GvrPointerGraphicRaycaster_t1649506702 * GvrDropdown_GetTemplateRaycaster_m2203793630 (GvrDropdown_t2234606196 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrDropdown_GetTemplateRaycaster_m2203793630_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GvrPointerGraphicRaycaster_t1649506702 * V_0 = NULL;
{
// if (template == null) {
// if (template == null) {
RectTransform_t3349966182 * L_0 = Dropdown_get_template_m3014799983(__this, /*hidden argument*/NULL);
// if (template == null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_001a;
}
}
{
// return null;
V_0 = (GvrPointerGraphicRaycaster_t1649506702 *)NULL;
goto IL_002b;
}
IL_001a:
{
// return template.GetComponent<GvrPointerGraphicRaycaster>();
// return template.GetComponent<GvrPointerGraphicRaycaster>();
RectTransform_t3349966182 * L_2 = Dropdown_get_template_m3014799983(__this, /*hidden argument*/NULL);
// return template.GetComponent<GvrPointerGraphicRaycaster>();
NullCheck(L_2);
GvrPointerGraphicRaycaster_t1649506702 * L_3 = Component_GetComponent_TisGvrPointerGraphicRaycaster_t1649506702_m1701133637(L_2, /*hidden argument*/Component_GetComponent_TisGvrPointerGraphicRaycaster_t1649506702_m1701133637_MethodInfo_var);
V_0 = L_3;
goto IL_002b;
}
IL_002b:
{
// }
GvrPointerGraphicRaycaster_t1649506702 * L_4 = V_0;
return L_4;
}
}
// System.Void GvrDropdown::CopyRaycasterProperties(GvrPointerGraphicRaycaster,GvrPointerGraphicRaycaster)
extern "C" void GvrDropdown_CopyRaycasterProperties_m1926843691 (GvrDropdown_t2234606196 * __this, GvrPointerGraphicRaycaster_t1649506702 * ___source0, GvrPointerGraphicRaycaster_t1649506702 * ___dest1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrDropdown_CopyRaycasterProperties_m1926843691_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (source == null || dest == null) {
GvrPointerGraphicRaycaster_t1649506702 * L_0 = ___source0;
// if (source == null || dest == null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0019;
}
}
{
GvrPointerGraphicRaycaster_t1649506702 * L_2 = ___dest1;
// if (source == null || dest == null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_3 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_2, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_001f;
}
}
IL_0019:
{
// return;
goto IL_004f;
}
IL_001f:
{
// dest.blockingMask = source.blockingMask;
GvrPointerGraphicRaycaster_t1649506702 * L_4 = ___dest1;
GvrPointerGraphicRaycaster_t1649506702 * L_5 = ___source0;
NullCheck(L_5);
LayerMask_t3188175821 L_6 = L_5->get_blockingMask_7();
NullCheck(L_4);
L_4->set_blockingMask_7(L_6);
// dest.blockingObjects = source.blockingObjects;
GvrPointerGraphicRaycaster_t1649506702 * L_7 = ___dest1;
GvrPointerGraphicRaycaster_t1649506702 * L_8 = ___source0;
NullCheck(L_8);
int32_t L_9 = L_8->get_blockingObjects_6();
NullCheck(L_7);
L_7->set_blockingObjects_6(L_9);
// dest.ignoreReversedGraphics = source.ignoreReversedGraphics;
GvrPointerGraphicRaycaster_t1649506702 * L_10 = ___dest1;
GvrPointerGraphicRaycaster_t1649506702 * L_11 = ___source0;
NullCheck(L_11);
bool L_12 = L_11->get_ignoreReversedGraphics_5();
NullCheck(L_10);
L_10->set_ignoreReversedGraphics_5(L_12);
// dest.raycastMode = source.raycastMode;
GvrPointerGraphicRaycaster_t1649506702 * L_13 = ___dest1;
GvrPointerGraphicRaycaster_t1649506702 * L_14 = ___source0;
NullCheck(L_14);
int32_t L_15 = ((GvrBasePointerRaycaster_t1189534163 *)L_14)->get_raycastMode_2();
NullCheck(L_13);
((GvrBasePointerRaycaster_t1189534163 *)L_13)->set_raycastMode_2(L_15);
}
IL_004f:
{
// }
return;
}
}
// System.Void GvrEditorEmulator::.ctor()
extern "C" void GvrEditorEmulator__ctor_m1314616558 (GvrEditorEmulator_t3806821253 * __this, const MethodInfo* method)
{
{
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void GvrEditorEmulator::Recenter()
extern "C" void GvrEditorEmulator_Recenter_m2149296516 (GvrEditorEmulator_t3806821253 * __this, const MethodInfo* method)
{
{
// }
return;
}
}
// System.Void GvrEventExecutor::.ctor()
extern "C" void GvrEventExecutor__ctor_m2019529815 (GvrEventExecutor_t1694572606 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrEventExecutor__ctor_m2019529815_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// public GvrEventExecutor() {
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
// eventTable = new Dictionary<Type, EventDelegate>();
// eventTable = new Dictionary<Type, EventDelegate>();
Dictionary_2_t1587644483 * L_0 = (Dictionary_2_t1587644483 *)il2cpp_codegen_object_new(Dictionary_2_t1587644483_il2cpp_TypeInfo_var);
Dictionary_2__ctor_m3921307911(L_0, /*hidden argument*/Dictionary_2__ctor_m3921307911_MethodInfo_var);
__this->set_eventTable_0(L_0);
// }
return;
}
}
// System.Void GvrEventExecutor::add_OnPointerClick(GvrEventExecutor/EventDelegate)
extern "C" void GvrEventExecutor_add_OnPointerClick_m1198177349 (GvrEventExecutor_t1694572606 * __this, EventDelegate_t3945253882 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrEventExecutor_add_OnPointerClick_m1198177349_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// AddEventDelegate<IPointerClickHandler>(value);
EventDelegate_t3945253882 * L_0 = ___value0;
// AddEventDelegate<IPointerClickHandler>(value);
GvrEventExecutor_AddEventDelegate_TisIPointerClickHandler_t96169666_m1448185920(__this, L_0, /*hidden argument*/GvrEventExecutor_AddEventDelegate_TisIPointerClickHandler_t96169666_m1448185920_MethodInfo_var);
// }
return;
}
}
// System.Void GvrEventExecutor::remove_OnPointerClick(GvrEventExecutor/EventDelegate)
extern "C" void GvrEventExecutor_remove_OnPointerClick_m939562200 (GvrEventExecutor_t1694572606 * __this, EventDelegate_t3945253882 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrEventExecutor_remove_OnPointerClick_m939562200_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// RemoveEventDelegate<IPointerClickHandler>(value);
EventDelegate_t3945253882 * L_0 = ___value0;
// RemoveEventDelegate<IPointerClickHandler>(value);
GvrEventExecutor_RemoveEventDelegate_TisIPointerClickHandler_t96169666_m1653697351(__this, L_0, /*hidden argument*/GvrEventExecutor_RemoveEventDelegate_TisIPointerClickHandler_t96169666_m1653697351_MethodInfo_var);
// }
return;
}
}
// System.Void GvrEventExecutor::add_OnPointerDown(GvrEventExecutor/EventDelegate)
extern "C" void GvrEventExecutor_add_OnPointerDown_m1233984057 (GvrEventExecutor_t1694572606 * __this, EventDelegate_t3945253882 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrEventExecutor_add_OnPointerDown_m1233984057_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// AddEventDelegate<IPointerDownHandler>(value);
EventDelegate_t3945253882 * L_0 = ___value0;
// AddEventDelegate<IPointerDownHandler>(value);
GvrEventExecutor_AddEventDelegate_TisIPointerDownHandler_t3929046918_m560529682(__this, L_0, /*hidden argument*/GvrEventExecutor_AddEventDelegate_TisIPointerDownHandler_t3929046918_m560529682_MethodInfo_var);
// }
return;
}
}
// System.Void GvrEventExecutor::remove_OnPointerDown(GvrEventExecutor/EventDelegate)
extern "C" void GvrEventExecutor_remove_OnPointerDown_m1848242710 (GvrEventExecutor_t1694572606 * __this, EventDelegate_t3945253882 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrEventExecutor_remove_OnPointerDown_m1848242710_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// RemoveEventDelegate<IPointerDownHandler>(value);
EventDelegate_t3945253882 * L_0 = ___value0;
// RemoveEventDelegate<IPointerDownHandler>(value);
GvrEventExecutor_RemoveEventDelegate_TisIPointerDownHandler_t3929046918_m821445983(__this, L_0, /*hidden argument*/GvrEventExecutor_RemoveEventDelegate_TisIPointerDownHandler_t3929046918_m821445983_MethodInfo_var);
// }
return;
}
}
// System.Void GvrEventExecutor::add_OnPointerUp(GvrEventExecutor/EventDelegate)
extern "C" void GvrEventExecutor_add_OnPointerUp_m660640020 (GvrEventExecutor_t1694572606 * __this, EventDelegate_t3945253882 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrEventExecutor_add_OnPointerUp_m660640020_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// AddEventDelegate<IPointerUpHandler>(value);
EventDelegate_t3945253882 * L_0 = ___value0;
// AddEventDelegate<IPointerUpHandler>(value);
GvrEventExecutor_AddEventDelegate_TisIPointerUpHandler_t1847764461_m1683968963(__this, L_0, /*hidden argument*/GvrEventExecutor_AddEventDelegate_TisIPointerUpHandler_t1847764461_m1683968963_MethodInfo_var);
// }
return;
}
}
// System.Void GvrEventExecutor::remove_OnPointerUp(GvrEventExecutor/EventDelegate)
extern "C" void GvrEventExecutor_remove_OnPointerUp_m958601577 (GvrEventExecutor_t1694572606 * __this, EventDelegate_t3945253882 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrEventExecutor_remove_OnPointerUp_m958601577_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// RemoveEventDelegate<IPointerUpHandler>(value);
EventDelegate_t3945253882 * L_0 = ___value0;
// RemoveEventDelegate<IPointerUpHandler>(value);
GvrEventExecutor_RemoveEventDelegate_TisIPointerUpHandler_t1847764461_m3388920110(__this, L_0, /*hidden argument*/GvrEventExecutor_RemoveEventDelegate_TisIPointerUpHandler_t1847764461_m3388920110_MethodInfo_var);
// }
return;
}
}
// System.Void GvrEventExecutor::add_OnPointerEnter(GvrEventExecutor/EventDelegate)
extern "C" void GvrEventExecutor_add_OnPointerEnter_m2032707251 (GvrEventExecutor_t1694572606 * __this, EventDelegate_t3945253882 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrEventExecutor_add_OnPointerEnter_m2032707251_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// AddEventDelegate<IPointerEnterHandler>(value);
EventDelegate_t3945253882 * L_0 = ___value0;
// AddEventDelegate<IPointerEnterHandler>(value);
GvrEventExecutor_AddEventDelegate_TisIPointerEnterHandler_t193164956_m30556150(__this, L_0, /*hidden argument*/GvrEventExecutor_AddEventDelegate_TisIPointerEnterHandler_t193164956_m30556150_MethodInfo_var);
// }
return;
}
}
// System.Void GvrEventExecutor::remove_OnPointerEnter(GvrEventExecutor/EventDelegate)
extern "C" void GvrEventExecutor_remove_OnPointerEnter_m2069953994 (GvrEventExecutor_t1694572606 * __this, EventDelegate_t3945253882 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrEventExecutor_remove_OnPointerEnter_m2069953994_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// RemoveEventDelegate<IPointerEnterHandler>(value);
EventDelegate_t3945253882 * L_0 = ___value0;
// RemoveEventDelegate<IPointerEnterHandler>(value);
GvrEventExecutor_RemoveEventDelegate_TisIPointerEnterHandler_t193164956_m3547870765(__this, L_0, /*hidden argument*/GvrEventExecutor_RemoveEventDelegate_TisIPointerEnterHandler_t193164956_m3547870765_MethodInfo_var);
// }
return;
}
}
// System.Void GvrEventExecutor::add_OnPointerExit(GvrEventExecutor/EventDelegate)
extern "C" void GvrEventExecutor_add_OnPointerExit_m1578911603 (GvrEventExecutor_t1694572606 * __this, EventDelegate_t3945253882 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrEventExecutor_add_OnPointerExit_m1578911603_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// AddEventDelegate<IPointerExitHandler>(value);
EventDelegate_t3945253882 * L_0 = ___value0;
// AddEventDelegate<IPointerExitHandler>(value);
GvrEventExecutor_AddEventDelegate_TisIPointerExitHandler_t461019860_m1019492654(__this, L_0, /*hidden argument*/GvrEventExecutor_AddEventDelegate_TisIPointerExitHandler_t461019860_m1019492654_MethodInfo_var);
// }
return;
}
}
// System.Void GvrEventExecutor::remove_OnPointerExit(GvrEventExecutor/EventDelegate)
extern "C" void GvrEventExecutor_remove_OnPointerExit_m4137737118 (GvrEventExecutor_t1694572606 * __this, EventDelegate_t3945253882 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrEventExecutor_remove_OnPointerExit_m4137737118_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// RemoveEventDelegate<IPointerExitHandler>(value);
EventDelegate_t3945253882 * L_0 = ___value0;
// RemoveEventDelegate<IPointerExitHandler>(value);
GvrEventExecutor_RemoveEventDelegate_TisIPointerExitHandler_t461019860_m3421713581(__this, L_0, /*hidden argument*/GvrEventExecutor_RemoveEventDelegate_TisIPointerExitHandler_t461019860_m3421713581_MethodInfo_var);
// }
return;
}
}
// System.Void GvrEventExecutor/EventDelegate::.ctor(System.Object,System.IntPtr)
extern "C" void EventDelegate__ctor_m3273798607 (EventDelegate_t3945253882 * __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 GvrEventExecutor/EventDelegate::Invoke(UnityEngine.GameObject,UnityEngine.EventSystems.PointerEventData)
extern "C" void EventDelegate_Invoke_m3556559983 (EventDelegate_t3945253882 * __this, GameObject_t1756533147 * ___target0, PointerEventData_t1599784723 * ___eventData1, const MethodInfo* method)
{
if(__this->get_prev_9() != NULL)
{
EventDelegate_Invoke_m3556559983((EventDelegate_t3945253882 *)__this->get_prev_9(),___target0, ___eventData1, 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, GameObject_t1756533147 * ___target0, PointerEventData_t1599784723 * ___eventData1, const MethodInfo* method);
((FunctionPointerType)__this->get_method_ptr_0())(NULL,__this->get_m_target_2(),___target0, ___eventData1,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
else if (__this->get_m_target_2() != NULL || ___methodIsStatic)
{
typedef void (*FunctionPointerType) (void* __this, GameObject_t1756533147 * ___target0, PointerEventData_t1599784723 * ___eventData1, const MethodInfo* method);
((FunctionPointerType)__this->get_method_ptr_0())(__this->get_m_target_2(),___target0, ___eventData1,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
else
{
typedef void (*FunctionPointerType) (void* __this, PointerEventData_t1599784723 * ___eventData1, const MethodInfo* method);
((FunctionPointerType)__this->get_method_ptr_0())(___target0, ___eventData1,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
}
// System.IAsyncResult GvrEventExecutor/EventDelegate::BeginInvoke(UnityEngine.GameObject,UnityEngine.EventSystems.PointerEventData,System.AsyncCallback,System.Object)
extern "C" Il2CppObject * EventDelegate_BeginInvoke_m3213563538 (EventDelegate_t3945253882 * __this, GameObject_t1756533147 * ___target0, PointerEventData_t1599784723 * ___eventData1, AsyncCallback_t163412349 * ___callback2, Il2CppObject * ___object3, const MethodInfo* method)
{
void *__d_args[3] = {0};
__d_args[0] = ___target0;
__d_args[1] = ___eventData1;
return (Il2CppObject *)il2cpp_codegen_delegate_begin_invoke((Il2CppDelegate*)__this, __d_args, (Il2CppDelegate*)___callback2, (Il2CppObject*)___object3);
}
// System.Void GvrEventExecutor/EventDelegate::EndInvoke(System.IAsyncResult)
extern "C" void EventDelegate_EndInvoke_m2217879829 (EventDelegate_t3945253882 * __this, Il2CppObject * ___result0, const MethodInfo* method)
{
il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
}
// System.Void GvrExecuteEventsExtension::Execute(IGvrPointerHoverHandler,UnityEngine.EventSystems.BaseEventData)
extern "C" void GvrExecuteEventsExtension_Execute_m751839475 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___handler0, BaseEventData_t2681005625 * ___eventData1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrExecuteEventsExtension_Execute_m751839475_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// handler.OnGvrPointerHover(ExecuteEvents.ValidateEventData<PointerEventData>(eventData));
Il2CppObject * L_0 = ___handler0;
BaseEventData_t2681005625 * L_1 = ___eventData1;
// handler.OnGvrPointerHover(ExecuteEvents.ValidateEventData<PointerEventData>(eventData));
IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t1693084770_il2cpp_TypeInfo_var);
PointerEventData_t1599784723 * L_2 = ExecuteEvents_ValidateEventData_TisPointerEventData_t1599784723_m1649947406(NULL /*static, unused*/, L_1, /*hidden argument*/ExecuteEvents_ValidateEventData_TisPointerEventData_t1599784723_m1649947406_MethodInfo_var);
// handler.OnGvrPointerHover(ExecuteEvents.ValidateEventData<PointerEventData>(eventData));
NullCheck(L_0);
InterfaceActionInvoker1< PointerEventData_t1599784723 * >::Invoke(0 /* System.Void IGvrPointerHoverHandler::OnGvrPointerHover(UnityEngine.EventSystems.PointerEventData) */, IGvrPointerHoverHandler_t1683868601_il2cpp_TypeInfo_var, L_0, L_2);
// }
return;
}
}
// UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<IGvrPointerHoverHandler> GvrExecuteEventsExtension::get_pointerHoverHandler()
extern "C" EventFunction_1_t181019251 * GvrExecuteEventsExtension_get_pointerHoverHandler_m3800604216 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrExecuteEventsExtension_get_pointerHoverHandler_m3800604216_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
EventFunction_1_t181019251 * V_0 = NULL;
{
// get { return s_HoverHandler; }
IL2CPP_RUNTIME_CLASS_INIT(GvrExecuteEventsExtension_t3083691626_il2cpp_TypeInfo_var);
EventFunction_1_t181019251 * L_0 = ((GvrExecuteEventsExtension_t3083691626_StaticFields*)GvrExecuteEventsExtension_t3083691626_il2cpp_TypeInfo_var->static_fields)->get_s_HoverHandler_0();
V_0 = L_0;
goto IL_000c;
}
IL_000c:
{
// get { return s_HoverHandler; }
EventFunction_1_t181019251 * L_1 = V_0;
return L_1;
}
}
// System.Void GvrExecuteEventsExtension::.cctor()
extern "C" void GvrExecuteEventsExtension__cctor_m3810135292 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrExecuteEventsExtension__cctor_m3810135292_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// private static readonly ExecuteEvents.EventFunction<IGvrPointerHoverHandler> s_HoverHandler = Execute;
EventFunction_1_t181019251 * L_0 = ((GvrExecuteEventsExtension_t3083691626_StaticFields*)GvrExecuteEventsExtension_t3083691626_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__mgU24cache0_1();
if (L_0)
{
goto IL_0018;
}
}
{
IntPtr_t L_1;
L_1.set_m_value_0((void*)(void*)GvrExecuteEventsExtension_Execute_m751839475_MethodInfo_var);
EventFunction_1_t181019251 * L_2 = (EventFunction_1_t181019251 *)il2cpp_codegen_object_new(EventFunction_1_t181019251_il2cpp_TypeInfo_var);
EventFunction_1__ctor_m2039577089(L_2, NULL, L_1, /*hidden argument*/EventFunction_1__ctor_m2039577089_MethodInfo_var);
((GvrExecuteEventsExtension_t3083691626_StaticFields*)GvrExecuteEventsExtension_t3083691626_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__mgU24cache0_1(L_2);
}
IL_0018:
{
EventFunction_1_t181019251 * L_3 = ((GvrExecuteEventsExtension_t3083691626_StaticFields*)GvrExecuteEventsExtension_t3083691626_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__mgU24cache0_1();
((GvrExecuteEventsExtension_t3083691626_StaticFields*)GvrExecuteEventsExtension_t3083691626_il2cpp_TypeInfo_var->static_fields)->set_s_HoverHandler_0(L_3);
return;
}
}
// System.Void GvrFPS::.ctor()
extern "C" void GvrFPS__ctor_m3746470421 (GvrFPS_t750935016 * __this, const MethodInfo* method)
{
{
// private float fps = 60;
__this->set_fps_6((60.0f));
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void GvrFPS::Awake()
extern "C" void GvrFPS_Awake_m1859296440 (GvrFPS_t750935016 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrFPS_Awake_m1859296440_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// textField = GetComponent<Text>();
// textField = GetComponent<Text>();
Text_t356221433 * L_0 = Component_GetComponent_TisText_t356221433_m1342661039(__this, /*hidden argument*/Component_GetComponent_TisText_t356221433_m1342661039_MethodInfo_var);
__this->set_textField_5(L_0);
// }
return;
}
}
// System.Void GvrFPS::Start()
extern "C" void GvrFPS_Start_m1271000117 (GvrFPS_t750935016 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrFPS_Start_m1271000117_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (cam == null) {
Camera_t189460977 * L_0 = __this->get_cam_7();
// if (cam == null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_001f;
}
}
{
// cam = Camera.main;
// cam = Camera.main;
Camera_t189460977 * L_2 = Camera_get_main_m475173995(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_cam_7(L_2);
}
IL_001f:
{
// if (cam != null) {
Camera_t189460977 * L_3 = __this->get_cam_7();
// if (cam != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_4 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_3, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_0049;
}
}
{
// transform.SetParent(cam.GetComponent<Transform>(), true);
// transform.SetParent(cam.GetComponent<Transform>(), true);
Transform_t3275118058 * L_5 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
Camera_t189460977 * L_6 = __this->get_cam_7();
// transform.SetParent(cam.GetComponent<Transform>(), true);
NullCheck(L_6);
Transform_t3275118058 * L_7 = Component_GetComponent_TisTransform_t3275118058_m235623703(L_6, /*hidden argument*/Component_GetComponent_TisTransform_t3275118058_m235623703_MethodInfo_var);
// transform.SetParent(cam.GetComponent<Transform>(), true);
NullCheck(L_5);
Transform_SetParent_m1963830867(L_5, L_7, (bool)1, /*hidden argument*/NULL);
}
IL_0049:
{
// }
return;
}
}
// System.Void GvrFPS::LateUpdate()
extern "C" void GvrFPS_LateUpdate_m1104581370 (GvrFPS_t750935016 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrFPS_LateUpdate_m1104581370_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
float V_1 = 0.0f;
float V_2 = 0.0f;
float V_3 = 0.0f;
{
// float deltaTime = Time.unscaledDeltaTime;
float L_0 = Time_get_unscaledDeltaTime_m4281640537(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = L_0;
// float interp = deltaTime / (0.5f + deltaTime);
float L_1 = V_0;
float L_2 = V_0;
V_1 = ((float)((float)L_1/(float)((float)((float)(0.5f)+(float)L_2))));
// float currentFPS = 1.0f / deltaTime;
float L_3 = V_0;
V_2 = ((float)((float)(1.0f)/(float)L_3));
// fps = Mathf.Lerp(fps, currentFPS, interp);
float L_4 = __this->get_fps_6();
float L_5 = V_2;
float L_6 = V_1;
// fps = Mathf.Lerp(fps, currentFPS, interp);
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_7 = Mathf_Lerp_m1686556575(NULL /*static, unused*/, L_4, L_5, L_6, /*hidden argument*/NULL);
__this->set_fps_6(L_7);
// float msf = MS_PER_SEC / fps;
float L_8 = __this->get_fps_6();
V_3 = ((float)((float)(1000.0f)/(float)L_8));
// textField.text = string.Format(DISPLAY_TEXT_FORMAT,
Text_t356221433 * L_9 = __this->get_textField_5();
// msf.ToString(MSF_FORMAT), Mathf.RoundToInt(fps));
String_t* L_10 = Single_ToString_m2359963436((&V_3), _stringLiteral1623555900, /*hidden argument*/NULL);
float L_11 = __this->get_fps_6();
// msf.ToString(MSF_FORMAT), Mathf.RoundToInt(fps));
int32_t L_12 = Mathf_RoundToInt_m2927198556(NULL /*static, unused*/, L_11, /*hidden argument*/NULL);
int32_t L_13 = L_12;
Il2CppObject * L_14 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_13);
// textField.text = string.Format(DISPLAY_TEXT_FORMAT,
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_15 = String_Format_m1811873526(NULL /*static, unused*/, _stringLiteral2631227587, L_10, L_14, /*hidden argument*/NULL);
// textField.text = string.Format(DISPLAY_TEXT_FORMAT,
NullCheck(L_9);
VirtActionInvoker1< String_t* >::Invoke(72 /* System.Void UnityEngine.UI.Text::set_text(System.String) */, L_9, L_15);
// }
return;
}
}
// System.String GvrIntent::GetData()
extern "C" String_t* GvrIntent_GetData_m4025003659 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
String_t* V_0 = NULL;
{
// return null;
V_0 = (String_t*)NULL;
goto IL_0008;
}
IL_0008:
{
// }
String_t* L_0 = V_0;
return L_0;
}
}
// System.Boolean GvrIntent::IsLaunchedFromVr()
extern "C" bool GvrIntent_IsLaunchedFromVr_m2964954572 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
bool V_0 = false;
{
// return false;
V_0 = (bool)0;
goto IL_0008;
}
IL_0008:
{
// }
bool L_0 = V_0;
return L_0;
}
}
// System.Int32 GvrIntent::GetIntentHashCode()
extern "C" int32_t GvrIntent_GetIntentHashCode_m3487322515 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
int32_t V_0 = 0;
{
// return 0;
V_0 = 0;
goto IL_0008;
}
IL_0008:
{
// }
int32_t L_0 = V_0;
return L_0;
}
}
// System.Void GvrKeyboard::.ctor()
extern "C" void GvrKeyboard__ctor_m1033300269 (GvrKeyboard_t598184456 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrKeyboard__ctor_m1033300269_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// private KeyboardState keyboardState = new KeyboardState();
KeyboardState_t3308394474 * L_0 = (KeyboardState_t3308394474 *)il2cpp_codegen_object_new(KeyboardState_t3308394474_il2cpp_TypeInfo_var);
KeyboardState__ctor_m1186812649(L_0, /*hidden argument*/NULL);
__this->set_keyboardState_4(L_0);
// private ErrorCallback errorCallback = null;
__this->set_errorCallback_6((ErrorCallback_t1270209242 *)NULL);
// private StandardCallback showCallback = null;
__this->set_showCallback_7((StandardCallback_t1386534425 *)NULL);
// private StandardCallback hideCallback = null;
__this->set_hideCallback_8((StandardCallback_t1386534425 *)NULL);
// private EditTextCallback updateCallback = null;
__this->set_updateCallback_9((EditTextCallback_t661057455 *)NULL);
// private EditTextCallback enterCallback = null;
__this->set_enterCallback_10((EditTextCallback_t661057455 *)NULL);
// private bool isRight = false;
__this->set_isRight_11((bool)0);
// private bool isKeyboardHidden = false;
__this->set_isKeyboardHidden_12((bool)0);
// public GvrKeyboardDelegateBase keyboardDelegate = null;
__this->set_keyboardDelegate_16((GvrKeyboardDelegateBase_t1914180906 *)NULL);
// public GvrKeyboardInputMode inputMode = GvrKeyboardInputMode.DEFAULT;
__this->set_inputMode_17(0);
// public bool useRecommended = true;
__this->set_useRecommended_18((bool)1);
// public float distance = 0;
__this->set_distance_19((0.0f));
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// System.String GvrKeyboard::get_EditorText()
extern "C" String_t* GvrKeyboard_get_EditorText_m891289297 (GvrKeyboard_t598184456 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrKeyboard_get_EditorText_m891289297_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
String_t* G_B3_0 = NULL;
{
// get { return instance != null ? instance.keyboardState.editorText : string.Empty; }
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
GvrKeyboard_t598184456 * L_0 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_instance_2();
// get { return instance != null ? instance.keyboardState.editorText : string.Empty; }
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0025;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
GvrKeyboard_t598184456 * L_2 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_instance_2();
NullCheck(L_2);
KeyboardState_t3308394474 * L_3 = L_2->get_keyboardState_4();
NullCheck(L_3);
String_t* L_4 = L_3->get_editorText_0();
G_B3_0 = L_4;
goto IL_002a;
}
IL_0025:
{
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_5 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2();
G_B3_0 = L_5;
}
IL_002a:
{
V_0 = G_B3_0;
goto IL_0030;
}
IL_0030:
{
// get { return instance != null ? instance.keyboardState.editorText : string.Empty; }
String_t* L_6 = V_0;
return L_6;
}
}
// GvrKeyboardInputMode GvrKeyboard::get_Mode()
extern "C" int32_t GvrKeyboard_get_Mode_m3480808579 (GvrKeyboard_t598184456 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrKeyboard_get_Mode_m3480808579_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t G_B3_0 = 0;
{
// get { return instance != null ? instance.keyboardState.mode : GvrKeyboardInputMode.DEFAULT; }
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
GvrKeyboard_t598184456 * L_0 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_instance_2();
// get { return instance != null ? instance.keyboardState.mode : GvrKeyboardInputMode.DEFAULT; }
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0025;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
GvrKeyboard_t598184456 * L_2 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_instance_2();
NullCheck(L_2);
KeyboardState_t3308394474 * L_3 = L_2->get_keyboardState_4();
NullCheck(L_3);
int32_t L_4 = L_3->get_mode_1();
G_B3_0 = ((int32_t)(L_4));
goto IL_0026;
}
IL_0025:
{
G_B3_0 = 0;
}
IL_0026:
{
V_0 = G_B3_0;
goto IL_002c;
}
IL_002c:
{
// get { return instance != null ? instance.keyboardState.mode : GvrKeyboardInputMode.DEFAULT; }
int32_t L_5 = V_0;
return L_5;
}
}
// System.Boolean GvrKeyboard::get_IsValid()
extern "C" bool GvrKeyboard_get_IsValid_m933893404 (GvrKeyboard_t598184456 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrKeyboard_get_IsValid_m933893404_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
int32_t G_B3_0 = 0;
{
// get { return instance != null ? instance.keyboardState.isValid : false; }
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
GvrKeyboard_t598184456 * L_0 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_instance_2();
// get { return instance != null ? instance.keyboardState.isValid : false; }
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0025;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
GvrKeyboard_t598184456 * L_2 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_instance_2();
NullCheck(L_2);
KeyboardState_t3308394474 * L_3 = L_2->get_keyboardState_4();
NullCheck(L_3);
bool L_4 = L_3->get_isValid_2();
G_B3_0 = ((int32_t)(L_4));
goto IL_0026;
}
IL_0025:
{
G_B3_0 = 0;
}
IL_0026:
{
V_0 = (bool)G_B3_0;
goto IL_002c;
}
IL_002c:
{
// get { return instance != null ? instance.keyboardState.isValid : false; }
bool L_5 = V_0;
return L_5;
}
}
// System.Boolean GvrKeyboard::get_IsReady()
extern "C" bool GvrKeyboard_get_IsReady_m582613765 (GvrKeyboard_t598184456 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrKeyboard_get_IsReady_m582613765_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
int32_t G_B3_0 = 0;
{
// get { return instance != null ? instance.keyboardState.isReady : false; }
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
GvrKeyboard_t598184456 * L_0 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_instance_2();
// get { return instance != null ? instance.keyboardState.isReady : false; }
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0025;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
GvrKeyboard_t598184456 * L_2 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_instance_2();
NullCheck(L_2);
KeyboardState_t3308394474 * L_3 = L_2->get_keyboardState_4();
NullCheck(L_3);
bool L_4 = L_3->get_isReady_3();
G_B3_0 = ((int32_t)(L_4));
goto IL_0026;
}
IL_0025:
{
G_B3_0 = 0;
}
IL_0026:
{
V_0 = (bool)G_B3_0;
goto IL_002c;
}
IL_002c:
{
// get { return instance != null ? instance.keyboardState.isReady : false; }
bool L_5 = V_0;
return L_5;
}
}
// UnityEngine.Matrix4x4 GvrKeyboard::get_WorldMatrix()
extern "C" Matrix4x4_t2933234003 GvrKeyboard_get_WorldMatrix_m412323246 (GvrKeyboard_t598184456 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrKeyboard_get_WorldMatrix_m412323246_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Matrix4x4_t2933234003 V_0;
memset(&V_0, 0, sizeof(V_0));
Matrix4x4_t2933234003 G_B3_0;
memset(&G_B3_0, 0, sizeof(G_B3_0));
{
// get { return instance != null ? instance.keyboardState.worldMatrix : Matrix4x4.zero; }
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
GvrKeyboard_t598184456 * L_0 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_instance_2();
// get { return instance != null ? instance.keyboardState.worldMatrix : Matrix4x4.zero; }
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0025;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
GvrKeyboard_t598184456 * L_2 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_instance_2();
NullCheck(L_2);
KeyboardState_t3308394474 * L_3 = L_2->get_keyboardState_4();
NullCheck(L_3);
Matrix4x4_t2933234003 L_4 = L_3->get_worldMatrix_4();
G_B3_0 = L_4;
goto IL_002a;
}
IL_0025:
{
// get { return instance != null ? instance.keyboardState.worldMatrix : Matrix4x4.zero; }
Matrix4x4_t2933234003 L_5 = Matrix4x4_get_zero_m2893472556(NULL /*static, unused*/, /*hidden argument*/NULL);
G_B3_0 = L_5;
}
IL_002a:
{
V_0 = G_B3_0;
goto IL_0030;
}
IL_0030:
{
// get { return instance != null ? instance.keyboardState.worldMatrix : Matrix4x4.zero; }
Matrix4x4_t2933234003 L_6 = V_0;
return L_6;
}
}
// System.Void GvrKeyboard::Awake()
extern "C" void GvrKeyboard_Awake_m1077331988 (GvrKeyboard_t598184456 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrKeyboard_Awake_m1077331988_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (instance != null) {
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
GvrKeyboard_t598184456 * L_0 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_instance_2();
// if (instance != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0028;
}
}
{
// Debug.LogError("More than one GvrKeyboard instance was found in your scene. "
// Debug.LogError("More than one GvrKeyboard instance was found in your scene. "
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_LogError_m3715728798(NULL /*static, unused*/, _stringLiteral4233217863, /*hidden argument*/NULL);
// enabled = false;
// enabled = false;
Behaviour_set_enabled_m1796096907(__this, (bool)0, /*hidden argument*/NULL);
// return;
goto IL_0045;
}
IL_0028:
{
// instance = this;
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->set_instance_2(__this);
// if (keyboardProvider == null) {
Il2CppObject * L_2 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_keyboardProvider_3();
if (L_2)
{
goto IL_0045;
}
}
{
// keyboardProvider = KeyboardProviderFactory.CreateKeyboardProvider(this);
// keyboardProvider = KeyboardProviderFactory.CreateKeyboardProvider(this);
Il2CppObject * L_3 = KeyboardProviderFactory_CreateKeyboardProvider_m1653736575(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->set_keyboardProvider_3(L_3);
}
IL_0045:
{
// }
return;
}
}
// System.Void GvrKeyboard::OnDestroy()
extern "C" void GvrKeyboard_OnDestroy_m3634151830 (GvrKeyboard_t598184456 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrKeyboard_OnDestroy_m3634151830_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// instance = null;
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->set_instance_2((GvrKeyboard_t598184456 *)NULL);
// }
return;
}
}
// System.Void GvrKeyboard::Start()
extern "C" void GvrKeyboard_Start_m3766883597 (GvrKeyboard_t598184456 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrKeyboard_Start_m3766883597_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Il2CppObject * G_B5_0 = NULL;
Il2CppObject * G_B4_0 = NULL;
{
// if (keyboardDelegate != null) {
GvrKeyboardDelegateBase_t1914180906 * L_0 = __this->get_keyboardDelegate_16();
// if (keyboardDelegate != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_00ba;
}
}
{
// errorCallback = keyboardDelegate.OnKeyboardError;
GvrKeyboardDelegateBase_t1914180906 * L_2 = __this->get_keyboardDelegate_16();
GvrKeyboardDelegateBase_t1914180906 * L_3 = L_2;
IntPtr_t L_4;
L_4.set_m_value_0((void*)(void*)GetVirtualMethodInfo(L_3, 8));
ErrorCallback_t1270209242 * L_5 = (ErrorCallback_t1270209242 *)il2cpp_codegen_object_new(ErrorCallback_t1270209242_il2cpp_TypeInfo_var);
ErrorCallback__ctor_m869251959(L_5, L_3, L_4, /*hidden argument*/NULL);
__this->set_errorCallback_6(L_5);
// showCallback = keyboardDelegate.OnKeyboardShow;
GvrKeyboardDelegateBase_t1914180906 * L_6 = __this->get_keyboardDelegate_16();
GvrKeyboardDelegateBase_t1914180906 * L_7 = L_6;
IntPtr_t L_8;
L_8.set_m_value_0((void*)(void*)GetVirtualMethodInfo(L_7, 4));
StandardCallback_t1386534425 * L_9 = (StandardCallback_t1386534425 *)il2cpp_codegen_object_new(StandardCallback_t1386534425_il2cpp_TypeInfo_var);
StandardCallback__ctor_m1848505198(L_9, L_7, L_8, /*hidden argument*/NULL);
__this->set_showCallback_7(L_9);
// hideCallback = keyboardDelegate.OnKeyboardHide;
GvrKeyboardDelegateBase_t1914180906 * L_10 = __this->get_keyboardDelegate_16();
GvrKeyboardDelegateBase_t1914180906 * L_11 = L_10;
IntPtr_t L_12;
L_12.set_m_value_0((void*)(void*)GetVirtualMethodInfo(L_11, 5));
StandardCallback_t1386534425 * L_13 = (StandardCallback_t1386534425 *)il2cpp_codegen_object_new(StandardCallback_t1386534425_il2cpp_TypeInfo_var);
StandardCallback__ctor_m1848505198(L_13, L_11, L_12, /*hidden argument*/NULL);
__this->set_hideCallback_8(L_13);
// updateCallback = keyboardDelegate.OnKeyboardUpdate;
GvrKeyboardDelegateBase_t1914180906 * L_14 = __this->get_keyboardDelegate_16();
GvrKeyboardDelegateBase_t1914180906 * L_15 = L_14;
IntPtr_t L_16;
L_16.set_m_value_0((void*)(void*)GetVirtualMethodInfo(L_15, 6));
EditTextCallback_t661057455 * L_17 = (EditTextCallback_t661057455 *)il2cpp_codegen_object_new(EditTextCallback_t661057455_il2cpp_TypeInfo_var);
EditTextCallback__ctor_m4032200664(L_17, L_15, L_16, /*hidden argument*/NULL);
__this->set_updateCallback_9(L_17);
// enterCallback = keyboardDelegate.OnKeyboardEnterPressed;
GvrKeyboardDelegateBase_t1914180906 * L_18 = __this->get_keyboardDelegate_16();
GvrKeyboardDelegateBase_t1914180906 * L_19 = L_18;
IntPtr_t L_20;
L_20.set_m_value_0((void*)(void*)GetVirtualMethodInfo(L_19, 7));
EditTextCallback_t661057455 * L_21 = (EditTextCallback_t661057455 *)il2cpp_codegen_object_new(EditTextCallback_t661057455_il2cpp_TypeInfo_var);
EditTextCallback__ctor_m4032200664(L_21, L_19, L_20, /*hidden argument*/NULL);
__this->set_enterCallback_10(L_21);
// keyboardDelegate.KeyboardHidden += KeyboardDelegate_KeyboardHidden;
GvrKeyboardDelegateBase_t1914180906 * L_22 = __this->get_keyboardDelegate_16();
IntPtr_t L_23;
L_23.set_m_value_0((void*)(void*)GvrKeyboard_KeyboardDelegate_KeyboardHidden_m948503265_MethodInfo_var);
EventHandler_t277755526 * L_24 = (EventHandler_t277755526 *)il2cpp_codegen_object_new(EventHandler_t277755526_il2cpp_TypeInfo_var);
EventHandler__ctor_m3447735595(L_24, __this, L_23, /*hidden argument*/NULL);
// keyboardDelegate.KeyboardHidden += KeyboardDelegate_KeyboardHidden;
NullCheck(L_22);
VirtActionInvoker1< EventHandler_t277755526 * >::Invoke(9 /* System.Void GvrKeyboardDelegateBase::add_KeyboardHidden(System.EventHandler) */, L_22, L_24);
// keyboardDelegate.KeyboardShown += KeyboardDelegate_KeyboardShown;
GvrKeyboardDelegateBase_t1914180906 * L_25 = __this->get_keyboardDelegate_16();
IntPtr_t L_26;
L_26.set_m_value_0((void*)(void*)GvrKeyboard_KeyboardDelegate_KeyboardShown_m4147123672_MethodInfo_var);
EventHandler_t277755526 * L_27 = (EventHandler_t277755526 *)il2cpp_codegen_object_new(EventHandler_t277755526_il2cpp_TypeInfo_var);
EventHandler__ctor_m3447735595(L_27, __this, L_26, /*hidden argument*/NULL);
// keyboardDelegate.KeyboardShown += KeyboardDelegate_KeyboardShown;
NullCheck(L_25);
VirtActionInvoker1< EventHandler_t277755526 * >::Invoke(11 /* System.Void GvrKeyboardDelegateBase::add_KeyboardShown(System.EventHandler) */, L_25, L_27);
}
IL_00ba:
{
// keyboardProvider.ReadState(keyboardState);
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
Il2CppObject * L_28 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_keyboardProvider_3();
KeyboardState_t3308394474 * L_29 = __this->get_keyboardState_4();
// keyboardProvider.ReadState(keyboardState);
NullCheck(L_28);
InterfaceActionInvoker1< KeyboardState_t3308394474 * >::Invoke(2 /* System.Void Gvr.Internal.IKeyboardProvider::ReadState(KeyboardState) */, IKeyboardProvider_t155239331_il2cpp_TypeInfo_var, L_28, L_29);
// if (IsValid) {
// if (IsValid) {
bool L_30 = GvrKeyboard_get_IsValid_m933893404(__this, /*hidden argument*/NULL);
if (!L_30)
{
goto IL_011a;
}
}
{
// if (keyboardProvider.Create(OnKeyboardCallback)) {
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
Il2CppObject * L_31 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_keyboardProvider_3();
KeyboardCallback_t4001681579 * L_32 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__mgU24cache0_20();
G_B4_0 = L_31;
if (L_32)
{
G_B5_0 = L_31;
goto IL_00f3;
}
}
{
IntPtr_t L_33;
L_33.set_m_value_0((void*)(void*)GvrKeyboard_OnKeyboardCallback_m4289246828_MethodInfo_var);
KeyboardCallback_t4001681579 * L_34 = (KeyboardCallback_t4001681579 *)il2cpp_codegen_object_new(KeyboardCallback_t4001681579_il2cpp_TypeInfo_var);
KeyboardCallback__ctor_m2947035214(L_34, NULL, L_33, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__mgU24cache0_20(L_34);
G_B5_0 = G_B4_0;
}
IL_00f3:
{
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
KeyboardCallback_t4001681579 * L_35 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__mgU24cache0_20();
// if (keyboardProvider.Create(OnKeyboardCallback)) {
NullCheck(G_B5_0);
bool L_36 = InterfaceFuncInvoker1< bool, KeyboardCallback_t4001681579 * >::Invoke(3 /* System.Boolean Gvr.Internal.IKeyboardProvider::Create(GvrKeyboard/KeyboardCallback) */, IKeyboardProvider_t155239331_il2cpp_TypeInfo_var, G_B5_0, L_35);
if (!L_36)
{
goto IL_0114;
}
}
{
// keyboardProvider.SetInputMode(inputMode);
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
Il2CppObject * L_37 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_keyboardProvider_3();
int32_t L_38 = __this->get_inputMode_17();
// keyboardProvider.SetInputMode(inputMode);
NullCheck(L_37);
InterfaceActionInvoker1< int32_t >::Invoke(8 /* System.Void Gvr.Internal.IKeyboardProvider::SetInputMode(GvrKeyboardInputMode) */, IKeyboardProvider_t155239331_il2cpp_TypeInfo_var, L_37, L_38);
}
IL_0114:
{
goto IL_0126;
}
IL_011a:
{
// Debug.LogError("Could not validate keyboard");
// Debug.LogError("Could not validate keyboard");
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_LogError_m3715728798(NULL /*static, unused*/, _stringLiteral3979777111, /*hidden argument*/NULL);
}
IL_0126:
{
// }
return;
}
}
// System.Void GvrKeyboard::Update()
extern "C" void GvrKeyboard_Update_m1576110642 (GvrKeyboard_t598184456 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrKeyboard_Update_m1576110642_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (keyboardProvider == null) {
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
Il2CppObject * L_0 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_keyboardProvider_3();
if (L_0)
{
goto IL_0011;
}
}
{
// return;
goto IL_005c;
}
IL_0011:
{
// keyboardProvider.ReadState(keyboardState);
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
Il2CppObject * L_1 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_keyboardProvider_3();
KeyboardState_t3308394474 * L_2 = __this->get_keyboardState_4();
// keyboardProvider.ReadState(keyboardState);
NullCheck(L_1);
InterfaceActionInvoker1< KeyboardState_t3308394474 * >::Invoke(2 /* System.Void Gvr.Internal.IKeyboardProvider::ReadState(KeyboardState) */, IKeyboardProvider_t155239331_il2cpp_TypeInfo_var, L_1, L_2);
// if (IsReady) {
// if (IsReady) {
bool L_3 = GvrKeyboard_get_IsReady_m582613765(__this, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_005c;
}
}
{
// if (transform.hasChanged) {
// if (transform.hasChanged) {
Transform_t3275118058 * L_4 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
// if (transform.hasChanged) {
NullCheck(L_4);
bool L_5 = Transform_get_hasChanged_m4220930228(L_4, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_0051;
}
}
{
// Show();
// Show();
GvrKeyboard_Show_m2673766430(__this, /*hidden argument*/NULL);
// transform.hasChanged = false;
// transform.hasChanged = false;
Transform_t3275118058 * L_6 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
// transform.hasChanged = false;
NullCheck(L_6);
Transform_set_hasChanged_m2322582363(L_6, (bool)0, /*hidden argument*/NULL);
}
IL_0051:
{
// keyboardProvider.UpdateData();
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
Il2CppObject * L_7 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_keyboardProvider_3();
// keyboardProvider.UpdateData();
NullCheck(L_7);
InterfaceActionInvoker0::Invoke(4 /* System.Void Gvr.Internal.IKeyboardProvider::UpdateData() */, IKeyboardProvider_t155239331_il2cpp_TypeInfo_var, L_7);
}
IL_005c:
{
// }
return;
}
}
// System.Void GvrKeyboard::OnRenderObject()
extern "C" void GvrKeyboard_OnRenderObject_m1527196259 (GvrKeyboard_t598184456 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrKeyboard_OnRenderObject_m1527196259_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Camera_t189460977 * V_0 = NULL;
int32_t V_1 = 0;
Matrix4x4_t2933234003 V_2;
memset(&V_2, 0, sizeof(V_2));
Matrix4x4_t2933234003 V_3;
memset(&V_3, 0, sizeof(V_3));
Rect_t3681755626 V_4;
memset(&V_4, 0, sizeof(V_4));
int32_t G_B8_0 = 0;
{
// if (keyboardProvider == null || !IsReady) {
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
Il2CppObject * L_0 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_keyboardProvider_3();
if (!L_0)
{
goto IL_0016;
}
}
{
// if (keyboardProvider == null || !IsReady) {
bool L_1 = GvrKeyboard_get_IsReady_m582613765(__this, /*hidden argument*/NULL);
if (L_1)
{
goto IL_001c;
}
}
IL_0016:
{
// return;
goto IL_0088;
}
IL_001c:
{
// Camera camera = Camera.current;
Camera_t189460977 * L_2 = Camera_get_current_m2639890517(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = L_2;
// if (camera && camera == Camera.main) {
Camera_t189460977 * L_3 = V_0;
// if (camera && camera == Camera.main) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_4 = Object_op_Implicit_m2856731593(NULL /*static, unused*/, L_3, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_0088;
}
}
{
Camera_t189460977 * L_5 = V_0;
// if (camera && camera == Camera.main) {
Camera_t189460977 * L_6 = Camera_get_main_m475173995(NULL /*static, unused*/, /*hidden argument*/NULL);
// if (camera && camera == Camera.main) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_7 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_5, L_6, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_0088;
}
}
{
// Camera.StereoscopicEye camEye = isRight ? Camera.StereoscopicEye.Right : Camera.StereoscopicEye.Left;
bool L_8 = __this->get_isRight_11();
if (!L_8)
{
goto IL_004f;
}
}
{
G_B8_0 = 1;
goto IL_0050;
}
IL_004f:
{
G_B8_0 = 0;
}
IL_0050:
{
V_1 = G_B8_0;
// Matrix4x4 proj = camera.GetStereoProjectionMatrix(camEye);
Camera_t189460977 * L_9 = V_0;
int32_t L_10 = V_1;
// Matrix4x4 proj = camera.GetStereoProjectionMatrix(camEye);
NullCheck(L_9);
Matrix4x4_t2933234003 L_11 = Camera_GetStereoProjectionMatrix_m1452216890(L_9, L_10, /*hidden argument*/NULL);
V_2 = L_11;
// Matrix4x4 modelView = camera.GetStereoViewMatrix(camEye);
Camera_t189460977 * L_12 = V_0;
int32_t L_13 = V_1;
// Matrix4x4 modelView = camera.GetStereoViewMatrix(camEye);
NullCheck(L_12);
Matrix4x4_t2933234003 L_14 = Camera_GetStereoViewMatrix_m3693763010(L_12, L_13, /*hidden argument*/NULL);
V_3 = L_14;
// Rect viewport = camera.pixelRect;
Camera_t189460977 * L_15 = V_0;
// Rect viewport = camera.pixelRect;
NullCheck(L_15);
Rect_t3681755626 L_16 = Camera_get_pixelRect_m2084185953(L_15, /*hidden argument*/NULL);
V_4 = L_16;
// keyboardProvider.Render((int) camEye, modelView, proj, viewport);
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
Il2CppObject * L_17 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_keyboardProvider_3();
int32_t L_18 = V_1;
Matrix4x4_t2933234003 L_19 = V_3;
Matrix4x4_t2933234003 L_20 = V_2;
Rect_t3681755626 L_21 = V_4;
// keyboardProvider.Render((int) camEye, modelView, proj, viewport);
NullCheck(L_17);
InterfaceActionInvoker4< int32_t, Matrix4x4_t2933234003 , Matrix4x4_t2933234003 , Rect_t3681755626 >::Invoke(5 /* System.Void Gvr.Internal.IKeyboardProvider::Render(System.Int32,UnityEngine.Matrix4x4,UnityEngine.Matrix4x4,UnityEngine.Rect) */, IKeyboardProvider_t155239331_il2cpp_TypeInfo_var, L_17, L_18, L_19, L_20, L_21);
// isRight = !isRight;
bool L_22 = __this->get_isRight_11();
__this->set_isRight_11((bool)((((int32_t)L_22) == ((int32_t)0))? 1 : 0));
}
IL_0088:
{
// }
return;
}
}
// System.Void GvrKeyboard::ClearText()
extern "C" void GvrKeyboard_ClearText_m2316920481 (GvrKeyboard_t598184456 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrKeyboard_ClearText_m2316920481_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (keyboardProvider != null) {
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
Il2CppObject * L_0 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_keyboardProvider_3();
if (!L_0)
{
goto IL_001c;
}
}
{
// keyboardProvider.EditorText = string.Empty;
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
Il2CppObject * L_1 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_keyboardProvider_3();
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();
// keyboardProvider.EditorText = string.Empty;
NullCheck(L_1);
InterfaceActionInvoker1< String_t* >::Invoke(10 /* System.Void Gvr.Internal.IKeyboardProvider::set_EditorText(System.String) */, IKeyboardProvider_t155239331_il2cpp_TypeInfo_var, L_1, L_2);
}
IL_001c:
{
// }
return;
}
}
// System.Void GvrKeyboard::Show()
extern "C" void GvrKeyboard_Show_m2673766430 (GvrKeyboard_t598184456 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrKeyboard_Show_m2673766430_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Quaternion_t4030073918 V_0;
memset(&V_0, 0, sizeof(V_0));
Quaternion_t4030073918 V_1;
memset(&V_1, 0, sizeof(V_1));
Quaternion_t4030073918 V_2;
memset(&V_2, 0, sizeof(V_2));
Quaternion_t4030073918 V_3;
memset(&V_3, 0, sizeof(V_3));
Quaternion_t4030073918 V_4;
memset(&V_4, 0, sizeof(V_4));
Matrix4x4_t2933234003 V_5;
memset(&V_5, 0, sizeof(V_5));
Matrix4x4_t2933234003 V_6;
memset(&V_6, 0, sizeof(V_6));
Vector3_t2243707580 V_7;
memset(&V_7, 0, sizeof(V_7));
{
// if (keyboardProvider == null) {
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
Il2CppObject * L_0 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_keyboardProvider_3();
if (L_0)
{
goto IL_0011;
}
}
{
// return;
goto IL_012c;
}
IL_0011:
{
// Quaternion fixRot = new Quaternion(transform.rotation.x * -1, transform.rotation.y * -1,
// Quaternion fixRot = new Quaternion(transform.rotation.x * -1, transform.rotation.y * -1,
Transform_t3275118058 * L_1 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
// Quaternion fixRot = new Quaternion(transform.rotation.x * -1, transform.rotation.y * -1,
NullCheck(L_1);
Quaternion_t4030073918 L_2 = Transform_get_rotation_m1033555130(L_1, /*hidden argument*/NULL);
V_1 = L_2;
float L_3 = (&V_1)->get_x_0();
// Quaternion fixRot = new Quaternion(transform.rotation.x * -1, transform.rotation.y * -1,
Transform_t3275118058 * L_4 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
// Quaternion fixRot = new Quaternion(transform.rotation.x * -1, transform.rotation.y * -1,
NullCheck(L_4);
Quaternion_t4030073918 L_5 = Transform_get_rotation_m1033555130(L_4, /*hidden argument*/NULL);
V_2 = L_5;
float L_6 = (&V_2)->get_y_1();
// transform.rotation.z, transform.rotation.w);
Transform_t3275118058 * L_7 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
// transform.rotation.z, transform.rotation.w);
NullCheck(L_7);
Quaternion_t4030073918 L_8 = Transform_get_rotation_m1033555130(L_7, /*hidden argument*/NULL);
V_3 = L_8;
float L_9 = (&V_3)->get_z_2();
// transform.rotation.z, transform.rotation.w);
Transform_t3275118058 * L_10 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
// transform.rotation.z, transform.rotation.w);
NullCheck(L_10);
Quaternion_t4030073918 L_11 = Transform_get_rotation_m1033555130(L_10, /*hidden argument*/NULL);
V_4 = L_11;
float L_12 = (&V_4)->get_w_3();
// Quaternion fixRot = new Quaternion(transform.rotation.x * -1, transform.rotation.y * -1,
Quaternion__ctor_m3196903881((&V_0), ((float)((float)L_3*(float)(-1.0f))), ((float)((float)L_6*(float)(-1.0f))), L_9, L_12, /*hidden argument*/NULL);
// Matrix4x4 modelMatrix = Matrix4x4.TRS(transform.position, fixRot, Vector3.one);
// Matrix4x4 modelMatrix = Matrix4x4.TRS(transform.position, fixRot, Vector3.one);
Transform_t3275118058 * L_13 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
// Matrix4x4 modelMatrix = Matrix4x4.TRS(transform.position, fixRot, Vector3.one);
NullCheck(L_13);
Vector3_t2243707580 L_14 = Transform_get_position_m1104419803(L_13, /*hidden argument*/NULL);
Quaternion_t4030073918 L_15 = V_0;
// Matrix4x4 modelMatrix = Matrix4x4.TRS(transform.position, fixRot, Vector3.one);
Vector3_t2243707580 L_16 = Vector3_get_one_m627547232(NULL /*static, unused*/, /*hidden argument*/NULL);
// Matrix4x4 modelMatrix = Matrix4x4.TRS(transform.position, fixRot, Vector3.one);
Matrix4x4_t2933234003 L_17 = Matrix4x4_TRS_m1913765359(NULL /*static, unused*/, L_14, L_15, L_16, /*hidden argument*/NULL);
V_5 = L_17;
// Matrix4x4 mat = Matrix4x4.identity;
Matrix4x4_t2933234003 L_18 = Matrix4x4_get_identity_m3039560904(NULL /*static, unused*/, /*hidden argument*/NULL);
V_6 = L_18;
// Vector3 position = gameObject.transform.position;
// Vector3 position = gameObject.transform.position;
GameObject_t1756533147 * L_19 = Component_get_gameObject_m3105766835(__this, /*hidden argument*/NULL);
// Vector3 position = gameObject.transform.position;
NullCheck(L_19);
Transform_t3275118058 * L_20 = GameObject_get_transform_m909382139(L_19, /*hidden argument*/NULL);
// Vector3 position = gameObject.transform.position;
NullCheck(L_20);
Vector3_t2243707580 L_21 = Transform_get_position_m1104419803(L_20, /*hidden argument*/NULL);
V_7 = L_21;
// if (position.x == 0 && position.y == 0 && position.z == 0 && !useRecommended) {
float L_22 = (&V_7)->get_x_1();
if ((!(((float)L_22) == ((float)(0.0f)))))
{
goto IL_00fb;
}
}
{
float L_23 = (&V_7)->get_y_2();
if ((!(((float)L_23) == ((float)(0.0f)))))
{
goto IL_00fb;
}
}
{
float L_24 = (&V_7)->get_z_3();
if ((!(((float)L_24) == ((float)(0.0f)))))
{
goto IL_00fb;
}
}
{
bool L_25 = __this->get_useRecommended_18();
if (L_25)
{
goto IL_00fb;
}
}
{
// keyboardProvider.Show(mat, true, distance, modelMatrix);
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
Il2CppObject * L_26 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_keyboardProvider_3();
Matrix4x4_t2933234003 L_27 = V_6;
float L_28 = __this->get_distance_19();
Matrix4x4_t2933234003 L_29 = V_5;
// keyboardProvider.Show(mat, true, distance, modelMatrix);
NullCheck(L_26);
InterfaceActionInvoker4< Matrix4x4_t2933234003 , bool, float, Matrix4x4_t2933234003 >::Invoke(7 /* System.Void Gvr.Internal.IKeyboardProvider::Show(UnityEngine.Matrix4x4,System.Boolean,System.Single,UnityEngine.Matrix4x4) */, IKeyboardProvider_t155239331_il2cpp_TypeInfo_var, L_26, L_27, (bool)1, L_28, L_29);
// return;
goto IL_012c;
}
IL_00fb:
{
// if (!useRecommended) {
bool L_30 = __this->get_useRecommended_18();
if (L_30)
{
goto IL_0112;
}
}
{
// mat = GetKeyboardObjectMatrix(position);
Vector3_t2243707580 L_31 = V_7;
// mat = GetKeyboardObjectMatrix(position);
Matrix4x4_t2933234003 L_32 = GvrKeyboard_GetKeyboardObjectMatrix_m2898371228(__this, L_31, /*hidden argument*/NULL);
V_6 = L_32;
}
IL_0112:
{
// keyboardProvider.Show(mat, useRecommended, distance, modelMatrix);
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
Il2CppObject * L_33 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_keyboardProvider_3();
Matrix4x4_t2933234003 L_34 = V_6;
bool L_35 = __this->get_useRecommended_18();
float L_36 = __this->get_distance_19();
Matrix4x4_t2933234003 L_37 = V_5;
// keyboardProvider.Show(mat, useRecommended, distance, modelMatrix);
NullCheck(L_33);
InterfaceActionInvoker4< Matrix4x4_t2933234003 , bool, float, Matrix4x4_t2933234003 >::Invoke(7 /* System.Void Gvr.Internal.IKeyboardProvider::Show(UnityEngine.Matrix4x4,System.Boolean,System.Single,UnityEngine.Matrix4x4) */, IKeyboardProvider_t155239331_il2cpp_TypeInfo_var, L_33, L_34, L_35, L_36, L_37);
}
IL_012c:
{
// }
return;
}
}
// System.Void GvrKeyboard::Hide()
extern "C" void GvrKeyboard_Hide_m3414696093 (GvrKeyboard_t598184456 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrKeyboard_Hide_m3414696093_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (keyboardProvider != null) {
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
Il2CppObject * L_0 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_keyboardProvider_3();
if (!L_0)
{
goto IL_0017;
}
}
{
// keyboardProvider.Hide();
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
Il2CppObject * L_1 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_keyboardProvider_3();
// keyboardProvider.Hide();
NullCheck(L_1);
InterfaceActionInvoker0::Invoke(6 /* System.Void Gvr.Internal.IKeyboardProvider::Hide() */, IKeyboardProvider_t155239331_il2cpp_TypeInfo_var, L_1);
}
IL_0017:
{
// }
return;
}
}
// System.Void GvrKeyboard::OnPointerClick(UnityEngine.EventSystems.BaseEventData)
extern "C" void GvrKeyboard_OnPointerClick_m3928478355 (GvrKeyboard_t598184456 * __this, BaseEventData_t2681005625 * ___data0, const MethodInfo* method)
{
{
// if (isKeyboardHidden) {
bool L_0 = __this->get_isKeyboardHidden_12();
if (!L_0)
{
goto IL_0014;
}
}
{
// Show();
// Show();
GvrKeyboard_Show_m2673766430(__this, /*hidden argument*/NULL);
}
IL_0014:
{
// }
return;
}
}
// System.Void GvrKeyboard::OnEnable()
extern "C" void GvrKeyboard_OnEnable_m189080557 (GvrKeyboard_t598184456 * __this, const MethodInfo* method)
{
{
// keyboardUpdate = Executer();
// keyboardUpdate = Executer();
Il2CppObject * L_0 = GvrKeyboard_Executer_m1146748672(__this, /*hidden argument*/NULL);
__this->set_keyboardUpdate_5(L_0);
// StartCoroutine(keyboardUpdate);
Il2CppObject * L_1 = __this->get_keyboardUpdate_5();
// StartCoroutine(keyboardUpdate);
MonoBehaviour_StartCoroutine_m2470621050(__this, L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrKeyboard::OnDisable()
extern "C" void GvrKeyboard_OnDisable_m2484996540 (GvrKeyboard_t598184456 * __this, const MethodInfo* method)
{
{
// StopCoroutine(keyboardUpdate);
Il2CppObject * L_0 = __this->get_keyboardUpdate_5();
// StopCoroutine(keyboardUpdate);
MonoBehaviour_StopCoroutine_m1170478282(__this, L_0, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void GvrKeyboard::OnApplicationPause(System.Boolean)
extern "C" void GvrKeyboard_OnApplicationPause_m3129303495 (GvrKeyboard_t598184456 * __this, bool ___paused0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrKeyboard_OnApplicationPause_m3129303495_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (null == keyboardProvider) return;
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
Il2CppObject * L_0 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_keyboardProvider_3();
if (L_0)
{
goto IL_0010;
}
}
{
// if (null == keyboardProvider) return;
goto IL_0033;
}
IL_0010:
{
// if (paused) {
bool L_1 = ___paused0;
if (!L_1)
{
goto IL_0027;
}
}
{
// keyboardProvider.OnPause();
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
Il2CppObject * L_2 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_keyboardProvider_3();
// keyboardProvider.OnPause();
NullCheck(L_2);
InterfaceActionInvoker0::Invoke(0 /* System.Void Gvr.Internal.IKeyboardProvider::OnPause() */, IKeyboardProvider_t155239331_il2cpp_TypeInfo_var, L_2);
goto IL_0033;
}
IL_0027:
{
// keyboardProvider.OnResume();
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
Il2CppObject * L_3 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_keyboardProvider_3();
// keyboardProvider.OnResume();
NullCheck(L_3);
InterfaceActionInvoker0::Invoke(1 /* System.Void Gvr.Internal.IKeyboardProvider::OnResume() */, IKeyboardProvider_t155239331_il2cpp_TypeInfo_var, L_3);
}
IL_0033:
{
// }
return;
}
}
// System.Collections.IEnumerator GvrKeyboard::Executer()
extern "C" Il2CppObject * GvrKeyboard_Executer_m1146748672 (GvrKeyboard_t598184456 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrKeyboard_Executer_m1146748672_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
U3CExecuterU3Ec__Iterator0_t1374321097 * V_0 = NULL;
Il2CppObject * V_1 = NULL;
{
U3CExecuterU3Ec__Iterator0_t1374321097 * L_0 = (U3CExecuterU3Ec__Iterator0_t1374321097 *)il2cpp_codegen_object_new(U3CExecuterU3Ec__Iterator0_t1374321097_il2cpp_TypeInfo_var);
U3CExecuterU3Ec__Iterator0__ctor_m4019602360(L_0, /*hidden argument*/NULL);
V_0 = L_0;
U3CExecuterU3Ec__Iterator0_t1374321097 * L_1 = V_0;
NullCheck(L_1);
L_1->set_U24this_0(__this);
U3CExecuterU3Ec__Iterator0_t1374321097 * L_2 = V_0;
V_1 = L_2;
goto IL_0014;
}
IL_0014:
{
Il2CppObject * L_3 = V_1;
return L_3;
}
}
// System.Void GvrKeyboard::PoolKeyboardCallbacks(GvrKeyboardEvent)
extern "C" void GvrKeyboard_PoolKeyboardCallbacks_m1976974374 (GvrKeyboard_t598184456 * __this, int32_t ___keyboardEvent0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrKeyboard_PoolKeyboardCallbacks_m1976974374_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// switch (keyboardEvent) {
int32_t L_0 = ___keyboardEvent0;
switch (L_0)
{
case 0:
{
goto IL_002c;
}
case 1:
{
goto IL_003d;
}
case 2:
{
goto IL_004e;
}
case 3:
{
goto IL_005f;
}
case 4:
{
goto IL_0070;
}
case 5:
{
goto IL_0080;
}
case 6:
{
goto IL_0090;
}
case 7:
{
goto IL_00aa;
}
}
}
{
goto IL_00c4;
}
IL_002c:
{
// errorCallback(GvrKeyboardError.UNKNOWN);
ErrorCallback_t1270209242 * L_1 = __this->get_errorCallback_6();
// errorCallback(GvrKeyboardError.UNKNOWN);
NullCheck(L_1);
ErrorCallback_Invoke_m2963148981(L_1, 0, /*hidden argument*/NULL);
// break;
goto IL_00c4;
}
IL_003d:
{
// errorCallback(GvrKeyboardError.SERVICE_NOT_CONNECTED);
ErrorCallback_t1270209242 * L_2 = __this->get_errorCallback_6();
// errorCallback(GvrKeyboardError.SERVICE_NOT_CONNECTED);
NullCheck(L_2);
ErrorCallback_Invoke_m2963148981(L_2, 1, /*hidden argument*/NULL);
// break;
goto IL_00c4;
}
IL_004e:
{
// errorCallback(GvrKeyboardError.NO_LOCALES_FOUND);
ErrorCallback_t1270209242 * L_3 = __this->get_errorCallback_6();
// errorCallback(GvrKeyboardError.NO_LOCALES_FOUND);
NullCheck(L_3);
ErrorCallback_Invoke_m2963148981(L_3, 2, /*hidden argument*/NULL);
// break;
goto IL_00c4;
}
IL_005f:
{
// errorCallback(GvrKeyboardError.SDK_LOAD_FAILED);
ErrorCallback_t1270209242 * L_4 = __this->get_errorCallback_6();
// errorCallback(GvrKeyboardError.SDK_LOAD_FAILED);
NullCheck(L_4);
ErrorCallback_Invoke_m2963148981(L_4, 3, /*hidden argument*/NULL);
// break;
goto IL_00c4;
}
IL_0070:
{
// showCallback();
StandardCallback_t1386534425 * L_5 = __this->get_showCallback_7();
// showCallback();
NullCheck(L_5);
StandardCallback_Invoke_m3534083516(L_5, /*hidden argument*/NULL);
// break;
goto IL_00c4;
}
IL_0080:
{
// hideCallback();
StandardCallback_t1386534425 * L_6 = __this->get_hideCallback_8();
// hideCallback();
NullCheck(L_6);
StandardCallback_Invoke_m3534083516(L_6, /*hidden argument*/NULL);
// break;
goto IL_00c4;
}
IL_0090:
{
// updateCallback(keyboardProvider.EditorText);
EditTextCallback_t661057455 * L_7 = __this->get_updateCallback_9();
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
Il2CppObject * L_8 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_keyboardProvider_3();
// updateCallback(keyboardProvider.EditorText);
NullCheck(L_8);
String_t* L_9 = InterfaceFuncInvoker0< String_t* >::Invoke(9 /* System.String Gvr.Internal.IKeyboardProvider::get_EditorText() */, IKeyboardProvider_t155239331_il2cpp_TypeInfo_var, L_8);
// updateCallback(keyboardProvider.EditorText);
NullCheck(L_7);
EditTextCallback_Invoke_m2867238628(L_7, L_9, /*hidden argument*/NULL);
// break;
goto IL_00c4;
}
IL_00aa:
{
// enterCallback(keyboardProvider.EditorText);
EditTextCallback_t661057455 * L_10 = __this->get_enterCallback_10();
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
Il2CppObject * L_11 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_keyboardProvider_3();
// enterCallback(keyboardProvider.EditorText);
NullCheck(L_11);
String_t* L_12 = InterfaceFuncInvoker0< String_t* >::Invoke(9 /* System.String Gvr.Internal.IKeyboardProvider::get_EditorText() */, IKeyboardProvider_t155239331_il2cpp_TypeInfo_var, L_11);
// enterCallback(keyboardProvider.EditorText);
NullCheck(L_10);
EditTextCallback_Invoke_m2867238628(L_10, L_12, /*hidden argument*/NULL);
// break;
goto IL_00c4;
}
IL_00c4:
{
// }
return;
}
}
// System.Void GvrKeyboard::OnKeyboardCallback(System.IntPtr,GvrKeyboardEvent)
extern "C" void GvrKeyboard_OnKeyboardCallback_m4289246828 (Il2CppObject * __this /* static, unused */, IntPtr_t ___closure0, int32_t ___keyboardEvent1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrKeyboard_OnKeyboardCallback_m4289246828_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);
{
// lock (callbacksLock) {
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
Il2CppObject * L_0 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_callbacksLock_15();
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)
// threadSafeCallbacks.Add(keyboardEvent);
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
List_1_t683592616 * L_2 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_threadSafeCallbacks_14();
int32_t L_3 = ___keyboardEvent1;
// threadSafeCallbacks.Add(keyboardEvent);
NullCheck(L_2);
List_1_Add_m578552031(L_2, L_3, /*hidden argument*/List_1_Add_m578552031_MethodInfo_var);
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_4 = V_0;
Monitor_Exit_m2677760297(NULL /*static, unused*/, L_4, /*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 GvrKeyboard::KeyboardDelegate_KeyboardShown(System.Object,System.EventArgs)
extern "C" void GvrKeyboard_KeyboardDelegate_KeyboardShown_m4147123672 (GvrKeyboard_t598184456 * __this, Il2CppObject * ___sender0, EventArgs_t3289624707 * ___e1, const MethodInfo* method)
{
{
// isKeyboardHidden = false;
__this->set_isKeyboardHidden_12((bool)0);
// }
return;
}
}
// System.Void GvrKeyboard::KeyboardDelegate_KeyboardHidden(System.Object,System.EventArgs)
extern "C" void GvrKeyboard_KeyboardDelegate_KeyboardHidden_m948503265 (GvrKeyboard_t598184456 * __this, Il2CppObject * ___sender0, EventArgs_t3289624707 * ___e1, const MethodInfo* method)
{
{
// isKeyboardHidden = true;
__this->set_isKeyboardHidden_12((bool)1);
// }
return;
}
}
// UnityEngine.Matrix4x4 GvrKeyboard::GetKeyboardObjectMatrix(UnityEngine.Vector3)
extern "C" Matrix4x4_t2933234003 GvrKeyboard_GetKeyboardObjectMatrix_m2898371228 (GvrKeyboard_t598184456 * __this, Vector3_t2243707580 ___position0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrKeyboard_GetKeyboardObjectMatrix_m2898371228_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
float V_1 = 0.0f;
float V_2 = 0.0f;
float V_3 = 0.0f;
float V_4 = 0.0f;
float V_5 = 0.0f;
float V_6 = 0.0f;
float V_7 = 0.0f;
float V_8 = 0.0f;
Vector3_t2243707580 V_9;
memset(&V_9, 0, sizeof(V_9));
Vector3_t2243707580 V_10;
memset(&V_10, 0, sizeof(V_10));
Quaternion_t4030073918 V_11;
memset(&V_11, 0, sizeof(V_11));
Matrix4x4_t2933234003 V_12;
memset(&V_12, 0, sizeof(V_12));
Vector4_t2243707581 V_13;
memset(&V_13, 0, sizeof(V_13));
Vector4_t2243707581 V_14;
memset(&V_14, 0, sizeof(V_14));
Vector4_t2243707581 V_15;
memset(&V_15, 0, sizeof(V_15));
Matrix4x4_t2933234003 V_16;
memset(&V_16, 0, sizeof(V_16));
{
// float angleX = Mathf.Atan2(position.y, position.x);
float L_0 = (&___position0)->get_y_2();
float L_1 = (&___position0)->get_x_1();
// float angleX = Mathf.Atan2(position.y, position.x);
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_2 = atan2f(L_0, L_1);
V_0 = L_2;
// float kTanAngleX = Mathf.Tan(angleX);
float L_3 = V_0;
// float kTanAngleX = Mathf.Tan(angleX);
float L_4 = tanf(L_3);
V_1 = L_4;
// float newPosX = kTanAngleX * position.x;
float L_5 = V_1;
float L_6 = (&___position0)->get_x_1();
V_2 = ((float)((float)L_5*(float)L_6));
// float angleY = Mathf.Atan2(position.x, position.y);
float L_7 = (&___position0)->get_x_1();
float L_8 = (&___position0)->get_y_2();
// float angleY = Mathf.Atan2(position.x, position.y);
float L_9 = atan2f(L_7, L_8);
V_3 = L_9;
// float kTanAngleY = Mathf.Tan(angleY);
float L_10 = V_3;
// float kTanAngleY = Mathf.Tan(angleY);
float L_11 = tanf(L_10);
V_4 = L_11;
// float newPosY = kTanAngleY * position.y;
float L_12 = V_4;
float L_13 = (&___position0)->get_y_2();
V_5 = ((float)((float)L_12*(float)L_13));
// float angleZ = Mathf.Atan2(position.y, position.z);
float L_14 = (&___position0)->get_y_2();
float L_15 = (&___position0)->get_z_3();
// float angleZ = Mathf.Atan2(position.y, position.z);
float L_16 = atan2f(L_14, L_15);
V_6 = L_16;
// float kTanAngleZ = Mathf.Tan(angleZ);
float L_17 = V_6;
// float kTanAngleZ = Mathf.Tan(angleZ);
float L_18 = tanf(L_17);
V_7 = L_18;
// float newPosZ = kTanAngleZ * position.z;
float L_19 = V_7;
float L_20 = (&___position0)->get_z_3();
V_8 = ((float)((float)L_19*(float)L_20));
// Vector3 keyboardPosition = new Vector3(newPosX, newPosY, newPosZ);
float L_21 = V_2;
float L_22 = V_5;
float L_23 = V_8;
// Vector3 keyboardPosition = new Vector3(newPosX, newPosY, newPosZ);
Vector3__ctor_m2638739322((&V_9), L_21, L_22, L_23, /*hidden argument*/NULL);
// Vector3 lookPosition = Camera.main.transform.position;
Camera_t189460977 * L_24 = Camera_get_main_m475173995(NULL /*static, unused*/, /*hidden argument*/NULL);
// Vector3 lookPosition = Camera.main.transform.position;
NullCheck(L_24);
Transform_t3275118058 * L_25 = Component_get_transform_m2697483695(L_24, /*hidden argument*/NULL);
// Vector3 lookPosition = Camera.main.transform.position;
NullCheck(L_25);
Vector3_t2243707580 L_26 = Transform_get_position_m1104419803(L_25, /*hidden argument*/NULL);
V_10 = L_26;
// Quaternion rotation = Quaternion.LookRotation(lookPosition);
Vector3_t2243707580 L_27 = V_10;
// Quaternion rotation = Quaternion.LookRotation(lookPosition);
Quaternion_t4030073918 L_28 = Quaternion_LookRotation_m633695927(NULL /*static, unused*/, L_27, /*hidden argument*/NULL);
V_11 = L_28;
// Matrix4x4 mat = new Matrix4x4();
Initobj (Matrix4x4_t2933234003_il2cpp_TypeInfo_var, (&V_12));
// mat.SetTRS(keyboardPosition, rotation, position);
Vector3_t2243707580 L_29 = V_9;
Quaternion_t4030073918 L_30 = V_11;
Vector3_t2243707580 L_31 = ___position0;
// mat.SetTRS(keyboardPosition, rotation, position);
Matrix4x4_SetTRS_m3756460302((&V_12), L_29, L_30, L_31, /*hidden argument*/NULL);
// if (mat[0, 0] == 0) {
// if (mat[0, 0] == 0) {
float L_32 = Matrix4x4_get_Item_m312280350((&V_12), 0, 0, /*hidden argument*/NULL);
if ((!(((float)L_32) == ((float)(0.0f)))))
{
goto IL_00f8;
}
}
{
// Vector4 row0 = mat.GetRow(0);
// Vector4 row0 = mat.GetRow(0);
Vector4_t2243707581 L_33 = Matrix4x4_GetRow_m3874586412((&V_12), 0, /*hidden argument*/NULL);
V_13 = L_33;
// mat.SetRow(0, new Vector4(1, row0.y, row0.z, row0.w));
float L_34 = (&V_13)->get_y_2();
float L_35 = (&V_13)->get_z_3();
float L_36 = (&V_13)->get_w_4();
// mat.SetRow(0, new Vector4(1, row0.y, row0.z, row0.w));
Vector4_t2243707581 L_37;
memset(&L_37, 0, sizeof(L_37));
Vector4__ctor_m1222289168(&L_37, (1.0f), L_34, L_35, L_36, /*hidden argument*/NULL);
// mat.SetRow(0, new Vector4(1, row0.y, row0.z, row0.w));
Matrix4x4_SetRow_m117954573((&V_12), 0, L_37, /*hidden argument*/NULL);
}
IL_00f8:
{
// if (mat[1, 1] == 0) {
// if (mat[1, 1] == 0) {
float L_38 = Matrix4x4_get_Item_m312280350((&V_12), 1, 1, /*hidden argument*/NULL);
if ((!(((float)L_38) == ((float)(0.0f)))))
{
goto IL_013e;
}
}
{
// Vector4 row1 = mat.GetRow(1);
// Vector4 row1 = mat.GetRow(1);
Vector4_t2243707581 L_39 = Matrix4x4_GetRow_m3874586412((&V_12), 1, /*hidden argument*/NULL);
V_14 = L_39;
// mat.SetRow(1, new Vector4(row1.x, 1, row1.z, row1.w));
float L_40 = (&V_14)->get_x_1();
float L_41 = (&V_14)->get_z_3();
float L_42 = (&V_14)->get_w_4();
// mat.SetRow(1, new Vector4(row1.x, 1, row1.z, row1.w));
Vector4_t2243707581 L_43;
memset(&L_43, 0, sizeof(L_43));
Vector4__ctor_m1222289168(&L_43, L_40, (1.0f), L_41, L_42, /*hidden argument*/NULL);
// mat.SetRow(1, new Vector4(row1.x, 1, row1.z, row1.w));
Matrix4x4_SetRow_m117954573((&V_12), 1, L_43, /*hidden argument*/NULL);
}
IL_013e:
{
// if (mat[2, 2] == 0) {
// if (mat[2, 2] == 0) {
float L_44 = Matrix4x4_get_Item_m312280350((&V_12), 2, 2, /*hidden argument*/NULL);
if ((!(((float)L_44) == ((float)(0.0f)))))
{
goto IL_0184;
}
}
{
// Vector4 row2 = mat.GetRow(2);
// Vector4 row2 = mat.GetRow(2);
Vector4_t2243707581 L_45 = Matrix4x4_GetRow_m3874586412((&V_12), 2, /*hidden argument*/NULL);
V_15 = L_45;
// mat.SetRow(2, new Vector4(row2.x, row2.y, 1, row2.w));
float L_46 = (&V_15)->get_x_1();
float L_47 = (&V_15)->get_y_2();
float L_48 = (&V_15)->get_w_4();
// mat.SetRow(2, new Vector4(row2.x, row2.y, 1, row2.w));
Vector4_t2243707581 L_49;
memset(&L_49, 0, sizeof(L_49));
Vector4__ctor_m1222289168(&L_49, L_46, L_47, (1.0f), L_48, /*hidden argument*/NULL);
// mat.SetRow(2, new Vector4(row2.x, row2.y, 1, row2.w));
Matrix4x4_SetRow_m117954573((&V_12), 2, L_49, /*hidden argument*/NULL);
}
IL_0184:
{
// return mat;
Matrix4x4_t2933234003 L_50 = V_12;
V_16 = L_50;
goto IL_018d;
}
IL_018d:
{
// }
Matrix4x4_t2933234003 L_51 = V_16;
return L_51;
}
}
// System.Void GvrKeyboard::.cctor()
extern "C" void GvrKeyboard__cctor_m1691161778 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrKeyboard__cctor_m1691161778_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// private static List<GvrKeyboardEvent> threadSafeCallbacks =
List_1_t683592616 * L_0 = (List_1_t683592616 *)il2cpp_codegen_object_new(List_1_t683592616_il2cpp_TypeInfo_var);
List_1__ctor_m1488812387(L_0, /*hidden argument*/List_1__ctor_m1488812387_MethodInfo_var);
((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->set_threadSafeCallbacks_14(L_0);
// private static System.Object callbacksLock = new System.Object();
Il2CppObject * L_1 = (Il2CppObject *)il2cpp_codegen_object_new(Il2CppObject_il2cpp_TypeInfo_var);
Object__ctor_m2551263788(L_1, /*hidden argument*/NULL);
((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->set_callbacksLock_15(L_1);
return;
}
}
// System.Void GvrKeyboard/<Executer>c__Iterator0::.ctor()
extern "C" void U3CExecuterU3Ec__Iterator0__ctor_m4019602360 (U3CExecuterU3Ec__Iterator0_t1374321097 * __this, const MethodInfo* method)
{
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
return;
}
}
// System.Boolean GvrKeyboard/<Executer>c__Iterator0::MoveNext()
extern "C" bool U3CExecuterU3Ec__Iterator0_MoveNext_m2284202560 (U3CExecuterU3Ec__Iterator0_t1374321097 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CExecuterU3Ec__Iterator0_MoveNext_m2284202560_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
uint32_t V_0 = 0;
int32_t V_1 = 0;
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);
{
int32_t L_0 = __this->get_U24PC_3();
V_0 = L_0;
__this->set_U24PC_3((-1));
uint32_t L_1 = V_0;
switch (L_1)
{
case 0:
{
goto IL_0021;
}
case 1:
{
goto IL_0048;
}
}
}
{
goto IL_00a9;
}
IL_0021:
{
}
IL_0022:
{
// yield return new WaitForSeconds(kExecuterWait);
// yield return new WaitForSeconds(kExecuterWait);
WaitForSeconds_t3839502067 * L_2 = (WaitForSeconds_t3839502067 *)il2cpp_codegen_object_new(WaitForSeconds_t3839502067_il2cpp_TypeInfo_var);
WaitForSeconds__ctor_m1990515539(L_2, (0.01f), /*hidden argument*/NULL);
__this->set_U24current_1(L_2);
bool L_3 = __this->get_U24disposing_2();
if (L_3)
{
goto IL_0043;
}
}
{
__this->set_U24PC_3(1);
}
IL_0043:
{
goto IL_00ab;
}
IL_0048:
{
// while (threadSafeCallbacks.Count > 0) {
goto IL_008c;
}
IL_004d:
{
// GvrKeyboardEvent keyboardEvent = threadSafeCallbacks[0];
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
List_1_t683592616 * L_4 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_threadSafeCallbacks_14();
// GvrKeyboardEvent keyboardEvent = threadSafeCallbacks[0];
NullCheck(L_4);
int32_t L_5 = List_1_get_Item_m722956656(L_4, 0, /*hidden argument*/List_1_get_Item_m722956656_MethodInfo_var);
V_1 = L_5;
// PoolKeyboardCallbacks(keyboardEvent);
GvrKeyboard_t598184456 * L_6 = __this->get_U24this_0();
int32_t L_7 = V_1;
// PoolKeyboardCallbacks(keyboardEvent);
NullCheck(L_6);
GvrKeyboard_PoolKeyboardCallbacks_m1976974374(L_6, L_7, /*hidden argument*/NULL);
// lock (callbacksLock) {
Il2CppObject * L_8 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_callbacksLock_15();
V_2 = L_8;
Il2CppObject * L_9 = V_2;
Monitor_Enter_m2136705809(NULL /*static, unused*/, L_9, /*hidden argument*/NULL);
}
IL_0072:
try
{ // begin try (depth: 1)
// threadSafeCallbacks.RemoveAt(0);
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
List_1_t683592616 * L_10 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_threadSafeCallbacks_14();
// threadSafeCallbacks.RemoveAt(0);
NullCheck(L_10);
List_1_RemoveAt_m197372785(L_10, 0, /*hidden argument*/List_1_RemoveAt_m197372785_MethodInfo_var);
IL2CPP_LEAVE(0x8B, FINALLY_0084);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_0084;
}
FINALLY_0084:
{ // begin finally (depth: 1)
Il2CppObject * L_11 = V_2;
Monitor_Exit_m2677760297(NULL /*static, unused*/, L_11, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(132)
} // end finally (depth: 1)
IL2CPP_CLEANUP(132)
{
IL2CPP_JUMP_TBL(0x8B, IL_008b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_008b:
{
}
IL_008c:
{
// while (threadSafeCallbacks.Count > 0) {
IL2CPP_RUNTIME_CLASS_INIT(GvrKeyboard_t598184456_il2cpp_TypeInfo_var);
List_1_t683592616 * L_12 = ((GvrKeyboard_t598184456_StaticFields*)GvrKeyboard_t598184456_il2cpp_TypeInfo_var->static_fields)->get_threadSafeCallbacks_14();
// while (threadSafeCallbacks.Count > 0) {
NullCheck(L_12);
int32_t L_13 = List_1_get_Count_m2164786539(L_12, /*hidden argument*/List_1_get_Count_m2164786539_MethodInfo_var);
if ((((int32_t)L_13) > ((int32_t)0)))
{
goto IL_004d;
}
}
{
goto IL_0022;
}
// Dead block : IL_00a2: ldarg.0
IL_00a9:
{
return (bool)0;
}
IL_00ab:
{
return (bool)1;
}
}
// System.Object GvrKeyboard/<Executer>c__Iterator0::System.Collections.Generic.IEnumerator<object>.get_Current()
extern "C" Il2CppObject * U3CExecuterU3Ec__Iterator0_System_Collections_Generic_IEnumeratorU3CobjectU3E_get_Current_m4231424556 (U3CExecuterU3Ec__Iterator0_t1374321097 * __this, const MethodInfo* method)
{
Il2CppObject * V_0 = NULL;
{
Il2CppObject * L_0 = __this->get_U24current_1();
V_0 = L_0;
goto IL_000c;
}
IL_000c:
{
Il2CppObject * L_1 = V_0;
return L_1;
}
}
// System.Object GvrKeyboard/<Executer>c__Iterator0::System.Collections.IEnumerator.get_Current()
extern "C" Il2CppObject * U3CExecuterU3Ec__Iterator0_System_Collections_IEnumerator_get_Current_m2644804900 (U3CExecuterU3Ec__Iterator0_t1374321097 * __this, const MethodInfo* method)
{
Il2CppObject * V_0 = NULL;
{
Il2CppObject * L_0 = __this->get_U24current_1();
V_0 = L_0;
goto IL_000c;
}
IL_000c:
{
Il2CppObject * L_1 = V_0;
return L_1;
}
}
// System.Void GvrKeyboard/<Executer>c__Iterator0::Dispose()
extern "C" void U3CExecuterU3Ec__Iterator0_Dispose_m1520247051 (U3CExecuterU3Ec__Iterator0_t1374321097 * __this, const MethodInfo* method)
{
{
__this->set_U24disposing_2((bool)1);
__this->set_U24PC_3((-1));
return;
}
}
// System.Void GvrKeyboard/<Executer>c__Iterator0::Reset()
extern "C" void U3CExecuterU3Ec__Iterator0_Reset_m1683171873 (U3CExecuterU3Ec__Iterator0_t1374321097 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CExecuterU3Ec__Iterator0_Reset_m1683171873_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);
}
}
extern "C" void DelegatePInvokeWrapper_EditTextCallback_t661057455 (EditTextCallback_t661057455 * __this, String_t* ___edit_text0, const MethodInfo* method)
{
typedef void (STDCALL *PInvokeFunc)(char*);
PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(((Il2CppDelegate*)__this)->method->methodPointer);
// Marshaling of parameter '___edit_text0' to native representation
char* ____edit_text0_marshaled = NULL;
____edit_text0_marshaled = il2cpp_codegen_marshal_string(___edit_text0);
// Native function invocation
il2cppPInvokeFunc(____edit_text0_marshaled);
// Marshaling cleanup of parameter '___edit_text0' native representation
il2cpp_codegen_marshal_free(____edit_text0_marshaled);
____edit_text0_marshaled = NULL;
}
// System.Void GvrKeyboard/EditTextCallback::.ctor(System.Object,System.IntPtr)
extern "C" void EditTextCallback__ctor_m4032200664 (EditTextCallback_t661057455 * __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 GvrKeyboard/EditTextCallback::Invoke(System.String)
extern "C" void EditTextCallback_Invoke_m2867238628 (EditTextCallback_t661057455 * __this, String_t* ___edit_text0, const MethodInfo* method)
{
if(__this->get_prev_9() != NULL)
{
EditTextCallback_Invoke_m2867238628((EditTextCallback_t661057455 *)__this->get_prev_9(),___edit_text0, 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, String_t* ___edit_text0, const MethodInfo* method);
((FunctionPointerType)__this->get_method_ptr_0())(NULL,__this->get_m_target_2(),___edit_text0,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
else if (__this->get_m_target_2() != NULL || ___methodIsStatic)
{
typedef void (*FunctionPointerType) (void* __this, String_t* ___edit_text0, const MethodInfo* method);
((FunctionPointerType)__this->get_method_ptr_0())(__this->get_m_target_2(),___edit_text0,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
else
{
typedef void (*FunctionPointerType) (void* __this, const MethodInfo* method);
((FunctionPointerType)__this->get_method_ptr_0())(___edit_text0,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
}
// System.IAsyncResult GvrKeyboard/EditTextCallback::BeginInvoke(System.String,System.AsyncCallback,System.Object)
extern "C" Il2CppObject * EditTextCallback_BeginInvoke_m4028319051 (EditTextCallback_t661057455 * __this, String_t* ___edit_text0, AsyncCallback_t163412349 * ___callback1, Il2CppObject * ___object2, const MethodInfo* method)
{
void *__d_args[2] = {0};
__d_args[0] = ___edit_text0;
return (Il2CppObject *)il2cpp_codegen_delegate_begin_invoke((Il2CppDelegate*)__this, __d_args, (Il2CppDelegate*)___callback1, (Il2CppObject*)___object2);
}
// System.Void GvrKeyboard/EditTextCallback::EndInvoke(System.IAsyncResult)
extern "C" void EditTextCallback_EndInvoke_m754919370 (EditTextCallback_t661057455 * __this, Il2CppObject * ___result0, const MethodInfo* method)
{
il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
}
extern "C" void DelegatePInvokeWrapper_ErrorCallback_t1270209242 (ErrorCallback_t1270209242 * __this, int32_t ___err0, const MethodInfo* method)
{
typedef void (STDCALL *PInvokeFunc)(int32_t);
PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(((Il2CppDelegate*)__this)->method->methodPointer);
// Native function invocation
il2cppPInvokeFunc(___err0);
}
// System.Void GvrKeyboard/ErrorCallback::.ctor(System.Object,System.IntPtr)
extern "C" void ErrorCallback__ctor_m869251959 (ErrorCallback_t1270209242 * __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 GvrKeyboard/ErrorCallback::Invoke(GvrKeyboardError)
extern "C" void ErrorCallback_Invoke_m2963148981 (ErrorCallback_t1270209242 * __this, int32_t ___err0, const MethodInfo* method)
{
if(__this->get_prev_9() != NULL)
{
ErrorCallback_Invoke_m2963148981((ErrorCallback_t1270209242 *)__this->get_prev_9(),___err0, 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 ___err0, const MethodInfo* method);
((FunctionPointerType)__this->get_method_ptr_0())(NULL,__this->get_m_target_2(),___err0,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
else
{
typedef void (*FunctionPointerType) (void* __this, int32_t ___err0, const MethodInfo* method);
((FunctionPointerType)__this->get_method_ptr_0())(__this->get_m_target_2(),___err0,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
}
// System.IAsyncResult GvrKeyboard/ErrorCallback::BeginInvoke(GvrKeyboardError,System.AsyncCallback,System.Object)
extern "C" Il2CppObject * ErrorCallback_BeginInvoke_m3704464768 (ErrorCallback_t1270209242 * __this, int32_t ___err0, AsyncCallback_t163412349 * ___callback1, Il2CppObject * ___object2, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ErrorCallback_BeginInvoke_m3704464768_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
void *__d_args[2] = {0};
__d_args[0] = Box(GvrKeyboardError_t2067079702_il2cpp_TypeInfo_var, &___err0);
return (Il2CppObject *)il2cpp_codegen_delegate_begin_invoke((Il2CppDelegate*)__this, __d_args, (Il2CppDelegate*)___callback1, (Il2CppObject*)___object2);
}
// System.Void GvrKeyboard/ErrorCallback::EndInvoke(System.IAsyncResult)
extern "C" void ErrorCallback_EndInvoke_m301323501 (ErrorCallback_t1270209242 * __this, Il2CppObject * ___result0, const MethodInfo* method)
{
il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
}
extern "C" void DelegatePInvokeWrapper_KeyboardCallback_t4001681579 (KeyboardCallback_t4001681579 * __this, IntPtr_t ___closure0, int32_t ___evt1, const MethodInfo* method)
{
typedef void (STDCALL *PInvokeFunc)(intptr_t, int32_t);
PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(((Il2CppDelegate*)__this)->method->methodPointer);
// Native function invocation
il2cppPInvokeFunc(reinterpret_cast<intptr_t>((___closure0).get_m_value_0()), ___evt1);
}
// System.Void GvrKeyboard/KeyboardCallback::.ctor(System.Object,System.IntPtr)
extern "C" void KeyboardCallback__ctor_m2947035214 (KeyboardCallback_t4001681579 * __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 GvrKeyboard/KeyboardCallback::Invoke(System.IntPtr,GvrKeyboardEvent)
extern "C" void KeyboardCallback_Invoke_m2410660164 (KeyboardCallback_t4001681579 * __this, IntPtr_t ___closure0, int32_t ___evt1, const MethodInfo* method)
{
if(__this->get_prev_9() != NULL)
{
KeyboardCallback_Invoke_m2410660164((KeyboardCallback_t4001681579 *)__this->get_prev_9(),___closure0, ___evt1, 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, IntPtr_t ___closure0, int32_t ___evt1, const MethodInfo* method);
((FunctionPointerType)__this->get_method_ptr_0())(NULL,__this->get_m_target_2(),___closure0, ___evt1,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
else
{
typedef void (*FunctionPointerType) (void* __this, IntPtr_t ___closure0, int32_t ___evt1, const MethodInfo* method);
((FunctionPointerType)__this->get_method_ptr_0())(__this->get_m_target_2(),___closure0, ___evt1,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
}
// System.IAsyncResult GvrKeyboard/KeyboardCallback::BeginInvoke(System.IntPtr,GvrKeyboardEvent,System.AsyncCallback,System.Object)
extern "C" Il2CppObject * KeyboardCallback_BeginInvoke_m1132819681 (KeyboardCallback_t4001681579 * __this, IntPtr_t ___closure0, int32_t ___evt1, AsyncCallback_t163412349 * ___callback2, Il2CppObject * ___object3, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (KeyboardCallback_BeginInvoke_m1132819681_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
void *__d_args[3] = {0};
__d_args[0] = Box(IntPtr_t_il2cpp_TypeInfo_var, &___closure0);
__d_args[1] = Box(GvrKeyboardEvent_t1314471484_il2cpp_TypeInfo_var, &___evt1);
return (Il2CppObject *)il2cpp_codegen_delegate_begin_invoke((Il2CppDelegate*)__this, __d_args, (Il2CppDelegate*)___callback2, (Il2CppObject*)___object3);
}
// System.Void GvrKeyboard/KeyboardCallback::EndInvoke(System.IAsyncResult)
extern "C" void KeyboardCallback_EndInvoke_m1708639812 (KeyboardCallback_t4001681579 * __this, Il2CppObject * ___result0, const MethodInfo* method)
{
il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
}
extern "C" void DelegatePInvokeWrapper_StandardCallback_t1386534425 (StandardCallback_t1386534425 * __this, const MethodInfo* method)
{
typedef void (STDCALL *PInvokeFunc)();
PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(((Il2CppDelegate*)__this)->method->methodPointer);
// Native function invocation
il2cppPInvokeFunc();
}
// System.Void GvrKeyboard/StandardCallback::.ctor(System.Object,System.IntPtr)
extern "C" void StandardCallback__ctor_m1848505198 (StandardCallback_t1386534425 * __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 GvrKeyboard/StandardCallback::Invoke()
extern "C" void StandardCallback_Invoke_m3534083516 (StandardCallback_t1386534425 * __this, const MethodInfo* method)
{
if(__this->get_prev_9() != NULL)
{
StandardCallback_Invoke_m3534083516((StandardCallback_t1386534425 *)__this->get_prev_9(), 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 || MethodHasParameters((MethodInfo*)(__this->get_method_3().get_m_value_0()))) && ___methodIsStatic)
{
typedef void (*FunctionPointerType) (Il2CppObject *, void* __this, const MethodInfo* method);
((FunctionPointerType)__this->get_method_ptr_0())(NULL,__this->get_m_target_2(),(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
else
{
typedef void (*FunctionPointerType) (void* __this, const MethodInfo* method);
((FunctionPointerType)__this->get_method_ptr_0())(__this->get_m_target_2(),(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
}
// System.IAsyncResult GvrKeyboard/StandardCallback::BeginInvoke(System.AsyncCallback,System.Object)
extern "C" Il2CppObject * StandardCallback_BeginInvoke_m1347493727 (StandardCallback_t1386534425 * __this, AsyncCallback_t163412349 * ___callback0, Il2CppObject * ___object1, const MethodInfo* method)
{
void *__d_args[1] = {0};
return (Il2CppObject *)il2cpp_codegen_delegate_begin_invoke((Il2CppDelegate*)__this, __d_args, (Il2CppDelegate*)___callback0, (Il2CppObject*)___object1);
}
// System.Void GvrKeyboard/StandardCallback::EndInvoke(System.IAsyncResult)
extern "C" void StandardCallback_EndInvoke_m407974464 (StandardCallback_t1386534425 * __this, Il2CppObject * ___result0, const MethodInfo* method)
{
il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
}
// System.Void GvrKeyboardDelegateBase::.ctor()
extern "C" void GvrKeyboardDelegateBase__ctor_m916369055 (GvrKeyboardDelegateBase_t1914180906 * __this, const MethodInfo* method)
{
{
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void GvrLaserPointer::.ctor()
extern "C" void GvrLaserPointer__ctor_m3374328308 (GvrLaserPointer_t2879974839 * __this, const MethodInfo* method)
{
{
MonoBehaviour__ctor_m2464341955(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void GvrLaserPointerImpl::.ctor()
extern "C" void GvrLaserPointerImpl__ctor_m2090733158 (GvrLaserPointerImpl_t2141976067 * __this, const MethodInfo* method)
{
{
// private Vector3 lineEndPoint = Vector3.zero;
// private Vector3 lineEndPoint = Vector3.zero;
Vector3_t2243707580 L_0 = Vector3_get_zero_m1527993324(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_lineEndPoint_16(L_0);
// public GvrLaserPointerImpl() {
GvrBasePointer__ctor_m677865000(__this, /*hidden argument*/NULL);
// MaxLaserDistance = 0.75f;
// MaxLaserDistance = 0.75f;
GvrLaserPointerImpl_set_MaxLaserDistance_m3674615216(__this, (0.75f), /*hidden argument*/NULL);
// MaxReticleDistance = 2.5f;
// MaxReticleDistance = 2.5f;
GvrLaserPointerImpl_set_MaxReticleDistance_m3254151873(__this, (2.5f), /*hidden argument*/NULL);
// }
return;
}
}
// UnityEngine.Camera GvrLaserPointerImpl::get_MainCamera()
extern "C" Camera_t189460977 * GvrLaserPointerImpl_get_MainCamera_m3408232102 (GvrLaserPointerImpl_t2141976067 * __this, const MethodInfo* method)
{
Camera_t189460977 * V_0 = NULL;
{
// public Camera MainCamera { private get; set; }
Camera_t189460977 * L_0 = __this->get_U3CMainCameraU3Ek__BackingField_5();
V_0 = L_0;
goto IL_000c;
}
IL_000c:
{
Camera_t189460977 * L_1 = V_0;
return L_1;
}
}
// System.Void GvrLaserPointerImpl::set_MainCamera(UnityEngine.Camera)
extern "C" void GvrLaserPointerImpl_set_MainCamera_m957916287 (GvrLaserPointerImpl_t2141976067 * __this, Camera_t189460977 * ___value0, const MethodInfo* method)
{
{
// public Camera MainCamera { private get; set; }
Camera_t189460977 * L_0 = ___value0;
__this->set_U3CMainCameraU3Ek__BackingField_5(L_0);
return;
}
}
// UnityEngine.Color GvrLaserPointerImpl::get_LaserColor()
extern "C" Color_t2020392075 GvrLaserPointerImpl_get_LaserColor_m2924704266 (GvrLaserPointerImpl_t2141976067 * __this, const MethodInfo* method)
{
Color_t2020392075 V_0;
memset(&V_0, 0, sizeof(V_0));
{
// public Color LaserColor { private get; set; }
Color_t2020392075 L_0 = __this->get_U3CLaserColorU3Ek__BackingField_6();
V_0 = L_0;
goto IL_000c;
}
IL_000c:
{
Color_t2020392075 L_1 = V_0;
return L_1;
}
}
// System.Void GvrLaserPointerImpl::set_LaserColor(UnityEngine.Color)
extern "C" void GvrLaserPointerImpl_set_LaserColor_m4256875433 (GvrLaserPointerImpl_t2141976067 * __this, Color_t2020392075 ___value0, const MethodInfo* method)
{
{
// public Color LaserColor { private get; set; }
Color_t2020392075 L_0 = ___value0;
__this->set_U3CLaserColorU3Ek__BackingField_6(L_0);
return;
}
}
// UnityEngine.LineRenderer GvrLaserPointerImpl::get_LaserLineRenderer()
extern "C" LineRenderer_t849157671 * GvrLaserPointerImpl_get_LaserLineRenderer_m3046216770 (GvrLaserPointerImpl_t2141976067 * __this, const MethodInfo* method)
{
LineRenderer_t849157671 * V_0 = NULL;
{
// public LineRenderer LaserLineRenderer { get; set; }
LineRenderer_t849157671 * L_0 = __this->get_U3CLaserLineRendererU3Ek__BackingField_7();
V_0 = L_0;
goto IL_000c;
}
IL_000c:
{
LineRenderer_t849157671 * L_1 = V_0;
return L_1;
}
}
// System.Void GvrLaserPointerImpl::set_LaserLineRenderer(UnityEngine.LineRenderer)
extern "C" void GvrLaserPointerImpl_set_LaserLineRenderer_m949710001 (GvrLaserPointerImpl_t2141976067 * __this, LineRenderer_t849157671 * ___value0, const MethodInfo* method)
{
{
// public LineRenderer LaserLineRenderer { get; set; }
LineRenderer_t849157671 * L_0 = ___value0;
__this->set_U3CLaserLineRendererU3Ek__BackingField_7(L_0);
return;
}
}
// System.Single GvrLaserPointerImpl::get_MaxLaserDistance()
extern "C" float GvrLaserPointerImpl_get_MaxLaserDistance_m3964575299 (GvrLaserPointerImpl_t2141976067 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
// public float MaxLaserDistance { private get; set; }
float L_0 = __this->get_U3CMaxLaserDistanceU3Ek__BackingField_8();
V_0 = L_0;
goto IL_000c;
}
IL_000c:
{
float L_1 = V_0;
return L_1;
}
}
// System.Void GvrLaserPointerImpl::set_MaxLaserDistance(System.Single)
extern "C" void GvrLaserPointerImpl_set_MaxLaserDistance_m3674615216 (GvrLaserPointerImpl_t2141976067 * __this, float ___value0, const MethodInfo* method)
{
{
// public float MaxLaserDistance { private get; set; }
float L_0 = ___value0;
__this->set_U3CMaxLaserDistanceU3Ek__BackingField_8(L_0);
return;
}
}
// System.Single GvrLaserPointerImpl::get_MaxReticleDistance()
extern "C" float GvrLaserPointerImpl_get_MaxReticleDistance_m1514639426 (GvrLaserPointerImpl_t2141976067 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
// public float MaxReticleDistance { private get; set; }
float L_0 = __this->get_U3CMaxReticleDistanceU3Ek__BackingField_9();
V_0 = L_0;
goto IL_000c;
}
IL_000c:
{
float L_1 = V_0;
return L_1;
}
}
// System.Void GvrLaserPointerImpl::set_MaxReticleDistance(System.Single)
extern "C" void GvrLaserPointerImpl_set_MaxReticleDistance_m3254151873 (GvrLaserPointerImpl_t2141976067 * __this, float ___value0, const MethodInfo* method)
{
{
// public float MaxReticleDistance { private get; set; }
float L_0 = ___value0;
__this->set_U3CMaxReticleDistanceU3Ek__BackingField_9(L_0);
return;
}
}
// UnityEngine.GameObject GvrLaserPointerImpl::get_Reticle()
extern "C" GameObject_t1756533147 * GvrLaserPointerImpl_get_Reticle_m4077335888 (GvrLaserPointerImpl_t2141976067 * __this, const MethodInfo* method)
{
GameObject_t1756533147 * V_0 = NULL;
{
// return reticle;
GameObject_t1756533147 * L_0 = __this->get_reticle_10();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// }
GameObject_t1756533147 * L_1 = V_0;
return L_1;
}
}
// System.Void GvrLaserPointerImpl::set_Reticle(UnityEngine.GameObject)
extern "C" void GvrLaserPointerImpl_set_Reticle_m1414756459 (GvrLaserPointerImpl_t2141976067 * __this, GameObject_t1756533147 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GvrLaserPointerImpl_set_Reticle_m1414756459_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
MeshFilter_t3026937449 * V_0 = NULL;
Bounds_t3033363703 V_1;
memset(&V_1, 0, sizeof(V_1));
Vector3_t2243707580 V_2;
memset(&V_2, 0, sizeof(V_2));
{
// reticle = value;
GameObject_t1756533147 * L_0 = ___value0;
__this->set_reticle_10(L_0);
// reticleMeshSizeMeters = 1.0f;
__this->set_reticleMeshSizeMeters_14((1.0f));
// reticleMeshSizeRatio = 1.0f;
__this->set_reticleMeshSizeRatio_15((1.0f));
// if (reticle != null) {
GameObject_t1756533147 * L_1 = __this->get_reticle_10();
// if (reticle != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_1, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_00a1;
}
}
{
// MeshFilter meshFilter = reticle.GetComponent<MeshFilter>();
GameObject_t1756533147 * L_3 = __this->get_reticle_10();
// MeshFilter meshFilter = reticle.GetComponent<MeshFilter>();
NullCheck(L_3);
MeshFilter_t3026937449 * L_4 = GameObject_GetComponent_TisMeshFilter_t3026937449_m1728707518(L_3, /*hidden argument*/GameObject_GetComponent_TisMeshFilter_t3026937449_m1728707518_MethodInfo_var);
V_0 = L_4;
// if (meshFilter != null && meshFilter.mesh != null) {
MeshFilter_t3026937449 * L_5 = V_0;
// if (meshFilter != null && meshFilter.mesh != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_6 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_5, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_00a0;
}
}
{
MeshFilter_t3026937449 * L_7 = V_0;
// if (meshFilter != null && meshFilter.mesh != null) {
NullCheck(L_7);
Mesh_t1356156583 * L_8 = MeshFilter_get_mesh_m977520135(L_7, /*hidden argument*/NULL);
// if (meshFilter != null && meshFilter.mesh != null) {
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_9 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_8, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_9)
{
goto IL_00a0;
}
}
{
// reticleMeshSizeMeters = meshFilter.mesh.bounds.size.x;
MeshFilter_t3026937449 * L_10 = V_0;
// reticleMeshSizeMeters = meshFilter.mesh.bounds.size.x;
NullCheck(L_10);
Mesh_t1356156583 * L_11 = MeshFilter_get_mesh_m977520135(L_10, /*hidden argument*/NULL);
// reticleMeshSizeMeters = meshFilter.mesh.bounds.size.x;
NullCheck(L_11);
Bounds_t3033363703 L_12 = Mesh_get_bounds_m1752141467(L_11, /*hidden argument*/NULL);
V_1 = L_12;
// reticleMeshSizeMeters = meshFilter.mesh.bounds.size.x;
Vector3_t2243707580 L_13 = Bounds_get_size_m1728027642((&V_1), /*hidden argument*/NULL);
V_2 = L_13;
float L_14 = (&V_2)->get_x_1();
__this->set_reticleMeshSizeMeters_14(L_14);
// if (reticleMeshSizeMeters != 0.0f) {
float L_15 = __this->get_reticleMeshSizeMeters_14();
if ((((float)L_15) == ((float)(0.0f))))
{
goto IL_009f;
}
}
{
// reticleMeshSizeRatio = 1.0f / reticleMeshSizeMeters;
float L_16 = __this->get_reticleMeshSizeMeters_14();
__this->set_reticleMeshSizeRatio_15(((float)((float)(1.0f)/(float)L_16)));
}
IL_009f:
{
}
IL_00a0:
{
}
IL_00a1:
{
// }
return;
}
}
// UnityEngine.Vector3 GvrLaserPointerImpl::get_PointerIntersection()
extern "C" Vector3_t2243707580 GvrLaserPointerImpl_get_PointerIntersection_m2453802311 (GvrLaserPointerImpl_t2141976067 * __this, const MethodInfo* method)
{
Vector3_t2243707580 V_0;
memset(&V_0, 0, sizeof(V_0));
{
// public Vector3 PointerIntersection { get; private set; }
Vector3_t2243707580 L_0 = __this->get_U3CPointerIntersectionU3Ek__BackingField_11();
V_0 = L_0;
goto IL_000c;
}
IL_000c:
{
Vector3_t2243707580 L_1 = V_0;
return L_1;
}
}
// System.Void GvrLaserPointerImpl::set_PointerIntersection(UnityEngine.Vector3)
extern "C" void GvrLaserPointerImpl_set_PointerIntersection_m3348663786 (GvrLaserPointerImpl_t2141976067 * __this, Vector3_t2243707580 ___value0, const MethodInfo* method)
{
{
// public Vector3 PointerIntersection { get; private set; }
Vector3_t2243707580 L_0 = ___value0;
__this->set_U3CPointerIntersectionU3Ek__BackingField_11(L_0);
return;
}
}
// System.Boolean GvrLaserPointerImpl::get_IsPointerIntersecting()
extern "C" bool GvrLaserPointerImpl_get_IsPointerIntersecting_m1934345039 (GvrLaserPointerImpl_t2141976067 * __this, const MethodInfo* method)
{
bool V_0 = false;
{
// public bool IsPointerIntersecting { get; private set; }
bool L_0 = __this->get_U3CIsPointerIntersectingU3Ek__BackingField_12();
V_0 = L_0;
goto IL_000c;
}
IL_000c:
{
bool L_1 = V_0;
return L_1;
}
}
// System.Void GvrLaserPointerImpl::set_IsPointerIntersecting(System.Boolean)
extern "C" void GvrLaserPointerImpl_set_IsPointerIntersecting_m2966439950 (GvrLaserPointerImpl_t2141976067 * __this, bool ___value0, const MethodInfo* method)
{
{
// public bool IsPointerIntersecting { get; private set; }
bool L_0 = ___value0;
__this->set_U3CIsPointerIntersectingU3Ek__BackingField_12(L_0);
return;
}
}
// UnityEngine.Ray GvrLaserPointerImpl::get_PointerIntersectionRay()
extern "C" Ray_t2469606224 GvrLaserPointerImpl_get_PointerIntersectionRay_m806724853 (GvrLaserPointerImpl_t2141976067 * __this, const MethodInfo* method)
{
Ray_t2469606224 V_0;
memset(&V_0, 0, sizeof(V_0));
{
// public Ray PointerIntersectionRay { get; private set; }
Ray_t2469606224 L_0 = __this->get_U3CPointerIntersectionRayU3Ek__BackingField_13();
V_0 = L_0;
goto IL_000c;
}
IL_000c:
{
Ray_t2469606224 L_1 = V_0;
return L_1;
}
}
// System.Void GvrLaserPointerImpl::set_PointerIntersectionRay(UnityEngine.Ray)
extern "C" void GvrLaserPointerImpl_set_PointerIntersectionRay_m2104986278 (GvrLaserPointerImpl_t2141976067 * __this, Ray_t2469606224 ___value0, const MethodInfo* method)
{
{
// public Ray PointerIntersectionRay { get; private set; }
Ray_t2469606224 L_0 = ___value0;
__this->set_U3CPointerIntersectionRayU3Ek__BackingField_13(L_0);
return;
}
}
// UnityEngine.Vector3 GvrLaserPointerImpl::get_LineEndPoint()
extern "C" Vector3_t2243707580 GvrLaserPointerImpl_get_LineEndPoint_m4109945936 (GvrLaserPointerImpl_t2141976067 * __this, const MethodInfo* method)
{
Vector3_t2243707580 V_0;
memset(&V_0, 0, sizeof(V_0));
{
// public override Vector3 LineEndPoint { get { return lineEndPoint; } }
Vector3_t2243707580 L_0 = __this->get_lineEndPoint_16();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
// public override Vector3 LineEndPoint { get { return lineEndPoint; } }
Vector3_t2243707580 L_1 = V_0;
return L_1;
}
}
// System.Single GvrLaserPointerImpl::get_MaxPointerDistance()
extern "C" float GvrLaserPointerImpl_get_MaxPointerDistance_m3045271701 (GvrLaserPointerImpl_t2141976067 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
// return 0;
V_0 = (0.0f);
goto IL_000c;
}
IL_000c:
{
// }
float L_0 = V_0;
return L_0;
}
}
// System.Void GvrLaserPointerImpl::OnStart()
extern "C" void GvrLaserPointerImpl_OnStart_m3557324591 (GvrLaserPointerImpl_t2141976067 * __this, const MethodInfo* method)
{
{
// }
return;
}
}
// System.Void GvrLaserPointerImpl::OnInputModuleEnabled()
extern "C" void GvrLaserPointerImpl_OnInputModuleEnabled_m197268720 (GvrLaserPointerImpl_t2141976067 * __this, const MethodInfo* method)
{
{
// }
return;
}
}
// System.Void GvrLaserPointerImpl::OnInputModuleDisabled()
extern "C" void GvrLaserPointerImpl_OnInputModuleDisabled_m460884883 (GvrLaserPointerImpl_t2141976067 * __this, const MethodInfo* method)
{
{
// }
return;
}
}
// System.Void GvrLaserPointerImpl::OnPointerEnter(UnityEngine.EventSystems.RaycastResult,UnityEngine.Ray,System.Boolean)
extern "C" void GvrLaserPointerImpl_OnPointerEnter_m1874083743 (GvrLaserPointerImpl_t2141976067 * __this, RaycastResult_t21186376 ___rayastResult0, Ray_t2469606224 ___ray1, bool ___isInteractive2, const MethodInfo* method)
{
{
// }
return;
}
}
// System.Void GvrLaserPointerImpl::OnPointerHover(UnityEngine.EventSystems.RaycastResult,UnityEngine.Ray,System.Boolean)
extern "C" void GvrLaserPointerImpl_OnPointerHover_m4230755981 (GvrLaserPointerImpl_t2141976067 * __this, RaycastResult_t21186376 ___rayastResult0, Ray_t2469606224 ___ray1, bool ___isInteractive2, const MethodInfo* method)
{
{
// }
return;
}
}
// System.Void GvrLaserPointerImpl::OnPointerExit(UnityEngine.GameObject)
extern "C" void GvrLaserPointerImpl_OnPointerExit_m588516218 (GvrLaserPointerImpl_t2141976067 * __this, GameObject_t1756533147 * ___previousObject0, const MethodInfo* method)
{
{
// }
return;
}
}
// System.Void GvrLaserPointerImpl::OnPointerClickDown()
extern "C" void GvrLaserPointerImpl_OnPointerClickDown_m640898558 (GvrLaserPointerImpl_t2141976067 * __this, const MethodInfo* method)
{
{
// }
return;
}
}
// System.Void GvrLaserPointerImpl::OnPointerClickUp()
extern "C" void GvrLaserPointerImpl_OnPointerClickUp_m2141358135 (GvrLaserPointerImpl_t2141976067 * __this, const MethodInfo* method)
{
{
// }
return;
}
}
// System.Void GvrLaserPointerImpl::GetPointerRadius(System.Single&,System.Single&)
extern "C" void GvrLaserPointerImpl_GetPointerRadius_m447704703 (GvrLaserPointerImpl_t2141976067 * __this, float* ___enterRadius0, float* ___exitRadius1, const MethodInfo* method)
{
{
// enterRadius = 0.0f;
float* L_0 = ___enterRadius0;
*((float*)(L_0)) = (float)(0.0f);
// exitRadius = 0.0f;
float* L_1 = ___exitRadius1;
*((float*)(L_1)) = (float)(0.0f);
// }
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
| [
"takukelp@gmail.com"
] | takukelp@gmail.com |
d4e5d3e93d3f9f94dc020693c06156f9c649c524 | 58622e83084c321cec93fc16890251a5fb45ddcc | /suixinbo/sample/suixinbo_Qt/Live.cpp | 4782cea4e79580fa78f528e568a79a66bb7901cf | [] | no_license | shengshiweijun/iLiveSDK_PC_Suixinbo | 5e2da67a24c39cb752d973a818a3c8ddda173a4d | 737f418ac4e64d0537e29603ab350d38c8f7ae30 | refs/heads/master | 2021-05-05T16:59:43.365696 | 2017-09-12T07:01:33 | 2017-09-12T07:01:33 | 103,238,665 | 1 | 0 | null | 2017-09-12T07:41:16 | 2017-09-12T07:41:16 | null | GB18030 | C++ | false | false | 57,626 | cpp | #include "stdafx.h"
#include "Live.h"
Live::Live( QWidget * parent /*= 0*/, Qt::WindowFlags f /*= 0*/ )
:QDialog(parent, f)
{
m_ui.setupUi(this);
m_userType = E_RoomUserInvalid;
m_pLocalCameraRender = new VideoRender(this);
m_pScreenShareRender = new VideoRender(this);
m_ui.layoutLocalVideo->addWidget(m_pLocalCameraRender);
m_ui.layoutScreenShare->addWidget(m_pScreenShareRender);
connect( m_pLocalCameraRender, SIGNAL(applyFullScreen(VideoRender*)), this, SLOT(OnVideoRenderFullScreen(VideoRender*)) );
connect( m_pLocalCameraRender, SIGNAL(exitFullScreen(VideoRender*)), this, SLOT(OnExitVideoRenderFullScreen(VideoRender*)) );
connect( m_pScreenShareRender, SIGNAL(applyFullScreen(VideoRender*)), this, SLOT(OnVideoRenderFullScreen(VideoRender*)) );
connect( m_pScreenShareRender, SIGNAL(exitFullScreen(VideoRender*)), this, SLOT(OnExitVideoRenderFullScreen(VideoRender*)) );
for(int i=0; i<MaxVideoRender; ++i)
{
m_arrRemoteIdentifiers.push_back("");
m_pRemoteVideoRenders[i] = new VideoRender(this);
m_bRemoteVideoRenderFrees[i] = true;
connect( m_pRemoteVideoRenders[i], SIGNAL(applyFullScreen(VideoRender*)), this, SLOT(OnVideoRenderFullScreen(VideoRender*)) );
connect( m_pRemoteVideoRenders[i], SIGNAL(exitFullScreen(VideoRender*)), this, SLOT(OnExitVideoRenderFullScreen(VideoRender*)) );
}
m_ui.layoutRemoteVideo0->addWidget(m_pRemoteVideoRenders[0]);
m_ui.layoutRemoteVideo1->addWidget(m_pRemoteVideoRenders[1]);
m_ui.layoutRemoteVideo2->addWidget(m_pRemoteVideoRenders[2]);
m_x0 = 0;
m_y0 = 0;
m_fps = 10;
QDesktopWidget* desktopWidget = QApplication::desktop();
QRect screenRect = desktopWidget->screenGeometry();
m_x1 = screenRect.width();
m_y1 = screenRect.height();
m_ui.sbX0->setValue(m_x0);
m_ui.sbY0->setValue(m_y0);
m_ui.sbX1->setValue(m_x1);
m_ui.sbY1->setValue(m_y1);
m_ui.sbFPS->setValue(m_fps);
m_n64Pos = 0;
m_n64MaxPos = 0;
updatePlayMediaFileProgress();
m_nRoomSize = 0;
m_pTimer = new QTimer(this);
m_pDelayUpdateTimer = new QTimer(this);
m_pFillFrameTimer = new QTimer(this);
m_pPlayMediaFileTimer = new QTimer(this);
m_nCurSelectedMember = -1;
m_pMenuInviteInteract = new QMenu(this);
QAction* pActInviteInteract = new QAction( QString::fromLocal8Bit("连麦"), m_pMenuInviteInteract );
m_pMenuInviteInteract->addAction(pActInviteInteract);
m_pMenuCancelInteract = new QMenu(this);
QAction* pActCancelInteract = new QAction( QString::fromLocal8Bit("断开"), m_pMenuInviteInteract );
m_pMenuCancelInteract->addAction(pActCancelInteract);
m_channelId = 0;
m_bRoomDisconnectClose = false;
m_bRecording = false;
m_bPushing = false;
connect( m_ui.btnOpenCamera, SIGNAL(clicked()), this, SLOT(OnBtnOpenCamera()) );
connect( m_ui.btnCloseCamera, SIGNAL(clicked()), this, SLOT(OnBtnCloseCamera()) );
connect( m_ui.btnOpenExternalCapture, SIGNAL(clicked()), this, SLOT(OnBtnOpenExternalCapture()) );
connect( m_ui.btnCloseExternalCapture, SIGNAL(clicked()), this, SLOT(OnBtnCloseExternalCapture()) );
connect( m_ui.btnOpenMic, SIGNAL(clicked()), this, SLOT(OnBtnOpenMic()) );
connect( m_ui.btnCloseMic, SIGNAL(clicked()), this, SLOT(OnBtnCloseMic()) );
connect( m_ui.btnOpenPlayer, SIGNAL(clicked()), this, SLOT(OnBtnOpenPlayer()) );
connect( m_ui.btnClosePlayer, SIGNAL(clicked()), this, SLOT(OnBtnClosePlayer()) );
connect( m_ui.btnOpenScreenShareArea, SIGNAL(clicked()), this, SLOT(OnBtnOpenScreenShareArea()) );
connect( m_ui.btnOpenScreenShareWnd, SIGNAL(clicked()), this, SLOT(OnBtnOpenScreenShareWnd()) );
connect( m_ui.btnUpdateScreenShare, SIGNAL(clicked()), this, SLOT(OnBtnUpdateScreenShare()) );
connect( m_ui.btnCloseScreenShare, SIGNAL(clicked()), this, SLOT(OnBtnCloseScreenShare()) );
connect( m_ui.btnOpenSystemVoiceInput, SIGNAL(clicked()), this, SLOT(OnBtnOpenSystemVoiceInput()) );
connect( m_ui.btnCloseSystemVoiceInput, SIGNAL(clicked()), this, SLOT(OnBtnCloseSystemVoiceInput()) );
connect( m_ui.btnSendGroupMsg, SIGNAL(clicked()), this, SLOT(OnBtnSendGroupMsg()) );
connect( m_ui.btnStartRecord, SIGNAL(clicked()), this, SLOT(OnBtnStartRecord()) );
connect( m_ui.btnStopRecord, SIGNAL(clicked()), this, SLOT(OnBtnStopRecord()) );
connect( m_ui.btnStartPushStream, SIGNAL(clicked()), this, SLOT(OnBtnStartPushStream()) );
connect( m_ui.btnStopPushStream, SIGNAL(clicked()), this, SLOT(OnBtnStopPushStream()) );
connect( m_ui.btnPraise, SIGNAL(clicked()), this, SLOT(OnBtnPraise()) );
connect( m_ui.btnSelectMediaFile, SIGNAL(clicked()), this, SLOT(OnBtnSelectMediaFile()) );
connect( m_ui.btnPlayMediaFile, SIGNAL(clicked()), this, SLOT(OnBtnPlayMediaFile()) );
connect( m_ui.btnStopMediaFile, SIGNAL(clicked()), this, SLOT(OnBtnStopMediaFile()) );
connect( m_ui.hsPlayerVol, SIGNAL(valueChanged(int)), this, SLOT(OnHsPlayerVol(int)) );
connect( m_ui.sbPlayerVol, SIGNAL(valueChanged(int)), this, SLOT(OnSbPlayerVol(int)) );
connect( m_ui.hsMicVol, SIGNAL(valueChanged(int)), this, SLOT(OnHsMicVol(int)) );
connect( m_ui.sbMicVol, SIGNAL(valueChanged(int)), this, SLOT(OnSbMicVol(int)) );
connect( m_ui.hsSystemVoiceInputVol, SIGNAL(valueChanged(int)), this, SLOT(OnHsSystemVoiceInputVol(int)) );
connect( m_ui.sbSystemVoiceInputVol, SIGNAL(valueChanged(int)), this, SLOT(OnSbSystemVoiceInputVol(int)) );
connect( m_ui.vsSkinSmooth, SIGNAL(valueChanged(int)), this, SLOT(OnVsSkinSmoothChanged(int)) );
connect( m_ui.sbSkinSmooth, SIGNAL(valueChanged(int)), this, SLOT(OnSbSkinSmoothChanged(int)) );
connect( m_ui.vsSkinWhite, SIGNAL(valueChanged(int)), this, SLOT(OnVsSkinWhiteChanged(int)) );
connect( m_ui.sbSkinWhite, SIGNAL(valueChanged(int)), this, SLOT(OnSbSkinWhiteChanged(int)) );
connect( m_ui.hsMediaFileRate, SIGNAL(valueChanged(int)), this, SLOT(OnHsMediaFileRateChanged(int)) );
connect( m_pTimer, SIGNAL(timeout()), this, SLOT(OnHeartBeatTimer()) );
connect( m_pDelayUpdateTimer, SIGNAL(timeout()), this, SLOT(OnDelayUpdateTimer()) );
connect( m_pFillFrameTimer, SIGNAL(timeout()), this, SLOT(OnFillFrameTimer()) );
connect( m_pPlayMediaFileTimer, SIGNAL(timeout()), this, SLOT(OnPlayMediaFileTimer()) );
connect( pActInviteInteract, SIGNAL(triggered()), this, SLOT(OnActInviteInteract()) );
connect( pActCancelInteract, SIGNAL(triggered()), this, SLOT(OnActCancelInteract()) );
}
void Live::setRoomID( int roomID )
{
m_ui.sbRoomID->setValue(roomID);
}
void Live::setRoomUserType( E_RoomUserType userType )
{
m_userType = userType;
m_ui.SkinGB->setVisible(false);
updateMsgs();
updateCameraGB();
updatePlayerGB();
updateExternalCaptureGB();
updateMicGB();
updateScreenShareGB();
updateSystemVoiceInputGB();
updateMediaFilePlayGB();
updateRecordGB();
updatePushStreamGB();
switch(m_userType)
{
case E_RoomUserCreator:
{
this->setWindowTitle( QString::fromLocal8Bit("主播") );
m_ui.cameraGB->setVisible(true);
m_ui.externalCaptureGB->setVisible(true);
m_ui.microphoneGB->setVisible(true);
m_ui.screenShareGB->setVisible(true);
m_ui.SystemVoiceInputGB->setVisible(true);
m_ui.MediaFileGB->setVisible(true);
m_ui.recordGB->setVisible(true);
m_ui.pushStreamGB->setVisible(true);
m_ui.lbPraiseNum->setVisible(true);
m_ui.btnPraise->setVisible(false);
if ( m_ui.cbCamera->count() > 0 ) OnBtnOpenCamera();//主播创建房间后,自动打开摄像头
break;
}
case E_RoomUserJoiner:
{
this->setWindowTitle( QString::fromLocal8Bit("连麦者") );
m_ui.cameraGB->setVisible(true);
m_ui.externalCaptureGB->setVisible(true);
m_ui.microphoneGB->setVisible(true);
m_ui.screenShareGB->setVisible(true);
m_ui.SystemVoiceInputGB->setVisible(true);
m_ui.MediaFileGB->setVisible(true);
m_ui.recordGB->setVisible(false);
m_ui.pushStreamGB->setVisible(false);
m_ui.lbPraiseNum->setVisible(false);
m_ui.btnPraise->setVisible(true);
break;
}
case E_RoomUserWatcher:
{
this->setWindowTitle( QString::fromLocal8Bit("观众") );
m_ui.cameraGB->setVisible(false);
m_ui.externalCaptureGB->setVisible(false);
m_ui.microphoneGB->setVisible(false);
m_ui.screenShareGB->setVisible(false);
m_ui.SystemVoiceInputGB->setVisible(false);
m_ui.MediaFileGB->setVisible(false);
m_ui.recordGB->setVisible(false);
m_ui.pushStreamGB->setVisible(false);
m_ui.lbPraiseNum->setVisible(false);
m_ui.btnPraise->setVisible(true);
break;
}
}
}
void Live::ChangeRoomUserType()
{
if (m_userType==E_RoomUserWatcher)
{
OnAcceptInteract();
}
else if(m_userType==E_RoomUserJoiner)
{
OnExitInteract();
}
}
void Live::dealMessage( const Message& message )
{
std::string szSender = message.sender.c_str();
for (int i = 0; i < message.elems.size(); ++i)
{
MessageElem *pElem = message.elems[i];
switch( pElem->type )
{
case TEXT:
{
QString szShow = QString::fromStdString( szSender + ": " );
MessageTextElem *elem = dynamic_cast<MessageTextElem*>(pElem);
addMsgLab( szShow + elem->content.c_str() );
break;
}
case CUSTOM:
{
MessageCustomElem *elem = dynamic_cast<MessageCustomElem*>(pElem);
std::string szExt = elem->ext.c_str();
//if (szExt==LiveNoti) //当前版本暂不启用此信令标记,待三个平台一起启用
{
std::string szDate = elem->data.c_str();
parseCusMessage(szSender, szDate);
}
break;
}
default:
break;
}
}
}
void Live::parseCusMessage( const std::string& sender, std::string msg )
{
QString qmsg = QString::fromStdString(msg);
QJsonDocument doc = QJsonDocument::fromJson( qmsg.toLocal8Bit() );
if (doc.isObject())
{
QJsonObject obj = doc.object();
QVariantMap varmap = obj.toVariantMap();
int nUserAction = AVIMCMD_None;
QString szActionParam;
if ( varmap.contains("userAction") )
{
nUserAction = varmap.value("userAction").toInt();
}
if ( varmap.contains("actionParam") )
{
szActionParam = varmap.value("actionParam").toString();
}
dealCusMessage( sender, nUserAction, szActionParam);
}
}
void Live::dealCusMessage( const std::string& sender, int nUserAction, QString szActionParam )
{
switch(nUserAction)
{
case AVIMCMD_Multi_Host_Invite: //观众收到连麦邀请
{
if ( sender != g_pMainWindow->getCurRoomInfo().szId.toStdString() )//过滤下非主播发过来的信令
{
break;
}
QMessageBox::StandardButton ret = QMessageBox::question(this, FromBits("邀请"), FromBits("主播邀请你上麦,是否接受?") );
if ( ret == QMessageBox::Yes )
{
acceptInteract();
}
else
{
refuseInteract();
}
break;
}
case AVIMCMD_Multi_CancelInteract: //观众收到下线命令
{
if ( m_userType==E_RoomUserJoiner && szActionParam==g_pMainWindow->getUserId() ) //被命令下麦的连麦者
{
exitInteract();
}
else
{
updateLater();
}
break;
}
case AVIMCMD_Multi_Interact_Join: //主播收到观众接受连麦请求的回复
{
sxbRoomIdList(); //重新请求列表
break;
}
case AVIMCMD_Multi_Interact_Refuse://主播收到观众拒绝连麦请求的回复
{
ShowTips( FromBits("提示"), szActionParam+FromBits("拒绝了你的连麦请求."), this);
break;
}
case AVIMCMD_EnterLive:
{
int i;
for (i=0; i<m_roomMemberList.size(); ++i)
{
if (m_roomMemberList[i].szID==szActionParam)
{
break;
}
}
if ( i==m_roomMemberList.size() )
{
RoomMember roomMember;
roomMember.szID = szActionParam;
roomMember.userType = E_RoomUserWatcher;
m_roomMemberList.push_back(roomMember);
m_nRoomSize++;
updateMemberList();
}
addMsgLab( QString::fromStdString(sender)+FromBits("加入房间") );
break;
}
case AVIMCMD_ExitLive:
{
if (m_userType != E_RoomUserCreator)
{
close();
ShowTips( FromBits("主播退出房间"), FromBits("主播已经退出房间."), g_pMainWindow );
}
break;
}
case AVIMCMD_Praise:
{
if (m_userType==E_RoomUserCreator)
{
g_pMainWindow->increasePraise();
m_ui.lbPraiseNum->setText( FromBits("点赞数: ")+QString::number(g_pMainWindow->getCurRoomInfo().info.thumbup) );
}
addMsgLab( szActionParam+FromBits("点赞+1") );
break;
}
default:
break;
}
}
void Live::startTimer()
{
sxbRoomIdList();
m_pTimer->start(10000); //随心播后台要求10秒上报一次心跳
}
void Live::stopTimer()
{
m_pTimer->stop();
}
void Live::updateLater(int msec)
{
m_pDelayUpdateTimer->start(msec);
}
void Live::OnMemStatusChange( E_EndpointEventId event_id, const Vector<String> &ids, void* data )
{
Live* pLive = reinterpret_cast<Live*>(data);
switch(event_id)
{
case EVENT_ID_ENDPOINT_NO_CAMERA_VIDEO:
{
std::vector<std::string> list;
for (auto i = ids.begin(); i != ids.end(); ++i)
{
list.push_back( std::string(i->c_str()) );
}
pLive->freeCameraVideoRenders(list);
break;
}
case EVENT_ID_ENDPOINT_NO_SCREEN_VIDEO:
case EVENT_ID_ENDPOINT_NO_MEDIA_VIDEO:
{
pLive->freeScreenVideoRender();
break;
}
default:
break;
}
}
void Live::OnRoomDisconnect( int reason, const char *errorinfo, void* data )
{
Live* pThis = reinterpret_cast<Live*>(data);
pThis->m_bRoomDisconnectClose = true;
pThis->close();
ShowCodeErrorTips( reason, errorinfo, pThis, FromBits("已被强制退出房间.") );
}
void Live::OnDeviceDetect( void* data )
{
Live* pThis = reinterpret_cast<Live*>(data);
pThis->updateCameraGB();
pThis->updateMicGB();
pThis->updatePlayerGB();
}
void Live::OnLocalVideo( const LiveVideoFrame* video_frame, void* custom_data )
{
Live* pLive = reinterpret_cast<Live*>(custom_data);
if(video_frame->desc.srcType == VIDEO_SRC_TYPE_SCREEN || video_frame->desc.srcType == VIDEO_SRC_TYPE_MEDIA)
{
pLive->m_pScreenShareRender->DoRender(video_frame);
}
else if (video_frame->desc.srcType == VIDEO_SRC_TYPE_CAMERA)
{
pLive->m_pLocalCameraRender->DoRender(video_frame);
}
}
void Live::OnRemoteVideo( const LiveVideoFrame* video_frame, void* custom_data )
{
Live* pLive = reinterpret_cast<Live*>(custom_data);
if (video_frame->desc.srcType == VIDEO_SRC_TYPE_SCREEN || video_frame->desc.srcType == VIDEO_SRC_TYPE_MEDIA)
{
pLive->m_pScreenShareRender->DoRender(video_frame);
}
else if(video_frame->desc.srcType == VIDEO_SRC_TYPE_CAMERA)
{
VideoRender* pRender = pLive->getVideoRender(video_frame->identifier.c_str());
if (pRender)
{
pRender->DoRender(video_frame);
}
else
{
//iLiveLog_e("suixinbo", "Render is not enough.");
}
}
}
void Live::OnMessage( const Message& msg, void* data )
{
Live* pThis = reinterpret_cast<Live*>(data);
if ( pThis->isVisible() )
{
pThis->dealMessage(msg);
}
}
void Live::OnDeviceOperation( E_DeviceOperationType oper, int retCode, void* data )
{
Live* pThis = reinterpret_cast<Live*>(data);
switch(oper)
{
case E_OpenCamera:
{
pThis->OnOpenCameraCB(retCode);
break;
}
case E_CloseCamera:
{
pThis->OnCloseCameraCB(retCode);
break;
}
case E_OpenExternalCapture:
{
pThis->OnOpenExternalCaptureCB(retCode);
break;
}
case E_CloseExternalCapture:
{
pThis->OnCloseExternalCaptureCB(retCode);
break;
}
case E_OpenMic:
{
pThis->OnOpenMicCB(retCode);
break;
}
case E_CloseMic:
{
pThis->OnCloseMicCB(retCode);
break;
}
case E_OpenPlayer:
{
pThis->OnOpenPlayerCB(retCode);
break;
}
case E_ClosePlayer:
{
pThis->OnClosePlayerCB(retCode);
break;
}
case E_OpenScreenShare:
{
pThis->OnOpenScreenShareCB(retCode);
break;
}
case E_CloseScreenShare:
{
pThis->OnCloseScreenShareCB(retCode);
break;
}
case E_OpenSystemVoiceInput:
{
pThis->OnOpenSystemVoiceInputCB(retCode);
break;
}
case E_CloseSystemVoiceInput:
{
pThis->OnCloseSystemVoiceInputCB(retCode);
break;
}
case E_OpenPlayMediaFile:
{
pThis->OnOpenPlayMediaFileCB(retCode);
break;
}
case E_ClosePlayMediaFile:
{
pThis->OnClosePlayMediaFileCB(retCode);
break;
}
}
}
void Live::OnBtnOpenCamera()
{
if (m_cameraList.size()==0)
{
ShowErrorTips( FromBits("无可用的摄像头."), this );
return;
}
m_ui.btnOpenCamera->setEnabled(false);
int ndx = m_ui.cbCamera->currentIndex();
GetILive()->openCamera(m_cameraList[ndx].first.c_str());
}
void Live::OnBtnCloseCamera()
{
m_ui.btnCloseCamera->setEnabled(false);
GetILive()->closeCamera();
}
void Live::OnBtnOpenExternalCapture()
{
m_ui.btnOpenExternalCapture->setEnabled(false);
GetILive()->openExternalCapture();
}
void Live::OnBtnCloseExternalCapture()
{
m_ui.btnCloseExternalCapture->setEnabled(false);
GetILive()->closeExternalCapture();
}
void Live::OnBtnOpenMic()
{
m_ui.btnOpenMic->setEnabled(false);
Vector< Pair<String/*id*/, String/*name*/> > micList;
int nRet = GetILive()->getMicList(micList);
if (nRet != NO_ERR)
{
m_ui.btnOpenMic->setEnabled(true);
ShowCodeErrorTips(nRet, "get Mic List Failed.", this );
return;
}
GetILive()->openMic(micList[0].first);
}
void Live::OnBtnCloseMic()
{
m_ui.btnCloseMic->setEnabled(false);
GetILive()->closeMic();
}
void Live::OnBtnOpenPlayer()
{
m_ui.btnOpenPlayer->setEnabled(false);
Vector< Pair<String, String> > playerList;
int nRet = GetILive()->getPlayerList(playerList);
if (nRet!=NO_ERR)
{
m_ui.btnOpenPlayer->setEnabled(true);
ShowCodeErrorTips(nRet, "Get Player List Failed.", this );
return;
}
GetILive()->openPlayer( playerList[0].first );
}
void Live::OnBtnClosePlayer()
{
m_ui.btnClosePlayer->setEnabled(false);
GetILive()->closePlayer();
}
void Live::OnBtnOpenScreenShareArea()
{
m_ui.btnOpenScreenShareArea->setEnabled(false);
m_x0 = m_ui.sbX0->value();
m_y0 = m_ui.sbY0->value();
m_x1 = m_ui.sbX1->value();
m_y1 = m_ui.sbY1->value();
m_fps= m_ui.sbFPS->value();
GetILive()->openScreenShare(m_x0, m_y0, m_x1, m_y1, m_fps);
}
void Live::OnBtnOpenScreenShareWnd()
{
m_ui.btnOpenScreenShareWnd->setEnabled(false);
m_fps= m_ui.sbFPS->value();
HWND hwnd = WndList::GetSelectWnd();
if ( !hwnd )
{
m_ui.btnOpenScreenShareWnd->setEnabled(true);
return;
}
GetILive()->openScreenShare( hwnd, m_fps );
}
void Live::OnBtnUpdateScreenShare()
{
m_ui.btnUpdateScreenShare->setEnabled(false);
m_x0 = m_ui.sbX0->value();
m_y0 = m_ui.sbY0->value();
m_x1 = m_ui.sbX1->value();
m_y1 = m_ui.sbY1->value();
int nRet = GetILive()->changeScreenShareSize( m_x0, m_y0, m_x1, m_y1 );
if (nRet != NO_ERR)
{
m_ui.btnUpdateScreenShare->setEnabled(true);
ShowCodeErrorTips( nRet, "changeScreenShareAreaSize failed.", this );
return;
}
updateScreenShareGB();
}
void Live::OnBtnCloseScreenShare()
{
m_ui.btnCloseScreenShare->setEnabled(false);
GetILive()->closeScreenShare();
}
void Live::OnBtnOpenSystemVoiceInput()
{
m_ui.btnOpenSystemVoiceInput->setEnabled(false);
GetILive()->openSystemVoiceInput();
}
void Live::OnBtnCloseSystemVoiceInput()
{
m_ui.btnCloseSystemVoiceInput->setEnabled(false);
GetILive()->closeSystemVoiceInput();
}
void Live::OnBtnSendGroupMsg()
{
QString szText = m_ui.teEditText->toPlainText();
m_ui.teEditText->setPlainText("");
if ( szText.isEmpty() )
{
return;
}
Message msg;
MessageTextElem *elem = new MessageTextElem(String(szText.toStdString().c_str()));
msg.elems.push_back(elem);
addMsgLab( QString::fromLocal8Bit("我说:") + szText );
GetILive()->sendGroupMessage( msg, OnSendGroupMsgSuc, OnSendGroupMsgErr, this );
}
void Live::OnBtnStartRecord()
{
bool bClickedOK;
m_inputRecordName = QInputDialog::getText( this, FromBits("录制文件名"),FromBits("请输入录制文件名"), QLineEdit::Normal, "", &bClickedOK );
if (!bClickedOK)//用户点击了取消按钮
{
return;
}
if ( m_inputRecordName.isEmpty() )
{
ShowErrorTips( FromBits("录制文件名不能为空"), this );
return;
}
//随心播后台要求录制文件名统一格式"sxb_用户id_用户传入的文件名"
QString fileName = "sxb_";
fileName += g_pMainWindow->getUserId();
fileName += "_";
fileName += m_inputRecordName;
m_recordOpt.fileName = fileName.toStdString().c_str();
m_recordOpt.recordDataType = (E_RecordDataType)m_ui.cbRecordDataType->itemData( m_ui.cbRecordDataType->currentIndex() ).value<int>();
GetILive()->startRecord(m_recordOpt, OnStartRecordVideoSuc, OnStartRecordVideoErr, this);
}
void Live::OnBtnStopRecord()
{
GetILive()->stopRecord( OnStopRecordSuc, OnStopRecordVideoErr, this);
}
void Live::OnBtnStartPushStream()
{
m_pushOpt.pushDataType = (E_PushDataType)m_ui.cbPushDataType->itemData( m_ui.cbPushDataType->currentIndex() ).value<int>();
m_pushOpt.encode = (E_iLiveStreamEncode)m_ui.cbPushEncodeType->itemData( m_ui.cbPushEncodeType->currentIndex() ).value<int>();
m_pushOpt.recordFileType = RecordFile_NONE;
GetILive()->startPushStream( m_pushOpt, OnStartPushStreamSuc, OnStartPushStreamErr, this );
}
void Live::OnBtnStopPushStream()
{
GetILive()->stopPushStream(m_channelId, OnStopPushStreamSuc, OnStopPushStreamErr, this);
}
void Live::OnBtnPraise()
{
g_sendGroupCustomCmd( AVIMCMD_Praise, g_pMainWindow->getUserId() );
addMsgLab( g_pMainWindow->getUserId()+FromBits("点赞") );
}
void Live::OnBtnSelectMediaFile()
{
QString szMediaPath = QFileDialog::getOpenFileName( this, FromBits("请选择播放的视频文件"), "", FromBits("视频文件(*.aac *.ac3 *.amr *.ape *.mp3 *.flac *.midi *.wav *.wma *.ogg *.amv *.mkv *.mod *.mts *.ogm *.f4v *.flv *.hlv *.asf *.avi *.wm *.wmp *.wmv *.ram *.rm *.rmvb *.rpm *.rt *.smi *.dat *.m1v *.m2p *.m2t *.m2ts *.m2v *.mp2v *.tp *.tpr *.ts *.m4b *.m4p *.m4v *.mp4 *.mpeg4 *.3g2 *.3gp *.3gp2 *.3gpp *.mov *.pva *.dat *.m1v *.m2p *.m2t *.m2ts *.m2v *.mp2v *.pss *.pva *.ifo *.vob *.divx *.evo *.ivm *.mkv *.mod *.mts *.ogm *.scm *.tod *.vp6 *.webm *.xlmv)") );
if ( !szMediaPath.isEmpty() )
{
m_ui.edMediaFilePath->setText(szMediaPath);
}
}
void Live::OnBtnPlayMediaFile()
{
E_PlayMediaFileState state = GetILive()->getPlayMediaFileState();
if ( state == E_PlayMediaFileStop )//停止->播放
{
doStartPlayMediaFile();
}
else if ( state==E_PlayMediaFilePlaying ) //播放->暂停
{
doPausePlayMediaFile();
}
else if ( state==E_PlayMediaFilePause )//暂停->恢复播放
{
doResumePlayMediaFile();
}
}
void Live::OnBtnStopMediaFile()
{
E_PlayMediaFileState state = GetILive()->getPlayMediaFileState();
if (state == E_PlayMediaFileStop)
{
return;
}
doStopPlayMediaFile();
}
void Live::OnHsPlayerVol( int value )
{
m_ui.sbPlayerVol->blockSignals(true);
m_ui.sbPlayerVol->setValue(value);
m_ui.sbPlayerVol->blockSignals(false);
GetILive()->setPlayerVolume(value);
}
void Live::OnSbPlayerVol( int value )
{
m_ui.hsPlayerVol->blockSignals(true);
m_ui.hsPlayerVol->setValue(value);
m_ui.hsPlayerVol->blockSignals(false);
GetILive()->setPlayerVolume(value);
}
void Live::OnHsMicVol( int value )
{
m_ui.sbMicVol->blockSignals(true);
m_ui.sbMicVol->setValue(value);
m_ui.sbMicVol->blockSignals(false);
GetILive()->setMicVolume(value);
}
void Live::OnSbMicVol( int value )
{
m_ui.hsMicVol->blockSignals(true);
m_ui.hsMicVol->setValue(value);
m_ui.hsMicVol->blockSignals(false);
GetILive()->setMicVolume(value);
}
void Live::OnHsSystemVoiceInputVol( int value )
{
m_ui.sbSystemVoiceInputVol->blockSignals(true);
m_ui.sbSystemVoiceInputVol->setValue(value);
m_ui.sbSystemVoiceInputVol->blockSignals(false);
GetILive()->setSystemVoiceInputVolume(value);
}
void Live::OnSbSystemVoiceInputVol( int value )
{
m_ui.hsSystemVoiceInputVol->blockSignals(true);
m_ui.hsSystemVoiceInputVol->setValue(value);
m_ui.hsSystemVoiceInputVol->blockSignals(false);
GetILive()->setSystemVoiceInputVolume(value);
}
void Live::OnVsSkinSmoothChanged( int value )
{
m_ui.sbSkinSmooth->blockSignals(true);
m_ui.sbSkinSmooth->setValue(value);
m_ui.sbSkinSmooth->blockSignals(false);
iLiveSetSkinSmoothGrade(value);
}
void Live::OnSbSkinSmoothChanged( int value )
{
m_ui.vsSkinSmooth->blockSignals(true);
m_ui.vsSkinSmooth->setValue(value);
m_ui.vsSkinSmooth->blockSignals(false);
iLiveSetSkinSmoothGrade(value);
}
void Live::OnVsSkinWhiteChanged( int value )
{
m_ui.sbSkinWhite->blockSignals(true);
m_ui.sbSkinWhite->setValue(value);
m_ui.sbSkinWhite->blockSignals(false);
iLiveSetSkinWhitenessGrade(value);
}
void Live::OnSbSkinWhiteChanged( int value )
{
m_ui.vsSkinWhite->blockSignals(true);
m_ui.vsSkinWhite->setValue(value);
m_ui.vsSkinWhite->blockSignals(false);
iLiveSetSkinWhitenessGrade(value);
}
void Live::OnHsMediaFileRateChanged( int value )
{
int nRet = GetILive()->setPlayMediaFilePos(value);
if (nRet != NO_ERR)
{
ShowCodeErrorTips(nRet, FromBits("设置播放进度失败"), this);
}
}
void Live::OnHeartBeatTimer()
{
sxbHeartBeat();
sxbRoomIdList();
}
void Live::OnDelayUpdateTimer()
{
m_pDelayUpdateTimer->stop();
this->update();
}
void Live::OnFillFrameTimer()
{
////////////////////////////////////////////////
//这里演示自定义采集,读取一张本地图片,每一帧都传入此图片作为输入数据
HBITMAP hbitmap = (HBITMAP)LoadImageA(NULL, "ExternalCapture.bmp", IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE | LR_CREATEDIBSECTION );
if (!hbitmap)
{
return;
}
BITMAP bitmap;
GetObject(hbitmap, sizeof(BITMAP), &bitmap );
/////////////////输出文字到图片上start////////////////
HDC hDC = GetDC( (HWND)(this->winId()) );
HDC hMemDC = CreateCompatibleDC(hDC);
SelectObject(hMemDC, hbitmap);
char chFont[20];
HFONT hfont = CreateFontA( 100, 0, 0, 0, 400, 0, 0, 0, GB2312_CHARSET, OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH|FF_DONTCARE, chFont);
SelectObject(hMemDC, hfont);
TextOutA( hMemDC, 0, 0, "这是自定义采集的画面", strlen("这是自定义采集的画面") );
DeleteObject(hfont);
DeleteObject(hMemDC);
ReleaseDC( (HWND)(this->winId()), hDC );
/////////////////输出文字到图片上end////////////////
LiveVideoFrame frame;
frame.data = (uint8*)bitmap.bmBits;
frame.dataSize = bitmap.bmWidth * bitmap.bmHeight * 3;
frame.desc.colorFormat = COLOR_FORMAT_RGB24;
frame.desc.width = bitmap.bmWidth;
frame.desc.height = bitmap.bmHeight;
frame.desc.rotate = 0;
int nRet = GetILive()->fillExternalCaptureFrame(frame);
if (nRet!=NO_ERR)
{
m_pFillFrameTimer->stop();
if (nRet != NO_ERR)
{
ShowCodeErrorTips( nRet, FromBits("自定义采集视频输入出错"), this );
}
}
DeleteObject(hbitmap);
}
void Live::OnPlayMediaFileTimer()
{
int nRet = GetILive()->getPlayMediaFilePos(m_n64Pos, m_n64MaxPos);
if (nRet == NO_ERR)
{
if (m_n64Pos >= m_n64MaxPos)
{
int nRet = GetILive()->restartMediaFile();
if (nRet != NO_ERR)
{
m_pPlayMediaFileTimer->stop();
ShowErrorTips( FromBits("自动重播失败"), this );
}
}
updatePlayMediaFileProgress();
}
else
{
//Just do nothing.
}
}
void Live::closeEvent( QCloseEvent* event )
{
if ( !m_bRoomDisconnectClose )
{
if (m_userType==E_RoomUserCreator)//主播退出房间需要向随心播服务器上报退出房间
{
sendQuitRoom();
sxbCreatorQuitRoom();
}
else//观众和连麦观众只需要向随心播服务器上报自己的ID
{
sxbWatcherOrJoinerQuitRoom();
}
}
else
{
g_pMainWindow->setUseable(true);
}
m_bRecording = false;
m_bPushing = false;
m_bRoomDisconnectClose = false;
m_szMsgs = "";
freeAllCameraVideoRender();
stopTimer();
if ( m_pFillFrameTimer->isActive() )
{
m_pFillFrameTimer->stop();
}
if ( m_pPlayMediaFileTimer->isActive() )
{
m_pPlayMediaFileTimer->stop();
}
event->accept();
}
void Live::updateCameraList()
{
GetILive()->getCameraList(m_cameraList);
m_ui.cbCamera->clear();
for(int i=0; i<m_cameraList.size(); ++i)
{
m_ui.cbCamera->addItem( QString::fromStdString(m_cameraList[i].second.c_str()) );
}
m_ui.cbCamera->setCurrentIndex(0);
}
VideoRender* Live::getVideoRender( std::string szIdentifier )
{
for(int i=0; i<MaxVideoRender; ++i)
{
if (m_arrRemoteIdentifiers[i]==szIdentifier)
{
return m_pRemoteVideoRenders[i];
}
}
for(int i=0; i<MaxVideoRender; ++i)
{
if (m_bRemoteVideoRenderFrees[i])
{
m_bRemoteVideoRenderFrees[i] = false;
m_arrRemoteIdentifiers[i] = szIdentifier;
return m_pRemoteVideoRenders[i];
}
}
return NULL;
}
void Live::freeCameraVideoRenders( std::vector<std::string> arrNeedFreeRenders )
{
for (size_t i=0; i<arrNeedFreeRenders.size(); ++i)
{
for (size_t j = 0; j<m_arrRemoteIdentifiers.size(); ++j)
{
std::string str1 = m_arrRemoteIdentifiers[j];
std::string str2 = arrNeedFreeRenders[i];
if (str1 == str2)
{
m_arrRemoteIdentifiers[j] = "";
m_bRemoteVideoRenderFrees[j] = true;
m_pRemoteVideoRenders[j]->update();
}
}
}
updateLater();
}
void Live::freeAllCameraVideoRender()
{
m_pLocalCameraRender->exitFullScreen();
m_pScreenShareRender->exitFullScreen();
m_pLocalCameraRender->recoverRender();
m_pScreenShareRender->recoverRender();
for (int i=0; i<MaxVideoRender; ++i)
{
m_pRemoteVideoRenders[i]->exitFullScreen();
m_pRemoteVideoRenders[i]->recoverRender();
m_arrRemoteIdentifiers[i] = "";
m_bRemoteVideoRenderFrees[i] = true;
}
}
void Live::freeScreenVideoRender()
{
m_pScreenShareRender->update();
updateLater();
}
void Live::addMsgLab( QString msg )
{
const int nMaxLen = 2000;
m_szMsgs += msg;
m_szMsgs += "\n";
if ( m_szMsgs.length() > nMaxLen )
{
m_szMsgs = m_szMsgs.right(nMaxLen);
}
updateMsgs();
}
void Live::updateMemberList()
{
m_ui.sbTotalMemNum->setValue(m_nRoomSize);
m_ui.liMembers->clear();
for (int i=0; i<m_roomMemberList.size(); ++i)
{
RoomMember& member = m_roomMemberList[i];
QString szShowName = member.szID;
switch(member.userType)
{
case E_RoomUserJoiner:
szShowName += QString::fromLocal8Bit("(连麦)");
break;
case E_RoomUserCreator:
szShowName += QString::fromLocal8Bit("(主播)");
break;
case E_RoomUserWatcher:
break;
}
m_ui.liMembers->addItem( new QListWidgetItem(szShowName) );
}
}
void Live::updateMsgs()
{
m_ui.teMsgs->setPlainText( m_szMsgs );
QTextCursor cursor = m_ui.teMsgs->textCursor();
cursor.movePosition(QTextCursor::End);
m_ui.teMsgs->setTextCursor(cursor);
}
void Live::updateCameraGB()
{
if ( GetILive()->getExternalCaptureState() )
{
m_ui.cameraGB->setEnabled(false);
}
else
{
m_ui.cameraGB->setEnabled(true);
}
if ( GetILive()->getCurCameraState() )
{
m_ui.btnOpenCamera->setEnabled(false);
m_ui.btnCloseCamera->setEnabled(true);
}
else
{
m_ui.btnOpenCamera->setEnabled(true);
m_ui.btnCloseCamera->setEnabled(false);
updateCameraList();
}
}
void Live::updatePlayerGB()
{
m_ui.sbPlayerVol->blockSignals(true);
m_ui.hsPlayerVol->blockSignals(true);
if ( GetILive()->getCurPlayerState() )
{
m_ui.sbPlayerVol->setEnabled(true);
m_ui.hsPlayerVol->setEnabled(true);
uint32 uVol = GetILive()->getPlayerVolume();
m_ui.sbPlayerVol->setValue(uVol);
m_ui.hsPlayerVol->setValue(uVol);
m_ui.btnOpenPlayer->setEnabled(false);
m_ui.btnClosePlayer->setEnabled(true);
}
else
{
m_ui.sbPlayerVol->setValue(0);
m_ui.hsPlayerVol->setValue(0);
m_ui.sbPlayerVol->setEnabled(false);
m_ui.hsPlayerVol->setEnabled(false);
m_ui.btnOpenPlayer->setEnabled(true);
m_ui.btnClosePlayer->setEnabled(false);
}
m_ui.sbPlayerVol->blockSignals(false);
m_ui.hsPlayerVol->blockSignals(false);
}
void Live::updateExternalCaptureGB()
{
if ( GetILive()->getCurCameraState() )
{
m_ui.externalCaptureGB->setEnabled( false );
}
else
{
m_ui.externalCaptureGB->setEnabled( true );
}
if ( GetILive()->getExternalCaptureState() )
{
m_ui.btnOpenExternalCapture->setEnabled(false);
m_ui.btnCloseExternalCapture->setEnabled(true);
}
else
{
m_ui.btnOpenExternalCapture->setEnabled(true);
m_ui.btnCloseExternalCapture->setEnabled(false);
}
}
void Live::updateMicGB()
{
m_ui.sbMicVol->blockSignals(true);
m_ui.hsMicVol->blockSignals(true);
if ( GetILive()->getCurMicState() )
{
m_ui.sbMicVol->setEnabled(true);
m_ui.hsMicVol->setEnabled(true);
uint32 uVol = GetILive()->getMicVolume();
m_ui.sbMicVol->setValue(uVol);
m_ui.hsMicVol->setValue(uVol);
m_ui.btnOpenMic->setEnabled(false);
m_ui.btnCloseMic->setEnabled(true);
}
else
{
m_ui.sbMicVol->setValue(0);
m_ui.hsMicVol->setValue(0);
m_ui.sbMicVol->setEnabled(false);
m_ui.hsMicVol->setEnabled(false);
m_ui.btnOpenMic->setEnabled(true);
m_ui.btnCloseMic->setEnabled(false);
}
m_ui.sbMicVol->blockSignals(false);
m_ui.hsMicVol->blockSignals(false);
}
void Live::updateScreenShareGB()
{
if ( GetILive()->getPlayMediaFileState() != E_PlayMediaFileStop )
{
m_ui.screenShareGB->setEnabled(false);
}
else
{
m_ui.screenShareGB->setEnabled(true);
}
m_ui.sbX0->blockSignals(true);
m_ui.sbY0->blockSignals(true);
m_ui.sbX1->blockSignals(true);
m_ui.sbY1->blockSignals(true);
m_ui.sbFPS->blockSignals(true);
m_ui.sbX0->setValue(m_x0);
m_ui.sbY0->setValue(m_y0);
m_ui.sbX1->setValue(m_x1);
m_ui.sbY1->setValue(m_y1);
m_ui.sbFPS->setValue(m_fps);
m_ui.sbX0->blockSignals(false);
m_ui.sbY0->blockSignals(false);
m_ui.sbX1->blockSignals(false);
m_ui.sbY1->blockSignals(false);
m_ui.sbFPS->blockSignals(false);
E_ScreenShareState state = GetILive()->getScreenShareState();
switch( state )
{
case E_ScreenShareNone:
{
m_ui.sbX0->setEnabled(true);
m_ui.sbY0->setEnabled(true);
m_ui.sbX1->setEnabled(true);
m_ui.sbY1->setEnabled(true);
m_ui.sbFPS->setEnabled(true);
m_ui.btnOpenScreenShareArea->setEnabled(true);
m_ui.btnUpdateScreenShare->setEnabled(false);
m_ui.btnOpenScreenShareWnd->setEnabled(true);
m_ui.btnCloseScreenShare->setEnabled(false);
break;
}
case E_ScreenShareArea:
{
m_ui.sbX0->setEnabled(true);
m_ui.sbY0->setEnabled(true);
m_ui.sbX1->setEnabled(true);
m_ui.sbY1->setEnabled(true);
m_ui.sbFPS->setEnabled(false);
m_ui.btnOpenScreenShareArea->setEnabled(false);
m_ui.btnUpdateScreenShare->setEnabled(true);
m_ui.btnOpenScreenShareWnd->setEnabled(false);
m_ui.btnCloseScreenShare->setEnabled(true);
break;
}
case E_ScreenShareWnd:
{
m_ui.sbX0->setEnabled(false);
m_ui.sbY0->setEnabled(false);
m_ui.sbX1->setEnabled(false);
m_ui.sbY1->setEnabled(false);
m_ui.sbFPS->setEnabled(false);
m_ui.btnOpenScreenShareArea->setEnabled(false);
m_ui.btnUpdateScreenShare->setEnabled(false);
m_ui.btnOpenScreenShareWnd->setEnabled(false);
m_ui.btnCloseScreenShare->setEnabled(true);
break;
}
}
}
void Live::updateSystemVoiceInputGB()
{
m_ui.sbSystemVoiceInputVol->blockSignals(true);
m_ui.hsSystemVoiceInputVol->blockSignals(true);
if ( GetILive()->getCurSystemVoiceInputState() )
{
m_ui.sbSystemVoiceInputVol->setEnabled(true);
m_ui.hsSystemVoiceInputVol->setEnabled(true);
uint32 uVol = GetILive()->getSystemVoiceInputVolume();
m_ui.sbSystemVoiceInputVol->setValue(uVol);
m_ui.hsSystemVoiceInputVol->setValue(uVol);
m_ui.btnOpenSystemVoiceInput->setEnabled(false);
m_ui.btnCloseSystemVoiceInput->setEnabled(true);
}
else
{
m_ui.sbSystemVoiceInputVol->setValue(0);
m_ui.hsSystemVoiceInputVol->setValue(0);
m_ui.sbSystemVoiceInputVol->setEnabled(false);
m_ui.hsSystemVoiceInputVol->setEnabled(false);
m_ui.btnOpenSystemVoiceInput->setEnabled(true);
m_ui.btnCloseSystemVoiceInput->setEnabled(false);
}
m_ui.sbSystemVoiceInputVol->blockSignals(false);
m_ui.hsSystemVoiceInputVol->blockSignals(false);
}
void Live::updateMediaFilePlayGB()
{
if ( GetILive()->getScreenShareState() != E_ScreenShareNone )
{
m_ui.MediaFileGB->setEnabled(false);
}
else
{
m_ui.MediaFileGB->setEnabled(true);
}
E_PlayMediaFileState state = GetILive()->getPlayMediaFileState();
switch(state)
{
case E_PlayMediaFileStop:
{
m_ui.btnSelectMediaFile->setEnabled(true);
m_ui.btnPlayMediaFile->setText( FromBits("播放") );
m_ui.btnPlayMediaFile->setEnabled(true);
m_ui.btnStopMediaFile->setEnabled(false);
m_n64MaxPos = 0;
m_n64Pos = 0;
updatePlayMediaFileProgress();
break;
}
case E_PlayMediaFilePlaying:
{
m_ui.btnSelectMediaFile->setEnabled(false);
m_ui.btnPlayMediaFile->setText( FromBits("暂停") );
m_ui.btnPlayMediaFile->setEnabled(true);
m_ui.btnStopMediaFile->setEnabled(true);
break;
}
case E_PlayMediaFilePause:
{
m_ui.btnSelectMediaFile->setEnabled(false);
m_ui.btnPlayMediaFile->setText( FromBits("播放") );
m_ui.btnPlayMediaFile->setEnabled(true);
m_ui.btnStopMediaFile->setEnabled(true);
break;
}
}
}
void Live::updateRecordGB()
{
int nRecordDataTypeIndex = m_ui.cbRecordDataType->currentIndex();
m_ui.cbRecordDataType->clear();
if ( (!GetILive()->getCurCameraState()) && (!GetILive()->getExternalCaptureState())
&& (!GetILive()->getScreenShareState()) && (!GetILive()->getPlayMediaFileState()) )
{
m_ui.recordGB->setEnabled(false);
return;
}
m_ui.recordGB->setEnabled(true);
if ( m_bRecording )
{
m_ui.btnStartRecord->setEnabled(false);
m_ui.btnStopRecord->setEnabled(true);
m_ui.cbRecordDataType->setEnabled(false);
}
else
{
m_ui.btnStartRecord->setEnabled(true);
m_ui.btnStopRecord->setEnabled(false);
m_ui.cbRecordDataType->setEnabled(true);
}
if ( GetILive()->getCurCameraState() || GetILive()->getExternalCaptureState() )
{
m_ui.cbRecordDataType->addItem( FromBits("主路(摄像头/自定义采集)"), QVariant(E_RecordCamera) );
}
if ( GetILive()->getScreenShareState() || GetILive()->getPlayMediaFileState() )
{
m_ui.cbRecordDataType->addItem( FromBits("辅路(屏幕分享/文件播放)"), QVariant(E_RecordScreen) );
}
nRecordDataTypeIndex = iliveMin( m_ui.cbRecordDataType->count()-1, iliveMax(0, nRecordDataTypeIndex) );
m_ui.cbRecordDataType->setCurrentIndex( nRecordDataTypeIndex );
}
void Live::updatePushStreamGB()
{
int nPushDataTypeIndex = m_ui.cbPushDataType->currentIndex();
int nPushEncodeTypeIndex = m_ui.cbPushEncodeType->currentIndex();
m_ui.cbPushDataType->clear();
m_ui.cbPushEncodeType->clear();
m_ui.tePushStreamUrl->setPlainText("");
if ( (!GetILive()->getCurCameraState()) && (!GetILive()->getExternalCaptureState())
&& (!GetILive()->getScreenShareState()) && (!GetILive()->getPlayMediaFileState()) )
{
m_ui.pushStreamGB->setEnabled(false);
return;
}
m_ui.pushStreamGB->setEnabled(true);
if( m_bPushing )
{
m_ui.btnStartPushStream->setEnabled(false);
m_ui.btnStopPushStream->setEnabled(true);
m_ui.cbPushDataType->setEnabled(false);
m_ui.cbPushEncodeType->setEnabled(false);
QString szUrl;
for (std::list<LiveUrl>::iterator iter = m_pushUrls.begin(); iter != m_pushUrls.end(); ++iter)
{
szUrl += QString::fromStdString( iter->url.c_str() ) + "\n";
}
m_ui.tePushStreamUrl->setPlainText(szUrl);
}
else
{
m_ui.btnStartPushStream->setEnabled(true);
m_ui.btnStopPushStream->setEnabled(false);
m_ui.cbPushDataType->setEnabled(true);
m_ui.cbPushEncodeType->setEnabled(true);
m_ui.tePushStreamUrl->setPlainText("");
}
if ( GetILive()->getCurCameraState() || GetILive()->getExternalCaptureState() )
{
m_ui.cbPushDataType->addItem( FromBits("主路(摄像头/自定义采集)"), QVariant(E_PushCamera) );
}
if ( GetILive()->getScreenShareState() || GetILive()->getPlayMediaFileState() )
{
m_ui.cbPushDataType->addItem( FromBits("辅路(屏幕分享/文件播放)"), QVariant(E_PushScreen) );
}
m_ui.cbPushEncodeType->addItem(FromBits("HLS"), QVariant(HLS) );
m_ui.cbPushEncodeType->addItem(FromBits("RTMP"),QVariant(RTMP) );
nPushDataTypeIndex = iliveMin( m_ui.cbPushDataType->count()-1, iliveMax(0, nPushDataTypeIndex) );
nPushEncodeTypeIndex = iliveMin( m_ui.cbPushEncodeType->count()-1, iliveMax(0, nPushEncodeTypeIndex) );
m_ui.cbPushDataType->setCurrentIndex( nPushDataTypeIndex );
m_ui.cbPushEncodeType->setCurrentIndex( nPushEncodeTypeIndex );
}
void Live::updatePlayMediaFileProgress()
{
m_ui.hsMediaFileRate->blockSignals(true);
m_ui.lbMediaFileRate->setText( getTimeStrBySeconds(m_n64Pos) + "/" + getTimeStrBySeconds(m_n64MaxPos) );
m_ui.hsMediaFileRate->setMinimum(0);
m_ui.hsMediaFileRate->setMaximum(m_n64MaxPos);
m_ui.hsMediaFileRate->setValue(m_n64Pos);
int nStep = m_n64MaxPos/40;
nStep = nStep<1?1:nStep;
m_ui.hsMediaFileRate->setSingleStep(nStep);
m_ui.hsMediaFileRate->setPageStep(nStep);
m_ui.hsMediaFileRate->blockSignals(false);
}
void Live::doStartPlayMediaFile()
{
QString szMediaPath = m_ui.edMediaFilePath->text();
if ( szMediaPath.isEmpty() )
{
ShowErrorTips( FromBits("请先选择要播放的文件"), this );
return;
}
QFile file(szMediaPath);
if ( !file.exists() )
{
ShowErrorTips( FromBits("指定的文件不存在,请重新选择"), this );
return;
}
if ( !GetILive()->isValidMediaFile( szMediaPath.toStdString().c_str() ) )
{
ShowErrorTips( FromBits("不支持播放所选文件,请重新选择."), this );
return;
}
GetILive()->openPlayMediaFile( szMediaPath.toStdString().c_str() );
}
void Live::doPausePlayMediaFile()
{
int nRet = GetILive()->pausePlayMediaFile();
if (nRet == NO_ERR)
{
m_pPlayMediaFileTimer->stop();
m_ui.btnPlayMediaFile->setText( FromBits("播放") );
}
else
{
ShowCodeErrorTips(nRet, FromBits("暂停播放出错"), this);
}
}
void Live::doResumePlayMediaFile()
{
int nRet = GetILive()->resumePlayMediaFile();
if (nRet==NO_ERR)
{
m_pPlayMediaFileTimer->start(1000);
m_ui.btnPlayMediaFile->setText( FromBits("暂停") );
}
else
{
ShowCodeErrorTips(nRet, FromBits("恢复播放出错"), this);
}
}
void Live::doStopPlayMediaFile()
{
GetILive()->closePlayMediaFile();
}
void Live::doAutoStopRecord()
{
if ( m_bRecording )
{
int nRecordDataTypeIndex = m_ui.cbRecordDataType->currentIndex();
E_RecordDataType eSelectedType = (E_RecordDataType)m_ui.cbRecordDataType->itemData(nRecordDataTypeIndex).value<int>();
switch(eSelectedType)
{
case E_RecordCamera:
{
if ( (!GetILive()->getCurCameraState()) && (!GetILive()->getExternalCaptureState()) )
{
OnBtnStopRecord();
}
break;
}
case E_RecordScreen:
{
if ( (!GetILive()->getScreenShareState()) && (!GetILive()->getPlayMediaFileState()) )
{
OnBtnStopRecord();
}
break;
}
}
}
else
{
updateRecordGB();
}
}
void Live::doAutoStopPushStream()
{
if ( m_bPushing )
{
int nPushDataTypeIndex = m_ui.cbPushDataType->currentIndex();
E_PushDataType eSelectedType = (E_PushDataType)m_ui.cbPushDataType->itemData(nPushDataTypeIndex).value<int>();
switch(eSelectedType)
{
case E_PushCamera:
{
if ( (!GetILive()->getCurCameraState()) && (!GetILive()->getExternalCaptureState()) )
{
OnBtnStopPushStream();
}
break;
}
case E_PushScreen:
{
if ( (!GetILive()->getScreenShareState()) && (!GetILive()->getPlayMediaFileState()) )
{
OnBtnStopPushStream();
}
break;
}
}
}
else
{
updatePushStreamGB();
}
}
void Live::OnOpenCameraCB( const int& retCode )
{
updateCameraGB();
updateExternalCaptureGB();
updateRecordGB();
updatePushStreamGB();
if (retCode == NO_ERR)
{
m_ui.SkinGB->setVisible(true);
}
else
{
ShowCodeErrorTips( retCode, "Open Camera Failed.", this );
}
}
void Live::OnCloseCameraCB( const int& retCode )
{
updateCameraGB();
updateExternalCaptureGB();
doAutoStopRecord();
doAutoStopPushStream();
if (retCode == NO_ERR)
{
m_ui.SkinGB->setVisible(false);
m_pLocalCameraRender->update();
}
else
{
ShowCodeErrorTips( retCode, "Close Camera Failed.", this );
}
}
void Live::OnOpenExternalCaptureCB( const int& retCode )
{
updateExternalCaptureGB();
updateCameraGB();
updateRecordGB();
updatePushStreamGB();
if (retCode == NO_ERR)
{
m_pFillFrameTimer->start(66); // 帧率1000/66约等于15
}
else
{
ShowCodeErrorTips(retCode, FromBits("打开自定义采集失败"), this );
}
}
void Live::OnCloseExternalCaptureCB( const int& retCode )
{
updateExternalCaptureGB();
updateCameraGB();
doAutoStopRecord();
doAutoStopPushStream();
if (retCode == NO_ERR)
{
m_pFillFrameTimer->stop();
m_pLocalCameraRender->update();
}
else
{
ShowCodeErrorTips(retCode, FromBits("关闭自定义采集失败"), this );
}
}
void Live::OnOpenMicCB( const int& retCode )
{
updateMicGB();
if (retCode != NO_ERR)
{
ShowCodeErrorTips(retCode, "Open Mic Failed.", this );
}
}
void Live::OnCloseMicCB( const int& retCode )
{
updateMicGB();
if (retCode != NO_ERR)
{
ShowCodeErrorTips( retCode, "Close Mic Failed.", this );
}
}
void Live::OnOpenPlayerCB( const int& retCode )
{
updatePlayerGB();
if (retCode != NO_ERR)
{
ShowCodeErrorTips(retCode, "Open Player Failed.", this );
}
}
void Live::OnClosePlayerCB( const int& retCode )
{
updatePlayerGB();
if (retCode != NO_ERR)
{
ShowCodeErrorTips( retCode, "Close Player Failed.", this );
}
}
void Live::OnOpenScreenShareCB( const int& retCode )
{
updateScreenShareGB();
updateMediaFilePlayGB();
updateRecordGB();
updatePushStreamGB();
if (retCode != NO_ERR )
{
if( retCode == 1002 )
{
ShowErrorTips( FromBits("屏幕分享和文件播放不能同时打开."), this );
}
else if (retCode == 1008)
{
ShowErrorTips( FromBits("房间内其他成员已经占用辅路视频."), this );
}
else
{
ShowCodeErrorTips( retCode, FromBits("打开屏幕分享失败."), this );
}
}
}
void Live::OnCloseScreenShareCB( const int& retCode )
{
updateScreenShareGB();
updateMediaFilePlayGB();
doAutoStopRecord();
doAutoStopPushStream();
if (retCode == NO_ERR)
{
m_pScreenShareRender->update();
}
else
{
ShowCodeErrorTips( retCode, "Close Screen Share Failed.", this );
}
}
void Live::OnOpenSystemVoiceInputCB( const int& retCode )
{
updateSystemVoiceInputGB();
if (retCode != NO_ERR)
{
ShowCodeErrorTips(retCode, "Open System Voice Input Failed.", this );
}
}
void Live::OnCloseSystemVoiceInputCB( const int& retCode )
{
updateSystemVoiceInputGB();
if (retCode != NO_ERR)
{
ShowCodeErrorTips( retCode, "Close SystemVoiceInput Failed.", this );
}
}
void Live::OnOpenPlayMediaFileCB( const int& retCode )
{
updateMediaFilePlayGB();
updateScreenShareGB();
updateRecordGB();
updatePushStreamGB();
if (retCode == NO_ERR)
{
m_pPlayMediaFileTimer->start(1000);
}
else if( retCode == 1002 )
{
ShowErrorTips( FromBits("屏幕分享和文件播放不能同时打开"), this );
}
else if( retCode == 1008 )
{
ShowErrorTips( FromBits("房间内其他成员已经占用辅路视频"), this );
}
else
{
ShowCodeErrorTips( retCode, FromBits("打开文件播放出错."), this );
}
}
void Live::OnClosePlayMediaFileCB( const int& retCode )
{
updateMediaFilePlayGB();
updateScreenShareGB();
doAutoStopRecord();
doAutoStopPushStream();
if (retCode == NO_ERR)
{
m_pPlayMediaFileTimer->stop();
m_pScreenShareRender->update();
}
else
{
ShowCodeErrorTips(retCode, FromBits("关闭文件播放出错"), this);
}
}
void Live::sendInviteInteract()
{
g_sendC2CCustomCmd( m_roomMemberList[m_nCurSelectedMember].szID, AVIMCMD_Multi_Host_Invite, "", OnSendInviteInteractSuc, OnSendInviteInteractErr, this );
}
void Live::sendCancelInteract()
{
g_sendGroupCustomCmd( AVIMCMD_Multi_CancelInteract, m_roomMemberList[m_nCurSelectedMember].szID );
}
void Live::OnSendInviteInteractSuc(void* data)
{
//ShowTips( FromBits("邀请成功"), FromBits("成功发出邀请,等待观众接受上麦."), reinterpret_cast<Live*>(data) );
}
void Live::OnSendInviteInteractErr( const int code, const char *desc, void* data )
{
ShowCodeErrorTips(code, desc, reinterpret_cast<Live*>(data), "Send Invite Interact Error.");
}
void Live::acceptInteract()
{
iLiveChangeRole(LiveGuest);
}
void Live::refuseInteract()
{
//通知主播拒绝连麦
g_sendC2CCustomCmd( g_pMainWindow->getCurRoomInfo().szId, AVIMCMD_Multi_Interact_Refuse, g_pMainWindow->getUserId() );
}
void Live::OnAcceptInteract()
{
setRoomUserType(E_RoomUserJoiner);
OnBtnOpenCamera();
OnBtnOpenMic();
//身份变为连麦用户后,马上心跳上报自己身份变化,并重新拉取房间成员列表
sxbHeartBeat();
sxbRoomIdList();
//接受连麦后,通知主播
g_sendC2CCustomCmd( g_pMainWindow->getCurRoomInfo().szId, AVIMCMD_Multi_Interact_Join, g_pMainWindow->getUserId() );
}
void Live::exitInteract()
{
iLiveChangeRole(Guest);
}
void Live::OnExitInteract()
{
if ( m_ui.btnCloseCamera->isEnabled() )
{
OnBtnCloseCamera();
}
if ( m_ui.btnCloseExternalCapture->isEnabled() )
{
OnBtnCloseExternalCapture();
}
if ( m_ui.btnCloseMic->isEnabled() )
{
OnBtnCloseMic();
}
if ( m_ui.btnCloseScreenShare->isEnabled() )
{
OnBtnCloseScreenShare();
}
if ( m_ui.btnCloseSystemVoiceInput->isEnabled() )
{
OnBtnCloseSystemVoiceInput();
}
if ( m_ui.btnStopMediaFile )
{
OnBtnStopMediaFile();
}
setRoomUserType(E_RoomUserWatcher);
//身份变化后,立即心跳上报身份,并重新请求房间成员列表
sxbHeartBeat();
sxbRoomIdList();
}
void Live::sendQuitRoom()
{
g_sendGroupCustomCmd( AVIMCMD_ExitLive, g_pMainWindow->getUserId() );
}
void Live::sxbCreatorQuitRoom()
{
QVariantMap varmap;
varmap.insert( "token", g_pMainWindow->getToken() );
varmap.insert( "roomnum", g_pMainWindow->getCurRoomInfo().info.roomnum );
varmap.insert( "type", "live" );
SxbServerHelper::request(varmap, "live", "exitroom", OnSxbCreatorQuitRoom, this);
}
void Live::sxbWatcherOrJoinerQuitRoom()
{
QVariantMap varmap;
varmap.insert( "token", g_pMainWindow->getToken() );
varmap.insert( "id", g_pMainWindow->getUserId() );
varmap.insert( "roomnum", g_pMainWindow->getCurRoomInfo().info.roomnum );
varmap.insert( "role", (int)m_userType );//成员0 主播1 上麦成员2
varmap.insert( "operate", 1);//进入房间0 退出房间1
SxbServerHelper::request(varmap, "live", "reportmemid", OnSxbWatcherOrJoinerQuitRoom, this);
}
void Live::sxbHeartBeat()
{
QVariantMap varmap;
varmap.insert("token", g_pMainWindow->getToken());
varmap.insert("roomnum", g_pMainWindow->getCurRoomInfo().info.roomnum);
varmap.insert("role", (int)m_userType); //0 观众 1 主播 2 上麦观众
if(m_userType==E_RoomUserCreator)
{
varmap.insert("thumbup", g_pMainWindow->getCurRoomInfo().info.thumbup);
}
SxbServerHelper::request(varmap, "live", "heartbeat", OnSxbHeartBeat, this);
}
void Live::sxbRoomIdList()
{
QVariantMap varmap;
varmap.insert( "token", g_pMainWindow->getToken() );
varmap.insert( "roomnum", g_pMainWindow->getCurRoomInfo().info.roomnum );
varmap.insert( "index", 0 );
varmap.insert( "size", MaxShowMembers );
SxbServerHelper::request(varmap, "live", "roomidlist", OnSxbRoomIdList, this);
}
void Live::sxbReportrecord()
{
QVariantMap varmap;
varmap.insert( "token", g_pMainWindow->getToken() );
varmap.insert( "roomnum", g_pMainWindow->getCurRoomInfo().info.roomnum );
varmap.insert( "uid", g_pMainWindow->getCurRoomInfo().szId );//主播名
varmap.insert( "name", m_inputRecordName );//用户输入的录制名
varmap.insert( "type", 0 );//预留字段,暂填0
varmap.insert( "cover", "" );//PC随心播暂不支持直播封面上传,所以暂时上传为空,后续加上
SxbServerHelper::request(varmap, "live", "reportrecord", OnSxbReportrecord, this);
}
void Live::OnSxbCreatorQuitRoom( int errorCode, QString errorInfo, QVariantMap datamap, void* pCusData )
{
Live* pLive = reinterpret_cast<Live*>(pCusData);
if (errorCode==E_SxbOK)
{
pLive->iLiveQuitRoom();
}
else
{
ShowCodeErrorTips( errorCode, errorInfo, pLive, FromBits("主播退出房间失败") );
}
}
void Live::OnSxbWatcherOrJoinerQuitRoom( int errorCode, QString errorInfo, QVariantMap datamap, void* pCusData )
{
Live* pLive = reinterpret_cast<Live*>(pCusData);
if (errorCode==E_SxbOK || errorCode==10010)//成功或者房间已经不存在
{
pLive->iLiveQuitRoom();
}
else
{
ShowCodeErrorTips( errorCode, errorInfo, pLive, FromBits("观众退出房间失败") );
}
}
void Live::OnSxbHeartBeat( int errorCode, QString errorInfo, QVariantMap datamap, void* pCusData )
{
Live* pLive = reinterpret_cast<Live*>(pCusData);
if (errorCode!=E_SxbOK)
{
//iLiveLog_e( "suixinbo", "Sui xin bo heartbeat failed: %d %s", errorCode, errorInfo.toStdString().c_str() );
}
}
void Live::OnSxbRoomIdList( int errorCode, QString errorInfo, QVariantMap datamap, void* pCusData )
{
Live* pLive = reinterpret_cast<Live*>(pCusData);
if (errorCode!=E_SxbOK)
{
//iLiveLog_e( "suixinbo", "Suixinbo get Room id list failed: %d %s", errorCode, errorInfo.toStdString().c_str() );
return ;
}
if (datamap.contains("total"))
{
pLive->m_nRoomSize = datamap.value("total").toInt();
}
if (datamap.contains("idlist"))
{
pLive->m_roomMemberList.clear();
QVariantList idlist = datamap.value("idlist").toList();
for (int i=0; i<idlist.size(); ++i)
{
QVariantMap idmap = idlist[i].toMap();
RoomMember member;
if (idmap.contains("id"))
{
member.szID = idmap.value("id").toString();
}
if (idmap.contains("role"))
{
member.userType = (E_RoomUserType)idmap.value("role").toInt();
}
pLive->m_roomMemberList.push_back(member);
}
pLive->updateMemberList();
}
}
void Live::OnSxbReportrecord( int errorCode, QString errorInfo, QVariantMap datamap, void* pCusData )
{
Live* pLive = reinterpret_cast<Live*>(pCusData);
if (errorCode!=E_SxbOK)
{
//iLiveLog_e( "suixinbo", "Suixinbo report record video failed: %d %s", errorCode, errorInfo.toStdString().c_str() );
return ;
}
}
void Live::iLiveQuitRoom()
{
GetILive()->quitRoom(OnQuitRoomSuc, OnQuitRoomErr, this);
}
void Live::iLiveChangeRole( const std::string& szControlRole )
{
GetILive()->changeRole(szControlRole.c_str(), OnChangeRoleSuc, OnChangeRoleErr, this);
}
int Live::iLiveSetSkinSmoothGrade( int grade )
{
return GetILive()->setSkinSmoothGrade(grade);
}
int Live::iLiveSetSkinWhitenessGrade( int grade )
{
return GetILive()->setSkinWhitenessGrade(grade);
}
void Live::OnQuitRoomSuc( void* data )
{
Room roominfo = g_pMainWindow->getCurRoomInfo();
roominfo.szId = "";
roominfo.info.thumbup = 0;
g_pMainWindow->setCurRoomIdfo(roominfo);
g_pMainWindow->setUseable(true);
}
void Live::OnQuitRoomErr( int code, const char *desc, void* data )
{
ShowCodeErrorTips(code, desc, reinterpret_cast<Live*>(data), "Quit iLive Room Error.");
}
void Live::OnChangeRoleSuc( void* data )
{
reinterpret_cast<Live*>(data)->ChangeRoomUserType();
}
void Live::OnChangeRoleErr( int code, const char *desc, void* data )
{
ShowCodeErrorTips(code, FromBits(desc), reinterpret_cast<Live*>(data), "Change Role Error.");
}
void Live::OnSendGroupMsgSuc( void* data )
{
}
void Live::OnSendGroupMsgErr( int code, const char *desc, void* data )
{
ShowCodeErrorTips(code, desc, reinterpret_cast<Live*>(data), "Send Group Message Error.");
}
void Live::OnMemberListMenu( QPoint point )
{
if ( m_userType != E_RoomUserCreator )
{
return;
}
m_nCurSelectedMember = m_ui.liMembers->currentRow();
if ( m_nCurSelectedMember>=0 && m_nCurSelectedMember<m_roomMemberList.size() )
{
RoomMember& roomMember = m_roomMemberList[m_nCurSelectedMember];
if (roomMember.userType==E_RoomUserWatcher)
{
m_pMenuInviteInteract->exec( QCursor::pos() );
}
else if(roomMember.userType==E_RoomUserJoiner)
{
m_pMenuCancelInteract->exec( QCursor::pos() );
}
}
}
void Live::OnActInviteInteract()
{
sendInviteInteract();
}
void Live::OnActCancelInteract()
{
RoomMember& roomber = m_roomMemberList[m_nCurSelectedMember];
roomber.userType = E_RoomUserWatcher;
updateMemberList();
sendCancelInteract();
}
void Live::OnVideoRenderFullScreen( VideoRender* pRender )
{
pRender->recoverRender();
pRender->enterFullScreen();
if (m_pLocalCameraRender!=pRender)
{
m_pLocalCameraRender->pauseRender();
m_pLocalCameraRender->exitFullScreen();
}
if (m_pScreenShareRender!=pRender)
{
m_pScreenShareRender->pauseRender();
m_pScreenShareRender->exitFullScreen();
}
for (int i=0; i<MaxVideoRender; ++i)
{
if (m_pRemoteVideoRenders[i]!=pRender)
{
m_pRemoteVideoRenders[i]->pauseRender();
m_pRemoteVideoRenders[i]->exitFullScreen();
}
}
}
void Live::OnExitVideoRenderFullScreen( VideoRender* pRender )
{
m_pLocalCameraRender->recoverRender();
m_pLocalCameraRender->exitFullScreen();
m_pScreenShareRender->recoverRender();
m_pScreenShareRender->exitFullScreen();
for (int i=0; i<MaxVideoRender; ++i)
{
m_pRemoteVideoRenders[i]->recoverRender();
m_pRemoteVideoRenders[i]->exitFullScreen();
}
}
void Live::OnStartRecordVideoSuc( void* data )
{
Live* pThis = reinterpret_cast<Live*>(data);
pThis->m_bRecording = true;
pThis->updateRecordGB();
}
void Live::OnStartRecordVideoErr( int code, const char *desc, void* data )
{
ShowCodeErrorTips(code, desc, reinterpret_cast<Live*>(data), "Start Record Video Error.");
}
void Live::OnStopRecordSuc( Vector<String>& value, void* data )
{
Live* pLive = reinterpret_cast<Live*>(data);
pLive->m_bRecording = false;
pLive->updateRecordGB();
pLive->sxbReportrecord();
}
void Live::OnStopRecordVideoErr( int code, const char *desc, void* data )
{
ShowCodeErrorTips(code, desc, reinterpret_cast<Live*>(data), "Stop Record Video Error.");
}
void Live::OnStartPushStreamSuc( PushStreamRsp &value, void *data )
{
Live* pLive = reinterpret_cast<Live*>(data);
pLive->m_bPushing = true;
pLive->m_channelId = value.channelId;
for (auto i = value.urls.begin(); i != value.urls.end(); ++i)
{
pLive->m_pushUrls.push_back(*i);
}
pLive->updatePushStreamGB();
}
void Live::OnStartPushStreamErr( int code, const char *desc, void* data )
{
ShowCodeErrorTips(code, desc, reinterpret_cast<Live*>(data), "Start Push Stream Error.");
}
void Live::OnStopPushStreamSuc( void* data )
{
Live* pLive = reinterpret_cast<Live*>(data);
pLive->m_bPushing = false;
pLive->m_channelId = 0;
pLive->m_pushUrls.clear();
pLive->updatePushStreamGB();
}
void Live::OnStopPushStreamErr( int code, const char *desc, void* data )
{
ShowCodeErrorTips(code, desc, reinterpret_cast<Live*>(data), "Stop Push Stream Error.");
}
| [
"493088733@qq.com"
] | 493088733@qq.com |
3f2af76b10f4cb4f087ae1b596ef326d81f13bf0 | d9d118f4f1d626a750897babce33b3ce34f11575 | /x451/Test/VersionManager/CVersionManagerAdaptorTest.cpp | a4f83627fecedbd2f26caf48b8efcfbea976c216 | [] | no_license | HNarayana-youCanDoIt/Testproject | 39af23d3ee4c2a413670c3dcd68dbd41424bbe91 | 226795327f50102989dfc8e12174823dddc2aa68 | refs/heads/master | 2023-03-26T05:57:57.044706 | 2021-03-31T11:14:53 | 2021-03-31T11:14:53 | 353,326,120 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,365 | cpp | #include "CVersionManagerAdaptorTest.h"
#include "VersionManager/CVersionManagerAdaptor.h"
#include "CVersionManagerParamTest.h"
void CVersionManagerAdaptorTest::SetUp()
{
m_pVersionManagerAdaptor = CVersionManagerAdaptor::getInstance();
}
void CVersionManagerAdaptorTest::TearDown()
{
// m_pVersionManagerAdaptor->~CVersionManagerAdaptor();
if ( m_pVersionManagerAdaptor != nullptr )
{
CVersionManagerAdaptor::releaseInstance();
m_pVersionManagerAdaptor = nullptr;
}
}
//Test if CVersionManagerAdaptor instance is created and not Null
TEST_F(CVersionManagerAdaptorTest, CheckVersionManagerAdaptorInstanceIsNotNull)
{
ASSERT_TRUE(m_pVersionManagerAdaptor != nullptr)<< "CVersionManagerAdaptorTest Constructor PASSED"<<endl;
}
TEST_F(CVersionManagerAdaptorTest, CheckVersionManagerInitializedVariables)
{
EXPECT_EQ(m_pVersionManagerAdaptor->m_strVIN , "");
EXPECT_EQ(m_pVersionManagerAdaptor->m_strContainerPartNo , "");
EXPECT_EQ(m_pVersionManagerAdaptor->m_strSilverBoxPartNo , "");
EXPECT_EQ(m_pVersionManagerAdaptor->m_strDisplayHWPartNo , "");
EXPECT_EQ(m_pVersionManagerAdaptor->m_strParameterizationPartNo , "");
EXPECT_EQ(m_pVersionManagerAdaptor->m_strButtonPanelPartNo , "");
EXPECT_EQ(m_pVersionManagerAdaptor->m_strBtnPanelSoftVersionNo , "");
EXPECT_EQ(m_pVersionManagerAdaptor->m_strDisplayManagerVersionNo , "");
EXPECT_EQ(m_pVersionManagerAdaptor->m_strSOCVersionNo , "");
EXPECT_STRNE((m_pVersionManagerAdaptor->m_SwVersion).toStdString().c_str() , "");
EXPECT_STRNE((m_pVersionManagerAdaptor->m_SwReleaseDate).toStdString().c_str() , "");
EXPECT_EQ(m_pVersionManagerAdaptor->m_uiVersionMismatchValue , 0)<< "CVersionManagerAdaptorTest:: Variables Initialization Checked"<<endl;
}
TEST_F(CVersionManagerAdaptorTest, checkForSetVCInfoWithDiffValueString)
{
m_pVersionManagerAdaptor->setVCInfo(QString::fromStdString(""));
QSignalSpy spy(m_pVersionManagerAdaptor, SIGNAL(sigVCInfoChanged()));
m_pVersionManagerAdaptor->setVCInfo(QString::fromStdString("ABC123NF"));
EXPECT_TRUE(spy.isValid() == true);
EXPECT_TRUE(spy.count() == 1);
EXPECT_STREQ((m_pVersionManagerAdaptor->vcInfo()).toStdString().c_str(), "ABC123NF");
}
TEST_F(CVersionManagerAdaptorTest, checkForSetVCInfoWithSameValueString)
{
m_pVersionManagerAdaptor->setVCInfo(QString::fromStdString("ABC123NF"));
QSignalSpy spy(m_pVersionManagerAdaptor, SIGNAL(sigVCInfoChanged()));
m_pVersionManagerAdaptor->setVCInfo(QString::fromStdString("ABC123NF"));
EXPECT_TRUE(spy.isValid() == true);
EXPECT_TRUE(spy.count() == 0);
EXPECT_STREQ((m_pVersionManagerAdaptor->vcInfo()).toStdString().c_str(), "ABC123NF");
}
TEST_F(CVersionManagerAdaptorTest, CheckForSetterOfSwVersion)
{
QSignalSpy spy(m_pVersionManagerAdaptor, SIGNAL(sigSwVersionChanged()));
m_pVersionManagerAdaptor->setSwVersion(QString::fromStdString("ABC123NF"));
EXPECT_TRUE(spy.isValid() == true);
EXPECT_STREQ((m_pVersionManagerAdaptor->swVersion()).toStdString().c_str(), "ABC123NF");
//Check and coverage For Else Part when the values are same.
m_pVersionManagerAdaptor->setSwVersion(QString::fromStdString("ABC123NF"));
}
TEST_F(CVersionManagerAdaptorTest, CheckForSetterOfSwReleaseDate)
{
QSignalSpy spy(m_pVersionManagerAdaptor, SIGNAL(sigSwReleaseDateChanged()));
m_pVersionManagerAdaptor->setSwReleaseDate(QString::fromStdString("ABC123NF"));
EXPECT_TRUE(spy.isValid() == true);
EXPECT_STREQ((m_pVersionManagerAdaptor->swReleaseDate()).toStdString().c_str(), "ABC123NF");
//Check and coverage For Else Part when the values are same.
m_pVersionManagerAdaptor->setSwReleaseDate(QString::fromStdString("ABC123NF"));
}
TEST_F(CVersionManagerAdaptorTest, checkForSetVINInfoWithDiffValueString)
{
m_pVersionManagerAdaptor->setVINInfo(QString::fromStdString(""));
QSignalSpy spy(m_pVersionManagerAdaptor, SIGNAL(sigVINInfoChanged()));
m_pVersionManagerAdaptor->setVINInfo(QString::fromStdString("ABC123NF"));
EXPECT_TRUE(spy.isValid() == true);
EXPECT_TRUE(spy.count() == 1);
EXPECT_STREQ((m_pVersionManagerAdaptor->vinInfo()).toStdString().c_str(), "ABC123NF");
}
TEST_F(CVersionManagerAdaptorTest, checkForSetVINInfoWithSameValueString)
{
m_pVersionManagerAdaptor->setVCInfo(QString::fromStdString("ABC123NF"));
QSignalSpy spy(m_pVersionManagerAdaptor, SIGNAL(sigVCInfoChanged()));
m_pVersionManagerAdaptor->setVCInfo(QString::fromStdString("ABC123NF"));
EXPECT_TRUE(spy.isValid() == true);
EXPECT_TRUE(spy.count() == 0);
EXPECT_STREQ((m_pVersionManagerAdaptor->vcInfo()).toStdString().c_str(), "ABC123NF");
}
TEST_F(CVersionManagerAdaptorTest, checkForSetContainerPartNoWithDiffValueString)
{
m_pVersionManagerAdaptor->setContainerPartNo(QString::fromStdString(""));
QSignalSpy spy(m_pVersionManagerAdaptor, SIGNAL(sigContainerPartNoChanged()));
m_pVersionManagerAdaptor->setContainerPartNo(QString::fromStdString("ABC123NF"));
EXPECT_TRUE(spy.isValid() == true);
EXPECT_TRUE(spy.count() == 1);
EXPECT_STREQ((m_pVersionManagerAdaptor->containerPartNo()).toStdString().c_str(), "ABC123NF");
}
TEST_F(CVersionManagerAdaptorTest, checkForSetContainerPartNoWithSameValueString)
{
m_pVersionManagerAdaptor->setContainerPartNo(QString::fromStdString("ABC123NF"));
QSignalSpy spy(m_pVersionManagerAdaptor, SIGNAL(sigContainerPartNoChanged()));
m_pVersionManagerAdaptor->setContainerPartNo(QString::fromStdString("ABC123NF"));
EXPECT_TRUE(spy.isValid() == true);
EXPECT_TRUE(spy.count() == 0);
EXPECT_STREQ((m_pVersionManagerAdaptor->containerPartNo()).toStdString().c_str(), "ABC123NF");
}
TEST_F(CVersionManagerAdaptorTest, checkforSetSilverBoxPartNoWithDiffValueString)
{
m_pVersionManagerAdaptor->setSilverBoxPartNo(QString::fromStdString(""));
QSignalSpy spy(m_pVersionManagerAdaptor, SIGNAL(sigSilverBoxPartChanged()));
m_pVersionManagerAdaptor->setSilverBoxPartNo(QString::fromStdString("ABC123NF"));
EXPECT_TRUE(spy.isValid() == true);
EXPECT_TRUE(spy.count() == 1);
EXPECT_STREQ((m_pVersionManagerAdaptor->silverBoxPartNo()).toStdString().c_str(), "ABC123NF");
}
TEST_F(CVersionManagerAdaptorTest, checkforSetSilverBoxPartNoWithSameValueString)
{
m_pVersionManagerAdaptor->setSilverBoxPartNo(QString::fromStdString("ABC123NF"));
QSignalSpy spy(m_pVersionManagerAdaptor, SIGNAL(sigSilverBoxPartChanged()));
m_pVersionManagerAdaptor->setSilverBoxPartNo(QString::fromStdString("ABC123NF"));
EXPECT_TRUE(spy.isValid() == true);
EXPECT_TRUE(spy.count() == 0);
EXPECT_STREQ((m_pVersionManagerAdaptor->silverBoxPartNo()).toStdString().c_str(), "ABC123NF");
}
TEST_F(CVersionManagerAdaptorTest, checkforSetDisplayHWPartNoWithDiffValueString)
{
m_pVersionManagerAdaptor->setDisplayHWPartNo(QString::fromStdString(""));
QSignalSpy spy(m_pVersionManagerAdaptor, SIGNAL(sigDisplayHWPartNoChanged()));
m_pVersionManagerAdaptor->setDisplayHWPartNo(QString::fromStdString("ABC123NF"));
EXPECT_TRUE(spy.isValid() == true);
EXPECT_TRUE(spy.count() == 1);
EXPECT_STREQ((m_pVersionManagerAdaptor->displayHWPartNo()).toStdString().c_str(), "ABC123NF");
}
TEST_F(CVersionManagerAdaptorTest, checkforSetDisplayHWPartNoWithSameValueString)
{
m_pVersionManagerAdaptor->setDisplayHWPartNo(QString::fromStdString("ABC123NF"));
QSignalSpy spy(m_pVersionManagerAdaptor, SIGNAL(sigDisplayHWPartNoChanged()));
m_pVersionManagerAdaptor->setDisplayHWPartNo(QString::fromStdString("ABC123NF"));
EXPECT_TRUE(spy.isValid() == true);
EXPECT_TRUE(spy.count() == 0);
EXPECT_STREQ((m_pVersionManagerAdaptor->displayHWPartNo()).toStdString().c_str(), "ABC123NF");
}
TEST_F(CVersionManagerAdaptorTest, checkforSetParameterizationPartNoWithDiffValueString)
{
m_pVersionManagerAdaptor->setParameterizationPartNo(QString::fromStdString(""));
QSignalSpy spy(m_pVersionManagerAdaptor, SIGNAL(sigParameterizationPartNoChanged()));
m_pVersionManagerAdaptor->setParameterizationPartNo(QString::fromStdString("ABC123NF"));
EXPECT_TRUE(spy.isValid() == true);
EXPECT_TRUE(spy.count() == 1);
EXPECT_STREQ((m_pVersionManagerAdaptor->parameterizationPartNo()).toStdString().c_str(), "ABC123NF");
}
TEST_F(CVersionManagerAdaptorTest, checkforSetParameterizationPartNoWithSameValueString)
{
m_pVersionManagerAdaptor->setParameterizationPartNo(QString::fromStdString("ABC123NF"));
QSignalSpy spy(m_pVersionManagerAdaptor, SIGNAL(sigParameterizationPartNoChanged()));
m_pVersionManagerAdaptor->setParameterizationPartNo(QString::fromStdString("ABC123NF"));
EXPECT_TRUE(spy.isValid() == true);
EXPECT_TRUE(spy.count() == 0);
EXPECT_STREQ((m_pVersionManagerAdaptor->parameterizationPartNo()).toStdString().c_str(), "ABC123NF");
}
TEST_F(CVersionManagerAdaptorTest, checkforSetButtonPanelPartNoWithDiffValueString)
{
m_pVersionManagerAdaptor->setButtonPanelPartNo(QString::fromStdString(""));
QSignalSpy spy(m_pVersionManagerAdaptor, SIGNAL(sigButtonPanelPartNoChanged()));
m_pVersionManagerAdaptor->setButtonPanelPartNo(QString::fromStdString("ABC123NF"));
EXPECT_TRUE(spy.isValid() == true);
EXPECT_TRUE(spy.count() == 1);
EXPECT_STREQ((m_pVersionManagerAdaptor->buttonPanelPartNo()).toStdString().c_str(), "ABC123NF");
}
TEST_F(CVersionManagerAdaptorTest, checkforSetButtonPanelPartNoWithSameValueString)
{
m_pVersionManagerAdaptor->setButtonPanelPartNo(QString::fromStdString("ABC123NF"));
QSignalSpy spy(m_pVersionManagerAdaptor, SIGNAL(sigButtonPanelPartNoChanged()));
m_pVersionManagerAdaptor->setButtonPanelPartNo(QString::fromStdString("ABC123NF"));
EXPECT_TRUE(spy.isValid() == true);
EXPECT_TRUE(spy.count() == 0);
EXPECT_STREQ((m_pVersionManagerAdaptor->buttonPanelPartNo()).toStdString().c_str(), "ABC123NF");
}
TEST_F(CVersionManagerAdaptorTest, checkforSetBtnPanelSoftVersionNoWithDiffValueString)
{
m_pVersionManagerAdaptor->setBtnPanelSoftVersionNo(QString::fromStdString(""));
QSignalSpy spy(m_pVersionManagerAdaptor, SIGNAL(sigBtnPanelSoftVersionNoChanged()));
m_pVersionManagerAdaptor->setBtnPanelSoftVersionNo(QString::fromStdString("ABC123NF"));
EXPECT_TRUE(spy.isValid() == true);
EXPECT_TRUE(spy.count() == 1);
EXPECT_STREQ((m_pVersionManagerAdaptor->btnPanelSoftVersionNo()).toStdString().c_str(), "ABC123NF");
}
TEST_F(CVersionManagerAdaptorTest, checkforSetBtnPanelSoftVersionNoWithSameValueString)
{
m_pVersionManagerAdaptor->setBtnPanelSoftVersionNo(QString::fromStdString("ABC123NF"));
QSignalSpy spy(m_pVersionManagerAdaptor, SIGNAL(sigBtnPanelSoftVersionNoChanged()));
m_pVersionManagerAdaptor->setBtnPanelSoftVersionNo(QString::fromStdString("ABC123NF"));
EXPECT_TRUE(spy.isValid() == true);
EXPECT_TRUE(spy.count() == 0);
EXPECT_STREQ((m_pVersionManagerAdaptor->btnPanelSoftVersionNo()).toStdString().c_str(), "ABC123NF");
}
TEST_F(CVersionManagerAdaptorTest, checkforSetDisplayManagerSoftVersionNoWithDiffValueString)
{
m_pVersionManagerAdaptor->setDisplayManagerSoftVersionNo(QString::fromStdString(""));
QSignalSpy spy(m_pVersionManagerAdaptor, SIGNAL(sigDisplayManagerSoftVersionNoChanged()));
m_pVersionManagerAdaptor->setDisplayManagerSoftVersionNo(QString::fromStdString("ABC123NF"));
EXPECT_TRUE(spy.isValid() == true);
EXPECT_TRUE(spy.count() == 1);
EXPECT_STREQ((m_pVersionManagerAdaptor->displayManagerSoftVersionNo()).toStdString().c_str(), "ABC123NF");
}
TEST_F(CVersionManagerAdaptorTest, checkforSetDisplayManagerSoftVersionNoWithSameValueString)
{
m_pVersionManagerAdaptor->setDisplayManagerSoftVersionNo(QString::fromStdString("ABC123NF"));
QSignalSpy spy(m_pVersionManagerAdaptor, SIGNAL(sigDisplayManagerSoftVersionNoChanged()));
m_pVersionManagerAdaptor->setDisplayManagerSoftVersionNo(QString::fromStdString("ABC123NF"));
EXPECT_TRUE(spy.isValid() == true);
EXPECT_TRUE(spy.count() == 0);
EXPECT_STREQ((m_pVersionManagerAdaptor->displayManagerSoftVersionNo()).toStdString().c_str(), "ABC123NF");
}
TEST_F(CVersionManagerAdaptorTest, checkforSetSOCSoftVersionNoWithDiffValueString)
{
m_pVersionManagerAdaptor->setSOCSoftVersionNo(QString::fromStdString(""));
QSignalSpy spy(m_pVersionManagerAdaptor, SIGNAL(sigSOCSoftVersionNoChanged()));
m_pVersionManagerAdaptor->setSOCSoftVersionNo(QString::fromStdString("ABC123NF"));
EXPECT_TRUE(spy.isValid() == true);
EXPECT_TRUE(spy.count() == 1);
EXPECT_STREQ((m_pVersionManagerAdaptor->socSoftVersionNo()).toStdString().c_str(), "ABC123NF");
}
TEST_F(CVersionManagerAdaptorTest, checkforSetSOCSoftVersionNoWithSameValueString)
{
m_pVersionManagerAdaptor->setSOCSoftVersionNo(QString::fromStdString("ABC123NF"));
QSignalSpy spy(m_pVersionManagerAdaptor, SIGNAL(sigSOCSoftVersionNoChanged()));
m_pVersionManagerAdaptor->setSOCSoftVersionNo(QString::fromStdString("ABC123NF"));
EXPECT_TRUE(spy.isValid() == true);
EXPECT_TRUE(spy.count() == 0);
EXPECT_STREQ((m_pVersionManagerAdaptor->socSoftVersionNo()).toStdString().c_str(), "ABC123NF");
}
//ToDo: check for min max values and also which are out of bound.
//Use For Loop in these cases to shorten the code.
TEST_F(CVersionManagerAdaptorTest, checkforVersionMismatch)
{
/**
* 0 - No Version Mismatch
* 1 - Display Version Mismatch
* 2 - ButtonPanel Version Mismatch
* 3 - BP_DM Version Mismatch.
**/
for(int versionMismatchCounter = 0;versionMismatchCounter < 4 ;versionMismatchCounter++)
{
m_pVersionManagerAdaptor->versionMisMatchValueReceived(versionMismatchCounter);
EXPECT_TRUE(m_pVersionManagerAdaptor->m_uiVersionMismatchValue == versionMismatchCounter);
}
}
TEST_F(CVersionManagerAdaptorTest, checkforSetPowerModePEPSMode)
{
QSignalSpy spy(m_pVersionManagerAdaptor, SIGNAL(sigPowerModeChanged()));
m_pVersionManagerAdaptor->setPowerMode(POWER_MODE_PEPS);
EXPECT_TRUE(spy.isValid() == true);
EXPECT_TRUE(spy.count() == 1);
EXPECT_TRUE(m_pVersionManagerAdaptor->m_ePowerModeType == 1);
EXPECT_TRUE(m_pVersionManagerAdaptor->m_strPowerMode == POWER_MODE_PEPS);
//To cover the else part when the values are same.
m_pVersionManagerAdaptor->setPowerMode(POWER_MODE_PEPS);
}
TEST_F(CVersionManagerAdaptorTest, checkforSetPowerModeIgnOnMode)
{
QSignalSpy spy(m_pVersionManagerAdaptor, SIGNAL(sigPowerModeChanged()));
m_pVersionManagerAdaptor->setPowerMode(POWER_MODE_IGN);
EXPECT_TRUE(spy.isValid() == true);
EXPECT_TRUE(spy.count() == 1);
EXPECT_TRUE(m_pVersionManagerAdaptor->m_ePowerModeType == 0);
EXPECT_TRUE(m_pVersionManagerAdaptor->m_strPowerMode == POWER_MODE_IGN);
//To cover the else part when the values are same.
m_pVersionManagerAdaptor->setPowerMode(POWER_MODE_IGN);
}
TEST_F(CVersionManagerAdaptorTest, checkforSetPowerModeInvalidData)
{
QSignalSpy spy(m_pVersionManagerAdaptor, SIGNAL(sigPowerModeChanged()));
m_pVersionManagerAdaptor->setPowerMode(INVALID_DATA);
EXPECT_TRUE(spy.isValid() == true);
EXPECT_TRUE(spy.count() == 1);
EXPECT_FALSE(m_pVersionManagerAdaptor->m_ePowerModeType == 3);
EXPECT_TRUE(m_pVersionManagerAdaptor->m_strPowerMode == INVALID_DATA);
//To cover the else part when the values are same.
m_pVersionManagerAdaptor->setPowerMode(INVALID_DATA);
}
TEST_F(CVersionManagerAdaptorTest, checkSWUpdateActionOnVersionMismatch)
{
m_pVersionManagerAdaptor->m_uiVersionMismatchValue = 1;
m_pVersionManagerAdaptor->callSwUpdateOnVerMismatch();
//To cover the else part when the values are same.
m_pVersionManagerAdaptor->m_uiVersionMismatchValue = 0;
m_pVersionManagerAdaptor->callSwUpdateOnVerMismatch();
}
// Todo: [Recheck] This has been implemented in Both Classes i.e. for Adaptor and Param test Class.
INSTANTIATE_TEST_CASE_P(
VersionMismatchTestCases,
CVersionManagerAdaptorTest,
::testing::Values(
0, 1, 2, 4, 5, 100
));
TEST_P(CVersionManagerAdaptorTest, checkForVersionMismatchParamTestCases) {
int versionMismatchCounter = GetParam();
m_pVersionManagerAdaptor->versionMisMatchValueReceived(versionMismatchCounter);
EXPECT_TRUE(m_pVersionManagerAdaptor->m_uiVersionMismatchValue == versionMismatchCounter);
}
| [
"hemanthakumar.narayana@harman.com"
] | hemanthakumar.narayana@harman.com |
4006c3eadd15d44bba12b9d43832390275d245b4 | 2d8eb825acc7ba2b191d1cf9e5a3d9c9cffabbcf | /SimpleWindow/main.cpp | ba4d81160c24ede532cba1b7359b5354fe57f1ee | [] | no_license | AGlagolev/WinAPI | c8b1b767022d62884e8fed33a937d6d7f00c816d | cb2251218352217b034277f671918fc031f144db | refs/heads/master | 2021-05-23T08:17:43.355029 | 2020-05-17T11:19:18 | 2020-05-17T11:19:18 | 253,193,361 | 1 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 14,743 | cpp | #include <Windows.h>
#include "resource.h"
#include <string.h>
#include <string>
HWND hEdit1;
HWND hEdit2;
CHAR str1[80] = { 0 };
CHAR str2[80] = { 0 };
LPSTR lpszCurrentText = NULL;
CHAR szPath[MAX_PATH] = {};
CONST CHAR szFilter[] = "Text files (*.txt)\0*.txt\0All files (*.*)\0*.*\0";
LRESULT CALLBACK WndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
BOOL CALLBACK DlgProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
BOOL CALLBACK DlgUsrProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
BOOL LoadTextFileToEdit(HWND hwnd, LPSTR pszFileName);
BOOL SaveTextFileFromEdit(HWND hEdit, LPSTR pszFileName);
BOOL Compare(HWND hEdit);
/***********************************WinMain**************************************************/
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInst, LPSTR lpCmdLine, int nCmdShow)
{
//1)Регистрация класса окна:
HACCEL hAccel = LoadAccelerators(hInstance, MAKEINTRESOURCE(IDR_ACCELERATOR1));
CONST CHAR SZ_CLASS_NAME[] = "myWindowClass";
WNDCLASSEX wc;
wc.cbSize = sizeof(WNDCLASSEX);
wc.style = 0;
wc.lpfnWndProc = WndProc;
wc.cbClsExtra = 0;
wc.cbWndExtra = 0;
wc.hInstance = hInstance;
wc.hIcon = LoadIcon(NULL, IDI_APPLICATION);
wc.hIconSm = LoadIcon(NULL, IDI_APPLICATION);
//wc.hIcon = LoadIcon(GetModuleHandle(NULL), MAKEINTRESOURCE(IDI_ICON1)); // Иконка на панели задач
//wc.hIconSm = (HICON)LoadImage(GetModuleHandle(NULL), MAKEINTRESOURCE(IDI_ICON1), IMAGE_ICON, 16,16,0);// Иконка окна
wc.hCursor = LoadCursor(NULL, IDC_ARROW);
wc.hbrBackground = (HBRUSH)COLOR_WINDOW;
wc.lpszMenuName = NULL;/*MAKEINTRESOURCE(IDR_MENU1); - прикрепление статического меню*/
wc.lpszClassName = SZ_CLASS_NAME;
//wc.lpszMenuName = MAKEINTRESOURCE(IDR_ACCELERATOR1);
if (!RegisterClassEx(&wc))
{
MessageBox(NULL, "Window registration failed", "Error", MB_OK | MB_ICONERROR);
return 0;
}
//2)Создание окна:
HWND hwnd = CreateWindowEx
(
WS_EX_CLIENTEDGE | WS_EX_ACCEPTFILES,
SZ_CLASS_NAME,
"Title of my Window",
WS_OVERLAPPEDWINDOW,
0,0,640,480,
NULL,NULL,hInstance,NULL
);
if (hwnd == NULL)
{
MessageBox(NULL, "Window was not created", "Erorr", MB_OK | MB_ICONERROR);
return 0;
}
ShowWindow(hwnd, nCmdShow);
UpdateWindow(hwnd);
/////////////// Message loop
MSG msg; // Переменная сообщение
while (GetMessage(&msg, NULL, 0, 0) > 0)
{
if (!TranslateAccelerator(msg.hwnd, hAccel, &msg)) // Если сообщение от кнопки акселератора
{
TranslateMessage(&msg); // Если сообщение не от кнопки акселератора
DispatchMessage(&msg);
}
}
return msg.wParam;
}
/****************************************** WndProc ********************************************************************************/
LRESULT CALLBACK WndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
switch (uMsg)
{
case WM_CREATE:
// Creating menu
{
HMENU hMenu = CreateMenu();
HMENU hSubMenu = CreatePopupMenu();
AppendMenu(hSubMenu, MF_STRING, ID_FILE_NEW, "&New");
AppendMenu(hSubMenu, MF_STRING, ID_FILE_EXIT, "E&xit");
//AppendMenu(hSubMenu, C2_BLOCKSEPARATOR, SEPARATOR, "E&xit");
AppendMenu(hSubMenu, MF_STRING, ID_FILE_OPEN, "&Open");
AppendMenu(hSubMenu, MF_STRING, ID_FILE_SAVE, "&Save");
AppendMenu(hSubMenu, MF_STRING, ID_FILE_SAVEAS, "Sa&ve As");
AppendMenu(hMenu, MF_STRING | MF_POPUP, (UINT)hSubMenu, "&File");
hSubMenu = CreatePopupMenu();
AppendMenu(hSubMenu, MF_STRING, ID_HELP_ABOUT, "&About");
AppendMenu(hSubMenu, MF_STRING, ID_HELP_ABOUT, "&User");
AppendMenu(hMenu, MF_STRING | MF_POPUP, (UINT)hSubMenu, "&Help");
SetMenu(hwnd, hMenu);
//Adding icons
HICON hIcon = (HICON)LoadImage(NULL, "Document.ico", IMAGE_ICON, 32, 32, LR_LOADFROMFILE);
SendMessage(hwnd, WM_SETICON, ICON_BIG, (LPARAM)hIcon);
RECT rect;
GetClientRect(hwnd, &rect);
//Text editor:
HWND hEdit = CreateWindowEx(
WS_EX_CLIENTEDGE, "Edit", "",
WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_HSCROLL | ES_MULTILINE | ES_AUTOVSCROLL | ES_AUTOHSCROLL,
0, 0, rect.right, rect.bottom,
hwnd,
(HMENU)IDC_MAIN_EDIT,
GetModuleHandle(NULL),
NULL
);
}
break;
case WM_SIZE:
{
RECT rcClient;
GetClientRect(hwnd, &rcClient);
HWND hEdit = GetDlgItem(hwnd, IDC_MAIN_EDIT);
SetWindowPos(hEdit, NULL, 0, 0, rcClient.right, rcClient.bottom,SWP_NOZORDER);
}
break;
case WM_COMMAND:
{
switch (LOWORD(wParam)) // LOWORD содержит ID сообщения
{
case ID_FILE_OPEN:
{
//создадим стандартное окно открытия /сохранения файла:
OPENFILENAME ofn; // создаем структуру
CHAR szFileName[MAX_PATH] = {};
ZeroMemory(&ofn, sizeof(ofn)); // зануление полей структуры
// Заполняем поля структуры
ofn.lStructSize = sizeof(ofn);
ofn.hwndOwner = hwnd; // определитель родительского объекта
ofn.lpstrFilter = szFilter; // константа в начале кода
ofn.lpstrFile = szFileName; // строка куда сохранится путь к файлу
ofn.nMaxFile = MAX_PATH; // Максимально возможная длина пути 256 байт
ofn.Flags = OFN_EXPLORER | OFN_FILEMUSTEXIST | OFN_HIDEREADONLY; // флаги открытия файла
ofn.lpstrDefExt = "txt"; // разрешение по умолчанию с которым сохраняется файл
if (GetOpenFileName(&ofn)) // Если получилось открыть файл
{
//Происходит чето-там
HWND hEdit = GetDlgItem(hwnd, IDC_MAIN_EDIT);
LoadTextFileToEdit(hEdit, szFileName);
strncpy_s(szPath, szFileName, sizeof(szPath) - 1);
}
}
break;
case ID_FILE_SAVE:
{
if(szPath[0]!='\0')
{
//Происходит чето-там
HWND hEdit = GetDlgItem(hwnd, IDC_MAIN_EDIT);
SaveTextFileFromEdit(hEdit, szPath);
}
else
{
SendMessage(hwnd, WM_COMMAND,(WPARAM)ID_FILE_SAVEAS, 0);
}
}
break;
case ID_FILE_SAVEAS:
{
OPENFILENAME ofn; // создаем структуру
CHAR szFileName[MAX_PATH] = {};
ZeroMemory(&ofn, sizeof(ofn)); // зануление полей структуры
// Заполняем поля структуры
ofn.lStructSize = sizeof(ofn);
ofn.hwndOwner = hwnd; // определитель родительского объекта
ofn.lpstrFilter = szFilter; // константа в начале кода
ofn.lpstrFile = szFileName; // строка куда сохранится путь к файлу
ofn.nMaxFile = MAX_PATH; // Максимально возможная длина пути 256 байт
ofn.Flags = OFN_EXPLORER | OFN_PATHMUSTEXIST|OFN_OVERWRITEPROMPT|OFN_HIDEREADONLY; // флаги открытия файла
ofn.lpstrDefExt = "txt"; // разрешение по умолчанию с которым сохраняется файл
if (GetSaveFileName(&ofn)) // Если получилось открыть файл
{
//Происходит чето-там
HWND hEdit = GetDlgItem(hwnd, IDC_MAIN_EDIT);
SaveTextFileFromEdit(hEdit, szFileName);
strncpy_s(szPath, szFileName, sizeof(szPath) - 1);
}
}
break;
case ID_FILE_EXIT:
{
SendMessage(hwnd,WM_COMMAND,WM_CLOSE,0);
}
break;
case ID_HELP_ABOUT:
{
DialogBoxParam(GetModuleHandle(NULL), MAKEINTRESOURCE(IDD_ABOUT), hwnd, DlgProc, 0);
}
break;
case ID_HELP_USER:
{
switch (DialogBox(GetModuleHandle(NULL), MAKEINTRESOURCE(IDD_USER), hwnd, DlgUsrProc))
{
case IDOK: MessageBox(hwnd, "Dialog ended with OK!", "Info", MB_OK | MB_ICONINFORMATION); break;
case IDCANCEL: MessageBox(hwnd, "Dialog ended with CANCEL!", "Info", MB_OK | MB_ICONINFORMATION); break;
case -1: MessageBox(hwnd, "Dialog eFailed!", "Error", MB_OK | MB_ICONERROR); break;
}
}
break;
case ID_F1:
{
MessageBox(hwnd, "Use key F1!", "Info", MB_OK | MB_ICONINFORMATION);
DialogBoxParam(GetModuleHandle(NULL), MAKEINTRESOURCE(IDD_ABOUT), hwnd, DlgProc, 0);
}
break;
}
}
break;
case WM_DROPFILES:
{
//Поиск пути к переташеному файлу
int SizeDragFile = DragQueryFile((HDROP)wParam, 0, NULL, 0);
char* PachToFile = new char[SizeDragFile + 1];
DragQueryFile((HDROP)wParam, 0, PachToFile, SizeDragFile + 1);
PachToFile[SizeDragFile] = '\0';
DragFinish((HDROP)wParam);
//Открытие файла в редакторе
strncpy_s(szPath, PachToFile, sizeof(szPath) - 1);
HWND hEdit = GetDlgItem(hwnd, IDC_MAIN_EDIT);
LoadTextFileToEdit(hEdit, szPath);
}
break;
case WM_CLOSE:
{
BOOL DontClose = FALSE;
{
HWND hEdit = GetDlgItem(hwnd, IDC_MAIN_EDIT);
if (!Compare(hEdit))
{
switch (MessageBox(hwnd, "Сохранить изменения в файле?", " Вопрос ", MB_YESNOCANCEL | MB_ICONQUESTION))
{
case IDYES:
{
SendMessage(hwnd,WM_COMMAND, ID_FILE_SAVE,0);
//SendMessage(hwnd, WM_DESTROY,0,0);
}
//break;
case IDNO:
{
SendMessage(hwnd, WM_DESTROY, 0, 0);
}
break;
case IDCANCEL:
{
DontClose = TRUE;
break;
}
}
}
if(!DontClose) DestroyWindow(hwnd);
}
}
break;
case WM_DESTROY:
{
GlobalFree(lpszCurrentText);
PostQuitMessage(0);
}
break;
default: return DefWindowProc(hwnd, uMsg, wParam, lParam);
}
return 0;
}
/****************************************** DlgProc ********************************************************************************/
BOOL CALLBACK DlgProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
switch (uMsg)
{
case WM_INITDIALOG:
{
}
break;
case WM_COMMAND:
{
switch (LOWORD(wParam))
{
case IDOK:
{
EndDialog(hwnd, IDOK);
break;
}
case IDCANCEL:
{
EndDialog(hwnd, IDCANCEL);
break;
}
}
}
break;
case WM_CLOSE:
{
}
break;
default: return FALSE;
}
return TRUE;
}
/******************************************* DlgUsrProc ****************************************************************************/
BOOL CALLBACK DlgUsrProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
switch (uMsg)
{
case WM_INITDIALOG:
{
hEdit1 = GetDlgItem(hwnd, IDC_EDIT1);
hEdit2 = GetDlgItem(hwnd, IDC_EDIT2);
SendMessage(hEdit1, WM_SETTEXT, 0, (LPARAM)str1);
SendMessage(hEdit2, WM_SETTEXT, 0, (LPARAM)str1);
}
break;
case WM_COMMAND:
{
switch (LOWORD(wParam))
{
case IDOK:
{
SendMessage(hEdit1, WM_GETTEXT, 255, (LPARAM)str1);
SendMessage(hEdit2, WM_GETTEXT, 255, (LPARAM)str2);
strcat_s(str1, " ");
strcat_s(str1,str2);
EndDialog(hwnd, IDOK);
MessageBox(hwnd, str1, "Вы ввели", MB_YESNO | MB_ICONQUESTION);
}
break;
case IDCANCEL:
{
EndDialog(hwnd, IDCANCEL);
}
break;
}
}
break;
case WM_CLOSE:
{
EndDialog(hwnd,NULL);
}
break;
default: return FALSE;
}
return TRUE;
}
/******************************************* LoadTextFileToEdit ********************************************************************/
BOOL LoadTextFileToEdit(HWND hEdit, LPSTR pszFileName)
{
BOOL bSuccess = FALSE; // флаг успешности
HANDLE hFile = CreateFile(pszFileName, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, NULL, NULL); // Обработчик файла
if (hFile != INVALID_HANDLE_VALUE)
{
DWORD dwFileSize = GetFileSize(hFile, NULL);
if (dwFileSize != 0xFFFFFFFF) // проверяем не привышает ли максимальный размер
{
LPSTR pszFileText = (LPSTR)GlobalAlloc(GPTR, dwFileSize + 1); // Выделяем память для чтения файла
if (lpszCurrentText) GlobalFree(lpszCurrentText);
lpszCurrentText = (LPSTR)GlobalAlloc(GPTR, dwFileSize + 1);
if (pszFileText)
{
DWORD dwRead;
if (ReadFile(hFile, pszFileText, dwFileSize, &dwRead, NULL))
{
strcpy_s(lpszCurrentText, dwFileSize+1,pszFileText);
pszFileText[dwFileSize] = 0; // Ставим в конец 0
if (SetWindowText(hEdit, pszFileText)) bSuccess = TRUE;
}
GlobalFree(pszFileText);
}
}
CloseHandle(hFile);
}
return bSuccess;
}
/******************************************* SaveTextFileFromEdit ****************************************************************/
BOOL SaveTextFileFromEdit(HWND hEdit, LPSTR pszFileName)
{
BOOL bSuccess = FALSE;
HANDLE hFile = CreateFile(pszFileName, GENERIC_WRITE, 0, 0, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL,NULL);
if (hFile != INVALID_HANDLE_VALUE)
{
DWORD dwTextLength = GetWindowTextLength(hEdit);
if (dwTextLength > 0)
{
if (lpszCurrentText) GlobalFree(lpszCurrentText);
lpszCurrentText = (LPSTR)GlobalAlloc(GPTR, dwTextLength + 1);
GetWindowText(hEdit, lpszCurrentText, dwTextLength + 1);
LPSTR pszEditText = (LPSTR)GlobalAlloc(GPTR, dwTextLength + 1);
if (pszEditText != NULL)
{
if (GetWindowText(hEdit, pszEditText, dwTextLength + 1))
{
DWORD dwWritten;
if (WriteFile(hFile, pszEditText, dwTextLength, &dwWritten, NULL)) bSuccess = TRUE;
strcpy_s(lpszCurrentText, dwTextLength + 1, pszEditText);
}
GlobalFree(pszEditText);
}
}
CloseHandle(hFile);
}
return bSuccess;
}
/******************************************* Compare ******************************************************************************/
BOOL Compare(HWND hEdit)
{
// Сранение последнего сохраненого текста с написаным
BOOL boolanswer = TRUE;
DWORD dwTextLength = GetWindowTextLength(hEdit);
LPSTR lpszEditText = (LPSTR)GlobalAlloc(GPTR, dwTextLength + 1);
if (lpszCurrentText!= NULL)
{
if (GetWindowText(hEdit, lpszEditText, dwTextLength + 1))
{
if (strcmp(lpszCurrentText,lpszEditText)) boolanswer = FALSE;
}
}
else
{
if (dwTextLength > 0) // Если поле текста не пусто но файл не подгружался все равно предлагаем сохранение
{
boolanswer = FALSE;
}
}
GlobalFree(lpszEditText);
return boolanswer;
} | [
"Alex@DESKTOP-CEQG6CC"
] | Alex@DESKTOP-CEQG6CC |
9e72109e98ed6a6c079dc926a57b98ecf9fc8526 | 6f8ae3f9c901a75e3887e3b32fe132b713c4dd19 | /Leetcode/1396_design_underground_system.cpp | d49d3092494f4c4b8b7aefb8d6ccc96bb08d2c5d | [] | no_license | iansu81/Ian_play | 297161c17de293cc0a1492cb5fa77c33d78fecfb | ed47631d093987be704029be4809321fe1d35baa | refs/heads/master | 2023-03-18T11:12:20.940949 | 2023-03-15T06:13:04 | 2023-03-15T06:13:04 | 161,003,540 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,905 | cpp | #include <iostream>
#include <vector>
#include <string>
#include <unordered_map>
#include <utility>
using namespace std;
class UndergroundSystem
{
// 用兩個unordered_map 來記錄資料,
// 第一個用來記錄已經check in, 還沒checkout的人, 什麼時候開始搭車
// 第二個用來記錄已經checkout的人, 所有的行程資料
// 在checkout的時候把人從第一個unordered_map移除,然後計算資料之後放進第二個unordered_map
public:
UndergroundSystem()
{
}
void checkIn(int id, string stationName, int t)
{
traveler_data[id] = make_pair(stationName, t);
}
void checkOut(int id, string stationName, int t)
{
string startstation = traveler_data[id].first;
string travel_from_to = startstation + stationName;
double time_diff = t - traveler_data[id].second;
// 題目沒有說一定要erase, 不erase會比較快
traveler_data.erase(id);
trip_data[travel_from_to].first += time_diff;
trip_data[travel_from_to].second += 1;
}
double getAverageTime(string startStation, string endStation)
{
string travel_name = startStation + endStation;
if (!trip_data.count(travel_name)) return 0;
else return (trip_data[travel_name].first / trip_data[travel_name].second);
}
private:
// # key: "start station + end staion ", value: <total time, number of travlers before>
unordered_map<string, pair<double, int>> trip_data;
// # key: traveler id, value: <start station name, time>
unordered_map<int, pair<string, int> > traveler_data;
};
/**
* Your UndergroundSystem object will be instantiated and called as such:
* UndergroundSystem* obj = new UndergroundSystem();
* obj->checkIn(id,stationName,t);
* obj->checkOut(id,stationName,t);
* double param_3 = obj->getAverageTime(startStation,endStation);
*/ | [
"isu@smart-ag.com"
] | isu@smart-ag.com |
8e722ef52fb30377985863f1328055c99d526318 | 85e7114ea63a080c1b9b0579e66c7a2d126cffec | /SDK/SoT_wsp_bush_cluster_01_i_classes.hpp | 5ae5a9c1dbc7701c81c67d1ea25aec7791787fcb | [] | no_license | EO-Zanzo/SeaOfThieves-Hack | 97094307d943c2b8e2af071ba777a000cf1369c2 | d8e2a77b1553154e1d911a3e0c4e68ff1c02ee51 | refs/heads/master | 2020-04-02T14:18:24.844616 | 2018-10-24T15:02:43 | 2018-10-24T15:02:43 | 154,519,316 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,022 | hpp | #pragma once
// Sea of Thieves (1.2.6) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_wsp_bush_cluster_01_i_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass wsp_bush_cluster_01_i.wsp_bush_cluster_01_i_C
// 0x0038 (0x0508 - 0x04D0)
class Awsp_bush_cluster_01_i_C : public ABP_Placement_HeightDrop_C
{
public:
class UStaticMeshComponent* StaticMeshComponent05; // 0x04D0(0x0008) (BlueprintVisible, ZeroConstructor, IsPlainOldData)
class UStaticMeshComponent* StaticMeshComponent04; // 0x04D8(0x0008) (BlueprintVisible, ZeroConstructor, IsPlainOldData)
class UStaticMeshComponent* StaticMeshComponent03; // 0x04E0(0x0008) (BlueprintVisible, ZeroConstructor, IsPlainOldData)
class UStaticMeshComponent* StaticMeshComponent02; // 0x04E8(0x0008) (BlueprintVisible, ZeroConstructor, IsPlainOldData)
class UStaticMeshComponent* StaticMeshComponent01; // 0x04F0(0x0008) (BlueprintVisible, ZeroConstructor, IsPlainOldData)
class UStaticMeshComponent* StaticMeshComponent0; // 0x04F8(0x0008) (BlueprintVisible, ZeroConstructor, IsPlainOldData)
class USceneComponent* SharedRoot; // 0x0500(0x0008) (BlueprintVisible, ZeroConstructor, IsPlainOldData)
static UClass* StaticClass()
{
static auto ptr = UObject::FindObject<UClass>("BlueprintGeneratedClass wsp_bush_cluster_01_i.wsp_bush_cluster_01_i_C");
return ptr;
}
void UserConstructionScript();
};
}
#ifdef _MSC_VER
#pragma pack(pop)
#endif
| [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
03975911a074855bd816c04548bf100d69737296 | 20966b4094bac00758cd0b8f130b4d1f2297d06f | /humanoid4.cpp | 8fe9fe33a19698e2768a264af9419c7557ae3823 | [] | no_license | myahenochs/CSCI330 | d0c81b3225b64bcaba5f1a30022e01a7d5de1f88 | e5eb66e5ca4814c75b1b72bc5f0bc838ec5d3256 | refs/heads/master | 2023-01-14T10:40:12.303921 | 2020-11-25T00:19:27 | 2020-11-25T00:19:27 | 253,334,270 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,280 | cpp | #include "humanoid4.h"
//Static Data =============================================================================
const int Humanoid::NUM_SK;
const string Humanoid::INIT_SK[VocRules::END_VOCTYPE][Humanoid::NUM_SK] = {
/*NNE*/ {"", "", ""},
/*BBN*/ {"CLIMB", "LISTEN", "SWIM"},
/*CLR*/ {"HEAL", "USE MAGIC DEVICES", ""},
/*FTR*/ {"INTIMIDATE", "SWIM", ""},
/*ROG*/ {"BLUFF", "CLIMB", "HIDE"},
/*WIZ*/ {"CONCENTRATION", "HIDE", "USE MAGIC DEVICES"}
};
const int Humanoid::INIT_SK_NUM[VocRules::END_VOCTYPE] = {0, 3, 2, 2, 3, 3};
//Constructors and Destructor =============================================================
Humanoid::Humanoid(std::string newName, VocRules::VocType newVoc, const AbilityArray adj): PlayerClass(newName, adj, true), voc(InitVoc(newVoc)), level(0), exp(0), PACK(new PackClass(25+(AbilityMod(STR)*5))){
InitSkills();
Promote();
}
Humanoid::Humanoid(const Humanoid &h): PlayerClass(h), PACK(new PackClass(h.PACK->MaxWt())){
CopyHumanoid(h);
}
Humanoid::~Humanoid(){
Deallocate();
}
//Public ==================================================================================
void Humanoid::Write(ostream &out) const{
out << VocStr() << '#';
out << Level() << '#';
out << XP() << '#';
PlayerClass::Write(out);
out << "\t(";
PACK->Write(out);
out << ')' << '#';
out << endl;
}
void Humanoid::CopyHumanoid(const Humanoid &h){
*PACK = *h.PACK;
voc = h.voc;
level = h.level;
exp = h.exp;
}
bool Humanoid::IsMyFriend(const PlayerClass *p) const{
const Humanoid *h = dynamic_cast<const Humanoid *>(p);
return h != NULL;
}
VocRules::VocType Humanoid::Voc() const{
return voc;
}
string Humanoid::VocStr() const{
return VocRules::VocToStr(voc);
}
int Humanoid::Level() const{
return level;
}
long Humanoid::XP() const{
return exp;
}
vector<string> Humanoid::Pack() const{
return PACK->PackInventory();
}
Weapon* Humanoid::FindWeapon(Weapon *wpn){
Weapon *rtnWpn = wpn;
if(wpn){
if(IsActive()){
rtnWpn = PlayerClass::FindWeapon(wpn);
if (rtnWpn && PACK->AddWeapon(rtnWpn)){
rtnWpn = NULL;
}
}
}
else{
throw INVALID_WPN;
}
return rtnWpn;
}
Weapon* Humanoid::ChangeWeapon(string wpn){
Weapon *rtnWpn = NULL;
if(IsActive()){
if(PACK->InPack(wpn)){
rtnWpn = PACK->RemoveWeapon(wpn);
rtnWpn = FindWeapon(rtnWpn);
}
}
return rtnWpn;
}
long Humanoid::UpdateXP(long mod){
if (mod > 0 && level != VocRules::LEVEL_MAX && !IsDead() && !IsDisabled()){
exp += mod;
VocRules *vocptr = VocRules::GetVocRules();
while (exp >= vocptr->XPforPromotion(level+1) && level < VocRules::LEVEL_MAX){
Promote();
}
}
return exp;
}
int Humanoid::RollAttack() const{
VocRules *vocRules = VocRules::GetVocRules();
int base = 0, mod = 0, roll = 0;
if(IsActive()){
roll = Roll(ATT);
base = vocRules->BaseAttackBonus(voc, level);
if(HasWeapon() && IsRangeWeapon()){
mod = AbilityMod(DEX);
}
else{
mod = AbilityMod(STR);
}
}
return base + mod + roll;
}
int Humanoid::RollSavingThrow(SavingThrowType type) const{
VocRules *vocRules = VocRules::GetVocRules();
int roll = 0, sThrow = 0, mod = 0;
if(IsActive()){
if(type < FORT || type >= END_SAVINGTHROWTYPE){
throw INVALID_SAVINGTHROW;
}
roll = Dice::Roll(Name(), SVTH, 1, 20);
sThrow = vocRules->BaseSaveBonus(voc, level, type);
switch(type){
case FORT: mod = AbilityMod(CON);
break;
case REFLEX: mod = AbilityMod(DEX);
break;
case WILL: mod = AbilityMod(WIS);
}
}
return sThrow + mod + roll;
}
Humanoid& Humanoid::operator=(const Humanoid &h){
if(this != &h){
PlayerClass::operator=(h);
PACK->EmptyPack();
CopyHumanoid(h);
}
}
//Protected ===============================================================================
int Humanoid::RollHitDice() const{
VocRules *vocRules = VocRules::GetVocRules();
return vocRules->HitDie(voc);
}
//Private =================================================================================
int Humanoid::AttackBonus() const{
}
VocRules::VocType Humanoid::InitVoc(VocRules::VocType newVoc) const{
if(newVoc > 0 && newVoc < VocRules::END_VOCTYPE){
return newVoc;
}
else{
throw INVALID_VOC;
}
}
void Humanoid::InitSkills(){
for(int i = 0; i < INIT_SK_NUM[voc]; ++i){
AddSkill(INIT_SK[voc][i]);
}
}
void Humanoid::Promote(){
VocRules *vocptr = VocRules::GetVocRules();
int hitDie = vocptr->HitDie(voc);
int hp = Roll(1, hitDie, GameSpace::HP) + AbilityMod(CON);
if(hp <= 0){
hp = 1;
}
if(level == 0){
OverwriteMaxHP(hp);
}
else{
UpdateMaxHP(hp);
}
level++;
}
void Humanoid::Deallocate(){
if(PACK){
delete PACK;
}
} | [
"noreply@github.com"
] | myahenochs.noreply@github.com |
9ae185502a68ad0c9d1bb9cb354426a75dd977c7 | 1ae7e3c269e0bd2df0bc725a33f307971816d40d | /app/src/main/cpp/boost/range/detail/collection_traits_detail.hpp | 205900f949f5051fee6bf38323604ba2378f65e9 | [] | no_license | HOTFIGHTER/XmLogger | 347902372bf2afc88cf26d2342434c1ea556201f | 433a0420c99a883bd65e99fd5f04ac353ac6d7b6 | refs/heads/master | 2021-02-18T08:46:12.122640 | 2020-03-05T14:16:39 | 2020-03-05T14:16:39 | 245,178,943 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,659 | hpp | // Boost string_algo library collection_traits.hpp header file -----------------------//
// Copyright Pavol Droba 2002-2003. Use, modification and
// distribution is subject to 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 for updates, documentation, and revision history.
#ifndef BOOST_RANGE_STRING_DETAIL_COLLECTION_TRAITS_HPP
#define BOOST_RANGE_STRING_DETAIL_COLLECTION_TRAITS_HPP
#include <cstddef>
#include <string>
#include <boost/type_traits/is_array.hpp>
#include <boost/type_traits/is_pointer.hpp>
#include <boost/type_traits/is_const.hpp>
#include <boost/type_traits/is_convertible.hpp>
#include <boost/type_traits/remove_pointer.hpp>
#include <boost/type_traits/remove_cv.hpp>
#include <boost/mpl/eval_if.hpp>
#include <boost/mpl/identity.hpp>
#include <boost/mpl/vector.hpp>
#include <boost/mpl/fold.hpp>
#include <boost/detail/iterator.hpp>
// Container traits implementation ---------------------------------------------------------
namespace mars_boost {}
namespace boost = mars_boost;
namespace mars_boost {
namespace algorithm {
namespace detail {
// Default collection traits -----------------------------------------------------------------
// Default collection helper
/*
Wraps std::container compliant containers
*/
template<typename ContainerT>
struct default_container_traits {
typedef typename ContainerT::value_type value_type;
typedef typename ContainerT::iterator iterator;
typedef typename ContainerT::const_iterator const_iterator;
typedef typename
::boost::mpl::if_<::boost::is_const<ContainerT>,
const_iterator,
iterator
>::type result_iterator;
typedef typename ContainerT::difference_type difference_type;
typedef typename ContainerT::size_type size_type;
// static operations
template<typename C>
static size_type size(const C &c) {
return c.size();
}
template<typename C>
static bool empty(const C &c) {
return c.empty();
}
#ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
template<typename C>
static iterator begin(C &c) {
return c.begin();
}
template<typename C>
static const_iterator begin(const C &c) {
return c.begin();
}
template<typename C>
static iterator end(C &c) {
return c.end();
}
template<typename C>
static const_iterator end(const C &c) {
return c.end();
}
#else // BOOST_NO_FUNCTION_TEMPLATE_ORDERING
template< typename C >
static result_iterator begin( C& c )
{
return c.begin();
}
template< typename C >
static result_iterator end( C& c )
{
return c.end();
}
#endif // BOOST_NO_FUNCTION_TEMPLATE_ORDERING
};
template<typename T>
struct default_container_traits_selector {
typedef default_container_traits<T> type;
};
// Pair container traits ---------------------------------------------------------------------
typedef double yes_type;
typedef char no_type;
// pair selector
template<typename T, typename U>
yes_type is_pair_impl(const std::pair <T, U> *);
no_type is_pair_impl(...);
template<typename T>
struct is_pair {
private:
static T *t;
public:
BOOST_STATIC_CONSTANT(bool, value=
sizeof(is_pair_impl(t)) == sizeof(yes_type));
};
// pair helper
template<typename PairT>
struct pair_container_traits {
typedef typename PairT::first_type element_type;
typedef typename ::boost::detail::
iterator_traits<element_type>::value_type value_type;
typedef std::size_t size_type;
typedef typename ::boost::detail::
iterator_traits<element_type>::difference_type difference_type;
typedef element_type iterator;
typedef element_type const_iterator;
typedef element_type result_iterator;
// static operations
template<typename P>
static size_type size(const P &p) {
difference_type diff = std::distance(p.first, p.second);
if (diff < 0)
return 0;
else
return diff;
}
template<typename P>
static bool empty(const P &p) {
return p.first == p.second;
}
template<typename P>
static const_iterator begin(const P &p) {
return p.first;
}
template<typename P>
static const_iterator end(const P &p) {
return p.second;
}
}; // 'pair_container_helper'
template<typename T>
struct pair_container_traits_selector {
typedef pair_container_traits<T> type;
};
// Array container traits ---------------------------------------------------------------
// array traits ( partial specialization )
template<typename T>
struct array_traits;
template<typename T, std::size_t sz>
struct array_traits<T[sz]> {
// typedef
typedef T *iterator;
typedef const T *const_iterator;
typedef T value_type;
typedef std::size_t size_type;
typedef std::ptrdiff_t difference_type;
// size of the array ( static );
BOOST_STATIC_CONSTANT( size_type, array_size = sz );
};
// array length resolving
/*
Lenght of string contained in a static array could
be different from the size of the array.
For string processing we need the length without
terminating 0.
Therefore, the length is calculated for char and wchar_t
using char_traits, rather then simply returning
the array size.
*/
template<typename T>
struct array_length_selector {
template<typename TraitsT>
struct array_length {
typedef typename
TraitsT::size_type size_type;
BOOST_STATIC_CONSTANT(
size_type,
array_size = TraitsT::array_size
);
template<typename A>
static size_type length(const A &) {
return array_size;
}
template<typename A>
static bool empty(const A &) {
return array_size == 0;
}
};
};
// specialization for char
template<>
struct array_length_selector<char> {
template<typename TraitsT>
struct array_length {
typedef typename
TraitsT::size_type size_type;
template<typename A>
static size_type length(const A &a) {
if (a == 0)
return 0;
else
return std::char_traits<char>::length(a);
}
template<typename A>
static bool empty(const A &a) {
return a == 0 || a[0] == 0;
}
};
};
// specialization for wchar_t
template<>
struct array_length_selector<wchar_t> {
template<typename TraitsT>
struct array_length {
typedef typename
TraitsT::size_type size_type;
template<typename A>
static size_type length(const A &a) {
if (a == 0)
return 0;
else
return std::char_traits<wchar_t>::length(a);
}
template<typename A>
static bool empty(const A &a) {
return a == 0 || a[0] == 0;
}
};
};
template<typename T>
struct array_container_traits {
private:
// resolve array traits
typedef array_traits<T> traits_type;
public:
typedef typename
traits_type::value_type value_type;
typedef typename
traits_type::iterator iterator;
typedef typename
traits_type::const_iterator const_iterator;
typedef typename
traits_type::size_type size_type;
typedef typename
traits_type::difference_type difference_type;
typedef typename
::boost::mpl::if_<::boost::is_const<T>,
const_iterator,
iterator
>::type result_iterator;
private:
// resolve array size
typedef typename
::boost::remove_cv<value_type>::type char_type;
typedef typename
array_length_selector<char_type>::
BOOST_NESTED_TEMPLATE array_length
<traits_type> array_length_type;
public:
BOOST_STATIC_CONSTANT( size_type, array_size = traits_type::array_size
);
// static operations
template<typename A>
static size_type size(const A &a) {
return array_length_type::length(a);
}
template<typename A>
static bool empty(const A &a) {
return array_length_type::empty(a);
}
#ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
template<typename A>
static iterator begin(A &a) {
return a;
}
template<typename A>
static const_iterator begin(const A &a) {
return a;
}
template<typename A>
static iterator end(A &a) {
return a + array_length_type::length(a);
}
template<typename A>
static const_iterator end(const A &a) {
return a + array_length_type::length(a);
}
#else // BOOST_NO_FUNCTION_TEMPLATE_ORDERING
template< typename A >
static result_iterator begin( A& a )
{
return a;
}
template< typename A >
static result_iterator end( A& a )
{
return a+array_length_type::length(a);
}
#endif // BOOST_NO_FUNCTION_TEMPLATE_ORDERING
};
template<typename T>
struct array_container_traits_selector {
typedef array_container_traits<T> type;
};
// Pointer container traits ---------------------------------------------------------------
template<typename T>
struct pointer_container_traits {
typedef typename
::boost::remove_pointer<T>::type value_type;
typedef typename
::boost::remove_cv<value_type>::type char_type;
typedef ::std::char_traits <char_type> char_traits;
typedef value_type *iterator;
typedef const value_type *const_iterator;
typedef std::ptrdiff_t difference_type;
typedef std::size_t size_type;
typedef typename
::boost::mpl::if_<::boost::is_const<T>,
const_iterator,
iterator
>::type result_iterator;
// static operations
template<typename P>
static size_type size(const P &p) {
if (p == 0)
return 0;
else
return char_traits::length(p);
}
template<typename P>
static bool empty(const P &p) {
return p == 0 || p[0] == 0;
}
#ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
template<typename P>
static iterator begin(P &p) {
return p;
}
template<typename P>
static const_iterator begin(const P &p) {
return p;
}
template<typename P>
static iterator end(P &p) {
if (p == 0)
return p;
else
return p + char_traits::length(p);
}
template<typename P>
static const_iterator end(const P &p) {
if (p == 0)
return p;
else
return p + char_traits::length(p);
}
#else // BOOST_NO_FUNCTION_TEMPLATE_ORDERING
template< typename P >
static result_iterator begin( P& p )
{
return p;
}
template< typename P >
static result_iterator end( P& p )
{
if ( p==0 )
return p;
else
return p+char_traits::length(p);
}
#endif // BOOST_NO_FUNCTION_TEMPLATE_ORDERING
};
template<typename T>
struct pointer_container_traits_selector {
typedef pointer_container_traits<T> type;
};
} // namespace detail
} // namespace algorithm
} // namespace mars_boost {} namespace boost = mars_boost; namespace mars_boost
#endif // BOOST_STRING_DETAIL_COLLECTION_HPP
| [
"linfeng.yu@ximalaya.com"
] | linfeng.yu@ximalaya.com |
c0784972b52ad349bd27de72630674122de2e8d1 | f933510c49a49bd8ebc821269f8fca178f1128b4 | /partition.cpp | d957f1b911e811c80bdc5383f568ba72224c9043 | [] | no_license | FedeMangiaterra/Taller-de-Programacion-I-tp2 | f63aac6af695c5e45ed7bb719c2ac1e549ecc90c | 6ce5bbf1798f708d542469cb18361771a30231f8 | refs/heads/main | 2023-08-21T13:47:52.382633 | 2021-10-22T04:16:59 | 2021-10-22T04:16:59 | 415,041,708 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,770 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <arpa/inet.h>
#include <vector>
#include "command.h"
#include "file.h"
#include "partition.h"
Partition::Partition(int rows, int columns, int starting_row,
size_t size, std::vector<u_int16_t> data)
: rows(rows),
columns(columns),
starting_row(starting_row),
size(size),
data() {
size_t i;
for (i = 0; i < size; i++) {
uint16_t num = htons(data[i]);
this->data.push_back(num);
}
}
u_int16_t Partition::get_max(int start, int finish,
int current_row, int column) {
uint16_t max = 0;
size_t i;
for (i = column;
i < this->size && current_row < finish;
i += this->columns, current_row++) {
if (current_row >= start && this->data[i] > max) {
max = this->data[i];
}
}
return max;
}
u_int16_t Partition::get_min(int start, int finish,
int current_row, int column) {
u_int16_t min = 65535;
size_t i;
for (i = column;
i < this->size && current_row < finish;
i += this->columns, current_row++) {
if (current_row >= start && this->data[i] < min) {
min = this->data[i];
}
}
return min;
}
u_int16_t Partition::sum(int start, int finish, int current_row, int column) {
u_int16_t sum = 0;
size_t i;
for (i = column;
i < this->size && current_row < finish;
i += this->columns, current_row++) {
if (current_row >= start) {
sum += this->data[i];
}
}
return sum;
}
Partition::~Partition() {}
| [
"noreply@github.com"
] | FedeMangiaterra.noreply@github.com |
7b3034c2742ff8757e3e997e3d91dbe487bbaf7e | 922d5487bc18dd4d044d41d6b81cd14eb952c591 | /install/include/gazebo_msgs/JointRequestRequest.h | b6ee671d7a1eb89d6530b2f199a649eb7b554be9 | [] | no_license | hanbincho/ros_ws | 21b747f115cee85a3b8a578028ac44e069721c31 | d92feebd845a69bb8535e8c48592caf2b94d6497 | refs/heads/master | 2020-04-02T15:45:16.395227 | 2018-11-07T04:09:07 | 2018-11-07T04:09:07 | 149,820,985 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,644 | h | // Generated by gencpp from file gazebo_msgs/JointRequestRequest.msg
// DO NOT EDIT!
#ifndef GAZEBO_MSGS_MESSAGE_JOINTREQUESTREQUEST_H
#define GAZEBO_MSGS_MESSAGE_JOINTREQUESTREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
namespace gazebo_msgs
{
template <class ContainerAllocator>
struct JointRequestRequest_
{
typedef JointRequestRequest_<ContainerAllocator> Type;
JointRequestRequest_()
: joint_name() {
}
JointRequestRequest_(const ContainerAllocator& _alloc)
: joint_name(_alloc) {
(void)_alloc;
}
typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _joint_name_type;
_joint_name_type joint_name;
typedef boost::shared_ptr< ::gazebo_msgs::JointRequestRequest_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::gazebo_msgs::JointRequestRequest_<ContainerAllocator> const> ConstPtr;
}; // struct JointRequestRequest_
typedef ::gazebo_msgs::JointRequestRequest_<std::allocator<void> > JointRequestRequest;
typedef boost::shared_ptr< ::gazebo_msgs::JointRequestRequest > JointRequestRequestPtr;
typedef boost::shared_ptr< ::gazebo_msgs::JointRequestRequest const> JointRequestRequestConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::gazebo_msgs::JointRequestRequest_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::gazebo_msgs::JointRequestRequest_<ContainerAllocator> >::stream(s, "", v);
return s;
}
} // namespace gazebo_msgs
namespace ros
{
namespace message_traits
{
// BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False}
// {'sensor_msgs': ['/opt/ros/kinetic/share/sensor_msgs/cmake/../msg'], 'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'trajectory_msgs': ['/opt/ros/kinetic/share/trajectory_msgs/cmake/../msg'], 'gazebo_msgs': ['/home/hanbin/ros_ws/src/learning_ros_external_pkgs_kinetic/gazebo_ros_pkgs/gazebo_msgs/msg'], 'geometry_msgs': ['/opt/ros/kinetic/share/geometry_msgs/cmake/../msg']}
// !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']
template <class ContainerAllocator>
struct IsFixedSize< ::gazebo_msgs::JointRequestRequest_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::gazebo_msgs::JointRequestRequest_<ContainerAllocator> const>
: FalseType
{ };
template <class ContainerAllocator>
struct IsMessage< ::gazebo_msgs::JointRequestRequest_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::gazebo_msgs::JointRequestRequest_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::gazebo_msgs::JointRequestRequest_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::gazebo_msgs::JointRequestRequest_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::gazebo_msgs::JointRequestRequest_<ContainerAllocator> >
{
static const char* value()
{
return "0be1351618e1dc030eb7959d9a4902de";
}
static const char* value(const ::gazebo_msgs::JointRequestRequest_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x0be1351618e1dc03ULL;
static const uint64_t static_value2 = 0x0eb7959d9a4902deULL;
};
template<class ContainerAllocator>
struct DataType< ::gazebo_msgs::JointRequestRequest_<ContainerAllocator> >
{
static const char* value()
{
return "gazebo_msgs/JointRequestRequest";
}
static const char* value(const ::gazebo_msgs::JointRequestRequest_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::gazebo_msgs::JointRequestRequest_<ContainerAllocator> >
{
static const char* value()
{
return "string joint_name\n\
";
}
static const char* value(const ::gazebo_msgs::JointRequestRequest_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::gazebo_msgs::JointRequestRequest_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.joint_name);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct JointRequestRequest_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::gazebo_msgs::JointRequestRequest_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::gazebo_msgs::JointRequestRequest_<ContainerAllocator>& v)
{
s << indent << "joint_name: ";
Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.joint_name);
}
};
} // namespace message_operations
} // namespace ros
#endif // GAZEBO_MSGS_MESSAGE_JOINTREQUESTREQUEST_H
| [
"hxc431@case.edu"
] | hxc431@case.edu |
89a8584c39a5d71bbe608ce3eb8c540d7dfb6f4b | 481ac39fbfbb2fbb4196ef76225f801ef9a6bdca | /2016/day13/day13.cpp | 537403048ceb988ed87505e7f41eb7106a3c8156 | [] | no_license | sparky8342/adventofcode | 8e0b571796ff96847dfc9c77f3f7facc446355d2 | fb7d556b1be5186d3870222a1ae36a1e2abec27c | refs/heads/master | 2023-02-09T18:43:51.535147 | 2023-01-27T10:23:52 | 2023-01-27T10:23:52 | 159,891,499 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,704 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <queue>
#include <set>
using namespace std;
#define INPUT_NO 1358
#define TARGET_X 31
#define TARGET_Y 39
struct Space {
int x;
int y;
int depth;
string serial() {
return to_string(x) + "_" + to_string(y);
}
};
struct Move {
int dx;
int dy;
};
bool is_open(int x, int y) {
if (x < 0 || y < 0) {
return false;
}
int n = (x*x + 3*x + 2*x*y + y + y*y) + INPUT_NO;
int count = 0;
while (n) {
n &= (n - 1);
count++;
}
return count % 2 == 0;
}
vector<Space> get_neighbours(Space space) {
const vector<Move> moves = {
Move{ .dx = -1, .dy = 0 },
Move{ .dx = 1, .dy = 0 },
Move{ .dx = 0, .dy = -1 },
Move{ .dx = 0, .dy = 1 }
};
vector<Space> neighbours;
for (auto move : moves) {
Space neighbour = Space{ .x = space.x + move.dx, .y = space.y + move.dy, .depth = space.depth + 1 };
if (is_open(neighbour.x, neighbour.y)) {
neighbours.push_back(neighbour);
}
}
return neighbours;
}
int main() {
queue <Space> spaces;
spaces.push(Space{ .x = 1, .y = 1, .depth = 0 });
set <string> visited;
int within_fifty = 0;
while (spaces.size() > 0) {
Space space = spaces.front();
spaces.pop();
if (space.x == TARGET_X && space.y == TARGET_Y) {
cout << space.depth << endl << within_fifty << endl;
break;
}
string serial = space.serial();
if (visited.count(serial) == 1) {
continue;
}
visited.insert(serial);
if (space.depth <= 50) {
within_fifty++;
}
vector<Space> neighbours = get_neighbours(space);
for (auto neighbour : neighbours) {
if (visited.count(neighbour.serial()) == 0) {
spaces.push(neighbour);
}
}
}
return 0;
}
| [
"david.bell@gmail.com"
] | david.bell@gmail.com |
d22bc16f12935e648a34756ef7840ce2d92a6155 | 3b99a2b8879fe7d7586ff8cabddeff0648f88edb | /arduino/nema17_armShoulder_slave/nema17_armShoulder_slave.ino | 9b2c030eb53696c54c3c3739a883fe8ac7169983 | [
"MIT"
] | permissive | AJMartel/Sylvie-2021 | 138e372667cb1e87b5d73d91c587038275e6e76e | d6a063517c72ed72a2b989fe11d73c181a6caf95 | refs/heads/master | 2022-11-24T10:05:28.498065 | 2020-08-09T10:11:30 | 2020-08-09T10:11:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,371 | ino | // Slave code for Sylvie 2021 Neck X axis using Arduino Nano/Mini
// This 2 pin code is configured for use with a Nema 23 Bipolar 1.8deg 1.16Nm (164.3oz.in) 1.5A 5.4V 57x57x56mm 4 Wires
#include <AccelStepper.h>
#include <Wire.h>
//int i2cMessage = 0;
int i2cAddress = 0x20;
// Stepper motor config
int microstepRes = 4;
int stepperSpeed = 2400 * microstepRes; //maximum steps per second
int motorAccel = 800 * microstepRes; //steps/second/second to accelerate
int gearReduction = 53.6;
int stepsPerRev = 100; // e.g. one full revolution is 200 at 1.8deg. 100 for half. 50 for quarter.. etc.
//int resetPin = 5;
//int m2Pin = 6;
//int m1Pin = 7;
//int m0Pin = 8;
int enablePin = 4; // Turn motor driver on/off (can save power when motor is idle)
//set up the accelStepper intance
//the "1" tells it we are using a driver (DRV8825 or other)
AccelStepper stepper_one(1, 3, 2);//Step, Dir
void setup(){
Wire.begin(i2cAddress);
Wire.onReceive(receiveEvent);
stepper_one.setMaxSpeed(stepperSpeed);
stepper_one.setSpeed(stepperSpeed);
stepper_one.setAcceleration(motorAccel);
//digitalWrite(m2Pin, LOW);
//digitalWrite(m1Pin, LOW);
//digitalWrite(m0Pin, HIGH);
//digitalWrite(resetPin, HIGH);
}
int stepperState = 0;
void receiveEvent(int bytes) {
stepperState = Wire.read(); // read one character from the I2C
}
void loop(){
digitalWrite(enablePin, HIGH);
if(stepperState > 0) {
if(stepperState == 50){
stepper_one.move(10 * 53.6 * microstepRes); //Move X times revolutions, according to gear reduction ratio.
stepperState = 0;
}
else if(stepperState == 51){
stepper_one.move(-10 * 53.6 * microstepRes);
stepperState = 0;
}
else if(stepperState == 52){
stepper_one.move(25 * 53.6 * microstepRes);
stepperState = 0;
}
else if(stepperState == 53){
stepper_one.move(-25 * 53.6 * microstepRes);
stepperState = 0;
}
else if(stepperState == 54){
stepper_one.move(25 * 53.6 * microstepRes);
stepperState = 0;
}
else if(stepperState == 55){
stepper_one.move(-25 * 53.6 * microstepRes);
stepperState = 0;
}
}
while (stepper_one.distanceToGo() != 0) {
digitalWrite(enablePin, LOW);
stepper_one.run();
}
}
| [
"denisefrom2018@gmail.com"
] | denisefrom2018@gmail.com |
57f541f6f06e5bb6cafb4236e1d44eb233c4f392 | c9e32374ecc46eac59437a068d424e6eb28ca849 | /xju/stdio.cc | a1e9d7f636c8681cb2181ecd952ad7393acf3907 | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | urnest/urnest | 261884b2ee71d64748c9e2afe7e78c9df61d91e7 | 6ec484080222f27a33070fa3b65593645f94a575 | refs/heads/master | 2023-07-13T06:16:41.566253 | 2023-07-06T11:04:34 | 2023-07-06T11:04:34 | 6,716,252 | 1 | 1 | MIT | 2023-06-11T03:06:14 | 2012-11-16T04:12:22 | C++ | UTF-8 | C++ | false | false | 1,424 | cc | // -*- mode: c++ ; c-file-style: "osse" ; -*-
//
// Copyright (c) 2003
// Trevor Taylor
//
// Permission to use, copy, modify, distribute and sell this software
// and its documentation for any purpose is hereby granted without fee,
// provided that the above copyright notice appear in all.
// Trevor Taylor makes no representations about the suitability of this
// software for any purpose. It is provided "as is" without express or
// implied warranty.
//
#include <xju/stdio.hh>
#ifdef __MINGW32__
#include <unistd.h>
#endif
namespace xju
{
#ifdef __MINGW32__
namespace detail
{
//
// On windows, rename fails with errno = 17 if the "to" file
// exists (on Unix "to" is replaced).
//
// REVISIT: this implementation does not meet rename's atomicity
// guarentees.
//
int rename_(const char* from, const char* to) noexcept
{
int status(::rename(from, to));
if (status == -1 &&
(errno == EEXIST || errno == EACCES))
{
int ss(::unlink(to));
status = ::rename(from, to);
}
if (status != 0)
{
return -1;
}
return status;
}
}
const SyscallF2<int, const char*, const char*> rename(
"rename",
detail::rename_);
#else
const SyscallF2<int, const char*, const char*> rename={
"rename",
::rename};
#endif
}
| [
"urnest@onthenet.com.au"
] | urnest@onthenet.com.au |
966f48ab1651b464f985b452c38d998d66bef295 | cebd786b7b893700d526bc9b5b001bc326043c9a | /BST/3_Min Element in BST.cpp | d9d8db9002736d9f3362df775ff33f6c6820c319 | [] | no_license | Healer-kid/CODING | 2b2ff52d05c2376cb03c4f1bf62a3b545568eff4 | 76a4b2835a9897bae41db557553b8b52c90e37a7 | refs/heads/main | 2023-07-23T01:24:32.316712 | 2021-08-27T08:07:03 | 2021-08-27T08:07:03 | 349,797,195 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 895 | cpp | Minimum element in BST
Basic Accuracy: 62.66% Submissions: 52660 Points: 1
Given a Binary Search Tree. The task is to find the minimum element in this given BST.
Example 1:
Input:
5
/ \
4 6
/ \
3 7
/
1
Output: 1
Example 2:
Input:
9
\
10
\
11
Output: 9
Your Task:
The task is to complete the function minValue()
which takes root as the argument and returns the minimum element of BST. If the tree is empty, there is no minimum elemnt, so retutn -1 in that case
int minValue(Node* root)
{
// Code here
if(root==NULL)
return -1;
if(root->left==NULL)
return root->data;
if(root->left==NULL and root->right==NULL)
return root->data;
return minValue(root->left);
} | [
"noreply@github.com"
] | Healer-kid.noreply@github.com |
215d9e7937e523c0ddbb4bea3492ccf3e2ae74b6 | e5edb7d63fb5700ca2228780bbb9cae7aec3f93a | /src/libalgo/source/exceptions/ErrorMathOverflow.h | 8d42c73309657647ef53792fe72cf1ddc8f0461c | [] | no_license | moravianlibrary/libalgo | 14e5660447de0a2f627541194625e762adf0a157 | d32946f5a4bf5103225a3b8808e21ecae34bbef0 | refs/heads/master | 2020-12-11T05:56:08.283005 | 2015-07-01T20:53:13 | 2015-07-09T06:39:00 | 25,161,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,734 | h | // Description: Math overflow error class
// Copyright (c) 2010 - 2013
// Tomas Bayer
// Charles University in Prague, Faculty of Science
// bayertom@natur.cuni.cz
// 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 3 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, see <http://www.gnu.org/licenses/>.
#ifndef ErrorMathOverflow_H
#define ErrorMathOverflow_H
#include <iostream>
#include "ErrorMath.h"
//Math error: overflow
template <typename T>
class ErrorMathOverflow : public ErrorMath <T>
{
protected:
T arg;
public:
ErrorMathOverflow ( const char * exception_text_, const char * function_text_ , const T &arg_ ) :
ErrorMath <T> ( exception_text_, function_text_ ), arg ( arg_ ) {}
public:
virtual ~ErrorMathOverflow() throw() {};
virtual void printException ( std::ostream * output = &std::cout ) const
{
ErrorMath <T>::printException ( output );
*output << arg;
}
virtual T getArg() const {return arg;}
virtual short getErrorCode() const { return 16;}
};
#endif
| [
"bayertom@natur.cuni.cz"
] | bayertom@natur.cuni.cz |
4ff9a3d05546e37760d4d02d1874d190c59200de | b46e8ddbca0baf0cd32b2e6f630a1a64a2e6792f | /hphp/runtime/vm/unit-emitter.h | 362ce80566d38bfe6fecd196316eb19101bc84c3 | [
"BSD-3-Clause",
"PHP-3.01",
"Zend-2.0"
] | permissive | tgsergeant/hhvm | 6b106ff9a122987e2d94d22df489bdbae2a5c1a0 | f4b9fe963745012b55eab3e72710b637c277a06c | refs/heads/master | 2020-12-28T20:31:29.816937 | 2014-07-23T05:13:34 | 2014-07-23T05:30:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,615 | h | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2014 Facebook, Inc. (http://www.facebook.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#ifndef incl_HPHP_VM_UNIT_EMITTER_H_
#define incl_HPHP_VM_UNIT_EMITTER_H_
#include "hphp/runtime/vm/unit.h"
#include "hphp/util/md5.h"
namespace HPHP {
///////////////////////////////////////////////////////////////////////////////
struct UnitEmitter {
friend class UnitRepoProxy;
/////////////////////////////////////////////////////////////////////////////
// Constructor and destructor.
explicit UnitEmitter(const MD5& md5);
~UnitEmitter();
bool isASystemLib() const {
static const char systemlib_prefix[] = "/:systemlib";
return !strncmp(getFilepath()->data(),
systemlib_prefix,
sizeof systemlib_prefix - 1);
}
void addTrivialPseudoMain();
int repoId() const { return m_repoId; }
void setRepoId(int repoId) { m_repoId = repoId; }
int64_t sn() const { return m_sn; }
void setSn(int64_t sn) { m_sn = sn; }
const unsigned char* bc() const { return m_bc; }
Offset bcPos() const { return (Offset)m_bclen; }
void setBc(const unsigned char* bc, size_t bclen);
const StringData* getFilepath() const { return m_filepath; }
void setFilepath(const StringData* filepath) { m_filepath = filepath; }
void setMainReturn(const TypedValue* v) { m_mainReturn = *v; }
void setMergeOnly(bool b) { m_mergeOnly = b; }
const MD5& md5() const { return m_md5; }
Id addTypeAlias(const TypeAlias& td);
Id mergeLitstr(const StringData* litstr);
Id mergeUnitLitstr(const StringData* litstr);
Id mergeArray(const ArrayData* a);
Id mergeArray(const ArrayData* a, const std::string& key);
const StringData* lookupLitstr(Id id) const;
const ArrayData* lookupArray(Id id) const;
FuncEmitter* getMain();
void initMain(int line1, int line2);
FuncEmitter* newFuncEmitter(const StringData* n);
void appendTopEmitter(FuncEmitter* func);
FuncEmitter* newMethodEmitter(const StringData* n, PreClassEmitter* pce);
PreClassEmitter* newPreClassEmitter(const StringData* n,
PreClass::Hoistable hoistable);
PreClassEmitter* pce(Id preClassId) { return m_pceVec[preClassId]; }
const PreClassEmitter* pce(Id preClassId) const {
return m_pceVec[preClassId];
}
size_t numPreClasses() const { return m_pceVec.size(); }
const std::vector<FuncEmitter*>& fevec() const { return m_fes; }
const std::vector<TypeAlias>& typeAliases() const { return m_typeAliases; }
/*
* Record source location information for the last chunk of bytecode
* added to this UnitEmitter. Adjacent regions associated with the
* same source line will be collapsed as this is created.
*/
void recordSourceLocation(const Location *sLoc, Offset start);
/*
* Return the SrcLocTable for this unit emitter, if it has one.
* Otherwise an empty table is returned.
*/
SourceLocTable createSourceLocTable() const;
/*
* Returns whether this unit emitter contains full SourceLoc
* information.
*/
bool hasSourceLocInfo() const { return !m_sourceLocTab.empty(); }
/*
* Returns access to this UnitEmitter's LineTable. Generally
* UnitEmitters loaded from a production repo will have a line table
* instead of a full SourceLocTable.
*/
const LineTable& lineTable() const { return m_lineTable; }
/*
* Adds a new FuncEmitter to the unit. You can only do this once
* for the FuncEmitter (after you are done setting it up). Also,
* all FuncEmitter's added to the unit must not overlap.
*
* Takes ownership of `fe'.
*/
void recordFunction(FuncEmitter *fe);
private:
template<class T>
void emitImpl(T n, int64_t pos) {
auto *c = (unsigned char*)&n;
if (pos == -1) {
// Make sure m_bc is large enough.
while (m_bclen + sizeof(T) > m_bcmax) {
m_bc = (unsigned char*)realloc(m_bc, m_bcmax << 1);
m_bcmax <<= 1;
}
memcpy(&m_bc[m_bclen], c, sizeof(T));
m_bclen += sizeof(T);
} else {
assert(pos + sizeof(T) <= m_bclen);
for (uint i = 0; i < sizeof(T); ++i) {
m_bc[pos + i] = c[i];
}
}
}
public:
void emitOp(Op op, int64_t pos = -1) {
emitByte((unsigned char)op, pos);
}
void emitByte(unsigned char n, int64_t pos = -1) { emitImpl(n, pos); }
void emitInt32(int n, int64_t pos = -1) { emitImpl(n, pos); }
template<typename T> void emitIVA(T n) {
if (LIKELY((n & 0x7f) == n)) {
emitByte((unsigned char)n << 1);
} else {
assert((n & 0x7fffffff) == n);
emitInt32((n << 1) | 0x1);
}
}
void emitInt64(int64_t n, int64_t pos = -1) { emitImpl(n, pos); }
void emitDouble(double n, int64_t pos = -1) { emitImpl(n, pos); }
bool insert(UnitOrigin unitOrigin, RepoTxn& txn);
void commit(UnitOrigin unitOrigin);
Func* newFunc(const FuncEmitter* fe, Unit& unit, PreClass* preClass,
int line1, int line2, Offset base, Offset past,
const StringData* name, Attr attrs, bool top,
const StringData* docComment, int numParams,
bool needsNextClonedClosure);
Unit* create();
void returnSeen() { m_returnSeen = true; }
void pushMergeableClass(PreClassEmitter* e);
void pushMergeableInclude(Unit::MergeKind kind, const StringData* unitName);
void insertMergeableInclude(int ix, Unit::MergeKind kind, Id id);
void pushMergeableDef(Unit::MergeKind kind,
const StringData* name, const TypedValue& tv);
void insertMergeableDef(int ix, Unit::MergeKind kind,
Id id, const TypedValue& tv);
private:
void setLines(const LineTable& lines);
/////////////////////////////////////////////////////////////////////////////
// Properties.
private:
int m_repoId;
int64_t m_sn;
static const size_t BCMaxInit = 4096; // Initial bytecode size.
size_t m_bcmax;
unsigned char* m_bc;
size_t m_bclen;
TypedValue m_mainReturn;
const StringData* m_filepath;
MD5 m_md5;
typedef hphp_hash_map<const StringData*, Id,
string_data_hash, string_data_same> LitstrMap;
LitstrMap m_litstr2id;
std::vector<const StringData*> m_litstrs;
typedef hphp_hash_map<std::string, Id, string_hash> ArrayIdMap;
ArrayIdMap m_array2id;
struct ArrayVecElm {
std::string serialized;
const ArrayData* array;
};
typedef std::vector<ArrayVecElm> ArrayVec;
ArrayVec m_arrays;
int m_nextFuncSn;
bool m_mergeOnly;
typedef std::vector<FuncEmitter*> FeVec;
FeVec m_fes;
typedef hphp_hash_map<const FuncEmitter*, const Func*,
pointer_hash<FuncEmitter> > FMap;
FMap m_fMap;
typedef std::vector<PreClassEmitter*> PceVec;
typedef std::list<Id> IdList;
PceVec m_pceVec;
typedef hphp_hash_set<const StringData*, string_data_hash,
string_data_isame> HoistedPreClassSet;
HoistedPreClassSet m_hoistablePreClassSet;
IdList m_hoistablePceIdList;
typedef std::vector<std::pair<Unit::MergeKind, Id> > MergeableStmtVec;
MergeableStmtVec m_mergeableStmts;
std::vector<std::pair<Id,TypedValue> > m_mergeableValues;
bool m_allClassesHoistable;
bool m_returnSeen;
/*
* m_sourceLocTab and m_feTab are interval maps. Each entry encodes
* an open-closed range of bytecode offsets.
*
* The m_sourceLocTab is keyed by the start of each half-open range.
* This is to allow appending new bytecode offsets that are part of
* the same range to coalesce.
*
* The m_feTab is keyed by the past-the-end offset. This is the
* format we'll want it in when we go to create a Unit.
*/
std::vector<std::pair<Offset,SourceLoc> > m_sourceLocTab;
std::vector<std::pair<Offset,const FuncEmitter*> > m_feTab;
LineTable m_lineTable;
std::vector<TypeAlias> m_typeAliases;
};
///////////////////////////////////////////////////////////////////////////////
/*
* Proxy for converting in-repo unit representations into UnitEmitters.
*/
struct UnitRepoProxy : public RepoProxy {
friend class Unit;
friend class UnitEmitter;
explicit UnitRepoProxy(Repo& repo);
~UnitRepoProxy();
void createSchema(int repoId, RepoTxn& txn);
Unit* load(const std::string& name, const MD5& md5);
std::unique_ptr<UnitEmitter> loadEmitter(const std::string& name,
const MD5& md5);
#define URP_IOP(o) URP_OP(Insert##o, insert##o)
#define URP_GOP(o) URP_OP(Get##o, get##o)
#define URP_OPS \
URP_IOP(Unit) \
URP_GOP(Unit) \
URP_IOP(UnitLitstr) \
URP_GOP(UnitLitstrs) \
URP_IOP(UnitArray) \
URP_GOP(UnitArrays) \
URP_IOP(UnitMergeable) \
URP_GOP(UnitMergeables) \
URP_IOP(UnitSourceLoc) \
URP_GOP(SourceLoc) \
URP_GOP(SourceLocTab) \
URP_GOP(SourceLocPastOffsets) \
URP_GOP(SourceLocBaseOffset) \
URP_GOP(BaseOffsetAtPCLoc) \
URP_GOP(BaseOffsetAfterPCLoc)
class InsertUnitStmt : public RepoProxy::Stmt {
public:
InsertUnitStmt(Repo& repo, int repoId) : Stmt(repo, repoId) {}
void insert(RepoTxn& txn,
int64_t& unitSn,
const MD5& md5,
const unsigned char* bc,
size_t bclen,
const TypedValue* mainReturn,
bool mergeOnly,
const LineTable& lines,
const std::vector<TypeAlias>&);
};
class GetUnitStmt : public RepoProxy::Stmt {
public:
GetUnitStmt(Repo& repo, int repoId) : Stmt(repo, repoId) {}
bool get(UnitEmitter& ue, const MD5& md5);
};
class InsertUnitLitstrStmt : public RepoProxy::Stmt {
public:
InsertUnitLitstrStmt(Repo& repo, int repoId) : Stmt(repo, repoId) {}
void insert(RepoTxn& txn, int64_t unitSn, Id litstrId,
const StringData* litstr);
};
class GetUnitLitstrsStmt : public RepoProxy::Stmt {
public:
GetUnitLitstrsStmt(Repo& repo, int repoId) : Stmt(repo, repoId) {}
void get(UnitEmitter& ue);
};
class InsertUnitArrayStmt : public RepoProxy::Stmt {
public:
InsertUnitArrayStmt(Repo& repo, int repoId) : Stmt(repo, repoId) {}
void insert(RepoTxn& txn, int64_t unitSn, Id arrayId,
const std::string& array);
};
class GetUnitArraysStmt : public RepoProxy::Stmt {
public:
GetUnitArraysStmt(Repo& repo, int repoId) : Stmt(repo, repoId) {}
void get(UnitEmitter& ue);
};
class InsertUnitMergeableStmt : public RepoProxy::Stmt {
public:
InsertUnitMergeableStmt(Repo& repo, int repoId) : Stmt(repo, repoId) {}
void insert(RepoTxn& txn, int64_t unitSn,
int ix, Unit::MergeKind kind,
Id id, TypedValue *value);
};
class GetUnitMergeablesStmt : public RepoProxy::Stmt {
public:
GetUnitMergeablesStmt(Repo& repo, int repoId) : Stmt(repo, repoId) {}
void get(UnitEmitter& ue);
};
class InsertUnitSourceLocStmt : public RepoProxy::Stmt {
public:
InsertUnitSourceLocStmt(Repo& repo, int repoId) : Stmt(repo, repoId) {}
void insert(RepoTxn& txn, int64_t unitSn, Offset pastOffset, int line0,
int char0, int line1, int char1);
};
class GetSourceLocStmt : public RepoProxy::Stmt {
public:
GetSourceLocStmt(Repo& repo, int repoId) : Stmt(repo, repoId) {}
bool get(int64_t unitSn, Offset pc, SourceLoc& sLoc);
};
class GetSourceLocTabStmt : public RepoProxy::Stmt {
public:
GetSourceLocTabStmt(Repo& repo, int repoId) : Stmt(repo, repoId) {}
bool get(int64_t unitSn, SourceLocTable& sourceLocTab);
};
class GetSourceLocPastOffsetsStmt : public RepoProxy::Stmt {
public:
GetSourceLocPastOffsetsStmt(Repo& repo, int repoId) : Stmt(repo, repoId) {}
bool get(int64_t unitSn, int line, OffsetRangeVec& ranges);
};
class GetSourceLocBaseOffsetStmt : public RepoProxy::Stmt {
public:
GetSourceLocBaseOffsetStmt(Repo& repo, int repoId) : Stmt(repo, repoId) {}
bool get(int64_t unitSn, OffsetRange& range);
};
class GetBaseOffsetAtPCLocStmt : public RepoProxy::Stmt {
public:
GetBaseOffsetAtPCLocStmt(Repo& repo, int repoId) : Stmt(repo, repoId) {}
bool get(int64_t unitSn, Offset pc, Offset& offset);
};
class GetBaseOffsetAfterPCLocStmt : public RepoProxy::Stmt {
public:
GetBaseOffsetAfterPCLocStmt(Repo& repo, int repoId) : Stmt(repo, repoId) {}
bool get(int64_t unitSn, Offset pc, Offset& offset);
};
private:
bool loadHelper(UnitEmitter& ue, const std::string&, const MD5&);
#define URP_OP(c, o) \
public: \
c##Stmt& o(int repoId) { return *m_##o[repoId]; } \
private: \
c##Stmt m_##o##Local; \
c##Stmt m_##o##Central; \
c##Stmt* m_##o[RepoIdCount];
URP_OPS
#undef URP_OP
};
///////////////////////////////////////////////////////////////////////////////
}
#endif // incl_HPHP_VM_UNIT_EMITTER_H_
| [
"githubbot@fb.com"
] | githubbot@fb.com |
e57a0519838bb3596ad08b7e7a524505adf630b1 | 1f10a2325ab1c3be05eb3fb88a501e4b42d04390 | /project/src/r_my_local_simulator_2.cc | e14315192a1dab3dd9ea3ef57b1abcfd9e2abf1f | [] | no_license | maoxx241/csci3081 | 86f5aa644994cfd2fd770b73d76002446fcb2cbd | 2d2ce4a3144b0a7649ece1c642c357512a1cddc7 | refs/heads/master | 2022-11-07T21:33:25.250160 | 2020-06-30T09:56:51 | 2020-06-30T09:56:51 | 276,060,159 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,741 | cc | /**
* @file r_my_local_simulator.cc
*
* @copyright 2019 3081 Staff, All rights reserved.
*/
#include "src/r_my_local_simulator_2.h"
#include <vector>
#include <list>
#include "src/bus.h"
#include "src/stop.h"
#include "src/route.h"
#include "src/rtest_my_passenger_generator.h"
bool rMyLocalSimulator2::Start() {
simulation_time_elapsed_ = 0; // init, but also allows restart
// int num_round_trips = 10;
int num_round_trips = 1;
for (int i = 0; i < num_round_trips; i++) {
time_since_last_bus_generation_.push_back(0);
}
Stop ** CC_EB_stops = new Stop *[5];
Stop ** CC_WB_stops = new Stop *[5];
std::list<Stop *> CC_EB_stops_list;
std::list<Stop *> CC_WB_stops_list;
// Staticly defined objects get destroyed at end of Start()!
// Must be dynamic...
// CC Eastbound stops
Stop * stop_CC_EB_1 = new Stop(3, 44.975837, -93.222174); // before transit
Stop * stop_CC_EB_2 = new Stop(4, 44.980753, -93.180669); // tway
Stop * stop_CC_EB_3 = new Stop(5, 44.983375, -93.178810); // Fairgrounds
Stop * stop_CC_EB_4 = new Stop(6, 44.984540, -93.181692); // Buford & Gartner
Stop * stop_CC_EB_5 = new Stop(7, 44.984630, -93.186352); // SPSC
// CC Westbound stops
Stop * stop_CC_WB_1 = new Stop(8, 44.984630, -93.186352); // SPSC
Stop * stop_CC_WB_2 = new Stop(9, 44.984482, -93.181657); // Buford & Gartner
Stop * stop_CC_WB_3 = new Stop(10, 44.983703, -93.178846); // Fairgrounds
Stop * stop_CC_WB_4 = new Stop(11, 44.980663, -93.180808); // Tway
Stop * stop_CC_WB_5 = new Stop(12, 44.976397, -93.221801); // before transit
CC_EB_stops_list.push_back(stop_CC_EB_1);
CC_EB_stops[0] = stop_CC_EB_1;
CC_EB_stops_list.push_back(stop_CC_EB_2);
CC_EB_stops[1] = stop_CC_EB_2;
CC_EB_stops_list.push_back(stop_CC_EB_3);
CC_EB_stops[2] = stop_CC_EB_3;
CC_EB_stops_list.push_back(stop_CC_EB_4);
CC_EB_stops[3] = stop_CC_EB_4;
CC_EB_stops_list.push_back(stop_CC_EB_5);
CC_EB_stops[4] = stop_CC_EB_5;
CC_WB_stops_list.push_back(stop_CC_WB_1);
CC_WB_stops[0] = stop_CC_WB_1;
CC_WB_stops_list.push_back(stop_CC_WB_2);
CC_WB_stops[1] = stop_CC_WB_2;
CC_WB_stops_list.push_back(stop_CC_WB_3);
CC_WB_stops[2] = stop_CC_WB_3;
CC_WB_stops_list.push_back(stop_CC_WB_4);
CC_WB_stops[3] = stop_CC_WB_4;
CC_WB_stops_list.push_back(stop_CC_WB_5);
CC_WB_stops[4] = stop_CC_WB_5;
double * CC_EB_distances = new double[4];
double * CC_WB_distances = new double[4];
CC_EB_distances[0] = 19;
CC_EB_distances[1] = 1;
CC_EB_distances[2] = 1;
CC_EB_distances[3] = 2;
CC_WB_distances[0] = 2;
CC_WB_distances[1] = 1;
CC_WB_distances[2] = 2;
CC_WB_distances[3] = 19;
std::list<double> CC_EB_probs; // realistic .15, .3, .025, .05, .05, 0
CC_EB_probs.push_back(.05); // Pre-transit
CC_EB_probs.push_back(.05); // post-transit
CC_EB_probs.push_back(.01); // State fair
CC_EB_probs.push_back(.01); // Buford
CC_EB_probs.push_back(0); // SPSC - MUST BE 0
std::list<double> CC_WB_probs; // realistic .35, .05, .01, .01, .2, 0
CC_WB_probs.push_back(.35); // SPSC
CC_WB_probs.push_back(.05); // Buford
CC_WB_probs.push_back(.01); // State fair
CC_WB_probs.push_back(.01); // post-transit
CC_WB_probs.push_back(0); // pre-transit
// Staticly defined objects get destroyed at end of Start()!
// Must be dynamic...
// RandomPassengerGenerator CC_EB_generator(CC_EB_probs, CC_EB_stops_list);
// RandomPassengerGenerator CC_WB_generator(CC_WB_probs, CC_WB_stops_list);
RtestMyPassengerGenerator * CC_EB_generator =
new RtestMyPassengerGenerator (CC_EB_probs, CC_EB_stops_list);
RtestMyPassengerGenerator * CC_WB_generator =
new RtestMyPassengerGenerator (CC_WB_probs, CC_WB_stops_list);
// Test to ensure generators are working
// Helpful for debugging
// CC_EB_generator.GeneratePassengers();
// CC_WB_generator.GeneratePassengers();
Route * CC_EB = new Route("Campus Connector - Eastbound",
CC_EB_stops, CC_EB_distances, 5, CC_EB_generator);
Route * CC_WB = new Route("Campus Connector - Westbound",
CC_WB_stops, CC_WB_distances, 5, CC_WB_generator);
prototype_routes_.push_back(CC_EB);
prototype_routes_.push_back(CC_WB);
prototype_routes_[0]->Report(std::cout);
prototype_routes_[1]->Report(std::cout);
bus_counters_.push_back(10000);
// This will eventually be replaced by configuration/command line argument
bus_start_timings_.push_back(10);
// Do we want a bus on start? Or let the update handle this?
// active_buses_.push_back(new Bus(std::to_string(bus_counters_[0]),
// prototype_routes[0].Clone(), prototype_routes[1].Clone(), 60, 1));
// bus_counters_[0]++;
return true;
}
bool rMyLocalSimulator2::Update() {
// increase time
simulation_time_elapsed_++;
std::cout << "~~~~~~~~~~~~~ The time is now " << simulation_time_elapsed_;
std::cout << " ~~~~~~~~~~~~~" << std::endl;
// various route-indexed list iterators
std::vector<int>::iterator bus_gen_timing_iter = bus_start_timings_.begin();
std::vector<int>::iterator bus_counter_iter = bus_counters_.begin();
std::vector<Route *>::iterator prototype_route_iter =
prototype_routes_.begin();
// increase each time since last bus
// various iterators parallel the time_since_last iterator
for (std::vector<int>::iterator it = time_since_last_bus_generation_.begin();
it != time_since_last_bus_generation_.end();
it++, bus_gen_timing_iter++, bus_counter_iter++) {
(*it)++;
// if time since last [index] == bus gen timing[index]
if (0 >= (*bus_gen_timing_iter)) {
// create a new bus! routes are:
// prototype_routes_[index * 2] & prototype_routes_[index * 2 + 1]
Route * outbound = (*prototype_route_iter);
prototype_route_iter++;
Route * inbound = (*prototype_route_iter);
prototype_route_iter++;
active_buses_.push_back(new Bus(std::to_string((*bus_counter_iter)),
outbound->Clone(), inbound->Clone(), 60, 1));
(*bus_counter_iter)++;
(*bus_gen_timing_iter) = 10;
} else {
prototype_route_iter++;
prototype_route_iter++;
(*bus_gen_timing_iter)--;
}
}
// for each bus
for (std::list<Bus *>::iterator bus_iter = active_buses_.begin();
bus_iter != active_buses_.end(); bus_iter++) {
// update bus
(*bus_iter)->Update();
// bus report
(*bus_iter)->Report(std::cout);
}
// for each stop
for (std::vector<Route *>::iterator route_iter = prototype_routes_.begin();
route_iter != prototype_routes_.end(); route_iter++) {
// update stop
(*route_iter)->Update();
(*route_iter)->Report(std::cout);
}
return true;
}
| [
"maoxx241@umn.edu"
] | maoxx241@umn.edu |
ff0c94891af858eab2463735c5d939e9b4cedf5e | 8a87f5b889a9ce7d81421515f06d9c9cbf6ce64a | /3rdParty/boost/1.78.0/libs/dynamic_bitset/example/example2.cpp | 151aa3371cd6c504a0e1b7922893c62cc8382d50 | [
"BSL-1.0",
"Apache-2.0",
"BSD-3-Clause",
"ICU",
"Zlib",
"GPL-1.0-or-later",
"OpenSSL",
"ISC",
"LicenseRef-scancode-gutenberg-2020",
"MIT",
"GPL-2.0-only",
"CC0-1.0",
"LicenseRef-scancode-autoconf-simple-exception",
"LicenseRef-scancode-pcre",
"Bison-exception-2.2",
"LicenseRef-scancode... | permissive | arangodb/arangodb | 0980625e76c56a2449d90dcb8d8f2c485e28a83b | 43c40535cee37fc7349a21793dc33b1833735af5 | refs/heads/devel | 2023-08-31T09:34:47.451950 | 2023-08-31T07:25:02 | 2023-08-31T07:25:02 | 2,649,214 | 13,385 | 982 | Apache-2.0 | 2023-09-14T17:02:16 | 2011-10-26T06:42:00 | C++ | UTF-8 | C++ | false | false | 742 | cpp | // (C) Copyright Jeremy Siek 2001.
// 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)
//
// Sample output:
//
// bits(0) = 00
// bits(1) = 01
// bits(2) = 10
// bits(3) = 11
#include <iostream>
#include <boost/dynamic_bitset.hpp>
int main()
{
const boost::dynamic_bitset<> b0(2, 0ul);
std::cout << "bits(0) = " << b0 << std::endl;
const boost::dynamic_bitset<> b1(2, 1ul);
std::cout << "bits(1) = " << b1 << std::endl;
const boost::dynamic_bitset<> b2(2, 2ul);
std::cout << "bits(2) = " << b2 << std::endl;
const boost::dynamic_bitset<> b3(2, 3ul);
std::cout << "bits(3) = " << b3 << std::endl;
return 0;
}
| [
"frank@arangodb.com"
] | frank@arangodb.com |
d2dcd9a0abaa704708cc783d2c96a6caba7fdccf | a5963d39380e759552f64e9a9ba20b9d4e28ecbc | /mapbox/geometry/wagyu/active_bound_list.hpp | d3a6ec235ad660c01377051ad2af48c29dfb5508 | [
"BSL-1.0",
"ISC",
"BSD-2-Clause"
] | permissive | royhobbstn/tippecanoe | dc5ce09623ba0db9e4e8e467b6d7b864d8741f21 | 1f04886a36787db085845395677e226e64d6aa4d | refs/heads/master | 2021-05-16T16:29:14.617093 | 2020-10-11T11:01:27 | 2020-10-11T11:01:27 | 119,935,094 | 1 | 0 | BSD-2-Clause | 2020-10-11T11:01:28 | 2018-02-02T05:12:50 | C++ | UTF-8 | C++ | false | false | 14,719 | hpp | #pragma once
#ifdef DEBUG
#include <iostream>
#include <sstream>
#endif
#include <mapbox/geometry/wagyu/bound.hpp>
#include <mapbox/geometry/wagyu/config.hpp>
#include <mapbox/geometry/wagyu/edge.hpp>
#include <mapbox/geometry/wagyu/local_minimum.hpp>
#include <mapbox/geometry/wagyu/local_minimum_util.hpp>
#include <mapbox/geometry/wagyu/ring.hpp>
#include <mapbox/geometry/wagyu/scanbeam.hpp>
#include <mapbox/geometry/wagyu/util.hpp>
namespace mapbox {
namespace geometry {
namespace wagyu {
template <typename T>
using active_bound_list = std::vector<bound_ptr<T>>;
template <typename T>
using active_bound_list_itr = typename active_bound_list<T>::iterator;
template <typename T>
using active_bound_list_rev_itr = typename active_bound_list<T>::reverse_iterator;
#ifdef DEBUG
template <class charT, class traits, typename T>
inline std::basic_ostream<charT, traits>& operator<<(std::basic_ostream<charT, traits>& out,
const active_bound_list<T>& bnds) {
std::size_t c = 0;
for (auto const& bnd : bnds) {
out << "Index: " << c++ << std::endl;
out << *bnd;
}
return out;
}
template <typename T>
std::string output_edges(active_bound_list<T> const& bnds) {
std::ostringstream out;
out << "[";
bool first = true;
for (auto const& bnd : bnds) {
if (first) {
first = false;
} else {
out << ",";
}
out << "[[" << bnd->current_edge->bot.x << "," << bnd->current_edge->bot.y << "],[";
out << bnd->current_edge->top.x << "," << bnd->current_edge->top.y << "]]";
}
out << "]";
return out.str();
}
#endif
template <typename T>
bool is_even_odd_fill_type(bound<T> const& bound, fill_type subject_fill_type, fill_type clip_fill_type) {
if (bound.poly_type == polygon_type_subject) {
return subject_fill_type == fill_type_even_odd;
} else {
return clip_fill_type == fill_type_even_odd;
}
}
template <typename T>
bool is_even_odd_alt_fill_type(bound<T> const& bound, fill_type subject_fill_type, fill_type clip_fill_type) {
if (bound.poly_type == polygon_type_subject) {
return clip_fill_type == fill_type_even_odd;
} else {
return subject_fill_type == fill_type_even_odd;
}
}
template <typename T>
struct bound_insert_location {
bound<T> const& bound2;
bound_insert_location(bound<T> const& b) : bound2(b) {
}
bool operator()(bound_ptr<T> const& b) {
auto const& bound1 = *b;
if (values_are_equal(bound2.current_x, bound1.current_x)) {
if (bound2.current_edge->top.y > bound1.current_edge->top.y) {
return less_than(static_cast<double>(bound2.current_edge->top.x),
get_current_x(*(bound1.current_edge), bound2.current_edge->top.y));
} else {
return greater_than(static_cast<double>(bound1.current_edge->top.x),
get_current_x(*(bound2.current_edge), bound1.current_edge->top.y));
}
} else {
return bound2.current_x < bound1.current_x;
}
}
};
template <typename T>
active_bound_list_itr<T> insert_bound_into_ABL(bound<T>& left, bound<T>& right, active_bound_list<T>& active_bounds) {
auto itr = std::find_if(active_bounds.begin(), active_bounds.end(), bound_insert_location<T>(left));
#ifdef GCC_MISSING_VECTOR_RANGE_INSERT
itr = active_bounds.insert(itr, &right);
return active_bounds.insert(itr, &left);
#else
return active_bounds.insert(itr, { &left, &right });
#endif
}
template <typename T>
inline bool is_maxima(bound<T> const& bnd, T y) {
return bnd.next_edge == bnd.edges.end() && bnd.current_edge->top.y == y;
}
template <typename T>
inline bool is_maxima(active_bound_list_itr<T> const& bnd, T y) {
return is_maxima(*(*bnd), y);
}
template <typename T>
inline bool is_intermediate(bound<T> const& bnd, T y) {
return bnd.next_edge != bnd.edges.end() && bnd.current_edge->top.y == y;
}
template <typename T>
inline bool is_intermediate(active_bound_list_itr<T> const& bnd, T y) {
return is_intermediate(*(*bnd), y);
}
template <typename T>
inline bool current_edge_is_horizontal(active_bound_list_itr<T> const& bnd) {
return is_horizontal(*((*bnd)->current_edge));
}
template <typename T>
inline bool next_edge_is_horizontal(active_bound_list_itr<T> const& bnd) {
return is_horizontal(*((*bnd)->next_edge));
}
template <typename T>
void next_edge_in_bound(bound<T>& bnd, scanbeam_list<T>& scanbeam) {
auto& current_edge = bnd.current_edge;
++current_edge;
if (current_edge != bnd.edges.end()) {
++(bnd.next_edge);
bnd.current_x = static_cast<double>(current_edge->bot.x);
if (!is_horizontal<T>(*current_edge)) {
insert_sorted_scanbeam(scanbeam, current_edge->top.y);
}
}
}
template <typename T>
active_bound_list_itr<T> get_maxima_pair(active_bound_list_itr<T> bnd, active_bound_list<T>& active_bounds) {
bound_ptr<T> maximum = (*bnd)->maximum_bound;
return std::find(active_bounds.begin(), active_bounds.end(), maximum);
}
template <typename T>
void set_winding_count(active_bound_list_itr<T> bnd_itr,
active_bound_list<T>& active_bounds,
fill_type subject_fill_type,
fill_type clip_fill_type) {
auto rev_bnd_itr = active_bound_list_rev_itr<T>(bnd_itr);
if (rev_bnd_itr == active_bounds.rend()) {
(*bnd_itr)->winding_count = (*bnd_itr)->winding_delta;
(*bnd_itr)->winding_count2 = 0;
return;
}
// find the edge of the same polytype that immediately preceeds 'edge' in
// AEL
while (rev_bnd_itr != active_bounds.rend() && (*rev_bnd_itr)->poly_type != (*bnd_itr)->poly_type) {
++rev_bnd_itr;
}
if (rev_bnd_itr == active_bounds.rend()) {
(*bnd_itr)->winding_count = (*bnd_itr)->winding_delta;
(*bnd_itr)->winding_count2 = 0;
} else if (is_even_odd_fill_type(*(*bnd_itr), subject_fill_type, clip_fill_type)) {
// EvenOdd filling ...
(*bnd_itr)->winding_count = (*bnd_itr)->winding_delta;
(*bnd_itr)->winding_count2 = (*rev_bnd_itr)->winding_count2;
} else {
// nonZero, Positive or Negative filling ...
if ((*rev_bnd_itr)->winding_count * (*rev_bnd_itr)->winding_delta < 0) {
// prev edge is 'decreasing' WindCount (WC) toward zero
// so we're outside the previous polygon ...
if (std::abs(static_cast<int>((*rev_bnd_itr)->winding_count)) > 1) {
// outside prev poly but still inside another.
// when reversing direction of prev poly use the same WC
if ((*rev_bnd_itr)->winding_delta * (*bnd_itr)->winding_delta < 0) {
(*bnd_itr)->winding_count = (*rev_bnd_itr)->winding_count;
} else {
// otherwise continue to 'decrease' WC ...
(*bnd_itr)->winding_count = (*rev_bnd_itr)->winding_count + (*bnd_itr)->winding_delta;
}
} else {
// now outside all polys of same polytype so set own WC ...
(*bnd_itr)->winding_count = (*bnd_itr)->winding_delta;
}
} else {
// prev edge is 'increasing' WindCount (WC) away from zero
// so we're inside the previous polygon ...
if ((*rev_bnd_itr)->winding_delta * (*bnd_itr)->winding_delta < 0) {
// if wind direction is reversing prev then use same WC
(*bnd_itr)->winding_count = (*rev_bnd_itr)->winding_count;
} else {
// otherwise add to WC ...
(*bnd_itr)->winding_count = (*rev_bnd_itr)->winding_count + (*bnd_itr)->winding_delta;
}
}
(*bnd_itr)->winding_count2 = (*rev_bnd_itr)->winding_count2;
}
// update winding_count2 ...
auto bnd_itr_forward = rev_bnd_itr.base();
if (is_even_odd_alt_fill_type(*(*bnd_itr), subject_fill_type, clip_fill_type)) {
// EvenOdd filling ...
while (bnd_itr_forward != bnd_itr) {
(*bnd_itr)->winding_count2 = ((*bnd_itr)->winding_count2 == 0 ? 1 : 0);
++bnd_itr_forward;
}
} else {
// nonZero, Positive or Negative filling ...
while (bnd_itr_forward != bnd_itr) {
(*bnd_itr)->winding_count2 += (*bnd_itr_forward)->winding_delta;
++bnd_itr_forward;
}
}
}
template <typename T>
bool is_contributing(bound<T> const& bnd, clip_type cliptype, fill_type subject_fill_type, fill_type clip_fill_type) {
fill_type pft = subject_fill_type;
fill_type pft2 = clip_fill_type;
if (bnd.poly_type != polygon_type_subject) {
pft = clip_fill_type;
pft2 = subject_fill_type;
}
switch (pft) {
case fill_type_even_odd:
break;
case fill_type_non_zero:
if (std::abs(static_cast<int>(bnd.winding_count)) != 1) {
return false;
}
break;
case fill_type_positive:
if (bnd.winding_count != 1) {
return false;
}
break;
case fill_type_negative:
default:
if (bnd.winding_count != -1) {
return false;
}
}
switch (cliptype) {
case clip_type_intersection:
switch (pft2) {
case fill_type_even_odd:
case fill_type_non_zero:
return (bnd.winding_count2 != 0);
case fill_type_positive:
return (bnd.winding_count2 > 0);
case fill_type_negative:
default:
return (bnd.winding_count2 < 0);
}
break;
case clip_type_union:
switch (pft2) {
case fill_type_even_odd:
case fill_type_non_zero:
return (bnd.winding_count2 == 0);
case fill_type_positive:
return (bnd.winding_count2 <= 0);
case fill_type_negative:
default:
return (bnd.winding_count2 >= 0);
}
break;
case clip_type_difference:
if (bnd.poly_type == polygon_type_subject) {
switch (pft2) {
case fill_type_even_odd:
case fill_type_non_zero:
return (bnd.winding_count2 == 0);
case fill_type_positive:
return (bnd.winding_count2 <= 0);
case fill_type_negative:
default:
return (bnd.winding_count2 >= 0);
}
} else {
switch (pft2) {
case fill_type_even_odd:
case fill_type_non_zero:
return (bnd.winding_count2 != 0);
case fill_type_positive:
return (bnd.winding_count2 > 0);
case fill_type_negative:
default:
return (bnd.winding_count2 < 0);
}
}
break;
case clip_type_x_or:
return true;
break;
default:
return true;
}
}
template <typename T>
void insert_lm_left_and_right_bound(bound<T>& left_bound,
bound<T>& right_bound,
active_bound_list<T>& active_bounds,
ring_manager<T>& rings,
scanbeam_list<T>& scanbeam,
clip_type cliptype,
fill_type subject_fill_type,
fill_type clip_fill_type) {
// Both left and right bound
auto lb_abl_itr = insert_bound_into_ABL(left_bound, right_bound, active_bounds);
auto rb_abl_itr = std::next(lb_abl_itr);
set_winding_count(lb_abl_itr, active_bounds, subject_fill_type, clip_fill_type);
(*rb_abl_itr)->winding_count = (*lb_abl_itr)->winding_count;
(*rb_abl_itr)->winding_count2 = (*lb_abl_itr)->winding_count2;
if (is_contributing(left_bound, cliptype, subject_fill_type, clip_fill_type)) {
add_local_minimum_point(*(*lb_abl_itr), *(*rb_abl_itr), active_bounds, (*lb_abl_itr)->current_edge->bot, rings);
}
// Add top of edges to scanbeam
insert_sorted_scanbeam(scanbeam, (*lb_abl_itr)->current_edge->top.y);
if (!current_edge_is_horizontal<T>(rb_abl_itr)) {
insert_sorted_scanbeam(scanbeam, (*rb_abl_itr)->current_edge->top.y);
}
}
template <typename T>
void insert_local_minima_into_ABL(T const bot_y,
local_minimum_ptr_list<T> const& minima_sorted,
local_minimum_ptr_list_itr<T>& current_lm,
active_bound_list<T>& active_bounds,
ring_manager<T>& rings,
scanbeam_list<T>& scanbeam,
clip_type cliptype,
fill_type subject_fill_type,
fill_type clip_fill_type) {
while (current_lm != minima_sorted.end() && bot_y == (*current_lm)->y) {
initialize_lm<T>(current_lm);
auto& left_bound = (*current_lm)->left_bound;
auto& right_bound = (*current_lm)->right_bound;
insert_lm_left_and_right_bound(left_bound, right_bound, active_bounds, rings, scanbeam, cliptype,
subject_fill_type, clip_fill_type);
++current_lm;
}
}
template <typename T>
void insert_horizontal_local_minima_into_ABL(T const top_y,
local_minimum_ptr_list<T> const& minima_sorted,
local_minimum_ptr_list_itr<T>& current_lm,
active_bound_list<T>& active_bounds,
ring_manager<T>& rings,
scanbeam_list<T>& scanbeam,
clip_type cliptype,
fill_type subject_fill_type,
fill_type clip_fill_type) {
while (current_lm != minima_sorted.end() && top_y == (*current_lm)->y && (*current_lm)->minimum_has_horizontal) {
initialize_lm<T>(current_lm);
auto& left_bound = (*current_lm)->left_bound;
auto& right_bound = (*current_lm)->right_bound;
insert_lm_left_and_right_bound(left_bound, right_bound, active_bounds, rings, scanbeam, cliptype,
subject_fill_type, clip_fill_type);
++current_lm;
}
}
} // namespace wagyu
} // namespace geometry
} // namespace mapbox
| [
"enf@pobox.com"
] | enf@pobox.com |
589c7d0eb43f216e8699e7755e1662315b69d2d8 | 2c513d6abba3e9ee13e9bfc43cf9fef0c2f9f1bd | /142-B.cpp | af14d6c2c08c4df041d8ed05be5b33d3767b8c53 | [] | no_license | Ujjwal-0/Competitive-Codes | 564230052b1b186e088acc034639384d2c368572 | 1abc5519cc2638332619d05155ba18eb6da0c3de | refs/heads/main | 2023-06-19T22:57:03.258534 | 2021-07-09T19:27:25 | 2021-07-09T19:27:25 | 384,531,633 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 996 | cpp | #include <bits/stdc++.h>
#define fr(i,n) for(int i=0;i<n;i++)
#define FIO ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0)
#define llu long long unsigned
using namespace std;
int prime(long long int n) {
if (n == 2)
return 1;
if (n % 2 == 0 || n == 1)
return 0;
for (int i = 3; i * i <= n; i += 2) {
if (n % i == 0)
return 0;
}
return 1;
}
long long int sqr(long long int n) {
if (n == 1 || n == 0)
return 0;
long long int l = 1, u = n / 2, mid;
while (l <= u) {
mid = (l + u) / 2;
long long unsigned int x = mid * mid;
if (x == n) return mid;
else if (x > n) {
u = mid - 1;
}
else {
l = mid + 1;
}
}
return 0;
}
int main() {
FIO;
#ifndef ONLINE_JUDGE
freopen("input1.txt", "r", stdin);
freopen("output1.txt", "w", stdout);
#endif
int n;
cin >> n;
long long int t, y = 0;
fr(i, n) {
cin >> t;
y = sqr(t);
if (y) {
if (prime(y)) {
cout << "YES\n";
}
else
cout << "NO\n";
}
else {
cout << "NO\n";
}
}
return 0;
} | [
"kumarujjwal7349@gmail.com"
] | kumarujjwal7349@gmail.com |
b8116a21614a8813f5349f8d701a02cf0e407035 | 1e01b697191a910a872e95ddfce27a91cebc57dd | /BNFNot.h | 2184a19f0a68e19025bd07e2bad4779839f2ca97 | [] | no_license | canercandan/codeworker | 7c9871076af481e98be42bf487a9ec1256040d08 | a68851958b1beef3d40114fd1ceb655f587c49ad | refs/heads/master | 2020-05-31T22:53:56.492569 | 2011-01-29T19:12:59 | 2011-01-29T19:12:59 | 1,306,254 | 7 | 5 | null | null | null | null | IBM852 | C++ | false | false | 1,609 | h | /* "CodeWorker": a scripting language for parsing and generating text.
Copyright (C) 1996-1997, 1999-2003 CÚdric Lemaire
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
To contact the author: codeworker@free.fr
*/
#ifndef _BNFNot_h_
#define _BNFNot_h_
#include "GrfBlock.h"
namespace CodeWorker {
class DtaBNFScript;
class BNFClause;
class ExprScriptVariable;
class BNFNot : public GrfBlock {
private:
DtaBNFScript* _pBNFScript;
bool _bContinue;
public:
BNFNot(DtaBNFScript* pBNFScript, GrfBlock* pParent, bool bContinue);
virtual ~BNFNot();
virtual void accept(DtaVisitor& visitor, DtaVisitorEnvironment& env);
virtual bool isABNFCommand() const;
virtual std::string toString() const;
void compileCpp(CppCompilerEnvironment& theCompilerEnvironment) const;
protected:
virtual SEQUENCE_INTERRUPTION_LIST executeInternal(DtaScriptVariable& visibility);
};
}
#endif
| [
"cedric.p.r.lemaire@28b3f5f3-d42e-7560-b87f-5f53cf622bc4"
] | cedric.p.r.lemaire@28b3f5f3-d42e-7560-b87f-5f53cf622bc4 |
0c8db55127b2c407656d4466290d4a861259773c | c85d4324cd9ef64326c3813000c38dd5702599f5 | /impeller/renderer/backend/vulkan/allocator_vk.h | aa254d0d943157c938d764190a3ebf09adbc2835 | [
"BSD-3-Clause"
] | permissive | rmacnak-google/engine | 0299727354a037d66912740602ed07f36fa6c98a | eb7428a51ddd5b4eabcc1513e18b6ca0c37ff73b | refs/heads/master | 2023-04-15T15:29:30.210178 | 2022-08-16T21:32:48 | 2022-08-16T21:32:48 | 412,171,467 | 2 | 0 | BSD-3-Clause | 2023-02-27T11:04:50 | 2021-09-30T18:04:56 | C++ | UTF-8 | C++ | false | false | 1,445 | h | // Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#pragma once
#include "flutter/fml/macros.h"
#include "impeller/renderer/allocator.h"
#include "impeller/renderer/backend/vulkan/context_vk.h"
#include "impeller/renderer/backend/vulkan/vk.h"
#include <memory>
namespace impeller {
class AllocatorVK final : public Allocator {
public:
// |Allocator|
~AllocatorVK() override;
private:
friend class ContextVK;
VmaAllocator allocator_ = {};
ContextVK& context_;
bool is_valid_ = false;
AllocatorVK(ContextVK& context,
uint32_t vulkan_api_version,
const vk::PhysicalDevice& physical_device,
const vk::Device& logical_device,
const vk::Instance& instance,
PFN_vkGetInstanceProcAddr get_instance_proc_address,
PFN_vkGetDeviceProcAddr get_device_proc_address);
// |Allocator|
bool IsValid() const;
// |Allocator|
std::shared_ptr<DeviceBuffer> CreateBuffer(StorageMode mode,
size_t length) override;
// |Allocator|
std::shared_ptr<Texture> CreateTexture(
StorageMode mode,
const TextureDescriptor& desc) override;
// |Allocator|
ISize GetMaxTextureSizeSupported() const override;
FML_DISALLOW_COPY_AND_ASSIGN(AllocatorVK);
};
} // namespace impeller
| [
"noreply@github.com"
] | rmacnak-google.noreply@github.com |
555aec8d872e530b3e21f05281cc149bcb25aaf8 | 599d8b0ad1c2821886f8dc95fe5d7b8e83d0fdd8 | /loggerFirmware/src/init.h | 68f86a44123a21de3422d6bcd28daadf269de339 | [] | no_license | JanusErasmus/pump-input-logger | 0d734b2662bd0ec93ebfae1b66ad10919fe0efbf | 272152f28483888be237aada99c2cf2d9e11ec4d | refs/heads/master | 2021-01-17T08:42:21.802082 | 2016-05-16T04:16:55 | 2016-05-16T04:16:55 | 36,238,452 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 651 | h | #ifndef _INIT_H_
#define _INIT_H_
#include <cyg/kernel/kapi.h>
#include "definitions.h"
/*
* This singleton class provides the initialisation
* for the whole system, creates the global objects
* and provides the main system thread.
* @author Keystone Electronic Solutions
*/
class cInit
{
static cInit * __instance;
cyg_uint8 mStack[INIT_STACK_SIZE];
cyg_thread mThread;
cyg_handle_t mThreadHandle;
static void init_thread_func(cyg_addrword_t arg);
cInit();
void init_system();
void setup_peripherals();
void enable_clocks();
void create_serial();
void create_io();
public:
static void init();
};
#endif //Include Guard
| [
"janus@kses.net"
] | janus@kses.net |
511e2272f5ef633bf0bff869e22465779414016d | 0f30d43960d46961688497af9004c2f154d71877 | /core/target/cpp/ts/include/thx/StaticResource.h | 3a623dffa04ae912c71f55e39b029e94ec5aef38 | [
"MIT"
] | permissive | mboussaa/haxe-testing | 77d2c44596f92d3b509ad2e450f61d2e640eb9a3 | 930bd6e63c8cb91a4df323d01ae518d048c089ba | refs/heads/master | 2021-01-17T10:20:07.126520 | 2016-06-02T10:00:49 | 2016-06-02T10:00:49 | 59,005,172 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 381 | h | // Generated by Haxe 3.3.0
#ifndef INCLUDED_thx_StaticResource
#define INCLUDED_thx_StaticResource
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS1(thx,StaticResource)
namespace thx{
class HXCPP_CLASS_ATTRIBUTES StaticResource_obj {
public:
typedef hx::Object super;
HX_DO_INTERFACE_RTTI;
};
} // end namespace thx
#endif /* INCLUDED_thx_StaticResource */
| [
"mohamed.boussaa@inria.fr"
] | mohamed.boussaa@inria.fr |
02c0dfa7a5dc92d84608056edbff2986a4ccef93 | 3e1ac5a6f5473c93fb9d4174ced2e721a7c1ff4c | /build/iOS/Preview/include/Fuse.Reactive.CapsObject.PropertySubscription.h | 01886a91e5b95e461558ddc7d98c5fb6232a5b7c | [] | no_license | dream-plus/DreamPlus_popup | 49d42d313e9cf1c9bd5ffa01a42d4b7c2cf0c929 | 76bb86b1f2e36a513effbc4bc055efae78331746 | refs/heads/master | 2020-04-28T20:47:24.361319 | 2019-05-13T12:04:14 | 2019-05-13T12:04:14 | 175,556,703 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,272 | h | // This file was generated based on /usr/local/share/uno/Packages/Fuse.Reactive.Expressions/1.9.0/Device.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Reactive.IPropertySubscription.h>
#include <Uno.IDisposable.h>
#include <Uno.Object.h>
#include <Uno.UX.IPropertyListener.h>
namespace g{namespace Fuse{namespace Reactive{struct CapsObject;}}}
namespace g{namespace Fuse{namespace Reactive{struct CapsObject__PropertySubscription;}}}
namespace g{namespace Uno{namespace UX{struct PropertyObject;}}}
namespace g{namespace Uno{namespace UX{struct Selector;}}}
namespace g{
namespace Fuse{
namespace Reactive{
// private sealed class CapsObject.PropertySubscription :54
// {
struct CapsObject__PropertySubscription_type : uType
{
::g::Fuse::Reactive::IPropertySubscription interface0;
::g::Uno::UX::IPropertyListener interface1;
::g::Uno::IDisposable interface2;
};
CapsObject__PropertySubscription_type* CapsObject__PropertySubscription_typeof();
void CapsObject__PropertySubscription__ctor__fn(CapsObject__PropertySubscription* __this, ::g::Fuse::Reactive::CapsObject* dc, uObject* observer);
void CapsObject__PropertySubscription__Dispose_fn(CapsObject__PropertySubscription* __this);
void CapsObject__PropertySubscription__New1_fn(::g::Fuse::Reactive::CapsObject* dc, uObject* observer, CapsObject__PropertySubscription** __retval);
void CapsObject__PropertySubscription__OnPropertyChanged_fn(CapsObject__PropertySubscription* __this, ::g::Uno::UX::PropertyObject* ignore, ::g::Uno::UX::Selector* name);
void CapsObject__PropertySubscription__TrySetExclusive_fn(CapsObject__PropertySubscription* __this, uString* propertyName, uObject* newValue, bool* __retval);
struct CapsObject__PropertySubscription : uObject
{
uStrong< ::g::Fuse::Reactive::CapsObject*> _caps;
uStrong<uObject*> _observer;
void ctor_(::g::Fuse::Reactive::CapsObject* dc, uObject* observer);
void Dispose();
void OnPropertyChanged(::g::Uno::UX::PropertyObject* ignore, ::g::Uno::UX::Selector name);
bool TrySetExclusive(uString* propertyName, uObject* newValue);
static CapsObject__PropertySubscription* New1(::g::Fuse::Reactive::CapsObject* dc, uObject* observer);
};
// }
}}} // ::g::Fuse::Reactive
| [
"cowodbs156@gmail.com"
] | cowodbs156@gmail.com |
f9a1f2ad272f915f230f2f3bf60a731c70a49043 | 8e2405653d19c92685e0df5a574e984c27f2285e | /NG2RawSnippet/stdafx.cpp | 2a33e9c8284c22b717471493badaedcbfa4bbddf | [] | no_license | susunlee/NG2RawSnippet | fa176213d80a557deb71bc65c944980c3dcf27f4 | c9b82545997b5291e4422a01582b40623fff2852 | refs/heads/master | 2020-07-31T04:18:27.450226 | 2019-09-25T04:20:03 | 2019-09-25T04:20:03 | 210,482,493 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 244 | cpp |
// stdafx.cpp : 표준 포함 파일만 들어 있는 소스 파일입니다.
// NG2RawSnippet.pch는 미리 컴파일된 헤더가 됩니다.
// stdafx.obj에는 미리 컴파일된 형식 정보가 포함됩니다.
#include "stdafx.h"
| [
"sunnytwo@hanmail.net"
] | sunnytwo@hanmail.net |
009ed7877d1e133ee2456020ef5ba4e1dc3a9ca7 | 2cf838b54b556987cfc49f42935f8aa7563ea1f4 | /aws-cpp-sdk-managedblockchain/include/aws/managedblockchain/model/GetNetworkRequest.h | d2182c6c9f8c40d30b60379325c328ce2859643e | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | QPC-database/aws-sdk-cpp | d11e9f0ff6958c64e793c87a49f1e034813dac32 | 9f83105f7e07fe04380232981ab073c247d6fc85 | refs/heads/main | 2023-06-14T17:41:04.817304 | 2021-07-09T20:28:20 | 2021-07-09T20:28:20 | 384,714,703 | 1 | 0 | Apache-2.0 | 2021-07-10T14:16:41 | 2021-07-10T14:16:41 | null | UTF-8 | C++ | false | false | 2,738 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
#include <aws/managedblockchain/ManagedBlockchainRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ManagedBlockchain
{
namespace Model
{
/**
*/
class AWS_MANAGEDBLOCKCHAIN_API GetNetworkRequest : public ManagedBlockchainRequest
{
public:
GetNetworkRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "GetNetwork"; }
Aws::String SerializePayload() const override;
/**
* <p>The unique identifier of the network to get information about.</p>
*/
inline const Aws::String& GetNetworkId() const{ return m_networkId; }
/**
* <p>The unique identifier of the network to get information about.</p>
*/
inline bool NetworkIdHasBeenSet() const { return m_networkIdHasBeenSet; }
/**
* <p>The unique identifier of the network to get information about.</p>
*/
inline void SetNetworkId(const Aws::String& value) { m_networkIdHasBeenSet = true; m_networkId = value; }
/**
* <p>The unique identifier of the network to get information about.</p>
*/
inline void SetNetworkId(Aws::String&& value) { m_networkIdHasBeenSet = true; m_networkId = std::move(value); }
/**
* <p>The unique identifier of the network to get information about.</p>
*/
inline void SetNetworkId(const char* value) { m_networkIdHasBeenSet = true; m_networkId.assign(value); }
/**
* <p>The unique identifier of the network to get information about.</p>
*/
inline GetNetworkRequest& WithNetworkId(const Aws::String& value) { SetNetworkId(value); return *this;}
/**
* <p>The unique identifier of the network to get information about.</p>
*/
inline GetNetworkRequest& WithNetworkId(Aws::String&& value) { SetNetworkId(std::move(value)); return *this;}
/**
* <p>The unique identifier of the network to get information about.</p>
*/
inline GetNetworkRequest& WithNetworkId(const char* value) { SetNetworkId(value); return *this;}
private:
Aws::String m_networkId;
bool m_networkIdHasBeenSet;
};
} // namespace Model
} // namespace ManagedBlockchain
} // namespace Aws
| [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
66e68148f518e2954180441f95d957d3342cc6a3 | 9955dff6a3c8ba56600ddca3c7b92fa346544959 | /src/rpcswiftnode-budget.cpp | c6c991178cd2edf5fa8a0d372a7a39e0a53985dd | [
"MIT"
] | permissive | curiumofficial/swiftcash | 3b345678a2a062af87c500c72a62e11b66245df5 | a38d9ea9fc731f4122b74a2c4166635baee1e31e | refs/heads/master | 2020-04-11T14:31:33.877952 | 2018-12-15T02:37:47 | 2018-12-15T02:37:47 | 161,858,365 | 0 | 1 | MIT | 2018-12-15T02:37:48 | 2018-12-15T01:27:17 | C++ | UTF-8 | C++ | false | false | 46,078 | cpp | // Copyright (c) 2014-2015 The Dash Developers
// Copyright (c) 2015-2018 PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "activeswiftnode.h"
#include "db.h"
#include "init.h"
#include "main.h"
#include "swiftnode-budget.h"
#include "swiftnode-payments.h"
#include "swiftnodeconfig.h"
#include "swiftnodeman.h"
#include "swiftnode-helpers.h"
#include "rpcserver.h"
#include "utilmoneystr.h"
#include <univalue.h>
#include <fstream>
using namespace std;
void budgetToJSON(CBudgetProposal* pbudgetProposal, UniValue& bObj)
{
CTxDestination address1;
ExtractDestination(pbudgetProposal->GetPayee(), address1);
CBitcoinAddress address2(address1);
bObj.push_back(Pair("Name", pbudgetProposal->GetName()));
bObj.push_back(Pair("URL", pbudgetProposal->GetURL()));
bObj.push_back(Pair("Hash", pbudgetProposal->GetHash().ToString()));
bObj.push_back(Pair("FeeHash", pbudgetProposal->nFeeTXHash.ToString()));
bObj.push_back(Pair("BlockStart", (int64_t)pbudgetProposal->GetBlockStart()));
bObj.push_back(Pair("BlockEnd", (int64_t)pbudgetProposal->GetBlockEnd()));
bObj.push_back(Pair("TotalPaymentCount", (int64_t)pbudgetProposal->GetTotalPaymentCount()));
bObj.push_back(Pair("RemainingPaymentCount", (int64_t)pbudgetProposal->GetRemainingPaymentCount()));
bObj.push_back(Pair("PaymentAddress", address2.ToString()));
bObj.push_back(Pair("Ratio", pbudgetProposal->GetRatio()));
bObj.push_back(Pair("Yeas", (int64_t)pbudgetProposal->GetYeas()));
bObj.push_back(Pair("Nays", (int64_t)pbudgetProposal->GetNays()));
bObj.push_back(Pair("Abstains", (int64_t)pbudgetProposal->GetAbstains()));
bObj.push_back(Pair("TotalPayment", ValueFromAmount(pbudgetProposal->GetAmount() * pbudgetProposal->GetTotalPaymentCount())));
bObj.push_back(Pair("MonthlyPayment", ValueFromAmount(pbudgetProposal->GetAmount())));
bObj.push_back(Pair("IsEstablished", pbudgetProposal->IsEstablished()));
std::string strError = "";
bObj.push_back(Pair("IsValid", pbudgetProposal->IsValid(strError)));
bObj.push_back(Pair("IsValidReason", strError.c_str()));
bObj.push_back(Pair("fValid", pbudgetProposal->fValid));
}
// This command is retained for backwards compatibility, but is deprecated.
// Future removal of this command is planned to keep things clean.
UniValue mnbudget(const UniValue& params, bool fHelp)
{
string strCommand;
if (params.size() >= 1)
strCommand = params[0].get_str();
if (fHelp ||
(strCommand != "vote-alias" && strCommand != "vote-many" && strCommand != "prepare" && strCommand != "submit" && strCommand != "vote" && strCommand != "getvotes" && strCommand != "getinfo" && strCommand != "show" && strCommand != "projection" && strCommand != "check" && strCommand != "nextblock"))
throw runtime_error(
"mnbudget \"command\"... ( \"passphrase\" )\n"
"\nVote or show current budgets\n"
"This command is deprecated, please see individual command documentation for future reference\n\n"
"\nAvailable commands:\n"
" prepare - Prepare proposal for network by signing and creating tx\n"
" submit - Submit proposal for network\n"
" vote-many - Vote on a SwiftCash initiative\n"
" vote-alias - Vote on a SwiftCash initiative\n"
" vote - Vote on a SwiftCash initiative/budget\n"
" getvotes - Show current swiftnode budgets\n"
" getinfo - Show current swiftnode budgets\n"
" show - Show all budgets\n"
" projection - Show the projection of which proposals will be paid the next cycle\n"
" check - Scan proposals and remove invalid\n"
" nextblock - Get next superblock for budget system\n");
if (strCommand == "nextblock") {
UniValue newParams(UniValue::VARR);
// forward params but skip command
for (unsigned int i = 1; i < params.size(); i++) {
newParams.push_back(params[i]);
}
return getnextsuperblock(newParams, fHelp);
}
if (strCommand == "prepare") {
UniValue newParams(UniValue::VARR);
// forward params but skip command
for (unsigned int i = 1; i < params.size(); i++) {
newParams.push_back(params[i]);
}
return preparebudget(newParams, fHelp);
}
if (strCommand == "submit") {
UniValue newParams(UniValue::VARR);
// forward params but skip command
for (unsigned int i = 1; i < params.size(); i++) {
newParams.push_back(params[i]);
}
return submitbudget(newParams, fHelp);
}
if (strCommand == "vote" || strCommand == "vote-many" || strCommand == "vote-alias") {
if (strCommand == "vote-alias")
throw runtime_error(
"vote-alias is not supported with this command\n"
"Please use mnbudgetvote instead.\n"
);
return mnbudgetvote(params, fHelp);
}
if (strCommand == "projection") {
UniValue newParams(UniValue::VARR);
// forward params but skip command
for (unsigned int i = 1; i < params.size(); i++) {
newParams.push_back(params[i]);
}
return getbudgetprojection(newParams, fHelp);
}
if (strCommand == "show" || strCommand == "getinfo") {
UniValue newParams(UniValue::VARR);
// forward params but skip command
for (unsigned int i = 1; i < params.size(); i++) {
newParams.push_back(params[i]);
}
return getbudgetinfo(newParams, fHelp);
}
if (strCommand == "getvotes") {
UniValue newParams(UniValue::VARR);
// forward params but skip command
for (unsigned int i = 1; i < params.size(); i++) {
newParams.push_back(params[i]);
}
return getbudgetvotes(newParams, fHelp);
}
if (strCommand == "check") {
UniValue newParams(UniValue::VARR);
// forward params but skip command
for (unsigned int i = 1; i < params.size(); i++) {
newParams.push_back(params[i]);
}
return checkbudgets(newParams, fHelp);
}
return NullUniValue;
}
UniValue preparebudget(const UniValue& params, bool fHelp)
{
int nBlockMin = 0;
CBlockIndex* pindexPrev = chainActive.Tip();
if (fHelp || params.size() != 6)
throw runtime_error(
"preparebudget \"proposal-name\" \"url\" payment-count block-start \"swift-address\" monthy-payment\n"
"\nPrepare proposal for network by signing and creating tx\n"
"\nArguments:\n"
"1. \"proposal-name\": (string, required) Desired proposal name (20 character limit)\n"
"2. \"url\": (string, required) URL of proposal details (64 character limit)\n"
"3. payment-count: (numeric, required) Total number of monthly payments\n"
"4. block-start: (numeric, required) Starting super block height\n"
"5. \"swift-address\": (string, required) SWIFT address to send payments to\n"
"6. monthly-payment: (numeric, required) Monthly payment amount\n"
"\nResult:\n"
"\"xxxx\" (string) proposal fee hash (if successful) or error message (if failed)\n"
"\nExamples:\n" +
HelpExampleCli("preparebudget", "\"test-proposal\" \"https://swiftcash.cc/t/test-proposal\" 2 820800 \"S9oc6C3dttUbv8zd7zGNq1qKBGf4ZQ1XEE\" 500") +
HelpExampleRpc("preparebudget", "\"test-proposal\" \"https://swiftcash.cc/t/test-proposal\" 2 820800 \"S9oc6C3dttUbv8zd7zGNq1qKBGf4ZQ1XEE\" 500"));
if (pwalletMain->IsLocked())
throw JSONRPCError(RPC_WALLET_UNLOCK_NEEDED, "Error: Please enter the wallet passphrase with walletpassphrase first.");
std::string strProposalName = SanitizeString(params[0].get_str());
if (strProposalName.size() > 20)
throw runtime_error("Invalid proposal name, limit of 20 characters.");
std::string strURL = SanitizeString(params[1].get_str());
if (strURL.size() > 64)
throw runtime_error("Invalid url, limit of 64 characters.");
int nPaymentCount = params[2].get_int();
if (nPaymentCount < 1 || nPaymentCount > 3)
throw runtime_error("Invalid payment count, must be between 1-3.");
// Start must be in the next budget cycle
if (pindexPrev != NULL) nBlockMin = pindexPrev->nHeight - pindexPrev->nHeight % GetBudgetPaymentCycleBlocks() + GetBudgetPaymentCycleBlocks();
const int nStartThreshold = 12 * 1440;
int nBlockStart = params[3].get_int();
int nNext = (pindexPrev->nHeight + nStartThreshold) - (pindexPrev->nHeight + nStartThreshold) % GetBudgetPaymentCycleBlocks() + GetBudgetPaymentCycleBlocks();
if (nBlockStart % GetBudgetPaymentCycleBlocks() != 0 || (nBlockStart < nNext && (pindexPrev->nHeight % GetBudgetPaymentCycleBlocks() > GetBudgetPaymentCycleBlocks() - nStartThreshold))) {
throw runtime_error(strprintf("Invalid block start - must be at least 12 days before a budget cycle block. Next valid block: %d", nNext));
}
int nBlockEnd = nBlockStart + GetBudgetPaymentCycleBlocks() * nPaymentCount; // End must be AFTER current cycle
if (nBlockStart < nBlockMin)
throw runtime_error("Invalid block start, must be more than current height.");
if (nBlockEnd < pindexPrev->nHeight)
throw runtime_error("Invalid ending block, starting block + (payment_cycle*payments) must be more than current height.");
CBitcoinAddress address(params[4].get_str());
if (!address.IsValid())
throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid SWIFT address");
// Parse SWIFT address
CScript scriptPubKey = GetScriptForDestination(address.Get());
CAmount nAmount = AmountFromValue(params[5]);
//*************************************************************************
// create transaction 15 minutes into the future, to allow for confirmation time
CBudgetProposalBroadcast budgetProposalBroadcast(strProposalName, strURL, nPaymentCount, scriptPubKey, nAmount, nBlockStart, 0);
std::string strError = "";
if (!budgetProposalBroadcast.IsValid(strError, false))
throw runtime_error("Proposal is not valid - " + budgetProposalBroadcast.GetHash().ToString() + " - " + strError);
bool useIX = false; //true;
// if (params.size() > 7) {
// if(params[7].get_str() != "false" && params[7].get_str() != "true")
// return "Invalid use_ix, must be true or false";
// useIX = params[7].get_str() == "true" ? true : false;
// }
CWalletTx wtx;
if (!pwalletMain->GetBudgetSystemCollateralTX(wtx, budgetProposalBroadcast.GetHash(), useIX, true)) {
throw runtime_error("Error making collateral transaction for proposal. Please check your wallet balance.");
}
// make our change address
CReserveKey reservekey(pwalletMain);
//send the tx to the network
pwalletMain->CommitTransaction(wtx, reservekey, useIX ? "ix" : "tx");
return wtx.GetHash().ToString();
}
UniValue submitbudget(const UniValue& params, bool fHelp)
{
int nBlockMin = 0;
CBlockIndex* pindexPrev = chainActive.Tip();
if (fHelp || params.size() != 7)
throw runtime_error(
"submitbudget \"proposal-name\" \"url\" payment-count block-start \"swift-address\" monthy-payment \"fee-tx\"\n"
"\nSubmit proposal to the network\n"
"\nArguments:\n"
"1. \"proposal-name\": (string, required) Desired proposal name (20 character limit)\n"
"2. \"url\": (string, required) URL of proposal details (64 character limit)\n"
"3. payment-count: (numeric, required) Total number of monthly payments\n"
"4. block-start: (numeric, required) Starting super block height\n"
"5. \"swift-address\": (string, required) SWIFT address to send payments to\n"
"6. monthly-payment: (numeric, required) Monthly payment amount\n"
"7. \"fee-tx\": (string, required) Transaction hash from preparebudget command\n"
"\nResult:\n"
"\"xxxx\" (string) proposal hash (if successful) or error message (if failed)\n"
"\nExamples:\n" +
HelpExampleCli("submitbudget", "\"test-proposal\" \"https://swiftcash.cc/t/test-proposal\" 2 820800 \"S9oc6C3dttUbv8zd7zGNq1qKBGf4ZQ1XEE\" 500 8900689210a88a2f0c0d7aa19af08af73f20c7b81d6a450b91ef59e2504193a4") +
HelpExampleRpc("submitbudget", "\"test-proposal\" \"https://swiftcash.cc/t/test-proposal\" 2 820800 \"S9oc6C3dttUbv8zd7zGNq1qKBGf4ZQ1XEE\" 500 8900689210a88a2f0c0d7aa19af08af73f20c7b81d6a450b91ef59e2504193a4"));
// Check these inputs the same way we check the vote commands:
// **********************************************************
std::string strProposalName = SanitizeString(params[0].get_str());
if (strProposalName.size() > 20)
throw runtime_error("Invalid proposal name, limit of 20 characters.");
std::string strURL = SanitizeString(params[1].get_str());
if (strURL.size() > 64)
throw runtime_error("Invalid url, limit of 64 characters.");
int nPaymentCount = params[2].get_int();
if (nPaymentCount < 1)
throw runtime_error("Invalid payment count, must be more than zero.");
// Start must be in the next budget cycle
if (pindexPrev != NULL) nBlockMin = pindexPrev->nHeight - pindexPrev->nHeight % GetBudgetPaymentCycleBlocks() + GetBudgetPaymentCycleBlocks();
const int nStartThreshold = 12 * 1440;
int nBlockStart = params[3].get_int();
int nNext = (pindexPrev->nHeight + nStartThreshold) - (pindexPrev->nHeight + nStartThreshold) % GetBudgetPaymentCycleBlocks() + GetBudgetPaymentCycleBlocks();
if (nBlockStart % GetBudgetPaymentCycleBlocks() != 0 || (nBlockStart < nNext && (pindexPrev->nHeight % GetBudgetPaymentCycleBlocks() > GetBudgetPaymentCycleBlocks() - nStartThreshold))) {
throw runtime_error(strprintf("Invalid block start - must be at least 12 days before a budget cycle block. Next valid block: %d", nNext));
}
int nBlockEnd = nBlockStart + (GetBudgetPaymentCycleBlocks() * nPaymentCount); // End must be AFTER current cycle
if (nBlockStart < nBlockMin)
throw runtime_error("Invalid block start, must be more than current height.");
if (nBlockEnd < pindexPrev->nHeight)
throw runtime_error("Invalid ending block, starting block + (payment_cycle*payments) must be more than current height.");
CBitcoinAddress address(params[4].get_str());
if (!address.IsValid())
throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid SWIFT address");
// Parse SWIFT address
CScript scriptPubKey = GetScriptForDestination(address.Get());
CAmount nAmount = AmountFromValue(params[5]);
uint256 hash = ParseHashV(params[6], "parameter 1");
//create the proposal incase we're the first to make it
CBudgetProposalBroadcast budgetProposalBroadcast(strProposalName, strURL, nPaymentCount, scriptPubKey, nAmount, nBlockStart, hash);
std::string strError = "";
int nConf = 0;
if (!IsBudgetCollateralValid(hash, budgetProposalBroadcast.GetHash(), strError, budgetProposalBroadcast.nTime, nConf)) {
throw runtime_error("Proposal FeeTX is not valid - " + hash.ToString() + " - " + strError);
}
if (!swiftnodeSync.IsBlockchainSynced()) {
throw runtime_error("Must wait for client to sync with swiftnode network. Try again in a minute or so.");
}
// if(!budgetProposalBroadcast.IsValid(strError)){
// return "Proposal is not valid - " + budgetProposalBroadcast.GetHash().ToString() + " - " + strError;
// }
budget.mapSeenSwiftnodeBudgetProposals.insert(make_pair(budgetProposalBroadcast.GetHash(), budgetProposalBroadcast));
budgetProposalBroadcast.Relay();
if(budget.AddProposal(budgetProposalBroadcast)) {
return budgetProposalBroadcast.GetHash().ToString();
}
throw runtime_error("Invalid proposal, see debug.log for details.");
}
UniValue mnbudgetvote(const UniValue& params, bool fHelp)
{
std::string strCommand;
if (params.size() >= 1) {
strCommand = params[0].get_str();
// Backwards compatibility with legacy `mnbudget` command
if (strCommand == "vote") strCommand = "local";
if (strCommand == "vote-many") strCommand = "many";
if (strCommand == "vote-alias") strCommand = "alias";
}
if (fHelp || (params.size() == 3 && (strCommand != "local" && strCommand != "many")) || (params.size() == 4 && strCommand != "alias") ||
params.size() > 4 || params.size() < 3)
throw runtime_error(
"mnbudgetvote \"local|many|alias\" \"votehash\" \"yes|no\" ( \"alias\" )\n"
"\nVote on a budget proposal\n"
"\nArguments:\n"
"1. \"mode\" (string, required) The voting mode. 'local' for voting directly from a swiftnode, 'many' for voting with a MN controller and casting the same vote for each MN, 'alias' for voting with a MN controller and casting a vote for a single MN\n"
"2. \"votehash\" (string, required) The vote hash for the proposal\n"
"3. \"votecast\" (string, required) Your vote. 'yes' to vote for the proposal, 'no' to vote against\n"
"4. \"alias\" (string, required for 'alias' mode) The MN alias to cast a vote for.\n"
"\nResult:\n"
"{\n"
" \"overall\": \"xxxx\", (string) The overall status message for the vote cast\n"
" \"detail\": [\n"
" {\n"
" \"node\": \"xxxx\", (string) 'local' or the MN alias\n"
" \"result\": \"xxxx\", (string) Either 'Success' or 'Failed'\n"
" \"error\": \"xxxx\", (string) Error message, if vote failed\n"
" }\n"
" ,...\n"
" ]\n"
"}\n"
"\nExamples:\n" +
HelpExampleCli("mnbudgetvote", "\"local\" \"ed2f83cedee59a91406f5f47ec4d60bf5a7f9ee6293913c82976bd2d3a658041\" \"yes\"") +
HelpExampleRpc("mnbudgetvote", "\"local\" \"ed2f83cedee59a91406f5f47ec4d60bf5a7f9ee6293913c82976bd2d3a658041\" \"yes\""));
uint256 hash = ParseHashV(params[1], "parameter 1");
std::string strVote = params[2].get_str();
if (strVote != "yes" && strVote != "no" && strVote != "abstain") return "You can only vote 'yes', 'no' or 'abstain'";
int nVote = VOTE_ABSTAIN;
if (strVote == "yes") nVote = VOTE_YES;
if (strVote == "no") nVote = VOTE_NO;
int success = 0;
int failed = 0;
UniValue resultsObj(UniValue::VARR);
if (strCommand == "local") {
CPubKey pubKeySwiftnode;
CKey keySwiftnode;
std::string errorMessage;
UniValue statusObj(UniValue::VOBJ);
while (true) {
if (!swiftnodeSigner.SetKey(strSwiftNodePrivKey, errorMessage, keySwiftnode, pubKeySwiftnode)) {
failed++;
statusObj.push_back(Pair("node", "local"));
statusObj.push_back(Pair("result", "failed"));
statusObj.push_back(Pair("error", "Swiftnode signing error, could not set key correctly: " + errorMessage));
resultsObj.push_back(statusObj);
break;
}
CSwiftnode* pmn = mnodeman.Find(activeSwiftnode.vin);
if (pmn == NULL) {
failed++;
statusObj.push_back(Pair("node", "local"));
statusObj.push_back(Pair("result", "failed"));
statusObj.push_back(Pair("error", "Failure to find swiftnode in list : " + activeSwiftnode.vin.ToString()));
resultsObj.push_back(statusObj);
break;
}
CBudgetVote vote(activeSwiftnode.vin, hash, nVote);
if (!vote.Sign(keySwiftnode, pubKeySwiftnode)) {
failed++;
statusObj.push_back(Pair("node", "local"));
statusObj.push_back(Pair("result", "failed"));
statusObj.push_back(Pair("error", "Failure to sign."));
resultsObj.push_back(statusObj);
break;
}
std::string strError = "";
if (budget.UpdateProposal(vote, NULL, strError)) {
success++;
budget.mapSeenSwiftnodeBudgetVotes.insert(make_pair(vote.GetHash(), vote));
vote.Relay();
statusObj.push_back(Pair("node", "local"));
statusObj.push_back(Pair("result", "success"));
statusObj.push_back(Pair("error", ""));
} else {
failed++;
statusObj.push_back(Pair("node", "local"));
statusObj.push_back(Pair("result", "failed"));
statusObj.push_back(Pair("error", "Error voting : " + strError));
}
resultsObj.push_back(statusObj);
break;
}
UniValue returnObj(UniValue::VOBJ);
returnObj.push_back(Pair("overall", strprintf("Voted successfully %d time(s) and failed %d time(s).", success, failed)));
returnObj.push_back(Pair("detail", resultsObj));
return returnObj;
}
if (strCommand == "many") {
BOOST_FOREACH (CSwiftnodeConfig::CSwiftnodeEntry mne, swiftnodeConfig.getEntries()) {
std::string errorMessage;
std::vector<unsigned char> vchSwiftNodeSignature;
std::string strSwiftNodeSignMessage;
CPubKey pubKeyCollateralAddress;
CKey keyCollateralAddress;
CPubKey pubKeySwiftnode;
CKey keySwiftnode;
UniValue statusObj(UniValue::VOBJ);
if (!swiftnodeSigner.SetKey(mne.getPrivKey(), errorMessage, keySwiftnode, pubKeySwiftnode)) {
failed++;
statusObj.push_back(Pair("node", mne.getAlias()));
statusObj.push_back(Pair("result", "failed"));
statusObj.push_back(Pair("error", "Swiftnode signing error, could not set key correctly: " + errorMessage));
resultsObj.push_back(statusObj);
continue;
}
CSwiftnode* pmn = mnodeman.Find(pubKeySwiftnode);
if (pmn == NULL) {
failed++;
statusObj.push_back(Pair("node", mne.getAlias()));
statusObj.push_back(Pair("result", "failed"));
statusObj.push_back(Pair("error", "Can't find swiftnode by pubkey"));
resultsObj.push_back(statusObj);
continue;
}
CBudgetVote vote(pmn->vin, hash, nVote);
if (!vote.Sign(keySwiftnode, pubKeySwiftnode)) {
failed++;
statusObj.push_back(Pair("node", mne.getAlias()));
statusObj.push_back(Pair("result", "failed"));
statusObj.push_back(Pair("error", "Failure to sign."));
resultsObj.push_back(statusObj);
continue;
}
std::string strError = "";
if (budget.UpdateProposal(vote, NULL, strError)) {
budget.mapSeenSwiftnodeBudgetVotes.insert(make_pair(vote.GetHash(), vote));
vote.Relay();
success++;
statusObj.push_back(Pair("node", mne.getAlias()));
statusObj.push_back(Pair("result", "success"));
statusObj.push_back(Pair("error", ""));
} else {
failed++;
statusObj.push_back(Pair("node", mne.getAlias()));
statusObj.push_back(Pair("result", "failed"));
statusObj.push_back(Pair("error", strError.c_str()));
}
resultsObj.push_back(statusObj);
}
UniValue returnObj(UniValue::VOBJ);
returnObj.push_back(Pair("overall", strprintf("Voted successfully %d time(s) and failed %d time(s).", success, failed)));
returnObj.push_back(Pair("detail", resultsObj));
return returnObj;
}
if (strCommand == "alias") {
std::string strAlias = params[3].get_str();
std::vector<CSwiftnodeConfig::CSwiftnodeEntry> mnEntries;
mnEntries = swiftnodeConfig.getEntries();
BOOST_FOREACH(CSwiftnodeConfig::CSwiftnodeEntry mne, swiftnodeConfig.getEntries()) {
if( strAlias != mne.getAlias()) continue;
std::string errorMessage;
std::vector<unsigned char> vchSwiftNodeSignature;
std::string strSwiftNodeSignMessage;
CPubKey pubKeyCollateralAddress;
CKey keyCollateralAddress;
CPubKey pubKeySwiftnode;
CKey keySwiftnode;
UniValue statusObj(UniValue::VOBJ);
if(!swiftnodeSigner.SetKey(mne.getPrivKey(), errorMessage, keySwiftnode, pubKeySwiftnode)){
failed++;
statusObj.push_back(Pair("node", mne.getAlias()));
statusObj.push_back(Pair("result", "failed"));
statusObj.push_back(Pair("error", "Swiftnode signing error, could not set key correctly: " + errorMessage));
resultsObj.push_back(statusObj);
continue;
}
CSwiftnode* pmn = mnodeman.Find(pubKeySwiftnode);
if(pmn == NULL)
{
failed++;
statusObj.push_back(Pair("node", mne.getAlias()));
statusObj.push_back(Pair("result", "failed"));
statusObj.push_back(Pair("error", "Can't find swiftnode by pubkey"));
resultsObj.push_back(statusObj);
continue;
}
CBudgetVote vote(pmn->vin, hash, nVote);
if(!vote.Sign(keySwiftnode, pubKeySwiftnode)){
failed++;
statusObj.push_back(Pair("node", mne.getAlias()));
statusObj.push_back(Pair("result", "failed"));
statusObj.push_back(Pair("error", "Failure to sign."));
resultsObj.push_back(statusObj);
continue;
}
std::string strError = "";
if(budget.UpdateProposal(vote, NULL, strError)) {
budget.mapSeenSwiftnodeBudgetVotes.insert(make_pair(vote.GetHash(), vote));
vote.Relay();
success++;
statusObj.push_back(Pair("node", mne.getAlias()));
statusObj.push_back(Pair("result", "success"));
statusObj.push_back(Pair("error", ""));
} else {
failed++;
statusObj.push_back(Pair("node", mne.getAlias()));
statusObj.push_back(Pair("result", "failed"));
statusObj.push_back(Pair("error", strError.c_str()));
}
resultsObj.push_back(statusObj);
}
UniValue returnObj(UniValue::VOBJ);
returnObj.push_back(Pair("overall", strprintf("Voted successfully %d time(s) and failed %d time(s).", success, failed)));
returnObj.push_back(Pair("detail", resultsObj));
return returnObj;
}
return NullUniValue;
}
UniValue getbudgetvotes(const UniValue& params, bool fHelp)
{
if (params.size() != 1)
throw runtime_error(
"getbudgetvotes \"proposal-name\"\n"
"\nPrint vote information for a budget proposal\n"
"\nArguments:\n"
"1. \"proposal-name\": (string, required) Name of the proposal\n"
"\nResult:\n"
"[\n"
" {\n"
" \"mnId\": \"xxxx\", (string) Hash of the swiftnode's collateral transaction\n"
" \"nHash\": \"xxxx\", (string) Hash of the vote\n"
" \"Vote\": \"YES|NO\", (string) Vote cast ('YES' or 'NO')\n"
" \"nTime\": xxxx, (numeric) Time in seconds since epoch the vote was cast\n"
" \"fValid\": true|false, (boolean) 'true' if the vote is valid, 'false' otherwise\n"
" }\n"
" ,...\n"
"]\n"
"\nExamples:\n" +
HelpExampleCli("getbudgetvotes", "\"test-proposal\"") + HelpExampleRpc("getbudgetvotes", "\"test-proposal\""));
std::string strProposalName = SanitizeString(params[0].get_str());
UniValue ret(UniValue::VARR);
CBudgetProposal* pbudgetProposal = budget.FindProposal(strProposalName);
if (pbudgetProposal == NULL) throw runtime_error("Unknown proposal name");
std::map<uint256, CBudgetVote>::iterator it = pbudgetProposal->mapVotes.begin();
while (it != pbudgetProposal->mapVotes.end()) {
UniValue bObj(UniValue::VOBJ);
bObj.push_back(Pair("mnId", (*it).second.vin.prevout.hash.ToString()));
bObj.push_back(Pair("nHash", (*it).first.ToString().c_str()));
bObj.push_back(Pair("Vote", (*it).second.GetVoteString()));
bObj.push_back(Pair("nTime", (int64_t)(*it).second.nTime));
bObj.push_back(Pair("fValid", (*it).second.fValid));
ret.push_back(bObj);
it++;
}
return ret;
}
UniValue getnextsuperblock(const UniValue& params, bool fHelp)
{
if (fHelp || params.size() != 0)
throw runtime_error(
"getnextsuperblock\n"
"\nPrint the next super block height\n"
"\nResult:\n"
"n (numeric) Block height of the next super block\n"
"\nExamples:\n" +
HelpExampleCli("getnextsuperblock", "") + HelpExampleRpc("getnextsuperblock", ""));
CBlockIndex* pindexPrev = chainActive.Tip();
if (!pindexPrev) return "unknown";
int nNext = pindexPrev->nHeight - pindexPrev->nHeight % GetBudgetPaymentCycleBlocks() + GetBudgetPaymentCycleBlocks();
return nNext;
}
UniValue getbudgetprojection(const UniValue& params, bool fHelp)
{
if (fHelp || params.size() != 0)
throw runtime_error(
"getbudgetprojection\n"
"\nShow the projection of which proposals will be paid the next cycle\n"
"\nResult:\n"
"[\n"
" {\n"
" \"Name\": \"xxxx\", (string) Proposal Name\n"
" \"URL\": \"xxxx\", (string) Proposal URL\n"
" \"Hash\": \"xxxx\", (string) Proposal vote hash\n"
" \"FeeHash\": \"xxxx\", (string) Proposal fee hash\n"
" \"BlockStart\": n, (numeric) Proposal starting block\n"
" \"BlockEnd\": n, (numeric) Proposal ending block\n"
" \"TotalPaymentCount\": n, (numeric) Number of payments\n"
" \"RemainingPaymentCount\": n, (numeric) Number of remaining payments\n"
" \"PaymentAddress\": \"xxxx\", (string) SWIFT address of payment\n"
" \"Ratio\": x.xxx, (numeric) Ratio of yeas vs nays\n"
" \"Yeas\": n, (numeric) Number of yea votes\n"
" \"Nays\": n, (numeric) Number of nay votes\n"
" \"Abstains\": n, (numeric) Number of abstains\n"
" \"TotalPayment\": xxx.xxx, (numeric) Total payment amount\n"
" \"MonthlyPayment\": xxx.xxx, (numeric) Monthly payment amount\n"
" \"IsEstablished\": true|false, (boolean) Established (true) or (false)\n"
" \"IsValid\": true|false, (boolean) Valid (true) or Invalid (false)\n"
" \"IsValidReason\": \"xxxx\", (string) Error message, if any\n"
" \"fValid\": true|false, (boolean) Valid (true) or Invalid (false)\n"
" \"Alloted\": xxx.xxx, (numeric) Amount alloted in current period\n"
" \"TotalBudgetAlloted\": xxx.xxx (numeric) Total alloted\n"
" }\n"
" ,...\n"
"]\n"
"\nExamples:\n" +
HelpExampleCli("getbudgetprojection", "") + HelpExampleRpc("getbudgetprojection", ""));
UniValue ret(UniValue::VARR);
UniValue resultObj(UniValue::VOBJ);
CAmount nTotalAllotted = 0;
std::vector<CBudgetProposal*> winningProps = budget.GetBudget();
BOOST_FOREACH (CBudgetProposal* pbudgetProposal, winningProps) {
nTotalAllotted += pbudgetProposal->GetAllotted();
CTxDestination address1;
ExtractDestination(pbudgetProposal->GetPayee(), address1);
CBitcoinAddress address2(address1);
UniValue bObj(UniValue::VOBJ);
budgetToJSON(pbudgetProposal, bObj);
bObj.push_back(Pair("Alloted", ValueFromAmount(pbudgetProposal->GetAllotted())));
bObj.push_back(Pair("TotalBudgetAlloted", ValueFromAmount(nTotalAllotted)));
ret.push_back(bObj);
}
return ret;
}
UniValue getbudgetinfo(const UniValue& params, bool fHelp)
{
if (fHelp || params.size() > 1)
throw runtime_error(
"getbudgetinfo ( \"proposal\" )\n"
"\nShow current swiftnode budgets\n"
"\nArguments:\n"
"1. \"proposal\" (string, optional) Proposal name\n"
"\nResult:\n"
"[\n"
" {\n"
" \"Name\": \"xxxx\", (string) Proposal Name\n"
" \"URL\": \"xxxx\", (string) Proposal URL\n"
" \"Hash\": \"xxxx\", (string) Proposal vote hash\n"
" \"FeeHash\": \"xxxx\", (string) Proposal fee hash\n"
" \"BlockStart\": n, (numeric) Proposal starting block\n"
" \"BlockEnd\": n, (numeric) Proposal ending block\n"
" \"TotalPaymentCount\": n, (numeric) Number of payments\n"
" \"RemainingPaymentCount\": n, (numeric) Number of remaining payments\n"
" \"PaymentAddress\": \"xxxx\", (string) SWIFT address of payment\n"
" \"Ratio\": x.xxx, (numeric) Ratio of yeas vs nays\n"
" \"Yeas\": n, (numeric) Number of yea votes\n"
" \"Nays\": n, (numeric) Number of nay votes\n"
" \"Abstains\": n, (numeric) Number of abstains\n"
" \"TotalPayment\": xxx.xxx, (numeric) Total payment amount\n"
" \"MonthlyPayment\": xxx.xxx, (numeric) Monthly payment amount\n"
" \"IsEstablished\": true|false, (boolean) Established (true) or (false)\n"
" \"IsValid\": true|false, (boolean) Valid (true) or Invalid (false)\n"
" \"IsValidReason\": \"xxxx\", (string) Error message, if any\n"
" \"fValid\": true|false, (boolean) Valid (true) or Invalid (false)\n"
" }\n"
" ,...\n"
"]\n"
"\nExamples:\n" +
HelpExampleCli("getbudgetprojection", "") + HelpExampleRpc("getbudgetprojection", ""));
UniValue ret(UniValue::VARR);
std::string strShow = "valid";
if (params.size() == 1) {
std::string strProposalName = SanitizeString(params[0].get_str());
CBudgetProposal* pbudgetProposal = budget.FindProposal(strProposalName);
if (pbudgetProposal == NULL) throw runtime_error("Unknown proposal name");
UniValue bObj(UniValue::VOBJ);
budgetToJSON(pbudgetProposal, bObj);
ret.push_back(bObj);
return ret;
}
std::vector<CBudgetProposal*> winningProps = budget.GetAllProposals();
BOOST_FOREACH (CBudgetProposal* pbudgetProposal, winningProps) {
if (strShow == "valid" && !pbudgetProposal->fValid) continue;
UniValue bObj(UniValue::VOBJ);
budgetToJSON(pbudgetProposal, bObj);
ret.push_back(bObj);
}
return ret;
}
UniValue mnbudgetrawvote(const UniValue& params, bool fHelp)
{
if (fHelp || params.size() != 6)
throw runtime_error(
"mnbudgetrawvote \"swiftnode-tx-hash\" swiftnode-tx-index \"proposal-hash\" yes|no time \"vote-sig\"\n"
"\nCompile and relay a proposal vote with provided external signature instead of signing vote internally\n"
"\nArguments:\n"
"1. \"swiftnode-tx-hash\" (string, required) Transaction hash for the swiftnode\n"
"2. swiftnode-tx-index (numeric, required) Output index for the swiftnode\n"
"3. \"proposal-hash\" (string, required) Proposal vote hash\n"
"4. yes|no (boolean, required) Vote to cast\n"
"5. time (numeric, required) Time since epoch in seconds\n"
"6. \"vote-sig\" (string, required) External signature\n"
"\nResult:\n"
"\"status\" (string) Vote status or error message\n"
"\nExamples:\n" +
HelpExampleCli("mnbudgetrawvote", "") + HelpExampleRpc("mnbudgetrawvote", ""));
uint256 hashMnTx = ParseHashV(params[0], "mn tx hash");
int nMnTxIndex = params[1].get_int();
CTxIn vin = CTxIn(hashMnTx, nMnTxIndex);
uint256 hashProposal = ParseHashV(params[2], "Proposal hash");
std::string strVote = params[3].get_str();
if (strVote != "yes" && strVote != "no" && strVote != "abstain") return "You can only vote 'yes', 'no' or 'abstain'";
int nVote = VOTE_ABSTAIN;
if (strVote == "yes") nVote = VOTE_YES;
if (strVote == "no") nVote = VOTE_NO;
int64_t nTime = params[4].get_int64();
std::string strSig = params[5].get_str();
bool fInvalid = false;
vector<unsigned char> vchSig = DecodeBase64(strSig.c_str(), &fInvalid);
if (fInvalid)
throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Malformed base64 encoding");
CSwiftnode* pmn = mnodeman.Find(vin);
if (pmn == NULL) {
return "Failure to find swiftnode in list : " + vin.ToString();
}
CBudgetVote vote(vin, hashProposal, nVote);
vote.nTime = nTime;
vote.vchSig = vchSig;
if (!vote.SignatureValid(true)) {
return "Failure to verify signature.";
}
std::string strError = "";
if (budget.UpdateProposal(vote, NULL, strError)) {
budget.mapSeenSwiftnodeBudgetVotes.insert(make_pair(vote.GetHash(), vote));
vote.Relay();
return "Voted successfully";
} else {
return "Error voting : " + strError;
}
}
UniValue mnfinalbudget(const UniValue& params, bool fHelp)
{
string strCommand;
if (params.size() >= 1)
strCommand = params[0].get_str();
if (fHelp ||
(strCommand != "suggest" && strCommand != "vote-many" && strCommand != "vote" && strCommand != "show" && strCommand != "getvotes"))
throw runtime_error(
"mnfinalbudget \"command\"... ( \"passphrase\" )\n"
"Vote or show current budgets\n"
"\nAvailable commands:\n"
" vote-many - Vote on a finalized budget\n"
" vote - Vote on a finalized budget\n"
" show - Show existing finalized budgets\n"
" getvotes - Get vote information for each finalized budget\n");
if (strCommand == "vote-many") {
if (params.size() != 2)
throw runtime_error("Correct usage is 'mnfinalbudget vote-many BUDGET_HASH'");
std::string strHash = params[1].get_str();
uint256 hash(strHash);
int success = 0;
int failed = 0;
UniValue resultsObj(UniValue::VOBJ);
BOOST_FOREACH (CSwiftnodeConfig::CSwiftnodeEntry mne, swiftnodeConfig.getEntries()) {
std::string errorMessage;
std::vector<unsigned char> vchSwiftNodeSignature;
std::string strSwiftNodeSignMessage;
CPubKey pubKeyCollateralAddress;
CKey keyCollateralAddress;
CPubKey pubKeySwiftnode;
CKey keySwiftnode;
UniValue statusObj(UniValue::VOBJ);
if (!swiftnodeSigner.SetKey(mne.getPrivKey(), errorMessage, keySwiftnode, pubKeySwiftnode)) {
failed++;
statusObj.push_back(Pair("result", "failed"));
statusObj.push_back(Pair("errorMessage", "Swiftnode signing error, could not set key correctly: " + errorMessage));
resultsObj.push_back(Pair(mne.getAlias(), statusObj));
continue;
}
CSwiftnode* pmn = mnodeman.Find(pubKeySwiftnode);
if (pmn == NULL) {
failed++;
statusObj.push_back(Pair("result", "failed"));
statusObj.push_back(Pair("errorMessage", "Can't find swiftnode by pubkey"));
resultsObj.push_back(Pair(mne.getAlias(), statusObj));
continue;
}
CFinalizedBudgetVote vote(pmn->vin, hash);
if (!vote.Sign(keySwiftnode, pubKeySwiftnode)) {
failed++;
statusObj.push_back(Pair("result", "failed"));
statusObj.push_back(Pair("errorMessage", "Failure to sign."));
resultsObj.push_back(Pair(mne.getAlias(), statusObj));
continue;
}
std::string strError = "";
if (budget.UpdateFinalizedBudget(vote, NULL, strError)) {
budget.mapSeenFinalizedBudgetVotes.insert(make_pair(vote.GetHash(), vote));
vote.Relay();
success++;
statusObj.push_back(Pair("result", "success"));
} else {
failed++;
statusObj.push_back(Pair("result", strError.c_str()));
}
resultsObj.push_back(Pair(mne.getAlias(), statusObj));
}
UniValue returnObj(UniValue::VOBJ);
returnObj.push_back(Pair("overall", strprintf("Voted successfully %d time(s) and failed %d time(s).", success, failed)));
returnObj.push_back(Pair("detail", resultsObj));
return returnObj;
}
if (strCommand == "vote") {
if (params.size() != 2)
throw runtime_error("Correct usage is 'mnfinalbudget vote BUDGET_HASH'");
std::string strHash = params[1].get_str();
uint256 hash(strHash);
CPubKey pubKeySwiftnode;
CKey keySwiftnode;
std::string errorMessage;
if (!swiftnodeSigner.SetKey(strSwiftNodePrivKey, errorMessage, keySwiftnode, pubKeySwiftnode))
return "Error upon calling SetKey";
CSwiftnode* pmn = mnodeman.Find(activeSwiftnode.vin);
if (pmn == NULL) {
return "Failure to find swiftnode in list : " + activeSwiftnode.vin.ToString();
}
CFinalizedBudgetVote vote(activeSwiftnode.vin, hash);
if (!vote.Sign(keySwiftnode, pubKeySwiftnode)) {
return "Failure to sign.";
}
std::string strError = "";
if (budget.UpdateFinalizedBudget(vote, NULL, strError)) {
budget.mapSeenFinalizedBudgetVotes.insert(make_pair(vote.GetHash(), vote));
vote.Relay();
return "success";
} else {
return "Error voting : " + strError;
}
}
if (strCommand == "show") {
UniValue resultObj(UniValue::VOBJ);
std::vector<CFinalizedBudget*> winningFbs = budget.GetFinalizedBudgets();
BOOST_FOREACH (CFinalizedBudget* finalizedBudget, winningFbs) {
UniValue bObj(UniValue::VOBJ);
bObj.push_back(Pair("FeeTX", finalizedBudget->nFeeTXHash.ToString()));
bObj.push_back(Pair("Hash", finalizedBudget->GetHash().ToString()));
bObj.push_back(Pair("BlockStart", (int64_t)finalizedBudget->GetBlockStart()));
bObj.push_back(Pair("BlockEnd", (int64_t)finalizedBudget->GetBlockEnd()));
bObj.push_back(Pair("Proposals", finalizedBudget->GetProposals()));
bObj.push_back(Pair("VoteCount", (int64_t)finalizedBudget->GetVoteCount()));
bObj.push_back(Pair("Status", finalizedBudget->GetStatus()));
std::string strError = "";
bObj.push_back(Pair("IsValid", finalizedBudget->IsValid(strError)));
bObj.push_back(Pair("IsValidReason", strError.c_str()));
resultObj.push_back(Pair(finalizedBudget->GetName(), bObj));
}
return resultObj;
}
if (strCommand == "getvotes") {
if (params.size() != 2)
throw runtime_error("Correct usage is 'mnbudget getvotes budget-hash'");
std::string strHash = params[1].get_str();
uint256 hash(strHash);
UniValue obj(UniValue::VOBJ);
CFinalizedBudget* pfinalBudget = budget.FindFinalizedBudget(hash);
if (pfinalBudget == NULL) return "Unknown budget hash";
std::map<uint256, CFinalizedBudgetVote>::iterator it = pfinalBudget->mapVotes.begin();
while (it != pfinalBudget->mapVotes.end()) {
UniValue bObj(UniValue::VOBJ);
bObj.push_back(Pair("nHash", (*it).first.ToString().c_str()));
bObj.push_back(Pair("nTime", (int64_t)(*it).second.nTime));
bObj.push_back(Pair("fValid", (*it).second.fValid));
obj.push_back(Pair((*it).second.vin.prevout.ToStringShort(), bObj));
it++;
}
return obj;
}
return NullUniValue;
}
UniValue checkbudgets(const UniValue& params, bool fHelp)
{
if (fHelp || params.size() != 0)
throw runtime_error(
"checkbudgets\n"
"\nInitiates a buddget check cycle manually\n"
"\nExamples:\n" +
HelpExampleCli("checkbudgets", "") + HelpExampleRpc("checkbudgets", ""));
budget.CheckAndRemove();
return NullUniValue;
}
| [
"markus.ghambari@gmail.com"
] | markus.ghambari@gmail.com |
5d84ae40b0f1a66cf5a31d0785e283cba8926be8 | 97157057f8edcca72977f9933c8e93b60fc88585 | /plugins/GcompPlugin/include/GcompPlugin/GcompPlugin_plugin.h | 140633696b42e440a56f6eb51857482be9a79a3c | [] | no_license | ADVRHumanoids/tutorial_iros2018 | 8f2f445fdc80c354ac643921b91141f7be60efd5 | f2ba0ac2635e1c150ba95cdcc6018f57702eee89 | refs/heads/master | 2020-03-29T19:48:40.666734 | 2019-10-16T10:57:22 | 2019-10-16T10:57:22 | 150,281,946 | 11 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,778 | h | /*
* Copyright (C) 2017 IIT-ADVR
* Author:
* email:
*
* This program 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 3 of the License, or
* (at your option) any later version.
*
* 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. 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 program. If not, see <http://www.gnu.org/licenses/>
*/
#ifndef GcompPlugin_PLUGIN_H_
#define GcompPlugin_PLUGIN_H_
#include <XCM/XBotControlPlugin.h>
#include <OpenSoT/utils/ForceOptimization.h>
namespace XBotPlugin {
/**
* @brief GcompPlugin XBot RT Plugin
*
**/
class GcompPlugin : public XBot::XBotControlPlugin
{
public:
virtual bool init_control_plugin(XBot::Handle::Ptr handle);
virtual bool close();
virtual void on_start(double time);
virtual void on_stop(double time);
virtual ~GcompPlugin();
protected:
virtual void control_loop(double time, double period);
private:
XBot::RobotInterface::Ptr _robot;
XBot::ModelInterface::Ptr _model;
XBot::ImuSensor::ConstPtr _imu;
XBot::SharedObject<double> _shobj_stiffness;
double _start_time;
std::vector<std::string> _contact_links;
std::vector<Eigen::Vector6d> _Fc;
Eigen::VectorXd _gcomp, _tau_d, _k0, _k;
Eigen::MatrixXd _JC;
XBot::MatLogger::Ptr _logger;
OpenSoT::utils::ForceOptimization::Ptr _force_opt;
};
}
#endif // GcompPlugin_PLUGIN_H_
| [
"arturo.laurenzi@iit.it"
] | arturo.laurenzi@iit.it |
0ea951accfc22b93880d0688d8485ea018135e17 | 96c08881a7a401390b9210a5bd68dccacb6443c8 | /src/packet_t.h | f5fa8a5035e517f6172f999a10e737a5bcc3abed | [] | no_license | zebraspb/stctestcpp | a90c47ab8b0d1f86a4db3d273f0d15399e185136 | 83e995ada0a5bd7c31288dfb4365d77fb5807da4 | refs/heads/master | 2023-01-06T21:56:44.004341 | 2020-10-26T12:02:44 | 2020-10-26T12:02:44 | 305,719,754 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,196 | h | #pragma once
#include <stdint.h>
#include <string.h>
#include <tuple>
#include <vector>
#include <functional>
struct packet_head_st {
uint32_t packet_num ;
uint32_t elements_count ;
packet_head_st( uint32_t packet_num )
: packet_num( packet_num ), elements_count( 0 )
{}
} ;
struct element_head_st {
uint32_t el_num ; // element number in orig sequence
uint32_t el_len_bytes ;
uint32_t part_num ;
uint32_t part_bytes ;
element_head_st( uint32_t el_num, uint32_t el_len_bytes )
: el_num( el_num ), el_len_bytes( el_len_bytes )
, part_num( 0 ), part_bytes( el_len_bytes )
{}
} ;
struct lastelem_head_st {
element_head_st eh ;
uint32_t part_progress ;
lastelem_head_st( ) : eh( 0, 0 ), part_progress( 0 ) { }
};
class packet_t {
public:
enum class addelemret : uint32_t {
add_full,
add_part,
add_null,
last = 255
};
packet_t( uint32_t packet_num, uint32_t max_packet_payload )
: max_packet_payload( max_packet_payload )
, payload( max_packet_payload )
, progress( sizeof( packet_head_st ) )
{
packet_head = new( payload.data( ) ) packet_head_st( packet_num ) ;
}
addelemret add_elem( const void *data, uint32_t data_size, uint32_t elemnum ) {
std::cout << "add elem num " << elemnum << " with length " << data_size << std::endl ;
if( progress + sizeof( element_head_st ) + 1 >= max_packet_payload )
return addelemret::add_null ; //can't add one byte of body
element_head_st *elem_head = new( payload.data( ) + progress ) element_head_st( elemnum, data_size ) ;
progress += sizeof( element_head_st ) ;
uint32_t already_send = last_element.part_progress ;
uint32_t need_to_send = data_size - already_send ;
uint32_t packet_left = max_packet_payload - progress ;
uint32_t part_bytes = std::min<uint32_t>( need_to_send, packet_left ) ;
elem_head->part_num = last_element.eh.part_num ;
elem_head->part_bytes = part_bytes ;
// std::cout << "already_send " << already_send << " need_to_send " << need_to_send << " packet_left " << packet_left <<
// " elem_head->part_num " << elem_head->part_num << " elem_head->part_bytes " << elem_head->part_bytes << std::endl ;
const uint8_t *p = reinterpret_cast<const uint8_t *>( data ) ;
memcpy( payload.data( ) + progress, p + already_send, part_bytes ) ;
progress += part_bytes ;
++packet_head->elements_count ;
last_element.part_progress = already_send + part_bytes ;
// std::cout << "last_element.part_progress " << last_element.part_progress << " data_size " << data_size << std::endl ;
if( last_element.part_progress == data_size ) {
reset_last_element( ) ;
return addelemret::add_full ;
}
last_element.eh = *elem_head ;
++last_element.eh.part_num ;
return addelemret::add_part ;
}
void reset_last_element( ) {
memset( &last_element, 0, sizeof( lastelem_head_st ) ) ;
}
std::tuple<std::vector<uint8_t> &, uint32_t> get_packet( ) {
return std::make_tuple( std::ref( payload ), progress ) ;
}
private:
uint32_t max_packet_payload ;
std::vector<uint8_t> payload ;
uint32_t progress ;
packet_head_st *packet_head ;
static lastelem_head_st last_element ;
} ;
lastelem_head_st packet_t::last_element ;
| [
"karabeshkin@stc-spb.ru"
] | karabeshkin@stc-spb.ru |
12f85d33559050034a97a8e3c6c5f1ea42751d12 | 682837840dca0206ac5d72e6be63ffbdab1a2d4a | /Product of Array Except Self.cpp | 5f4d20879713110ad9527f8d99c84ecaf12f800d | [] | no_license | tusharjaiswal123/leetcode | fddcd8d6d822f233c7f8357cc6b4d4b2c492d683 | b8dbdbe921739ff3b347e252e9daf90e1c09c8f9 | refs/heads/master | 2023-06-18T11:29:13.795447 | 2021-07-12T12:14:05 | 2021-07-12T12:14:05 | 265,611,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,057 | cpp | PROBLEM:
Given an array nums of n integers where n > 1, return an array output such that output[i] is equal to the product of all the
elements of nums except nums[i].
Example:
Input: [1,2,3,4]
Output: [24,12,8,6]
Constraint: It's guaranteed that the product of the elements of any prefix or suffix of the array (including the whole array) fits
in a 32 bit integer.
Note: Please solve it without division and in O(n).
Follow up:
Could you solve it with constant space complexity? (The output array does not count as extra space for the purpose of space
complexity analysis.)
SOLUTION:
class Solution {
public:
vector<int> productExceptSelf(vector<int>& nums) {
int i,n,r;
n=nums.size();
vector<int> ans(n);
ans[0]=1;
for(i=1;i<n;i++)
{
ans[i]=ans[i-1]*nums[i-1];
}
r=1;
for(i=n-1;i>=0;i--)
{
ans[i]=ans[i]*r;
r=r*nums[i];
}
return ans;
}
};
| [
"noreply@github.com"
] | tusharjaiswal123.noreply@github.com |
7f31c9961dba12a6e8b648b9c0da341e351c35dd | e4e94aa61625e146e45766d16b5c8e18efc9095c | /addons/ofxEasing.h | 0653baf0dd7f943034afa9f0af5115a4c45177b7 | [] | no_license | danbz/making-a-time-machine | 55b6f91eb62a5ff3d4b80a19c9da900d9f9ab0cf | f45f7febe80aff80ee40063979c3d06d612aac9a | refs/heads/master | 2021-01-19T16:19:35.930174 | 2017-10-18T16:58:53 | 2017-10-18T16:58:53 | 88,261,046 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,189 | h | #ifndef EASING_H_
#define EASING_H_
#include <cmath>
#include <functional>
namespace ofxeasing{
constexpr float pi = 3.14159265358979323846f;
class back{
public:
inline static float easeIn_s(float t,float b , float c, float d, float s) {
float postFix = t/=d;
return c*(postFix)*t*((s+1)*t - s) + b;
}
inline static float easeIn (float t,float b , float c, float d) {
return easeIn_s(t, b, c, d, 1.70158f);
}
inline static float easeOut_s(float t,float b , float c, float d, float s) {
t=t/d-1;
return c*(t*t*((s+1)*t + s) + 1) + b;
}
inline static float easeOut(float t,float b , float c, float d) {
return easeOut_s(t, b, c, d, 1.70158f);
}
inline static float easeInOut_s(float t,float b , float c, float d, float s) {
s*=(1.525f);
if ((t/=d/2) < 1){
return c/2*(t*t*((s+1)*t - s)) + b;
}
float postFix = t-=2;
return c/2*((postFix)*t*((s+1)*t + s) + 2) + b;
}
inline static float easeInOut(float t,float b , float c, float d) {
return easeInOut_s(t, b, c, d, 1.70158f);
}
};
class bounce{
public:
inline static float easeIn (float t,float b , float c, float d) {
return c - easeOut (d-t, 0, c, d) + b;
}
inline static float easeOut(float t,float b , float c, float d) {
if ((t/=d) < (1/2.75f)) {
return c*(7.5625f*t*t) + b;
} else if (t < (2/2.75f)) {
float postFix = t-=(1.5f/2.75f);
return c*(7.5625f*(postFix)*t + .75f) + b;
} else if (t < (2.5/2.75)) {
float postFix = t-=(2.25f/2.75f);
return c*(7.5625f*(postFix)*t + .9375f) + b;
} else {
float postFix = t-=(2.625f/2.75f);
return c*(7.5625f*(postFix)*t + .984375f) + b;
}
}
inline static float easeInOut(float t,float b , float c, float d) {
if (t < d/2) return easeIn (t*2, 0, c, d) * .5f + b;
else return easeOut (t*2-d, 0, c, d) * .5f + c*.5f + b;
}
};
class circ{
public:
inline static float easeIn (float t ,float b , float c, float d) {
return -c * (sqrt(1 - (t/=d)*t) - 1) + b;
}
inline static float easeOut(float t,float b , float c, float d) {
return c * sqrt(1 - (t=t/d-1)*t) + b;
}
inline static float easeInOut(float t,float b , float c, float d) {
if ((t/=d/2) < 1) return c/2 * (1 - sqrt(1 - t*t)) + b;
return c/2 * (sqrt(1 - (t-=2)*t) + 1) + b;
}
};
class cubic{
public:
inline static float easeIn (float t,float b , float c, float d) {
return c*(t/=d)*t*t + b;
}
inline static float easeOut(float t,float b , float c, float d) {
return c*((t=t/d-1)*t*t + 1) + b;
}
inline static float easeInOut(float t,float b , float c, float d) {
if ((t/=d/2) < 1) return c/2*t*t*t + b;
return c/2*((t-=2)*t*t + 2) + b;
}
};
class elastic{
public:
inline static float easeInPow (float t,float b , float c, float d, float power) {
if (t==0) return b; if ((t/=d)==1) return b+c;
float p=d*.3f;
float a=c;
float s=p/4;
float postFix =a*pow(2,power*(t-=1)); // this is a fix, again, with post-increment operators
return -(postFix * sin((t*d-s)*(2*float(pi))/p )) + b;
}
inline static float easeOutPow(float t,float b , float c, float d, float power) {
if (t==0) return b; if ((t/=d)==1) return b+c;
float p=d*.3f;
float a=c;
float s=p/4;
return (a*pow(2,-power*t) * sin( (t*d-s)*(2*pi)/p ) + c + b);
}
inline static float easeInOutPow(float t,float b , float c, float d, float power) {
if (t==0) return b; if ((t/=d/2)==2) return b+c;
float p=d*(.3f*1.5f);
float a=c;
float s=p/4;
if (t < 1) {
float postFix =a*pow(2,power*(t-=1)); // postIncrement is evil
return -.5f*(postFix* sin( (t*d-s)*(2*pi)/p )) + b;
}
float postFix = a*pow(2,-power*(t-=1)); // postIncrement is evil
return postFix * sin( (t*d-s)*(2*pi)/p )*.5f + c + b;
}
inline static float easeIn (float t,float b , float c, float d) {
return easeInPow(t,b,c,d,10);
}
inline static float easeOut(float t,float b , float c, float d) {
return easeOutPow(t,b,c,d,10);
}
inline static float easeInOut(float t,float b , float c, float d) {
return easeInOutPow(t,b,c,d,10);
}
};
class exp{
public:
inline static float easeIn (float t,float b , float c, float d) {
return (t==0) ? b : c * pow(2, 10 * (t/d - 1)) + b;
}
inline static float easeOut(float t,float b , float c, float d) {
return (t==d) ? b+c : c * (-pow(2, -10 * t/d) + 1) + b;
}
inline static float easeInOut(float t,float b , float c, float d) {
if (t==0) return b;
if (t==d) return b+c;
if ((t/=d/2) < 1) return c/2 * pow(2, 10 * (t - 1)) + b;
return c/2 * (-pow(2, -10 * --t) + 2) + b;
}
};
class linear{
public:
inline static float easeNone (float t,float b , float c, float d) {
return c*t/d + b;
}
inline static float easeIn (float t,float b , float c, float d) {
return c*t/d + b;
}
inline static float easeOut(float t,float b , float c, float d) {
return c*t/d + b;
}
inline static float easeInOut(float t,float b , float c, float d) {
return c*t/d + b;
}
};
class quad{
public:
inline static float easeIn (float t,float b , float c, float d) {
return c*(t/=d)*t + b;
}
inline static float easeOut(float t,float b , float c, float d) {
return -c *(t/=d)*(t-2) + b;
}
inline static float easeInOut(float t,float b , float c, float d) {
if ((t/=d/2) < 1) return c/2*t*t + b;
return -c/2 * ((--t)*(t-2) - 1) + b;
/*
originally return -c/2 * (((t-2)*(--t)) - 1) + b;
I've had to swap (--t)*(t-2) due to diffence in behaviour in
pre-increment operators between java and c++, after hours
of joy
James George:: The fix refered to above actually broke the equation,
it would land at 50% all the time at the end
copying back the original equation from online fixed it...
potentially compiler dependent.
*/
}
};
class quart{
public:
inline static float easeIn (float t,float b , float c, float d) {
return c*(t/=d)*t*t*t + b;
}
inline static float easeOut(float t,float b , float c, float d) {
return -c * ((t=t/d-1)*t*t*t - 1) + b;
}
inline static float easeInOut(float t,float b , float c, float d) {
if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
return -c/2 * ((t-=2)*t*t*t - 2) + b;
}
};
class quint{
public:
inline static float easeIn (float t,float b , float c, float d) {
return c*(t/=d)*t*t*t*t + b;
}
inline static float easeOut(float t,float b , float c, float d) {
return c*((t=t/d-1)*t*t*t*t + 1) + b;
}
inline static float easeInOut(float t,float b , float c, float d) {
if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
return c/2*((t-=2)*t*t*t*t + 2) + b;
}
};
class sine{
public:
inline static float easeIn (float t,float b , float c, float d) {
return -c * cos(t/d * (float(pi)/2)) + c + b;
}
inline static float easeOut(float t,float b , float c, float d) {
return c * sin(t/d * (float(pi)/2)) + b;
}
inline static float easeInOut(float t,float b , float c, float d) {
return -c/2 * (cos(float(pi)*t/d) - 1) + b;
}
};
template<typename Function, typename ...Args>
std::function<float(float,float,float,float)> bind(Function f, Args... parameters){
return std::bind(f, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4, parameters...);
}
inline float map(float v, float minIn, float maxIn, float minOut, float maxOut, std::function<float(float,float,float,float)> easing){
float t = v - minIn;
float c = maxOut - minOut;
float d = maxIn - minIn;
float b = minOut;
return easing(t,b,c,d);
}
template<typename Function, typename ...Args>
inline float map(float v, float minIn, float maxIn, float minOut, float maxOut, Function easing, Args... parameters){
return map(v, minIn, maxIn, minOut, maxOut, bind(easing, parameters...));
}
inline float map_clamp(float v, float minIn, float maxIn, float minOut, float maxOut, std::function<float(float,float,float,float)> easing){
v = std::min(std::max(v, minIn), maxIn);
return map(v,minIn,maxIn,minOut,maxOut,easing);
}
template<typename Function, typename ...Args>
inline float map_clamp(float v, float minIn, float maxIn, float minOut, float maxOut, Function easing, Args... parameters){
return map_clamp(v, minIn, maxIn, minOut, maxOut, bind(easing, parameters...));
}
typedef std::function<float(float, float, float, float)> function;
}
#endif /* EASING_H_ */
| [
"dan@buzzo.com"
] | dan@buzzo.com |
296a9f13903f8e51a4cfe12e23a81214be673df0 | e5cfc4008c507182fedeb2889b0b5abdb769a74e | /newton-4.00/sdk/dCollision/ndShapeStaticMesh.cpp | dad87a93c5d154790a8c28893ebe29d281d9a2a3 | [
"Zlib"
] | permissive | Hurleyworks/newton-dynamics | 06e9d9ccdedaa41f86a748ff2354abfed46e6581 | 531c2623e47ec3f22adfd4f69ba4a8a11ea80275 | refs/heads/master | 2023-03-20T04:48:40.044613 | 2022-11-16T23:32:51 | 2022-11-16T23:32:51 | 158,986,769 | 0 | 0 | NOASSERTION | 2018-11-30T00:54:56 | 2018-11-25T01:06:56 | C++ | UTF-8 | C++ | false | false | 7,889 | cpp | /* Copyright (c) <2003-2022> <Julio Jerez, Newton Game Dynamics>
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* including commercial applications, and to alter it and redistribute it
* freely, subject to the following restrictions:
*
* 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software. If you use this software
* in a product, an acknowledgment in the product documentation would be
* appreciated but is not required.
*
* 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.
*
* 3. This notice may not be removed or altered from any source distribution.
*/
#include "ndCoreStdafx.h"
#include "ndCollisionStdafx.h"
#include "ndShapeInstance.h"
#include "ndContactSolver.h"
#include "ndCollisionStdafx.h"
#include "ndShapeStaticMesh.h"
D_CLASS_REFLECTION_IMPLEMENT_LOADER(ndShapeStaticMesh)
void ndPolygonMeshDesc::SortFaceArray()
{
ndInt32 stride = 8;
if (m_faceCount >= 8)
{
ndInt32 stack[D_MAX_COLLIDING_FACES][2];
stack[0][0] = 0;
stack[0][1] = m_faceCount - 1;
ndInt32 stackIndex = 1;
while (stackIndex)
{
stackIndex--;
ndInt32 lo = stack[stackIndex][0];
ndInt32 hi = stack[stackIndex][1];
if ((hi - lo) > stride)
{
ndInt32 i = lo;
ndInt32 j = hi;
ndFloat32 dist = m_hitDistance[(lo + hi) >> 1];
do
{
while (m_hitDistance[i] < dist) i++;
while (m_hitDistance[j] > dist) j--;
if (i <= j)
{
ndSwap(m_hitDistance[i], m_hitDistance[j]);
ndSwap(m_faceIndexStart[i], m_faceIndexStart[j]);
ndSwap(m_faceIndexCount[i], m_faceIndexCount[j]);
i++;
j--;
}
} while (i <= j);
if (i < hi)
{
stack[stackIndex][0] = i;
stack[stackIndex][1] = hi;
stackIndex++;
}
if (lo < j) {
stack[stackIndex][0] = lo;
stack[stackIndex][1] = j;
stackIndex++;
}
ndAssert(stackIndex < ndInt32(sizeof(stack) / (2 * sizeof(stack[0][0]))));
}
}
}
stride = stride * 2;
if (m_faceCount < stride)
{
stride = m_faceCount;
}
for (ndInt32 i = 1; i < stride; ++i)
{
if (m_hitDistance[i] < m_hitDistance[0])
{
ndSwap(m_hitDistance[i], m_hitDistance[0]);
ndSwap(m_faceIndexStart[i], m_faceIndexStart[0]);
ndSwap(m_faceIndexCount[i], m_faceIndexCount[0]);
}
}
for (ndInt32 i = 1; i < m_faceCount; ++i)
{
ndInt32 j = i;
ndInt32 ptr = m_faceIndexStart[i];
ndInt32 count = m_faceIndexCount[i];
ndFloat32 dist = m_hitDistance[i];
for (; dist < m_hitDistance[j - 1]; j--)
{
ndAssert(j > 0);
m_hitDistance[j] = m_hitDistance[j - 1];
m_faceIndexStart[j] = m_faceIndexStart[j - 1];
m_faceIndexCount[j] = m_faceIndexCount[j - 1];
}
m_hitDistance[j] = dist;
m_faceIndexStart[j] = ptr;
m_faceIndexCount[j] = count;
}
#ifdef _DEBUG
for (ndInt32 i = 0; i < m_faceCount - 1; ++i)
{
ndAssert(m_hitDistance[i] <= m_hitDistance[i + 1]);
}
#endif
}
ndPolygonMeshDesc::ndPolygonMeshDesc(ndContactSolver& proxy, bool ccdMode)
:ndFastAabb()
,m_boxDistanceTravelInMeshSpace(ndVector::m_zero)
,m_faceCount(0)
,m_vertexStrideInBytes(0)
,m_skinMargin(proxy.m_skinMargin)
,m_convexInstance(&proxy.m_instance0)
,m_polySoupInstance(&proxy.m_instance1)
,m_vertex(nullptr)
,m_faceIndexCount(nullptr)
,m_faceVertexIndex(nullptr)
,m_faceIndexStart(nullptr)
,m_hitDistance(nullptr)
,m_me(nullptr)
,m_maxT(ndFloat32(1.0f))
,m_globalIndexCount(0)
,m_threadId(proxy.m_threadId)
,m_doContinueCollisionTest(ccdMode)
{
const ndMatrix& hullMatrix = m_convexInstance->GetGlobalMatrix();
const ndMatrix& soupMatrix = m_polySoupInstance->GetGlobalMatrix();
ndMatrix& matrix = *this;
matrix = hullMatrix * soupMatrix.Inverse();
ndMatrix convexMatrix (ndGetIdentityMatrix());
switch (m_polySoupInstance->GetScaleType())
{
case ndShapeInstance::m_unit:
{
break;
}
case ndShapeInstance::m_uniform:
{
const ndVector& invScale = m_polySoupInstance->GetInvScale();
convexMatrix[0][0] = invScale.GetScalar();
convexMatrix[1][1] = invScale.GetScalar();
convexMatrix[2][2] = invScale.GetScalar();
matrix.m_posit = matrix.m_posit * (invScale | ndVector::m_wOne);
break;
}
case ndShapeInstance::m_nonUniform:
{
const ndVector& invScale = m_polySoupInstance->GetInvScale();
ndMatrix tmp (matrix[0] * invScale, matrix[1] * invScale, matrix[2] * invScale, ndVector::m_wOne);
convexMatrix = tmp * matrix.Inverse();
convexMatrix.m_posit = ndVector::m_wOne;
matrix.m_posit = matrix.m_posit * (invScale | ndVector::m_wOne);
break;
}
case ndShapeInstance::m_global:
default:
{
ndAssert (0);
}
}
ndMatrix fullMatrix (convexMatrix * matrix);
m_convexInstance->CalculateAabb(fullMatrix, m_p0, m_p1);
ndVector p0;
ndVector p1;
SetTransposeAbsMatrix(matrix);
m_convexInstance->CalculateAabb(convexMatrix, p0, p1);
m_size = ndVector::m_half * (p1 - p0);
m_posit = matrix.TransformVector(ndVector::m_half * (p1 + p0));
ndAssert (m_posit.m_w == ndFloat32 (1.0f));
}
ndShapeStaticMesh::ndShapeStaticMesh(ndShapeID id)
:ndShape(id)
{
}
ndShapeStaticMesh::ndShapeStaticMesh(const ndLoadSaveBase::ndLoadDescriptor&)
:ndShape(m_staticMesh)
{
}
ndShapeStaticMesh::~ndShapeStaticMesh()
{
}
void ndShapeStaticMesh::Save(const ndLoadSaveBase::ndSaveDescriptor& desc) const
{
nd::TiXmlElement* const childNode = new nd::TiXmlElement(ClassName());
desc.m_rootNode->LinkEndChild(childNode);
childNode->SetAttribute("hashId", desc.m_nodeNodeHash);
ndShape::Save(ndLoadSaveBase::ndSaveDescriptor(desc, childNode));
}
void ndShapeStaticMesh::CalculateAabb(const ndMatrix& matrix, ndVector &p0, ndVector &p1) const
{
ndVector origin(matrix.TransformVector(m_boxOrigin));
ndVector size(matrix.m_front.Abs().Scale(m_boxSize.m_x) + matrix.m_up.Abs().Scale(m_boxSize.m_y) + matrix.m_right.Abs().Scale(m_boxSize.m_z));
p0 = (origin - size) & ndVector::m_triplexMask;
p1 = (origin + size) & ndVector::m_triplexMask;
}
//ndInt32 ndShapeStaticMesh::CalculatePlaneIntersection(const ndFloat32* const vertex, const ndInt32* const index, ndInt32 indexCount, ndInt32 stride, const dPlane& localPlane, ndVector* const contactsOut) const
ndInt32 ndShapeStaticMesh::CalculatePlaneIntersection(const ndFloat32* const, const ndInt32* const, ndInt32, ndInt32, const ndPlane&, ndVector* const) const
{
ndAssert(0);
return 0;
//ndInt32 count = 0;
//ndInt32 j = index[indexCount - 1] * stride;
//ndVector p0(&vertex[j]);
//p0 = p0 & ndVector::m_triplexMask;
//ndFloat32 side0 = localPlane.Evalue(p0);
//for (ndInt32 i = 0; i < indexCount; ++i)
//{
// j = index[i] * stride;
// ndVector p1(&vertex[j]);
// p1 = p1 & ndVector::m_triplexMask;
// ndFloat32 side1 = localPlane.Evalue(p1);
//
// if (side0 < ndFloat32(0.0f)) {
// if (side1 >= ndFloat32(0.0f)) {
// ndVector dp(p1 - p0);
// ndAssert(dp.m_w == ndFloat32(0.0f));
// ndFloat32 t = localPlane.DotProduct(dp).GetScalar();
// ndAssert(dgAbs(t) >= ndFloat32(0.0f));
// if (dgAbs(t) < ndFloat32(1.0e-8f)) {
// t = dgSign(t) * ndFloat32(1.0e-8f);
// }
// ndAssert(0);
// contactsOut[count] = p0 - dp.Scale(side0 / t);
// count++;
//
// }
// }
// else if (side1 <= ndFloat32(0.0f)) {
// ndVector dp(p1 - p0);
// ndAssert(dp.m_w == ndFloat32(0.0f));
// ndFloat32 t = localPlane.DotProduct(dp).GetScalar();
// ndAssert(dgAbs(t) >= ndFloat32(0.0f));
// if (dgAbs(t) < ndFloat32(1.0e-8f)) {
// t = dgSign(t) * ndFloat32(1.0e-8f);
// }
// ndAssert(0);
// contactsOut[count] = p0 - dp.Scale(side0 / t);
// count++;
// }
//
// side0 = side1;
// p0 = p1;
//}
//
//return count;
}
| [
"jerezjulio0@gmail.com"
] | jerezjulio0@gmail.com |
6c114f684cebf988a56661da943e51318476435c | ae013c60f7f7efa4e80763c0b2b0b1ae56734b94 | /ss2_2013/day06_BigOH/longest_sort_subsec_revmode.cpp | 61df6329248addf8dc4949e49b0628994d4038ea | [] | no_license | pureexe/toisu | 60952b096c6c54e99fc1bb36073eb6deb9126601 | cfe916e864f2bb62ad50166eeea0bfe1dd65eada | refs/heads/master | 2016-09-05T10:20:16.366973 | 2014-04-06T11:32:52 | 2014-04-06T11:32:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,139 | cpp | #include<iostream>
#include<sstream>
#include<string>
#include<vector>
#include<algorithm>
using namespace std;
string inttostr(int a){
stringstream u;
u<< a;
return u.str();
}
long long strtoint(string a){
istringstream u(a);
long
long b;
u >> b;
return b;
}
long long domax(vector<int> input){
long long max=-99999999;
int i,n = input.size();
string thistime;
for(i=0;i<n;i++){
if(input[i]>=0){
thistime+=inttostr(input[i]);
if(max<strtoint(thistime)){
max = strtoint(thistime);
}
}
else{
thistime="";
}
}
return max;
}
int main(){
vector<int> input;
int i,n,temp;
// cin >> n;
n=5;
for(i=0;i<n;i++){
cin >> temp;
input.push_back(temp);
}
long long max = domax(input);
int max2;
if(max!=-99999999){
reverse(input.begin(),input.end());
max2 = domax(input);
}
if(max<max2)
max=max2;
if(max == -99999999)
cout << *max_element(input.begin(),input.end());
else
cout << max;
}
| [
"pure.gif@gmail.com"
] | pure.gif@gmail.com |
0959124328d98ea172844bfc94d552c1ec5fdfed | afbde2b6d18fd2ecc7065c7fc50626e62849874e | /src/clientversion.h | 529e63c33a726923350c467de003e45b63c4ac98 | [
"MIT"
] | permissive | MotoAcidic/Apollon | c3d818ddbc329a813fba66b23b15d20f3d2716d3 | 372b29d00a059aaaf986a4811ebf1f6d29a55178 | refs/heads/master | 2022-12-14T12:37:05.977473 | 2020-07-24T13:59:58 | 2020-07-24T13:59:58 | 277,634,761 | 0 | 0 | MIT | 2020-07-06T19:49:22 | 2020-07-06T19:49:21 | null | UTF-8 | C++ | false | false | 2,031 | h | // Copyright (c) 2009-2017 The Bitcoin Core developers
// Copyright (c) 2017-2018 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_CLIENTVERSION_H
#define BITCOIN_CLIENTVERSION_H
#if defined(HAVE_CONFIG_H)
#include "config/apollon-config.h"
#endif //HAVE_CONFIG_H
// Check that required client information is defined
#if !defined(CLIENT_VERSION_MAJOR) || !defined(CLIENT_VERSION_MINOR) || !defined(CLIENT_VERSION_REVISION) || !defined(CLIENT_VERSION_BUILD) || !defined(CLIENT_VERSION_IS_RELEASE) || !defined(COPYRIGHT_YEAR)
#error Client version information missing: version is not defined by apollon-config.h or in any other way
#endif
/**
* Converts the parameter X to a string after macro replacement on X has been performed.
* Don't merge these into one macro!
*/
#define STRINGIZE(X) DO_STRINGIZE(X)
#define DO_STRINGIZE(X) #X
//! Copyright string used in Windows .rc files
#define COPYRIGHT_STR "2009-" STRINGIZE(COPYRIGHT_YEAR) " The Bitcoin Core Developers, 2014-" STRINGIZE(COPYRIGHT_YEAR) " The Dash Core Developers, 2015-" STRINGIZE(COPYRIGHT_YEAR) " The APOLLON Core Developers"
/**
* apollond-res.rc includes this file, but it cannot cope with real c++ code.
* WINDRES_PREPROC is defined to indicate that its pre-processor is running.
* Anything other than a define should be guarded below.
*/
#if !defined(WINDRES_PREPROC)
#include <string>
#include <vector>
static const int CLIENT_VERSION =
1000000 * CLIENT_VERSION_MAJOR ///
+ 10000 * CLIENT_VERSION_MINOR ///
+ 100 * CLIENT_VERSION_REVISION ///
+ 1 * CLIENT_VERSION_BUILD;
extern const std::string CLIENT_NAME;
extern const std::string CLIENT_BUILD;
extern const std::string CLIENT_DATE;
std::string FormatFullVersion();
std::string FormatSubVersion(const std::string& name, int nClientVersion, const std::vector<std::string>& comments);
#endif // WINDRES_PREPROC
#endif // BITCOIN_CLIENTVERSION_H
| [
"travisfinch01@gmail.com"
] | travisfinch01@gmail.com |
56acf0d8eefa8da97da166e7da4f7d969c8cf40f | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /gpdb/src/model/ModifyDBInstanceSSLResult.cc | 51ef00bb427946c6a9fdf1049b4401b8f38d4fbe | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 1,246 | cc | /*
* Copyright 2009-2017 Alibaba Cloud 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.
* 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 <alibabacloud/gpdb/model/ModifyDBInstanceSSLResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Gpdb;
using namespace AlibabaCloud::Gpdb::Model;
ModifyDBInstanceSSLResult::ModifyDBInstanceSSLResult() :
ServiceResult()
{}
ModifyDBInstanceSSLResult::ModifyDBInstanceSSLResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ModifyDBInstanceSSLResult::~ModifyDBInstanceSSLResult()
{}
void ModifyDBInstanceSSLResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}
| [
"13862149+AxiosCros@users.noreply.github.com"
] | 13862149+AxiosCros@users.noreply.github.com |
b9171c8b0b08336a72938e0d5886d9ee1cf51e5f | 4d77398fc24009f483f2b2abc028a135e09fc9eb | /Assignment4/Solid_exchange/2.6/gradTz | 35f06fb6cc762c95eeffbbdf4bec049871feb6e3 | [] | permissive | Naveen-Surya/CFD-Lab-1 | 12c635b72c611d83080ed6dd316b1b0016f2f86f | c38b0bfe43c7135f4a10e744ea1ac6cf6e9d4a1a | refs/heads/master | 2020-04-05T16:43:39.651232 | 2018-08-23T12:10:06 | 2018-08-23T12:10:06 | 157,026,052 | 0 | 1 | MIT | 2018-11-10T22:11:51 | 2018-11-10T22:11:51 | null | UTF-8 | C++ | false | false | 1,736 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "2.6";
object gradTz;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 -1 0 1 0 0 0];
internalField uniform 0;
boundaryField
{
F1_1
{
type calculated;
value uniform 0;
}
F1_2
{
type calculated;
value uniform 0;
}
F1_3
{
type calculated;
value uniform 0;
}
F1_4
{
type calculated;
value uniform 0;
}
F2_1
{
type calculated;
value uniform 0;
}
F2_2
{
type calculated;
value uniform 0;
}
F2_3
{
type calculated;
value uniform 0;
}
F2_4
{
type calculated;
value uniform 0;
}
defaultFaces
{
type empty;
}
}
// ************************************************************************* //
| [
"sarthakgarg1993@gmail.com"
] | sarthakgarg1993@gmail.com | |
512230bb817d50fca01027da1d427ead98837c50 | 627d4d432c86ad98f669214d9966ae2db1600b31 | /src/xmlpatterns/expr/qsourcelocationreflection_p.h | b17dd7d8943f7cb44fbdaad8bdfe4d4ecb254bb0 | [] | no_license | fluxer/copperspice | 6dbab905f71843b8a3f52c844b841cef17f71f3f | 07e7d1315d212a4568589b0ab1bd6c29c06d70a1 | refs/heads/cs-1.1 | 2021-01-17T21:21:54.176319 | 2015-08-26T15:25:29 | 2015-08-26T15:25:29 | 39,802,091 | 6 | 0 | null | 2015-07-27T23:04:01 | 2015-07-27T23:04:00 | null | UTF-8 | C++ | false | false | 2,107 | h | /***********************************************************************
*
* Copyright (c) 2012-2015 Barbara Geller
* Copyright (c) 2012-2015 Ansel Sermersheim
* Copyright (c) 2012-2014 Digia Plc and/or its subsidiary(-ies).
* Copyright (c) 2008-2012 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
*
* This file is part of CopperSpice.
*
* CopperSpice is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2.1 as published by the Free Software Foundation.
*
* CopperSpice 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 CopperSpice. If not, see
* <http://www.gnu.org/licenses/>.
*
***********************************************************************/
#ifndef QSourceLocationReflection_P_H
#define QSourceLocationReflection_P_H
QT_BEGIN_NAMESPACE
class QString;
namespace QPatternist {
class SourceLocationReflection
{
public:
inline SourceLocationReflection() {
}
virtual ~SourceLocationReflection() {
}
virtual const SourceLocationReflection *actualReflection() const = 0;
/**
* A description of what represents the source code location, for
* human consumption. Must be translated, as appropriate.
*/
virtual QString description() const {
return QString();
}
virtual QSourceLocation sourceLocation() const;
private:
Q_DISABLE_COPY(SourceLocationReflection)
};
class DelegatingSourceLocationReflection : public SourceLocationReflection
{
public:
inline DelegatingSourceLocationReflection(const SourceLocationReflection *const r) : m_r(r) {
Q_ASSERT(r);
}
virtual const SourceLocationReflection *actualReflection() const;
virtual QString description() const;
private:
const SourceLocationReflection *const m_r;
};
}
QT_END_NAMESPACE
#endif
| [
"ansel@copperspice.com"
] | ansel@copperspice.com |
5c7bea3f340c531d56ccb69f040232aa5bb0ae99 | e8d9619e262531453688550db22d0e78f1b51dab | /worldtime_protocol/time_convert.cpp | 571adf3964173e413e69027c9af15ec8c97289d4 | [] | no_license | sje397/sje-miranda-plugins | e9c562f402daef2cfbe333ce9a8a888cd81c9573 | effb7ea736feeab1c68db34a86da8a2be2b78626 | refs/heads/master | 2016-09-05T16:42:34.162442 | 2011-05-22T14:48:15 | 2011-05-22T14:48:15 | 1,784,020 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,691 | cpp | #include "common.h"
#include "time_convert.h"
void ConvertToAbsolute (const SYSTEMTIME * pstLoc, const SYSTEMTIME * pstDst, SYSTEMTIME * pstDstAbs)
{
static int iDays [12] = { 31, 28, 31, 30, 31, 30,
31, 31, 30, 31, 30, 31 } ;
int iDay ;
// Set up the aboluste date structure except for wDay, which we must find
pstDstAbs->wYear = pstLoc->wYear ; // Notice from local date/time
pstDstAbs->wMonth = pstDst->wMonth ;
pstDstAbs->wDayOfWeek = pstDst->wDayOfWeek ;
pstDstAbs->wHour = pstDst->wHour ;
pstDstAbs->wMinute = pstDst->wMinute ;
pstDstAbs->wSecond = pstDst->wSecond ;
pstDstAbs->wMilliseconds = pstDst->wMilliseconds ;
// Fix the iDays array for leap years
if ((pstLoc->wYear % 4 == 0) && ((pstLoc->wYear % 100 != 0) ||
(pstLoc->wYear % 400 == 0)))
{
iDays[1] = 29 ;
}
// Find a day of the month that falls on the same
// day of the week as the transition.
// Suppose today is the 20th of the month (pstLoc->wDay = 20)
// Suppose today is a Wednesday (pstLoc->wDayOfWeek = 3)
// Suppose the transition occurs on a Friday (pstDst->wDayOfWeek = 5)
// Then iDay = 31, meaning that the 31st falls on a Friday
// (The 7 is this formula avoids negatives.)
iDay = pstLoc->wDay + pstDst->wDayOfWeek + 7 - pstLoc->wDayOfWeek ;
// Now shrink iDay to a value between 1 and 7.
iDay = (iDay - 1) % 7 + 1 ;
// Now iDay is a day of the month ranging from 1 to 7.
// Recall that the wDay field of the structure can range
// from 1 to 5, 1 meaning "first", 2 meaning "second",
// and 5 meaning "last".
// So, increase iDay so it's the proper day of the month.
iDay += 7 * (pstDst->wDay - 1) ;
// Could be that iDay overshot the end of the month, so
// fix it up using the number of days in each month
if (iDay > iDays[pstDst->wMonth - 1])
iDay -= 7 ;
// Assign that day to the structure.
pstDstAbs->wDay = iDay ;
}
BOOL LocalGreaterThanTransition (const SYSTEMTIME * pstLoc, const SYSTEMTIME * pstTran)
{
FILETIME ftLoc, ftTran ;
LARGE_INTEGER liLoc, liTran ;
SYSTEMTIME stTranAbs ;
// Easy case: Just compare the two months
if (pstLoc->wMonth != pstTran->wMonth)
return (pstLoc->wMonth > pstTran->wMonth) ;
// Well, we're in a transition month. That requires a bit more work.
// Check if pstDst is in absolute or day-in-month format.
// (See documentation of TIME_ZONE_INFORMATION, StandardDate field.)
if (pstTran->wYear) // absolute format (haven't seen one yet!)
{
stTranAbs = * pstTran ;
}
else // day-in-month format
{
ConvertToAbsolute (pstLoc, pstTran, &stTranAbs) ;
}
// Now convert both date/time structures to large integers & compare
SystemTimeToFileTime (pstLoc, &ftLoc) ;
liLoc = * (LARGE_INTEGER *) (void *) &ftLoc ;
SystemTimeToFileTime (&stTranAbs, &ftTran) ;
liTran = * (LARGE_INTEGER *) (void *) &ftTran ;
return (liLoc.QuadPart > liTran.QuadPart) ;
}
BOOL MySystemTimeToTzSpecificLocalTime(const TIME_ZONE_INFORMATION *ptzi, const SYSTEMTIME *pstUtc, SYSTEMTIME *pstLoc) {
// st is UTC
FILETIME ft ;
LARGE_INTEGER li ;
SYSTEMTIME stDst ;
// If we're running under NT, just call the real function
if (!(0x80000000 & GetVersion()))
return SystemTimeToTzSpecificLocalTime ((TIME_ZONE_INFORMATION *) ptzi, (SYSTEMTIME *) pstUtc, pstLoc) ;
// Convert time to a LARGE_INTEGER and subtract the bias
SystemTimeToFileTime (pstUtc, &ft) ;
li = * (LARGE_INTEGER *) (void *) &ft;
li.QuadPart -= (LONGLONG) 600000000 * ptzi->Bias ;
// Convert to a local date/time before application of daylight saving time.
// The local date/time must be used to determine when the conversion occurs.
ft = * (FILETIME *) (void *) &li ;
FileTimeToSystemTime (&ft, pstLoc) ;
// Find the time assuming Daylight Saving Time
li.QuadPart -= (LONGLONG) 600000000 * ptzi->DaylightBias ;
ft = * (FILETIME *) (void *) &li ;
FileTimeToSystemTime (&ft, &stDst) ;
// Now put li back the way it was
li.QuadPart += (LONGLONG) 600000000 * ptzi->DaylightBias ;
if (ptzi->StandardDate.wMonth) // ie, daylight savings time
{
// Northern hemisphere
if ((ptzi->DaylightDate.wMonth < ptzi->StandardDate.wMonth) &&
(stDst.wMonth >= pstLoc->wMonth) && // avoid the end of year problem
LocalGreaterThanTransition (pstLoc, &ptzi->DaylightDate) &&
!LocalGreaterThanTransition (&stDst, &ptzi->StandardDate))
{
li.QuadPart -= (LONGLONG) 600000000 * ptzi->DaylightBias ;
}
// Southern hemisphere
else if ((ptzi->StandardDate.wMonth < ptzi->DaylightDate.wMonth) &&
(!LocalGreaterThanTransition (&stDst, &ptzi->StandardDate) ||
LocalGreaterThanTransition (pstLoc, &ptzi->DaylightDate)))
{
li.QuadPart -= (LONGLONG) 600000000 * ptzi->DaylightBias ;
}
else
{
li.QuadPart -= (LONGLONG) 600000000 * ptzi->StandardBias ;
}
}
ft = * (FILETIME *) (void *) &li ;
FileTimeToSystemTime (&ft, pstLoc) ;
return TRUE ;
}
VOID MyGetSystemTime(LPSYSTEMTIME lpSystemTime) {
//TIME_ZONE_INFORMATION tzi;
//FILETIME ft;
//LARGE_INTEGER li;
GetSystemTime(lpSystemTime);
//GetTimeZoneInformation(&tzi);
/*
// this condition occurs when 'automaticall adjust for daylight savings' is off, but the timezone info
// says it is daylight savings time. The following attempts to correct for this, but assumes that the user
// has corrected for DST by changing their clock time rather than their timezone. This is invalid so
// it has been removed
if(tzi.StandardDate.wMonth != 0 && tzi.DaylightBias == 0 && tzi.StandardBias == 0) {
if ((tzi.DaylightDate.wMonth < tzi.StandardDate.wMonth) &&
LocalGreaterThanTransition (lpSystemTime, &tzi.DaylightDate) &&
!LocalGreaterThanTransition (lpSystemTime, &tzi.StandardDate))
{
// add one hour to the system time
SystemTimeToFileTime(lpSystemTime, &ft);
li = * (LARGE_INTEGER *) (void *) &ft;
li.QuadPart += (LONGLONG) 600000000 * 60;
ft = * (FILETIME *) (void *) &li ;
FileTimeToSystemTime(&ft, lpSystemTime);
}
// Southern hemisphere
else if ((tzi.StandardDate.wMonth < tzi.DaylightDate.wMonth) &&
(!LocalGreaterThanTransition (lpSystemTime, &tzi.StandardDate) ||
LocalGreaterThanTransition (lpSystemTime, &tzi.DaylightDate)))
{
// add one hour to the system time
SystemTimeToFileTime(lpSystemTime, &ft);
li = * (LARGE_INTEGER *) (void *) &ft;
li.QuadPart += (LONGLONG) 600000000 * 60;
ft = * (FILETIME *) (void *) &li ;
FileTimeToSystemTime(&ft, lpSystemTime);
}
}
*/
}
| [
"scott.ellis@disos.com"
] | scott.ellis@disos.com |
05ec6e44017dd0287407376e4beb0578adf80019 | 151b1ed23a4d972582cdd26b21c49d8689c804bb | /eventlib/event_death_sicY.h | c351b8d67a1d15b0fec8db6b48b06bcbea316436 | [] | no_license | Chuzzle/masters_thesis | 63cf48996c35e6752f82e4ef169d6bace16e83eb | f785d0d6a4ddc45490f73c343fc23d7c686c631a | refs/heads/master | 2020-05-21T19:10:22.282789 | 2017-08-12T18:01:28 | 2017-08-12T18:01:28 | 61,619,714 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 314 | h | #include "event.h"
#ifndef EVENT_DEATH_SICY_H
#define EVENT_DEATH_SICY_H
class Event_death_sicY : public Event{
public:
explicit Event_death_sicY(Population& pop_init) : Event(pop_init) {};
virtual std::string description();
virtual double update_prob(double t);
virtual void execute_event();
};
#endif
| [
"hanna_autio@hotmail.com"
] | hanna_autio@hotmail.com |
e8a377f42135d48a622ed02a1092e94ccde7f83c | 5bdcbb09869738fad4c96e1fd59c014a3bc51bd4 | /lib/TemperatureSensor/TemperatureSensor.cpp | 1501e974f11965f17deacc6fb567cfa454735d96 | [] | no_license | rhbroberg/-pool-chemistry | ffdea49bb30e526bb93f7a063ff16b90361cdaf6 | b1819995ddd3197a26e53adfff2f3774aa7c83ce | refs/heads/master | 2021-05-17T04:30:57.462671 | 2020-05-03T22:03:58 | 2020-05-03T22:03:58 | 250,625,169 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,614 | cpp | #include <OneWire.h>
#include <DallasTemperature.h>
#include "Arduino.h"
// Data wire is connected to GPIOXX
#define ONE_WIRE_BUS 16
// Setup a oneWire instance to communicate with a OneWire device
OneWire oneWire(ONE_WIRE_BUS);
// Pass our oneWire reference to Dallas Temperature sensor
DallasTemperature sensors(&oneWire);
DeviceAddress firstTempSensor;
// function to print a device address
void printAddress(DeviceAddress deviceAddress)
{
for (uint8_t i = 0; i < 8; i++)
{
if (deviceAddress[i] < 16)
{
Serial.print("0");
}
Serial.print(deviceAddress[i], HEX);
}
}
const double
sampleTemperature()
{
digitalWrite(27, HIGH);
Serial.print("Requesting temperatures...");
sensors.setResolution(firstTempSensor, 9);
if (!sensors.requestTemperaturesByAddress(firstTempSensor))
{
Serial.println("failed");
}
else
{
Serial.println("DONE");
}
double temperature = sensors.getTempC(firstTempSensor);
Serial.print("Sensor temp: ");
Serial.println(temperature);
digitalWrite(27, LOW);
return temperature;
}
void begin()
{
// temperature power
pinMode(27, OUTPUT);
digitalWrite(27, HIGH);
sensors.begin();
// search for devices on the bus and assign based on an index.
if (!sensors.getAddress(firstTempSensor, 0))
{
Serial.println("Unable to find address for Device 0");
}
// show the addresses we found on the bus
Serial.print("Device 0 Address: ");
printAddress(firstTempSensor);
Serial.println();
digitalWrite(27, LOW);
}
| [
"rhbroberg@yahoo.com"
] | rhbroberg@yahoo.com |
92094a7aaf42ddc803afc7252df1ce7060c8a0bc | 88906ea4ca1d0f8220c9c58f7ec526c4e85098f5 | /src/Utility.cpp | 2502a36be5a005a39d7d7e0060836e04d474b785 | [] | no_license | maxortner01/SGAL | fab134e88ed9528d9c9751d580c41adb17e2bc58 | e06502ba71fa303a172bf8f241ac507278cb6623 | refs/heads/master | 2021-04-14T20:29:10.174990 | 2020-08-30T17:54:12 | 2020-08-30T17:54:12 | 249,263,869 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 164 | cpp |
#include "./Utility/Timer.cpp"
#include "./Utility/Keyboard.cpp"
#include "./Utility/Mouse.cpp"
#include "./Utility/Color.cpp"
#include "./Utility/Serializer.cpp"
| [
"maxortner01@gmail.com"
] | maxortner01@gmail.com |
83599a2fd498c3927955dacb6a78491100b043a8 | 52ae54922e083863b0e1265e97d1d60e5bf22120 | /include/aprilui/ObjectSelectionContainer.h | 837ddfc2b875cd56808d7f4d4713b4b3d6306e4c | [
"BSD-3-Clause"
] | permissive | borisblizzard/aprilui | e3d3014ca7e571e3241ed77a8f41bd56489ee727 | 88520e16ee24a15572c6e1f1b36eead2036997f2 | refs/heads/master | 2023-08-19T08:30:41.393829 | 2023-08-17T12:52:09 | 2023-08-17T12:52:09 | 219,540,570 | 0 | 0 | null | 2019-11-04T16:01:08 | 2019-11-04T16:01:08 | null | UTF-8 | C++ | false | false | 2,508 | h | /// @file
/// @version 6.0
///
/// @section LICENSE
///
/// This program is free software; you can redistribute it and/or modify it under
/// the terms of the BSD license: http://opensource.org/licenses/BSD-3-Clause
///
/// @section DESCRIPTION
///
/// Defines a base class for all objects that contain selectable children.
#ifndef APRILUI_SELECTION_BASE_H
#define APRILUI_SELECTION_BASE_H
#include <april/Keys.h>
#include <hltypes/harray.h>
#include <hltypes/hstring.h>
#include "apriluiExport.h"
#include "ObjectContainer.h"
namespace aprilui
{
class apriluiExport SelectionContainer : public Container
{
APRILUI_CLONEABLE_ABSTRACT_DERIVED(SelectionContainer);
public:
SelectionContainer(chstr name);
inline hstr getClassName() const override { return "SelectionContainer"; }
HL_DEFINE_GET(int, selectedIndex, SelectedIndex);
void setSelectedIndex(const int& value);
HL_DEFINE_GET(float, itemHeight, ItemHeight);
void setItemHeight(const float& value);
HL_DEFINE_GET(april::Color, pushedColor, PushedColor);
void setPushedColor(const april::Color& value);
void setPushedSymbolicColor(chstr value);
HL_DEFINE_GET(april::Color, hoverColor, HoverColor);
void setHoverColor(const april::Color& value);
void setHoverSymbolicColor(chstr value);
HL_DEFINE_GET(april::Color, selectedColor, SelectedColor);
void setSelectedColor(const april::Color& value);
void setSelectedSymbolicColor(chstr value);
HL_DEFINE_GET(april::Color, selectedPushedColor, SelectedPushedColor);
void setSelectedPushedColor(const april::Color& value);
void setSelectedPushedSymbolicColor(chstr value);
HL_DEFINE_GET(april::Color, selectedHoverColor, SelectedHoverColor);
void setSelectedHoverColor(const april::Color& value);
void setSelectedHoverSymbolicColor(chstr value);
HL_DEFINE_IS(allowDrag, AllowDrag);
void setAllowDrag(const bool& value);
virtual int getItemCount() const = 0;
void notifyEvent(chstr type, EventArgs* args) override;
protected:
int selectedIndex;
float itemHeight;
april::Color pushedColor;
april::Color hoverColor;
april::Color selectedColor;
april::Color selectedPushedColor;
april::Color selectedHoverColor;
bool allowDrag;
hmap<hstr, april::MetaData*>& _getMetaData() const override;
void _update(float timeDelta) override;
virtual void _updateDisplay() = 0;
virtual void _updateItem(int index) = 0;
virtual void _optimizeVisibility();
private:
static hmap<hstr, april::MetaData*> _metaData;
};
}
#endif
| [
"boris.blizzard@gmail.com"
] | boris.blizzard@gmail.com |
4080aa37239495d304d2f9a18e7d047dc974627c | 1d080db2401f248d1491b08a7a3c6290b7331729 | /winelib/bridge.dll/test.h | 4afb3d584c45e24e1cf2c0dcfa379b826fab2927 | [
"MIT"
] | permissive | sirnuke/steambridge-testing | 1beeff55eb4dace8403c5555188107523ea683e1 | bb8f9e26efbac2c7ead3d4171f4126527baad398 | refs/heads/master | 2021-03-12T20:07:32.632346 | 2014-02-25T01:22:17 | 2014-02-25T01:22:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 620 | h | // Simple C++ Class for testing
#ifndef ___TEST_H___
#define ___TEST_H___
#include <stdint.h>
extern "C"
{
void *get_real_object();
}
class Test
{
public:
Test();
virtual int function_one(int param_one, bool param_two, const char *param_three);
virtual bool function_two(double param_one, void *param_two, float param_three);
virtual double function_three(unsigned short param_one);
virtual uint64_t function_four();
virtual float function_five(int64_t param_one);
private:
int one;
bool two;
double three;
uint64_t four;
float five;
};
#endif //___TEST_H___
| [
"bryan@degrendel.com"
] | bryan@degrendel.com |
a4c6474f335f435f7365d2db8a1e9665afd39d09 | 5bfa2fba7ac8e1b33fc9a6ab7f7d3ef490e89c37 | /workspace/Radagast/Dash.cpp | 28170799b63682681c247954a8f1b7be09c08a38 | [] | no_license | SuchForbiddenColors/Code2015 | 6b6054fabf3dd44c60439cfd4b5399f8c824531c | a0f8c01a2bf7a3f236bfc8a90328036365b1096b | refs/heads/master | 2021-01-17T11:55:12.982111 | 2015-11-06T13:38:35 | 2015-11-06T13:38:35 | 28,934,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,808 | cpp | #include "Dash.h"
#include <string>
using namespace std;
Dash::Dash(Wheelz *wheels, Pneumatics *air, BuiltInAccelerometer *excel, Joystick *XStick, Elevator *rise)
{
whe = wheels;
pne = air;
ace = excel;
one = XStick;
ele = rise;
x_HasBeenPressed = false;
y_HasBeenPressed = false;
a_HasBeenPressed = false;
b_HasBeenPressed = false;
start_HasBeenPressed = false;
rightBumper_HasBeenPressed = false;
leftEnergy = 0;
rightEnergy = 0;
distance1 = 0;
distance2 = 0;
currentHeight = 20;
}
void Dash::PutString(int lineNum, string message)
{ // Copypaste alley
if(lineNum == 1) //TODO: Build the string manually using the lineNum - 1 input
{
SmartDashboard::PutString("DB/String 0", message);
}
if(lineNum == 2)
{
SmartDashboard::PutString("DB/String 1", message);
}
if(lineNum == 3)
{
SmartDashboard::PutString("DB/String 2", message);
}
if(lineNum == 4)
{
SmartDashboard::PutString("DB/String 3", message);
}
if(lineNum == 5)
{
SmartDashboard::PutString("DB/String 4", message);
}
if(lineNum == 6)
{
SmartDashboard::PutString("DB/String 5", message);
}
if(lineNum == 7)
{
SmartDashboard::PutString("DB/String 6", message);
}
if(lineNum == 8)
{
SmartDashboard::PutString("DB/String 7", message);
}
if(lineNum == 9)
{
SmartDashboard::PutString("DB/String 8", message);
}
if(lineNum == 10)
{
SmartDashboard::PutString("DB/String 9", message);
}
}
void Dash::PutNumber(int sliderNum, float number)
{
if(sliderNum == 1)
{
SmartDashboard::PutNumber("DB/Slider 0", number);
}
if(sliderNum == 2)
{
SmartDashboard::PutNumber("DB/Slider 1", number);
}
if(sliderNum == 3)
{
SmartDashboard::PutNumber("DB/Slider 2", number);
}
if(sliderNum == 4)
{
SmartDashboard::PutNumber("DB/Slider 3", number);
}
}
void Dash::PutBool(int buttonNum, bool value)
{
if(buttonNum == 1)
{
SmartDashboard::PutBoolean("DB/Button 0", value);
}
if(buttonNum == 2)
{
SmartDashboard::PutBoolean("DB/Button 1", value);
}
if(buttonNum == 3)
{
SmartDashboard::PutBoolean("DB/Button 2", value);
}
if(buttonNum == 4)
{
SmartDashboard::PutBoolean("DB/Button 3", value);
}
}
string Dash::GetString(int lineNum)
{
string word;
if(lineNum == 1)
{
word = SmartDashboard::GetString("DB/String 0");
}
if(lineNum == 2)
{
word = SmartDashboard::GetString("DB/String 1");
}
if(lineNum == 3)
{
word = SmartDashboard::GetString("DB/String 2");
}
if(lineNum == 4)
{
word = SmartDashboard::GetString("DB/String 3");
}
if(lineNum == 5)
{
word = SmartDashboard::GetString("DB/String 4");
}
if(lineNum == 6)
{
word = SmartDashboard::GetString("DB/String 5");
}
if(lineNum == 7)
{
word = SmartDashboard::GetString("DB/String 6");
}
if(lineNum == 8)
{
word = SmartDashboard::GetString("DB/String 7");
}
if(lineNum == 9)
{
word = SmartDashboard::GetString("DB/String 8");
}
if(lineNum == 10)
{
word = SmartDashboard::GetString("DB/String 9");
}
return word;
}
float Dash::GetNumber(int sliderNum)
{
float value;
if(sliderNum == 1)
{
value = SmartDashboard::GetNumber("DB/Slider 0");
}
if(sliderNum == 2)
{
value = SmartDashboard::GetNumber("DB/Slider 1");
}
if(sliderNum == 3)
{
value = SmartDashboard::GetNumber("DB/Slider 2");
}
if(sliderNum == 4)
{
value = SmartDashboard::GetNumber("DB/Slider 3");
}
return value;
}
void Dash::AddEnergyToTotal(double time)
{
leftEnergy += time * whe->leftMotorInput;
//The energy we told left motor to be at, times the time, in seconds,
// we told it to be at that energy for.
rightEnergy += time * whe->rightMotorInput;
}
void Dash::SetEncoderDistance()
{
distance1 = whe->GetEncoder(1) / ENCODER_ONE_PULSES_PER_REVOLUTION * DRIVE_WHEEL_DISTANCE_PER_REVOLUTION;
//Turns pulses into distance in feet
distance2 = whe->GetEncoder(2) / ENCODER_ONE_PULSES_PER_REVOLUTION * DRIVE_WHEEL_DISTANCE_PER_REVOLUTION;
}
void Dash::EncoderCount(int sliderNum, int encoderNumber)
{
float rotationCount = whe->GetEncoder(encoderNumber) / ENCODER_ONE_PULSES_PER_REVOLUTION;
rotationCount *= 100; //Make it a percentage
PutNumber(sliderNum, rotationCount);
}
void Dash::Acceleration(int sliderNum, int axis)
{
if(axis == 1)
{
PutNumber(sliderNum, ace->GetX());
}
else if(axis == 2)
{
PutNumber(sliderNum, ace->GetY());
}
else if(axis == 3)
{
PutNumber(sliderNum, ace->GetZ());
}
}
void Dash::LimitSwitch(int buttonNum, int limitSwitch)
{
if(limitSwitch == 1)
{
PutBool(buttonNum, ele->upperLimit->Get());
}
if(limitSwitch == 2)
{
PutBool(buttonNum, ele->lowerLimit->Get());
}
}
void Dash::SolenoidPair(int lineNumber, int solenoidPair)
{
string message;
string partOne, partTwo;
if(solenoidPair == 1)
{
if(pne->solOneOn)
{
partOne = "Sol1 On ";
}
else
{
partOne = "Sol1 Off ";
}
if(pne->solTwoOn)
{
partTwo = "Sol2 On";
}
else
{
partTwo = "Sol2 Off";
}
}
message = partOne + partTwo;
PutString(lineNumber, message);
}
void Dash::LiftHeight(int sliderNum)
{
currentHeight = 54.95 - ele->stringPot->Get(); //59.05 This is a realbot estimate; 54.95 on practice bot
//TODO: Adjust for realbot
if(sliderNum == 1 || sliderNum == 2 || sliderNum == 3 || sliderNum == 4)
{
PutNumber(sliderNum, currentHeight);
}
}
void Dash::DistancePerEnergy(int sliderNum)
{
float ratio;
if(leftEnergy == 0)
{
ratio = 0;
}
ratio = distance1 / (leftEnergy * 40); //Want changes in distance and in energy to be noticeable
// It's an art, not a science.
PutNumber(sliderNum, ratio);
}
bool Dash::StickyPress(char button)
{
if(button == 'x')
{
if(one->GetRawButton(X_X) && x_HasBeenPressed == false)
{
x_HasBeenPressed = true;
return true;
}
//We only get to this half of the function if it does not return true
//So therefore we want it to return false
if(one->GetRawButton(X_X) == false)
{
x_HasBeenPressed = false;
}
return false;
}
if(button == 'y')
{
if(one->GetRawButton(X_Y) && y_HasBeenPressed == false)
{
y_HasBeenPressed = true;
return true;
}
if(one->GetRawButton(X_Y) == false)
{
y_HasBeenPressed = false;
}
return false;
}
if(button == 'a')
{
if(one->GetRawButton(X_A) && a_HasBeenPressed == false)
{
a_HasBeenPressed = true;
return true;
}
if(one->GetRawButton(X_A) == false)
{
a_HasBeenPressed = false;
}
return false;
}
if(button == 'b')
{
if(one->GetRawButton(X_B) && b_HasBeenPressed == false)
{
b_HasBeenPressed = true;
return true;
}
if(one->GetRawButton(X_B) == false)
{
b_HasBeenPressed = false;
}
return false;
}
if(button == 's') //s is for start
{
if(one->GetRawButton(X_START) && start_HasBeenPressed == false)
{
start_HasBeenPressed = true;
return true;
}
if(one->GetRawButton(X_START) == false)
{
start_HasBeenPressed = false;
}
return false;
}
if(button == 'r') //r is for right bumper
{
if(one->GetRawButton(X_RIGHT_BUMPER) && rightBumper_HasBeenPressed == false)
{
rightBumper_HasBeenPressed = true;
return true;
}
if(one->GetRawButton(X_RIGHT_BUMPER) == false)
{
rightBumper_HasBeenPressed = false;
}
}
return false; //If we get all the way through with no buttons selected
} //Just return false
| [
"stueck4507@gmail.com"
] | stueck4507@gmail.com |
4216a93748304e3b00ddf1fba46d11a952909473 | 8dd428eee55e44bc9d0932bf59f71ae51c99f7ae | /ddraw/IDirect3DDeviceX.h | f402d06f2f0ba1696cf1f37321fa3267ad8f6618 | [
"Zlib"
] | permissive | protocultor/DirectX-Wrappers | 638c522f333245dab450053cb594da3860f674ff | adf36b6a0a9290f4fe02b044d235dba5487da694 | refs/heads/master | 2021-01-01T10:19:59.754620 | 2020-02-09T03:59:43 | 2020-02-09T03:59:43 | 239,235,903 | 0 | 0 | NOASSERTION | 2020-02-09T02:37:51 | 2020-02-09T02:37:50 | null | UTF-8 | C++ | false | false | 6,097 | h | #pragma once
class m_IDirect3DDeviceX
{
private:
IDirect3DDevice7 *ProxyInterface;
m_IDirect3DDevice7 *WrapperInterface;
DWORD DirectXVersion;
DWORD ProxyDirectXVersion;
IID WrapperID;
public:
m_IDirect3DDeviceX(IDirect3DDevice7 *aOriginal, DWORD Version, m_IDirect3DDevice7 *Interface) : ProxyInterface(aOriginal), DirectXVersion(Version), WrapperInterface(Interface)
{
WrapperID = (DirectXVersion == 1) ? IID_IDirect3DDevice :
(DirectXVersion == 2) ? IID_IDirect3DDevice2 :
(DirectXVersion == 3) ? IID_IDirect3DDevice3 :
(DirectXVersion == 7) ? IID_IDirect3DDevice7 : IID_IDirect3DDevice7;
ProxyDirectXVersion = GetIIDVersion(WrapperID);
}
~m_IDirect3DDeviceX() {}
DWORD GetDirectXVersion() { return DDWRAPPER_TYPEX; }
REFIID GetWrapperType() { return WrapperID; }
IDirect3DDevice7 *GetProxyInterface() { return ProxyInterface; }
m_IDirect3DDevice7 *GetWrapperInterface() { return WrapperInterface; }
/*** IUnknown methods ***/
STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID * ppvObj);
STDMETHOD_(ULONG, AddRef)(THIS);
STDMETHOD_(ULONG, Release)(THIS);
/*** IDirect3DDevice methods ***/
STDMETHOD(Initialize)(THIS_ LPDIRECT3D, LPGUID, LPD3DDEVICEDESC);
STDMETHOD(CreateExecuteBuffer)(THIS_ LPD3DEXECUTEBUFFERDESC, LPDIRECT3DEXECUTEBUFFER*, IUnknown*);
STDMETHOD(Execute)(THIS_ LPDIRECT3DEXECUTEBUFFER, LPDIRECT3DVIEWPORT, DWORD);
STDMETHOD(Pick)(THIS_ LPDIRECT3DEXECUTEBUFFER, LPDIRECT3DVIEWPORT, DWORD, LPD3DRECT);
STDMETHOD(GetPickRecords)(THIS_ LPDWORD, LPD3DPICKRECORD);
STDMETHOD(CreateMatrix)(THIS_ LPD3DMATRIXHANDLE);
STDMETHOD(SetMatrix)(THIS_ D3DMATRIXHANDLE, const LPD3DMATRIX);
STDMETHOD(GetMatrix)(THIS_ D3DMATRIXHANDLE, LPD3DMATRIX);
STDMETHOD(DeleteMatrix)(THIS_ D3DMATRIXHANDLE);
STDMETHOD(SwapTextureHandles)(THIS_ LPDIRECT3DTEXTURE2, LPDIRECT3DTEXTURE2);
STDMETHOD(EnumTextureFormats)(THIS_ LPD3DENUMTEXTUREFORMATSCALLBACK, LPVOID);
STDMETHOD(GetCaps)(THIS_ LPD3DDEVICEDESC, LPD3DDEVICEDESC);
STDMETHOD(GetStats)(THIS_ LPD3DSTATS);
STDMETHOD(AddViewport)(THIS_ LPDIRECT3DVIEWPORT3);
STDMETHOD(DeleteViewport)(THIS_ LPDIRECT3DVIEWPORT3);
STDMETHOD(NextViewport)(THIS_ LPDIRECT3DVIEWPORT3, LPDIRECT3DVIEWPORT3*, DWORD);
STDMETHOD(SetCurrentViewport)(THIS_ LPDIRECT3DVIEWPORT3);
STDMETHOD(GetCurrentViewport)(THIS_ LPDIRECT3DVIEWPORT3 *);
STDMETHOD(Begin)(THIS_ D3DPRIMITIVETYPE, DWORD, DWORD);
STDMETHOD(BeginIndexed)(THIS_ D3DPRIMITIVETYPE, DWORD, LPVOID, DWORD, DWORD);
STDMETHOD(Vertex)(THIS_ LPVOID);
STDMETHOD(Index)(THIS_ WORD);
STDMETHOD(End)(THIS_ DWORD);
STDMETHOD(GetLightState)(THIS_ D3DLIGHTSTATETYPE, LPDWORD);
STDMETHOD(SetLightState)(THIS_ D3DLIGHTSTATETYPE, DWORD);
STDMETHOD(DrawIndexedPrimitiveVB)(THIS_ D3DPRIMITIVETYPE, LPDIRECT3DVERTEXBUFFER, LPWORD, DWORD, DWORD);
STDMETHOD(GetTexture)(THIS_ DWORD, LPDIRECT3DTEXTURE2 *);
STDMETHOD(SetTexture)(THIS_ DWORD, LPDIRECT3DTEXTURE2);
STDMETHOD(GetCaps)(THIS_ LPD3DDEVICEDESC7);
STDMETHOD(EnumTextureFormats)(THIS_ LPD3DENUMPIXELFORMATSCALLBACK, LPVOID);
STDMETHOD(BeginScene)(THIS);
STDMETHOD(EndScene)(THIS);
STDMETHOD(GetDirect3D)(THIS_ LPDIRECT3D7*);
STDMETHOD(SetRenderTarget)(THIS_ LPDIRECTDRAWSURFACE7, DWORD);
STDMETHOD(GetRenderTarget)(THIS_ LPDIRECTDRAWSURFACE7 *);
STDMETHOD(Clear)(THIS_ DWORD, LPD3DRECT, DWORD, D3DCOLOR, D3DVALUE, DWORD);
STDMETHOD(SetTransform)(THIS_ D3DTRANSFORMSTATETYPE, LPD3DMATRIX);
STDMETHOD(GetTransform)(THIS_ D3DTRANSFORMSTATETYPE, LPD3DMATRIX);
STDMETHOD(SetViewport)(THIS_ LPD3DVIEWPORT7);
STDMETHOD(MultiplyTransform)(THIS_ D3DTRANSFORMSTATETYPE, LPD3DMATRIX);
STDMETHOD(GetViewport)(THIS_ LPD3DVIEWPORT7);
STDMETHOD(SetMaterial)(THIS_ LPD3DMATERIAL7);
STDMETHOD(GetMaterial)(THIS_ LPD3DMATERIAL7);
STDMETHOD(SetLight)(THIS_ DWORD, LPD3DLIGHT7);
STDMETHOD(GetLight)(THIS_ DWORD, LPD3DLIGHT7);
STDMETHOD(SetRenderState)(THIS_ D3DRENDERSTATETYPE, DWORD);
STDMETHOD(GetRenderState)(THIS_ D3DRENDERSTATETYPE, LPDWORD);
STDMETHOD(BeginStateBlock)(THIS);
STDMETHOD(EndStateBlock)(THIS_ LPDWORD);
STDMETHOD(PreLoad)(THIS_ LPDIRECTDRAWSURFACE7);
STDMETHOD(DrawPrimitive)(THIS_ D3DPRIMITIVETYPE, DWORD, LPVOID, DWORD, DWORD);
STDMETHOD(DrawIndexedPrimitive)(THIS_ D3DPRIMITIVETYPE, DWORD, LPVOID, DWORD, LPWORD, DWORD, DWORD);
STDMETHOD(SetClipStatus)(THIS_ LPD3DCLIPSTATUS);
STDMETHOD(GetClipStatus)(THIS_ LPD3DCLIPSTATUS);
STDMETHOD(DrawPrimitiveStrided)(THIS_ D3DPRIMITIVETYPE, DWORD, LPD3DDRAWPRIMITIVESTRIDEDDATA, DWORD, DWORD);
STDMETHOD(DrawIndexedPrimitiveStrided)(THIS_ D3DPRIMITIVETYPE, DWORD, LPD3DDRAWPRIMITIVESTRIDEDDATA, DWORD, LPWORD, DWORD, DWORD);
STDMETHOD(DrawPrimitiveVB)(THIS_ D3DPRIMITIVETYPE, LPDIRECT3DVERTEXBUFFER7, DWORD, DWORD, DWORD);
STDMETHOD(DrawIndexedPrimitiveVB)(THIS_ D3DPRIMITIVETYPE, LPDIRECT3DVERTEXBUFFER7, DWORD, DWORD, LPWORD, DWORD, DWORD);
STDMETHOD(ComputeSphereVisibility)(THIS_ LPD3DVECTOR, LPD3DVALUE, DWORD, DWORD, LPDWORD);
STDMETHOD(GetTexture)(THIS_ DWORD, LPDIRECTDRAWSURFACE7 *);
STDMETHOD(SetTexture)(THIS_ DWORD, LPDIRECTDRAWSURFACE7);
STDMETHOD(GetTextureStageState)(THIS_ DWORD, D3DTEXTURESTAGESTATETYPE, LPDWORD);
STDMETHOD(SetTextureStageState)(THIS_ DWORD, D3DTEXTURESTAGESTATETYPE, DWORD);
STDMETHOD(ValidateDevice)(THIS_ LPDWORD);
STDMETHOD(ApplyStateBlock)(THIS_ DWORD);
STDMETHOD(CaptureStateBlock)(THIS_ DWORD);
STDMETHOD(DeleteStateBlock)(THIS_ DWORD);
STDMETHOD(CreateStateBlock)(THIS_ D3DSTATEBLOCKTYPE, LPDWORD);
STDMETHOD(Load)(THIS_ LPDIRECTDRAWSURFACE7, LPPOINT, LPDIRECTDRAWSURFACE7, LPRECT, DWORD);
STDMETHOD(LightEnable)(THIS_ DWORD, BOOL);
STDMETHOD(GetLightEnable)(THIS_ DWORD, BOOL*);
STDMETHOD(SetClipPlane)(THIS_ DWORD, D3DVALUE*);
STDMETHOD(GetClipPlane)(THIS_ DWORD, D3DVALUE*);
STDMETHOD(GetInfo)(THIS_ DWORD, LPVOID, DWORD);
// Helper functions
IDirect3DDevice *GetProxyInterfaceV1() { return (IDirect3DDevice *)ProxyInterface; }
IDirect3DDevice2 *GetProxyInterfaceV2() { return (IDirect3DDevice2 *)ProxyInterface; }
IDirect3DDevice3 *GetProxyInterfaceV3() { return (IDirect3DDevice3 *)ProxyInterface; }
IDirect3DDevice7 *GetProxyInterfaceV7() { return ProxyInterface; }
};
| [
"elisha@novicemail.com"
] | elisha@novicemail.com |
e25b3989d4446eee4e6ecf33cec53078cb8430c8 | d779119a6bf971ee0474432e7171ac657d5181b8 | /Utils/uDataModule.h | f0cd43f847d907727381b15a6d1e57e9cea3dab6 | [
"MIT"
] | permissive | jpwerka/SistemaSFG | 357d7d39849b384204fe398db6f60da09e3769f7 | 76ce689a455280d3b637aec0a0b759a64032f037 | refs/heads/master | 2021-01-22T01:33:20.148668 | 2014-10-20T09:55:14 | 2014-10-20T09:55:14 | 25,437,941 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,867 | h | //---------------------------------------------------------------------------
#ifndef uDataModuleH
#define uDataModuleH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <DB.hpp>
#include <AppEvnts.hpp>
#include "ZConnection.hpp"
#include "ZAbstractDataset.hpp"
#include "ZAbstractRODataset.hpp"
#include "ZDataset.hpp"
#include "ZSqlMonitor.hpp"
#include <ScktComp.hpp>
#define SFG_MAX_SIZE_MSG 0x00000400
//---------------------------------------------------------------------------
class PACKAGE TSfgDataCenter : public TDataModule
{
__published: // IDE-managed Components
TZConnection *AppConnection;
TZSQLMonitor *SfgSQLMonitor;
TZQuery *QyTransaction;
void __fastcall DataModuleDestroy(TObject *Sender);
private: // User declarations
bool bWaitSocket;
bool __fastcall LerConnections();
bool __fastcall LerLicenceServer();
bool __fastcall LerLicenceClient();
public: // User declarations
bool ExistDataBase;
bool IsLicenceOK;
bool InTransaction;
__fastcall TSfgDataCenter(TComponent* Owner);
bool __fastcall OpenClientSocket();
bool __fastcall CloseClientSocket();
bool __fastcall ClientSocketRead();
bool __fastcall ClientSocketSend();
bool __fastcall ValidLicence();
bool __fastcall ValidDatabase();
//void __fastcall WaitForSocket();
//void __fastcall SetSocketToWait(bool bWait);
bool __fastcall StartTrans();
bool __fastcall CommitTrans();
bool __fastcall RollbackTrans();
};
//---------------------------------------------------------------------------
extern PACKAGE TSfgDataCenter *SfgDataCenter;
extern PACKAGE TZConnection *AppConnection;
extern PACKAGE SOCKET AppClientSocket;
//---------------------------------------------------------------------------
#endif
| [
"jpwerka@gmail.com"
] | jpwerka@gmail.com |
8cc28c06ead96b535d93caace37cfb326e191dae | ea2cc666f3bc292435bb9a2dbe2326cf9a85f123 | /Phoenix3D/Tools/Nirvana/PropGrid/PX2EMFloatProperty.cpp | 2e6acce3676334c92b41ef876204937d990312a9 | [] | no_license | libla/Phoenix3D | c030b9b3933623dd58826f18754aaddf557575c0 | 788a04f922f38a12dc7886fe686a000785443f95 | refs/heads/master | 2020-12-06T19:12:36.116291 | 2015-07-27T16:14:57 | 2015-07-27T16:14:57 | 39,821,992 | 1 | 1 | null | 2015-07-28T08:24:41 | 2015-07-28T08:24:40 | null | WINDOWS-1252 | C++ | false | false | 3,543 | cpp | /*
*
* ÎļþÃû³Æ £º PX2EMFloatProperty.cpp
*
*/
#include "PX2EMFloatProperty.hpp"
#include "PX2PropertyPage.hpp"
#include "wxPropertyExtend.hpp"
using namespace PX2Editor;
using namespace PX2;
EMFloatProperty::EMFloatProperty (PropertyPage *parent, const std::string &name,
const std::string &tag, InterpCurvePointFloat *point, bool isForInit)
:
Property(parent, name, tag, Property::PT_EMFLOAT, 0),
mPropertyInVal(0),
mPropertyOutVal(0),
mPropertyArriveTangent(0),
mPropertyLeaveTangent(0),
mInterpMode(0),
mPoint(point),
mIsForInit(isForInit)
{
mProperty = parent->mPage->Append(new wxStringProperty(
name, tag, wxT("<composed>")) );
if (!mIsForInit)
{
mPropertyInVal = parent->mPage->AppendIn(mProperty,
new wxFloatProperty(wxT("InVal"), tag+wxT("InVal"), double(mPoint->InVal) ));
mPropertyOutVal = parent->mPage->AppendIn(mProperty,
new wxFloatProperty(wxT("OutVal"), tag+wxT("OutVal"), double(mPoint->OutVal) ));
mPropertyArriveTangent = parent->mPage->AppendIn(mProperty,
new wxFloatProperty(wxT("ArriveTangent"), tag+wxT("ArriveTangent"),
double(mPoint->ArriveTangent) ));
mPropertyLeaveTangent = parent->mPage->AppendIn(mProperty,
new wxFloatProperty(wxT("OutTangent"), tag+wxT("OutTangent"),
double(mPoint->LeaveTangent) ));
wxArrayString labels;
labels.push_back(ICMToString(ICM_LINEAR));
labels.push_back(ICMToString(ICM_CONSTANT));
labels.push_back(ICMToString(ICM_CURVE_AUTO));
labels.push_back(ICMToString(ICM_CURVE_AUTOCLAMPED));
labels.push_back(ICMToString(ICM_CURVE_USER));
labels.push_back(ICMToString(ICM_CURVE_BREAK));
wxArrayInt arrayInt;
arrayInt.push_back(ICM_LINEAR);
arrayInt.push_back(ICM_CONSTANT);
arrayInt.push_back(ICM_CURVE_AUTO);
arrayInt.push_back(ICM_CURVE_AUTOCLAMPED);
arrayInt.push_back(ICM_CURVE_USER);
arrayInt.push_back(ICM_CURVE_BREAK);
mInterpMode = parent->mPage->AppendIn(mProperty,
new wxEnumProperty(wxT("InterpMode"), tag+wxT("InterpMode"), labels,
arrayInt, (int)(point->InterpMode)));
}
else
{
mPropertyOutVal = parent->mPage->AppendIn(mProperty,
new wxFloatProperty(wxT("OutVal"), tag+wxT("OutVal"), double(mPoint->OutVal) ));
}
}
//-----------------------------------------------------------------------------
EMFloatProperty::~EMFloatProperty ()
{
}
//-----------------------------------------------------------------------------
void EMFloatProperty::OnChange (wxPropertyGridEvent &event)
{
wxPGProperty *prop = event.GetProperty();
const wxString &wxName = event.GetPropertyName();
wxVariant var = prop->GetValue();
PX2_UNUSED(wxName);
if (var.IsNull())
return;
float fValue = (float)(var.GetDouble());
if (mPropertyInVal == prop)
{
mPoint->InVal = fValue;
}
else if (mPropertyOutVal == prop)
{
mPoint->OutVal = fValue;
}
else if (mPropertyArriveTangent == prop)
{
mPoint->ArriveTangent = fValue;
}
else if (mPropertyLeaveTangent == prop)
{
mPoint->LeaveTangent = fValue;
}
else if (mInterpMode == prop)
{
int val = var.GetInteger();
mPoint->InterpMode = (InterpCurveMode)val;
}
}
//-----------------------------------------------------------------------------
void EMFloatProperty::DoEnter ()
{
}
//-----------------------------------------------------------------------------
void EMFloatProperty::DoExecute (PX2::Event *event)
{
PX2_UNUSED(event);
}
//-----------------------------------------------------------------------------
void EMFloatProperty::DoLeave ()
{
}
//----------------------------------------------------------------------------- | [
"realmany@163.com"
] | realmany@163.com |
cb499595f7123d1592de1f2d4eeca4c64373c42e | 3ab68d8654fa769b7a864292fe8a2ea0239208c5 | /Number Theory/nCr/1090 - Trailing Zeroes (II)/main.cpp | 3a00de5a76c008b29125033a12778f0f72ca53d2 | [] | no_license | amp1590/Light-OJ | ba7e71e0904bd3b75782aeca5759c29e657b5c99 | 66398fa23a236b7e80317b9c6c3b9c610da1c952 | refs/heads/master | 2021-07-10T04:44:23.019626 | 2017-10-10T10:45:50 | 2017-10-10T10:45:50 | 82,906,533 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,956 | cpp | #include <bits/stdc++.h>
#define pf printf
#define sf(a) scanf("%d",&a)
#define sfl(a) scanf("%lld",&a)
#define sff(a,b) scanf("%d %d",&a,&b)
#define sffl(a,b) scanf("%lld %lld",&a,&b)
#define sfff(a,b,c) scanf("%d %d %d",&a,&b,&c)
#define sfffl(a,b,c) scanf("%lld %lld %lld",&a,&b,&c)
#define sffff(a,b,c,d) scanf("%d %d %d %d",&a,&b,&c,&d)
#define sffffl(a,b,c,d) scanf("%lld %lld %lld %lld",&a,&b,&c,&d)
#define sfffff(a,b,c,d,e) scanf("%d %d %d %d %d",&a,&b,&c,&d,&e)
#define sfffffl(a,b,c,d,e) scanf("%lld %lld %lld %lld %lld",&a,&b,&c,&d,&e)
#define ms(a,b) memset(a,b,sizeof(a))
#define pb(a) push_back(a)
#define db double
#define ft float
#define ll long long
#define ull unsigned long long
#define ff first
#define ss second
#define sz(x) x.size()
#define qu queue
#define pqu priority_queue
#define vc vector
#define vi vector<int>
#define vll vector<long long>
#define pii pair<int,int>
#define pis pair<int,string>
#define psi pair<string,int>
#define all(x) x.begin(),x.end()
#define CIN ios_base::sync_with_stdio(0); cin.tie(0)
#define max3(a, b, c) max(a, b) > max(b, c) ? max(a, b) : max(b, c)
#define min3(a, b, c) min(a, b) < min(b, c) ? min(a, b) : min(b, c)
#define loop0(i,n) for(int i=0;i<n;i++)
#define loop1(i,n) for(int i=1;i<=n;i++)
#define loopab(a,b) for(int i=a;i<=b;i++)
#define stlloop(x) for(__typeof(x.begin()) it=x.begin();it!=x.end();it++)
#define gcd(a, b) __gcd(a, b)
#define lcm(a, b) ((a)*((b)/gcd(a,b)))
#define case1(z) cout<<"Case "<<z<<": "
#define case2(z) printf("Case %d: ",z)
#define PI 3.14159265358979323846264338328
#define valid(tx,ty) tx>=0 && tx<r && ty>=0 && ty<c
#define intlim 2147483648
#define MAX 1000000
#define inf 10000000
/*------------------------------Graph Moves----------------------------*/
//const int fx[]={+1,-1,+0,+0};
//const int fy[]={+0,+0,+1,-1};
//const int fx[]={+0,+0,+1,-1,-1,+1,-1,+1}; // Kings Move
//const int fy[]={-1,+1,+0,+0,+1,+1,-1,-1}; // Kings Move
//const int fx[]={-2, -2, -1, -1, 1, 1, 2, 2}; // Knights Move
//const int fy[]={-1, 1, -2, 2, -2, 2, -1, 1}; // Knights Move
/*---------------------------------------------------------------------*/
using namespace std;
int main()
{
//CIN;
// freopen("in.txt","r",stdin);
// freopen("out.txt","w",stdout);
int t;
sf(t);
loop1(z,t)
{
int n,r,p,q;
sffff(n,r,p,q);
int a=0;
int k=n;
while(k!=0)
{
a+=k/5;
k/=5;
}
int b=0;
int m=n-r;
k=m;
while(k!=0)
{
b+=k/5;
k/=5;
}
int c=0;
k=r;
while(k!=0)
{
c+=k/5;
k/=5;
}
int f=a-(b+c);
a=0;
k=n;
while(k!=0)
{
a+=k/2;
k/=2;
}
b=0;
m=n-r;
k=m;
while(k!=0)
{
b+=k/2;
k/=2;
}
c=0;
k=r;
while(k!=0)
{
c+=k/2;
k/=2;
}
int g=a-(b+c);
c=0;
k=p;
while(k%5==0)
{
k/=5;
c++;
}
f+=(q*c);
c=0;
k=p;
while(k%2==0)
{
k/=2;
c++;
}
g+=(q*c);
a=min(f,g);
case2(z);
pf("%d\n",a);
}
return 0;
}
| [
"arunima1590@gmail.com"
] | arunima1590@gmail.com |
c98dcec1dd4c4c31d0f0750078016914f0bc6bbf | 6203af9a338c21b4b6d3000384b1362fc169ab92 | /src/numerics.cpp | 5cbd1d6a593919393f493e00428c4dc67f6e8cd4 | [] | no_license | jeszekely/MolecularAlignment | 5c579517fda9b3c83826aa1013a0108f3f747021 | 344ea1107fddfcaaefc3701aeecf7e685d4db7cb | refs/heads/master | 2016-09-06T19:20:56.727668 | 2014-02-12T18:01:52 | 2014-02-12T18:01:52 | 16,773,123 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,512 | cpp | #include <iostream>
#include <fstream>
#include <cstdlib>
#include <cmath>
#include <complex>
#include <new>
#include <fftw3.h>
#include <gsl/gsl_sf_coupling.h>
#include "array_structs.h"
#include "numerics.h"
double hermite(int n, double x)
{
if (n == 0)
{
return 1;
}
else if (n == 1)
{
return 2*x;
}
else
{
double poly = 2*x*hermite(n-1,x) - 2*(n-1)*hermite(n-2,x);
return poly;
}
}
double factorial(int n)
{
double fact;
if (n==0)
{
fact = 1;
}
else
{
fact = n*factorial(n-1);
}
return fact;
}
double ho_wvfxn(int n, double x, double xcen, double omega, double m, double hbar)
{ //nth harmonic oscillator solution evaluated at x, centered at xcen
double coeff1 = 1/sqrt(pow(2.0,n)*factorial(n));
double coeff2 = sqrt(sqrt(m*omega/M_PI/hbar));
double coeff = coeff1 * coeff2;
x -= xcen;
double fxn = coeff * exp(-1*m*omega*x*x/2/hbar) * hermite(n,sqrt(m*omega/hbar)*x);
return fxn;
}
int kron_delta(int x, int y)
{
if (x == y)
{
return 1;
}
else
{
return 0;
}
}
/****************************************
Calculates < J K M | D^2_{QS}| J'K'M'>
"Field Matter Interaction Matrix Element"
*****************************************/
double FMIME (int J, int K, int M, int Q, int S, int j, int k, int m)
{
double coeff1 = pow(-1.0,k+m);
double coeff2 = sqrt((2.0*J + 1.0)*(2.0*j+1.0));
double J1 = gsl_sf_coupling_3j(2*J, 4, 2*j, 2*M, 2*Q, -2*m);
double J2 = gsl_sf_coupling_3j(2*J, 4, 2*j, 2*K, 2*S, -2*k);
return coeff2*coeff1*J2*J1;
} | [
"jeszekely@gmail.com"
] | jeszekely@gmail.com |
a5df7232d530d224285b3076e9520ff5dbf6b565 | a5b6fb6e6253350c7a6c0714cfa1ef82eabc3632 | /pdf/PDF.cpp | 24846aa89da7a44ed56561916f69f56d7a358e64 | [
"BSD-3-Clause"
] | permissive | mkanai/ChunkChromosome | f74881bb2b75209d292c05261ab6d41181a7368f | ef050b63ced91eef9c0eac00c578ce413afff8f1 | refs/heads/master | 2020-05-29T17:33:04.519673 | 2015-06-17T16:17:20 | 2015-06-17T16:17:20 | 37,606,440 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,630 | cpp | //////////////////////////////////////////////////////////////////////
// pdf/PDF.cpp
// (c) 2000-2011 Goncalo Abecasis
//
// This file is distributed as part of the Goncalo source code package
// and may not be redistributed in any form, without prior written
// permission from the author. Permission is granted for you to
// modify this file for your own personal use, but modified versions
// must retain this copyright notice and must not be distributed.
//
// Permission is granted for you to use this file to compile Goncalo.
//
// All computer programs have bugs. Use this file at your own risk.
//
// Friday August 05, 2011
//
#include "PDF.h"
#include "Error.h"
#include <stdarg.h>
PDF::PDF() : page(*this), font(*this)
{
file = NULL;
objects.Push(0);
}
PDF::~PDF()
{
CloseFile();
}
void PDF::OpenFile(const char * name)
{
file = fopen(name, "wb");
if (file == NULL)
error("Error opening file [%s]\n", name);
char signature[] = {'%', '%', (char) ('G' + 128), (char) ('R' + 128), (char) ('A' + 128), '\n', '\n', 0};
fprintf(file, "%%PDF-1.4\n");
fprintf(file, signature);
}
void PDF::CloseFile()
{
if (file == NULL)
return;
page.ClosePage();
// If the PDF document is empty, add an empty
// page to ensure well formed document.
if (page.GetPageNumber() == 0)
{
page.OpenPage();
page.ClosePage();
}
info.Write(*this);
page.WritePageTree();
font.WriteDictionary();
int catalogue = GetObject();
OpenObject(catalogue);
OpenDictionary();
WriteName("Type", "Catalog");
WriteReference("Pages", page.tree_index);
CloseDictionary();
CloseObject();
int trailer_offset = ftell(file);
fprintf(file, "xref\n");
fprintf(file, "0 %d\n", objects.Length() );
fprintf(file, "0000000000 65535 f \n");
for (int i = 1; i < objects.Length(); i++)
fprintf(file, "%010d 00000 n \n", objects[i]);
fprintf(file, "trailer\n");
fprintf(file, "<<\n");
fprintf(file, "/Size %d\n", objects.Length());
fprintf(file, "/Root %d 0 R\n", catalogue);
fprintf(file, "/Info %d 0 R\n", info.object);
fprintf(file, ">>\n");
fprintf(file, "startxref\n");
fprintf(file, "%d\n", trailer_offset);
fprintf(file, "%%%%EOF");
fclose(file);
file = NULL;
}
bool PDF::BalancedParenthesis(const char * string)
{
int balance = 0;
while (true)
{
switch (*string)
{
case '(' :
balance++;
break;
case ')' :
balance--;
if (balance < 0)
return false;
break;
case 0 :
return balance == 0;
default:
break;
}
string++;
}
}
void PDF::WriteBoolean(bool boolean)
{
fprintf(file, " %s ", boolean ? "true" : "false");
}
void PDF::WriteInteger(int integer)
{
fprintf(file, " %d ", integer);
}
void PDF::WriteDouble(double value)
{
fprintf(file, " %#f ", value);
}
void PDF::WriteName(const char * name)
{
fputc('/', file);
while (*name)
{
if (*name >= 33 && *name <= 126 && *name != '#')
fputc(*name, file);
else
fprintf(file, "#%02X", *name);
name++;
}
fputc(' ', file);
}
void PDF::WriteString(const char * string)
{
fputc('(', file);
bool balanced = false, check = false; // Initialization avoids compiler warning
while (*string)
{
switch (*string)
{
case '(' :
case ')' :
if (!check)
{
check = true;
balanced = BalancedParenthesis(string);
}
if (balanced)
{
fputc(*string, file);
break;
}
case '\\' :
fputc('\\', file);
default :
fputc(*string, file);
}
string++;
}
fputc(')', file);
fputc(' ', file);
}
void PDF::WriteComment(const char * comment)
{
fputc('%', file);
while (*comment)
{
int ch = *comment++;
if (ch == '\r') continue;
fputc(ch, file);
if (ch == '\n') fputc('%', file);
}
}
void PDF::OpenArray()
{
fprintf(file, " [ ");
}
void PDF::CloseArray()
{
fprintf(file, " ]\n");
}
void PDF::WriteArray(const IntArray & array)
{
fprintf(file, " [ ");
for (int i = 0; i < array.Length(); i++)
WriteInteger(array[i]);
fprintf(file, " ] ");
}
void PDF::WriteReferenceArray(const IntArray & array)
{
fprintf(file, " [ ");
for (int i = 0; i < array.Length(); i++)
WriteReference(array[i]);
fprintf(file, " ] ");
}
void PDF::WriteReference(int object)
{
fprintf(file, " %d 0 R ", object);
}
void PDF::WriteDate(int year, int month, int day)
{
fprintf(file, " (D:%04d%02d%02d) ", year, month, day);
}
void PDF::WriteBoolean(const char * name, bool boolean)
{
WriteName(name);
WriteBoolean(boolean);
fputc('\n', file);
}
void PDF::WriteInteger(const char * name, int integer)
{
WriteName(name);
WriteInteger(integer);
fputc('\n', file);
}
void PDF::WriteDouble(const char * name, double value)
{
WriteName(name);
WriteDouble(value);
fputc('\n', file);
}
void PDF::WriteName(const char * name, const char * name2)
{
WriteName(name);
WriteName(name2);
fputc('\n', file);
}
void PDF::WriteString(const char * name, const char * string)
{
WriteName(name);
WriteString(string);
fputc('\n', file);
}
void PDF::WriteReference(const char * name, int object)
{
WriteName(name);
WriteReference(object);
fputc('\n', file);
}
void PDF::WriteDate(const char * name, int year, int month, int day)
{
WriteName(name);
WriteDate(year, month, day);
fputc('\n', file);
}
void PDF::WriteArray(const char * name, const IntArray & array)
{
WriteName(name);
WriteArray(array);
fputc('\n', file);
}
void PDF::WriteReferenceArray(const char * name, const IntArray & array)
{
WriteName(name);
WriteReferenceArray(array);
fputc('\n', file);
}
int PDF::GetObject()
{
objects.Push(0);
return objects.Length() - 1;
};
void PDF::OpenObject(int object)
{
objects[object] = ftell(file);
fprintf(file, "%d 0 obj\n", object);
};
void PDF::CloseObject()
{
fprintf(file, "\nendobj\n\n");
}
void PDF::WriteInteger(int object, int integer)
{
OpenObject(object);
WriteInteger(integer);
CloseObject();
}
void PDF::WriteString(int object, const char * string)
{
OpenObject(object);
WriteString(string);
CloseObject();
}
int PDF::OpenStream()
{
int object = GetObject();
length_index = GetObject();
OpenObject(object);
fprintf(file, " << /Length %d 0 R >>\n", length_index);
fprintf(file, "stream\n");
stream_start = ftell(file);
return object;
}
void PDF::CloseStream()
{
int length = ftell(file) - stream_start;
fprintf(file, "\nendstream");
CloseObject();
WriteInteger(length_index, length);
}
int PDF::StreamLength()
{
return ftell(file) - stream_start;
}
void PDF::AppendToStream(const char * string, ...)
{
va_list argptr;
va_start(argptr, string);
vfprintf(file, string, argptr);
va_end(argptr);
}
void PDF::OpenDictionary()
{
fprintf(file, "<<\n");
}
void PDF::CloseDictionary()
{
fprintf(file, ">>");
}
void PDF::LineBreak()
{
fprintf(file, "\n");
}
| [
"mkanai.brc@tmd.ac.jp"
] | mkanai.brc@tmd.ac.jp |
6bfc323a5dc0f8f8ac3560780d777023d3d9d68a | 12dd7c753dbef7c05bc2a6c1843785eb2c9c802d | /CQUPT/自定义/03 二维数组的地址问题/03 二维数组的地址问题/demo.cpp | d1bf2ca5222550bdc9c1f3f1706f7e389e3fc382 | [] | no_license | Echo002/the-Best-of-C | 3b82fa4589a076d6deafa8b9ed8ef971cca6aee6 | 3008bf847b841994b618cab15edb812fd04ac6ad | refs/heads/master | 2021-05-04T12:05:28.454758 | 2018-03-18T15:57:48 | 2018-03-18T15:57:48 | 120,286,303 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 393 | cpp | #include <stdio.h>
int main()
{
int a[3][4] = {1,3,5,7,9,11,13,15,17,19,21,23};
printf("%d,%d\n",a,*a);
printf("%d,%d\n",a[0],*(a+0));
printf("%d,%d\n",&a[0],&a[0][0]);
printf("%d,%d\n",a[1],a+1);
printf("%d,%d\n",&a[1][0],*(a+1)+3);
printf("%d,%d\n",a[2],*(a+2));
printf("%d,%d\n",&a[2],a+2);
printf("%d,%d\n",a[1][0],*(*(a+1)+0));
printf("%d,%d\n",*a[2],*(*(a+2)+0));
return 0;
} | [
"xugaohero@163.com"
] | xugaohero@163.com |
50292dd0295b2bf85d26a84ed26b0d0109d7dba9 | b272baa97f92c5960f18f0118072bb27471c5aa4 | /InvisibilityFilter.h | 39baf262d52d869ce87cadf5be09dce60d1e84be | [] | no_license | liclac/BrawlTool | 9eee6342522258d3a146d868eb1daf0971f51efb | 8f232c1c72581432d4a72ba99cc2f423bde7097b | refs/heads/master | 2021-05-27T09:57:21.406148 | 2013-01-01T15:15:39 | 2013-01-01T15:15:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | h | #ifndef INVISIBILITYFILTER_H
#define INVISIBILITYFILTER_H
#include <QtCore>
#include <QtGui>
class InvisibilityFilter : public QObject
{
Q_OBJECT
public:
explicit InvisibilityFilter(QObject *parent = 0);
bool eventFilter(QObject *, QEvent *);
void setWidgetVisible(QWidget *widget, bool visible);
};
#endif // INVISIBILITYFILTER_H
| [
"uppfinnarn@gmail.com"
] | uppfinnarn@gmail.com |
bf59a15b8dccdca45e70c6f85f1a2710e6c5ccc5 | cc6036e3bab6d310d8b30c423c7453748f8da9a7 | /src/server.cpp | c96e55bf0cafc35c061b73139baffa12c6bd70bb | [
"MIT"
] | permissive | mhalitk/RemoteBot | 828ef26065e98596df2228125e70b0515f72cafa | 77195f7d7be13883be9a7a897f2a8a2f9ebe5815 | refs/heads/master | 2021-06-13T20:36:03.911434 | 2017-03-16T07:36:13 | 2017-03-16T07:36:13 | 73,954,933 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,455 | cpp | #include <iostream>
#include <future>
#include <signal.h>
#include <string.h>
#include <vector>
#include "BotHandler.h"
#include "BotService.h"
#include "config.h"
#include "ClientHandler.h"
#include "Net/TCPConnection.h"
#include "Net/TCPServer.h"
using namespace std;
using namespace hlt;
vector<ClientHandler::Ptr> clientHandlers;
vector<BotHandler::Ptr> botHandlers;
void removeBot(BotHandler::Ptr handler)
{
BotService::UnregisterBot(handler->getName());
auto iter = std::find(botHandlers.begin(), botHandlers.end(), handler);
if (iter != botHandlers.end())
botHandlers.erase(iter);
}
void registerBot(const BotHandler::EventArgument& arg, BotHandler::Ptr botHandler)
{
cout << "Trying to register new bot: " << arg["name"] << endl;
int result = BotService::RegisterBot(arg["name"], botHandler);
if (result == 0)
{
cout << "Registered new bot: " << arg["name"] << endl;
}
else
{
cout << "Couldn't register bot closing..." << endl;
botHandler->close();
removeBot(botHandler);
}
}
static void signalHandler(int signum)
{
// TODO Handle signals
}
int main(int argc, char** argv)
{
struct sigaction sa;
sa.sa_handler = signalHandler;
sigemptyset(&sa.sa_mask);
if (sigaction(SIGPIPE, &sa, NULL) == -1)
{
cout << "Couldn't set signal handler. Exiting..." << endl;
return 1;
}
TCPServer clientServer(string(CLIENT_PORT));
clientServer.getEventEmitter().on("connection",
[](const TCPServer::EventArgument& arg) {
cout << "New connection to client server!" << endl;
clientHandlers.push_back(ClientHandler::Ptr(
new ClientHandler(arg.connection)));
}
);
clientServer.start();
TCPServer spServer(string(SP_PORT));
spServer.getEventEmitter().on("connection",
[](const TCPServer::EventArgument& arg) {
cout << "New connection to bot server!" << endl;
BotHandler::Ptr botHandler(new BotHandler(arg.connection));
botHandlers.push_back(botHandler);
botHandler->getEventEmitter().on("close", std::bind(removeBot, botHandler));
botHandler->getEventEmitter().on("info", std::bind(registerBot, placeholders::_1, botHandler));
}
);
spServer.start();
while (1)
{
string in;
cin >> in;
// Possible UI here
}
return 0;
}
| [
"halit.karakis@smartface.io"
] | halit.karakis@smartface.io |
04bcdfaa2ebb7d9a9c4e12572ec8755ff64322bd | eb24b9c91937085561695d8454ce2dcddd1eb3a0 | /106/bintree.cpp | 63f2db0f1dfad49d45e59899c3ac284c8a6815b5 | [] | no_license | wilson100hong/LeetCodeOJ | c85a9c11bc8b01ac8dff4da118d75b7a804a40d8 | bd133f39e487daa4daa0f8e48641c613e15b144c | refs/heads/master | 2021-07-13T04:56:29.913810 | 2020-08-23T17:30:30 | 2020-08-23T17:30:58 | 16,264,579 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 880 | cpp | class Solution {
public:
unordered_map<int, int> location; // inorder index
vector<int> ino;
vector<int> posto;
TreeNode* helper(int istart, int pstart, int len) {
if (len <= 0) return nullptr;
int val = posto[pstart + len - 1];
TreeNode* node = new TreeNode(val);
int index = location[val];
int llen = index - istart;
node->left = helper(istart, pstart, llen);
int rlen = len - 1 - llen;
node->right = helper(index + 1, pstart + llen, rlen);
return node;
}
TreeNode* buildTree(vector<int>& inorder, vector<int>& postorder) {
for (int i=0;i<inorder.size();++i) {
location[inorder[i]] = i;
}
ino = inorder;
posto = postorder;
return helper(0, 0, ino.size());
}
};
| [
"wilson100hong@gmail.com"
] | wilson100hong@gmail.com |
c5a9daa40aa4d0ecb12548592d5b0d56b8780835 | 8fdbead85d30c0cdc52a342443f7204313ab46f2 | /modules/ti.Growl/osx/growl_osx.h | e8a972359f7086f4d7e07fd7a70f8952dea5af5b | [
"Apache-2.0"
] | permissive | peggielich/titanium | 9c49d71e8f0a333ecf2db27d7fa9b34209e53144 | f85cfe257571674d05440bc85481a26006cb0af9 | refs/heads/master | 2021-01-18T08:50:15.634971 | 2009-03-14T17:51:57 | 2009-03-14T17:51:57 | 150,921 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 790 | h | /**
* Appcelerator Titanium - licensed under the Apache Public License 2
* see LICENSE in the root folder for details on the license.
* Copyright (c) 2008 Appcelerator, Inc. All Rights Reserved.
*/
#ifndef GROWL_OSX_H_
#define GROWL_OSX_H_
#include <kroll/kroll.h>
#include <string>
#include "../growl_binding.h"
#include "growl_delegate.h"
namespace ti {
class GrowlOSX : public GrowlBinding {
protected:
TiGrowlDelegate *delegate;
public:
GrowlOSX(SharedBoundObject global);
virtual ~GrowlOSX();
void CopyToApp(kroll::Host *host, kroll::Module *module);
virtual void ShowNotification(std::string& title, std::string& description, std::string& iconURL, int notification_delay, SharedBoundMethod callback);
virtual bool IsRunning();
};
}
#endif /* GROWL_OSX_H_ */
| [
"marshall.law@gmail.com"
] | marshall.law@gmail.com |
d58565d148c50b0a3105c00c20ce5b029024247c | 9c01de31627a43f33481b1a4c0d920051ac15063 | /Classes/Screens/Popscreen.cpp | c45a911fb58f0a1873ee8524a1d8d2b033162040 | [] | no_license | tooflya/popcorn-mania | 957f3f1d54aad6fbc686d4bb7243a053e95651ea | d0c2073b7844d807abee6835a266ce0f1bc4da73 | refs/heads/master | 2016-09-06T18:47:28.627415 | 2013-06-27T15:45:28 | 2013-06-27T15:45:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,453 | cpp | #ifndef CONST_POPSCREEN
#define CONST_POPSCREEN
#include "Popscreen.h"
// ===========================================================
// Inner Classes
// ===========================================================
// ===========================================================
// Constants
// ===========================================================
// ===========================================================
// Fields
// ===========================================================
// ===========================================================
// Constructors
// ===========================================================
// ===========================================================
// Methods
// ===========================================================
// ===========================================================
// Virtual Methods
// ===========================================================
// ===========================================================
// Constructors
// ===========================================================
Popscreen::Popscreen()
{
this->scheduleUpdate();
}
// ===========================================================
// Getters
// ===========================================================
// ===========================================================
// Setters
// ===========================================================
// ===========================================================
// Methods
// ===========================================================
bool Popscreen::ccTouchBegan(CCTouch* touch, CCEvent* event)
{
return false;
}
void Popscreen::ccTouchMoved(CCTouch* touch, CCEvent* event)
{
}
void Popscreen::ccTouchEnded(CCTouch* touch, CCEvent* event)
{
}
void Popscreen::onTouch(CCTouch* touch, CCEvent* event)
{
}
// ===========================================================
// Virtual methods
// ===========================================================
void Popscreen::onEnter()
{
CCLayer::onEnter();
}
void Popscreen::onExit()
{
CCLayer::onExit();
}
void Popscreen::update(float pDeltaTime)
{
CCLayer::update(pDeltaTime);
if(this->mNeedToHide)
{
this->mHideTimeElapsed += pDeltaTime;
if(this->mHideTimeElapsed >= 0.35f)
{
this->mNeedToHide = false;
this->mHideTimeElapsed = 0;
this->removeFromParentAndCleanup(false);
}
}
}
#endif | [
"igor.mats@yandex.ru"
] | igor.mats@yandex.ru |
9608bacda536f5cc1db94bb7f59a54cd1a505694 | 924b7dff3442f8feabefba5bd85902b978dfac44 | /Practical4/Project2/AClass.cpp | 1138e04caf4e88a8342910c699dd2dd9eeae3b46 | [] | no_license | rowan-adair/CSC2040-Practicals | 1515fc45b478aeba3af70b34ba41bc740a57a32b | 7a8e9b40f32cf303a608f9b419869220c64ac8d7 | refs/heads/master | 2022-07-01T07:49:32.839947 | 2020-05-10T20:28:48 | 2020-05-10T20:28:48 | 219,329,111 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 780 | cpp | #include "AClass.h"
#include <iostream>
using namespace std;
// Constructor
AClass::AClass(int len, double val):length(len){
if (len < 0) {
cout << "Invalid data length = " << len << endl;
data = NULL;
}
else {
data = new double[length];
for (int i = 0; i < length; i++)
data[i] = val;
}
}
AClass::AClass(const AClass& arr)
{
length = arr.length;
data = new double[length];
for (int i = 0; i < length; i++)
data[i] = arr.data[i];
}
void AClass::operator+=(const AClass& b) {
int len = (length < b.length) ? length : b.length;
for (int i = 0; i < len; i++)
data[i] += b.data[i];
for (int i = 0; i < length; i++)
cout << data[i] << endl;
cout << endl;
}
// Destructor
AClass::~AClass()
{
// delete data if it is not NULL
if(data) delete[] data;
}
| [
"radair2842@gmail.com"
] | radair2842@gmail.com |
0ee4ff4c6147f0b0a82429014d07b8184e26e8c8 | 6daa18bfebc32edf41b9eb9950808604952d6ff9 | /modules/common/cmdline_parser.h | ae84a2601416a11a917d95e7e9623d6380734c1e | [] | no_license | jungle-cat/Cires | d4ebc9300924a838f386992b248bde943d3199b5 | 0a3e9abe667ae3bba15e5bd8ac3991d926123a98 | refs/heads/master | 2021-01-19T09:03:21.000690 | 2015-03-19T05:22:11 | 2015-03-19T05:22:11 | 17,288,202 | 4 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,060 | h | /*
* cmdline_parser.h
*
* Created on: 2014年4月21日
* Author: Feng
*/
#ifndef __CMDLINE_PARSER_H__
#define __CMDLINE_PARSER_H__
#include "type.h"
namespace cires {
class CommandLineParser
{
public:
//! the default constructor
CommandLineParser(int argc, const char* const argv[],
const char* key_map);
//! get parameter, you can choose: delete spaces in end and begin or not
template<typename _Tp>
_Tp get(const string& name, bool space_delete = true)
{
if (!has(name))
{
return _Tp();
}
string str = getString(name);
return analyzeValue<_Tp>(str, space_delete);
}
//! print short name, full name, current value and help for all params
void printParams();
bool has(const string& keys);
protected:
map<string, vector<string> > o_data;
map<string, vector<string> > m_data;
string getString(const string& name);
template<typename _Tp>
_Tp analyzeValue(const string& str, bool space_delete = false);
template<typename _Tp>
static _Tp getData(const string& str)
{
_Tp res = _Tp();
stringstream s1(str);
s1 >> res;
return res;
}
template<typename _Tp>
_Tp fromStringNumber(const string& str); //the default conversion function for numbers
};
template<>
bool CommandLineParser::get<bool>(const string& name, bool space_delete);
template<>
std::string CommandLineParser::analyzeValue<string>(const string& str, bool space_delete);
template<>
int CommandLineParser::analyzeValue<int>(const string& str, bool space_delete);
template<>
unsigned int CommandLineParser::analyzeValue<unsigned int>(const string& str, bool space_delete);
template<>
uint64 CommandLineParser::analyzeValue<uint64>(const string& str, bool space_delete);
template<>
float CommandLineParser::analyzeValue<float>(const string& str, bool space_delete);
template<>
double CommandLineParser::analyzeValue<double>(const string& str, bool space_delete);
}
#endif /* __CMDLINE_PARSER_H__ */
| [
"ustcrevolutionary@gmail.com"
] | ustcrevolutionary@gmail.com |
4ba1b4dd5c7f0fbabec74f9ea74c1ef3570cd5b8 | 14ca908451c5fa15a41a968922811ee5a91b8b64 | /C++/Строки/Замена в строке.cpp | 8692d7c2562e58221109e4045e62908144a4a8c3 | [] | no_license | anzhedro/labs | bb4295432d3be1f4a86fc687250990683d6d3784 | 6a914601547c3e05d6996247dd5657e9e1336f62 | refs/heads/master | 2021-01-19T22:08:08.103301 | 2017-04-19T14:44:15 | 2017-04-19T14:44:15 | 88,755,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 682 | cpp | #include <stdio.h>
#include <string.h>
#include <stdlib.h>
char* zamena(char *s, char *s1, char *s2)
{
int pr; char *t = s, *p, *r, *res;
pr = strlen(s2) - strlen(s1);
if (pr > 0)
{
pr = pr * (strlen(s) / strlen(s1)) + strlen(s) + 1;
res = new char[pr];
}
else
res = new char[strlen(s) + 1];
r = res;
while (p = strstr(t, s1))
{
int x = p - t;
strncpy(r, t, x);
strncpy(r+x, s2, strlen(s2));
t = p + strlen(s1);
r = r + x + strlen(s2);
}
strcpy (r, t);
return res;
}
int main ()
{
char s[] = "hi hih hi hjhk";
char *s1 = "hi";
char *s2 = "Helly";
char *res;
res = zamena(s, s1, s2);
printf ( "%s \n", s);
printf ( "%s \n", res);
return 0;
} | [
"androsikei95@gmail.com"
] | androsikei95@gmail.com |
29b02563d5e6d838385ee5e5a6bc70581c134d22 | b42d7edce2d3f0fdd16e0d7628b30080e17453ae | /Homeworks/Solved/Arrays/segregate1and0.cpp | c70a0d725df530527a3f9f10662aec4674659967 | [] | no_license | rahdirs11/Geekster | e3e09a7adfccb69496604a7424f870d4d09977af | 4a5124969f58013cf43f2875103c6aeb5e3f03e5 | refs/heads/master | 2023-04-17T18:43:42.040959 | 2021-04-30T07:58:01 | 2021-04-30T07:58:01 | 345,723,441 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 405 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
int main() {
int n{};
cin >> n;
int* arr = new int[n];
for (int i = 0; i < n; ++i) {
cin >> arr[i];
}
int r{n}, l{n - 1};
while (l >= 0) {
if (arr[l] == 1) {
--r;
swap(arr[l], arr[r]);
}
--l;
}
for (int i = 0; i < n; ++i) {
cout << arr[i] << " ";
}
cout << endl;
delete [] arr;
return 0;
}
/*
1 0 1 1 1
*/ | [
"sriduneymar11@gmail.com"
] | sriduneymar11@gmail.com |
c7b750b4c62fa39a8f33a42ad4b332157676f369 | edcac1ae350dfcceda745b4c5b5927aa4d85614f | /ex6/main.cpp | 61d34d357b06799f45e082dd93f8013d383c4e0d | [] | no_license | adieli313/CPP-Ex6 | 82c4ec90bafe62eab0a602cb0360a20e367fa451 | cdb83473c50b785f7ff061ce73e0b0e1bc9ade66 | refs/heads/master | 2020-03-17T14:04:58.582758 | 2018-05-16T11:46:10 | 2018-05-16T11:46:10 | 133,657,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,354 | cpp | #include "Board.h"
#include <iostream>
using namespace std;
int main() {
Board board1{4}; // Initializes a 4x4 board
cout << board1 << endl; /* Shows an empty board:
....
....
....
....
*/
board1[{1,1}]='X';
board1[{1,2}]='O';
cout << board1 << endl; /* Shows the following board:
....
.XO.
....
....
*/
try {
board1[{3,4}]='O'; // This should raise an exception
} catch (const string& message) {
cout << message << endl;
}
board1 = '.'; // Fill the entire board with "."
cout << board1 << endl; /* Shows an empty board, as above */
try {
board1 = 'a'; // This should raise an exception
} catch (const string& message) {
cout << message << endl; // "Illegal char: a"
}
try {
board1[{0,1}] = 'x'; // This should raise an exception
} catch (const string& message) {
cout << message << endl;
}
Board board2 = board1;
board2[{0,0}] = 'X';
cout << board1 << endl; /* Shows an empty board, as above */
cout << board2 << endl; /* Shows a board with an X at top-left */
board1 = board2;
board1[{3,3}] = 'O';
cout << board2 << endl; /* Shows a board with an X at top-left */
cout << board1 << endl; /* Shows a board with an X at top-left and O at bottom-right */
return 0;
} | [
"noreply@github.com"
] | adieli313.noreply@github.com |
827df24a1bf10dac01e13fc318f5d3b8bfb7da5a | d965a3224bc76f979242ea65fb4bd50a12d95126 | /spplib/fs/directory_iterator.hpp | fcf84458c3d13098eb529680e7899a46ade9657f | [] | no_license | sharkpp/spplib | 9a4b59a9e737c22a7e3c8f34601ac5665d4747bb | 3d795c6613a312e25cdf17b7a4f3019a532424e8 | refs/heads/master | 2021-01-10T19:01:42.411472 | 2012-09-12T22:04:43 | 2012-09-12T22:04:43 | 2,318,098 | 2 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 8,712 | hpp | /**
* @file spplib/fs/directory_iterator.hpp
* @brief ディレクトリ列挙クラス 定義・実装
*
* Written by sharkpp<webmaster@sharkpp.net> in 2010.
*/
#include <windows.h>
#if defined(_MSC_VER) && 1000 < _MSC_VER
#pragma once
#endif // defined(_MSC_VER) && 1000 < _MSC_VER
#ifndef SPPLIB_462440FA_E6FA_4860_9F32_3CA0192BB758_INCLUDE_GUARD
#define SPPLIB_462440FA_E6FA_4860_9F32_3CA0192BB758_INCLUDE_GUARD
/// sharkpp class library namespace
namespace spplib {
/// filesysyem namespace
namespace fs {
/**
* @brief ディレクトリ列挙クラス
* @code
* for(spplib::fs::directory_iterator ite("*.*"), end;
* ite != end; ++ite) {
* printf("%s %s\r\n", ite.is_dir() ? "d" : "f", ite.filename());
* }
* @endcode
*/
class directory_iterator
{
#if defined(_UNICODE)
static const size_t MAX_PATH_LEN = 32767;
#else
static const size_t MAX_PATH_LEN = MAX_PATH * 2;
#endif
WIN32_FIND_DATA m_fd;
HANDLE m_handle;
bool m_next_exist;
mutable bool m_full_path_valid;
mutable TCHAR* m_full_path;
TCHAR* m_path;
TCHAR* m_dirname;
directory_iterator(const directory_iterator & );
directory_iterator & operator = (const directory_iterator & );
public:
/// コンストラクタ
directory_iterator();
/**
* @brief コンストラクタ
* @param[in] path 対象のパス
*/
directory_iterator(const TCHAR * path);
/// デストラクタ
~directory_iterator();
/**
* @brief ディレクトリ内の次のエントリへ移動
* @return 次のエントリへ移動後のこのオブジェクト自体を返す
*/
directory_iterator & operator ++();
/**
* @brief 指定したインスタンスと一致していないかの比較
* @param[in] rhs 比較対照のインスタンス
* @retval true 不一致
* @retval false 一致
* @note 空のオブジェクトとの比較にしか意味を持ちません。
*/
bool operator != (const directory_iterator & rhs) const;
/**
* @brief 指定したパスを検索
* @param[in] path 対象のパス
* @retval true 処理成功
* @retval false 処理失敗
*/
bool find(const TCHAR * path);
/**
* @brief ディレクトリ内の先頭項目へ戻る
* @retval true 処理成功
* @retval false 処理失敗
*/
bool rewind();
/**
* @brief 現在のエントリがディレクトリかどうかを調べる
* @retval true 現在のエントリがディレクトリ
* @retval false 現在のエントリがディレクトリ以外
*/
bool is_dir() const;
/**
* @brief 現在のエントリのファイル名を取得
* @return 現在のエントリのファイル名
*/
const TCHAR * filename() const;
/**
* @brief 現在のエントリのフルパスを取得
* @return 現在のエントリのフルパス
*/
const TCHAR * fullpath() const;
/**
* @brief 現在のエントリのサイズを取得
* @retval 0以上 ファイルサイズ
* @retval -1 ファイルサイズの取得に失敗。サイズが4GB以上など。
*/
DWORD size() const;
/**
* @brief 現在のエントリのサイズを取得
* @retval 0以上 ファイルサイズ
* @retval -1 ファイルサイズの取得に失敗。サイズが4GB以上など。
* @note 4GB以上も取得可能
*/
LONGLONG size64() const;
/**
* @brief 現在のエントリの属性を取得
* @return 現在のエントリの属性
*/
DWORD attribute() const;
/**
* @brief 現在のエントリの作成時刻
* @return 作成時刻
*/
time_t ctime() const;
/**
* @brief 現在のエントリの更新時刻
* @return 更新時刻
*/
time_t mtime() const;
/**
* @brief 現在のエントリのアクセス時刻
* @return アクセス時刻
*/
time_t atime() const;
};
///////////////////////////////////////////////////////////////////////////////
inline
directory_iterator::directory_iterator()
: m_handle(INVALID_HANDLE_VALUE)
, m_next_exist(false)
, m_full_path_valid(false)
, m_full_path(new TCHAR[MAX_PATH_LEN + 1])
, m_path(new TCHAR[MAX_PATH_LEN + 1])
, m_dirname(new TCHAR[MAX_PATH_LEN + 1])
{
::memset(m_full_path, 0, sizeof(TCHAR) * (MAX_PATH_LEN + 1));
::memset(m_path, 0, sizeof(TCHAR) * (MAX_PATH_LEN + 1));
::memset(m_dirname, 0, sizeof(TCHAR) * (MAX_PATH_LEN + 1));
}
inline
directory_iterator::directory_iterator(const TCHAR * path)
: m_handle(INVALID_HANDLE_VALUE)
, m_next_exist(false)
, m_full_path_valid(false)
, m_full_path(new TCHAR[MAX_PATH_LEN + 1])
, m_path(new TCHAR[MAX_PATH_LEN + 1])
, m_dirname(new TCHAR[MAX_PATH_LEN + 1])
{
::memset(m_full_path, 0, sizeof(TCHAR) * (MAX_PATH_LEN + 1));
::memset(m_path, 0, sizeof(TCHAR) * (MAX_PATH_LEN + 1));
::memset(m_dirname, 0, sizeof(TCHAR) * (MAX_PATH_LEN + 1));
find(path);
}
inline
directory_iterator::~directory_iterator()
{
if( INVALID_HANDLE_VALUE != m_handle )
{
::FindClose(m_handle);
}
delete [] m_full_path;
delete [] m_path;
delete [] m_dirname;
}
inline
directory_iterator & directory_iterator::operator ++()
{
if( m_next_exist ) {
m_next_exist = FALSE != ::FindNextFile(m_handle, &m_fd);
m_full_path_valid = false;
}
return *this;
}
bool directory_iterator::operator != (const directory_iterator & rhs) const
{
return m_next_exist != rhs.m_next_exist;
}
inline
bool directory_iterator::find(const TCHAR * path)
{
// リセット
if( INVALID_HANDLE_VALUE != m_handle )
{
::FindClose(m_handle);
}
::memset(m_full_path, 0, sizeof(TCHAR) * (MAX_PATH_LEN + 1));
::memset(m_path, 0, sizeof(TCHAR) * (MAX_PATH_LEN + 1));
::memset(m_dirname, 0, sizeof(TCHAR) * (MAX_PATH_LEN + 1));
// 検索パスを保存
#if defined(__STDC_LIB_EXT1__) || defined(__STDC_SECURE_LIB__) // Safer C Library
if( m_path != path ) {
_tcsncpy_s(m_path, MAX_PATH_LEN, path, MAX_PATH_LEN);
}
_tcsncpy_s(m_dirname, MAX_PATH_LEN, path, MAX_PATH_LEN);
#else
if( m_path != path ) {
_tcsncpy(m_path, path, MAX_PATH_LEN);
}
_tcsncpy(m_dirname, path, MAX_PATH_LEN);
#endif
// ディレクトリを取得
#if defined(_UNICODE)
TCHAR *p = _tcsrchr(m_dirname, '\\');
if( !p ) { p = m_dirname; }
else { ++p; }
#else
TCHAR *p = m_dirname; // '\\' 終端
for(TCHAR *pa = m_dirname; *pa; pa = ::CharNext(pa) ) {
if( '\\' == *pa ) { p = CharNext(pa); }
}
#endif
*p = '\0';
if( p == m_dirname ) {
#if defined(__STDC_LIB_EXT1__) || defined(__STDC_SECURE_LIB__) // Safer C Library
_tcsncpy_s(m_dirname, MAX_PATH_LEN, _T(".\\"), MAX_PATH_LEN);
#else
_tcsncpy(m_dirname, _T(".\\"), MAX_PATH_LEN);
#endif
}
m_handle = ::FindFirstFile(m_path, &m_fd);
m_next_exist = INVALID_HANDLE_VALUE != m_handle;
return m_next_exist;
}
inline
bool directory_iterator::rewind()
{
return find(m_path);
}
inline
bool directory_iterator::is_dir() const
{
return 0 != (m_fd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY);
}
inline
const TCHAR * directory_iterator::filename() const
{
return m_fd.cFileName;
}
inline
const TCHAR * directory_iterator::fullpath() const
{
if( !m_full_path_valid ) {
m_full_path_valid = true;
#if defined(__STDC_LIB_EXT1__) || defined(__STDC_SECURE_LIB__) // Safer C Library
_tcsncpy_s(m_full_path, MAX_PATH_LEN, m_dirname, MAX_PATH_LEN);
_tcsncat_s(m_full_path, MAX_PATH_LEN, m_fd.cFileName, MAX_PATH_LEN);
#else
_tcsncpy(m_full_path, m_dirname, MAX_PATH_LEN);
_tcsncat(m_full_path, m_fd.cFileName, MAX_PATH_LEN);
#endif
}
return m_full_path;
}
inline
DWORD directory_iterator::size() const
{
return m_fd.nFileSizeLow;
}
inline
LONGLONG directory_iterator::size64() const
{
return ((LONGLONG)m_fd.nFileSizeHigh << 32) | m_fd.nFileSizeLow;
}
inline
DWORD directory_iterator::attribute() const
{
return m_fd.dwFileAttributes;
}
inline
time_t directory_iterator::ctime() const
{
return (time_t)(( ((PLARGE_INTEGER)(&m_fd.ftCreationTime))->QuadPart - 116444736000000000) / 10000000);
}
inline
time_t directory_iterator::mtime() const
{
return (time_t)(( ((PLARGE_INTEGER)(&m_fd.ftLastWriteTime))->QuadPart - 116444736000000000) / 10000000);
}
inline
time_t directory_iterator::atime() const
{
return (time_t)(( ((PLARGE_INTEGER)(&m_fd.ftLastAccessTime))->QuadPart - 116444736000000000) / 10000000);
}
} // namespace directory
} // namespace spplib
#endif // !defined(SPPLIB_462440FA_E6FA_4860_9F32_3CA0192BB758_INCLUDE_GUARD)
| [
"webmaster@sharkpp.net"
] | webmaster@sharkpp.net |
063087e9c0aa02b10d3993737a1706638b3f32c4 | 63b16d0a905bbf9a200347a0e7d8ff13fb834505 | /net/tcp_socket.cpp | 98f13b8b3438f63952a51af159014dc9137b6c6e | [] | no_license | tobyhinloopen/CPP-web-test | ec1203f38263ba2404ed39d29b4fb8e5af20d611 | 9a728ad7102c96b37ba6dd1a8fdc834d09804cf9 | refs/heads/master | 2016-09-05T12:53:48.849738 | 2015-05-05T12:54:45 | 2015-05-05T12:54:45 | 34,902,438 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 493 | cpp | #import "tcp_socket.h"
#import <iostream>
#import <sys/socket.h>
net::tcp_socket::tcp_socket(int socket_id, struct sockaddr_in socket_address):
socket_id(socket_id),
socket_address(socket_address),
socket_stream_buffer(socket_id),
cin(&socket_stream_buffer),
cout(&socket_stream_buffer) {
}
net::tcp_socket::~tcp_socket() {
cout.flush();
shutdown(socket_id, SHUT_RDWR);
}
std::string net::tcp_socket::remote_address() const {
return std::string(inet_ntoa(socket_address.sin_addr));
}
| [
"toby@zisoo.nl"
] | toby@zisoo.nl |
5cec7a2d167e840825d64fb9ae1fbc6dfc9fc63e | 6e1cd521d8d096fc2556fd9414448940d53cc4cf | /Source/cTileMapNode.h | cc5606d3b6cebd792c2c5621bde14054f21bd5a2 | [] | no_license | Dembele/IrrSu | efc0fac2dab90db4596457466ac5f2e805f3efd2 | 22787a02dd62aa58e82cdf3b988ef5d5f337e772 | refs/heads/master | 2021-05-08T08:50:50.131842 | 2018-01-21T12:54:12 | 2018-01-21T12:54:12 | 106,414,281 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 849 | h | /*
8/11/08
cTileMapNode.h
Dan Bush
*/
#ifndef TILE_MAP_NODE_H
#define TILE_MAP_NODE_H
#include <vector>
#include "../TileManager.h"
#include <irrlicht.h>
using namespace irr;
using namespace std;
struct sTile
{
unsigned char tileset;
unsigned char id;
sTile(unsigned char t, unsigned char i) { tileset = t; id = i; }
};
class cTileMapNode
{
private:
vector<sTile> tiles;
unsigned char bitflags; //use for whatever you want :) e.g. maybe setting bit 1 means you can't walk there
public:
cTileMapNode();
~cTileMapNode();
bool addTile(sTile t);
bool removeTile();
bool free();
bool draw(IVideoDriver * driver, TileManager * pImages, int x, int y, irr::core::rect<s32> * r = 0);
unsigned char getFlags();
void setFlags(const unsigned char c);
short getNumTiles();
sTile getTileAt(const unsigned short num);
};
#endif | [
"Bloodfall@DESKTOP-N4TB8NI"
] | Bloodfall@DESKTOP-N4TB8NI |
bd82bfcfdbf7635796adb55739c17d54d0535f10 | 6b5d6690678f05a71837b85016db3da52359a2f6 | /src/mojo/shell/background/tests/test_catalog_store.h | 30872a1171cae0be02bdc6dca1e4a4a098524bf7 | [
"BSD-3-Clause",
"MIT"
] | permissive | bopopescu/MQUIC | eda5477bacc68f30656488e3cef243af6f7460e6 | 703e944ec981366cfd2528943b1def2c72b7e49d | refs/heads/master | 2022-11-22T07:41:11.374401 | 2016-04-08T22:27:32 | 2016-04-08T22:27:32 | 282,352,335 | 0 | 0 | MIT | 2020-07-25T02:05:49 | 2020-07-25T02:05:49 | null | UTF-8 | C++ | false | false | 1,365 | h | // Copyright 2016 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 MOJO_SHELL_BACKGROUND_TESTS_TEST_CATALOG_STORE_H_
#define MOJO_SHELL_BACKGROUND_TESTS_TEST_CATALOG_STORE_H_
#include <string>
#include "base/memory/scoped_ptr.h"
#include "base/values.h"
#include "mojo/services/catalog/store.h"
namespace mojo {
namespace shell {
// ApplicationCatalogStore implementation that takes the ListValue to return
// as store.
class TestCatalogStore : public catalog::Store {
public:
explicit TestCatalogStore(scoped_ptr<base::ListValue> store);
~TestCatalogStore() override;
bool get_store_called() const { return get_store_called_; }
// ApplicationCatalogStore:
const base::ListValue* GetStore() override;
void UpdateStore(scoped_ptr<base::ListValue> store) override;
private:
bool get_store_called_ = false;
scoped_ptr<base::ListValue> store_;
DISALLOW_COPY_AND_ASSIGN(TestCatalogStore);
};
// Returns a dictionary for an app with the specified name, display name and a
// permissive filter.
scoped_ptr<base::DictionaryValue> BuildPermissiveSerializedAppInfo(
const std::string& name,
const std::string& display_name);
} // namespace shell
} // namespace mojo
#endif // MOJO_SHELL_BACKGROUND_TESTS_TEST_CATALOG_STORE_H_
| [
"junhuac@hotmail.com"
] | junhuac@hotmail.com |
3b63440c121ba417635ec2eef24b9eed58556bbf | 179c0ea4275387bb530d224f50c806cd60ca3f32 | /src/server/game/Server/Protocol/Opcodes.h | ce4182fa647688bafaac612830cfaa2211339c93 | [] | no_license | freadblangks/Hellhunter15595 | 40a707ca61d7163d21051a29ca0db7bcb9c9845d | e39720d0eaa49a730a77c6e339dfb6ead735ca3f | refs/heads/master | 2021-06-09T11:24:57.485838 | 2016-12-17T07:43:35 | 2016-12-17T07:43:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 91,235 | h | /*
Hellhunter
*/
#ifndef _OPCODES_H
#define _OPCODES_H
#include "Common.h"
/// List of Opcodes
enum Opcodes
{
NUM_OPCODE_HANDLERS = (0x7FFF+1),
UNKNOWN_OPCODE = (0xFFFF+1),
NULL_OPCODE = 0,
COMPRESSED_OPCODE_MASK = 0x8000,
CMSG_ACCEPT_LEVEL_GRANT = 0x0205,
CMSG_ACCEPT_TRADE = 0x7110,
CMSG_ACTIVATETAXI = 0x6E06,
CMSG_ACTIVATETAXIEXPRESS = 0x0515,
CMSG_ADDON_REGISTERED_PREFIXES = 0x0954,
CMSG_ADD_FRIEND = 0x6527,
CMSG_ADD_IGNORE = 0x4726,
CMSG_ADD_VOICE_IGNORE = 0x0F06,
CMSG_ALTER_APPEARANCE = 0x0914,
CMSG_AREATRIGGER = 0x0937,
CMSG_AREA_SPIRIT_HEALER_QUERY = 0x4907,
CMSG_AREA_SPIRIT_HEALER_QUEUE = 0x4815,
CMSG_ARENA_TEAM_ACCEPT = 0x2A25,
CMSG_ARENA_TEAM_CREATE = 0x04A1,
CMSG_ARENA_TEAM_DECLINE = 0x6925,
CMSG_ARENA_TEAM_DISBAND = 0x6504,
CMSG_ARENA_TEAM_INVITE = 0x2F27,
CMSG_ARENA_TEAM_LEADER = 0x4204,
CMSG_ARENA_TEAM_LEAVE = 0x0E16,
CMSG_ARENA_TEAM_QUERY = 0x0514,
CMSG_ARENA_TEAM_REMOVE = 0x2F05,
CMSG_ARENA_TEAM_ROSTER = 0x6F37,
CMSG_ATTACKSTOP = 0x4106,
CMSG_ATTACKSWING = 0x0926,
CMSG_AUCTION_LIST_BIDDER_ITEMS = 0x6937,
CMSG_AUCTION_LIST_ITEMS = 0x0324,
CMSG_AUCTION_LIST_OWNER_ITEMS = 0x0206,
CMSG_AUCTION_LIST_PENDING_SALES = 0x2C17,
CMSG_AUCTION_PLACE_BID = 0x2306,
CMSG_AUCTION_REMOVE_ITEM = 0x6426,
CMSG_AUCTION_SELL_ITEM = 0x4A06,
CMSG_AUTH_SESSION = 0x0449,
CMSG_AUTOBANK_ITEM = 0x2537,
CMSG_AUTOEQUIP_GROUND_ITEM = 0x0000,
CMSG_AUTOEQUIP_ITEM = 0x4304,
CMSG_AUTOEQUIP_ITEM_SLOT = 0x4A17,
CMSG_AUTOSTORE_BAG_ITEM = 0x0236,
CMSG_AUTOSTORE_BANK_ITEM = 0x0607,
CMSG_AUTOSTORE_GROUND_ITEM = 0x0000,
CMSG_AUTOSTORE_LOOT_ITEM = 0x0E34,
CMSG_AUTO_DECLINE_GUILD_INVITE = 0x1234,
CMSG_AUTO_DECLINE_GUILD_INVITES = 0x2034,
CMSG_BANKER_ACTIVATE = 0x0005,
CMSG_BATTLEFIELD_JOIN = 0x0000,
CMSG_BATTLEFIELD_LEAVE = 0x3018,
CMSG_BATTLEFIELD_LIST = 0x3814,
CMSG_BATTLEFIELD_MGR_ENTRY_INVITE_RESPONSE = 0x05A3,
CMSG_BATTLEFIELD_MGR_EXIT_REQUEST = 0x2490,
CMSG_BATTLEFIELD_MGR_QUEUE_INVITE_RESPONSE = 0x0413,
CMSG_BATTLEFIELD_MGR_QUEUE_REQUEST = 0x710C,
CMSG_BATTLEFIELD_PORT = 0x711A,
CMSG_BATTLEFIELD_REQUEST_SCORE_DATA = 0x0000,
CMSG_BATTLEFIELD_STATUS = 0x2500,
CMSG_BATTLEGROUND_PLAYER_POSITIONS = 0x3902,
CMSG_BATTLEMASTER_JOIN = 0x7902,
CMSG_BATTLEMASTER_JOIN_ARENA = 0x701C,
CMSG_BATTLEMASTER_JOIN_RATED = 0x3B18,
CMSG_BATTLEMASTER_HELLO = 0x0234,
CMSG_BEGIN_TRADE = 0x721E,
CMSG_BINDER_ACTIVATE = 0x4006,
CMSG_BOT_DETECTED2 = 0x0000,
CMSG_BUG = 0x4035,
CMSG_BUSY_TRADE = 0x331C,
CMSG_BUYBACK_ITEM = 0x6C17,
CMSG_BUY_BANK_SLOT = 0x0425,
CMSG_BUY_ITEM = 0x0736,
CMSG_CALENDAR_ADD_EVENT = 0x0726,
CMSG_CALENDAR_ARENA_TEAM = 0x0204,
CMSG_CALENDAR_COMPLAIN = 0x4C36,
CMSG_CALENDAR_CONTEXT_EVENT_SIGNUP = 0x0000,
CMSG_CALENDAR_COPY_EVENT = 0x0207,
CMSG_CALENDAR_EVENT_INVITE = 0x2435,
CMSG_CALENDAR_EVENT_MODERATOR_STATUS = 0x6B35,
CMSG_CALENDAR_EVENT_REMOVE_INVITE = 0x4337,
CMSG_CALENDAR_EVENT_RSVP = 0x0227,
CMSG_CALENDAR_EVENT_SIGNUP = 0x6606,
CMSG_CALENDAR_EVENT_STATUS = 0x2D24,
CMSG_CALENDAR_GET_CALENDAR = 0x2814,
CMSG_CALENDAR_GET_EVENT = 0x6416,
CMSG_CALENDAR_GET_NUM_PENDING = 0x4D05,
CMSG_CALENDAR_GUILD_FILTER = 0x4A16,
CMSG_CALENDAR_REMOVE_EVENT = 0x6636,
CMSG_CALENDAR_UPDATE_EVENT = 0x2114,
CMSG_CANCEL_AURA = 0x0E26,
CMSG_CANCEL_AUTO_REPEAT_SPELL = 0x6C35,
CMSG_CANCEL_CAST = 0x0115,
CMSG_CANCEL_CHANNELLING = 0x6C25,
CMSG_CANCEL_GROWTH_AURA = 0x0237,
CMSG_CANCEL_MOUNT_AURA = 0x0635,
CMSG_CANCEL_QUEUED_SPELL = 0x7B1C,
CMSG_CANCEL_TEMP_ENCHANTMENT = 0x6C37,
CMSG_CANCEL_TRADE = 0x731E,
CMSG_CAST_SPELL = 0x4C07,
CMSG_CHANGEPLAYER_DIFFICULTY = 0x6107,
CMSG_CHANGE_SEATS_ON_CONTROLLED_VEHICLE = 0x7310,
CMSG_CHANNEL_ANNOUNCEMENTS = 0x1146,
CMSG_CHANNEL_BAN = 0x3D56,
CMSG_CHANNEL_DISPLAY_LIST = 0x2144,
CMSG_CHANNEL_INVITE = 0x0144,
CMSG_CHANNEL_KICK = 0x3156,
CMSG_CHANNEL_LIST = 0x1556,
CMSG_CHANNEL_MODERATE = 0x2944,
CMSG_CHANNEL_MODERATOR = 0x0146,
CMSG_CHANNEL_MUTE = 0x2554,
CMSG_CHANNEL_OWNER = 0x3D44,
CMSG_CHANNEL_PASSWORD = 0x2556,
CMSG_CHANNEL_ROSTER_INFO = 0x3546,
CMSG_CHANNEL_SET_OWNER = 0x3556,
CMSG_CHANNEL_SILENCE_ALL = 0x2154,
CMSG_CHANNEL_SILENCE_VOICE = 0x2D54,
CMSG_CHANNEL_UNBAN = 0x2D46,
CMSG_CHANNEL_UNMODERATOR = 0x1954,
CMSG_CHANNEL_UNMUTE = 0x3554,
CMSG_CHANNEL_UNSILENCE_ALL = 0x2546,
CMSG_CHANNEL_UNSILENCE_VOICE = 0x3146,
CMSG_CHANNEL_VOICE_OFF = 0x3144,
CMSG_CHANNEL_VOICE_ON = 0x1144,
CMSG_CHAR_CREATE = 0x4A36,
CMSG_CHAR_CUSTOMIZE = 0x2C34,
CMSG_CHAR_DELETE = 0x6425,
CMSG_CHAR_ENUM = 0x0502,
CMSG_CHAR_FACTION_CHANGE = 0x2735,
CMSG_COMPLETED_ARTIFACTS = 0x0A13,
CMSG_CHAR_RACE_CHANGE = 0x0D24,
CMSG_CHAR_RENAME = 0x2327,
CMSG_CHAT_FILTERED = 0x0946,
CMSG_CHAT_IGNORED = 0x0D54,
CMSG_CLEAR_CHANNEL_WATCH = 0x2604,
CMSG_CLEAR_RAID_MARKER = 0x7300,
CMSG_CLEAR_TRADE_ITEM = 0x7018,
CMSG_COMMENTATOR_ENABLE = 0x0B07,
CMSG_COMMENTATOR_ENTER_INSTANCE = 0x4105,
CMSG_COMMENTATOR_EXIT_INSTANCE = 0x6136,
CMSG_COMMENTATOR_GET_MAP_INFO = 0x0026,
CMSG_COMMENTATOR_GET_PARTY_INFO = 0x2412,
CMSG_COMMENTATOR_GET_PLAYER_INFO = 0x0D14,
CMSG_COMMENTATOR_INSTANCE_COMMAND = 0x0917,
CMSG_COMMENTATOR_SKIRMISH_QUEUE_COMMAND = 0x0025,
CMSG_COMMENTATOR_START_WARGAME = 0x25A0,
CMSG_COMPLAIN = 0x0427,
CMSG_COMPLETE_CINEMATIC = 0x2116,
CMSG_COMPLETE_MOVIE = 0x4136,
CMSG_CONNECT_TO_FAILED = 0x2533,
CMSG_CONTACT_LIST = 0x4534,
CMSG_CORPSE_MAP_POSITION_QUERY = 0x6205,
CMSG_CREATURE_QUERY = 0x2706,
CMSG_DANCE_QUERY = 0x4E07,
CMSG_DECLINE_CHANNEL_INVITE = 0x0000,
CMSG_DELETEEQUIPMENT_SET = 0x4D07,
CMSG_DEL_FRIEND = 0x6A15,
CMSG_DEL_IGNORE = 0x6D26,
CMSG_DEL_VOICE_IGNORE = 0x0024,
CMSG_DESTROY_ITEM = 0x4A27,
CMSG_DISMISS_CONTROLLED_VEHICLE = 0x3218,
CMSG_DISMISS_CRITTER = 0x4227,
CMSG_DUEL_ACCEPTED = 0x2136,
CMSG_DUEL_CANCELLED = 0x6624,
CMSG_LFG_LOCK_INFO_REQUEST = 0x0412,
CMSG_EJECT_PASSENGER = 0x6927,
CMSG_EMOTE = 0x4C26,
CMSG_ENABLETAXI = 0x0C16,
CMSG_ENABLE_NAGLE = 0x4449,
CMSG_EQUIPMENT_SET_DELETE = 0x0000,
CMSG_EQUIPMENT_SET_SAVE = 0x4F27,
CMSG_EQUIPMENT_SET_USE = 0x0417,
CMSG_FAR_SIGHT = 0x4835,
CMSG_FORCE_MOVE_ROOT_ACK = 0x701E,
CMSG_FORCE_MOVE_UNROOT_ACK = 0x7808,
CMSG_GAMEOBJECT_QUERY = 0x4017,
CMSG_GAMEOBJ_REPORT_USE = 0x4827,
CMSG_GAMEOBJ_USE = 0x4E17,
CMSG_GAMESPEED_SET = 0x0000,
CMSG_GAMETIME_SET = 0x0000,
CMSG_GETDEATHBINDZONE = 0x0000,
CMSG_GET_MAIL_LIST = 0x4D37,
CMSG_GET_MIRRORIMAGE_DATA = 0x0C25,
CMSG_GHOST = 0x0000,
CMSG_GMRESPONSE_RESOLVE = 0x6506,
CMSG_GMSURVEY_SUBMIT = 0x2724,
CMSG_GMTICKET_CREATE = 0x0137,
CMSG_GMTICKET_DELETETICKET = 0x6B14,
CMSG_GMTICKET_GETTICKET = 0x0326,
CMSG_GMTICKET_SYSTEMSTATUS = 0x4205,
CMSG_GMTICKET_UPDATETEXT = 0x0636,
CMSG_GM_INVIS = 0x0000,
CMSG_GM_NUKE = 0x0000,
CMSG_GM_REPORT_LAG = 0x6726,
CMSG_GM_SET_SECURITY_GROUP = 0x0000,
CMSG_GOSSIP_HELLO = 0x4525,
CMSG_GOSSIP_SELECT_OPTION = 0x0216,
CMSG_GRANT_LEVEL = 0x6D16,
CMSG_GROUP_ASSISTANT_LEADER = 0x6025,
CMSG_GROUP_CANCEL = 0x0000,
CMSG_GROUP_CHANGE_SUB_GROUP = 0x4124,
CMSG_GROUP_DISBAND = 0x2804,
CMSG_GROUP_INVITE = 0x0513,
CMSG_GROUP_INVITE_RESPONSE = 0x0410,
CMSG_GROUP_RAID_CONVERT = 0x6E27,
CMSG_GROUP_REQUEST_JOIN_UPDATES = 0x2583,
CMSG_GROUP_SET_LEADER = 0x4C17,
CMSG_GROUP_SET_ROLES = 0x25B1,
CMSG_GROUP_SWAP_SUB_GROUP = 0x0034,
CMSG_GROUP_UNINVITE = 0x0000,
CMSG_GROUP_UNINVITE_GUID = 0x2E07,
CMSG_GUILD_ACCEPT = 0x2531,
CMSG_GUILD_ACHIEVEMENT_MEMBERS = 0x3025,
CMSG_GUILD_ACHIEVEMENT_PROGRESS_QUERY = 0x3235,
CMSG_GUILD_ADD_RANK = 0x3030,
CMSG_GUILD_ASSIGN_MEMBER_RANK = 0x3032,
CMSG_GUILD_BANKER_ACTIVATE = 0x2E37,
CMSG_GUILD_BANK_BUY_TAB = 0x0C37,
CMSG_GUILD_BANK_DEPOSIT_MONEY = 0x0707,
CMSG_GUILD_BANK_LOG_QUERY = 0x3224,
CMSG_GUILD_BANK_MONEY_WITHDRAWN_QUERY = 0x1225,
CMSG_GUILD_BANK_NOTE = 0x0000,
CMSG_GUILD_BANK_QUERY_TAB = 0x2E35,
CMSG_GUILD_BANK_QUERY_TEXT = 0x3220,
CMSG_GUILD_BANK_SWAP_ITEMS = 0x2315,
CMSG_GUILD_BANK_UPDATE_TAB = 0x0106,
CMSG_GUILD_BANK_WITHDRAW_MONEY = 0x0037,
CMSG_GUILD_CHANGE_NAME_REQUEST = 0x1232,
CMSG_GUILD_DECLINE = 0x3231,
CMSG_GUILD_DEL_RANK = 0x3234,
CMSG_GUILD_DEMOTE = 0x1020,
CMSG_GUILD_DISBAND = 0x3226,
CMSG_GUILD_EVENT_LOG_QUERY = 0x1220,
CMSG_GUILD_INFO = 0x0000,
CMSG_GUILD_INFO_TEXT = 0x3227,
CMSG_GUILD_INVITE = 0x24B0,
CMSG_GUILD_LEAVE = 0x1021,
CMSG_GUILD_MEMBER_SEND_SOR_REQUEST = 0x3225,
CMSG_GUILD_MOTD = 0x1035,
CMSG_GUILD_NEWS_UPDATE_STICKY = 0x3223,
CMSG_GUILD_PERMISSIONS = 0x3022,
CMSG_GUILD_PROMOTE = 0x1030,
CMSG_GUILD_QUERY = 0x4426,
CMSG_GUILD_QUERY_NEWS = 0x3020,
CMSG_GUILD_QUERY_RANKS = 0x1026,
CMSG_GUILD_REMOVE = 0x1231,
CMSG_GUILD_REPLACE_GUILD_MASTER = 0x1034,
CMSG_GUILD_REQUEST_CHALLENGE_UPDATE = 0x1224,
CMSG_GUILD_REQUEST_MAX_DAILY_XP = 0x3232,
CMSG_GUILD_REQUEST_PARTY_STATE = 0x3900,
CMSG_GUILD_ROSTER = 0x1226,
CMSG_GUILD_SET_ACHIEVEMENT_TRACKING = 0x1027,
CMSG_GUILD_SET_GUILD_MASTER = 0x3034,
CMSG_GUILD_SET_NOTE = 0x1233,
CMSG_GUILD_SET_RANK_PERMISSIONS = 0x1024,
CMSG_GUILD_SWITCH_RANK = 0x1221,
CMSG_HEARTH_AND_RESURRECT = 0x4B34,
CMSG_IGNORE_TRADE = 0x7112,
CMSG_INITIATE_TRADE = 0x7916,
CMSG_INSPECT = 0x0927,
CMSG_INSPECT_HONOR_STATS = 0x791E,
CMSG_INSTANCE_LOCK_WARNING_RESPONSE = 0x6234,
CMSG_ITEM_REFUND = 0x6134,
CMSG_ITEM_REFUND_INFO = 0x2206,
CMSG_ITEM_TEXT_QUERY = 0x2406,
CMSG_JOIN_CHANNEL = 0x0156,
CMSG_KEEP_ALIVE = 0x0015,
CMSG_LEARN_PREVIEW_TALENTS = 0x2415,
CMSG_LEARN_PREVIEW_TALENTS_PET = 0x6E24,
CMSG_LEARN_TALENT = 0x0306,
CMSG_LEAVE_CHANNEL = 0x2D56,
CMSG_LFG_GET_PLAYER_INFO = 0x0000,
CMSG_LFG_GET_STATUS = 0x2581,
CMSG_LFG_JOIN = 0x2430,
CMSG_LFG_LEAVE = 0x2433,
CMSG_LFG_LFR_JOIN = 0x0531,
CMSG_LFG_LFR_LEAVE = 0x0500,
//CMSG_LFG_LOCK_INFO_REQUEST = 0x0412,
CMSG_LFG_PROPOSAL_RESULT = 0x0403,
CMSG_LFG_SET_BOOT_VOTE = 0x04B3,
CMSG_LFG_SET_COMMENT = 0x0530,
CMSG_LFG_SET_ROLES = 0x0480,
CMSG_LFG_TELEPORT = 0x2482,
CMSG_LF_GUILD_ADD_RECRUIT = 0x4448,
CMSG_LF_GUILD_BROWSE = 0x0548,
CMSG_LF_GUILD_DECLINE_RECRUIT = 0x1031,
CMSG_LF_GUILD_GET_APPLICATIONS = 0x1230,
CMSG_LF_GUILD_GET_RECRUITS = 0x3230,
CMSG_LF_GUILD_POST_REQUEST = 0x3237,
CMSG_LF_GUILD_REMOVE_RECRUIT = 0x3027,
CMSG_LF_GUILD_SET_GUILD_POST = 0x0448,
CMSG_LIST_INVENTORY = 0x2806,
CMSG_LOAD_SCREEN = 0x2422,
CMSG_LOGOUT_CANCEL = 0x2324,
CMSG_LOGOUT_REQUEST = 0x0A25,
CMSG_LOG_DISCONNECT = 0x446D,
CMSG_LOOT = 0x0127,
CMSG_LOOT_CURRENCY = 0x781C,
CMSG_LOOT_MASTER_GIVE = 0x4F35,
CMSG_LOOT_METHOD = 0x2F24,
CMSG_LOOT_MONEY = 0x6227,
CMSG_LOOT_RELEASE = 0x2007,
CMSG_LOOT_ROLL = 0x6934,
CMSG_MAIL_CREATE_TEXT_ITEM = 0x0B14,
CMSG_MAIL_DELETE = 0x6104,
CMSG_MAIL_MARK_AS_READ = 0x0C07,
CMSG_MAIL_RETURN_TO_SENDER = 0x0816,
CMSG_MAIL_TAKE_ITEM = 0x2B06,
CMSG_MAIL_TAKE_MONEY = 0x4034,
CMSG_MEETINGSTONE_INFO = 0x0000,
CMSG_MESSAGECHAT_ADDON_BATTLEGROUND = 0x0D46,
CMSG_MESSAGECHAT_ADDON_GUILD = 0x0544,
CMSG_MESSAGECHAT_ADDON_OFFICER = 0x3954,
CMSG_MESSAGECHAT_ADDON_PARTY = 0x0546,
CMSG_MESSAGECHAT_ADDON_RAID = 0x1D56,
CMSG_MESSAGECHAT_ADDON_WHISPER = 0x2146,
CMSG_MESSAGECHAT_AFK = 0x0D44,
CMSG_MESSAGECHAT_BATTLEGROUND = 0x2156,
CMSG_MESSAGECHAT_CHANNEL = 0x1D44,
CMSG_MESSAGECHAT_DND = 0x2946,
CMSG_MESSAGECHAT_EMOTE = 0x1156,
CMSG_MESSAGECHAT_GUILD = 0x3956,
CMSG_MESSAGECHAT_OFFICER = 0x1946,
CMSG_MESSAGECHAT_PARTY = 0x1D46,
CMSG_MESSAGECHAT_RAID = 0x2D44,
CMSG_MESSAGECHAT_RAID_WARNING = 0x0944,
CMSG_MESSAGECHAT_SAY = 0x1154,
CMSG_MESSAGECHAT_WHISPER = 0x0D56,
CMSG_MESSAGECHAT_YELL = 0x3544,
CMSG_MINIGAME_MOVE = 0x2A34,
CMSG_MOUNTSPECIAL_ANIM = 0x2807,
CMSG_MOVE_CHARM_TELEPORT_CHEAT = 0x0000,
CMSG_MOVE_CHNG_TRANSPORT = 0x3102,
CMSG_MOVE_ENABLE_SWIM_TO_FLY_TRANS_ACK = 0x0000,
CMSG_MOVE_FALL_RESET = 0x310A,
CMSG_MOVE_FEATHER_FALL_ACK = 0x3110,
CMSG_MOVE_FORCE_FLIGHT_BACK_SPEED_CHANGE_ACK = 0x310E,
CMSG_MOVE_FORCE_FLIGHT_SPEED_CHANGE_ACK = 0x7314,
CMSG_MOVE_FORCE_PITCH_RATE_CHANGE_ACK = 0x3100,
CMSG_MOVE_FORCE_RUN_BACK_SPEED_CHANGE_ACK = 0x3216,
CMSG_MOVE_FORCE_RUN_SPEED_CHANGE_ACK = 0x7818,
CMSG_MOVE_FORCE_SWIM_BACK_SPEED_CHANGE_ACK = 0x7A16,
CMSG_MOVE_FORCE_SWIM_SPEED_CHANGE_ACK = 0x7A10,
CMSG_MOVE_FORCE_TURN_RATE_CHANGE_ACK = 0x7316,
CMSG_MOVE_FORCE_WALK_SPEED_CHANGE_ACK = 0x7210,
CMSG_MOVE_GRAVITY_DISABLE_ACK = 0x3118,
CMSG_MOVE_GRAVITY_ENABLE_ACK = 0x700A,
CMSG_MOVE_HOVER_ACK = 0x3318,
CMSG_MOVE_KNOCK_BACK_ACK = 0x721C,
CMSG_MOVE_NOT_ACTIVE_MOVER = 0x7A1A,
CMSG_MOVE_SET_CAN_FLY = 0x720E,
CMSG_MOVE_SET_CAN_FLY_ACK = 0x790C,
CMSG_MOVE_SET_CAN_FLY_TO_SWIM_ACK = 0x3014, // old CMSG_MOVE_SET_CAN_TRANSITION_BETWEEN_SWIM_AND_FLY_ACK
CMSG_MOVE_SET_COLLISION_HEIGHT_ACK = 0x7114,
CMSG_MOVE_SET_RELATIVE_POSITION = 0x0000,
CMSG_MOVE_SET_VEHICLE_REC_ID_ACK = 0x0000,
CMSG_MOVE_SPLINE_DONE = 0x790E,
CMSG_MOVE_TIME_SKIPPED = 0x7A0A,
CMSG_MOVE_TOGGLE_COLLISION_ACK = 0x0000,
CMSG_MOVE_WATER_WALK_ACK = 0x3B00,
CMSG_NAME_QUERY = 0x2224,
CMSG_NEW_SPELL_SLOT = 0x0000,
CMSG_NEXT_CINEMATIC_CAMERA = 0x2014,
CMSG_NPC_TEXT_QUERY = 0x4E24,
CMSG_OBJECT_UPDATE_FAILED = 0x3808,
CMSG_OBJECT_UPDATE_RESCUED = 0x3906,
CMSG_OFFER_PETITION = 0x4817,
CMSG_OPENING_CINEMATIC = 0x0A16,
CMSG_OPEN_ITEM = 0x6A34,
CMSG_OPT_OUT_OF_LOOT = 0x6B16,
CMSG_PAGE_TEXT_QUERY = 0x6614,
CMSG_PARTY_SILENCE = 0x6B26,
CMSG_PARTY_UNSILENCE = 0x4D24,
CMSG_PETITION_BUY = 0x4E05,
CMSG_PETITION_QUERY = 0x4424,
CMSG_PETITION_SHOWLIST = 0x4617,
CMSG_PETITION_SHOW_SIGNATURES = 0x4F15,
CMSG_PETITION_SIGN = 0x0E04,
CMSG_PET_ABANDON = 0x0C24,
CMSG_PET_ACTION = 0x0226,
CMSG_PET_CANCEL_AURA = 0x4B25,
CMSG_PET_CAST_SPELL = 0x6337,
CMSG_PET_LEARN_TALENT = 0x6725,
CMSG_PET_NAME_CACHE = 0x0000,
CMSG_PET_NAME_QUERY = 0x6F24,
CMSG_PET_RENAME = 0x6406,
CMSG_PET_SET_ACTION = 0x6904,
CMSG_PET_SPELL_AUTOCAST = 0x2514,
CMSG_PET_STOP_ATTACK = 0x6C14,
CMSG_PING = 0x444D,
CMSG_PLAYED_TIME = 0x0804,
CMSG_PLAYER_DIFFICULTY_CHANGE = 0x0000,
CMSG_PLAYER_LOGIN = 0x05B1,
CMSG_PLAYER_LOGOUT = 0x0000,
CMSG_PLAYER_VEHICLE_ENTER = 0x2705,
CMSG_PLAY_DANCE = 0x6914,
CMSG_PUSHQUESTTOPARTY = 0x4B14,
CMSG_PVP_LOG_DATA = 0x7308,
CMSG_QUERY_BATTLEFIELD_STATE = 0x7202,
CMSG_QUERY_GUILD_MEMBERS_FOR_RECIPE = 0x1036,
CMSG_QUERY_GUILD_MEMBER_RECIPES = 0x1037,
CMSG_QUERY_GUILD_RECIPES = 0x3033,
CMSG_QUERY_GUILD_REWARDS = 0x3012,
CMSG_QUERY_GUILD_XP = 0x1237,
CMSG_QUERY_INSPECT_ACHIEVEMENTS = 0x4D27,
CMSG_QUERY_QUESTS_COMPLETED = 0x2317,
CMSG_QUERY_TIME = 0x0A36,
CMSG_QUESTGIVER_ACCEPT_QUEST = 0x6B37,
CMSG_QUESTGIVER_CANCEL = 0x0000,
CMSG_QUESTGIVER_CHOOSE_REWARD = 0x2125,
CMSG_QUESTGIVER_COMPLETE_QUEST = 0x0114,
CMSG_QUESTGIVER_HELLO = 0x0D17,
CMSG_QUESTGIVER_QUERY_QUEST = 0x2F14,
CMSG_QUESTGIVER_QUEST_AUTOLAUNCH = 0x0000,
CMSG_QUESTGIVER_REQUEST_REWARD = 0x2534,
CMSG_QUESTGIVER_STATUS_MULTIPLE_QUERY = 0x6305,
CMSG_QUESTGIVER_STATUS_QUERY = 0x4407,
CMSG_QUESTLOG_REMOVE_QUEST = 0x0D16,
CMSG_QUESTLOG_SWAP_QUEST = 0x0000,
CMSG_QUEST_CONFIRM_ACCEPT = 0x0D15,
CMSG_QUEST_NPC_QUERY = 0x7302,
CMSG_QUEST_POI_QUERY = 0x4037,
CMSG_QUEST_QUERY = 0x0D06,
CMSG_RANDOMIZE_CHAR_NAME = 0x2413,
CMSG_READY_FOR_ACCOUNT_DATA_TIMES = 0x2B16,
CMSG_READ_ITEM = 0x2F16,
CMSG_REALM_SPLIT = 0x2906,
CMSG_RECLAIM_CORPSE = 0x4036,
CMSG_REDIRECTION_AUTH_PROOF = 0x044D,
CMSG_REFORGE_ITEM = 0x331A,
CMSG_REORDER_CHARACTERS = 0x0593,
CMSG_REPAIR_ITEM = 0x2917,
CMSG_REPLACE_ACCOUNT_DATA = 0x0000,
CMSG_REPOP_REQUEST = 0x6235,
CMSG_REPORT_PVP_AFK = 0x6734,
CMSG_REQUEST_ACCOUNT_DATA = 0x6505,
CMSG_REQUEST_CATEGORY_COOLDOWNS = 0x7102,
CMSG_REQUEST_CEMETERY_LIST = 0x720A,
CMSG_REQUEST_HOTFIX = 0x2401,
CMSG_REQUEST_INSPECT_RATED_BG_STATS = 0x3010,
CMSG_REQUEST_PARTY_MEMBER_STATS = 0x0C04,
CMSG_REQUEST_PET_INFO = 0x4924,
CMSG_REQUEST_PVP_OPTIONS_ENABLED = 0x24A1,
CMSG_REQUEST_PVP_REWARDS = 0x780C,
CMSG_REQUEST_RAID_INFO = 0x2F26,
CMSG_REQUEST_RATED_BG_INFO = 0x2423,
CMSG_REQUEST_RATED_BG_STATS = 0x05B3,
CMSG_REQUEST_RESEARCH_HISTORY = 0x3306,
CMSG_REQUEST_VEHICLE_EXIT = 0x2B35,
CMSG_REQUEST_VEHICLE_NEXT_SEAT = 0x4434,
CMSG_REQUEST_VEHICLE_PREV_SEAT = 0x4C04,
CMSG_REQUEST_VEHICLE_SWITCH_SEAT = 0x4C14,
CMSG_RESET_FACTION_CHEAT = 0x4469,
CMSG_RESET_INSTANCES = 0x6E14,
CMSG_RESURRECT_RESPONSE = 0x6827,
CMSG_RETURN_TO_GRAVEYARD = 0x301E,
CMSG_ROLE_POLL_BEGIN = 0x0430,
CMSG_SAVE_CUF_PROFILES = 0x730E,
CMSG_SAVE_PLAYER = 0x0000,
CMSG_SEARCH_LFG_JOIN = 0x0000,
CMSG_SEARCH_LFG_LEAVE = 0x0000,
CMSG_SELF_RES = 0x6115,
CMSG_SELL_ITEM = 0x4E15,
CMSG_SEND_MAIL = 0x0523,
CMSG_SEND_SOR_REQUEST_VIA_ADDRESS = 0x0420,
CMSG_SEND_SOR_REQUEST_VIA_BNET_ACCOUNT_ID = 0x0482,
CMSG_SERVERTIME = 0x0000,
CMSG_SETDEATHBINDPOINT = 0x0000,
CMSG_SETSHEATHED = 0x4326,
CMSG_SET_ACTIONBAR_TOGGLES = 0x2506,
CMSG_SET_ACTION_BUTTON = 0x6F06,
CMSG_SET_ACTIVE_MOVER = 0x3314,
CMSG_SET_ACTIVE_VOICE_CHANNEL = 0x4305,
CMSG_SET_ALLOW_LOW_LEVEL_RAID1 = 0x4435,
CMSG_SET_ALLOW_LOW_LEVEL_RAID2 = 0x0536,
CMSG_SET_CHANNEL_WATCH = 0x4517,
CMSG_SET_CONTACT_NOTES = 0x6135,
CMSG_SET_CURRENCY_FLAGS = 0x7306,
CMSG_SET_EVERYONE_IS_ASSISTANT = 0x2530,
CMSG_SET_FACTION_ATWAR = 0x0706,
CMSG_SET_FACTION_CHEAT = 0x0000,
CMSG_SET_FACTION_INACTIVE = 0x0E37,
CMSG_SET_GUILD_BANK_TEXT = 0x3023,
CMSG_SET_LFG_COMMENT = 0x0000,
CMSG_SET_PET_SLOT = 0x3A04,
CMSG_SET_PLAYER_DECLINED_NAMES = 0x6316,
CMSG_SET_PREFERED_CEMETERY = 0x311E,
CMSG_SET_PRIMARY_TALENT_TREE = 0x4524,
CMSG_SET_RELATIVE_POSITION = 0x311A,
CMSG_SET_SAVED_INSTANCE_EXTEND = 0x6706,
CMSG_SET_SELECTION = 0x0506,
CMSG_SET_SKILL_CHEAT = 0x0000,
CMSG_SET_TAXI_BENCHMARK_MODE = 0x4314,
CMSG_SET_TITLE = 0x2117,
CMSG_SET_TRADE_CURRENCY = 0x3312,
CMSG_SET_TRADE_GOLD = 0x3008,
CMSG_SET_TRADE_ITEM = 0x7B0C,
CMSG_SET_VEHICLE_REC_ID_ACK = 0x3108,
CMSG_SET_WATCHED_FACTION = 0x2434,
CMSG_SHOWING_CLOAK = 0x4135,
CMSG_SHOWING_HELM = 0x0735,
CMSG_SOCKET_GEMS = 0x2F04,
CMSG_SPELLCLICK = 0x0805,
CMSG_SPIRIT_HEALER_ACTIVATE = 0x2E26,
CMSG_SPLIT_ITEM = 0x0F17,
CMSG_STANDSTATECHANGE = 0x0535,
CMSG_START_QUEST = 0x0000,
CMSG_STOP_DANCE = 0x2907,
CMSG_STORE_LOOT_IN_SLOT = 0x0000,
CMSG_SUBMIT_BUG = 0x2520,
CMSG_SUBMIT_COMPLAIN = 0x2501,
CMSG_SUGGESTION_SUBMIT = 0x2512,
CMSG_SUMMON_RESPONSE = 0x6F27,
CMSG_SUSPEND_TOKEN = 0x046D,
CMSG_SWAP_INV_ITEM = 0x2614,
CMSG_SWAP_ITEM = 0x6326,
CMSG_SYNC_DANCE = 0x0036,
CMSG_TAXICLEARALLNODES = 0x0000,
CMSG_TAXIENABLEALLNODES = 0x0000,
CMSG_TAXINODE_STATUS_QUERY = 0x2F25,
CMSG_TAXIQUERYAVAILABLENODES = 0x6C06,
CMSG_TAXISHOWNODES = 0x0000,
CMSG_TELEPORT_TO_UNIT = 0x4206,
CMSG_TEXT_EMOTE = 0x2E24,
CMSG_TIME_ADJUSTMENT_RESPONSE = 0x3818,
CMSG_TIME_SYNC_RESP = 0x3B0C,
CMSG_TIME_SYNC_RESP_FAILED = 0x710A,
CMSG_TOGGLE_PVP = 0x6815,
CMSG_TOTEM_DESTROYED = 0x4207,
CMSG_TRAINER_BUY_SPELL = 0x4415,
CMSG_TRAINER_LIST = 0x2336,
CMSG_TRANSMOGRIFY_ITEMS = 0x3B0E,
CMSG_TRIGGER_CINEMATIC_CHEAT = 0x0000,
CMSG_TURN_IN_PETITION = 0x0B27,
CMSG_TUTORIAL_CLEAR = 0x6515,
CMSG_TUTORIAL_FLAG = 0x6C26,
CMSG_TUTORIAL_RESET = 0x2726,
CMSG_UNACCEPT_TRADE = 0x391A,
CMSG_UNLEARN_SKILL = 0x6106,
CMSG_UNLEARN_SPECIALIZATION = 0x3210,
CMSG_UNREGISTER_ALL_ADDON_PREFIXES = 0x3D54,
CMSG_UPDATE_ACCOUNT_DATA = 0x4736,
CMSG_UPDATE_MISSILE_TRAJECTORY = 0x781E,
CMSG_UPDATE_PROJECTILE_POSITION = 0x0E24,
CMSG_USED_FOLLOW = 0x7912,
CMSG_USE_ITEM = 0x2C06,
CMSG_VIOLENCE_LEVEL = 0x7816,
CMSG_VOICE_SESSION_ENABLE = 0x2314,
CMSG_VOID_STORAGE_QUERY = 0x790A,
CMSG_VOID_STORAGE_TRANSFER = 0x380E,
CMSG_VOID_STORAGE_UNLOCK = 0x7B14,
CMSG_VOID_SWAP_ITEM = 0x3204,
CMSG_WARDEN_DATA = 0x25A2,
CMSG_WARGAME_ACCEPT = 0x2410,
CMSG_WARGAME_START = 0x05A0,
CMSG_WHO = 0x6C15,
CMSG_WHOIS = 0x6B05,
CMSG_WORLD_STATE_UI_TIMER_UPDATE = 0x4605,
CMSG_WORLD_TELEPORT = 0x24B2,
CMSG_WRAP_ITEM = 0x4F06,
CMSG_ZONEUPDATE = 0x4F37,
MSG_AUCTION_HELLO = 0x2307,
MSG_CHANNEL_START = 0x0A15, // SMSG only?
MSG_CHANNEL_UPDATE = 0x2417, // SMSG only?
MSG_CORPSE_QUERY = 0x4336,
MSG_GM_BIND_OTHER = 0x0000,
MSG_GM_SHOWLABEL = 0x0000,
MSG_GM_SUMMON = 0x0000,
MSG_INSPECT_ARENA_TEAMS = 0x2704,
MSG_LIST_STABLED_PETS = 0x0834,
MSG_MINIMAP_PING = 0x6635,
MSG_MOVE_CHARM_TELEPORT_CHEAT = 0x7A08,
MSG_MOVE_FALL_LAND = 0x380A,
MSG_MOVE_FEATHER_FALL = 0x0000,
MSG_MOVE_HEARTBEAT = 0x3914,
MSG_MOVE_HOVER = 0x0000,
MSG_MOVE_JUMP = 0x7A06,
MSG_MOVE_SET_ALL_SPEED_CHEAT = 0x0000,
MSG_MOVE_SET_COLLISION_HEIGHT = 0x0000,
MSG_MOVE_SET_FACING = 0x7914,
MSG_MOVE_SET_FLIGHT_SPEED_CHEAT = 0x0000,
MSG_MOVE_SET_PITCH = 0x7312,
MSG_MOVE_SET_RAW_POSITION_ACK = 0x0000,
MSG_MOVE_SET_RUN_BACK_SPEED_CHEAT = 0x0000,
SMSG_MOVE_SET_RUN_MODE = 0x791A,
MSG_MOVE_SET_RUN_SPEED_CHEAT = 0x0000,
MSG_MOVE_SET_SWIM_BACK_SPEED_CHEAT = 0x0000,
MSG_MOVE_SET_SWIM_SPEED_CHEAT = 0x0000,
MSG_MOVE_SET_TURN_RATE_CHEAT = 0x0000,
SMSG_MOVE_SET_WALK_MODE = 0x7002,
MSG_MOVE_SET_WALK_SPEED_CHEAT = 0x0000,
MSG_MOVE_START_ASCEND = 0x390A,
MSG_MOVE_START_BACKWARD = 0x330A,
MSG_MOVE_START_DESCEND = 0x3800,
MSG_MOVE_START_FORWARD = 0x7814,
MSG_MOVE_START_PITCH_DOWN = 0x3908,
MSG_MOVE_START_PITCH_UP = 0x3304,
MSG_MOVE_START_STRAFE_LEFT = 0x3A16,
MSG_MOVE_START_STRAFE_RIGHT = 0x3A02,
SMSG_MOVE_START_SWIM = 0x3206,
MSG_MOVE_START_TURN_LEFT = 0x700C,
MSG_MOVE_START_TURN_RIGHT = 0x7000,
MSG_MOVE_STOP = 0x320A,
MSG_MOVE_STOP_ASCEND = 0x7B00,
MSG_MOVE_STOP_PITCH = 0x7216,
MSG_MOVE_STOP_STRAFE = 0x3002,
SMSG_MOVE_STOP_SWIM = 0x3802,
MSG_MOVE_STOP_TURN = 0x331E,
SMSG_MOVE_TELEPORT = 0x55A0,
CMSG_MOVE_TELEPORT_ACK = 0x390C,
MSG_MOVE_TELEPORT_CHEAT = 0x3A10,
MSG_MOVE_TIME_SKIPPED = 0x19B3,
MSG_MOVE_TOGGLE_COLLISION_CHEAT = 0x7B04,
MSG_MOVE_TOGGLE_FALL_LOGGING = 0x0000,
MSG_MOVE_TOGGLE_LOGGING = 0x0000,
MSG_MOVE_UPDATE_CAN_FLY = 0x0000,
SMSG_MOVE_UPDATE_FLIGHT_SPEED = 0x30B1,
MSG_MOVE_UPDATE_MOUSE = 0x0000,
SMSG_MOVE_UPDATE_RUN_SPEED = 0x14A6,
MSG_MOVE_WORLDPORT_ACK = 0x2411,
MSG_NOTIFY_PARTY_SQUELCH = 0x4D06,
MSG_PARTY_ASSIGNMENT = 0x0424,
MSG_PETITION_DECLINE = 0x4905,
MSG_PETITION_RENAME = 0x4005,
MSG_PVP_LOG_DATA = 0x0000,
MSG_QUERY_NEXT_MAIL_TIME = 0x0F04,
MSG_QUEST_PUSH_RESULT = 0x4515,
MSG_RAID_READY_CHECK = 0x2304,
MSG_RAID_READY_CHECK_CONFIRM = 0x4F05,
MSG_RAID_READY_CHECK_FINISHED = 0x2E15,
MSG_RAID_TARGET_UPDATE = 0x2C36,
MSG_RANDOM_ROLL = 0x0905,
MSG_SAVE_GUILD_EMBLEM = 0x2404,
MSG_SET_DUNGEON_DIFFICULTY = 0x4925,
MSG_SET_RAID_DIFFICULTY = 0x0614,
MSG_TABARDVENDOR_ACTIVATE = 0x6926,
MSG_TALENT_WIPE_CONFIRM = 0x0107,
MSG_VERIFY_CONNECTIVITY = 0x4F57,
SMSG_ACCOUNT_DATA_TIMES = 0x4B05,
SMSG_ACCOUNT_INFO_RESPONSE = 0x10A7,
SMSG_ACCOUNT_RESTRICTED_WARNING = 0x51A7,
SMSG_ACHIEVEMENT_DELETED = 0x6A16,
SMSG_ACHIEVEMENT_EARNED = 0x4405,
SMSG_ACTION_BUTTONS = 0x38B5,
SMSG_ACTIVATETAXIREPLY = 0x6A37,
SMSG_ADDON_INFO = 0x2C14,
SMSG_ADD_RUNE_POWER = 0x6915,
SMSG_AI_REACTION = 0x0637,
SMSG_ALL_ACHIEVEMENT_DATA = 0x58B1,
SMSG_AREA_SPIRIT_HEALER_TIME = 0x0734,
SMSG_AREA_TRIGGER_MESSAGE = 0x4505,
SMSG_AREA_TRIGGER_MOVEMENT_UPDATE = 0x3DB1,
SMSG_ARENA_ERROR = 0x2D17,
SMSG_ARENA_UNIT_DESTROYED = 0x2637,
SMSG_ARENA_TEAM_CHANGE_FAILED_QUEUED = 0x6E34,
SMSG_ARENA_TEAM_COMMAND_RESULT = 0x39B3,
SMSG_ARENA_TEAM_EVENT = 0x0617,
SMSG_ARENA_TEAM_INVITE = 0x0F36,
SMSG_ARENA_TEAM_QUERY_RESPONSE = 0x6336,
SMSG_ARENA_TEAM_ROSTER = 0x2717,
SMSG_ARENA_TEAM_STATS = 0x4425,
SMSG_ATTACKERSTATEUPDATE = 0x0B25,
SMSG_ATTACKSTART = 0x2D15,
SMSG_ATTACKSTOP = 0x0934,
SMSG_ATTACKSWING_BADFACING = 0x0B36,
SMSG_ATTACKSWING_CANT_ATTACK = 0x0016,
SMSG_ATTACKSWING_DEADTARGET = 0x2B26,
SMSG_ATTACKSWING_NOTINRANGE = 0x6C07,
SMSG_AUCTION_BIDDER_LIST_RESULT = 0x0027,
SMSG_AUCTION_BIDDER_NOTIFICATION = 0x4E27,
SMSG_AUCTION_COMMAND_RESULT = 0x4C25,
SMSG_AUCTION_LIST_PENDING_SALES = 0x6A27,
SMSG_AUCTION_LIST_RESULT = 0x6637,
SMSG_AUCTION_OWNER_LIST_RESULT = 0x6C34,
SMSG_AUCTION_OWNER_NOTIFICATION = 0x4116,
SMSG_AUCTION_REMOVED_NOTIFICATION = 0x2334,
SMSG_AURACASTLOG = 0x0000,
SMSG_AURA_POINTS_DEPLETED = 0x7CB7,
SMSG_AURA_UPDATE = 0x4707,
SMSG_AURA_UPDATE_ALL = 0x6916,
SMSG_AUTH_CHALLENGE = 0x4542,
SMSG_AUTH_RESPONSE = 0x5DB6,
SMSG_AVAILABLE_VOICE_CHANNEL = 0x2E16,
SMSG_AVERAGE_ITEM_LEVEL_INFORM = 0x5DA7,
SMSG_COMPLETED_ARTIFACTS = 0x0000,
SMSG_BARBER_SHOP_RESULT = 0x6125,
SMSG_BATTLEFIELD_LIST = 0x71B5,
SMSG_BATTLEFIELD_MGR_EJECTED = 0x7DB7,
SMSG_BATTLEFIELD_MGR_EJECT_PENDING = 0x34A2,
SMSG_BATTLEFIELD_MGR_ENTERED = 0x5CA0,
SMSG_BATTLEFIELD_MGR_ENTRY_INVITE = 0x34B3,
SMSG_BATTLEFIELD_MGR_EXIT_REQUEST = 0x51B1,
SMSG_BATTLEFIELD_MGR_QUEUE_INVITE = 0x15A6,
SMSG_BATTLEFIELD_MGR_QUEUE_REQUEST_RESPONSE = 0x79B6,
SMSG_BATTLEFIELD_MGR_STATE_CHANGE = 0x35B4,
SMSG_BATTLEFIELD_PLAYER_POSITIONS = 0x58B4,
SMSG_BATTLEFIELD_PORT_DENIED = 0x35A3,
SMSG_BATTLEFIELD_RATED_INFO = 0x54A3,
SMSG_BATTLEFIELD_STATUS = 0x7DA1,
SMSG_BATTLEFIELD_STATUS_QUEUED = 0x35A1,
SMSG_BATTLEFIELD_STATUS_ACTIVE = 0x74A4,
SMSG_BATTLEFIELD_STATUS_NEEDCONFIRMATION = 0x59A0,
SMSG_BATTLEFIELD_STATUS_WAITFORGROUPS = 0x75A2,
SMSG_BATTLEFIELD_STATUS_FAILED = 0x71A7,
SMSG_BATTLEGROUND_INFO_THROTTLED = 0x34B2,
SMSG_BATTLEGROUND_PLAYER_JOINED = 0x50B0,
SMSG_BATTLEGROUND_PLAYER_LEFT = 0x59A6,
SMSG_BINDER_CONFIRM = 0x2835,
SMSG_BINDPOINTUPDATE = 0x0527,
SMSG_BINDZONEREPLY = 0x4C34,
SMSG_BREAK_TARGET = 0x0105,
SMSG_BUY_BANK_SLOT_RESULT = 0x4806,
SMSG_BUY_FAILED = 0x6435,
SMSG_BUY_ITEM = 0x0F26,
SMSG_CALENDAR_ACTION_PENDING = 0x0000,
SMSG_CALENDAR_ARENA_TEAM = 0x0615,
SMSG_CALENDAR_CLEAR_PENDING_ACTION = 0x2106,
SMSG_CALENDAR_COMMAND_RESULT = 0x6F36,
SMSG_CALENDAR_EVENT_INVITE = 0x4E16,
SMSG_CALENDAR_EVENT_INVITE_ALERT = 0x2A05,
SMSG_CALENDAR_EVENT_INVITE_NOTES = 0x0E17,
SMSG_CALENDAR_EVENT_INVITE_NOTES_ALERT = 0x2535,
SMSG_CALENDAR_EVENT_INVITE_REMOVED = 0x0725,
SMSG_CALENDAR_EVENT_INVITE_REMOVED_ALERT = 0x2617,
SMSG_CALENDAR_EVENT_INVITE_STATUS_ALERT = 0x6625,
SMSG_CALENDAR_EVENT_MODERATOR_STATUS_ALERT = 0x6B06,
SMSG_CALENDAR_EVENT_REMOVED_ALERT = 0x6D35,
SMSG_CALENDAR_EVENT_STATUS = 0x2A27,
SMSG_CALENDAR_EVENT_UPDATED_ALERT = 0x0907,
SMSG_CALENDAR_FILTER_GUILD = 0x4A26,
SMSG_CALENDAR_RAID_LOCKOUT_ADDED = 0x2305,
SMSG_CALENDAR_RAID_LOCKOUT_REMOVED = 0x2E25,
SMSG_CALENDAR_RAID_LOCKOUT_UPDATED = 0x4636,
SMSG_CALENDAR_SEND_CALENDAR = 0x6805,
SMSG_CALENDAR_SEND_EVENT = 0x0C35,
SMSG_CALENDAR_SEND_NUM_PENDING = 0x0C17,
SMSG_CALENDAR_UPDATE_INVITE_LIST = 0x0000,
SMSG_CAMERA_SHAKE = 0x4214,
SMSG_CANCEL_AUTO_REPEAT = 0x6436,
SMSG_CANCEL_COMBAT = 0x4F04,
SMSG_CAST_FAILED = 0x4D16,
SMSG_CHANNEL_LIST = 0x2214,
SMSG_CHANNEL_MEMBER_COUNT = 0x6414,
SMSG_CHANNEL_NOTIFY = 0x0825,
SMSG_CHARACTER_LOGIN_FAILED = 0x4417,
SMSG_CHAR_CREATE = 0x2D05,
SMSG_CHAR_CUSTOMIZE = 0x4F16,
SMSG_CHAR_DELETE = 0x0304,
SMSG_CHAR_ENUM = 0x10B0,
SMSG_CHAR_FACTION_CHANGE = 0x4C06,
SMSG_CHAR_RENAME = 0x2024,
SMSG_CHAT_IGNORED_ACCOUNT_MUTED = 0x15A4,
SMSG_CHAT_NOT_IN_PARTY = 0x6A14,
SMSG_CHAT_PLAYER_AMBIGUOUS = 0x2F34,
SMSG_CHAT_PLAYER_NOT_FOUND = 0x2526,
SMSG_CHAT_RESTRICTED = 0x6536,
SMSG_CHAT_SERVER_DISCONNECTED = 0x6D34,
SMSG_CHAT_SERVER_DISCONNECTED_2 = 0x4627,
SMSG_CHAT_SERVER_RECONNECTED = 0x6905,
SMSG_CHAT_WRONG_FACTION = 0x6724,
SMSG_CHECK_FOR_BOTS = 0x0000,
SMSG_CLEAR_BOSS_EMOTES = 0x19A3,
SMSG_CLEAR_COOLDOWN = 0x0627,
SMSG_CLEAR_COOLDOWNS = 0x59B4,
SMSG_CLEAR_FAR_SIGHT_IMMEDIATE = 0x2A04,
SMSG_CLEAR_TARGET = 0x4B26,
SMSG_CLIENTCACHE_VERSION = 0x2734,
SMSG_CLIENT_CONTROL_UPDATE = 0x2837,
SMSG_COMBAT_EVENT_FAILED = 0x2B07,
SMSG_COMBAT_LOG_MULTIPLE = 0x0000,
SMSG_COMMENTATOR_MAP_INFO = 0x0327,
SMSG_COMMENTATOR_PARTY_INFO = 0x38B0,
SMSG_COMMENTATOR_PLAYER_INFO = 0x2F36,
SMSG_COMMENTATOR_SKIRMISH_QUEUE_RESULT1 = 0x2126,
SMSG_COMMENTATOR_SKIRMISH_QUEUE_RESULT2 = 0x6814,
SMSG_COMMENTATOR_STATE_CHANGED = 0x0737,
SMSG_COMPLAIN_RESULT = 0x6D24,
SMSG_COMPRESSED_MOVES = 0x0517,
SMSG_COMSAT_CONNECT_FAIL = 0x6317,
SMSG_COMSAT_DISCONNECT = 0x0316,
SMSG_COMSAT_RECONNECT_TRY = 0x4D35,
SMSG_CONTACT_LIST = 0x6017,
SMSG_CONVERT_RUNE = 0x4F14,
SMSG_COOLDOWN_CHEAT = 0x4537,
SMSG_COOLDOWN_EVENT = 0x4F26,
SMSG_CORPSE_MAP_POSITION_QUERY_RESPONSE = 0x0E35,
SMSG_CORPSE_NOT_IN_INSTANCE = 0x2A14,
SMSG_CORPSE_RECLAIM_DELAY = 0x0D34,
SMSG_CREATURE_QUERY_RESPONSE = 0x6024,
SMSG_CRITERIA_DELETED = 0x2915,
SMSG_CRITERIA_UPDATE = 0x6E37,
SMSG_CROSSED_INEBRIATION_THRESHOLD = 0x2036,
SMSG_CURRENCY_LOOT_REMOVED = 0x1DB4,
SMSG_CURRENCY_LOOT_RESTORED = 0x30A0,
SMSG_CUSTOM_LOAD_SCREEN = 0x1DB6,
SMSG_DAMAGE_CALC_LOG = 0x2436,
SMSG_DAMAGE_DONE_OBSOLETE = 0x0000,
SMSG_DANCE_QUERY_RESPONSE = 0x2F06,
SMSG_DB_REPLY = 0x38A4,
SMSG_DEATH_RELEASE_LOC = 0x2F07,
SMSG_DEBUG_RUNE_REGEN = 0x31B3,
SMSG_DEBUG_SERVER_GEO = 0x0235,
SMSG_DEFENSE_MESSAGE = 0x0314,
SMSG_DESTROY_OBJECT = 0x4724,
SMSG_DESTRUCTIBLE_BUILDING_DAMAGE = 0x4825,
SMSG_DIFFERENT_INSTANCE_FROM_PARTY = 0x15B1,
SMSG_DISENCHANT_CREDIT = 0x55A2,
SMSG_DISMOUNT = 0x2135,
SMSG_DISMOUNTRESULT = 0x0D25,
SMSG_DISPEL_FAILED = 0x0307,
SMSG_DISPLAY_GAME_ERROR = 0x31A6,
SMSG_DONT_AUTO_PUSH_SPELLS_TO_ACTION_BAR = 0x38A2,
SMSG_DROP_NEW_CONNECTION = 0x4D40,
SMSG_DUEL_COMPLETE = 0x2527,
SMSG_DUEL_COUNTDOWN = 0x4836,
SMSG_DUEL_INBOUNDS = 0x0A27,
SMSG_DUEL_OUTOFBOUNDS = 0x0C26,
SMSG_DUEL_REQUESTED = 0x4504,
SMSG_DUEL_WINNER = 0x2D36,
SMSG_DUMP_RIDE_TICKETS_RESPONSE = 0x11A3,
SMSG_DURABILITY_DAMAGE_DEATH = 0x4C27,
SMSG_ECHO_PARTY_SQUELCH = 0x0814,
SMSG_EMOTE = 0x0A34,
SMSG_ENABLE_BARBER_SHOP = 0x2D16,
SMSG_ENCHANTMENTLOG = 0x6035,
SMSG_ENVIRONMENTALDAMAGELOG = 0x6C05,
SMSG_EQUIPMENT_SET_LIST = 0x2E04,
SMSG_EQUIPMENT_SET_SAVED = 0x2216,
SMSG_EQUIPMENT_SET_USE_RESULT = 0x2424,
SMSG_EXPECTED_SPAM_RECORDS = 0x4D36,
SMSG_EXPLORATION_EXPERIENCE = 0x6716,
SMSG_FAILED_PLAYER_CONDITION = 0x19A4,
SMSG_FEATURE_SYSTEM_STATUS = 0x3DB7,
SMSG_FEIGN_DEATH_RESISTED = 0x0D05,
SMSG_FISH_ESCAPED = 0x2205,
SMSG_FISH_NOT_HOOKED = 0x0A17,
SMSG_FLIGHT_SPLINE_SYNC = 0x0924,
SMSG_FLOOD_DETECTED = 0x0542,
SMSG_FORCEACTIONSHOW = 0x6126,
SMSG_FORCED_DEATH_UPDATE = 0x2606,
SMSG_FORCE_ANIM = 0x4C05,
SMSG_FORCE_DISPLAY_UPDATE = 0x0000,
SMSG_FORCE_SEND_QUEUED_PACKETS = 0x0140,
SMSG_FORCE_SET_VEHICLE_REC_ID = 0x70A1,
SMSG_FORGE_MASTER_SET = 0x70B7,
SMSG_FRIEND_STATUS = 0x0717,
SMSG_GAMEOBJECT_CUSTOM_ANIM = 0x4936,
SMSG_GAMEOBJECT_DESPAWN_ANIM = 0x6735,
SMSG_GAMEOBJECT_PAGETEXT = 0x2925,
SMSG_GAMEOBJECT_QUERY_RESPONSE = 0x0915,
SMSG_GAMEOBJECT_RESET_STATE = 0x2A16,
SMSG_GAMESPEED_SET = 0x4E34,
SMSG_GAMETIME_SET = 0x0014,
SMSG_GAMETIME_UPDATE = 0x4127,
SMSG_GAME_EVENT_DEBUG_LOG = 0x31A7,
SMSG_GAME_OBJECT_ACTIVATE_ANIM_KIT = 0x14A3,
SMSG_GMRESPONSE_DB_ERROR = 0x0006,
SMSG_GMRESPONSE_RECEIVED = 0x2E34,
SMSG_GMRESPONSE_STATUS_UPDATE = 0x0A04,
SMSG_GMTICKET_CREATE = 0x2107,
SMSG_GMTICKET_DELETETICKET = 0x6D17,
SMSG_GMTICKET_GETTICKET = 0x2C15,
SMSG_GMTICKET_SYSTEMSTATUS = 0x0D35,
SMSG_GMTICKET_UPDATETEXT = 0x6535,
SMSG_GM_MESSAGECHAT = 0x6434,
SMSG_GM_PLAYER_INFO = 0x4A15,
SMSG_GM_TICKET_STATUS_UPDATE = 0x2C25,
SMSG_GODMODE = 0x0405,
SMSG_GOSSIP_COMPLETE = 0x0806,
SMSG_GOSSIP_MESSAGE = 0x2035,
SMSG_GOSSIP_POI = 0x4316,
SMSG_GROUPACTION_THROTTLED = 0x6524,
SMSG_GROUP_CANCEL = 0x4D25,
SMSG_GROUP_DECLINE = 0x6835,
SMSG_GROUP_DESTROYED = 0x2207,
SMSG_GROUP_INVITE = 0x31B2,
SMSG_GROUP_LIST = 0x4C24,
SMSG_GROUP_SET_LEADER = 0x0526,
SMSG_GROUP_SET_ROLE = 0x39A6,
SMSG_GROUP_UNINVITE = 0x0A07,
SMSG_GUILD_ACHIEVEMENT_DATA = 0x54B7,
SMSG_GUILD_ACHIEVEMENT_DELETED = 0x35A0,
SMSG_GUILD_ACHIEVEMENT_EARNED = 0x50B5,
SMSG_GUILD_ACHIEVEMENT_MEMBERS = 0x38A5,
SMSG_GUILD_BANK_LIST = 0x78A5,
SMSG_GUILD_BANK_LOG_QUERY_RESULT = 0x30B2,
SMSG_GUILD_BANK_MONEY_WITHDRAWN = 0x5DB4,
SMSG_GUILD_BANK_QUERY_TEXT_RESULT = 0x75A3,
SMSG_GUILD_CANCEL = 0x0000,
SMSG_GUILD_CHALLENGE_COMPLETED = 0x39A3,
SMSG_GUILD_CHALLENGE_UPDATED = 0x18B1,
SMSG_GUILD_CHANGE_NAME_RESULT = 0x3CB1,
SMSG_GUILD_COMMAND_RESULT = 0x7DB3,
SMSG_GUILD_COMMAND_RESULT_2 = 0x2707,
SMSG_GUILD_CRITERIA_DATA = 0x14B4,
SMSG_GUILD_CRITERIA_DELETED = 0x55B1,
SMSG_GUILD_DECLINE = 0x2C07,
SMSG_GUILD_EVENT = 0x0705,
SMSG_GUILD_EVENT_LOG_QUERY_RESULT = 0x10B2,
SMSG_GUILD_FLAGGED_FOR_RENAME = 0x30B6,
SMSG_GUILD_INVITE = 0x14A2,
SMSG_GUILD_INVITE_CANCEL = 0x0606,
SMSG_GUILD_KNOWN_RECIPES = 0x0000,
SMSG_GUILD_MAX_DAILY_XP = 0x79B5,
SMSG_GUILD_MEMBERS_FOR_RECIPE = 0x1CB7,
SMSG_GUILD_MEMBER_DAILY_RESET = 0x10A5,
SMSG_GUILD_MEMBER_RECIPES = 0x1CB0,
SMSG_GUILD_MEMBER_UPDATE_NOTE = 0x7CA0,
SMSG_GUILD_MOVE_COMPLETE = 0x11B2,
SMSG_GUILD_MOVE_STARTING = 0x70A4,
SMSG_GUILD_NEWS_DELETED = 0x74A7,
SMSG_GUILD_NEWS_UPDATE = 0x35A7,
SMSG_GUILD_PARTY_STATE_RESPONSE = 0x50A6,
SMSG_GUILD_PERMISSIONS_QUERY_RESULTS = 0x34A3,
SMSG_GUILD_QUERY_RESPONSE = 0x0E06,
SMSG_GUILD_RANK = 0x30B4,
SMSG_GUILD_RANKS_UPDATE = 0x5DA0,
SMSG_GUILD_RECIPES = 0x10B3,
SMSG_GUILD_RENAMED = 0x74A6,
SMSG_GUILD_REPUTATION_REACTION_CHANGED = 0x74B0,
SMSG_GUILD_REPUTATION_WEEKLY_CAP = 0x30B7,
SMSG_GUILD_RESET = 0x1CB5,
SMSG_GUILD_REWARDS_LIST = 0x1DB0,
SMSG_GUILD_ROSTER = 0x3DA3,
SMSG_GUILD_SET_NOTE = 0x0000,
SMSG_GUILD_TRADESKILL_UPDATE = 0x0000,
SMSG_GUILD_UPDATE_ROSTER = 0x18B0,
SMSG_GUILD_XP = 0x3DB0,
SMSG_GUILD_XP_GAIN = 0x14A1,
SMSG_GUILD_XP_UPDATE = 0x0000,
SMSG_HEALTH_UPDATE = 0x4734,
SMSG_HIGHEST_THREAT_UPDATE = 0x4104,
SMSG_HOTFIX_INFO = 0x19B5,
SMSG_HOTFIX_NOTIFY = 0x55A7,
SMSG_IGNORE_DIMINISHING_RETURNS_CHEAT = 0x0125,
SMSG_IGNORE_REQUIREMENTS_CHEAT = 0x4E36,
SMSG_INITIALIZE_FACTIONS = 0x4634,
SMSG_INITIAL_SPELLS = 0x0104,
SMSG_INIT_CURRENCY = 0x15A5,
SMSG_INIT_WORLD_STATES = 0x4C15,
SMSG_INSPECT = 0x0000,
SMSG_INSPECT_HONOR_STATS = 0x79A5,
SMSG_INSPECT_RATED_BG_STATS = 0x19A5,
SMSG_INSPECT_RESULTS_UPDATE = 0x0C14,
SMSG_INSPECT_TALENT = 0x4014,
SMSG_INSTANCE_LOCK_WARNING_QUERY = 0x4F17,
SMSG_INSTANCE_RESET = 0x6F05,
SMSG_INSTANCE_RESET_FAILED = 0x4725,
SMSG_INSTANCE_SAVE_CREATED = 0x0124,
SMSG_INVALIDATE_DANCE = 0x0E27,
SMSG_INVALIDATE_PLAYER = 0x6325,
SMSG_INVALID_PROMOTION_CODE = 0x6F25,
SMSG_INVENTORY_CHANGE_FAILURE = 0x2236,
SMSG_ITEM_ADD_PASSIVE = 0x7CB4,
SMSG_ITEM_COOLDOWN = 0x4D14,
SMSG_ITEM_ENCHANT_TIME_UPDATE = 0x0F27,
SMSG_ITEM_EXPIRE_PURCHASE_REFUND = 0x1CA0,
SMSG_ITEM_PUSH_RESULT = 0x0E15,
SMSG_ITEM_REFUND_INFO_RESPONSE = 0x15A3,
SMSG_ITEM_REFUND_RESULT = 0x5DB1,
SMSG_ITEM_REMOVE_PASSIVE = 0x39A1,
SMSG_ITEM_SEND_PASSIVE = 0x70B1,
SMSG_ITEM_TEXT_QUERY_RESPONSE = 0x2725,
SMSG_ITEM_TIME_UPDATE = 0x2407,
SMSG_JOINED_BATTLEGROUND_QUEUE = 0x0000,
SMSG_KICK_REASON = 0x4027,
SMSG_LEARNED_DANCE_MOVES = 0x0E05,
SMSG_LEARNED_SPELL = 0x58A2,
SMSG_LEVELUP_INFO = 0x0435,
SMSG_LFG_BOOT_PROPOSAL_UPDATE = 0x0F05,
SMSG_LFG_DISABLED = 0x0815,
SMSG_LFG_JOIN_RESULT = 0x38B6,
SMSG_LFG_OFFER_CONTINUE = 0x6B27,
SMSG_LFG_OPEN_FROM_GOSSIP = 0x0000,
SMSG_LFG_PARTY_INFO = 0x2325,
SMSG_LFG_PLAYER_INFO = 0x4B36,
SMSG_LFG_PLAYER_REWARD = 0x6834,
SMSG_LFG_PROPOSAL_UPDATE = 0x7DA6,
SMSG_LFG_UPDATE_PLAYER = 0x1368,
SMSG_LFG_UPDATE_PARTY = 0x1369,
SMSG_LFG_QUEUE_STATUS = 0x78B4,
SMSG_LFG_ROLE_CHECK_UPDATE = 0x0336,
SMSG_LFG_ROLE_CHOSEN = 0x6A26,
SMSG_LFG_SLOT_INVALID = 0x54B5,
SMSG_LFG_TELEPORT_DENIED = 0x0E14,
SMSG_LFG_UPDATE_LIST = 0x0000,
SMSG_LFG_UPDATE_SEARCH = 0x54A1,
SMSG_LFG_UPDATE_STATUS = 0x31A4,
SMSG_LFG_UPDATE_STATUS_NONE = 0x7CA1,
SMSG_LF_GUILD_APPLICANT_LIST_UPDATED = 0x10A4,
SMSG_LF_GUILD_APPLICATIONS_LIST_CHANGED = 0x71A5,
SMSG_LF_GUILD_BROWSE_UPDATED = 0x1DA3,
SMSG_LF_GUILD_COMMAND_RESULT = 0x54A6,
SMSG_LF_GUILD_MEMBERSHIP_LIST_UPDATED = 0x1CA5,
SMSG_LF_GUILD_POST_UPDATED = 0x35B7,
SMSG_LF_GUILD_RECRUIT_LIST_UPDATED = 0x1CB2,
SMSG_LIST_INVENTORY = 0x7CB0,
SMSG_LOAD_CUF_PROFILES = 0x50B1,
SMSG_LOGIN_SETTIMESPEED = 0x4D15,
SMSG_LOGIN_VERIFY_WORLD = 0x2005,
SMSG_LOGOUT_CANCEL_ACK = 0x6514,
SMSG_LOGOUT_COMPLETE = 0x2137,
SMSG_LOGOUT_RESPONSE = 0x0524,
SMSG_LOG_XPGAIN = 0x4514,
SMSG_LOOT_ALL_PASSED = 0x6237,
SMSG_LOOT_CLEAR_MONEY = 0x2B37,
SMSG_LOOT_CONTENTS = 0x11B1,
SMSG_LOOT_ITEM_NOTIFY = 0x6D15,
SMSG_LOOT_LIST = 0x6807,
SMSG_LOOT_MASTER_LIST = 0x0325,
SMSG_LOOT_MONEY_NOTIFY = 0x2836,
SMSG_LOOT_RELEASE_RESPONSE = 0x6D25,
SMSG_LOOT_REMOVED = 0x6817,
SMSG_LOOT_RESPONSE = 0x4C16,
SMSG_LOOT_ROLL = 0x6507,
SMSG_LOOT_ROLL_WON = 0x6617,
SMSG_LOOT_SLOT_CHANGED = 0x2935,
SMSG_LOOT_START_ROLL = 0x2227,
SMSG_MAIL_LIST_RESULT = 0x4217,
SMSG_MAP_OBJ_EVENTS = 0x54B2,
SMSG_MEETINGSTONE_COMPLETE = 0x2524,
SMSG_MEETINGSTONE_IN_PROGRESS = 0x2D35,
SMSG_MEETINGSTONE_MEMBER_ADDED = 0x0000,
SMSG_MEETINGSTONE_SETQUEUE = 0x0000,
SMSG_MESSAGECHAT = 0x2026,
SMSG_MESSAGE_BOX = 0x30A1,
SMSG_MINIGAME_SETUP = 0x6727,
SMSG_MINIGAME_STATE = 0x2E17,
SMSG_MIRRORIMAGE_DATA = 0x2634,
SMSG_MISSILE_CANCEL = 0x3DB4,
SMSG_MODIFY_COOLDOWN = 0x6016,
SMSG_MONEY_NOTIFY = 0x55B6,
SMSG_MONSTER_MOVE = 0x6E17,
SMSG_MONSTER_MOVE_TRANSPORT = 0x2004,
SMSG_MOTD = 0x0A35,
SMSG_MOUNTRESULT = 0x2225,
SMSG_MOUNTSPECIAL_ANIM = 0x0217,
SMSG_MOVE_COLLISION_DISABLE = 0x31B0,
SMSG_MOVE_COLLISION_ENABLE = 0x11A7,
SMSG_MOVE_DISABLE_COLLISION = 0x0000,
SMSG_MOVE_DISABLE_GRAVITY = 0x0000,
SMSG_MOVE_ENABLE_COLLISION = 0x0000,
SMSG_MOVE_ENABLE_GRAVITY = 0x0000,
SMSG_MOVE_FEATHER_FALL = 0x79B0,
SMSG_MOVE_GRAVITY_DISABLE = 0x75B2,
SMSG_MOVE_GRAVITY_ENABLE = 0x30B3,
SMSG_MOVE_KNOCK_BACK = 0x5CB4,
SMSG_MOVE_LAND_WALK = 0x34B7,
SMSG_MOVE_NORMAL_FALL = 0x51B6,
SMSG_MOVE_ROOT = 0x7DA0,
SMSG_MOVE_SET_ACTIVE_MOVER = 0x11B3,
SMSG_MOVE_SET_CAN_FLY = 0x3DA1,
SMSG_MOVE_SET_CAN_FLY_TO_SWIM = 0x59A2, // old SMSG_MOVE_SET_CAN_TRANSITION_BETWEEN_SWIM_AND_FLY
SMSG_MOVE_SET_COLLISION_HEIGHT = 0x11B0,
SMSG_MOVE_SET_COMPOUND_STATE = 0x75A0,
SMSG_MOVE_SET_FLIGHT_BACK_SPEED = 0x30A2,
SMSG_MOVE_SET_FLIGHT_SPEED = 0x71A6,
SMSG_MOVE_SET_HOVER = 0x5CB3,
SMSG_MOVE_SET_PITCH_RATE = 0x75B0,
SMSG_MOVE_SET_RUN_BACK_SPEED = 0x71B1,
SMSG_MOVE_SET_RUN_SPEED = 0x3DB5,
SMSG_MOVE_SET_SWIM_BACK_SPEED = 0x5CA6,
SMSG_MOVE_SET_SWIM_SPEED = 0x15A7,
SMSG_MOVE_SET_TURN_RATE = 0x30A5,
SMSG_MOVE_SET_VEHICLE_REC_ID = 0x0000,
SMSG_MOVE_SET_WALK_IN_AIR = 0x0000,
SMSG_MOVE_SET_WALK_SPEED = 0x1DA4,
SMSG_MOVE_UNROOT = 0x7DB4,
SMSG_MOVE_UNSET_CAN_FLY = 0x15A2,
SMSG_MOVE_UNSET_CAN_FLY_TO_SWIM = 0x7DB2, // old SMSG_MOVE_UNSET_CAN_TRANSITION_BETWEEN_SWIM_AND_FLY
SMSG_MOVE_UNSET_HOVER = 0x51B3,
SMSG_MOVE_UNSET_WALK_IN_AIR = 0x0000,
SMSG_MOVE_UPDATE_COLLISION_HEIGHT = 0x59A3,
SMSG_MOVE_UPDATE_FLIGHT_BACK_SPEED = 0x74A0,
SMSG_MOVE_UPDATE_KNOCK_BACK = 0x3DB2,
SMSG_MOVE_UPDATE_PITCH_RATE = 0x1DB5,
SMSG_MOVE_UPDATE_RUN_BACK_SPEED = 0x3DA6,
SMSG_MOVE_UPDATE_SWIM_BACK_SPEED = 0x30B5,
SMSG_MOVE_UPDATE_SWIM_SPEED = 0x59B5,
SMSG_MOVE_UPDATE_TELEPORT = 0x50B2,
SMSG_MOVE_UPDATE_TURN_RATE = 0x5DA1,
SMSG_MOVE_UPDATE_WALK_SPEED = 0x54A2,
SMSG_MOVE_WATER_WALK = 0x75B1,
SMSG_MULTIPLE_PACKETS = 0x6736,
SMSG_NAME_QUERY_RESPONSE = 0x6E04,
SMSG_NEW_TAXI_PATH = 0x4B35,
SMSG_NEW_WORLD = 0x79B1,
SMSG_NEW_WORLD_ABORT = 0x14B7,
SMSG_NOTIFICATION = 0x14A0,
SMSG_NOTIFICATION_2 = 0x0724,
SMSG_NOTIFY_DANCE = 0x4904,
SMSG_NOTIFY_DEST_LOC_SPELL_CAST = 0x6204,
SMSG_NPC_TEXT_UPDATE = 0x4436,
SMSG_NPC_WONT_TALK = 0x0000,
SMSG_OFFER_PETITION_ERROR = 0x2716,
SMSG_ON_CANCEL_EXPECTED_RIDE_VEHICLE_AURA = 0x4D34,
SMSG_OPEN_CONTAINER = 0x4714,
SMSG_OPEN_LFG_DUNGEON_FINDER = 0x2C37,
SMSG_OVERRIDE_LIGHT = 0x4225,
SMSG_PAGE_TEXT_QUERY_RESPONSE = 0x2B14,
SMSG_PARTYKILLLOG = 0x4937,
SMSG_PARTY_COMMAND_RESULT = 0x6E07,
SMSG_PARTY_MEMBER_STATS = 0x2104,
SMSG_PARTY_MEMBER_STATS_FULL = 0x0215,
SMSG_PAUSE_MIRROR_TIMER = 0x4015,
SMSG_PERIODICAURALOG = 0x0416,
SMSG_PETGODMODE = 0x2E36,
SMSG_PETITION_ALREADY_SIGNED = 0x5DA3,
SMSG_PETITION_QUERY_RESPONSE = 0x4B37,
SMSG_PETITION_SHOWLIST = 0x6405,
SMSG_PETITION_SHOW_SIGNATURES = 0x0716,
SMSG_PETITION_SIGN_RESULTS = 0x6217,
SMSG_PET_ACTION_FEEDBACK = 0x0807,
SMSG_PET_ACTION_SOUND = 0x4324,
SMSG_PET_ADDED = 0x3CA5,
SMSG_PET_BROKEN = 0x2E27,
SMSG_PET_CAST_FAILED = 0x2B15,
SMSG_PET_DISMISS_SOUND = 0x2B05,
SMSG_PET_GUIDS = 0x2D26,
SMSG_PET_LEARNED_SPELL = 0x0507,
SMSG_PET_MODE = 0x2235,
SMSG_PET_NAME_INVALID = 0x6007,
SMSG_PET_NAME_QUERY_RESPONSE = 0x4C37,
SMSG_PET_REMOVED_SPELL = 0x6A04,
SMSG_PET_RENAMEABLE = 0x2B27,
SMSG_PET_SLOT_UPDATED = 0x51A3,
SMSG_PET_SPELLS = 0x4114,
SMSG_PET_TAME_FAILURE = 0x6B24,
SMSG_PET_UPDATE_COMBO_POINTS = 0x4325,
SMSG_PLAYED_TIME = 0x6037,
SMSG_PLAYERBINDERROR = 0x6A24,
SMSG_PLAYERBOUND = 0x2516,
SMSG_PLAYER_DIFFICULTY_CHANGE = 0x2217,
SMSG_PLAYER_MOVE = 0x79A2,
SMSG_PLAYER_SKINNED = 0x0116,
SMSG_PLAYER_VEHICLE_DATA = 0x4115,
SMSG_PLAY_DANCE = 0x4704,
SMSG_PLAY_MUSIC = 0x4B06,
SMSG_PLAY_OBJECT_SOUND = 0x2635,
SMSG_PLAY_ONE_SHOT_ANIM_KIT = 0x4A35,
SMSG_PLAY_SOUND = 0x2134,
SMSG_PLAY_SPELL_VISUAL = 0x10B1,
SMSG_PLAY_SPELL_VISUAL_KIT = 0x55A5,
SMSG_PLAY_TIME_WARNING = 0x4814,
SMSG_PONG = 0x4D42,
SMSG_POWER_UPDATE = 0x4A07,
SMSG_PRE_RESURRECT = 0x6C36,
SMSG_PROCRESIST = 0x0426,
SMSG_PROPOSE_LEVEL_GRANT = 0x6114,
SMSG_PUREMOUNT_CANCELLED_OBSOLETE = 0x0000,
SMSG_PVP_CREDIT = 0x6015,
SMSG_PVP_LOG_DATA = 0x5CB2,
SMSG_PVP_OPTIONS_ENABLED = 0x50A1,
SMSG_QUERY_QUESTS_COMPLETED_RESPONSE = 0x6314,
SMSG_QUERY_TIME_RESPONSE = 0x2124,
SMSG_QUESTGIVER_OFFER_REWARD = 0x2427,
SMSG_QUESTGIVER_QUEST_COMPLETE = 0x55A4,
SMSG_QUESTGIVER_QUEST_DETAILS = 0x2425,
SMSG_QUESTGIVER_QUEST_FAILED = 0x4236,
SMSG_QUESTGIVER_QUEST_INVALID = 0x4016,
SMSG_QUESTGIVER_QUEST_LIST = 0x0134,
SMSG_QUESTGIVER_REQUEST_ITEMS = 0x6236,
SMSG_QUESTGIVER_STATUS = 0x2115,
SMSG_QUESTGIVER_STATUS_MULTIPLE = 0x4F25,
SMSG_QUESTLOG_FULL = 0x0E36,
SMSG_QUESTUPDATE_ADD_ITEM = 0x0000,
SMSG_QUESTUPDATE_ADD_KILL = 0x0D27,
SMSG_QUESTUPDATE_ADD_PVP_KILL = 0x4416,
SMSG_QUESTUPDATE_COMPLETE = 0x2937,
SMSG_QUESTUPDATE_FAILED = 0x6324,
SMSG_QUESTUPDATE_FAILEDTIMER = 0x6427,
SMSG_QUEST_NPC_QUERY_RESPONSE = 0x75A1,
SMSG_QUEST_CONFIRM_ACCEPT = 0x6F07,
SMSG_QUEST_FORCE_REMOVE = 0x6605,
SMSG_QUEST_POI_QUERY_RESPONSE = 0x6304,
SMSG_QUEST_QUERY_RESPONSE = 0x6936,
SMSG_RAID_GROUP_ONLY = 0x0837,
SMSG_RAID_INSTANCE_INFO = 0x6626,
SMSG_RAID_INSTANCE_MESSAGE = 0x6E15,
SMSG_RAID_MARKERS_CHANGED = 0x10A1,
SMSG_RAID_READY_CHECK_THROTTLED_ERROR = 0x2607,
SMSG_RAID_SUMMON_FAILED = 0x18B6,
SMSG_RANDOMIZE_CHAR_NAME = 0x38B1,
SMSG_RATED_BG_RATING = 0x15A1,
SMSG_RATED_BG_STATS = 0x34A1,
SMSG_READ_ITEM_FAILED = 0x0F16,
SMSG_READ_ITEM_OK = 0x2605,
SMSG_REALM_SPLIT = 0x2714,
SMSG_REAL_GROUP_UPDATE = 0x0F34,
SMSG_RECEIVED_MAIL = 0x2924,
SMSG_REDIRECT_CLIENT = 0x0942,
SMSG_REFER_A_FRIEND_EXPIRED = 0x4934,
SMSG_REFER_A_FRIEND_FAILURE = 0x2037,
SMSG_REFORGE_RESULT = 0x58A4,
SMSG_REMOVED_SPELL = 0x4804,
SMSG_REPORT_PVP_AFK_RESULT = 0x2D06,
SMSG_REQUEST_CEMETERY_LIST_RESPONSE = 0x30A7,
SMSG_REQUEST_PVP_REWARDS_RESPONSE = 0x5DA4,
SMSG_RESEARCH_COMPLETE = 0x35A6,
SMSG_RESEARCH_SETUP_HISTORY = 0x10B6,
SMSG_RESET_COMPRESSION_CONTEXT = 0x0142,
SMSG_RESET_FAILED_NOTIFY = 0x4616,
SMSG_RESISTLOG = 0x0000,
SMSG_RESPOND_INSPECT_ACHIEVEMENTS = 0x15B0,
SMSG_RESURRECT_FAILED = 0x6705,
SMSG_RESURRECT_REQUEST = 0x2905,
SMSG_RESYNC_RUNES = 0x6224,
SMSG_ROLE_POLL_BEGIN = 0x70B0,
SMSG_RWHOIS = 0x2437,
SMSG_SELL_ITEM = 0x6105,
SMSG_SEND_MAIL_RESULT = 0x4927,
SMSG_SEND_UNLEARN_SPELLS = 0x4E25,
SMSG_SERVERTIME = 0x6327,
SMSG_SERVER_FIRST_ACHIEVEMENT = 0x6424,
SMSG_SERVER_INFO_RESPONSE = 0x74B5,
SMSG_SERVER_MESSAGE = 0x6C04,
SMSG_SERVER_PERF = 0x74B6,
SMSG_SET_AI_ANIM_KIT = 0x0000,
SMSG_SET_DF_FAST_LAUNCH_RESULT = 0x35B6,
SMSG_SET_FACTION_ATWAR = 0x4216,
SMSG_SET_FACTION_NOT_VISIBLE = 0x6737,
SMSG_SET_FACTION_STANDING = 0x0126,
SMSG_SET_FACTION_VISIBLE = 0x2525,
SMSG_SET_FLAT_SPELL_MODIFIER = 0x2834,
SMSG_SET_FORCED_REACTIONS = 0x4615,
SMSG_SET_MELEE_ANIM_KIT = 0x0000,
SMSG_SET_MOVEMENT_ANIM_KIT = 0x0000,
SMSG_SET_PCT_SPELL_MODIFIER = 0x0224,
SMSG_SET_PHASE_SHIFT = 0x70A0,
SMSG_SET_PLAYER_DECLINED_NAMES_RESULT = 0x2B25,
SMSG_SET_PLAY_HOVER_ANIM = 0x30A6,
SMSG_SET_PROFICIENCY = 0x6207,
SMSG_SET_PROJECTILE_POSITION = 0x2616,
SMSG_SHOWTAXINODES = 0x2A36,
SMSG_SHOW_BANK = 0x2627,
SMSG_SHOW_MAILBOX = 0x2524,
SMSG_SHOW_RATINGS = 0x11B4,
SMSG_SOCKET_GEMS_RESULT = 0x6014,
SMSG_SOR_START_EXPERIENCE_INCOMPLETE = 0x7CA7,
SMSG_SPELLBREAKLOG = 0x6B17,
SMSG_SPELLDAMAGESHIELD = 0x2927,
SMSG_SPELLDISPELLOG = 0x4516,
SMSG_SPELLENERGIZELOG = 0x0414,
SMSG_SPELLHEALLOG = 0x2816,
SMSG_SPELLINSTAKILLLOG = 0x6216,
SMSG_SPELLINTERRUPTLOG = 0x1DA7,
SMSG_SPELLLOGEXECUTE = 0x0626,
SMSG_SPELLLOGMISS = 0x0625,
SMSG_SPELLNONMELEEDAMAGELOG = 0x4315,
SMSG_SPELLORDAMAGE_IMMUNE = 0x4507,
SMSG_SPELLSTEALLOG = 0x4E26,
SMSG_SPELL_CATEGORY_COOLDOWN = 0x71B6,
SMSG_SPELL_COOLDOWN = 0x4B16,
SMSG_SPELL_DELAYED = 0x0715,
SMSG_SPELL_FAILED_OTHER = 0x0C34,
SMSG_SPELL_FAILURE = 0x4535,
SMSG_SPELL_GO = 0x6E16,
SMSG_SPELL_START = 0x6415,
SMSG_SPELL_UPDATE_CHAIN_TARGETS = 0x6006,
SMSG_SPIRIT_HEALER_CONFIRM = 0x4917,
SMSG_SPLINE_MOVE_COLLISION_DISABLE = 0x35B1,
SMSG_SPLINE_MOVE_COLLISION_ENABLE = 0x3CB0,
SMSG_SPLINE_MOVE_GRAVITY_DISABLE = 0x5DB5,
SMSG_SPLINE_MOVE_GRAVITY_ENABLE = 0x3CA6,
SMSG_SPLINE_MOVE_ROOT = 0x51B4,
SMSG_SPLINE_MOVE_SET_ANIM = 0x4335,
SMSG_SPLINE_MOVE_SET_FEATHER_FALL = 0x3DA5,
SMSG_SPLINE_MOVE_SET_FLIGHT_BACK_SPEED = 0x38B3,
SMSG_SPLINE_MOVE_SET_FLIGHT_SPEED = 0x39A0,
SMSG_SPLINE_MOVE_SET_FLYING = 0x31B5,
SMSG_SPLINE_MOVE_SET_HOVER = 0x14B6,
SMSG_SPLINE_MOVE_SET_LAND_WALK = 0x3DA7,
SMSG_SPLINE_MOVE_SET_NORMAL_FALL = 0x38B2,
SMSG_SPLINE_MOVE_SET_PITCH_RATE = 0x14B0,
SMSG_SPLINE_MOVE_SET_RUN_BACK_SPEED = 0x3DB3,
SMSG_SPLINE_MOVE_SET_RUN_MODE = 0x75A7,
SMSG_SPLINE_MOVE_SET_RUN_SPEED = 0x51B7,
SMSG_SPLINE_MOVE_SET_SWIM_BACK_SPEED = 0x59A1,
SMSG_SPLINE_MOVE_SET_SWIM_SPEED = 0x39A4,
SMSG_SPLINE_MOVE_SET_TURN_RATE = 0x78B5,
SMSG_SPLINE_MOVE_SET_WALK_MODE = 0x54B6,
SMSG_SPLINE_MOVE_SET_WALK_SPEED = 0x34A5,
SMSG_SPLINE_MOVE_START_SWIM = 0x31A5,
SMSG_SPLINE_MOVE_STOP_SWIM = 0x1DA2,
SMSG_SPLINE_MOVE_UNROOT = 0x75B6,
SMSG_SPLINE_MOVE_UNSET_FLYING = 0x58A6,
SMSG_SPLINE_MOVE_UNSET_HOVER = 0x7DA5,
SMSG_SPLINE_MOVE_SET_WATER_WALK = 0x50A2,
SMSG_STABLE_RESULT = 0x2204,
SMSG_STANDSTATE_UPDATE = 0x6F04,
SMSG_START_MIRROR_TIMER = 0x6824,
SMSG_START_TIMER = 0x59A5,
SMSG_STOP_DANCE = 0x4637,
SMSG_STOP_MIRROR_TIMER = 0x0B06,
SMSG_STREAMING_MOVIE = 0x15B7,
SMSG_SUMMON_CANCEL = 0x0B34,
SMSG_SUMMON_REQUEST = 0x2A07,
SMSG_SUPERCEDED_SPELL = 0x35B0,
SMSG_SUPPRESS_NPC_GREETINGS = 0x74B1,
SMSG_SUSPEND_COMMS = 0x4140,
SMSG_SUSPEND_TOKEN_RESPONSE = 0x14B1,
SMSG_TALENTS_ERROR = 0x0916,
SMSG_TALENTS_INFO = 0x6F26,
SMSG_TALENTS_INVOLUNTARILY_RESET = 0x2C27,
SMSG_TAXINODE_STATUS = 0x2936,
SMSG_TEST_DROP_RATE_RESULT = 0x6816,
SMSG_TEXT_EMOTE = 0x0B05,
SMSG_THREAT_CLEAR = 0x6437,
SMSG_THREAT_REMOVE = 0x2E05,
SMSG_THREAT_UPDATE = 0x4735,
SMSG_TIME_ADJUSTMENT = 0x79B7,
SMSG_TIME_SYNC_REQ = 0x3CA4,
SMSG_TITLE_EARNED = 0x2426,
SMSG_TOGGLE_XP_GAIN = 0x6704,
SMSG_TOTEM_CREATED = 0x2414,
SMSG_TRADE_STATUS = 0x5CA3,
SMSG_TRADE_STATUS_EXTENDED = 0x70A2,
SMSG_TRAINER_BUY_FAILED = 0x0004,
SMSG_TRAINER_BUY_SUCCEEDED = 0x6A05,
SMSG_TRAINER_LIST = 0x4414,
SMSG_TRANSFER_ABORTED = 0x0537,
SMSG_TRANSFER_PENDING = 0x18A6,
SMSG_TRIGGER_CINEMATIC = 0x6C27,
SMSG_TRIGGER_MOVIE = 0x4625,
SMSG_TURN_IN_PETITION_RESULTS = 0x0F07,
SMSG_TUTORIAL_FLAGS = 0x0B35,
SMSG_UNIT_HEALTH_FREQUENT = 0x2C26,
SMSG_UNIT_SPELLCAST_START = 0x2517,
SMSG_UPDATE_ACCOUNT_DATA = 0x6837,
SMSG_UPDATE_ACCOUNT_DATA_COMPLETE = 0x2015,
SMSG_UPDATE_COMBO_POINTS = 0x6B34,
SMSG_UPDATE_CURRENCY = 0x59B0,
SMSG_UPDATE_CURRENCY_WEEK_LIMIT = 0x70A7,
SMSG_UPDATE_DUNGEON_ENCOUNTER_FOR_LOOT = 0x3CB5,
SMSG_UPDATE_INSTANCE_ENCOUNTER_UNIT = 0x4007,
SMSG_UPDATE_INSTANCE_OWNERSHIP = 0x4915,
SMSG_UPDATE_LAST_INSTANCE = 0x0437,
SMSG_UPDATE_OBJECT = 0x4715,
SMSG_UPDATE_SERVER_PLAYER_POSITION = 0x74A3,
SMSG_UPDATE_WORLD_STATE = 0x4816,
SMSG_USERLIST_ADD = 0x0F37,
SMSG_USERLIST_REMOVE = 0x2006,
SMSG_USERLIST_UPDATE = 0x0135,
SMSG_VOICESESSION_FULL = 0x6225,
SMSG_VOICE_CHAT_STATUS = 0x0F15,
SMSG_VOICE_PARENTAL_CONTROLS = 0x0534,
SMSG_VOICE_SESSION_LEAVE = 0x2A24,
SMSG_VOICE_SESSION_ROSTER_UPDATE = 0x2A17,
SMSG_VOICE_SET_TALKER_MUTED = 0x6E35,
SMSG_VOID_ITEM_SWAP_RESPONSE = 0x78A2,
SMSG_VOID_STORAGE_CONTENTS = 0x75B4,
SMSG_VOID_STORAGE_FAILED = 0x18A7,
SMSG_VOID_STORAGE_TRANSFER_CHANGES = 0x51A6,
SMSG_VOID_TRANSFER_RESULT = 0x1DA6,
SMSG_WAIT_QUEUE_FINISH = 0x75B7,
SMSG_WAIT_QUEUE_UPDATE = 0x58A1,
SMSG_WARDEN_DATA = 0x31A0,
SMSG_WARGAME_CHECK_ENTRY = 0x3DA4,
SMSG_WARGAME_REQUEST_SENT = 0x59B2,
SMSG_WEATHER = 0x2904,
SMSG_WEEKLY_LAST_RESET = 0x50A5,
SMSG_WEEKLY_RESET_CURRENCY = 0x3CA1,
SMSG_WEEKLY_SPELL_USAGE = 0x39B7,
SMSG_WEEKLY_SPELL_USAGE_UPDATE = 0x11B5,
SMSG_WHO = 0x6907,
SMSG_WHOIS = 0x6917,
SMSG_WORLD_SERVER_INFO = 0x31A2,
SMSG_WORLD_STATE_UI_TIMER_UPDATE = 0x4A14,
SMSG_XP_GAIN_ABORTED = 0x50B4,
SMSG_ZONE_UNDER_ATTACK = 0x0A06,
};
/// Player state
enum SessionStatus
{
STATUS_AUTHED = 0, // Player authenticated (_player == NULL, m_playerRecentlyLogout = false or will be reset before handler call, m_GUID have garbage)
STATUS_LOGGEDIN, // Player in game (_player != NULL, m_GUID == _player->GetGUID(), inWorld())
STATUS_TRANSFER, // Player transferring to another map (_player != NULL, m_GUID == _player->GetGUID(), !inWorld())
STATUS_LOGGEDIN_OR_RECENTLY_LOGGOUT, // _player != NULL or _player == NULL && m_playerRecentlyLogout && m_playerLogout, m_GUID store last _player guid)
STATUS_NEVER, // Opcode not accepted from client (deprecated or server side only)
STATUS_UNHANDLED // Opcode not handled yet
};
enum PacketProcessing
{
PROCESS_INPLACE = 0, //process packet whenever we receive it - mostly for non-handled or non-implemented packets
PROCESS_THREADUNSAFE, //packet is not thread-safe - process it in World::UpdateSessions()
PROCESS_THREADSAFE //packet is thread-safe - process it in Map::Update()
};
class WorldPacket;
class WorldSession;
typedef void(WorldSession::*pOpcodeHandler)(WorldPacket& recvPacket);
struct OpcodeHandler
{
OpcodeHandler() {}
OpcodeHandler(char const* _name, SessionStatus _status, PacketProcessing _processing, pOpcodeHandler _handler)
: Name(_name), Status(_status), ProcessingPlace(_processing), Handler(_handler) {}
char const* Name;
SessionStatus Status;
PacketProcessing ProcessingPlace;
pOpcodeHandler Handler;
};
class OpcodeTable
{
public:
OpcodeTable()
{
memset(_internalTable, 0, sizeof(_internalTable));
}
~OpcodeTable()
{
for (uint16 i = 0; i < NUM_OPCODE_HANDLERS; ++i)
delete _internalTable[i];
}
void Initialize();
OpcodeHandler const* operator[](uint32 index) const
{
return _internalTable[index];
}
private:
template<bool isInValidRange, bool isNonZero>
void ValidateAndSetOpcode(uint16 opcode, char const* name, SessionStatus status, PacketProcessing processing, pOpcodeHandler handler);
// Prevent copying this structure
OpcodeTable(OpcodeTable const&);
OpcodeTable& operator=(OpcodeTable const&);
OpcodeHandler* _internalTable[NUM_OPCODE_HANDLERS];
};
extern OpcodeTable opcodeTable;
extern uint32 opcodePerSecond[NUM_OPCODE_HANDLERS];
void InitOpcodes();
/// Lookup opcode name for human understandable logging
inline std::string GetOpcodeNameForLogging(Opcodes id)
{
uint32 opcode = uint32(id);
std::ostringstream ss;
ss << '[';
if (id < UNKNOWN_OPCODE)
{
if (OpcodeHandler const* handler = opcodeTable[uint32(id) & 0x7FFF])
{
ss << handler->Name;
if (opcode & COMPRESSED_OPCODE_MASK)
ss << "_COMPRESSED";
}
else
ss << "UNKNOWN OPCODE";
}
else
ss << "INVALID OPCODE";
ss << " 0x" << std::hex << std::uppercase << opcode << std::nouppercase << " (" << std::dec << opcode << ")]";
return ss.str();
}
#endif
/// @}
| [
"game.techbang01@gmail.com"
] | game.techbang01@gmail.com |
4cfaaa43054f7462f69636289a4bd55ec0579e4b | 777a75e6ed0934c193aece9de4421f8d8db01aac | /src/Providers/UNIXProviders/tests/UNIXProviders.Tests/UNIX_FilterEntryInSystemFixture.cpp | f024729cfa020ac91c4338524542101165959573 | [
"MIT"
] | permissive | brunolauze/openpegasus-providers-old | 20fc13958016e35dc4d87f93d1999db0eae9010a | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | refs/heads/master | 2021-01-01T20:05:44.559362 | 2014-04-30T17:50:06 | 2014-04-30T17:50:06 | 19,132,738 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,851 | cpp | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor licenses this file to you under the OpenPegasus Open
// Source License; you may not use this file except in compliance with the
// License.
//
// 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.
//
//////////////////////////////////////////////////////////////////////////
//
//%/////////////////////////////////////////////////////////////////////////
#include "UNIX_FilterEntryInSystemFixture.h"
#include <FilterEntryInSystem/UNIX_FilterEntryInSystemProvider.h>
UNIX_FilterEntryInSystemFixture::UNIX_FilterEntryInSystemFixture()
{
}
UNIX_FilterEntryInSystemFixture::~UNIX_FilterEntryInSystemFixture()
{
}
void UNIX_FilterEntryInSystemFixture::Run()
{
CIMName className("UNIX_FilterEntryInSystem");
CIMNamespaceName nameSpace("root/cimv2");
UNIX_FilterEntryInSystem _p;
UNIX_FilterEntryInSystemProvider _provider;
Uint32 propertyCount;
CIMOMHandle omHandle;
_provider.initialize(omHandle);
_p.initialize();
for(int pIndex = 0; _p.load(pIndex); pIndex++)
{
CIMInstance instance = _provider.constructInstance(className,
nameSpace,
_p);
CIMObjectPath path = instance.getPath();
cout << path.toString() << endl;
propertyCount = instance.getPropertyCount();
for(Uint32 i = 0; i < propertyCount; i++)
{
CIMProperty propertyItem = instance.getProperty(i);
cout << " Name: " << propertyItem.getName().getString() << " - Value: " << propertyItem.getValue().toString() << endl;
}
cout << "------------------------------------" << endl;
cout << endl;
}
_p.finalize();
}
| [
"brunolauze@msn.com"
] | brunolauze@msn.com |
64977fbeb5bd74dbdf1a83aff6ac341b16e9e091 | dd6ffac87c25069939dddccd0e5d0d41c23f832f | /Project1/Source/Managers/LocalizationManager.h | ddb83928fb153f45081150a3ee4ee754eacfad08 | [] | no_license | vidhisoni/3D-Game-Project | 901e8fb3ecbeeffe0188b72f865e38ad55f8c6fe | f53c8c9eb95662455a4e1ce9105d2393664af1a6 | refs/heads/master | 2022-10-26T06:16:51.875969 | 2020-06-16T04:39:53 | 2020-06-16T04:39:53 | 272,602,412 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,128 | h | #pragma once
/*!
* Localization Manager gets text
* in game codes map to windows codes
*/
class LocalizationManager
{
public:
/*!
* Either create a new instance if one does not exist
* or return the current instance
* \return the instance current initialized
*/
GEAR_API static LocalizationManager* GetInstance();
/*!
* Checks the directory structure to ensure that there isupport for the requested language
* \param aLang the language code two characters long
* \return True if there is a directory containing the localization for that language
*/
GEAR_API bool IsLanguageSupported(std::string aLang);
/*!
* Get the Desired Text for a given file and language.
*
* \param aFile The file requested it will be appended to the basepath
* \param aLang the language requested default is empty for the current encoding
* \return a UTF-8 wstring of the file's text
*/
GEAR_API std::wstring GetText(std::string aFile, std::string aLang = "");
/*!
* Initialize the Localization, default language is English.
*
*/
GEAR_API void Init();
/*!
* Clear the mappings.
*
*/
GEAR_API void CleanUp();
/*!
* Set the base path for all audio and text that is localized
*
* \param aPath
*/
GEAR_API void SetBasePath(std::string aPath);
/*!
* Set the current language
*
* \param aLang
*/
GEAR_API void SetCurrentLanguage(std::string aLang);
/*!
* Return the base path for localization, each of the language encodings are sub directories of this path
*
* \return the localization base path
*/
GEAR_API std::string GetBasePath();
/*!
* Get the full path to the localized audio
*
* \param aLang the encoding desired default is empty to current encoding
* \return
*/
GEAR_API std::string GetAudioPath(std::string aLang = "");
/*!
*
*
* \return the path to the font
*/
GEAR_API std::string GetFont();
private:
GEAR_API LocalizationManager();
GEAR_API ~LocalizationManager();
private:
static LocalizationManager* mInstance;
std::string mBasePath;
std::string mCurrentEncoding;
std::unordered_map<std::string, std::string> mFonts;
};
| [
"vidhi.soni@digipen.edu"
] | vidhi.soni@digipen.edu |
d092b35c5f1ad80d534dc05557d14a5263039a7d | 0f2b08b31fab269c77d4b14240b8746a3ba17d5e | /onnxruntime/test/onnx/testcase_driver.cc | 87f8a265757ff9e14f499eeb35a57d403ca43cc4 | [
"MIT"
] | permissive | microsoft/onnxruntime | f75aa499496f4d0a07ab68ffa589d06f83b7db1d | 5e747071be882efd6b54d7a7421042e68dcd6aff | refs/heads/main | 2023-09-04T03:14:50.888927 | 2023-09-02T07:16:28 | 2023-09-02T07:16:28 | 156,939,672 | 9,912 | 2,451 | MIT | 2023-09-14T21:22:46 | 2018-11-10T02:22:53 | C++ | UTF-8 | C++ | false | false | 3,715 | cc | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "TestCaseResult.h"
#include "testcase_driver.h"
#include "testcase_request.h"
#include "testenv.h"
#include <core/common/logging/logging.h>
namespace onnxruntime {
namespace test {
TestCaseDriver::TestCaseDriver(const TestEnv& env, size_t concurrent_runs)
: env_(env),
concurrent_runs_(concurrent_runs),
tests_started_(0),
tests_inprogress_(0),
finished_(false) {
results_.resize(env.GetTests().size());
CallableFactory<TestCaseDriver, void, size_t, std::shared_ptr<TestCaseResult>> f(this);
on_test_case_complete_ = f.GetCallable<&TestCaseDriver::OnTestCaseComplete>();
}
std::vector<std::shared_ptr<TestCaseResult>> TestCaseDriver::Run(const TestEnv& env, size_t concurrent_runs, size_t repeat_count) {
std::vector<std::shared_ptr<TestCaseResult>> results;
for (const auto& c : env.GetTests()) {
auto result = TestCaseRequestContext::Run(env.GetThreadPool(),
*c, env.Env(), env.GetSessionOptions(), concurrent_runs, repeat_count);
results.push_back(std::move(result));
}
return results;
}
std::vector<std::shared_ptr<TestCaseResult>> TestCaseDriver::RunParallel(const TestEnv& test_env, size_t parallel_models,
size_t concurrent_runs) {
assert(parallel_models > 1);
parallel_models = std::min(parallel_models, test_env.GetTests().size());
LOGF_DEFAULT(ERROR, "Running tests in parallel: at most %u models at any time", static_cast<unsigned int>(parallel_models));
TestCaseDriver driver(test_env, concurrent_runs);
driver.RunModelsAsync(parallel_models);
auto results = driver.TakeResults();
return results;
}
void TestCaseDriver::RunModelsAsync(size_t parallel_models) {
const auto& tests = env_.GetTests();
const auto total_models = tests.size();
for (size_t i = 0; i < parallel_models; ++i) {
auto next_to_run = tests_started_.fetch_add(1, std::memory_order_relaxed);
if (next_to_run >= total_models) {
break;
}
tests_inprogress_.fetch_add(1, std::memory_order_relaxed);
TestCaseRequestContext::Request(on_test_case_complete_, env_.GetThreadPool(), *tests[next_to_run],
env_.Env(), env_.GetSessionOptions(), next_to_run, concurrent_runs_);
}
// This thread is not on a threadpool so we are not using it
// to run anything. Just wait.
Wait();
LOGF_DEFAULT(ERROR, "Running tests finished. Generating report");
}
void TestCaseDriver::OnTestCaseComplete(size_t test_case_id, std::shared_ptr<TestCaseResult> result) {
assert(test_case_id < results_.size());
{
std::lock_guard<std::mutex> g(mut_);
results_[test_case_id] = std::move(result);
}
const auto& tests = env_.GetTests();
const auto total_models = tests.size();
auto next_to_run = tests_started_.fetch_add(1, std::memory_order_relaxed);
if (next_to_run < total_models) {
tests_inprogress_.fetch_add(1, std::memory_order_relaxed);
TestCaseRequestContext::Request(on_test_case_complete_, env_.GetThreadPool(), *tests[next_to_run],
env_.Env(), env_.GetSessionOptions(), next_to_run, concurrent_runs_);
}
auto before_we_done = tests_inprogress_.fetch_sub(1, std::memory_order_acq_rel);
assert(before_we_done > 0);
if (before_we_done == 1U) {
std::lock_guard<std::mutex> g(mut_);
finished_ = true;
cond_.notify_one();
}
}
void TestCaseDriver::Wait() const {
std::unique_lock<std::mutex> ul(mut_);
while (!finished_) {
cond_.wait(ul);
}
}
} // namespace test
} // namespace onnxruntime
| [
"noreply@github.com"
] | microsoft.noreply@github.com |
f1a991d469facc1d0bc0f3f4d77a4a2656626e92 | db7282bee98f0284e3366b9dd5e8d752d7339297 | /devel/include/youibot_msgs/VersionInfo.h | 1baaf510039d840024366259fc4062eef5685829 | [] | no_license | PapadeStonne/hector_mapping_rslidar_32 | a04e747ef3e67374abe0a7e7f7886aec7f9fe081 | 0210192fdeb8808f21c36b0b112ba30187e3960c | refs/heads/master | 2022-10-25T13:30:22.879547 | 2020-06-15T08:52:16 | 2020-06-15T08:52:16 | 272,385,525 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,506 | h | // Generated by gencpp from file youibot_msgs/VersionInfo.msg
// DO NOT EDIT!
#ifndef YOUIBOT_MSGS_MESSAGE_VERSIONINFO_H
#define YOUIBOT_MSGS_MESSAGE_VERSIONINFO_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
namespace youibot_msgs
{
template <class ContainerAllocator>
struct VersionInfo_
{
typedef VersionInfo_<ContainerAllocator> Type;
VersionInfo_()
: hardware()
, firmware()
, software()
, udid()
, features(0) {
}
VersionInfo_(const ContainerAllocator& _alloc)
: hardware(_alloc)
, firmware(_alloc)
, software(_alloc)
, udid(_alloc)
, features(0) {
(void)_alloc;
}
typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _hardware_type;
_hardware_type hardware;
typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _firmware_type;
_firmware_type firmware;
typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _software_type;
_software_type software;
typedef std::vector<uint32_t, typename ContainerAllocator::template rebind<uint32_t>::other > _udid_type;
_udid_type udid;
typedef uint64_t _features_type;
_features_type features;
enum {
SMOOTH_MOVE_START = 1u,
GYROSCOPE_3D_DATA = 2u,
};
typedef boost::shared_ptr< ::youibot_msgs::VersionInfo_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::youibot_msgs::VersionInfo_<ContainerAllocator> const> ConstPtr;
}; // struct VersionInfo_
typedef ::youibot_msgs::VersionInfo_<std::allocator<void> > VersionInfo;
typedef boost::shared_ptr< ::youibot_msgs::VersionInfo > VersionInfoPtr;
typedef boost::shared_ptr< ::youibot_msgs::VersionInfo const> VersionInfoConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::youibot_msgs::VersionInfo_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::youibot_msgs::VersionInfo_<ContainerAllocator> >::stream(s, "", v);
return s;
}
} // namespace youibot_msgs
namespace ros
{
namespace message_traits
{
// BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False}
// {'geometry_msgs': ['/opt/ros/kinetic/share/geometry_msgs/cmake/../msg'], 'actionlib_msgs': ['/opt/ros/kinetic/share/actionlib_msgs/cmake/../msg'], 'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'youibot_msgs': ['/home/zjq/VLP_ws/src/youibot_msgs/msg', '/home/zjq/VLP_ws/devel/share/youibot_msgs/msg']}
// !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']
template <class ContainerAllocator>
struct IsFixedSize< ::youibot_msgs::VersionInfo_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::youibot_msgs::VersionInfo_<ContainerAllocator> const>
: FalseType
{ };
template <class ContainerAllocator>
struct IsMessage< ::youibot_msgs::VersionInfo_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::youibot_msgs::VersionInfo_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::youibot_msgs::VersionInfo_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::youibot_msgs::VersionInfo_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::youibot_msgs::VersionInfo_<ContainerAllocator> >
{
static const char* value()
{
return "3dc0ce6edd49be1fc86730f4a4a21861";
}
static const char* value(const ::youibot_msgs::VersionInfo_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x3dc0ce6edd49be1fULL;
static const uint64_t static_value2 = 0xc86730f4a4a21861ULL;
};
template<class ContainerAllocator>
struct DataType< ::youibot_msgs::VersionInfo_<ContainerAllocator> >
{
static const char* value()
{
return "youibot_msgs/VersionInfo";
}
static const char* value(const ::youibot_msgs::VersionInfo_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::youibot_msgs::VersionInfo_<ContainerAllocator> >
{
static const char* value()
{
return "# Contains unique device id, version info and available features for the kobuki platform.\n\
# Useful for compatibility checking and introspection\n\
\n\
string hardware # <major>.<minor>.<patch>\n\
string firmware # <major>.<minor>.<patch>\n\
string software # Still to decide how it will look\n\
uint32[] udid\n\
\n\
# Bitmask that specifies the available features in the firmware and/or driver\n\
uint64 features\n\
\n\
# The following represent the bit fields corresponding to bits in the features value\n\
\n\
# Provided firmware kobuki_firmware_1.1.1.hex\n\
uint64 SMOOTH_MOVE_START = 0000000000000001\n\
uint64 GYROSCOPE_3D_DATA = 0000000000000002\n\
";
}
static const char* value(const ::youibot_msgs::VersionInfo_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::youibot_msgs::VersionInfo_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.hardware);
stream.next(m.firmware);
stream.next(m.software);
stream.next(m.udid);
stream.next(m.features);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct VersionInfo_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::youibot_msgs::VersionInfo_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::youibot_msgs::VersionInfo_<ContainerAllocator>& v)
{
s << indent << "hardware: ";
Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.hardware);
s << indent << "firmware: ";
Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.firmware);
s << indent << "software: ";
Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.software);
s << indent << "udid[]" << std::endl;
for (size_t i = 0; i < v.udid.size(); ++i)
{
s << indent << " udid[" << i << "]: ";
Printer<uint32_t>::stream(s, indent + " ", v.udid[i]);
}
s << indent << "features: ";
Printer<uint64_t>::stream(s, indent + " ", v.features);
}
};
} // namespace message_operations
} // namespace ros
#endif // YOUIBOT_MSGS_MESSAGE_VERSIONINFO_H
| [
"mrzjq@sina.cn"
] | mrzjq@sina.cn |
e44e8ae7a14ac6ad4317aaedab19aafe1351582f | cdaf82ade36a8454378d9167df1e88c0db8ff83c | /03. Ekspresi dan Masukan atau Keluaran/F. Transpos Matriks/f_transpos_matriks.cpp | 6107a93070527916f0e3e578b0519b6605791365 | [] | no_license | putuwaw/tlx-toki-answer | ad746673ad1b2e26719e309b81b24d7dfcf3bad4 | a2415bc41dacd174438f029fdd9f47ba0d20581c | refs/heads/main | 2023-09-01T09:10:48.215730 | 2023-08-22T15:36:46 | 2023-08-22T15:36:46 | 473,916,849 | 5 | 0 | null | 2023-04-27T17:00:32 | 2022-03-25T07:52:45 | Java | UTF-8 | C++ | false | false | 299 | cpp | #include <iostream>
using namespace std;
int main(){
int a, b, c, d, e, f, g, h, i;
cin >> a >> b >> c >> d >> e >> f >> g >> h >> i;
cout << a << " " << d << " " << g << endl;
cout << b << " " << e << " " << h << endl;
cout << c << " " << f << " " << i << endl;
return 0;
}
| [
"noreply@github.com"
] | putuwaw.noreply@github.com |
eeeb61764ce36a35d63823e688108812fb89e445 | ac7169b8f8e545ac3f511774639f6c456083eac5 | /mastery19.cpp | 8572efa16493f2b45363c3d5e9da6659e420badc | [] | no_license | AsaPuls/WSQ | ecd4aee1902eae185a7723a13b0c8995b3a2fbca | d9a734ea10f7f47835deba649fe815cc6e0c8d1b | refs/heads/master | 2021-03-12T19:59:13.731159 | 2015-05-04T23:20:56 | 2015-05-04T23:20:56 | 30,938,290 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 414 | cpp | #include <iostream>
using namespace std;
int main () {
int num1,num2;
cout << "give me 2 numbers: " << endl;
cin >> num1;
cin >> num2;
if (num1 > num2)
cout << "The 1st number is bigger than the 2nd number" << endl;
else if (num1 < num2)
cout << "The 1st number is smaller than the 2nd number" << endl;
else
cout << "The 1st number is same number as the 2nd number" << endl;
return 0;
}
| [
"asa.puls@gmail.com"
] | asa.puls@gmail.com |
1017a33b2b30b289822ae872e863d768998aef99 | 8be023f90d9a18f4917af4bba8fb31230df3df2a | /SigLog_MibLib/host/hr_other.cpp | 78dc3b3d0d8c309dd7fbdc3bc7f97c7300f4fc8c | [] | no_license | duniansampa/SigLog | d6dba1c0e851e1c8d3aef3af4bb85b4d038ab9c9 | 3dae0e42a36ebc5dca46fb044d3b1d40152ec786 | refs/heads/master | 2021-01-10T12:25:17.511236 | 2016-03-12T18:38:19 | 2016-03-12T18:38:19 | 44,571,851 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,171 | cpp | /*
* Host Resources MIB - other device implementation - hr_other.c
*
*/
#include <siglog/net-snmp-config.h>
#include "host_res.h"
#include "hr_other.h"
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
void Init_HR_CoProc(void);
int Get_Next_HR_CoProc(void);
const char *describe_coproc(int);
void
init_hr_other(void)
{
init_device[HRDEV_COPROC] = Init_HR_CoProc;
next_device[HRDEV_COPROC] = Get_Next_HR_CoProc;
device_descr[HRDEV_COPROC] = describe_coproc;
}
static int done_coProc;
void
Init_HR_CoProc(void)
{
#ifdef solaris2
/*
* Sun didn't sell many Windows Co-processor boards
* somebody who has one will have to figure out how to discover it
* so assume there are none
*/
done_coProc = 1;
#else
done_coProc = 0;
#endif
}
int
Get_Next_HR_CoProc(void)
{
/*
* How to identify the presence of a co-processor ?
*/
if (done_coProc != 1) {
done_coProc = 1;
return (HRDEV_COPROC << HRDEV_TYPE_SHIFT);
} else
return -1;
}
const char *
describe_coproc(int idx)
{
return ("Guessing that there's a floating point co-processor");
}
| [
"duniansampa@outlook.com"
] | duniansampa@outlook.com |
e2a86f0ab8e222d6d40b29109f239b286fe07e4e | 324c5e6fa87055d893b639aa6400e7cea9269791 | /StepsToMakeAnagram.cpp | b409d8978e88e4388b8541d19ad96ef547d2a7a7 | [] | no_license | Saivaishnavichirumamilla/Arrays | fe8349a2e8b8a2c02dcd1964f1962364b85c371d | d0256bfa735d81d4aa3e367880b28d437ff55d6c | refs/heads/main | 2023-04-14T09:19:33.590281 | 2021-05-07T16:20:13 | 2021-05-07T16:20:13 | 360,543,176 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 787 | cpp | /*An Anagram of a string is a string that contains the same characters with a different (or the same) ordering.
Input: s = "bab", t = "aba"
Output: 1
Explanation: Replace the first 'a' in t with b, t = "bba" which is anagram of s.
LOGIC:
use map to store the frequency of characters in a string t.
CODE:
*/
class Solution {
public:
int minSteps(string s, string t) {
int res=0;
unordered_map<char,int>tmp;
for(int i=0;i<t.length();i++)
tmp[t[i]]++;
for(int i=0;i<s.length();i++)
{
if(tmp.find(s[i])!=tmp.end())
tmp[s[i]]--;
else
res++;
if(tmp[s[i]]==0)
tmp.erase(s[i]);
}
return res;
}
};
| [
"noreply@github.com"
] | Saivaishnavichirumamilla.noreply@github.com |
a82aca4ce36554453914c1cf9cf1f5807d01125c | d48a833da418be56e9878379705332881e2abd02 | /practise_contest/vjudge.net/Virtual_Judge_South_America_Regional_2012/D_Different_Digits/D_Different_Digits.cpp | ee086a29fe7b3116428778f51026f1563fb124bc | [] | no_license | convict-git/sport_coding | 21a5fc9e0348e44eafaefe822cb749dfa4f7e53b | ae288a9930fac74ceb63dc8cc7250c854e364056 | refs/heads/master | 2021-07-05T21:35:14.348029 | 2021-01-01T17:53:34 | 2021-01-01T17:53:34 | 215,317,175 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,794 | cpp | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
#pragma GCC optimize ("Ofast")
#pragma GCC optimize ("unroll-loops")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
#define IOS ios_base::sync_with_stdio(false); cin.tie (nullptr)
#define PREC cout.precision (10); cout << fixed
#define x first
#define y second
#define bg(x) " [ " << #x << " : " << (x) << " ] "
#define un(x) sort(x.begin(), x.end()), \
x.erase(unique(x.begin(), x.end()), x.end())
using ll = long long;
using ull = unsigned long long;
using ff = long double;
using pii = pair<int,int>;
using pil = pair<int,ll>;
typedef tree
< int, null_type, less<int>, rb_tree_tag, tree_order_statistics_node_update>
ordered_set;
struct chash {
int operator()(pii x) const { return x.x*31 + x.y; }
};
gp_hash_table <pii, int, chash> mp;
//
// seed_seq seq{
// (uint64_t) chrono::duration_cast<chrono::nanoseconds>
// (chrono::high_resolution_clock::now().time_since_epoch()).count(),
// (uint64_t) __builtin_ia32_rdtsc(),
// (uint64_t) (uintptr_t) make_unique<char>().get()
// };
// mt19937 rng(seq); //uniform_int_distribution<int> (l, h)(rng); //[low, high]
#define debug(args...) { \
/* WARNING : do NOT compile this debug func calls with following flags: // \
* // -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -D_FORTIFY_SOURCE=2*/ \
string _s = #args; replace(_s.begin(), _s.end(), ',', ' ');\
stringstream _ss(_s); \
istream_iterator<string> _it(_ss); err(_it, args); \
}
void err(istream_iterator<string> it) {
it->empty(); cerr << " (Line : " << __LINE__ << ")" << '\n';
}
template<typename T, typename... Args>
void err(istream_iterator<string> it, T a, Args... args) {
cerr << fixed << setprecision(15)
<< " [ " << *it << " : " << a << " ] "<< ' ';
err(++it, args...);
}
/*****************************************************************************/
int to_int(string s) {
int m = 0;
for (char ch : s) {
m = 10*m + (ch - '0');
}
return m;
}
int n, m;
set <int> store;
void preprocess() {
for (int mask = 0; mask < (1 << 10); ++mask) {
if (__builtin_popcount(mask) > 5) continue ;
string s;
for (int i = 0; i < 10; ++i) {
if (mask & (1 << i)) {
s += char(i + '0');
}
}
do {
store.insert(to_int(s));
} while (next_permutation(s.begin(), s.end()));
}
}
signed main() {
IOS; PREC;
preprocess();
while (cin >> n >> m) {
int cnt = 0;
for (int el : store) {
if (el >= n && el <= m) ++cnt;
}
cout << cnt << "\n";
}
return EXIT_SUCCESS;
}
| [
"official.mr.convict@gmail.com"
] | official.mr.convict@gmail.com |
49de038dbd7cd1cac7e37e3409329fcf11147bc0 | 15b92476808245ff311ae1285b56dc68a4c31396 | /ofApp.cpp | c7e6c36e030a2f89c98e9217e7b9b3be8e0fb068 | [] | no_license | junkiyoshi/Insta20190908 | 9165ffe5e22166725521fd44e7f6bae3c2b0a76c | bda00c8f029a0a22742f6f3dcac5364812a9db4d | refs/heads/master | 2020-07-22T05:43:11.243983 | 2019-09-08T09:38:17 | 2019-09-08T09:38:17 | 207,090,769 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,397 | cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup() {
ofSetFrameRate(60);
ofSetWindowTitle("openFrameworks");
ofBackground(239);
ofSetLineWidth(3);
}
//--------------------------------------------------------------
void ofApp::update() {
}
//--------------------------------------------------------------
void ofApp::draw() {
int span = 180;
int len = 150;
for (int x = span * 0.5; x < ofGetWidth(); x += span) {
for (int y = span * 0.5; y < ofGetHeight(); y += span) {
vector<glm::vec2> right, left;
for (auto param = 0; param <= 50; param++) {
auto noise_value = ofNoise(x, y, param * 0.08, ofGetFrameNum() * 0.01);
if (noise_value < 0.65) {
right.push_back(this->make_point(len, param) + glm::vec2(x, y));
left.push_back(this->make_point(len, 100 - param) + glm::vec2(x, y));
}
else {
this->draw_shape(right, left);
}
}
this->draw_shape(right, left);
}
}
}
//--------------------------------------------------------------
glm::vec2 ofApp::make_point(int len, int param) {
param = param % 100;
if (param < 25) {
return glm::vec2(ofMap(param, 0, 25, -len * 0.5, len * 0.5), -len * 0.5);
}
else if (param < 50) {
return glm::vec2(len * 0.5, ofMap(param, 25, 50, -len * 0.5, len * 0.5));
}
else if (param < 75) {
return glm::vec2(ofMap(param, 50, 75, len * 0.5, -len * 0.5), len * 0.5);
}
else {
return glm::vec2(-len * 0.5, ofMap(param, 75, 100, len * 0.5, -len * 0.5));
}
}
//--------------------------------------------------------------
void ofApp::draw_shape(vector<glm::vec2>& param_1, vector<glm::vec2>& param_2) {
if (param_1.size() > 0 && param_2.size() > 0) {
std::reverse(param_2.begin(), param_2.end());
ofColor color;
color.setHsb(((int)(param_1[0].x + param_1[0].y + 255) % 255), 180, 255);
ofFill();
ofSetColor(color, 200);
ofBeginShape();
ofVertices(param_1);
ofVertices(param_2);
ofEndShape(true);
ofNoFill();
ofSetColor(39);
ofBeginShape();
ofVertices(param_1);
ofVertices(param_2);
ofEndShape(true);
param_1.clear();
param_2.clear();
}
}
//--------------------------------------------------------------
int main() {
ofSetupOpenGL(720, 720, OF_WINDOW);
ofRunApp(new ofApp());
} | [
"noreply@github.com"
] | junkiyoshi.noreply@github.com |
9cd1dff2b1ba0f7779be309db2fff326bc98c6dd | bc80875b24285c92bbd3f1cc52a261c02908c583 | /RayTracingWeekend/Camera.cpp | 2e43ccbe374d6f0dc63da41f9e8d41181f143328 | [] | no_license | catemack/RayTracingWeekend | 9ed796f84677b4291e21356512f0ced8d4756a53 | cdb77b9baeadd351958d76fbd73634896485fcc1 | refs/heads/master | 2020-09-22T17:57:40.440872 | 2019-12-06T02:38:59 | 2019-12-06T02:38:59 | 225,292,771 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 863 | cpp | #include "Camera.h"
Camera::Camera(Vec3 lookFrom, Vec3 lookAt, Vec3 up, float vfov, float aspect, float aperture, float focusDist) {
lensRadius = aperture / 2;
float theta = vfov * PI / 180;
float halfHeight = tan(theta / 2);
float halfWidth = aspect * halfHeight;
origin = lookFrom;
w = unitVector(lookFrom - lookAt); // camera back
u = unitVector(cross(up, w)); // camera right
v = cross(w, u); // camera up
lowerLeft = origin - halfWidth * focusDist * u - halfHeight * focusDist * v - focusDist * w;
horizontal = 2 * halfWidth * u;
vertical = 2 * halfHeight * v;
}
Ray Camera::getRay(float s, float t) const {
Vec3 randomOnDisk = lensRadius * randomPointInUnitDisk();
Vec3 offset = u * randomOnDisk.x + v * randomOnDisk.y;
return Ray(origin + offset, lowerLeft + s * horizontal + t * vertical - origin - offset);
}
| [
"cate.c.mackenzie@gmail.com"
] | cate.c.mackenzie@gmail.com |
671bc0d99d7f87badc433d4f632460b416aba20c | 02f6aaf8a127ece7fbd81dff94d695c4667c9e4a | /main.cpp | 580d5e6bc3bdf9fbf4e4945f21b1b0017dbf8c10 | [] | no_license | CodecoolBP20171/cpp-waste-recycling-AndrasKovacs84 | 5eb96220a7c6a04185611588f90db7767af576ac | 121e496d8b6a25682b979e5904b4c100386f030d | refs/heads/master | 2021-07-17T22:05:52.250678 | 2017-10-24T17:54:33 | 2017-10-24T17:54:33 | 107,556,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 135 | cpp | #include <gtest/gtest.h>
int main(int argc, char* argv[]) {
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
} | [
"ka841001@gmail.com"
] | ka841001@gmail.com |
4d7fdba55387dae0867913b24a0843b2b938b6f8 | 627d4d432c86ad98f669214d9966ae2db1600b31 | /unprocessed/tools/designer/src/lib/shared/qdesigner_qsettings.cpp | 990097bf261f6d30e3c281072df92b9937b52cd2 | [] | no_license | fluxer/copperspice | 6dbab905f71843b8a3f52c844b841cef17f71f3f | 07e7d1315d212a4568589b0ab1bd6c29c06d70a1 | refs/heads/cs-1.1 | 2021-01-17T21:21:54.176319 | 2015-08-26T15:25:29 | 2015-08-26T15:25:29 | 39,802,091 | 6 | 0 | null | 2015-07-27T23:04:01 | 2015-07-27T23:04:00 | null | UTF-8 | C++ | false | false | 2,152 | cpp | /***********************************************************************
*
* Copyright (c) 2012-2015 Barbara Geller
* Copyright (c) 2012-2015 Ansel Sermersheim
* Copyright (c) 2012-2014 Digia Plc and/or its subsidiary(-ies).
* Copyright (c) 2008-2012 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
*
* This file is part of CopperSpice.
*
* CopperSpice is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2.1 as published by the Free Software Foundation.
*
* CopperSpice 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 CopperSpice. If not, see
* <http://www.gnu.org/licenses/>.
*
***********************************************************************/
#include "qdesigner_qsettings_p.h"
#include <QtCore/QSettings>
#include <QtCore/QCoreApplication>
#include <QtCore/QTextStream>
#include <QtCore/QString>
#include <QtCore/QDebug>
/*!
\class QDesignerSettingsSimple
\brief Implements QDesignerSettingsInterface by calls to QSettings
*/
QDesignerQSettings::QDesignerQSettings() :
m_settings(qApp->organizationName(), settingsApplicationName())
{
}
QString QDesignerQSettings::settingsApplicationName()
{
return qApp->applicationName();
}
void QDesignerQSettings::beginGroup(const QString &prefix)
{
m_settings.beginGroup(prefix);
}
void QDesignerQSettings::endGroup()
{
m_settings.endGroup();
}
bool QDesignerQSettings::contains(const QString &key) const
{
return m_settings.contains(key);
}
void QDesignerQSettings::setValue(const QString &key, const QVariant &value)
{
m_settings.setValue(key, value);
}
QVariant QDesignerQSettings::value(const QString &key, const QVariant &defaultValue) const
{
return m_settings.value(key, defaultValue);
}
void QDesignerQSettings::remove(const QString &key)
{
m_settings.remove(key);
}
| [
"ansel@copperspice.com"
] | ansel@copperspice.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.