blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d03cd90e49dd06083e6a75fb1eca63860d8bb368 | dcc6234fa754f09bab518f2c430ada8011783f90 | /SqlEngine.cc | b08de7b77443ab4f4d5a7e7978c306005da2906c | [] | no_license | cjsub/cs143_project2 | 2dd92f66aa21efc702827d5ceaa6d98adde9215d | 89ff17ee6b30e2d974511508c0c0842ccfd633ee | refs/heads/master | 2021-01-24T03:48:20.903331 | 2013-02-23T02:08:40 | 2013-02-23T02:08:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,552 | cc | /**
* Copyright (C) 2008 by The Regents of the University of California
* Redistribution of this file is permitted under the terms of the GNU
* Public License (GPL).
*
* @author Junghoo "John" Cho <cho AT cs.ucla.edu>
* @date 3/24/2008
*/
#include <cstdio>
#include <iostream>
#include <fstream>
#include "Bruinbase.h"
#include "SqlEngine.h"
using namespace std;
// external functions and variables for load file and sql command parsing
extern FILE* sqlin;
int sqlparse(void);
RC SqlEngine::run(FILE* commandline)
{
fprintf(stdout, "Bruinbase> ");
// set the command line input and start parsing user input
sqlin = commandline;
sqlparse(); // sqlparse() is defined in SqlParser.tab.c generated from
// SqlParser.y by bison (bison is GNU equivalent of yacc)
return 0;
}
RC SqlEngine::select(int attr, const string& table, const vector<SelCond>& cond)
{
RecordFile rf; // RecordFile containing the table
RecordId rid; // record cursor for table scanning
RC rc;
int key;
string value;
int count;
int diff;
// open the table file
if ((rc = rf.open(table + ".tbl", 'r')) < 0) {
fprintf(stderr, "Error: table %s does not exist\n", table.c_str());
return rc;
}
// scan the table file from the beginning
rid.pid = rid.sid = 0;
count = 0;
while (rid < rf.endRid()) {
// read the tuple
if ((rc = rf.read(rid, key, value)) < 0) {
fprintf(stderr, "Error: while reading a tuple from table %s\n", table.c_str());
goto exit_select;
}
// check the conditions on the tuple
for (unsigned i = 0; i < cond.size(); i++) {
// compute the difference between the tuple value and the condition value
switch (cond[i].attr) {
case 1:
diff = key - atoi(cond[i].value);
break;
case 2:
diff = strcmp(value.c_str(), cond[i].value);
break;
}
// skip the tuple if any condition is not met
switch (cond[i].comp) {
case SelCond::EQ:
if (diff != 0) goto next_tuple;
break;
case SelCond::NE:
if (diff == 0) goto next_tuple;
break;
case SelCond::GT:
if (diff <= 0) goto next_tuple;
break;
case SelCond::LT:
if (diff >= 0) goto next_tuple;
break;
case SelCond::GE:
if (diff < 0) goto next_tuple;
break;
case SelCond::LE:
if (diff > 0) goto next_tuple;
break;
}
}
// the condition is met for the tuple.
// increase matching tuple counter
count++;
// print the tuple
switch (attr) {
case 1: // SELECT key
fprintf(stdout, "%d\n", key);
break;
case 2: // SELECT value
fprintf(stdout, "%s\n", value.c_str());
break;
case 3: // SELECT *
fprintf(stdout, "%d '%s'\n", key, value.c_str());
break;
}
// move to the next tuple
next_tuple:
++rid;
}
// print matching tuple count if "select count(*)"
if (attr == 4) {
fprintf(stdout, "%d\n", count);
}
rc = 0;
// close the table file and return
exit_select:
rf.close();
return rc;
}
RC SqlEngine::load(const string& table, const string& loadfile, bool index)
{
ifstream inputFile;
RecordFile rf;
RecordId rid;
RC rc;
if((rc = rf.open(table + ".tbl", 'w')) < 0) {
fprintf(stderr, "Error while creating table %s\n", table.c_str());
return rc;
}
inputFile.open(loadfile.c_str());
if(!inputFile.is_open()) {
fprintf(stderr, "Error Opening File");
goto exit_select;
}
while (1) {
string line;
int key;
string value;
getline (inputFile, line);
if(!inputFile.good())
break;
parseLoadLine(line, key, value);
if(rf.append(key, value, rid) < 0)
{
fprintf(stderr, "Error appending tuple");
goto exit_select;
}
}
exit_select:
inputFile.close();
rf.close();
return rc;
}
RC SqlEngine::parseLoadLine(const string& line, int& key, string& value)
{
const char *s;
char c;
string::size_type loc;
// ignore beginning white spaces
c = *(s = line.c_str());
while (c == ' ' || c == '\t') { c = *++s; }
// get the integer key value
key = atoi(s);
// look for comma
s = strchr(s, ',');
if (s == NULL) { return RC_INVALID_FILE_FORMAT; }
// ignore white spaces
do { c = *++s; } while (c == ' ' || c == '\t');
// if there is nothing left, set the value to empty string
if (c == 0) {
value.erase();
return 0;
}
// is the value field delimited by ' or "?
if (c == '\'' || c == '"') {
s++;
} else {
c = '\n';
}
// get the value string
value.assign(s);
loc = value.find(c, 0);
if (loc != string::npos) { value.erase(loc); }
return 0;
}
| [
"sehunchoi@gmail.com"
] | sehunchoi@gmail.com |
99cdc2d23710339b1d103c7a8e0ffa64a1a43032 | ead0b1c60e787f319242de5a56d246991d6e5464 | /test/TestApp/GDK/ATGTK/SampleGUI.h | 74ae6b0d97f80f0b393562d33585ca3645af1e11 | [] | no_license | jplafonta/XPlatCSdk | fbc9edcf7dadf88c5e20f26b6deaafa3bb512909 | 302c021dcfd7518959551b33c65499a45d7829de | refs/heads/main | 2023-07-30T04:54:27.901376 | 2021-08-31T14:26:52 | 2021-08-31T14:26:52 | 347,189,117 | 0 | 0 | null | 2021-04-15T01:09:33 | 2021-03-12T20:26:17 | C++ | UTF-8 | C++ | false | false | 36,089 | h | //--------------------------------------------------------------------------------------
// File: SampleGUI.h
//
// A simple set of UI widgets for use in ATG samples
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//-------------------------------------------------------------------------------------
#pragma once
#include "GamePad.h"
#include "Keyboard.h"
#include "Mouse.h"
#if defined(__d3d12_h__) || defined(__d3d12_x_h__) || defined(__XBOX_D3D12_X__)
#include "DescriptorHeap.h"
#include "ResourceUploadBatch.h"
#endif
#include <wchar.h>
#include <algorithm>
#include <functional>
#include <memory>
#include <string>
#include <vector>
#ifndef _CPPRTTI
#error ATG Sample GUI requires RTTI
#endif
namespace ATG
{
class IPanel;
//----------------------------------------------------------------------------------
// A control is an individual UI element
class IControl
{
public:
virtual ~IControl() {}
// Methods
virtual void Render() = 0;
virtual bool Contains(long x, long y) const
{
return (m_screenRect.left <= x) && (x < m_screenRect.right) && (m_screenRect.top <= y) && (y < m_screenRect.bottom);
}
virtual void ComputeLayout(const RECT& parent);
virtual void ComputeLayout(const RECT& bounds, float dx, float dy);
virtual bool CanFocus() const { return false; }
virtual bool DefaultFocus() const { return false; }
virtual void OnFocus(bool in)
{
m_focus = in;
if (in && m_focusCb)
{
m_focusCb(nullptr, this);
}
}
virtual bool OnSelected(IPanel*) { return false; }
virtual bool Update(float /*elapsedTime*/, const DirectX::GamePad::State&) { return false; }
virtual bool Update(float /*elapsedTime*/, const DirectX::Mouse::State&, const DirectX::Keyboard::State&) { return false; }
// Properties
using callback_t = std::function<void(_In_ IPanel*, _In_ IControl*)>;
void SetCallback(_In_opt_ callback_t callback)
{
m_callBack = callback;
}
void SetFocusCb(_In_opt_ callback_t callback)
{
m_focusCb = callback;
}
unsigned GetHotKey() const { return m_hotKey; }
void SetHotKey(unsigned hotkey) { m_hotKey = hotkey; }
void SetId(unsigned id) { m_id = id; }
unsigned GetId() const { return m_id; }
void SetUser(void* user) { m_user = user; }
void* GetUser() const { return m_user; }
void SetParent(IPanel* panel) { m_parent = panel; }
void SetVisible(bool visible = true);
bool IsVisible() const { return m_visible; }
const RECT* GetRectangle() const { return &m_screenRect; }
protected:
IControl(const RECT& rect, unsigned id) :
m_visible(true),
m_focus(false),
m_layoutRect(rect),
m_screenRect(rect),
m_hotKey(0),
m_id(id),
m_user(nullptr),
m_parent(nullptr)
{
}
bool m_visible;
bool m_focus;
RECT m_layoutRect;
RECT m_screenRect;
callback_t m_callBack;
callback_t m_focusCb;
unsigned m_hotKey;
unsigned m_id;
void* m_user;
IPanel* m_parent;
};
// Static text label
class TextLabel : public IControl
{
public:
TextLabel(unsigned id, _In_z_ const wchar_t* text, const RECT& rect, unsigned style = 0);
// Properties
void XM_CALLCONV SetForegroundColor(DirectX::FXMVECTOR color) { DirectX::XMStoreFloat4(&m_fgColor, color); }
void XM_CALLCONV SetBackgroundColor(DirectX::FXMVECTOR color) { DirectX::XMStoreFloat4(&m_bgColor, color); }
static const unsigned c_StyleAlignLeft = 0;
static const unsigned c_StyleAlignCenter = 0x1;
static const unsigned c_StyleAlignRight = 0x2;
static const unsigned c_StyleAlignTop = 0x0;
static const unsigned c_StyleAlignMiddle = 0x4;
static const unsigned c_StyleAlignBottom = 0x8;
static const unsigned c_StyleTransparent = 0x10;
static const unsigned c_StyleWordWrap = 0x20;
static const unsigned c_StyleFontSmall = 0x10000;
static const unsigned c_StyleFontMid = 0;
static const unsigned c_StyleFontLarge = 0x20000;
static const unsigned c_StyleFontBold = 0x40000;
static const unsigned c_StyleFontItalic = 0x80000;
void SetStyle(unsigned style) { m_style = style; }
unsigned GetStyle() const { return m_style; }
void SetText(const wchar_t* text);
const wchar_t* GetText() const { return m_text.c_str(); }
// IControl
void Render() override;
void ComputeLayout(const RECT& parent) override;
void ComputeLayout(const RECT& bounds, float dx, float dy) override;
bool Contains(long, long) const override { return false; }
private:
unsigned m_style;
DirectX::XMFLOAT4 m_fgColor;
DirectX::XMFLOAT4 m_bgColor;
std::wstring m_text;
std::wstring m_wordWrap;
};
// Static image
class Image : public IControl
{
public:
Image(unsigned id, unsigned imageId, const RECT& rect);
void SetImageId(unsigned imageId) { m_imageId = imageId; }
unsigned GetImageId() const { return m_imageId; }
// IControl
void Render() override;
bool Contains(long, long) const override { return false; }
private:
unsigned m_imageId;
};
// Static text label that supports the controller font
class Legend : public IControl
{
public:
Legend(unsigned id, _In_z_ const wchar_t* text, const RECT& rect, unsigned style = 0);
// Properties
void XM_CALLCONV SetForegroundColor(DirectX::FXMVECTOR color) { DirectX::XMStoreFloat4(&m_fgColor, color); }
void XM_CALLCONV SetBackgroundColor(DirectX::FXMVECTOR color) { DirectX::XMStoreFloat4(&m_bgColor, color); }
static const unsigned c_StyleAlignLeft = 0;
static const unsigned c_StyleAlignCenter = 0x1;
static const unsigned c_StyleAlignRight = 0x2;
static const unsigned c_StyleAlignTop = 0x0;
static const unsigned c_StyleAlignMiddle = 0x4;
static const unsigned c_StyleAlignBottom = 0x8;
static const unsigned c_StyleTransparent = 0x10;
static const unsigned c_StyleFontSmall = 0x10000;
static const unsigned c_StyleFontMid = 0;
static const unsigned c_StyleFontLarge = 0x20000;
static const unsigned c_StyleFontBold = 0x40000;
static const unsigned c_StyleFontItalic = 0x80000;
void SetStyle(unsigned style) { m_style = style; }
unsigned GetStyle() const { return m_style; }
void SetText(const wchar_t* text) { m_text = text; }
const wchar_t* GetText() const { return m_text.c_str(); }
// IControl
void Render() override;
bool Contains(long, long) const override { return false; }
private:
unsigned m_style;
DirectX::XMFLOAT4 m_bgColor;
DirectX::XMFLOAT4 m_fgColor;
std::wstring m_text;
};
// Pressable button
class Button : public IControl
{
public:
Button(unsigned id, _In_z_ const wchar_t* text, const RECT& rect);
// Properties
void ShowBorder(bool show = true) { m_showBorder = show; }
void NoFocusColor(bool noFocusColor = true) { m_noFocusColor = noFocusColor; }
void FocusOnText(bool focusOnText = true ) { m_focusOnText = focusOnText; }
void SetEnabled(bool enabled = true) { m_enabled = enabled; }
bool IsEnabled() const { return m_enabled; }
void XM_CALLCONV SetColor(DirectX::FXMVECTOR color) { DirectX::XMStoreFloat4(&m_color, color); }
static const unsigned c_StyleExit = 0x1;
static const unsigned c_StyleDefault = 0x2;
static const unsigned c_StyleTransparent = 0x4;
static const unsigned c_StyleFontSmall = 0x10000;
static const unsigned c_StyleFontMid = 0;
static const unsigned c_StyleFontLarge = 0x20000;
static const unsigned c_StyleFontBold = 0x40000;
static const unsigned c_StyleFontItalic = 0x80000;
void SetStyle(unsigned style) { m_style = style; }
unsigned GetStyle() const { return m_style; }
void SetText(const wchar_t* text) { m_text = text; }
const wchar_t* GetText() const { return m_text.c_str(); }
// IControl
void Render() override;
bool CanFocus() const override { return m_enabled; }
bool DefaultFocus() const override { return (m_style & c_StyleDefault) != 0; }
bool OnSelected(IPanel* panel) override;
private:
bool m_enabled;
bool m_showBorder;
bool m_noFocusColor;
bool m_focusOnText;
unsigned m_style;
std::wstring m_text;
DirectX::XMFLOAT4 m_color;
};
// Pressable image
class ImageButton : public IControl
{
public:
ImageButton(unsigned id, unsigned imageId, const RECT& rect);
// Properties
void SetEnabled(bool enabled = true) { m_enabled = enabled; }
bool IsEnabled() const { return m_enabled; }
static const unsigned c_StyleExit = 0x1;
static const unsigned c_StyleDefault = 0x2;
static const unsigned c_StyleBackground = 0x4;
static const unsigned c_StyleTransparent = 0x8;
void SetStyle(unsigned style) { m_style = style; }
unsigned GetStyle() const { return m_style; }
void SetImageId(unsigned imageId) { m_imageId = imageId; }
unsigned GetImageId() const { return m_imageId; }
// IControl
void Render() override;
bool CanFocus() const override { return m_enabled; }
bool DefaultFocus() const override { return (m_style & c_StyleDefault) != 0; }
bool OnSelected(IPanel* panel) override;
private:
bool m_enabled;
unsigned m_style;
unsigned m_imageId;
};
// Two-state check box
class CheckBox : public IControl
{
public:
CheckBox(unsigned id, _In_z_ const wchar_t* text, const RECT& rect, bool checked = false);
// Properties
void SetEnabled(bool enabled = true) { m_enabled = enabled; }
bool IsEnabled() const { return m_enabled; }
void SetChecked(bool checked = true) { m_checked = checked; }
bool IsChecked() const { return m_checked; }
static const unsigned c_StyleTransparent = 0x1;
static const unsigned c_StyleFontSmall = 0x10000;
static const unsigned c_StyleFontMid = 0;
static const unsigned c_StyleFontLarge = 0x20000;
static const unsigned c_StyleFontBold = 0x40000;
static const unsigned c_StyleFontItalic = 0x80000;
void SetStyle(unsigned style) { m_style = style; }
unsigned GetStyle() const { return m_style; }
void SetText(const wchar_t* text) { m_text = text; }
const wchar_t* GetText() const { return m_text.c_str(); }
// IControl
void Render() override;
bool CanFocus() const override { return m_enabled; }
bool OnSelected(IPanel* panel) override;
private:
bool m_enabled;
bool m_checked;
unsigned m_style;
std::wstring m_text;
};
// Slider
class Slider : public IControl
{
public:
Slider(unsigned id, const RECT& rect, int value = 50, int minValue = 0, int maxValue = 100);
// Properties
void SetEnabled(bool enabled = true) { m_enabled = enabled; if (!enabled) m_dragging = false; }
bool IsEnabled() const { return m_enabled; }
static const unsigned c_StyleTransparent = 0x1;
void SetStyle(unsigned style) { m_style = style; }
unsigned GetStyle() const { return m_style; }
void SetValue(int value);
int GetValue() const { return m_value; }
void SetRange(int minValue, int maxValue);
void GetRange(int& minValue, int& maxValue) const { minValue = m_minValue; maxValue = m_maxValue; }
// IControl
void Render() override;
bool CanFocus() const override { return m_enabled; }
void OnFocus(bool in) override;
bool Update(float elapsedTime, const DirectX::GamePad::State& pad) override;
bool Update(float elapsedTime, const DirectX::Mouse::State& mstate, const DirectX::Keyboard::State& kbstate) override;
private:
bool m_enabled;
bool m_dragging;
unsigned m_style;
int m_value;
int m_minValue;
int m_maxValue;
RECT m_thumbRect;
};
// Progress bar that goes from 0.0 to 1.0
class ProgressBar : public IControl
{
public:
ProgressBar(unsigned id, const RECT& rect, bool visible = false, float start = 0.f);
~ProgressBar();
// Properties
void SetProgress(float progress) { m_progress = std::min( std::max(progress, 0.f), 1.f); }
float GetProgress() const { return m_progress; }
void ShowPercentage(bool show = true) { m_showPct = show; }
// IControl
void Render() override;
private:
float m_progress;
bool m_showPct;
};
// TextList
class TextList : public IControl
{
public:
TextList(unsigned id, const RECT& rect, unsigned style = 0, int itemHeight = 0);
~TextList();
// Items
struct Item
{
std::wstring text;
DirectX::XMFLOAT4 color;
};
void XM_CALLCONV AddItem(_In_z_ const wchar_t* text, DirectX::FXMVECTOR color = DirectX::Colors::White);
void XM_CALLCONV InsertItem(int index, _In_z_ const wchar_t* text, DirectX::FXMVECTOR color = DirectX::Colors::White);
void RemoveItem(int index);
void RemoveAllItems();
// IControl
void Render() override;
bool CanFocus() const override { return false; }
bool Update(float elapsedTime, const DirectX::GamePad::State& pad) override;
bool Update(float elapsedTime, const DirectX::Mouse::State& mstate, const DirectX::Keyboard::State& kbstate) override;
private:
int m_itemHeight;
unsigned m_style;
int m_topItem;
RECT m_itemRect;
int m_lastHeight;
std::vector<Item> m_items;
};
// List box
class ListBox : public IControl
{
public:
ListBox(unsigned id, const RECT& rect, unsigned style = 0, int itemHeight = 0);
~ListBox();
// Items
struct Item
{
std::wstring text;
void* user;
bool selected;
Item() : user(nullptr), selected(false) {}
// TODO - add optional image
};
void AddItem(_In_z_ const wchar_t* text, _In_opt_ void *user = nullptr);
void InsertItem(int index, _In_z_ const wchar_t* text, _In_opt_ void *user = nullptr);
void RemoveItem(int index);
void RemoveAllItems();
int GetSelectedItem() const;
std::vector<int> GetSelectedItems() const;
void ClearSelection();
void SelectItem(int index);
const Item* GetItem(int index) const { return &m_items[size_t(index)]; }
Item* GetItem(int index) { return &m_items[size_t(index)]; }
// Properties
void SetEnabled(bool enabled = true) { m_enabled = enabled; }
bool IsEnabled() const { return m_enabled; }
static const unsigned c_StyleMultiSelection = 0x1;
static const unsigned c_StyleTransparent = 0x2;
static const unsigned c_StyleScrollBar = 0x4;
static const unsigned c_StyleFontSmall = 0x10000;
static const unsigned c_StyleFontMid = 0;
static const unsigned c_StyleFontLarge = 0x20000;
static const unsigned c_StyleFontBold = 0x40000;
static const unsigned c_StyleFontItalic = 0x80000;
void SetStyle(unsigned style) { m_style = style; }
unsigned GetStyle() const { return m_style; }
// IControl
void Render() override;
bool CanFocus() const override { return m_enabled; }
bool Update(float elapsedTime, const DirectX::GamePad::State& pad) override;
bool Update(float elapsedTime, const DirectX::Mouse::State& mstate, const DirectX::Keyboard::State& kbstate) override;
private:
bool m_enabled;
int m_itemHeight;
unsigned m_style;
int m_topItem;
int m_focusItem;
RECT m_itemRect;
RECT m_scrollRect;
RECT m_trackRect;
RECT m_thumbRect;
int m_lastHeight;
std::vector<Item> m_items;
void UpdateRects();
};
// Text box
class TextBox : public IControl
{
public:
TextBox(unsigned id, _In_z_ const wchar_t* text, const RECT& rect, unsigned style = 0);
~TextBox();
// Properties
void XM_CALLCONV SetForegroundColor(DirectX::FXMVECTOR color) { DirectX::XMStoreFloat4(&m_color, color); }
static const unsigned c_StyleTransparent = 0x1;
static const unsigned c_StyleScrollBar = 0x2;
static const unsigned c_StyleNoBackground = 0x4;
static const unsigned c_StyleFontSmall = 0x10000;
static const unsigned c_StyleFontMid = 0;
static const unsigned c_StyleFontLarge = 0x20000;
static const unsigned c_StyleFontBold = 0x40000;
static const unsigned c_StyleFontItalic = 0x80000;
void SetStyle(unsigned style) { m_style = style; }
unsigned GetStyle() const { return m_style; }
void SetText(const wchar_t* text);
const wchar_t* GetText() const { return m_text.c_str(); }
// IControl
void Render() override;
void ComputeLayout(const RECT& parent) override;
void ComputeLayout(const RECT& bounds, float dx, float dy) override;
bool CanFocus() const override { return true; }
bool Update(float elapsedTime, const DirectX::GamePad::State& pad) override;
bool Update(float elapsedTime, const DirectX::Mouse::State& mstate, const DirectX::Keyboard::State& kbstate) override;
private:
unsigned m_style;
int m_topLine;
RECT m_itemRect;
RECT m_scrollRect;
RECT m_trackRect;
RECT m_thumbRect;
int m_lastHeight;
DirectX::XMFLOAT4 m_color;
std::wstring m_text;
std::wstring m_wordWrap;
std::vector<size_t> m_wordWrapLines;
int m_lastWheelValue;
void UpdateRects();
};
//----------------------------------------------------------------------------------
// A panel is a container for UI controls
class IPanel
{
public:
virtual ~IPanel() {}
// Methods
virtual void Show() = 0;
virtual void Render() = 0;
virtual bool Update(float elapsedTime, const DirectX::GamePad::State& pad) = 0;
virtual bool Update(float elapsedTime, const DirectX::Mouse::State& mstate, const DirectX::Keyboard::State& kbstate) = 0;
virtual void Update(float /*elapsedTime*/) { };
virtual void Close() = 0;
virtual void Cancel() {}
virtual void Add(_In_ IControl* ctrl) = 0;
virtual IControl* Find(unsigned id) = 0;
virtual void SetFocus(_In_ IControl*) {}
virtual void OnWindowSize(const RECT& layout) = 0;
// Properties
using callback_t = std::function<void(_In_ IPanel*, unsigned)>;
void SetCallback(_In_opt_ callback_t callback)
{
m_callBack = callback;
}
void SetUser(void* user) { m_user = user; }
void* GetUser() const { return m_user; }
bool IsVisible() const { return m_visible; }
protected:
IPanel(const RECT& rect) :
m_visible(false),
m_layoutRect(rect),
m_screenRect(rect),
m_user(nullptr)
{
}
bool m_visible;
RECT m_layoutRect;
RECT m_screenRect;
callback_t m_callBack;
void* m_user;
};
// Style flags for Popup and Overlay
const unsigned int c_styleCustomPanel = 1; // Use this if you want a custom panel where you add controls programatically
const unsigned int c_stylePopupEmphasis = 2; // Fades out other UI elements when rendering the popup in order to give it emphasis
const unsigned int c_styleSuppressCancel = 4; // Suppress the default cancel behavior that would normally occur when 'B' is pressed
class Popup : public IPanel
{
public:
Popup(const RECT& rect, unsigned int styleFlags = 0);
~Popup();
// IPanel
void Show() override;
void Render() override;
bool Update(float elapsedTime, const DirectX::GamePad::State& pad) override;
bool Update(float elapsedTime, const DirectX::Mouse::State& mstate, const DirectX::Keyboard::State& kbstate) override;
void Update(float) override {}
void Close() override;
void Cancel() override;
void Add(_In_ IControl* ctrl) override;
IControl* Find(unsigned id) override;
void SetFocus(_In_ IControl* ctrl) override;
void OnWindowSize(const RECT& layout) override;
private:
bool m_select;
bool m_cancel;
bool m_suppressCancel;
bool m_emphasis;
const bool m_custom;
IControl* m_focusControl;
std::vector<IControl*> m_controls;
};
class HUD : public IPanel
{
public:
HUD(const RECT& rect);
~HUD();
// IPanel
void Show() override;
void Render() override;
bool Update(float, const DirectX::GamePad::State&) override { return false; }
bool Update(float, const DirectX::Mouse::State&, const DirectX::Keyboard::State&) override { return false; }
void Update(float) override {}
void Close() override;
void Add(_In_ IControl* ctrl) override;
IControl* Find(unsigned id) override;
void OnWindowSize(const RECT& layout) override;
private:
std::vector<IControl*> m_controls;
};
class Overlay : public IPanel
{
public:
Overlay(const RECT& rect, unsigned int styleFlags = 0);
~Overlay();
// IPanel
void Show() override;
void Render() override;
bool Update(float elapsedTime, const DirectX::GamePad::State& pad) override;
bool Update(float elapsedTime, const DirectX::Mouse::State& mstate, const DirectX::Keyboard::State& kbstate) override;
void Update(float) override {}
void Close() override;
void Cancel() override;
void Add(_In_ IControl* ctrl) override;
IControl* Find(unsigned id) override;
void SetFocus(_In_ IControl* ctrl) override;
void OnWindowSize(const RECT& layout) override;
private:
bool m_select;
bool m_cancel;
bool m_suppressCancel;
const bool m_custom;
IControl* m_focusControl;
std::vector<IControl*> m_controls;
};
//----------------------------------------------------------------------------------
struct UIConfig
{
bool forceSRGB;
bool pmAlpha;
wchar_t largeFontName[MAX_PATH];
wchar_t largeItalicFontName[MAX_PATH];
wchar_t largeBoldFontName[MAX_PATH];
wchar_t midFontName[MAX_PATH];
wchar_t midItalicFontName[MAX_PATH];
wchar_t midBoldFontName[MAX_PATH];
wchar_t smallFontName[MAX_PATH];
wchar_t smallItalicFontName[MAX_PATH];
wchar_t smallBoldFontName[MAX_PATH];
wchar_t largeLegendName[MAX_PATH];
wchar_t smallLegendName[MAX_PATH];
DirectX::XMFLOAT4 colorNormal;
DirectX::XMFLOAT4 colorDisabled;
DirectX::XMFLOAT4 colorHighlight;
DirectX::XMFLOAT4 colorSelected;
DirectX::XMFLOAT4 colorFocus;
DirectX::XMFLOAT4 colorBackground;
DirectX::XMFLOAT4 colorTransparent;
DirectX::XMFLOAT4 colorProgress;
enum COLORS
{
RED,
GREEN,
BLUE,
ORANGE,
YELLOW,
DARK_GREY,
MID_GREY,
LIGHT_GREY,
OFF_WHITE,
WHITE,
BLACK,
MAX_COLORS,
};
DirectX::XMFLOAT4 colorDictionary[MAX_COLORS];
UIConfig(bool linear = false, bool pmalpha = true) :
forceSRGB(linear),
pmAlpha(pmalpha)
{
using DirectX::XMFLOAT4;
wcscpy_s(largeFontName, L"SegoeUI_36.spritefont");
wcscpy_s(largeItalicFontName, L"SegoeUI_36_Italic.spritefont");
wcscpy_s(largeBoldFontName, L"SegoeUI_36_Bold.spritefont");
wcscpy_s(midFontName, L"SegoeUI_22.spritefont");
wcscpy_s(midItalicFontName, L"SegoeUI_22_Italic.spritefont");
wcscpy_s(midBoldFontName, L"SegoeUI_22_Bold.spritefont");
wcscpy_s(smallFontName, L"SegoeUI_18.spritefont");
wcscpy_s(smallItalicFontName, L"SegoeUI_18_Italic.spritefont");
wcscpy_s(smallBoldFontName, L"SegoeUI_18_Bold.spritefont");
wcscpy_s(largeLegendName, L"XboxOneControllerLegend.spritefont");
wcscpy_s(smallLegendName, L"XboxOneControllerLegendSmall.spritefont");
if (linear)
{
colorNormal = XMFLOAT4(0.361306787f, 0.361306787f, 0.361306787f, 1.f); // OffWhite
colorDisabled = XMFLOAT4(0.194617808f, 0.194617808f, 0.194617808f, 1.f); // LightGrey
colorHighlight = XMFLOAT4(0.545724571f, 0.026241219f, 0.001517635f, 1.f); // Orange
colorSelected = XMFLOAT4(0.955973506f, 0.955973506f, 0.955973506f, 1.f); // White
colorFocus = XMFLOAT4(0.005181516f, 0.201556236f, 0.005181516f, 1.f); // Green
colorBackground = XMFLOAT4(0.f, 0.f, 0.f, 1.f); // Black
colorTransparent = XMFLOAT4(0.033105f, 0.033105f, 0.033105f, 0.5f);
colorProgress = XMFLOAT4(0.5f, 0.5f, 0.5f, 1.f); // MidGrey
colorDictionary[RED] = XMFLOAT4(1.f, 0.f, 0.f, 1.f);
colorDictionary[GREEN] = XMFLOAT4(0.005181516f, 0.201556236f, 0.005181516f, 1.f);
colorDictionary[BLUE] = XMFLOAT4(0.001517635f, 0.114435382f, 0.610495627f, 1.f);
colorDictionary[ORANGE] = XMFLOAT4(0.545724571f, 0.026241219f, 0.001517635f, 1.f);
colorDictionary[YELLOW] = XMFLOAT4(1.f, 1.f, 0.f, 1.f);
colorDictionary[DARK_GREY] = XMFLOAT4(0.033104762f, 0.033104762f, 0.033104762f, 1.f);
colorDictionary[MID_GREY] = XMFLOAT4(0.113861285f, 0.113861285f, 0.113861285f, 1.f);
colorDictionary[LIGHT_GREY] = XMFLOAT4(0.194617808f, 0.194617808f, 0.194617808f, 1.f);
colorDictionary[OFF_WHITE] = XMFLOAT4(0.361306787f, 0.361306787f, 0.361306787f, 1.f);
colorDictionary[WHITE] = XMFLOAT4(0.955973506f, 0.955973506f, 0.955973506f, 1.f);
colorDictionary[BLACK] = XMFLOAT4(0.f, 0.f, 0.f, 1.f);
}
else
{
colorNormal = XMFLOAT4(0.635294139f, 0.635294139f, 0.635294139f, 1.f); // OffWhite
colorDisabled = XMFLOAT4(0.478431374f, 0.478431374f, 0.478431374f, 1.f); // LightGrey
colorHighlight = XMFLOAT4(0.764705896f, 0.176470593f, 0.019607844f, 1.f); // Orange
colorSelected = XMFLOAT4(0.980392158f, 0.980392158f, 0.980392158f, 1.f); // White
colorFocus = XMFLOAT4(0.062745102f, 0.486274511f, 0.062745102f, 1.f); // Green
colorBackground = XMFLOAT4(0.f, 0.f, 0.f, 1.f); // Black
colorTransparent = XMFLOAT4(0.2f, 0.2f, 0.2f, 0.5f);
colorProgress = XMFLOAT4(0.5f, 0.5f, 0.5f, 1.f); // MidGrey
colorDictionary[RED] = XMFLOAT4(1.f, 0.f, 0.f, 1.f);
colorDictionary[GREEN] = XMFLOAT4(0.062745102f, 0.486274511f, 0.062745102f, 1.f);
colorDictionary[BLUE] = XMFLOAT4(0.019607844f, 0.372549027f, 0.803921580f, 1.f);
colorDictionary[ORANGE] = XMFLOAT4(0.764705896f, 0.176470593f, 0.019607844f, 1.f);
colorDictionary[YELLOW] = XMFLOAT4(1.f, 1.f, 0.f, 1.f);
colorDictionary[DARK_GREY] = XMFLOAT4(0.200000003f, 0.200000003f, 0.200000003f, 1.f);
colorDictionary[MID_GREY] = XMFLOAT4(0.371653974f, 0.371653974f, 0.371653974f, 1.f);
colorDictionary[LIGHT_GREY] = XMFLOAT4(0.478431374f, 0.478431374f, 0.478431374f, 1.f);
colorDictionary[OFF_WHITE] = XMFLOAT4(0.635294139f, 0.635294139f, 0.635294139f, 1.f);
colorDictionary[WHITE] = XMFLOAT4(0.980392158f, 0.980392158f, 0.980392158f, 1.f);
colorDictionary[BLACK] = XMFLOAT4(0.f, 0.f, 0.f, 1.f);
}
}
};
class UIManager
{
public:
UIManager(const UIConfig& config);
#if defined(__d3d12_h__) || defined(__d3d12_x_h__) || defined(__XBOX_D3D12_X__)
UIManager(_In_ ID3D12Device *device,
const DirectX::RenderTargetState& renderTarget,
DirectX::ResourceUploadBatch& resourceUpload,
DirectX::DescriptorPile& pile,
const UIConfig& config);
#elif defined(__d3d11_h__) || defined(__d3d11_x_h__)
UIManager(_In_ ID3D11DeviceContext* context, const UIConfig& config);
#else
# error Please #include <d3d11.h> or <d3d12.h>
#endif
UIManager(UIManager&& moveFrom);
UIManager& operator= (UIManager&& moveFrom);
UIManager(UIManager const&) = delete;
UIManager& operator=(UIManager const&) = delete;
virtual ~UIManager();
// Load UI layout from disk
void LoadLayout(const wchar_t* layoutFile, const wchar_t* imageDir = nullptr, unsigned offset = 0);
// Add a panel (takes ownership)
void Add(unsigned id, _In_ IPanel* panel);
// Find a panel
IPanel* Find(unsigned id) const;
template<class T>
T* FindPanel(unsigned id) const
{
auto panel = dynamic_cast<T*>(Find(id));
if (panel)
{
return panel;
}
throw std::exception("Find (panel)");
}
// Find a control
template<class T>
T* FindControl(unsigned panelId, unsigned ctrlId) const
{
auto panel = Find(panelId);
if (panel)
{
auto ctrl = dynamic_cast<T*>(panel->Find(ctrlId));
if (ctrl)
return ctrl;
}
throw std::exception("Find (control)");
}
// Close all visible panels
void CloseAll();
// Process user input for gamepad controls
bool Update(float elapsedTime, const DirectX::GamePad::State& pad);
// Process user input for keyboard & mouse controls
bool Update(float elapsedTime, DirectX::Mouse& mouse, DirectX::Keyboard& kb);
// Render the visible UI panels
#if defined(__d3d12_h__) || defined(__d3d12_x_h__) || defined(__XBOX_D3D12_X__)
void Render(_In_ ID3D12GraphicsCommandList* commandList);
#elif defined(__d3d11_h__) || defined(__d3d11_x_h__)
void Render();
#endif
// Set the screen viewport
void SetWindow(const RECT& layout);
// Set view rotation
void SetRotation(DXGI_MODE_ROTATION rotation);
// Texture registry for images (used by controls)
static const unsigned c_LayoutImageIdStart = 0x10000;
#if defined(__d3d12_h__) || defined(__d3d12_x_h__) || defined(__XBOX_D3D12_X__)
void RegisterImage(unsigned id, D3D12_GPU_DESCRIPTOR_HANDLE tex, DirectX::XMUINT2 texSize);
#elif defined(__d3d11_h__) || defined(__d3d11_x_h__)
void RegisterImage(unsigned id, _In_ ID3D11ShaderResourceView* tex);
#endif
void UnregisterImage(unsigned id);
void UnregisterAllImages();
// Direct3D device management
void ReleaseDevice();
#if defined(__d3d12_h__) || defined(__d3d12_x_h__) || defined(__XBOX_D3D12_X__)
void RestoreDevice(_In_ ID3D12Device* device,
const DirectX::RenderTargetState& renderTarget,
DirectX::ResourceUploadBatch& resourceUpload,
DirectX::DescriptorPile& pile);
#elif defined(__d3d11_h__) || defined(__d3d11_x_h__)
void RestoreDevice(_In_ ID3D11DeviceContext* context);
#endif
// Reset UI state (such as coming back from suspend)
void Reset();
// Release all objects
void Clear();
// Enumerators
void Enumerate(std::function<void(unsigned id, IPanel*)> enumCallback);
// Common callback adapters
void CallbackYesNoCancel(_In_ IPanel* panel, std::function<void(bool, bool)> yesnocallback);
private:
// Private implementation.
class Impl;
std::unique_ptr<Impl> pImpl;
friend class IControl;
friend class TextLabel;
friend class Image;
friend class Legend;
friend class Button;
friend class ImageButton;
friend class CheckBox;
friend class Slider;
friend class ProgressBar;
friend class ListBox;
friend class TextBox;
friend class TextList;
friend class Popup;
friend class HUD;
friend class Overlay;
};
}
| [
"jlafonta0550@gmail.com"
] | jlafonta0550@gmail.com |
aa9edb21b8037e19d421980cc5b8f0f5606f16af | 787bde65fe076cca1f985390f3d4e87ddf58964f | /Batch Runs/7 BR/4.00/MyDirection.cpp | cc0a0df15f8f88844a0f8ccfa4e1cba8be9a56ae | [] | no_license | VajiraK/Marc | 8630b1c4f579bccb088a2e3a1e79f2b56e886bdb | 33d6ac18c0c9a85feb3d377b12b2012d26979c51 | refs/heads/main | 2023-01-12T17:17:13.029472 | 2020-11-15T14:49:24 | 2020-11-15T14:49:24 | 313,052,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,892 | cpp | // MyDirection.cpp: implementation of the CMyDirection class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "MyDirection.h"
CMyDirection::~CMyDirection(){}
//----------------------------------------------------------------------------------------
CMyDirection::CMyDirection()
{
m_facing = FACE_DOWN;
}
//----------------------------------------------------------------------------------------
void CMyDirection::SetFacing(Angle a)
{
switch (a)
{
case DEGREES_90:
switch (m_facing)
{
case FACE_UP:
m_facing = FACE_RIGHT;
break;
case FACE_DOWN:
m_facing = FACE_LEFT;
break;
case FACE_LEFT:
m_facing = FACE_UP;
break;
case FACE_RIGHT:
m_facing = FACE_DOWN;
break;
}
break;
case DEGREES_180:
switch (m_facing)
{
case FACE_UP:
m_facing = FACE_DOWN;
break;
case FACE_DOWN:
m_facing = FACE_UP;
break;
case FACE_LEFT:
m_facing = FACE_RIGHT;
break;
case FACE_RIGHT:
m_facing = FACE_LEFT;
break;
}
break;
case DEGREES_MINUS_90:
switch (m_facing)
{
case FACE_UP:
m_facing = FACE_LEFT;
break;
case FACE_DOWN:
m_facing = FACE_RIGHT;
break;
case FACE_LEFT:
m_facing = FACE_DOWN;
break;
case FACE_RIGHT:
m_facing = FACE_UP;
break;
}
break;
}
}
//----------------------------------------------------------------------------------------
BYTE CMyDirection::GetNextDirection(BYTE d)
{
switch (d)
{
case FACE_DOWN:
return FACE_LEFT;
break;
case FACE_LEFT:
return FACE_UP;
break;
case FACE_RIGHT:
return FACE_DOWN;
break;
case FACE_UP:
return FACE_RIGHT;
break;
}
return 0;
}
//----------------------------------------------------------------------------------------
void CMyDirection::SetDirection(CRobot &robot,BYTE d)
{
switch (d)
{
case FACE_UP:
switch (m_facing)
{
case FACE_DOWN:
DoTurn(robot,DEGREES_180);
break;
case FACE_LEFT:
DoTurn(robot,DEGREES_90);
break;
case FACE_RIGHT:
DoTurn(robot,DEGREES_MINUS_90);
break;
}
m_facing = FACE_UP;
break;
case FACE_DOWN:
switch (m_facing)
{
case FACE_UP:
DoTurn(robot,DEGREES_180);
break;
case FACE_LEFT:
DoTurn(robot,DEGREES_MINUS_90);
break;
case FACE_RIGHT:
DoTurn(robot,DEGREES_90);
break;
}
m_facing = FACE_DOWN;
break;
case FACE_LEFT:
switch (m_facing)
{
case FACE_UP:
DoTurn(robot,DEGREES_MINUS_90);
break;
case FACE_DOWN:
DoTurn(robot,DEGREES_90);
break;
case FACE_RIGHT:
DoTurn(robot,DEGREES_180);
break;
}
m_facing = FACE_LEFT;
break;
case FACE_RIGHT:
switch (m_facing)
{
case FACE_UP:
DoTurn(robot,DEGREES_90);
break;
case FACE_DOWN:
DoTurn(robot,DEGREES_MINUS_90);
break;
case FACE_LEFT:
DoTurn(robot,DEGREES_180);
break;
}
m_facing = FACE_RIGHT;
break;
}
} | [
"vajira.kulatunga@pearson.com"
] | vajira.kulatunga@pearson.com |
f7065d246c1eff486d04c4d4d275e7016919ddc6 | 9247d93d625768940e0a28b418879014286861e5 | /algorithm_winterstudy/27_백준10844_(틀림)쉬운계단수_120119.cpp | f1a324db076865c7d0ca80cf7aac099c7d6fab7c | [] | no_license | inhoinno/BOSSMONSTER | 5cf15fe2b0943ff709de1b42c657c5cebcff7ffb | 699db45efe1c75ba1e448b3e774bd5092018b2fc | refs/heads/master | 2020-12-31T23:36:49.368242 | 2020-02-24T05:23:12 | 2020-02-24T05:23:12 | 239,078,563 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 903 | cpp | #include <iostream>
#include <cstdio>
using namespace std;
int D_Stair(int n){
int d[101];
d[0] = 0;
d[1] = 9;
if(d[n]>0) return d[n];
else{
d[n] = D_Stair(n-1)*2 -1;
return d[n];
}
};
int main (){
int N;
scanf_s("%d", &N);
if(N>=1 && N<=100) printf("%d", D_Stair(N));
else printf("오류\n");
return 0;
} | [
"56788537+inhoinno@users.noreply.github.com"
] | 56788537+inhoinno@users.noreply.github.com |
3f8363e10dfa330b21fa9d0ad32970c7c97e28c3 | af0e1b9507d4ade87c312b0cc0bf1bf167fa83a0 | /3d_reconstruction/refinement.h | 85c1a59a78af32a8cc60e9413a9ece115ba3964c | [] | no_license | kolina/diploma | 07f560b24ae63e4449c5658f69b958f64ce93c94 | bc161e642d2db20be0162afd974f3328b16293bc | refs/heads/master | 2021-01-11T08:03:53.526604 | 2016-11-05T09:37:41 | 2016-11-05T09:37:41 | 72,917,046 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,454 | h | #ifndef INC_3D_RECONSTRUCTION_REFINEMENT_H
#define INC_3D_RECONSTRUCTION_REFINEMENT_H
#include "optimization.h"
struct AbsolutePoseEstimationOptions {
bool estimate_focal_length = false;
size_t num_focal_length_samples = 30;
double min_focal_length_ratio = 0.2;
double max_focal_length_ratio = 5;
int num_threads = ThreadPool::kMaxNumThreads;
RANSACOptions ransac_options;
void Check() const {
ransac_options.Check();
}
};
struct AbsolutePoseRefinementOptions {
double gradient_tolerance = 1.0;
int max_num_iterations = 100;
double loss_function_scale = 1.0;
bool refine_focal_length = true;
bool refine_extra_params = true;
bool print_summary = true;
void Check() const {
}
};
bool EstimateAbsolutePose(const AbsolutePoseEstimationOptions& options,
const std::vector<Eigen::Vector2d>& points2D,
const std::vector<Eigen::Vector3d>& points3D,
Eigen::Vector4d* qvec, Eigen::Vector3d* tvec,
Camera* camera, size_t* num_inliers,
std::vector<bool>* inlier_mask);
size_t EstimateRelativePose(const RANSACOptions& ransac_options,
const std::vector<Eigen::Vector2d>& points1,
const std::vector<Eigen::Vector2d>& points2,
Eigen::Vector4d* qvec, Eigen::Vector3d* tvec);
bool RefineAbsolutePose(const AbsolutePoseRefinementOptions& options,
const std::vector<bool>& inlier_mask,
const std::vector<Eigen::Vector2d>& points2D,
const std::vector<Eigen::Vector3d>& points3D,
Eigen::Vector4d* qvec, Eigen::Vector3d* tvec,
Camera* camera);
bool RefineRelativePose(const ceres::Solver::Options& options,
const std::vector<Eigen::Vector2d>& points1,
const std::vector<Eigen::Vector2d>& points2,
Eigen::Vector4d* qvec, Eigen::Vector3d* tvec);
bool RefineEssentialMatrix(const ceres::Solver::Options& options,
const std::vector<Eigen::Vector2d>& points1,
const std::vector<Eigen::Vector2d>& points2,
const std::vector<bool>& inlier_mask,
Eigen::Matrix3d* E);
#endif //INC_3D_RECONSTRUCTION_REFINEMENT_H
| [
"kolina93@yandex-team.ru"
] | kolina93@yandex-team.ru |
db0b032dced7dae81036ab31c0c51040887fb123 | c2621eab966ec23d2293d0fb8e00087d9b86003e | /components/cpp_utils/FreeRTOS.cpp | 7b2be5d024f1be673362fba77cf57e97bbafdcc0 | [] | no_license | NguyenPham0106/esp32-snippets-enchancements-test | e976042d0c41bbb21ba8d1b43d350d95a8043203 | 9f1715b01a7b7c30e3efce893fc1a380eb23dede | refs/heads/master | 2023-04-08T07:34:43.579773 | 2018-10-06T16:00:03 | 2018-10-06T16:00:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,531 | cpp | /*
* FreeRTOS.cpp
*
* Created on: Feb 24, 2017
* Author: kolban
*/
#include <freertos/FreeRTOS.h> // Include the base FreeRTOS definitions
#include <freertos/task.h> // Include the task definitions
#include <freertos/semphr.h> // Include the semaphore definitions
#include <string>
#include <sstream>
#include <iomanip>
#include "FreeRTOS.h"
#include <esp_log.h>
#include "sdkconfig.h"
static const char* LOG_TAG = "FreeRTOS";
/**
* Sleep for the specified number of milliseconds.
* @param[in] ms The period in milliseconds for which to sleep.
*/
void FreeRTOS::sleep(uint32_t ms) {
::vTaskDelay(ms/portTICK_PERIOD_MS);
} // sleep
/**
* Start a new task.
* @param[in] task The function pointer to the function to be run in the task.
* @param[in] taskName A string identifier for the task.
* @param[in] param An optional parameter to be passed to the started task.
* @param[in] stackSize An optional paremeter supplying the size of the stack in which to run the task.
*/
void FreeRTOS::startTask(void task(void*), std::string taskName, void *param, int stackSize) {
::xTaskCreate(task, taskName.data(), stackSize, param, 5, NULL);
} // startTask
/**
* Delete the task.
* @param[in] pTask An optional handle to the task to be deleted. If not supplied the calling task will be deleted.
*/
void FreeRTOS::deleteTask(TaskHandle_t pTask) {
::vTaskDelete(pTask);
} // deleteTask
/**
* Get the time in milliseconds since the %FreeRTOS scheduler started.
* @return The time in milliseconds since the %FreeRTOS scheduler started.
*/
uint32_t FreeRTOS::getTimeSinceStart() {
return (uint32_t)(xTaskGetTickCount()*portTICK_PERIOD_MS);
} // getTimeSinceStart
/*
* public:
Semaphore(std::string = "<Unknown>");
~Semaphore();
void give();
void take(std::string owner="<Unknown>");
void take(uint32_t timeoutMs, std::string owner="<Unknown>");
private:
SemaphoreHandle_t m_semaphore;
std::string m_name;
std::string m_owner;
};
*
*/
/**
* @brief Wait for a semaphore to be released by trying to take it and
* then releasing it again.
* @param [in] owner A debug tag.
* @return The value associated with the semaphore.
*/
uint32_t FreeRTOS::Semaphore::wait(std::string owner) {
ESP_LOGV(LOG_TAG, ">> wait: Semaphore waiting: %s for %s", toString().c_str(), owner.c_str());
bool rc = false;
if (m_usePthreads) {
pthread_mutex_lock(&m_pthread_mutex);
} else {
rc = take(portMAX_DELAY, owner);
}
m_owner = owner;
if (m_usePthreads) {
pthread_mutex_unlock(&m_pthread_mutex);
} else {
if (rc) xSemaphoreGive(m_semaphore);
}
ESP_LOGV(LOG_TAG, "<< wait: Semaphore released: %s", toString().c_str());
if(rc)
m_owner = std::string("<N/A>");
return m_value;
} // wait
FreeRTOS::Semaphore::Semaphore(std::string name) {
m_usePthreads = false; // Are we using pThreads or FreeRTOS?
if (m_usePthreads) {
pthread_mutex_init(&m_pthread_mutex, nullptr);
} else {
m_semaphore = xSemaphoreCreateMutex();
}
m_name = name;
m_owner = std::string("<N/A>");
m_value = 0;
}
FreeRTOS::Semaphore::~Semaphore() {
if (m_usePthreads) {
pthread_mutex_destroy(&m_pthread_mutex);
} else {
vSemaphoreDelete(m_semaphore);
}
}
/**
* @brief Give a semaphore.
* The Semaphore is given.
*/
void FreeRTOS::Semaphore::give() {
ESP_LOGV(LOG_TAG, "Semaphore giving: %s", toString().c_str());
if (m_usePthreads) {
pthread_mutex_unlock(&m_pthread_mutex);
} else {
xSemaphoreGive(m_semaphore);
}
// #ifdef ARDUINO_ARCH_ESP32
// FreeRTOS::sleep(10);
// #endif
m_owner = std::string("<N/A>");
} // Semaphore::give
/**
* @brief Give a semaphore.
* The Semaphore is given with an associated value.
* @param [in] value The value to associate with the semaphore.
*/
void FreeRTOS::Semaphore::give(uint32_t value) {
m_value = value;
give();
} // give
/**
* @brief Give a semaphore from an ISR.
*/
void FreeRTOS::Semaphore::giveFromISR() {
BaseType_t higherPriorityTaskWoken;
if (m_usePthreads) {
assert(false);
} else {
xSemaphoreGiveFromISR(m_semaphore, &higherPriorityTaskWoken);
}
} // giveFromISR
/**
* @brief Take a semaphore.
* Take a semaphore and wait indefinitely.
* @param [in] owner The new owner (for debugging)
* @return True if we took the semaphore.
*/
bool FreeRTOS::Semaphore::take(std::string owner)
{
ESP_LOGV(LOG_TAG, "Semaphore taking: %s for %s", toString().c_str(), owner.c_str());
bool rc = false;
if (m_usePthreads) {
pthread_mutex_lock(&m_pthread_mutex);
} else {
rc = ::xSemaphoreTake(m_semaphore, portMAX_DELAY);
}
m_owner = owner;
if (rc) {
ESP_LOGV(LOG_TAG, "Semaphore taken: %s", toString().c_str());
} else {
ESP_LOGE(LOG_TAG, "Semaphore NOT taken: %s", toString().c_str());
}
return rc;
} // Semaphore::take
/**
* @brief Take a semaphore.
* Take a semaphore but return if we haven't obtained it in the given period of milliseconds.
* @param [in] timeoutMs Timeout in milliseconds.
* @param [in] owner The new owner (for debugging)
* @return True if we took the semaphore.
*/
bool FreeRTOS::Semaphore::take(uint32_t timeoutMs, std::string owner) {
ESP_LOGV(LOG_TAG, "Semaphore taking: %s for %s", toString().c_str(), owner.c_str());
bool rc = false;
if (m_usePthreads) {
assert(false); // We apparently don't have a timed wait for pthreads.
} else {
rc = ::xSemaphoreTake(m_semaphore, timeoutMs/portTICK_PERIOD_MS);
}
m_owner = owner;
if (rc) {
ESP_LOGV(LOG_TAG, "Semaphore taken: %s", toString().c_str());
} else {
ESP_LOGE(LOG_TAG, "Semaphore NOT taken: %s", toString().c_str());
}
return rc;
} // Semaphore::take
/**
* @brief Create a string representation of the semaphore.
* @return A string representation of the semaphore.
*/
std::string FreeRTOS::Semaphore::toString() {
std::stringstream stringStream;
stringStream << "name: "<< m_name << " (0x" << std::hex << std::setfill('0') << (uint32_t)m_semaphore << "), owner: " << m_owner;
return stringStream.str();
} // toString
/**
* @brief Set the name of the semaphore.
* @param [in] name The name of the semaphore.
*/
void FreeRTOS::Semaphore::setName(std::string name) {
m_name = name;
} // setName
/**
* @brief Create a ring buffer.
* @param [in] length The amount of storage to allocate for the ring buffer.
* @param [in] type The type of buffer. One of RINGBUF_TYPE_NOSPLIT, RINGBUF_TYPE_ALLOWSPLIT, RINGBUF_TYPE_BYTEBUF.
*/
Ringbuffer::Ringbuffer(size_t length, ringbuf_type_t type) {
m_handle = ::xRingbufferCreate(length, type);
} // Ringbuffer
Ringbuffer::~Ringbuffer() {
::vRingbufferDelete(m_handle);
} // ~Ringbuffer
/**
* @brief Receive data from the buffer.
* @param [out] size On return, the size of data returned.
* @param [in] wait How long to wait.
* @return A pointer to the storage retrieved.
*/
void* Ringbuffer::receive(size_t* size, TickType_t wait) {
return ::xRingbufferReceive(m_handle, size, wait);
} // receive
/**
* @brief Return an item.
* @param [in] item The item to be returned/released.
*/
void Ringbuffer::returnItem(void* item) {
::vRingbufferReturnItem(m_handle, item);
} // returnItem
/**
* @brief Send data to the buffer.
* @param [in] data The data to place into the buffer.
* @param [in] length The length of data to place into the buffer.
* @param [in] wait How long to wait before giving up. The default is to wait indefinitely.
* @return
*/
uint32_t Ringbuffer::send(void* data, size_t length, TickType_t wait) {
return ::xRingbufferSend(m_handle, data, length, wait);
} // send
| [
"imperiaonline4@gmail.com"
] | imperiaonline4@gmail.com |
5747e3682874ede22d23f926cccf91f574e165e5 | 493ac26ce835200f4844e78d8319156eae5b21f4 | /CHT_heat_transfer/constant/solid_15/polyMesh/faceZones | 8b03d9dfd282d08ea694fd5d235ee2a2d3c1dd21 | [] | no_license | mohan-padmanabha/worm_project | 46f65090b06a2659a49b77cbde3844410c978954 | 7a39f9384034e381d5f71191122457a740de3ff0 | refs/heads/master | 2022-12-14T14:41:21.237400 | 2020-08-21T13:33:10 | 2020-08-21T13:33:10 | 289,277,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 885 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class regIOobject;
location "constant/solid_15/polyMesh";
object faceZones;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
0()
// ************************************************************************* //
| [
"mohan.2611@gmail.com"
] | mohan.2611@gmail.com | |
fb625acb879fed0a0fe959409853a58e2e7101fb | 3c311327423d13735edc298230d3c36d2691f5c7 | /tensorflow/lite/tools/optimize/operator_property.cc | 01a10a575671f736e9a0dffb9585faffb6f3d543 | [
"Apache-2.0"
] | permissive | drewszurko/tensorflow | 6075aafff00893837da583ccc13fb399a6e40bcd | f2a9a2cdd87673182e94b3c25fcfc210315d014b | refs/heads/master | 2020-04-25T00:07:56.946637 | 2019-04-18T18:51:56 | 2019-04-18T18:51:56 | 172,368,205 | 0 | 0 | Apache-2.0 | 2019-04-18T18:44:45 | 2019-02-24T17:33:14 | C++ | UTF-8 | C++ | false | false | 5,682 | cc | /* Copyright 2019 The TensorFlow 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 "tensorflow/lite/tools/optimize/operator_property.h"
namespace tflite {
namespace optimize {
namespace operator_property {
TfLiteStatus GetOperatorProperty(const BuiltinOperator& op,
OperatorProperty* property) {
if (op == BuiltinOperator_ADD || op == BuiltinOperator_MUL) {
property->per_axis = false;
property->per_axis_index = 0;
property->arbitrary_inputs = false;
property->input_indexes = {0, 1};
property->output_indexes = {0};
property->biases = {};
property->restrict_same_input_output_scale = false;
property->restriction_on_output = false;
property->restricted_value_on_output = {};
return kTfLiteOk;
}
if (op == BuiltinOperator_AVERAGE_POOL_2D ||
op == BuiltinOperator_MAX_POOL_2D || op == BuiltinOperator_SQUEEZE) {
property->per_axis = false;
property->per_axis_index = 0;
property->arbitrary_inputs = false;
property->input_indexes = {0};
property->output_indexes = {0};
property->biases = {};
property->restrict_same_input_output_scale = true;
property->restriction_on_output = false;
property->restricted_value_on_output = {};
return kTfLiteOk;
}
if (op == BuiltinOperator_CONCATENATION) {
property->per_axis = false;
property->per_axis_index = 0;
property->arbitrary_inputs = true;
property->input_indexes = {};
property->output_indexes = {0};
property->biases = {};
property->restrict_same_input_output_scale = true;
property->restriction_on_output = false;
property->restricted_value_on_output = {};
return kTfLiteOk;
}
if (op == BuiltinOperator_CONV_2D) {
property->per_axis = true;
property->per_axis_index = 0;
property->arbitrary_inputs = false;
property->input_indexes = {0, 1};
property->output_indexes = {0};
property->biases = {2};
property->restrict_same_input_output_scale = false;
property->restriction_on_output = false;
property->restricted_value_on_output = {};
return kTfLiteOk;
}
if (op == BuiltinOperator_DEPTHWISE_CONV_2D) {
property->per_axis = true;
property->per_axis_index = 3;
property->arbitrary_inputs = false;
property->input_indexes = {0, 1};
property->output_indexes = {0};
property->biases = {2};
property->restrict_same_input_output_scale = false;
property->restriction_on_output = false;
property->restricted_value_on_output = {};
return kTfLiteOk;
}
if (op == BuiltinOperator_FULLY_CONNECTED) {
property->per_axis = false;
property->per_axis_index = 0;
property->arbitrary_inputs = false;
property->input_indexes = {0, 1};
property->output_indexes = {0};
property->biases = {2};
property->restrict_same_input_output_scale = false;
property->restriction_on_output = false;
property->restricted_value_on_output = {};
return kTfLiteOk;
}
if (op == BuiltinOperator_MEAN || op == BuiltinOperator_PAD ||
op == BuiltinOperator_QUANTIZE || op == BuiltinOperator_RESHAPE) {
property->per_axis = false;
property->per_axis_index = 0;
property->arbitrary_inputs = false;
property->input_indexes = {0};
property->output_indexes = {0};
property->biases = {};
property->restrict_same_input_output_scale = false;
property->restriction_on_output = false;
property->restricted_value_on_output = {};
return kTfLiteOk;
}
if (op == BuiltinOperator_SOFTMAX) {
// Softmax requires output with 1/256 as scale and -128 as zero point.
property->per_axis = false;
property->per_axis_index = 0;
property->arbitrary_inputs = false;
property->input_indexes = {0};
property->output_indexes = {0};
property->biases = {};
property->restrict_same_input_output_scale = false;
property->restriction_on_output = true;
property->restricted_value_on_output = {1 / 256.0, -128};
return kTfLiteOk;
}
if (op == BuiltinOperator_TANH) {
// Tanh requires output with 1/128 as scale and 0 as zero point.
property->per_axis = false;
property->per_axis_index = 0;
property->arbitrary_inputs = false;
property->input_indexes = {0};
property->output_indexes = {0};
property->biases = {};
property->restrict_same_input_output_scale = false;
property->restriction_on_output = true;
property->restricted_value_on_output = {1 / 128.0, 0};
return kTfLiteOk;
}
if (op == BuiltinOperator_ARG_MAX) {
property->per_axis = false;
property->per_axis_index = 0;
property->arbitrary_inputs = false;
property->input_indexes = {0};
// ArgMax has no quantizable output, so there is nothing to do here.
property->output_indexes = {};
property->biases = {};
property->restrict_same_input_output_scale = false;
property->restriction_on_output = false;
property->restricted_value_on_output = {};
return kTfLiteOk;
}
return kTfLiteError;
}
} // namespace operator_property
} // namespace optimize
} // namespace tflite
| [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
b28d8002248070bc0a260aff788045ac20056452 | c3ba724f8fde86f644690e1d3aeec855d9dc395b | /third_person/Source/third_person/third_personGameMode.h | 147c80e36498c79c8027f5628e58bf7b36589871 | [] | no_license | wyxloading/ue4-samples | 4577522de40404104b7cc5cc76cab55e72b54a45 | 878c070f6f4dc1a5144f98475f237b111a688736 | refs/heads/master | 2021-06-07T03:01:56.077095 | 2016-09-07T00:18:52 | 2016-09-07T00:18:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 282 | h | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "GameFramework/GameMode.h"
#include "third_personGameMode.generated.h"
UCLASS(minimalapi)
class Athird_personGameMode : public AGameMode
{
GENERATED_BODY()
public:
Athird_personGameMode();
};
| [
"tonculture@hotmail.com"
] | tonculture@hotmail.com |
20f408772f0f1dc537584e1369149398a495ea95 | 4081245b8ed21b053664ebd66340db8d38ab8c4f | /BuildBSTDCB.cpp | 163729d9fa75a5a8c18481fbddc53627086eacff | [] | no_license | anandaditya444/LEETCODE | 5240f0adf1df6a87747e00842f87566b0df59f92 | 82e597c21efa965cfe9e75254011ce4f49c2de36 | refs/heads/master | 2020-05-07T15:48:19.081727 | 2019-08-25T16:03:57 | 2019-08-25T16:03:57 | 180,653,012 | 2 | 1 | null | 2019-10-05T13:45:29 | 2019-04-10T19:48:40 | C++ | UTF-8 | C++ | false | false | 955 | cpp | #include <bits/stdc++.h>
using namespace std;
#define int long long int
#define IOS ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
#define ff first
#define ss second
#define pb push_back
#define pf push_front
#define endl "\n"
const int N = 1e3+5;
int a[N];
int t,n;
struct node
{
int data;
struct node* left;
struct node* right;
};
node* constructBST(int start,int end)
{
if(start > end)
return NULL;
int mid = (start+end)/2;
node* root = new node;
root->data = a[mid];
root->left = constructBST(start,mid-1);
root->right = constructBST(mid+1,end);
return root;
}
void preorder(node* root)
{
if(root == NULL)
return;
cout<<root->data<<" ";
preorder(root->left);
preorder(root->right);
}
int32_t main()
{
IOS;
cin>>t;
while(t--)
{
cin>>n;
for(int i=0;i<n;i++)
cin>>a[i];
//node* root = new node;
int start = 0,end = n-1;
node* root = constructBST(start,end);
preorder(root);
}
return 0;
} | [
"anandaditya444@gmail.com"
] | anandaditya444@gmail.com |
e83c503c390bbfce7dec0304760ee4925031ef72 | 1d218b5b336936a8e611dc8924c88012585fe822 | /Temp/StagingArea/Data/il2cppOutput/Bulk_Mono.Security_0.cpp | 222ee51c098d5de8ca18f55eff41408abd944d2e | [] | no_license | DWesterdijk/TerrainDestruction | 515bdcef67c9e49f73aad6b5cb5286ff05f9c4a4 | f916af9034693dc7388cbbde7c50ae0c64420025 | refs/heads/master | 2022-03-10T19:20:21.548445 | 2018-10-10T14:21:42 | 2018-10-10T14:21:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,807,367 | 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 <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "il2cpp-object-internals.h"
template <typename T1>
struct VirtActionInvoker1
{
typedef void (*Action)(void*, T1, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
template <typename R, typename T1>
struct VirtFuncInvoker1
{
typedef R (*Func)(void*, T1, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
template <typename R, typename T1, typename T2>
struct VirtFuncInvoker2
{
typedef R (*Func)(void*, T1, T2, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
}
};
template <typename R>
struct VirtFuncInvoker0
{
typedef R (*Func)(void*, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, invokeData.method);
}
};
struct VirtActionInvoker0
{
typedef void (*Action)(void*, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, invokeData.method);
}
};
template <typename T1, typename T2, typename T3>
struct VirtActionInvoker3
{
typedef void (*Action)(void*, T1, T2, T3, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, p1, p2, p3, invokeData.method);
}
};
template <typename T1, typename T2>
struct VirtActionInvoker2
{
typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
}
};
template <typename R, typename T1, typename T2, typename T3, typename T4>
struct VirtFuncInvoker4
{
typedef R (*Func)(void*, T1, T2, T3, T4, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, invokeData.method);
}
};
template <typename R, typename T1, typename T2, typename T3>
struct VirtFuncInvoker3
{
typedef R (*Func)(void*, T1, T2, T3, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, invokeData.method);
}
};
template <typename R, typename T1, typename T2, typename T3, typename T4, typename T5>
struct VirtFuncInvoker5
{
typedef R (*Func)(void*, T1, T2, T3, T4, T5, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, p5, invokeData.method);
}
};
template <typename R, typename T1, typename T2>
struct GenericVirtFuncInvoker2
{
typedef R (*Func)(void*, T1, T2, const RuntimeMethod*);
static inline R Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1, T2 p2)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_virtual_invoke_data(method, obj, &invokeData);
return ((Func)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
}
};
template <typename R, typename T1>
struct GenericVirtFuncInvoker1
{
typedef R (*Func)(void*, T1, const RuntimeMethod*);
static inline R Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_virtual_invoke_data(method, obj, &invokeData);
return ((Func)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
template <typename T1, typename T2>
struct GenericVirtActionInvoker2
{
typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1, T2 p2)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_virtual_invoke_data(method, obj, &invokeData);
((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
}
};
template <typename T1>
struct GenericVirtActionInvoker1
{
typedef void (*Action)(void*, T1, const RuntimeMethod*);
static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_virtual_invoke_data(method, obj, &invokeData);
((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
template <typename R, typename T1, typename T2, typename T3, typename T4>
struct GenericVirtFuncInvoker4
{
typedef R (*Func)(void*, T1, T2, T3, T4, const RuntimeMethod*);
static inline R Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_virtual_invoke_data(method, obj, &invokeData);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, invokeData.method);
}
};
template <typename R, typename T1, typename T2, typename T3>
struct GenericVirtFuncInvoker3
{
typedef R (*Func)(void*, T1, T2, T3, const RuntimeMethod*);
static inline R Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_virtual_invoke_data(method, obj, &invokeData);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, invokeData.method);
}
};
template <typename R>
struct GenericVirtFuncInvoker0
{
typedef R (*Func)(void*, const RuntimeMethod*);
static inline R Invoke (const RuntimeMethod* method, RuntimeObject* obj)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_virtual_invoke_data(method, obj, &invokeData);
return ((Func)invokeData.methodPtr)(obj, invokeData.method);
}
};
template <typename R, typename T1, typename T2>
struct InterfaceFuncInvoker2
{
typedef R (*Func)(void*, T1, T2, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
return ((Func)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
}
};
template <typename R, typename T1>
struct InterfaceFuncInvoker1
{
typedef R (*Func)(void*, T1, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
return ((Func)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
template <typename R>
struct InterfaceFuncInvoker0
{
typedef R (*Func)(void*, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
return ((Func)invokeData.methodPtr)(obj, invokeData.method);
}
};
struct InterfaceActionInvoker0
{
typedef void (*Action)(void*, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
((Action)invokeData.methodPtr)(obj, invokeData.method);
}
};
template <typename T1, typename T2>
struct InterfaceActionInvoker2
{
typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
}
};
template <typename T1>
struct InterfaceActionInvoker1
{
typedef void (*Action)(void*, T1, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
template <typename R, typename T1, typename T2, typename T3, typename T4>
struct InterfaceFuncInvoker4
{
typedef R (*Func)(void*, T1, T2, T3, T4, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, invokeData.method);
}
};
template <typename R, typename T1, typename T2, typename T3>
struct InterfaceFuncInvoker3
{
typedef R (*Func)(void*, T1, T2, T3, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, invokeData.method);
}
};
template <typename R, typename T1, typename T2, typename T3, typename T4, typename T5>
struct InterfaceFuncInvoker5
{
typedef R (*Func)(void*, T1, T2, T3, T4, T5, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, p5, invokeData.method);
}
};
template <typename R, typename T1, typename T2>
struct GenericInterfaceFuncInvoker2
{
typedef R (*Func)(void*, T1, T2, const RuntimeMethod*);
static inline R Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1, T2 p2)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_interface_invoke_data(method, obj, &invokeData);
return ((Func)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
}
};
template <typename R, typename T1>
struct GenericInterfaceFuncInvoker1
{
typedef R (*Func)(void*, T1, const RuntimeMethod*);
static inline R Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_interface_invoke_data(method, obj, &invokeData);
return ((Func)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
template <typename T1, typename T2>
struct GenericInterfaceActionInvoker2
{
typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1, T2 p2)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_interface_invoke_data(method, obj, &invokeData);
((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
}
};
template <typename T1>
struct GenericInterfaceActionInvoker1
{
typedef void (*Action)(void*, T1, const RuntimeMethod*);
static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_interface_invoke_data(method, obj, &invokeData);
((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
template <typename R, typename T1, typename T2, typename T3, typename T4>
struct GenericInterfaceFuncInvoker4
{
typedef R (*Func)(void*, T1, T2, T3, T4, const RuntimeMethod*);
static inline R Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_interface_invoke_data(method, obj, &invokeData);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, invokeData.method);
}
};
template <typename R, typename T1, typename T2, typename T3>
struct GenericInterfaceFuncInvoker3
{
typedef R (*Func)(void*, T1, T2, T3, const RuntimeMethod*);
static inline R Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_interface_invoke_data(method, obj, &invokeData);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, invokeData.method);
}
};
template <typename R>
struct GenericInterfaceFuncInvoker0
{
typedef R (*Func)(void*, const RuntimeMethod*);
static inline R Invoke (const RuntimeMethod* method, RuntimeObject* obj)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_interface_invoke_data(method, obj, &invokeData);
return ((Func)invokeData.methodPtr)(obj, invokeData.method);
}
};
// Microsoft.Win32.SafeHandles.SafeWaitHandle
struct SafeWaitHandle_t1972936122;
// Mono.Globalization.Unicode.SimpleCollator
struct SimpleCollator_t2877834729;
// Mono.Math.BigInteger
struct BigInteger_t2902905090;
// Mono.Math.BigInteger/ModulusRing
struct ModulusRing_t596511505;
// Mono.Math.BigInteger[]
struct BigIntegerU5BU5D_t2349952477;
// Mono.Math.Prime.Generator.PrimeGeneratorBase
struct PrimeGeneratorBase_t446028867;
// Mono.Math.Prime.Generator.SequentialSearchPrimeGeneratorBase
struct SequentialSearchPrimeGeneratorBase_t2996090509;
// Mono.Math.Prime.PrimalityTest
struct PrimalityTest_t1539325944;
// Mono.Security.ASN1
struct ASN1_t2114160833;
// Mono.Security.Cryptography.ARC4Managed
struct ARC4Managed_t2641858452;
// Mono.Security.Cryptography.HMAC
struct HMAC_t3689525210;
// Mono.Security.Cryptography.KeyPairPersistence
struct KeyPairPersistence_t2094547461;
// Mono.Security.Cryptography.MD2
struct MD2_t1561046427;
// Mono.Security.Cryptography.MD2Managed
struct MD2Managed_t1377101535;
// Mono.Security.Cryptography.MD4
struct MD4_t1560915355;
// Mono.Security.Cryptography.MD4Managed
struct MD4Managed_t957540063;
// Mono.Security.Cryptography.MD5SHA1
struct MD5SHA1_t723838944;
// Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo
struct EncryptedPrivateKeyInfo_t862116836;
// Mono.Security.Cryptography.PKCS8/PrivateKeyInfo
struct PrivateKeyInfo_t668027993;
// Mono.Security.Cryptography.RC4
struct RC4_t2752556436;
// Mono.Security.Cryptography.RSAManaged
struct RSAManaged_t1757093819;
// Mono.Security.Cryptography.RSAManaged
struct RSAManaged_t1757093820;
// Mono.Security.Cryptography.RSAManaged/KeyGeneratedEventHandler
struct KeyGeneratedEventHandler_t3064139578;
// Mono.Security.PKCS7/ContentInfo
struct ContentInfo_t3218159896;
// Mono.Security.PKCS7/EncryptedData
struct EncryptedData_t3577548733;
// Mono.Security.Protocol.Tls.Alert
struct Alert_t4059934885;
// Mono.Security.Protocol.Tls.CertificateSelectionCallback
struct CertificateSelectionCallback_t3743405224;
// Mono.Security.Protocol.Tls.CertificateValidationCallback
struct CertificateValidationCallback_t4091668218;
// Mono.Security.Protocol.Tls.CertificateValidationCallback2
struct CertificateValidationCallback2_t1842476440;
// Mono.Security.Protocol.Tls.CipherSuite
struct CipherSuite_t3414744575;
// Mono.Security.Protocol.Tls.CipherSuiteCollection
struct CipherSuiteCollection_t1129639304;
// Mono.Security.Protocol.Tls.ClientContext
struct ClientContext_t2797401965;
// Mono.Security.Protocol.Tls.ClientRecordProtocol
struct ClientRecordProtocol_t2031137796;
// Mono.Security.Protocol.Tls.ClientSessionInfo
struct ClientSessionInfo_t1775821398;
// Mono.Security.Protocol.Tls.Context
struct Context_t3971234707;
// Mono.Security.Protocol.Tls.Handshake.Client.TlsClientCertificate
struct TlsClientCertificate_t3519510577;
// Mono.Security.Protocol.Tls.Handshake.Client.TlsClientCertificateVerify
struct TlsClientCertificateVerify_t1824902654;
// Mono.Security.Protocol.Tls.Handshake.Client.TlsClientFinished
struct TlsClientFinished_t2486981163;
// Mono.Security.Protocol.Tls.Handshake.Client.TlsClientHello
struct TlsClientHello_t97965998;
// Mono.Security.Protocol.Tls.Handshake.Client.TlsClientKeyExchange
struct TlsClientKeyExchange_t643923608;
// Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate
struct TlsServerCertificate_t2716496392;
// Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificateRequest
struct TlsServerCertificateRequest_t3690397592;
// Mono.Security.Protocol.Tls.Handshake.Client.TlsServerFinished
struct TlsServerFinished_t3860330041;
// Mono.Security.Protocol.Tls.Handshake.Client.TlsServerHello
struct TlsServerHello_t3343859594;
// Mono.Security.Protocol.Tls.Handshake.Client.TlsServerHelloDone
struct TlsServerHelloDone_t1850379324;
// Mono.Security.Protocol.Tls.Handshake.Client.TlsServerKeyExchange
struct TlsServerKeyExchange_t699469151;
// Mono.Security.Protocol.Tls.Handshake.ClientCertificateType[]
struct ClientCertificateTypeU5BU5D_t4253920197;
// Mono.Security.Protocol.Tls.Handshake.HandshakeMessage
struct HandshakeMessage_t3696583168;
// Mono.Security.Protocol.Tls.HttpsClientStream
struct HttpsClientStream_t1160552561;
// Mono.Security.Protocol.Tls.PrivateKeySelectionCallback
struct PrivateKeySelectionCallback_t3240194217;
// Mono.Security.Protocol.Tls.RSASslSignatureDeformatter
struct RSASslSignatureDeformatter_t3558097625;
// Mono.Security.Protocol.Tls.RSASslSignatureFormatter
struct RSASslSignatureFormatter_t2709678514;
// Mono.Security.Protocol.Tls.RecordProtocol
struct RecordProtocol_t3759049701;
// Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult
struct ReceiveRecordAsyncResult_t3680907657;
// Mono.Security.Protocol.Tls.RecordProtocol/SendRecordAsyncResult
struct SendRecordAsyncResult_t3718352467;
// Mono.Security.Protocol.Tls.SecurityParameters
struct SecurityParameters_t2199972650;
// Mono.Security.Protocol.Tls.SslCipherSuite
struct SslCipherSuite_t1981645747;
// Mono.Security.Protocol.Tls.SslClientStream
struct SslClientStream_t3914624661;
// Mono.Security.Protocol.Tls.SslHandshakeHash
struct SslHandshakeHash_t2107581772;
// Mono.Security.Protocol.Tls.SslStreamBase
struct SslStreamBase_t1667413407;
// Mono.Security.Protocol.Tls.TlsCipherSuite
struct TlsCipherSuite_t1545013223;
// Mono.Security.Protocol.Tls.TlsClientSettings
struct TlsClientSettings_t2486039503;
// Mono.Security.Protocol.Tls.TlsException
struct TlsException_t3534743363;
// Mono.Security.Protocol.Tls.TlsServerSettings
struct TlsServerSettings_t4144396432;
// Mono.Security.Protocol.Tls.TlsStream
struct TlsStream_t2365453965;
// Mono.Security.Protocol.Tls.ValidationResult
struct ValidationResult_t3834298736;
// Mono.Security.X509.Extensions.ExtendedKeyUsageExtension
struct ExtendedKeyUsageExtension_t3929363080;
// Mono.Security.X509.Extensions.GeneralNames
struct GeneralNames_t2702294159;
// Mono.Security.X509.Extensions.KeyUsageExtension
struct KeyUsageExtension_t1795615912;
// Mono.Security.X509.Extensions.NetscapeCertTypeExtension
struct NetscapeCertTypeExtension_t1524296876;
// Mono.Security.X509.Extensions.SubjectAltNameExtension
struct SubjectAltNameExtension_t1536937677;
// Mono.Security.X509.X509Certificate
struct X509Certificate_t489243024;
// Mono.Security.X509.X509Certificate
struct X509Certificate_t489243025;
// Mono.Security.X509.X509CertificateCollection
struct X509CertificateCollection_t1542168550;
// Mono.Security.X509.X509Chain
struct X509Chain_t863783600;
// Mono.Security.X509.X509Extension
struct X509Extension_t3173393653;
// Mono.Security.X509.X509ExtensionCollection
struct X509ExtensionCollection_t609554709;
// System.ArgumentException
struct ArgumentException_t132251570;
// System.ArgumentNullException
struct ArgumentNullException_t1615371798;
// System.ArgumentOutOfRangeException
struct ArgumentOutOfRangeException_t777629997;
// System.ArithmeticException
struct ArithmeticException_t4283546778;
// System.AsyncCallback
struct AsyncCallback_t3962456242;
// System.Byte
struct Byte_t1134296376;
// System.Byte[,]
struct ByteU5BU2CU5D_t4116647658;
// System.Byte[]
struct ByteU5BU5D_t4116647657;
// System.Char[]
struct CharU5BU5D_t3528271667;
// System.Collections.ArrayList
struct ArrayList_t2718874744;
// System.Collections.CollectionBase
struct CollectionBase_t2727926298;
// System.Collections.Generic.Dictionary`2/Transform`1<System.String,System.Int32,System.Collections.DictionaryEntry>
struct Transform_1_t3530625384;
// System.Collections.Generic.Dictionary`2<System.Object,System.Int32>
struct Dictionary_2_t3384741;
// System.Collections.Generic.Dictionary`2<System.String,System.Int32>
struct Dictionary_2_t2736202052;
// System.Collections.Generic.IEqualityComparer`1<System.String>
struct IEqualityComparer_1_t3954782707;
// System.Collections.Generic.Link[]
struct LinkU5BU5D_t964245573;
// System.Collections.Hashtable
struct Hashtable_t1853889766;
// System.Collections.Hashtable/HashKeys
struct HashKeys_t1568156503;
// System.Collections.Hashtable/HashValues
struct HashValues_t618387445;
// System.Collections.Hashtable/Slot[]
struct SlotU5BU5D_t2994659099;
// System.Collections.IComparer
struct IComparer_t1540313114;
// System.Collections.IDictionary
struct IDictionary_t1363984059;
// System.Collections.IEnumerator
struct IEnumerator_t1853284238;
// System.Collections.IEqualityComparer
struct IEqualityComparer_t1493878338;
// System.Collections.IHashCodeProvider
struct IHashCodeProvider_t267601189;
// System.Collections.Specialized.HybridDictionary
struct HybridDictionary_t4070033136;
// System.Delegate
struct Delegate_t1188392813;
// System.DelegateData
struct DelegateData_t1677132599;
// System.Double
struct Double_t594665363;
// System.EventArgs
struct EventArgs_t3591816995;
// System.Exception
struct Exception_t;
// System.FormatException
struct FormatException_t154580423;
// System.Globalization.Calendar
struct Calendar_t1661121569;
// System.Globalization.Calendar[]
struct CalendarU5BU5D_t3985046076;
// System.Globalization.CompareInfo
struct CompareInfo_t1092934962;
// System.Globalization.CultureInfo
struct CultureInfo_t4157843068;
// System.Globalization.DateTimeFormatInfo
struct DateTimeFormatInfo_t2405853701;
// System.Globalization.NumberFormatInfo
struct NumberFormatInfo_t435877138;
// System.Globalization.TextInfo
struct TextInfo_t3810425522;
// System.IAsyncResult
struct IAsyncResult_t767004451;
// System.IFormatProvider
struct IFormatProvider_t2518567562;
// System.IO.IOException
struct IOException_t4088381929;
// System.IO.MemoryStream
struct MemoryStream_t94973147;
// System.IO.Stream
struct Stream_t1273022909;
// System.IndexOutOfRangeException
struct IndexOutOfRangeException_t1578797820;
// System.Int32
struct Int32_t2950945753;
// System.Int32[]
struct Int32U5BU5D_t385246372;
// System.IntPtr[]
struct IntPtrU5BU5D_t4013366056;
// System.InvalidOperationException
struct InvalidOperationException_t56020091;
// System.Net.HttpWebRequest
struct HttpWebRequest_t1669436515;
// System.Net.ICertificatePolicy
struct ICertificatePolicy_t2970473191;
// System.Net.IWebProxy
struct IWebProxy_t688979836;
// System.Net.Security.RemoteCertificateValidationCallback
struct RemoteCertificateValidationCallback_t3014364904;
// System.Net.ServicePoint
struct ServicePoint_t2786966844;
// System.Net.WebHeaderCollection
struct WebHeaderCollection_t1942268960;
// System.NotSupportedException
struct NotSupportedException_t1314879016;
// System.ObjectDisposedException
struct ObjectDisposedException_t21392786;
// System.Object[]
struct ObjectU5BU5D_t2843939325;
// System.Reflection.Assembly
struct Assembly_t;
// System.Reflection.MemberFilter
struct MemberFilter_t426314064;
// System.Reflection.MethodInfo
struct MethodInfo_t;
// System.Runtime.Remoting.ServerIdentity
struct ServerIdentity_t2342208608;
// System.Runtime.Serialization.SerializationInfo
struct SerializationInfo_t950877179;
// System.Security.Cryptography.AsymmetricAlgorithm
struct AsymmetricAlgorithm_t932037087;
// System.Security.Cryptography.AsymmetricSignatureDeformatter
struct AsymmetricSignatureDeformatter_t2681190756;
// System.Security.Cryptography.AsymmetricSignatureFormatter
struct AsymmetricSignatureFormatter_t3486936014;
// System.Security.Cryptography.CryptographicException
struct CryptographicException_t248831461;
// System.Security.Cryptography.CryptographicUnexpectedOperationException
struct CryptographicUnexpectedOperationException_t2790575154;
// System.Security.Cryptography.CspParameters
struct CspParameters_t239852639;
// System.Security.Cryptography.DES
struct DES_t821106792;
// System.Security.Cryptography.DSA
struct DSA_t2386879874;
// System.Security.Cryptography.HashAlgorithm
struct HashAlgorithm_t1432317219;
// System.Security.Cryptography.ICryptoTransform
struct ICryptoTransform_t2733259762;
// System.Security.Cryptography.KeySizes
struct KeySizes_t85027896;
// System.Security.Cryptography.KeySizes[]
struct KeySizesU5BU5D_t722666473;
// System.Security.Cryptography.KeyedHashAlgorithm
struct KeyedHashAlgorithm_t112861511;
// System.Security.Cryptography.MD5
struct MD5_t3177620429;
// System.Security.Cryptography.Oid
struct Oid_t3552120260;
// System.Security.Cryptography.RC2
struct RC2_t3167825714;
// System.Security.Cryptography.RSA
struct RSA_t2385438082;
// System.Security.Cryptography.RSACryptoServiceProvider
struct RSACryptoServiceProvider_t2683512874;
// System.Security.Cryptography.RSAPKCS1KeyExchangeFormatter
struct RSAPKCS1KeyExchangeFormatter_t2761096101;
// System.Security.Cryptography.RandomNumberGenerator
struct RandomNumberGenerator_t386037858;
// System.Security.Cryptography.Rijndael
struct Rijndael_t2986313634;
// System.Security.Cryptography.SHA1
struct SHA1_t1803193667;
// System.Security.Cryptography.SymmetricAlgorithm
struct SymmetricAlgorithm_t4254223087;
// System.Security.Cryptography.TripleDES
struct TripleDES_t92303514;
// System.Security.Cryptography.X509Certificates.PublicKey
struct PublicKey_t3779582684;
// System.Security.Cryptography.X509Certificates.X500DistinguishedName
struct X500DistinguishedName_t875709727;
// System.Security.Cryptography.X509Certificates.X509Certificate
struct X509Certificate_t713131622;
// System.Security.Cryptography.X509Certificates.X509Certificate2
struct X509Certificate2_t714049126;
// System.Security.Cryptography.X509Certificates.X509Certificate2Collection
struct X509Certificate2Collection_t2111161276;
// System.Security.Cryptography.X509Certificates.X509CertificateCollection
struct X509CertificateCollection_t3399372417;
// System.Security.Cryptography.X509Certificates.X509CertificateCollection/X509CertificateEnumerator
struct X509CertificateEnumerator_t855273292;
// System.Security.Cryptography.X509Certificates.X509Certificate[]
struct X509CertificateU5BU5D_t3145106755;
// System.Security.Cryptography.X509Certificates.X509Chain
struct X509Chain_t194917408;
// System.Security.Cryptography.X509Certificates.X509ChainElement
struct X509ChainElement_t1464056338;
// System.Security.Cryptography.X509Certificates.X509ChainElementCollection
struct X509ChainElementCollection_t3110968994;
// System.Security.Cryptography.X509Certificates.X509ChainPolicy
struct X509ChainPolicy_t2426922870;
// System.Security.Cryptography.X509Certificates.X509ChainStatus[]
struct X509ChainStatusU5BU5D_t2685945535;
// System.Security.Cryptography.X509Certificates.X509ExtensionCollection
struct X509ExtensionCollection_t1350454579;
// System.Security.Cryptography.X509Certificates.X509Store
struct X509Store_t2922691911;
// System.String
struct String_t;
// System.String[]
struct StringU5BU5D_t1281789340;
// System.Text.DecoderFallback
struct DecoderFallback_t3123823036;
// System.Text.EncoderFallback
struct EncoderFallback_t1188251036;
// System.Text.Encoding
struct Encoding_t1523322056;
// System.Text.RegularExpressions.Capture
struct Capture_t2232016050;
// System.Text.RegularExpressions.CaptureCollection
struct CaptureCollection_t1760593541;
// System.Text.RegularExpressions.FactoryCache
struct FactoryCache_t2327118887;
// System.Text.RegularExpressions.Group
struct Group_t2468205786;
// System.Text.RegularExpressions.GroupCollection
struct GroupCollection_t69770484;
// System.Text.RegularExpressions.Group[]
struct GroupU5BU5D_t1880820351;
// System.Text.RegularExpressions.IMachine
struct IMachine_t2106687985;
// System.Text.RegularExpressions.IMachineFactory
struct IMachineFactory_t1209798546;
// System.Text.RegularExpressions.Match
struct Match_t3408321083;
// System.Text.RegularExpressions.MatchCollection
struct MatchCollection_t1395363720;
// System.Text.RegularExpressions.Regex
struct Regex_t3657309853;
// System.Text.StringBuilder
struct StringBuilder_t;
// System.Threading.EventWaitHandle
struct EventWaitHandle_t777845177;
// System.Threading.ManualResetEvent
struct ManualResetEvent_t451242010;
// System.Threading.WaitHandle
struct WaitHandle_t1743403487;
// System.Type
struct Type_t;
// System.Type[]
struct TypeU5BU5D_t3940880105;
// System.UInt16
struct UInt16_t2177724958;
// System.UInt32[]
struct UInt32U5BU5D_t2770800703;
// System.Uri
struct Uri_t100236324;
// System.Uri/UriScheme[]
struct UriSchemeU5BU5D_t2082808316;
// System.UriParser
struct UriParser_t3890150400;
// System.Version
struct Version_t3456873960;
// System.Void
struct Void_t1185182177;
extern RuntimeClass* ARC4Managed_t2641858452_il2cpp_TypeInfo_var;
extern RuntimeClass* ASN1_t2114160833_il2cpp_TypeInfo_var;
extern RuntimeClass* Alert_t4059934885_il2cpp_TypeInfo_var;
extern RuntimeClass* ArgumentException_t132251570_il2cpp_TypeInfo_var;
extern RuntimeClass* ArgumentNullException_t1615371798_il2cpp_TypeInfo_var;
extern RuntimeClass* ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var;
extern RuntimeClass* ArithmeticException_t4283546778_il2cpp_TypeInfo_var;
extern RuntimeClass* ArrayList_t2718874744_il2cpp_TypeInfo_var;
extern RuntimeClass* AsyncCallback_t3962456242_il2cpp_TypeInfo_var;
extern RuntimeClass* BigIntegerU5BU5D_t2349952477_il2cpp_TypeInfo_var;
extern RuntimeClass* BigInteger_t2902905090_il2cpp_TypeInfo_var;
extern RuntimeClass* BitConverter_t3118986983_il2cpp_TypeInfo_var;
extern RuntimeClass* ByteU5BU5DU5BU5D_t457913172_il2cpp_TypeInfo_var;
extern RuntimeClass* ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var;
extern RuntimeClass* CertificateSelectionCallback_t3743405224_il2cpp_TypeInfo_var;
extern RuntimeClass* CertificateValidationCallback2_t1842476440_il2cpp_TypeInfo_var;
extern RuntimeClass* CertificateValidationCallback_t4091668218_il2cpp_TypeInfo_var;
extern RuntimeClass* Char_t3634460470_il2cpp_TypeInfo_var;
extern RuntimeClass* CipherSuiteCollection_t1129639304_il2cpp_TypeInfo_var;
extern RuntimeClass* CipherSuite_t3414744575_il2cpp_TypeInfo_var;
extern RuntimeClass* ClientCertificateTypeU5BU5D_t4253920197_il2cpp_TypeInfo_var;
extern RuntimeClass* ClientContext_t2797401965_il2cpp_TypeInfo_var;
extern RuntimeClass* ClientRecordProtocol_t2031137796_il2cpp_TypeInfo_var;
extern RuntimeClass* ClientSessionCache_t2353595803_il2cpp_TypeInfo_var;
extern RuntimeClass* ClientSessionInfo_t1775821398_il2cpp_TypeInfo_var;
extern RuntimeClass* ConfidenceFactor_t2516000286_il2cpp_TypeInfo_var;
extern RuntimeClass* ContentInfo_t3218159896_il2cpp_TypeInfo_var;
extern RuntimeClass* ContentType_t2602934270_il2cpp_TypeInfo_var;
extern RuntimeClass* Convert_t2465617642_il2cpp_TypeInfo_var;
extern RuntimeClass* CryptoConfig_t4201145714_il2cpp_TypeInfo_var;
extern RuntimeClass* CryptographicException_t248831461_il2cpp_TypeInfo_var;
extern RuntimeClass* CryptographicUnexpectedOperationException_t2790575154_il2cpp_TypeInfo_var;
extern RuntimeClass* CspParameters_t239852639_il2cpp_TypeInfo_var;
extern RuntimeClass* CultureInfo_t4157843068_il2cpp_TypeInfo_var;
extern RuntimeClass* DES_t821106792_il2cpp_TypeInfo_var;
extern RuntimeClass* DateTime_t3738529785_il2cpp_TypeInfo_var;
extern RuntimeClass* Dictionary_2_t2736202052_il2cpp_TypeInfo_var;
extern RuntimeClass* Encoding_t1523322056_il2cpp_TypeInfo_var;
extern RuntimeClass* Enum_t4135868527_il2cpp_TypeInfo_var;
extern RuntimeClass* Exception_t_il2cpp_TypeInfo_var;
extern RuntimeClass* ExtendedKeyUsageExtension_t3929363080_il2cpp_TypeInfo_var;
extern RuntimeClass* FormatException_t154580423_il2cpp_TypeInfo_var;
extern RuntimeClass* HMAC_t3689525210_il2cpp_TypeInfo_var;
extern RuntimeClass* HandshakeType_t3062346172_il2cpp_TypeInfo_var;
extern RuntimeClass* Hashtable_t1853889766_il2cpp_TypeInfo_var;
extern RuntimeClass* HttpsClientStream_t1160552561_il2cpp_TypeInfo_var;
extern RuntimeClass* IAsyncResult_t767004451_il2cpp_TypeInfo_var;
extern RuntimeClass* ICertificatePolicy_t2970473191_il2cpp_TypeInfo_var;
extern RuntimeClass* ICryptoTransform_t2733259762_il2cpp_TypeInfo_var;
extern RuntimeClass* IDisposable_t3640265483_il2cpp_TypeInfo_var;
extern RuntimeClass* IEnumerable_t1941168011_il2cpp_TypeInfo_var;
extern RuntimeClass* IEnumerator_t1853284238_il2cpp_TypeInfo_var;
extern RuntimeClass* IOException_t4088381929_il2cpp_TypeInfo_var;
extern RuntimeClass* IndexOutOfRangeException_t1578797820_il2cpp_TypeInfo_var;
extern RuntimeClass* Int32U5BU5D_t385246372_il2cpp_TypeInfo_var;
extern RuntimeClass* Int32_t2950945753_il2cpp_TypeInfo_var;
extern RuntimeClass* Int64_t3736567304_il2cpp_TypeInfo_var;
extern RuntimeClass* InvalidOperationException_t56020091_il2cpp_TypeInfo_var;
extern RuntimeClass* KeyBuilder_t2049230355_il2cpp_TypeInfo_var;
extern RuntimeClass* KeySizesU5BU5D_t722666473_il2cpp_TypeInfo_var;
extern RuntimeClass* KeySizes_t85027896_il2cpp_TypeInfo_var;
extern RuntimeClass* KeyUsageExtension_t1795615912_il2cpp_TypeInfo_var;
extern RuntimeClass* MD2Managed_t1377101535_il2cpp_TypeInfo_var;
extern RuntimeClass* MD2_t1561046427_il2cpp_TypeInfo_var;
extern RuntimeClass* MD4Managed_t957540063_il2cpp_TypeInfo_var;
extern RuntimeClass* MD4_t1560915355_il2cpp_TypeInfo_var;
extern RuntimeClass* MD5SHA1_t723838944_il2cpp_TypeInfo_var;
extern RuntimeClass* ManualResetEvent_t451242010_il2cpp_TypeInfo_var;
extern RuntimeClass* ModulusRing_t596511505_il2cpp_TypeInfo_var;
extern RuntimeClass* NetscapeCertTypeExtension_t1524296876_il2cpp_TypeInfo_var;
extern RuntimeClass* NotImplementedException_t3489357830_il2cpp_TypeInfo_var;
extern RuntimeClass* NotSupportedException_t1314879016_il2cpp_TypeInfo_var;
extern RuntimeClass* ObjectDisposedException_t21392786_il2cpp_TypeInfo_var;
extern RuntimeClass* ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var;
extern RuntimeClass* PKCS1_t1505584677_il2cpp_TypeInfo_var;
extern RuntimeClass* PrimalityTest_t1539325944_il2cpp_TypeInfo_var;
extern RuntimeClass* PrivateKeySelectionCallback_t3240194217_il2cpp_TypeInfo_var;
extern RuntimeClass* RC4_t2752556436_il2cpp_TypeInfo_var;
extern RuntimeClass* RSACryptoServiceProvider_t2683512874_il2cpp_TypeInfo_var;
extern RuntimeClass* RSAManaged_t1757093820_il2cpp_TypeInfo_var;
extern RuntimeClass* RSAPKCS1KeyExchangeFormatter_t2761096101_il2cpp_TypeInfo_var;
extern RuntimeClass* RSASslSignatureDeformatter_t3558097625_il2cpp_TypeInfo_var;
extern RuntimeClass* RSASslSignatureFormatter_t2709678514_il2cpp_TypeInfo_var;
extern RuntimeClass* RSA_t2385438082_il2cpp_TypeInfo_var;
extern RuntimeClass* ReceiveRecordAsyncResult_t3680907657_il2cpp_TypeInfo_var;
extern RuntimeClass* RecordProtocol_t3759049701_il2cpp_TypeInfo_var;
extern RuntimeClass* Regex_t3657309853_il2cpp_TypeInfo_var;
extern RuntimeClass* RuntimeObject_il2cpp_TypeInfo_var;
extern RuntimeClass* SecurityParameters_t2199972650_il2cpp_TypeInfo_var;
extern RuntimeClass* SendRecordAsyncResult_t3718352467_il2cpp_TypeInfo_var;
extern RuntimeClass* SequentialSearchPrimeGeneratorBase_t2996090509_il2cpp_TypeInfo_var;
extern RuntimeClass* ServerContext_t3848440993_il2cpp_TypeInfo_var;
extern RuntimeClass* ServicePointManager_t170559685_il2cpp_TypeInfo_var;
extern RuntimeClass* SslCipherSuite_t1981645747_il2cpp_TypeInfo_var;
extern RuntimeClass* SslHandshakeHash_t2107581772_il2cpp_TypeInfo_var;
extern RuntimeClass* SslStreamBase_t1667413407_il2cpp_TypeInfo_var;
extern RuntimeClass* StringBuilder_t_il2cpp_TypeInfo_var;
extern RuntimeClass* StringU5BU5D_t1281789340_il2cpp_TypeInfo_var;
extern RuntimeClass* String_t_il2cpp_TypeInfo_var;
extern RuntimeClass* SubjectAltNameExtension_t1536937677_il2cpp_TypeInfo_var;
extern RuntimeClass* TlsCipherSuite_t1545013223_il2cpp_TypeInfo_var;
extern RuntimeClass* TlsClientCertificateVerify_t1824902654_il2cpp_TypeInfo_var;
extern RuntimeClass* TlsClientCertificate_t3519510577_il2cpp_TypeInfo_var;
extern RuntimeClass* TlsClientFinished_t2486981163_il2cpp_TypeInfo_var;
extern RuntimeClass* TlsClientHello_t97965998_il2cpp_TypeInfo_var;
extern RuntimeClass* TlsClientKeyExchange_t643923608_il2cpp_TypeInfo_var;
extern RuntimeClass* TlsClientSettings_t2486039503_il2cpp_TypeInfo_var;
extern RuntimeClass* TlsException_t3534743363_il2cpp_TypeInfo_var;
extern RuntimeClass* TlsServerCertificateRequest_t3690397592_il2cpp_TypeInfo_var;
extern RuntimeClass* TlsServerCertificate_t2716496392_il2cpp_TypeInfo_var;
extern RuntimeClass* TlsServerFinished_t3860330041_il2cpp_TypeInfo_var;
extern RuntimeClass* TlsServerHelloDone_t1850379324_il2cpp_TypeInfo_var;
extern RuntimeClass* TlsServerHello_t3343859594_il2cpp_TypeInfo_var;
extern RuntimeClass* TlsServerKeyExchange_t699469151_il2cpp_TypeInfo_var;
extern RuntimeClass* TlsServerSettings_t4144396432_il2cpp_TypeInfo_var;
extern RuntimeClass* TlsStream_t2365453965_il2cpp_TypeInfo_var;
extern RuntimeClass* Type_t_il2cpp_TypeInfo_var;
extern RuntimeClass* UInt32U5BU5D_t2770800703_il2cpp_TypeInfo_var;
extern RuntimeClass* UInt32_t2560061978_il2cpp_TypeInfo_var;
extern RuntimeClass* X509Certificate2_t714049126_il2cpp_TypeInfo_var;
extern RuntimeClass* X509CertificateCollection_t1542168550_il2cpp_TypeInfo_var;
extern RuntimeClass* X509CertificateCollection_t3399372417_il2cpp_TypeInfo_var;
extern RuntimeClass* X509CertificateU5BU5D_t3145106755_il2cpp_TypeInfo_var;
extern RuntimeClass* X509Certificate_t489243025_il2cpp_TypeInfo_var;
extern RuntimeClass* X509Certificate_t713131622_il2cpp_TypeInfo_var;
extern RuntimeClass* X509Chain_t194917408_il2cpp_TypeInfo_var;
extern RuntimeClass* X509Chain_t863783600_il2cpp_TypeInfo_var;
extern RuntimeField* U3CPrivateImplementationDetailsU3E_t3057255363____U24U24fieldU2D0_0_FieldInfo_var;
extern RuntimeField* U3CPrivateImplementationDetailsU3E_t3057255363____U24U24fieldU2D21_13_FieldInfo_var;
extern RuntimeField* U3CPrivateImplementationDetailsU3E_t3057255363____U24U24fieldU2D22_14_FieldInfo_var;
extern RuntimeField* U3CPrivateImplementationDetailsU3E_t3057255363____U24U24fieldU2D5_1_FieldInfo_var;
extern RuntimeField* U3CPrivateImplementationDetailsU3E_t3057255363____U24U24fieldU2D6_2_FieldInfo_var;
extern RuntimeField* U3CPrivateImplementationDetailsU3E_t3057255363____U24U24fieldU2D7_3_FieldInfo_var;
extern RuntimeField* U3CPrivateImplementationDetailsU3E_t3057255363____U24U24fieldU2D8_4_FieldInfo_var;
extern RuntimeField* U3CPrivateImplementationDetailsU3E_t3057255363____U24U24fieldU2D9_5_FieldInfo_var;
extern String_t* _stringLiteral1004423982;
extern String_t* _stringLiteral1004423984;
extern String_t* _stringLiteral1063943309;
extern String_t* _stringLiteral1082126080;
extern String_t* _stringLiteral1110256105;
extern String_t* _stringLiteral1110505755;
extern String_t* _stringLiteral1111651387;
extern String_t* _stringLiteral1114683495;
extern String_t* _stringLiteral1133397176;
extern String_t* _stringLiteral1144609714;
extern String_t* _stringLiteral116715971;
extern String_t* _stringLiteral1174641524;
extern String_t* _stringLiteral1189022210;
extern String_t* _stringLiteral1209813982;
extern String_t* _stringLiteral123659953;
extern String_t* _stringLiteral1238132549;
extern String_t* _stringLiteral127985362;
extern String_t* _stringLiteral1280642964;
extern String_t* _stringLiteral1282074326;
extern String_t* _stringLiteral1285239904;
extern String_t* _stringLiteral1306161608;
extern String_t* _stringLiteral1361554341;
extern String_t* _stringLiteral1381488752;
extern String_t* _stringLiteral1386761008;
extern String_t* _stringLiteral1410188538;
extern String_t* _stringLiteral1441813354;
extern String_t* _stringLiteral1506186219;
extern String_t* _stringLiteral1510332022;
extern String_t* _stringLiteral151588389;
extern String_t* _stringLiteral1561769044;
extern String_t* _stringLiteral1565675654;
extern String_t* _stringLiteral1601143795;
extern String_t* _stringLiteral1609408204;
extern String_t* _stringLiteral1749648451;
extern String_t* _stringLiteral1813429223;
extern String_t* _stringLiteral1827055184;
extern String_t* _stringLiteral1827280598;
extern String_t* _stringLiteral1867853257;
extern String_t* _stringLiteral1889458120;
extern String_t* _stringLiteral1916825080;
extern String_t* _stringLiteral1918070264;
extern String_t* _stringLiteral1918135800;
extern String_t* _stringLiteral1927525029;
extern String_t* _stringLiteral193405814;
extern String_t* _stringLiteral1938928454;
extern String_t* _stringLiteral1940067499;
extern String_t* _stringLiteral1948411844;
extern String_t* _stringLiteral1968993200;
extern String_t* _stringLiteral197188615;
extern String_t* _stringLiteral2000707595;
extern String_t* _stringLiteral2024143041;
extern String_t* _stringLiteral2047228403;
extern String_t* _stringLiteral2053830539;
extern String_t* _stringLiteral2103170127;
extern String_t* _stringLiteral2105469118;
extern String_t* _stringLiteral2167393519;
extern String_t* _stringLiteral2186307263;
extern String_t* _stringLiteral2188206873;
extern String_t* _stringLiteral2198012883;
extern String_t* _stringLiteral2217280364;
extern String_t* _stringLiteral2231488616;
extern String_t* _stringLiteral2252787185;
extern String_t* _stringLiteral2295937935;
extern String_t* _stringLiteral2330884088;
extern String_t* _stringLiteral2368775859;
extern String_t* _stringLiteral2375729243;
extern String_t* _stringLiteral2383840146;
extern String_t* _stringLiteral243541289;
extern String_t* _stringLiteral2449489188;
extern String_t* _stringLiteral2471616411;
extern String_t* _stringLiteral2479900804;
extern String_t* _stringLiteral2514902888;
extern String_t* _stringLiteral251636811;
extern String_t* _stringLiteral2581649682;
extern String_t* _stringLiteral2597607271;
extern String_t* _stringLiteral264464451;
extern String_t* _stringLiteral2728941485;
extern String_t* _stringLiteral2787816553;
extern String_t* _stringLiteral2791101299;
extern String_t* _stringLiteral2791739702;
extern String_t* _stringLiteral2861664389;
extern String_t* _stringLiteral2898472053;
extern String_t* _stringLiteral2921622622;
extern String_t* _stringLiteral2927991799;
extern String_t* _stringLiteral2971046163;
extern String_t* _stringLiteral2973183703;
extern String_t* _stringLiteral2975569484;
extern String_t* _stringLiteral3005829114;
extern String_t* _stringLiteral3013462727;
extern String_t* _stringLiteral3016771816;
extern String_t* _stringLiteral3023545426;
extern String_t* _stringLiteral3034282783;
extern String_t* _stringLiteral3055172879;
extern String_t* _stringLiteral3073595182;
extern String_t* _stringLiteral3085174530;
extern String_t* _stringLiteral3087219758;
extern String_t* _stringLiteral3100627678;
extern String_t* _stringLiteral3133584213;
extern String_t* _stringLiteral3146387881;
extern String_t* _stringLiteral3149331255;
extern String_t* _stringLiteral3152351657;
extern String_t* _stringLiteral3152468735;
extern String_t* _stringLiteral3170101360;
extern String_t* _stringLiteral3202607819;
extern String_t* _stringLiteral3252161509;
extern String_t* _stringLiteral3266464951;
extern String_t* _stringLiteral3295482658;
extern String_t* _stringLiteral3316324514;
extern String_t* _stringLiteral3346400495;
extern String_t* _stringLiteral3387223069;
extern String_t* _stringLiteral340085282;
extern String_t* _stringLiteral3409069272;
extern String_t* _stringLiteral3430462705;
extern String_t* _stringLiteral3451435000;
extern String_t* _stringLiteral3451565966;
extern String_t* _stringLiteral3452024719;
extern String_t* _stringLiteral3452614530;
extern String_t* _stringLiteral3452614543;
extern String_t* _stringLiteral3452614544;
extern String_t* _stringLiteral3452614623;
extern String_t* _stringLiteral3455564074;
extern String_t* _stringLiteral3456677854;
extern String_t* _stringLiteral3486530047;
extern String_t* _stringLiteral3493618073;
extern String_t* _stringLiteral3499506080;
extern String_t* _stringLiteral3519915121;
extern String_t* _stringLiteral3535070725;
extern String_t* _stringLiteral3592288577;
extern String_t* _stringLiteral3622179847;
extern String_t* _stringLiteral3746471772;
extern String_t* _stringLiteral3757118627;
extern String_t* _stringLiteral3786540042;
extern String_t* _stringLiteral3830216635;
extern String_t* _stringLiteral3839139460;
extern String_t* _stringLiteral3860822773;
extern String_t* _stringLiteral3860840281;
extern String_t* _stringLiteral3895113801;
extern String_t* _stringLiteral3906129098;
extern String_t* _stringLiteral3971508554;
extern String_t* _stringLiteral4008398740;
extern String_t* _stringLiteral4059074779;
extern String_t* _stringLiteral4107337270;
extern String_t* _stringLiteral4133402427;
extern String_t* _stringLiteral417504526;
extern String_t* _stringLiteral4195570472;
extern String_t* _stringLiteral4201447376;
extern String_t* _stringLiteral423468302;
extern String_t* _stringLiteral4242423987;
extern String_t* _stringLiteral4284309600;
extern String_t* _stringLiteral438779933;
extern String_t* _stringLiteral470035263;
extern String_t* _stringLiteral475316319;
extern String_t* _stringLiteral476027131;
extern String_t* _stringLiteral491063406;
extern String_t* _stringLiteral532208778;
extern String_t* _stringLiteral54796683;
extern String_t* _stringLiteral548517185;
extern String_t* _stringLiteral582970462;
extern String_t* _stringLiteral587613957;
extern String_t* _stringLiteral63249541;
extern String_t* _stringLiteral75338978;
extern String_t* _stringLiteral82125824;
extern String_t* _stringLiteral825954302;
extern String_t* _stringLiteral907065636;
extern String_t* _stringLiteral924502160;
extern String_t* _stringLiteral939428175;
extern String_t* _stringLiteral945956019;
extern String_t* _stringLiteral951479879;
extern String_t* _stringLiteral961554175;
extern String_t* _stringLiteral969659244;
extern const RuntimeMethod* ARC4Managed_CheckInput_m1562172012_RuntimeMethod_var;
extern const RuntimeMethod* ARC4Managed_TransformBlock_m1687647868_RuntimeMethod_var;
extern const RuntimeMethod* ASN1Convert_FromOid_m3844102704_RuntimeMethod_var;
extern const RuntimeMethod* ASN1Convert_ToDateTime_m1246060840_RuntimeMethod_var;
extern const RuntimeMethod* ASN1Convert_ToInt32_m1017403318_RuntimeMethod_var;
extern const RuntimeMethod* ASN1Convert_ToOid_m3847701408_RuntimeMethod_var;
extern const RuntimeMethod* ASN1__ctor_m1638893325_RuntimeMethod_var;
extern const RuntimeMethod* BigInteger_TestBit_m2798226118_RuntimeMethod_var;
extern const RuntimeMethod* BigInteger_ToString_m1181683046_RuntimeMethod_var;
extern const RuntimeMethod* BigInteger_op_Implicit_m2547142909_RuntimeMethod_var;
extern const RuntimeMethod* BigInteger_op_Multiply_m3683746602_RuntimeMethod_var;
extern const RuntimeMethod* BigInteger_op_Subtraction_m4245834512_RuntimeMethod_var;
extern const RuntimeMethod* CipherSuiteCollection_Add_m2046232751_RuntimeMethod_var;
extern const RuntimeMethod* CipherSuiteFactory_GetSupportedCiphers_m3260014148_RuntimeMethod_var;
extern const RuntimeMethod* CipherSuite_Write_m1172814058_RuntimeMethod_var;
extern const RuntimeMethod* CipherSuite_Write_m1841735015_RuntimeMethod_var;
extern const RuntimeMethod* ClientRecordProtocol_createClientHandshakeMessage_m3325677558_RuntimeMethod_var;
extern const RuntimeMethod* ClientRecordProtocol_createServerHandshakeMessage_m2804371400_RuntimeMethod_var;
extern const RuntimeMethod* ClientSessionInfo_CheckDisposed_m1172439856_RuntimeMethod_var;
extern const RuntimeMethod* ContentInfo__ctor_m3397951412_RuntimeMethod_var;
extern const RuntimeMethod* Context_ChangeProtocol_m2412635871_RuntimeMethod_var;
extern const RuntimeMethod* Context_DecodeProtocolCode_m2249547310_RuntimeMethod_var;
extern const RuntimeMethod* Context_get_Protocol_m1078422015_RuntimeMethod_var;
extern const RuntimeMethod* Context_get_SecurityProtocol_m3228286292_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2_Add_m282647386_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2_TryGetValue_m1013208020_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2__ctor_m2392909825_RuntimeMethod_var;
extern const RuntimeMethod* EncryptedData__ctor_m4001546383_RuntimeMethod_var;
extern const RuntimeMethod* EncryptedPrivateKeyInfo_Decode_m3008916518_RuntimeMethod_var;
extern const RuntimeMethod* HMAC_set_Key_m3535779141_RuntimeMethod_var;
extern const RuntimeMethod* HandshakeMessage_Process_m810828609_RuntimeMethod_var;
extern const RuntimeMethod* HttpsClientStream_U3CHttpsClientStreamU3Em__0_m2058474197_RuntimeMethod_var;
extern const RuntimeMethod* HttpsClientStream_U3CHttpsClientStreamU3Em__1_m1202173386_RuntimeMethod_var;
extern const RuntimeMethod* Kernel_LeftShift_m4140742987_RuntimeMethod_var;
extern const RuntimeMethod* Kernel_RightShift_m3246168448_RuntimeMethod_var;
extern const RuntimeMethod* Kernel_modInverse_m652700340_RuntimeMethod_var;
extern const RuntimeMethod* MD5SHA1_CreateSignature_m3583449066_RuntimeMethod_var;
extern const RuntimeMethod* MD5SHA1_VerifySignature_m915115209_RuntimeMethod_var;
extern const RuntimeMethod* ModulusRing_BarrettReduction_m3024442734_RuntimeMethod_var;
extern const RuntimeMethod* ModulusRing_Difference_m3686091506_RuntimeMethod_var;
extern const RuntimeMethod* PKCS1_Encode_v15_m2077073129_RuntimeMethod_var;
extern const RuntimeMethod* PrimalityTests_GetSPPRounds_m2558073743_RuntimeMethod_var;
extern const RuntimeMethod* PrimalityTests_RabinMillerTest_m2544317101_RuntimeMethod_var;
extern const RuntimeMethod* PrivateKeyInfo_DecodeDSA_m2335813142_RuntimeMethod_var;
extern const RuntimeMethod* PrivateKeyInfo_DecodeRSA_m4129124827_RuntimeMethod_var;
extern const RuntimeMethod* PrivateKeyInfo_Decode_m986145117_RuntimeMethod_var;
extern const RuntimeMethod* RSAManaged_DecryptValue_m1804388365_RuntimeMethod_var;
extern const RuntimeMethod* RSAManaged_EncryptValue_m4149543654_RuntimeMethod_var;
extern const RuntimeMethod* RSAManaged_ExportParameters_m1754454264_RuntimeMethod_var;
extern const RuntimeMethod* RSAManaged_ImportParameters_m1117427048_RuntimeMethod_var;
extern const RuntimeMethod* RSAManaged_ToXmlString_m2369501989_RuntimeMethod_var;
extern const RuntimeMethod* RSASslSignatureDeformatter_SetKey_m2204705853_RuntimeMethod_var;
extern const RuntimeMethod* RSASslSignatureDeformatter_VerifySignature_m1061897602_RuntimeMethod_var;
extern const RuntimeMethod* RSASslSignatureFormatter_CreateSignature_m2614788251_RuntimeMethod_var;
extern const RuntimeMethod* RSASslSignatureFormatter_SetKey_m979790541_RuntimeMethod_var;
extern const RuntimeMethod* RecordProtocol_BeginReceiveRecord_m295321170_RuntimeMethod_var;
extern const RuntimeMethod* RecordProtocol_BeginSendRecord_m3926976520_RuntimeMethod_var;
extern const RuntimeMethod* RecordProtocol_EncodeRecord_m3312835762_RuntimeMethod_var;
extern const RuntimeMethod* RecordProtocol_EndReceiveRecord_m1872541318_RuntimeMethod_var;
extern const RuntimeMethod* RecordProtocol_EndSendRecord_m4264777321_RuntimeMethod_var;
extern const RuntimeMethod* RecordProtocol_GetMessage_m2086135164_RuntimeMethod_var;
extern const RuntimeMethod* RecordProtocol_InternalReceiveRecordCallback_m1713318629_RuntimeMethod_var;
extern const RuntimeMethod* RecordProtocol_InternalSendRecordCallback_m682661965_RuntimeMethod_var;
extern const RuntimeMethod* RecordProtocol_ProcessAlert_m1036912531_RuntimeMethod_var;
extern const RuntimeMethod* RecordProtocol_ProcessCipherSpecV2Buffer_m487045483_RuntimeMethod_var;
extern const RuntimeMethod* RecordProtocol_ReadClientHelloV2_m4052496367_RuntimeMethod_var;
extern const RuntimeMethod* RecordProtocol_ReadRecordBuffer_m180543381_RuntimeMethod_var;
extern const RuntimeMethod* RecordProtocol_ReadStandardRecordBuffer_m3738063864_RuntimeMethod_var;
extern const RuntimeMethod* RecordProtocol_decryptRecordFragment_m66623237_RuntimeMethod_var;
extern const RuntimeMethod* SslClientStream_OnBeginNegotiateHandshake_m3734240069_RuntimeMethod_var;
extern const RuntimeMethod* SslClientStream_SafeReceiveRecord_m2217679740_RuntimeMethod_var;
extern const RuntimeMethod* SslClientStream__ctor_m3351906728_RuntimeMethod_var;
extern const RuntimeMethod* TlsClientCertificateVerify_ProcessAsSsl3_m1125097704_RuntimeMethod_var;
extern const RuntimeMethod* TlsClientCertificateVerify_ProcessAsTls1_m1051495755_RuntimeMethod_var;
extern const RuntimeMethod* TlsServerCertificate_validateCertificates_m4242999387_RuntimeMethod_var;
extern const RuntimeMethod* TlsServerFinished_ProcessAsSsl3_m2791932180_RuntimeMethod_var;
extern const RuntimeMethod* TlsServerFinished_ProcessAsTls1_m173877572_RuntimeMethod_var;
extern const RuntimeMethod* TlsServerHello_ProcessAsTls1_m3844152353_RuntimeMethod_var;
extern const RuntimeMethod* TlsServerHello_processProtocol_m3969427189_RuntimeMethod_var;
extern const RuntimeMethod* TlsServerKeyExchange_verifySignature_m3412856769_RuntimeMethod_var;
extern const RuntimeType* ContentType_t2602934270_0_0_0_var;
extern const RuntimeType* Int32_t2950945753_0_0_0_var;
extern const uint32_t ARC4Managed_CheckInput_m1562172012_MetadataUsageId;
extern const uint32_t ARC4Managed_GenerateIV_m2029637723_MetadataUsageId;
extern const uint32_t ARC4Managed_TransformBlock_m1687647868_MetadataUsageId;
extern const uint32_t ARC4Managed_TransformFinalBlock_m2223084380_MetadataUsageId;
extern const uint32_t ARC4Managed__ctor_m2553537404_MetadataUsageId;
extern const uint32_t ARC4Managed_get_Key_m2476146969_MetadataUsageId;
extern const uint32_t ARC4Managed_set_Key_m859266296_MetadataUsageId;
extern const uint32_t ASN1Convert_FromInt32_m1154451899_MetadataUsageId;
extern const uint32_t ASN1Convert_FromOid_m3844102704_MetadataUsageId;
extern const uint32_t ASN1Convert_ToDateTime_m1246060840_MetadataUsageId;
extern const uint32_t ASN1Convert_ToInt32_m1017403318_MetadataUsageId;
extern const uint32_t ASN1Convert_ToOid_m3847701408_MetadataUsageId;
extern const uint32_t ASN1_Add_m2431139999_MetadataUsageId;
extern const uint32_t ASN1_DecodeTLV_m3927350254_MetadataUsageId;
extern const uint32_t ASN1_Decode_m1245286596_MetadataUsageId;
extern const uint32_t ASN1_Element_m4088315026_MetadataUsageId;
extern const uint32_t ASN1_GetBytes_m1968380955_MetadataUsageId;
extern const uint32_t ASN1_ToString_m45458043_MetadataUsageId;
extern const uint32_t ASN1__ctor_m1638893325_MetadataUsageId;
extern const uint32_t ASN1_get_Item_m2255075813_MetadataUsageId;
extern const uint32_t ASN1_get_Value_m63296490_MetadataUsageId;
extern const uint32_t ASN1_set_Value_m647861841_MetadataUsageId;
extern const uint32_t Alert_GetAlertMessage_m1942367141_MetadataUsageId;
extern const uint32_t BigInteger_Equals_m63093403_MetadataUsageId;
extern const uint32_t BigInteger_GeneratePseudoPrime_m2547138838_MetadataUsageId;
extern const uint32_t BigInteger_GenerateRandom_m1790382084_MetadataUsageId;
extern const uint32_t BigInteger_GenerateRandom_m3872771375_MetadataUsageId;
extern const uint32_t BigInteger_GetBytes_m1259701831_MetadataUsageId;
extern const uint32_t BigInteger_LowestSetBit_m1199244228_MetadataUsageId;
extern const uint32_t BigInteger_ModPow_m3776562770_MetadataUsageId;
extern const uint32_t BigInteger_TestBit_m2798226118_MetadataUsageId;
extern const uint32_t BigInteger_ToString_m1181683046_MetadataUsageId;
extern const uint32_t BigInteger_ToString_m3260066955_MetadataUsageId;
extern const uint32_t BigInteger__cctor_m102257529_MetadataUsageId;
extern const uint32_t BigInteger__ctor_m2108826647_MetadataUsageId;
extern const uint32_t BigInteger__ctor_m2474659844_MetadataUsageId;
extern const uint32_t BigInteger__ctor_m2601366464_MetadataUsageId;
extern const uint32_t BigInteger__ctor_m2644482640_MetadataUsageId;
extern const uint32_t BigInteger__ctor_m3473491062_MetadataUsageId;
extern const uint32_t BigInteger_get_Rng_m3283260184_MetadataUsageId;
extern const uint32_t BigInteger_op_Addition_m1114527046_MetadataUsageId;
extern const uint32_t BigInteger_op_Equality_m1194739960_MetadataUsageId;
extern const uint32_t BigInteger_op_Implicit_m2547142909_MetadataUsageId;
extern const uint32_t BigInteger_op_Implicit_m3414367033_MetadataUsageId;
extern const uint32_t BigInteger_op_Inequality_m2697143438_MetadataUsageId;
extern const uint32_t BigInteger_op_Multiply_m3683746602_MetadataUsageId;
extern const uint32_t BigInteger_op_Subtraction_m4245834512_MetadataUsageId;
extern const uint32_t BitConverterLE_GetUIntBytes_m795219058_MetadataUsageId;
extern const uint32_t CipherSuiteCollection_Add_m2046232751_MetadataUsageId;
extern const uint32_t CipherSuiteCollection_IndexOf_m2232557119_MetadataUsageId;
extern const uint32_t CipherSuiteCollection_IndexOf_m2770510321_MetadataUsageId;
extern const uint32_t CipherSuiteCollection_System_Collections_IList_Add_m1178326810_MetadataUsageId;
extern const uint32_t CipherSuiteCollection_System_Collections_IList_Contains_m1220133031_MetadataUsageId;
extern const uint32_t CipherSuiteCollection_System_Collections_IList_IndexOf_m1361500977_MetadataUsageId;
extern const uint32_t CipherSuiteCollection_System_Collections_IList_Insert_m1567261820_MetadataUsageId;
extern const uint32_t CipherSuiteCollection_System_Collections_IList_Remove_m2463347416_MetadataUsageId;
extern const uint32_t CipherSuiteCollection_System_Collections_IList_set_Item_m904255570_MetadataUsageId;
extern const uint32_t CipherSuiteCollection__ctor_m384434353_MetadataUsageId;
extern const uint32_t CipherSuiteCollection_cultureAwareCompare_m2072548979_MetadataUsageId;
extern const uint32_t CipherSuiteCollection_get_Item_m2791953484_MetadataUsageId;
extern const uint32_t CipherSuiteCollection_get_Item_m3790183696_MetadataUsageId;
extern const uint32_t CipherSuiteCollection_get_Item_m4188309062_MetadataUsageId;
extern const uint32_t CipherSuiteFactory_GetSsl3SupportedCiphers_m3757358569_MetadataUsageId;
extern const uint32_t CipherSuiteFactory_GetSupportedCiphers_m3260014148_MetadataUsageId;
extern const uint32_t CipherSuiteFactory_GetTls1SupportedCiphers_m3691819504_MetadataUsageId;
extern const uint32_t CipherSuite_CreatePremasterSecret_m4264566459_MetadataUsageId;
extern const uint32_t CipherSuite_DecryptRecord_m1495386860_MetadataUsageId;
extern const uint32_t CipherSuite_EncryptRecord_m4196378593_MetadataUsageId;
extern const uint32_t CipherSuite_Expand_m2729769226_MetadataUsageId;
extern const uint32_t CipherSuite_PRF_m2801806009_MetadataUsageId;
extern const uint32_t CipherSuite_Write_m1172814058_MetadataUsageId;
extern const uint32_t CipherSuite_Write_m1841735015_MetadataUsageId;
extern const uint32_t CipherSuite__cctor_m3668442490_MetadataUsageId;
extern const uint32_t CipherSuite_createDecryptionCipher_m1176259509_MetadataUsageId;
extern const uint32_t CipherSuite_createEncryptionCipher_m2533565116_MetadataUsageId;
extern const uint32_t CipherSuite_get_HashAlgorithmName_m3758129154_MetadataUsageId;
extern const uint32_t ClientRecordProtocol_ProcessHandshakeMessage_m1002991731_MetadataUsageId;
extern const uint32_t ClientRecordProtocol__ctor_m2839844778_MetadataUsageId;
extern const uint32_t ClientRecordProtocol_createClientHandshakeMessage_m3325677558_MetadataUsageId;
extern const uint32_t ClientRecordProtocol_createServerHandshakeMessage_m2804371400_MetadataUsageId;
extern const uint32_t ClientSessionCache_Add_m964342678_MetadataUsageId;
extern const uint32_t ClientSessionCache_FromContext_m343076119_MetadataUsageId;
extern const uint32_t ClientSessionCache_FromHost_m273325760_MetadataUsageId;
extern const uint32_t ClientSessionCache_SetContextFromCache_m3781380849_MetadataUsageId;
extern const uint32_t ClientSessionCache_SetContextInCache_m2875733100_MetadataUsageId;
extern const uint32_t ClientSessionCache__cctor_m1380704214_MetadataUsageId;
extern const uint32_t ClientSessionInfo_CheckDisposed_m1172439856_MetadataUsageId;
extern const uint32_t ClientSessionInfo_Dispose_m3253728296_MetadataUsageId;
extern const uint32_t ClientSessionInfo_GetContext_m1679628259_MetadataUsageId;
extern const uint32_t ClientSessionInfo_KeepAlive_m1020179566_MetadataUsageId;
extern const uint32_t ClientSessionInfo_SetContext_m2115875186_MetadataUsageId;
extern const uint32_t ClientSessionInfo__cctor_m1143076802_MetadataUsageId;
extern const uint32_t ClientSessionInfo_get_Valid_m1260893789_MetadataUsageId;
extern const uint32_t ContentInfo_GetASN1_m2535172199_MetadataUsageId;
extern const uint32_t ContentInfo__ctor_m1955840786_MetadataUsageId;
extern const uint32_t ContentInfo__ctor_m2928874476_MetadataUsageId;
extern const uint32_t ContentInfo__ctor_m3397951412_MetadataUsageId;
extern const uint32_t Context_ChangeProtocol_m2412635871_MetadataUsageId;
extern const uint32_t Context_Clear_m2678836033_MetadataUsageId;
extern const uint32_t Context_DecodeProtocolCode_m2249547310_MetadataUsageId;
extern const uint32_t Context_GetSecureRandomBytes_m3676009387_MetadataUsageId;
extern const uint32_t Context_GetUnixTime_m3811151335_MetadataUsageId;
extern const uint32_t Context__ctor_m1288667393_MetadataUsageId;
extern const uint32_t Context_get_Current_m2853615040_MetadataUsageId;
extern const uint32_t Context_get_Negotiating_m2044579817_MetadataUsageId;
extern const uint32_t Context_get_Protocol_m1078422015_MetadataUsageId;
extern const uint32_t Context_get_SecurityProtocol_m3228286292_MetadataUsageId;
extern const uint32_t CryptoConvert_ToHex_m4034982758_MetadataUsageId;
extern const uint32_t EncryptedData__ctor_m4001546383_MetadataUsageId;
extern const uint32_t EncryptedData_get_EncryptedContent_m3205649670_MetadataUsageId;
extern const uint32_t EncryptedPrivateKeyInfo_Decode_m3008916518_MetadataUsageId;
extern const uint32_t EncryptedPrivateKeyInfo_get_EncryptedData_m491452551_MetadataUsageId;
extern const uint32_t EncryptedPrivateKeyInfo_get_Salt_m1261804721_MetadataUsageId;
extern const uint32_t HMAC_HashFinal_m1453827676_MetadataUsageId;
extern const uint32_t HMAC__ctor_m775015853_MetadataUsageId;
extern const uint32_t HMAC_get_Key_m1410673610_MetadataUsageId;
extern const uint32_t HMAC_initializePad_m59014980_MetadataUsageId;
extern const uint32_t HMAC_set_Key_m3535779141_MetadataUsageId;
extern const uint32_t HandshakeMessage_EncodeMessage_m3919107786_MetadataUsageId;
extern const uint32_t HandshakeMessage_Process_m810828609_MetadataUsageId;
extern const uint32_t HttpsClientStream_RaiseServerCertificateValidation_m3782467213_MetadataUsageId;
extern const uint32_t HttpsClientStream_U3CHttpsClientStreamU3Em__1_m1202173386_MetadataUsageId;
extern const uint32_t HttpsClientStream__ctor_m3125726871_MetadataUsageId;
extern const uint32_t Kernel_AddSameSign_m3267067385_MetadataUsageId;
extern const uint32_t Kernel_DwordDivMod_m1540317819_MetadataUsageId;
extern const uint32_t Kernel_LeftShift_m4140742987_MetadataUsageId;
extern const uint32_t Kernel_RightShift_m3246168448_MetadataUsageId;
extern const uint32_t Kernel_Subtract_m846005223_MetadataUsageId;
extern const uint32_t Kernel_modInverse_m4048046181_MetadataUsageId;
extern const uint32_t Kernel_modInverse_m652700340_MetadataUsageId;
extern const uint32_t Kernel_multiByteDivide_m450694282_MetadataUsageId;
extern const uint32_t KeyBuilder_Key_m1482371611_MetadataUsageId;
extern const uint32_t KeyBuilder_get_Rng_m983065666_MetadataUsageId;
extern const uint32_t MD2Managed_HashFinal_m808964912_MetadataUsageId;
extern const uint32_t MD2Managed_MD2Transform_m3143426291_MetadataUsageId;
extern const uint32_t MD2Managed_Padding_m1334210368_MetadataUsageId;
extern const uint32_t MD2Managed__cctor_m1915574725_MetadataUsageId;
extern const uint32_t MD2Managed__ctor_m3243422744_MetadataUsageId;
extern const uint32_t MD2_Create_m1292792200_MetadataUsageId;
extern const uint32_t MD2_Create_m3511476020_MetadataUsageId;
extern const uint32_t MD4Managed_HashFinal_m3850238392_MetadataUsageId;
extern const uint32_t MD4Managed_Padding_m3091724296_MetadataUsageId;
extern const uint32_t MD4Managed__ctor_m2284724408_MetadataUsageId;
extern const uint32_t MD4_Create_m1588482044_MetadataUsageId;
extern const uint32_t MD4_Create_m4111026039_MetadataUsageId;
extern const uint32_t MD5SHA1_CreateSignature_m3583449066_MetadataUsageId;
extern const uint32_t MD5SHA1_HashFinal_m4115488658_MetadataUsageId;
extern const uint32_t MD5SHA1_VerifySignature_m915115209_MetadataUsageId;
extern const uint32_t ModulusRing_BarrettReduction_m3024442734_MetadataUsageId;
extern const uint32_t ModulusRing_Difference_m3686091506_MetadataUsageId;
extern const uint32_t ModulusRing_Multiply_m1975391470_MetadataUsageId;
extern const uint32_t ModulusRing_Pow_m1124248336_MetadataUsageId;
extern const uint32_t ModulusRing_Pow_m729002192_MetadataUsageId;
extern const uint32_t ModulusRing__ctor_m2420310199_MetadataUsageId;
extern const uint32_t PKCS1_Encode_v15_m2077073129_MetadataUsageId;
extern const uint32_t PKCS1_I2OSP_m2559784711_MetadataUsageId;
extern const uint32_t PKCS1_OS2IP_m1443067185_MetadataUsageId;
extern const uint32_t PKCS1_Sign_v15_m3459793192_MetadataUsageId;
extern const uint32_t PKCS1_Verify_v15_m400093581_MetadataUsageId;
extern const uint32_t PKCS1_Verify_v15_m4192025173_MetadataUsageId;
extern const uint32_t PKCS1__cctor_m2848504824_MetadataUsageId;
extern const uint32_t PrimalityTest_BeginInvoke_m742423211_MetadataUsageId;
extern const uint32_t PrimalityTests_GetSPPRounds_m2558073743_MetadataUsageId;
extern const uint32_t PrimalityTests_RabinMillerTest_m2544317101_MetadataUsageId;
extern const uint32_t PrimeGeneratorBase_get_PrimalityTest_m2487240563_MetadataUsageId;
extern const uint32_t PrivateKeyInfo_DecodeDSA_m2335813142_MetadataUsageId;
extern const uint32_t PrivateKeyInfo_DecodeRSA_m4129124827_MetadataUsageId;
extern const uint32_t PrivateKeyInfo_Decode_m986145117_MetadataUsageId;
extern const uint32_t PrivateKeyInfo_Normalize_m2274647848_MetadataUsageId;
extern const uint32_t PrivateKeyInfo_RemoveLeadingZero_m3592760008_MetadataUsageId;
extern const uint32_t PrivateKeyInfo__ctor_m3331475997_MetadataUsageId;
extern const uint32_t PrivateKeyInfo_get_PrivateKey_m3647771102_MetadataUsageId;
extern const uint32_t RC4__cctor_m362546962_MetadataUsageId;
extern const uint32_t RC4__ctor_m3531760091_MetadataUsageId;
extern const uint32_t RC4_get_IV_m2290186270_MetadataUsageId;
extern const uint32_t RSAManaged_DecryptValue_m1804388365_MetadataUsageId;
extern const uint32_t RSAManaged_Dispose_m2347279430_MetadataUsageId;
extern const uint32_t RSAManaged_EncryptValue_m4149543654_MetadataUsageId;
extern const uint32_t RSAManaged_ExportParameters_m1754454264_MetadataUsageId;
extern const uint32_t RSAManaged_GenerateKeyPair_m2364618953_MetadataUsageId;
extern const uint32_t RSAManaged_GetPaddedValue_m2182626630_MetadataUsageId;
extern const uint32_t RSAManaged_ImportParameters_m1117427048_MetadataUsageId;
extern const uint32_t RSAManaged_ToXmlString_m2369501989_MetadataUsageId;
extern const uint32_t RSAManaged__ctor_m350841446_MetadataUsageId;
extern const uint32_t RSAManaged_get_PublicOnly_m405847294_MetadataUsageId;
extern const uint32_t RSASslSignatureDeformatter_SetHashAlgorithm_m895570787_MetadataUsageId;
extern const uint32_t RSASslSignatureDeformatter_SetKey_m2204705853_MetadataUsageId;
extern const uint32_t RSASslSignatureDeformatter_VerifySignature_m1061897602_MetadataUsageId;
extern const uint32_t RSASslSignatureFormatter_CreateSignature_m2614788251_MetadataUsageId;
extern const uint32_t RSASslSignatureFormatter_SetHashAlgorithm_m3864232300_MetadataUsageId;
extern const uint32_t RSASslSignatureFormatter_SetKey_m979790541_MetadataUsageId;
extern const uint32_t ReceiveRecordAsyncResult__ctor_m277637112_MetadataUsageId;
extern const uint32_t ReceiveRecordAsyncResult_get_AsyncWaitHandle_m1781023438_MetadataUsageId;
extern const uint32_t RecordProtocol_BeginReceiveRecord_m295321170_MetadataUsageId;
extern const uint32_t RecordProtocol_BeginSendRecord_m3926976520_MetadataUsageId;
extern const uint32_t RecordProtocol_BeginSendRecord_m615249746_MetadataUsageId;
extern const uint32_t RecordProtocol_EncodeRecord_m3312835762_MetadataUsageId;
extern const uint32_t RecordProtocol_EndReceiveRecord_m1872541318_MetadataUsageId;
extern const uint32_t RecordProtocol_EndSendRecord_m4264777321_MetadataUsageId;
extern const uint32_t RecordProtocol_GetMessage_m2086135164_MetadataUsageId;
extern const uint32_t RecordProtocol_InternalReceiveRecordCallback_m1713318629_MetadataUsageId;
extern const uint32_t RecordProtocol_InternalSendRecordCallback_m682661965_MetadataUsageId;
extern const uint32_t RecordProtocol_MapV2CipherCode_m4087331414_MetadataUsageId;
extern const uint32_t RecordProtocol_ProcessAlert_m1036912531_MetadataUsageId;
extern const uint32_t RecordProtocol_ProcessChangeCipherSpec_m15839975_MetadataUsageId;
extern const uint32_t RecordProtocol_ProcessCipherSpecV2Buffer_m487045483_MetadataUsageId;
extern const uint32_t RecordProtocol_ReadClientHelloV2_m4052496367_MetadataUsageId;
extern const uint32_t RecordProtocol_ReadRecordBuffer_m180543381_MetadataUsageId;
extern const uint32_t RecordProtocol_ReadStandardRecordBuffer_m3738063864_MetadataUsageId;
extern const uint32_t RecordProtocol_SendAlert_m1931708341_MetadataUsageId;
extern const uint32_t RecordProtocol_SendAlert_m2670098001_MetadataUsageId;
extern const uint32_t RecordProtocol_SendAlert_m3736432480_MetadataUsageId;
extern const uint32_t RecordProtocol_SendChangeCipherSpec_m464005157_MetadataUsageId;
extern const uint32_t RecordProtocol__cctor_m1280873827_MetadataUsageId;
extern const uint32_t RecordProtocol_decryptRecordFragment_m66623237_MetadataUsageId;
extern const uint32_t RecordProtocol_encryptRecordFragment_m710101985_MetadataUsageId;
extern const uint32_t SendRecordAsyncResult__ctor_m425551707_MetadataUsageId;
extern const uint32_t SendRecordAsyncResult_get_AsyncWaitHandle_m1466641472_MetadataUsageId;
extern const uint32_t SequentialSearchPrimeGeneratorBase_GenerateNewPrime_m2891860459_MetadataUsageId;
extern const uint32_t SequentialSearchPrimeGeneratorBase_GenerateSearchBase_m1918143664_MetadataUsageId;
extern const uint32_t SslCipherSuite_ComputeClientRecordMAC_m3756410489_MetadataUsageId;
extern const uint32_t SslCipherSuite_ComputeKeys_m661027754_MetadataUsageId;
extern const uint32_t SslCipherSuite_ComputeMasterSecret_m3963626850_MetadataUsageId;
extern const uint32_t SslCipherSuite_ComputeServerRecordMAC_m1297079805_MetadataUsageId;
extern const uint32_t SslCipherSuite__ctor_m1470082018_MetadataUsageId;
extern const uint32_t SslCipherSuite_prf_m922878400_MetadataUsageId;
extern const uint32_t SslClientStream_OnBeginNegotiateHandshake_m3734240069_MetadataUsageId;
extern const uint32_t SslClientStream_OnNegotiateHandshakeCallback_m4211921295_MetadataUsageId;
extern const uint32_t SslClientStream_SafeReceiveRecord_m2217679740_MetadataUsageId;
extern const uint32_t SslClientStream__ctor_m3351906728_MetadataUsageId;
extern const uint32_t SslClientStream__ctor_m3478574780_MetadataUsageId;
extern const uint32_t SslClientStream__ctor_m4190306291_MetadataUsageId;
extern const uint32_t SslClientStream_add_ClientCertSelection_m1387948363_MetadataUsageId;
extern const uint32_t SslClientStream_add_PrivateKeySelection_m1663125063_MetadataUsageId;
extern const uint32_t SslClientStream_add_ServerCertValidation2_m3943665702_MetadataUsageId;
extern const uint32_t SslClientStream_add_ServerCertValidation_m2218216724_MetadataUsageId;
extern const uint32_t SslClientStream_remove_ClientCertSelection_m24681826_MetadataUsageId;
extern const uint32_t SslClientStream_remove_PrivateKeySelection_m3637735463_MetadataUsageId;
extern const uint32_t SslClientStream_remove_ServerCertValidation2_m4151895043_MetadataUsageId;
extern const uint32_t SslClientStream_remove_ServerCertValidation_m1143339871_MetadataUsageId;
extern const uint32_t TlsClientCertificateVerify_ProcessAsSsl3_m1125097704_MetadataUsageId;
extern const uint32_t TlsClientCertificateVerify_ProcessAsTls1_m1051495755_MetadataUsageId;
extern const uint32_t TlsClientCertificateVerify_getClientCertRSA_m1205662940_MetadataUsageId;
extern const uint32_t TlsClientCertificateVerify_getUnsignedBigInteger_m3003216819_MetadataUsageId;
extern const uint32_t TlsClientCertificate_FindParentCertificate_m3844441401_MetadataUsageId;
extern const uint32_t TlsClientCertificate_GetClientCertificate_m566867090_MetadataUsageId;
extern const uint32_t TlsClientCertificate_SendCertificates_m1965594186_MetadataUsageId;
extern const uint32_t TlsClientFinished_ProcessAsSsl3_m3094597606_MetadataUsageId;
extern const uint32_t TlsClientFinished_ProcessAsTls1_m2429863130_MetadataUsageId;
extern const uint32_t TlsClientFinished__cctor_m1023921005_MetadataUsageId;
extern const uint32_t TlsClientHello_ProcessAsTls1_m2549285167_MetadataUsageId;
extern const uint32_t TlsClientHello_Update_m3773127362_MetadataUsageId;
extern const uint32_t TlsClientKeyExchange_ProcessCommon_m2327374157_MetadataUsageId;
extern const uint32_t TlsServerCertificateRequest_ProcessAsTls1_m3214041063_MetadataUsageId;
extern const uint32_t TlsServerCertificate_Match_m2996121276_MetadataUsageId;
extern const uint32_t TlsServerCertificate_ProcessAsTls1_m819212276_MetadataUsageId;
extern const uint32_t TlsServerCertificate_checkCertificateUsage_m2152016773_MetadataUsageId;
extern const uint32_t TlsServerCertificate_checkDomainName_m2543190336_MetadataUsageId;
extern const uint32_t TlsServerCertificate_checkServerIdentity_m2801575130_MetadataUsageId;
extern const uint32_t TlsServerCertificate_validateCertificates_m4242999387_MetadataUsageId;
extern const uint32_t TlsServerFinished_ProcessAsSsl3_m2791932180_MetadataUsageId;
extern const uint32_t TlsServerFinished_ProcessAsTls1_m173877572_MetadataUsageId;
extern const uint32_t TlsServerFinished__cctor_m3102699406_MetadataUsageId;
extern const uint32_t TlsServerHello_ProcessAsTls1_m3844152353_MetadataUsageId;
extern const uint32_t TlsServerHello_Update_m3935081401_MetadataUsageId;
extern const uint32_t TlsServerHello_processProtocol_m3969427189_MetadataUsageId;
extern const uint32_t TlsServerKeyExchange_verifySignature_m3412856769_MetadataUsageId;
struct BigIntegerU5BU5D_t2349952477;
struct ClientCertificateTypeU5BU5D_t4253920197;
struct ByteU5BU5D_t4116647657;
struct ByteU5BU5DU5BU5D_t457913172;
struct Int32U5BU5D_t385246372;
struct ObjectU5BU5D_t2843939325;
struct KeySizesU5BU5D_t722666473;
struct X509CertificateU5BU5D_t3145106755;
struct StringU5BU5D_t1281789340;
struct UInt32U5BU5D_t2770800703;
#ifndef U3CMODULEU3E_T692745527_H
#define U3CMODULEU3E_T692745527_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <Module>
struct U3CModuleU3E_t692745527
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U3CMODULEU3E_T692745527_H
#ifndef RUNTIMEOBJECT_H
#define RUNTIMEOBJECT_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Object
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RUNTIMEOBJECT_H
#ifndef LOCALE_T4128636109_H
#define LOCALE_T4128636109_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Locale
struct Locale_t4128636109 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LOCALE_T4128636109_H
#ifndef BIGINTEGER_T2902905090_H
#define BIGINTEGER_T2902905090_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Math.BigInteger
struct BigInteger_t2902905090 : public RuntimeObject
{
public:
// System.UInt32 Mono.Math.BigInteger::length
uint32_t ___length_0;
// System.UInt32[] Mono.Math.BigInteger::data
UInt32U5BU5D_t2770800703* ___data_1;
public:
inline static int32_t get_offset_of_length_0() { return static_cast<int32_t>(offsetof(BigInteger_t2902905090, ___length_0)); }
inline uint32_t get_length_0() const { return ___length_0; }
inline uint32_t* get_address_of_length_0() { return &___length_0; }
inline void set_length_0(uint32_t value)
{
___length_0 = value;
}
inline static int32_t get_offset_of_data_1() { return static_cast<int32_t>(offsetof(BigInteger_t2902905090, ___data_1)); }
inline UInt32U5BU5D_t2770800703* get_data_1() const { return ___data_1; }
inline UInt32U5BU5D_t2770800703** get_address_of_data_1() { return &___data_1; }
inline void set_data_1(UInt32U5BU5D_t2770800703* value)
{
___data_1 = value;
Il2CppCodeGenWriteBarrier((&___data_1), value);
}
};
struct BigInteger_t2902905090_StaticFields
{
public:
// System.UInt32[] Mono.Math.BigInteger::smallPrimes
UInt32U5BU5D_t2770800703* ___smallPrimes_2;
// System.Security.Cryptography.RandomNumberGenerator Mono.Math.BigInteger::rng
RandomNumberGenerator_t386037858 * ___rng_3;
public:
inline static int32_t get_offset_of_smallPrimes_2() { return static_cast<int32_t>(offsetof(BigInteger_t2902905090_StaticFields, ___smallPrimes_2)); }
inline UInt32U5BU5D_t2770800703* get_smallPrimes_2() const { return ___smallPrimes_2; }
inline UInt32U5BU5D_t2770800703** get_address_of_smallPrimes_2() { return &___smallPrimes_2; }
inline void set_smallPrimes_2(UInt32U5BU5D_t2770800703* value)
{
___smallPrimes_2 = value;
Il2CppCodeGenWriteBarrier((&___smallPrimes_2), value);
}
inline static int32_t get_offset_of_rng_3() { return static_cast<int32_t>(offsetof(BigInteger_t2902905090_StaticFields, ___rng_3)); }
inline RandomNumberGenerator_t386037858 * get_rng_3() const { return ___rng_3; }
inline RandomNumberGenerator_t386037858 ** get_address_of_rng_3() { return &___rng_3; }
inline void set_rng_3(RandomNumberGenerator_t386037858 * value)
{
___rng_3 = value;
Il2CppCodeGenWriteBarrier((&___rng_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BIGINTEGER_T2902905090_H
#ifndef KERNEL_T1402667220_H
#define KERNEL_T1402667220_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Math.BigInteger/Kernel
struct Kernel_t1402667220 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // KERNEL_T1402667220_H
#ifndef MODULUSRING_T596511505_H
#define MODULUSRING_T596511505_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Math.BigInteger/ModulusRing
struct ModulusRing_t596511505 : public RuntimeObject
{
public:
// Mono.Math.BigInteger Mono.Math.BigInteger/ModulusRing::mod
BigInteger_t2902905090 * ___mod_0;
// Mono.Math.BigInteger Mono.Math.BigInteger/ModulusRing::constant
BigInteger_t2902905090 * ___constant_1;
public:
inline static int32_t get_offset_of_mod_0() { return static_cast<int32_t>(offsetof(ModulusRing_t596511505, ___mod_0)); }
inline BigInteger_t2902905090 * get_mod_0() const { return ___mod_0; }
inline BigInteger_t2902905090 ** get_address_of_mod_0() { return &___mod_0; }
inline void set_mod_0(BigInteger_t2902905090 * value)
{
___mod_0 = value;
Il2CppCodeGenWriteBarrier((&___mod_0), value);
}
inline static int32_t get_offset_of_constant_1() { return static_cast<int32_t>(offsetof(ModulusRing_t596511505, ___constant_1)); }
inline BigInteger_t2902905090 * get_constant_1() const { return ___constant_1; }
inline BigInteger_t2902905090 ** get_address_of_constant_1() { return &___constant_1; }
inline void set_constant_1(BigInteger_t2902905090 * value)
{
___constant_1 = value;
Il2CppCodeGenWriteBarrier((&___constant_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MODULUSRING_T596511505_H
#ifndef PRIMEGENERATORBASE_T446028867_H
#define PRIMEGENERATORBASE_T446028867_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Math.Prime.Generator.PrimeGeneratorBase
struct PrimeGeneratorBase_t446028867 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PRIMEGENERATORBASE_T446028867_H
#ifndef PRIMALITYTESTS_T1538473976_H
#define PRIMALITYTESTS_T1538473976_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Math.Prime.PrimalityTests
struct PrimalityTests_t1538473976 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PRIMALITYTESTS_T1538473976_H
#ifndef ASN1_T2114160833_H
#define ASN1_T2114160833_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.ASN1
struct ASN1_t2114160833 : public RuntimeObject
{
public:
// System.Byte Mono.Security.ASN1::m_nTag
uint8_t ___m_nTag_0;
// System.Byte[] Mono.Security.ASN1::m_aValue
ByteU5BU5D_t4116647657* ___m_aValue_1;
// System.Collections.ArrayList Mono.Security.ASN1::elist
ArrayList_t2718874744 * ___elist_2;
public:
inline static int32_t get_offset_of_m_nTag_0() { return static_cast<int32_t>(offsetof(ASN1_t2114160833, ___m_nTag_0)); }
inline uint8_t get_m_nTag_0() const { return ___m_nTag_0; }
inline uint8_t* get_address_of_m_nTag_0() { return &___m_nTag_0; }
inline void set_m_nTag_0(uint8_t value)
{
___m_nTag_0 = value;
}
inline static int32_t get_offset_of_m_aValue_1() { return static_cast<int32_t>(offsetof(ASN1_t2114160833, ___m_aValue_1)); }
inline ByteU5BU5D_t4116647657* get_m_aValue_1() const { return ___m_aValue_1; }
inline ByteU5BU5D_t4116647657** get_address_of_m_aValue_1() { return &___m_aValue_1; }
inline void set_m_aValue_1(ByteU5BU5D_t4116647657* value)
{
___m_aValue_1 = value;
Il2CppCodeGenWriteBarrier((&___m_aValue_1), value);
}
inline static int32_t get_offset_of_elist_2() { return static_cast<int32_t>(offsetof(ASN1_t2114160833, ___elist_2)); }
inline ArrayList_t2718874744 * get_elist_2() const { return ___elist_2; }
inline ArrayList_t2718874744 ** get_address_of_elist_2() { return &___elist_2; }
inline void set_elist_2(ArrayList_t2718874744 * value)
{
___elist_2 = value;
Il2CppCodeGenWriteBarrier((&___elist_2), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ASN1_T2114160833_H
#ifndef ASN1CONVERT_T2839890153_H
#define ASN1CONVERT_T2839890153_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.ASN1Convert
struct ASN1Convert_t2839890153 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ASN1CONVERT_T2839890153_H
#ifndef BITCONVERTERLE_T2108532979_H
#define BITCONVERTERLE_T2108532979_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.BitConverterLE
struct BitConverterLE_t2108532979 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BITCONVERTERLE_T2108532979_H
#ifndef CRYPTOCONVERT_T610933157_H
#define CRYPTOCONVERT_T610933157_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Cryptography.CryptoConvert
struct CryptoConvert_t610933157 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CRYPTOCONVERT_T610933157_H
#ifndef KEYBUILDER_T2049230355_H
#define KEYBUILDER_T2049230355_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Cryptography.KeyBuilder
struct KeyBuilder_t2049230355 : public RuntimeObject
{
public:
public:
};
struct KeyBuilder_t2049230355_StaticFields
{
public:
// System.Security.Cryptography.RandomNumberGenerator Mono.Security.Cryptography.KeyBuilder::rng
RandomNumberGenerator_t386037858 * ___rng_0;
public:
inline static int32_t get_offset_of_rng_0() { return static_cast<int32_t>(offsetof(KeyBuilder_t2049230355_StaticFields, ___rng_0)); }
inline RandomNumberGenerator_t386037858 * get_rng_0() const { return ___rng_0; }
inline RandomNumberGenerator_t386037858 ** get_address_of_rng_0() { return &___rng_0; }
inline void set_rng_0(RandomNumberGenerator_t386037858 * value)
{
___rng_0 = value;
Il2CppCodeGenWriteBarrier((&___rng_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // KEYBUILDER_T2049230355_H
#ifndef PKCS1_T1505584677_H
#define PKCS1_T1505584677_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Cryptography.PKCS1
struct PKCS1_t1505584677 : public RuntimeObject
{
public:
public:
};
struct PKCS1_t1505584677_StaticFields
{
public:
// System.Byte[] Mono.Security.Cryptography.PKCS1::emptySHA1
ByteU5BU5D_t4116647657* ___emptySHA1_0;
// System.Byte[] Mono.Security.Cryptography.PKCS1::emptySHA256
ByteU5BU5D_t4116647657* ___emptySHA256_1;
// System.Byte[] Mono.Security.Cryptography.PKCS1::emptySHA384
ByteU5BU5D_t4116647657* ___emptySHA384_2;
// System.Byte[] Mono.Security.Cryptography.PKCS1::emptySHA512
ByteU5BU5D_t4116647657* ___emptySHA512_3;
public:
inline static int32_t get_offset_of_emptySHA1_0() { return static_cast<int32_t>(offsetof(PKCS1_t1505584677_StaticFields, ___emptySHA1_0)); }
inline ByteU5BU5D_t4116647657* get_emptySHA1_0() const { return ___emptySHA1_0; }
inline ByteU5BU5D_t4116647657** get_address_of_emptySHA1_0() { return &___emptySHA1_0; }
inline void set_emptySHA1_0(ByteU5BU5D_t4116647657* value)
{
___emptySHA1_0 = value;
Il2CppCodeGenWriteBarrier((&___emptySHA1_0), value);
}
inline static int32_t get_offset_of_emptySHA256_1() { return static_cast<int32_t>(offsetof(PKCS1_t1505584677_StaticFields, ___emptySHA256_1)); }
inline ByteU5BU5D_t4116647657* get_emptySHA256_1() const { return ___emptySHA256_1; }
inline ByteU5BU5D_t4116647657** get_address_of_emptySHA256_1() { return &___emptySHA256_1; }
inline void set_emptySHA256_1(ByteU5BU5D_t4116647657* value)
{
___emptySHA256_1 = value;
Il2CppCodeGenWriteBarrier((&___emptySHA256_1), value);
}
inline static int32_t get_offset_of_emptySHA384_2() { return static_cast<int32_t>(offsetof(PKCS1_t1505584677_StaticFields, ___emptySHA384_2)); }
inline ByteU5BU5D_t4116647657* get_emptySHA384_2() const { return ___emptySHA384_2; }
inline ByteU5BU5D_t4116647657** get_address_of_emptySHA384_2() { return &___emptySHA384_2; }
inline void set_emptySHA384_2(ByteU5BU5D_t4116647657* value)
{
___emptySHA384_2 = value;
Il2CppCodeGenWriteBarrier((&___emptySHA384_2), value);
}
inline static int32_t get_offset_of_emptySHA512_3() { return static_cast<int32_t>(offsetof(PKCS1_t1505584677_StaticFields, ___emptySHA512_3)); }
inline ByteU5BU5D_t4116647657* get_emptySHA512_3() const { return ___emptySHA512_3; }
inline ByteU5BU5D_t4116647657** get_address_of_emptySHA512_3() { return &___emptySHA512_3; }
inline void set_emptySHA512_3(ByteU5BU5D_t4116647657* value)
{
___emptySHA512_3 = value;
Il2CppCodeGenWriteBarrier((&___emptySHA512_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PKCS1_T1505584677_H
#ifndef PKCS8_T696280613_H
#define PKCS8_T696280613_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Cryptography.PKCS8
struct PKCS8_t696280613 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PKCS8_T696280613_H
#ifndef ENCRYPTEDPRIVATEKEYINFO_T862116836_H
#define ENCRYPTEDPRIVATEKEYINFO_T862116836_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo
struct EncryptedPrivateKeyInfo_t862116836 : public RuntimeObject
{
public:
// System.String Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo::_algorithm
String_t* ____algorithm_0;
// System.Byte[] Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo::_salt
ByteU5BU5D_t4116647657* ____salt_1;
// System.Int32 Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo::_iterations
int32_t ____iterations_2;
// System.Byte[] Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo::_data
ByteU5BU5D_t4116647657* ____data_3;
public:
inline static int32_t get_offset_of__algorithm_0() { return static_cast<int32_t>(offsetof(EncryptedPrivateKeyInfo_t862116836, ____algorithm_0)); }
inline String_t* get__algorithm_0() const { return ____algorithm_0; }
inline String_t** get_address_of__algorithm_0() { return &____algorithm_0; }
inline void set__algorithm_0(String_t* value)
{
____algorithm_0 = value;
Il2CppCodeGenWriteBarrier((&____algorithm_0), value);
}
inline static int32_t get_offset_of__salt_1() { return static_cast<int32_t>(offsetof(EncryptedPrivateKeyInfo_t862116836, ____salt_1)); }
inline ByteU5BU5D_t4116647657* get__salt_1() const { return ____salt_1; }
inline ByteU5BU5D_t4116647657** get_address_of__salt_1() { return &____salt_1; }
inline void set__salt_1(ByteU5BU5D_t4116647657* value)
{
____salt_1 = value;
Il2CppCodeGenWriteBarrier((&____salt_1), value);
}
inline static int32_t get_offset_of__iterations_2() { return static_cast<int32_t>(offsetof(EncryptedPrivateKeyInfo_t862116836, ____iterations_2)); }
inline int32_t get__iterations_2() const { return ____iterations_2; }
inline int32_t* get_address_of__iterations_2() { return &____iterations_2; }
inline void set__iterations_2(int32_t value)
{
____iterations_2 = value;
}
inline static int32_t get_offset_of__data_3() { return static_cast<int32_t>(offsetof(EncryptedPrivateKeyInfo_t862116836, ____data_3)); }
inline ByteU5BU5D_t4116647657* get__data_3() const { return ____data_3; }
inline ByteU5BU5D_t4116647657** get_address_of__data_3() { return &____data_3; }
inline void set__data_3(ByteU5BU5D_t4116647657* value)
{
____data_3 = value;
Il2CppCodeGenWriteBarrier((&____data_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENCRYPTEDPRIVATEKEYINFO_T862116836_H
#ifndef PRIVATEKEYINFO_T668027993_H
#define PRIVATEKEYINFO_T668027993_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Cryptography.PKCS8/PrivateKeyInfo
struct PrivateKeyInfo_t668027993 : public RuntimeObject
{
public:
// System.Int32 Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::_version
int32_t ____version_0;
// System.String Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::_algorithm
String_t* ____algorithm_1;
// System.Byte[] Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::_key
ByteU5BU5D_t4116647657* ____key_2;
// System.Collections.ArrayList Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::_list
ArrayList_t2718874744 * ____list_3;
public:
inline static int32_t get_offset_of__version_0() { return static_cast<int32_t>(offsetof(PrivateKeyInfo_t668027993, ____version_0)); }
inline int32_t get__version_0() const { return ____version_0; }
inline int32_t* get_address_of__version_0() { return &____version_0; }
inline void set__version_0(int32_t value)
{
____version_0 = value;
}
inline static int32_t get_offset_of__algorithm_1() { return static_cast<int32_t>(offsetof(PrivateKeyInfo_t668027993, ____algorithm_1)); }
inline String_t* get__algorithm_1() const { return ____algorithm_1; }
inline String_t** get_address_of__algorithm_1() { return &____algorithm_1; }
inline void set__algorithm_1(String_t* value)
{
____algorithm_1 = value;
Il2CppCodeGenWriteBarrier((&____algorithm_1), value);
}
inline static int32_t get_offset_of__key_2() { return static_cast<int32_t>(offsetof(PrivateKeyInfo_t668027993, ____key_2)); }
inline ByteU5BU5D_t4116647657* get__key_2() const { return ____key_2; }
inline ByteU5BU5D_t4116647657** get_address_of__key_2() { return &____key_2; }
inline void set__key_2(ByteU5BU5D_t4116647657* value)
{
____key_2 = value;
Il2CppCodeGenWriteBarrier((&____key_2), value);
}
inline static int32_t get_offset_of__list_3() { return static_cast<int32_t>(offsetof(PrivateKeyInfo_t668027993, ____list_3)); }
inline ArrayList_t2718874744 * get__list_3() const { return ____list_3; }
inline ArrayList_t2718874744 ** get_address_of__list_3() { return &____list_3; }
inline void set__list_3(ArrayList_t2718874744 * value)
{
____list_3 = value;
Il2CppCodeGenWriteBarrier((&____list_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PRIVATEKEYINFO_T668027993_H
#ifndef PKCS7_T1860834339_H
#define PKCS7_T1860834339_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.PKCS7
struct PKCS7_t1860834339 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PKCS7_T1860834339_H
#ifndef CONTENTINFO_T3218159896_H
#define CONTENTINFO_T3218159896_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.PKCS7/ContentInfo
struct ContentInfo_t3218159896 : public RuntimeObject
{
public:
// System.String Mono.Security.PKCS7/ContentInfo::contentType
String_t* ___contentType_0;
// Mono.Security.ASN1 Mono.Security.PKCS7/ContentInfo::content
ASN1_t2114160833 * ___content_1;
public:
inline static int32_t get_offset_of_contentType_0() { return static_cast<int32_t>(offsetof(ContentInfo_t3218159896, ___contentType_0)); }
inline String_t* get_contentType_0() const { return ___contentType_0; }
inline String_t** get_address_of_contentType_0() { return &___contentType_0; }
inline void set_contentType_0(String_t* value)
{
___contentType_0 = value;
Il2CppCodeGenWriteBarrier((&___contentType_0), value);
}
inline static int32_t get_offset_of_content_1() { return static_cast<int32_t>(offsetof(ContentInfo_t3218159896, ___content_1)); }
inline ASN1_t2114160833 * get_content_1() const { return ___content_1; }
inline ASN1_t2114160833 ** get_address_of_content_1() { return &___content_1; }
inline void set_content_1(ASN1_t2114160833 * value)
{
___content_1 = value;
Il2CppCodeGenWriteBarrier((&___content_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CONTENTINFO_T3218159896_H
#ifndef ENCRYPTEDDATA_T3577548733_H
#define ENCRYPTEDDATA_T3577548733_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.PKCS7/EncryptedData
struct EncryptedData_t3577548733 : public RuntimeObject
{
public:
// System.Byte Mono.Security.PKCS7/EncryptedData::_version
uint8_t ____version_0;
// Mono.Security.PKCS7/ContentInfo Mono.Security.PKCS7/EncryptedData::_content
ContentInfo_t3218159896 * ____content_1;
// Mono.Security.PKCS7/ContentInfo Mono.Security.PKCS7/EncryptedData::_encryptionAlgorithm
ContentInfo_t3218159896 * ____encryptionAlgorithm_2;
// System.Byte[] Mono.Security.PKCS7/EncryptedData::_encrypted
ByteU5BU5D_t4116647657* ____encrypted_3;
public:
inline static int32_t get_offset_of__version_0() { return static_cast<int32_t>(offsetof(EncryptedData_t3577548733, ____version_0)); }
inline uint8_t get__version_0() const { return ____version_0; }
inline uint8_t* get_address_of__version_0() { return &____version_0; }
inline void set__version_0(uint8_t value)
{
____version_0 = value;
}
inline static int32_t get_offset_of__content_1() { return static_cast<int32_t>(offsetof(EncryptedData_t3577548733, ____content_1)); }
inline ContentInfo_t3218159896 * get__content_1() const { return ____content_1; }
inline ContentInfo_t3218159896 ** get_address_of__content_1() { return &____content_1; }
inline void set__content_1(ContentInfo_t3218159896 * value)
{
____content_1 = value;
Il2CppCodeGenWriteBarrier((&____content_1), value);
}
inline static int32_t get_offset_of__encryptionAlgorithm_2() { return static_cast<int32_t>(offsetof(EncryptedData_t3577548733, ____encryptionAlgorithm_2)); }
inline ContentInfo_t3218159896 * get__encryptionAlgorithm_2() const { return ____encryptionAlgorithm_2; }
inline ContentInfo_t3218159896 ** get_address_of__encryptionAlgorithm_2() { return &____encryptionAlgorithm_2; }
inline void set__encryptionAlgorithm_2(ContentInfo_t3218159896 * value)
{
____encryptionAlgorithm_2 = value;
Il2CppCodeGenWriteBarrier((&____encryptionAlgorithm_2), value);
}
inline static int32_t get_offset_of__encrypted_3() { return static_cast<int32_t>(offsetof(EncryptedData_t3577548733, ____encrypted_3)); }
inline ByteU5BU5D_t4116647657* get__encrypted_3() const { return ____encrypted_3; }
inline ByteU5BU5D_t4116647657** get_address_of__encrypted_3() { return &____encrypted_3; }
inline void set__encrypted_3(ByteU5BU5D_t4116647657* value)
{
____encrypted_3 = value;
Il2CppCodeGenWriteBarrier((&____encrypted_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENCRYPTEDDATA_T3577548733_H
#ifndef CIPHERSUITEFACTORY_T3316559455_H
#define CIPHERSUITEFACTORY_T3316559455_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.CipherSuiteFactory
struct CipherSuiteFactory_t3316559455 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CIPHERSUITEFACTORY_T3316559455_H
#ifndef CLIENTSESSIONCACHE_T2353595803_H
#define CLIENTSESSIONCACHE_T2353595803_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.ClientSessionCache
struct ClientSessionCache_t2353595803 : public RuntimeObject
{
public:
public:
};
struct ClientSessionCache_t2353595803_StaticFields
{
public:
// System.Collections.Hashtable Mono.Security.Protocol.Tls.ClientSessionCache::cache
Hashtable_t1853889766 * ___cache_0;
// System.Object Mono.Security.Protocol.Tls.ClientSessionCache::locker
RuntimeObject * ___locker_1;
public:
inline static int32_t get_offset_of_cache_0() { return static_cast<int32_t>(offsetof(ClientSessionCache_t2353595803_StaticFields, ___cache_0)); }
inline Hashtable_t1853889766 * get_cache_0() const { return ___cache_0; }
inline Hashtable_t1853889766 ** get_address_of_cache_0() { return &___cache_0; }
inline void set_cache_0(Hashtable_t1853889766 * value)
{
___cache_0 = value;
Il2CppCodeGenWriteBarrier((&___cache_0), value);
}
inline static int32_t get_offset_of_locker_1() { return static_cast<int32_t>(offsetof(ClientSessionCache_t2353595803_StaticFields, ___locker_1)); }
inline RuntimeObject * get_locker_1() const { return ___locker_1; }
inline RuntimeObject ** get_address_of_locker_1() { return &___locker_1; }
inline void set_locker_1(RuntimeObject * value)
{
___locker_1 = value;
Il2CppCodeGenWriteBarrier((&___locker_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CLIENTSESSIONCACHE_T2353595803_H
#ifndef RECORDPROTOCOL_T3759049701_H
#define RECORDPROTOCOL_T3759049701_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.RecordProtocol
struct RecordProtocol_t3759049701 : public RuntimeObject
{
public:
// System.IO.Stream Mono.Security.Protocol.Tls.RecordProtocol::innerStream
Stream_t1273022909 * ___innerStream_1;
// Mono.Security.Protocol.Tls.Context Mono.Security.Protocol.Tls.RecordProtocol::context
Context_t3971234707 * ___context_2;
public:
inline static int32_t get_offset_of_innerStream_1() { return static_cast<int32_t>(offsetof(RecordProtocol_t3759049701, ___innerStream_1)); }
inline Stream_t1273022909 * get_innerStream_1() const { return ___innerStream_1; }
inline Stream_t1273022909 ** get_address_of_innerStream_1() { return &___innerStream_1; }
inline void set_innerStream_1(Stream_t1273022909 * value)
{
___innerStream_1 = value;
Il2CppCodeGenWriteBarrier((&___innerStream_1), value);
}
inline static int32_t get_offset_of_context_2() { return static_cast<int32_t>(offsetof(RecordProtocol_t3759049701, ___context_2)); }
inline Context_t3971234707 * get_context_2() const { return ___context_2; }
inline Context_t3971234707 ** get_address_of_context_2() { return &___context_2; }
inline void set_context_2(Context_t3971234707 * value)
{
___context_2 = value;
Il2CppCodeGenWriteBarrier((&___context_2), value);
}
};
struct RecordProtocol_t3759049701_StaticFields
{
public:
// System.Threading.ManualResetEvent Mono.Security.Protocol.Tls.RecordProtocol::record_processing
ManualResetEvent_t451242010 * ___record_processing_0;
public:
inline static int32_t get_offset_of_record_processing_0() { return static_cast<int32_t>(offsetof(RecordProtocol_t3759049701_StaticFields, ___record_processing_0)); }
inline ManualResetEvent_t451242010 * get_record_processing_0() const { return ___record_processing_0; }
inline ManualResetEvent_t451242010 ** get_address_of_record_processing_0() { return &___record_processing_0; }
inline void set_record_processing_0(ManualResetEvent_t451242010 * value)
{
___record_processing_0 = value;
Il2CppCodeGenWriteBarrier((&___record_processing_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RECORDPROTOCOL_T3759049701_H
#ifndef RECEIVERECORDASYNCRESULT_T3680907657_H
#define RECEIVERECORDASYNCRESULT_T3680907657_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult
struct ReceiveRecordAsyncResult_t3680907657 : public RuntimeObject
{
public:
// System.Object Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::locker
RuntimeObject * ___locker_0;
// System.AsyncCallback Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::_userCallback
AsyncCallback_t3962456242 * ____userCallback_1;
// System.Object Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::_userState
RuntimeObject * ____userState_2;
// System.Exception Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::_asyncException
Exception_t * ____asyncException_3;
// System.Threading.ManualResetEvent Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::handle
ManualResetEvent_t451242010 * ___handle_4;
// System.Byte[] Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::_resultingBuffer
ByteU5BU5D_t4116647657* ____resultingBuffer_5;
// System.IO.Stream Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::_record
Stream_t1273022909 * ____record_6;
// System.Boolean Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::completed
bool ___completed_7;
// System.Byte[] Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::_initialBuffer
ByteU5BU5D_t4116647657* ____initialBuffer_8;
public:
inline static int32_t get_offset_of_locker_0() { return static_cast<int32_t>(offsetof(ReceiveRecordAsyncResult_t3680907657, ___locker_0)); }
inline RuntimeObject * get_locker_0() const { return ___locker_0; }
inline RuntimeObject ** get_address_of_locker_0() { return &___locker_0; }
inline void set_locker_0(RuntimeObject * value)
{
___locker_0 = value;
Il2CppCodeGenWriteBarrier((&___locker_0), value);
}
inline static int32_t get_offset_of__userCallback_1() { return static_cast<int32_t>(offsetof(ReceiveRecordAsyncResult_t3680907657, ____userCallback_1)); }
inline AsyncCallback_t3962456242 * get__userCallback_1() const { return ____userCallback_1; }
inline AsyncCallback_t3962456242 ** get_address_of__userCallback_1() { return &____userCallback_1; }
inline void set__userCallback_1(AsyncCallback_t3962456242 * value)
{
____userCallback_1 = value;
Il2CppCodeGenWriteBarrier((&____userCallback_1), value);
}
inline static int32_t get_offset_of__userState_2() { return static_cast<int32_t>(offsetof(ReceiveRecordAsyncResult_t3680907657, ____userState_2)); }
inline RuntimeObject * get__userState_2() const { return ____userState_2; }
inline RuntimeObject ** get_address_of__userState_2() { return &____userState_2; }
inline void set__userState_2(RuntimeObject * value)
{
____userState_2 = value;
Il2CppCodeGenWriteBarrier((&____userState_2), value);
}
inline static int32_t get_offset_of__asyncException_3() { return static_cast<int32_t>(offsetof(ReceiveRecordAsyncResult_t3680907657, ____asyncException_3)); }
inline Exception_t * get__asyncException_3() const { return ____asyncException_3; }
inline Exception_t ** get_address_of__asyncException_3() { return &____asyncException_3; }
inline void set__asyncException_3(Exception_t * value)
{
____asyncException_3 = value;
Il2CppCodeGenWriteBarrier((&____asyncException_3), value);
}
inline static int32_t get_offset_of_handle_4() { return static_cast<int32_t>(offsetof(ReceiveRecordAsyncResult_t3680907657, ___handle_4)); }
inline ManualResetEvent_t451242010 * get_handle_4() const { return ___handle_4; }
inline ManualResetEvent_t451242010 ** get_address_of_handle_4() { return &___handle_4; }
inline void set_handle_4(ManualResetEvent_t451242010 * value)
{
___handle_4 = value;
Il2CppCodeGenWriteBarrier((&___handle_4), value);
}
inline static int32_t get_offset_of__resultingBuffer_5() { return static_cast<int32_t>(offsetof(ReceiveRecordAsyncResult_t3680907657, ____resultingBuffer_5)); }
inline ByteU5BU5D_t4116647657* get__resultingBuffer_5() const { return ____resultingBuffer_5; }
inline ByteU5BU5D_t4116647657** get_address_of__resultingBuffer_5() { return &____resultingBuffer_5; }
inline void set__resultingBuffer_5(ByteU5BU5D_t4116647657* value)
{
____resultingBuffer_5 = value;
Il2CppCodeGenWriteBarrier((&____resultingBuffer_5), value);
}
inline static int32_t get_offset_of__record_6() { return static_cast<int32_t>(offsetof(ReceiveRecordAsyncResult_t3680907657, ____record_6)); }
inline Stream_t1273022909 * get__record_6() const { return ____record_6; }
inline Stream_t1273022909 ** get_address_of__record_6() { return &____record_6; }
inline void set__record_6(Stream_t1273022909 * value)
{
____record_6 = value;
Il2CppCodeGenWriteBarrier((&____record_6), value);
}
inline static int32_t get_offset_of_completed_7() { return static_cast<int32_t>(offsetof(ReceiveRecordAsyncResult_t3680907657, ___completed_7)); }
inline bool get_completed_7() const { return ___completed_7; }
inline bool* get_address_of_completed_7() { return &___completed_7; }
inline void set_completed_7(bool value)
{
___completed_7 = value;
}
inline static int32_t get_offset_of__initialBuffer_8() { return static_cast<int32_t>(offsetof(ReceiveRecordAsyncResult_t3680907657, ____initialBuffer_8)); }
inline ByteU5BU5D_t4116647657* get__initialBuffer_8() const { return ____initialBuffer_8; }
inline ByteU5BU5D_t4116647657** get_address_of__initialBuffer_8() { return &____initialBuffer_8; }
inline void set__initialBuffer_8(ByteU5BU5D_t4116647657* value)
{
____initialBuffer_8 = value;
Il2CppCodeGenWriteBarrier((&____initialBuffer_8), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RECEIVERECORDASYNCRESULT_T3680907657_H
#ifndef SENDRECORDASYNCRESULT_T3718352467_H
#define SENDRECORDASYNCRESULT_T3718352467_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.RecordProtocol/SendRecordAsyncResult
struct SendRecordAsyncResult_t3718352467 : public RuntimeObject
{
public:
// System.Object Mono.Security.Protocol.Tls.RecordProtocol/SendRecordAsyncResult::locker
RuntimeObject * ___locker_0;
// System.AsyncCallback Mono.Security.Protocol.Tls.RecordProtocol/SendRecordAsyncResult::_userCallback
AsyncCallback_t3962456242 * ____userCallback_1;
// System.Object Mono.Security.Protocol.Tls.RecordProtocol/SendRecordAsyncResult::_userState
RuntimeObject * ____userState_2;
// System.Exception Mono.Security.Protocol.Tls.RecordProtocol/SendRecordAsyncResult::_asyncException
Exception_t * ____asyncException_3;
// System.Threading.ManualResetEvent Mono.Security.Protocol.Tls.RecordProtocol/SendRecordAsyncResult::handle
ManualResetEvent_t451242010 * ___handle_4;
// Mono.Security.Protocol.Tls.Handshake.HandshakeMessage Mono.Security.Protocol.Tls.RecordProtocol/SendRecordAsyncResult::_message
HandshakeMessage_t3696583168 * ____message_5;
// System.Boolean Mono.Security.Protocol.Tls.RecordProtocol/SendRecordAsyncResult::completed
bool ___completed_6;
public:
inline static int32_t get_offset_of_locker_0() { return static_cast<int32_t>(offsetof(SendRecordAsyncResult_t3718352467, ___locker_0)); }
inline RuntimeObject * get_locker_0() const { return ___locker_0; }
inline RuntimeObject ** get_address_of_locker_0() { return &___locker_0; }
inline void set_locker_0(RuntimeObject * value)
{
___locker_0 = value;
Il2CppCodeGenWriteBarrier((&___locker_0), value);
}
inline static int32_t get_offset_of__userCallback_1() { return static_cast<int32_t>(offsetof(SendRecordAsyncResult_t3718352467, ____userCallback_1)); }
inline AsyncCallback_t3962456242 * get__userCallback_1() const { return ____userCallback_1; }
inline AsyncCallback_t3962456242 ** get_address_of__userCallback_1() { return &____userCallback_1; }
inline void set__userCallback_1(AsyncCallback_t3962456242 * value)
{
____userCallback_1 = value;
Il2CppCodeGenWriteBarrier((&____userCallback_1), value);
}
inline static int32_t get_offset_of__userState_2() { return static_cast<int32_t>(offsetof(SendRecordAsyncResult_t3718352467, ____userState_2)); }
inline RuntimeObject * get__userState_2() const { return ____userState_2; }
inline RuntimeObject ** get_address_of__userState_2() { return &____userState_2; }
inline void set__userState_2(RuntimeObject * value)
{
____userState_2 = value;
Il2CppCodeGenWriteBarrier((&____userState_2), value);
}
inline static int32_t get_offset_of__asyncException_3() { return static_cast<int32_t>(offsetof(SendRecordAsyncResult_t3718352467, ____asyncException_3)); }
inline Exception_t * get__asyncException_3() const { return ____asyncException_3; }
inline Exception_t ** get_address_of__asyncException_3() { return &____asyncException_3; }
inline void set__asyncException_3(Exception_t * value)
{
____asyncException_3 = value;
Il2CppCodeGenWriteBarrier((&____asyncException_3), value);
}
inline static int32_t get_offset_of_handle_4() { return static_cast<int32_t>(offsetof(SendRecordAsyncResult_t3718352467, ___handle_4)); }
inline ManualResetEvent_t451242010 * get_handle_4() const { return ___handle_4; }
inline ManualResetEvent_t451242010 ** get_address_of_handle_4() { return &___handle_4; }
inline void set_handle_4(ManualResetEvent_t451242010 * value)
{
___handle_4 = value;
Il2CppCodeGenWriteBarrier((&___handle_4), value);
}
inline static int32_t get_offset_of__message_5() { return static_cast<int32_t>(offsetof(SendRecordAsyncResult_t3718352467, ____message_5)); }
inline HandshakeMessage_t3696583168 * get__message_5() const { return ____message_5; }
inline HandshakeMessage_t3696583168 ** get_address_of__message_5() { return &____message_5; }
inline void set__message_5(HandshakeMessage_t3696583168 * value)
{
____message_5 = value;
Il2CppCodeGenWriteBarrier((&____message_5), value);
}
inline static int32_t get_offset_of_completed_6() { return static_cast<int32_t>(offsetof(SendRecordAsyncResult_t3718352467, ___completed_6)); }
inline bool get_completed_6() const { return ___completed_6; }
inline bool* get_address_of_completed_6() { return &___completed_6; }
inline void set_completed_6(bool value)
{
___completed_6 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SENDRECORDASYNCRESULT_T3718352467_H
#ifndef SECURITYPARAMETERS_T2199972650_H
#define SECURITYPARAMETERS_T2199972650_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.SecurityParameters
struct SecurityParameters_t2199972650 : public RuntimeObject
{
public:
// Mono.Security.Protocol.Tls.CipherSuite Mono.Security.Protocol.Tls.SecurityParameters::cipher
CipherSuite_t3414744575 * ___cipher_0;
// System.Byte[] Mono.Security.Protocol.Tls.SecurityParameters::clientWriteMAC
ByteU5BU5D_t4116647657* ___clientWriteMAC_1;
// System.Byte[] Mono.Security.Protocol.Tls.SecurityParameters::serverWriteMAC
ByteU5BU5D_t4116647657* ___serverWriteMAC_2;
public:
inline static int32_t get_offset_of_cipher_0() { return static_cast<int32_t>(offsetof(SecurityParameters_t2199972650, ___cipher_0)); }
inline CipherSuite_t3414744575 * get_cipher_0() const { return ___cipher_0; }
inline CipherSuite_t3414744575 ** get_address_of_cipher_0() { return &___cipher_0; }
inline void set_cipher_0(CipherSuite_t3414744575 * value)
{
___cipher_0 = value;
Il2CppCodeGenWriteBarrier((&___cipher_0), value);
}
inline static int32_t get_offset_of_clientWriteMAC_1() { return static_cast<int32_t>(offsetof(SecurityParameters_t2199972650, ___clientWriteMAC_1)); }
inline ByteU5BU5D_t4116647657* get_clientWriteMAC_1() const { return ___clientWriteMAC_1; }
inline ByteU5BU5D_t4116647657** get_address_of_clientWriteMAC_1() { return &___clientWriteMAC_1; }
inline void set_clientWriteMAC_1(ByteU5BU5D_t4116647657* value)
{
___clientWriteMAC_1 = value;
Il2CppCodeGenWriteBarrier((&___clientWriteMAC_1), value);
}
inline static int32_t get_offset_of_serverWriteMAC_2() { return static_cast<int32_t>(offsetof(SecurityParameters_t2199972650, ___serverWriteMAC_2)); }
inline ByteU5BU5D_t4116647657* get_serverWriteMAC_2() const { return ___serverWriteMAC_2; }
inline ByteU5BU5D_t4116647657** get_address_of_serverWriteMAC_2() { return &___serverWriteMAC_2; }
inline void set_serverWriteMAC_2(ByteU5BU5D_t4116647657* value)
{
___serverWriteMAC_2 = value;
Il2CppCodeGenWriteBarrier((&___serverWriteMAC_2), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SECURITYPARAMETERS_T2199972650_H
#ifndef TLSCLIENTSETTINGS_T2486039503_H
#define TLSCLIENTSETTINGS_T2486039503_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.TlsClientSettings
struct TlsClientSettings_t2486039503 : public RuntimeObject
{
public:
// System.String Mono.Security.Protocol.Tls.TlsClientSettings::targetHost
String_t* ___targetHost_0;
// System.Security.Cryptography.X509Certificates.X509CertificateCollection Mono.Security.Protocol.Tls.TlsClientSettings::certificates
X509CertificateCollection_t3399372417 * ___certificates_1;
// System.Security.Cryptography.X509Certificates.X509Certificate Mono.Security.Protocol.Tls.TlsClientSettings::clientCertificate
X509Certificate_t713131622 * ___clientCertificate_2;
// Mono.Security.Cryptography.RSAManaged Mono.Security.Protocol.Tls.TlsClientSettings::certificateRSA
RSAManaged_t1757093820 * ___certificateRSA_3;
public:
inline static int32_t get_offset_of_targetHost_0() { return static_cast<int32_t>(offsetof(TlsClientSettings_t2486039503, ___targetHost_0)); }
inline String_t* get_targetHost_0() const { return ___targetHost_0; }
inline String_t** get_address_of_targetHost_0() { return &___targetHost_0; }
inline void set_targetHost_0(String_t* value)
{
___targetHost_0 = value;
Il2CppCodeGenWriteBarrier((&___targetHost_0), value);
}
inline static int32_t get_offset_of_certificates_1() { return static_cast<int32_t>(offsetof(TlsClientSettings_t2486039503, ___certificates_1)); }
inline X509CertificateCollection_t3399372417 * get_certificates_1() const { return ___certificates_1; }
inline X509CertificateCollection_t3399372417 ** get_address_of_certificates_1() { return &___certificates_1; }
inline void set_certificates_1(X509CertificateCollection_t3399372417 * value)
{
___certificates_1 = value;
Il2CppCodeGenWriteBarrier((&___certificates_1), value);
}
inline static int32_t get_offset_of_clientCertificate_2() { return static_cast<int32_t>(offsetof(TlsClientSettings_t2486039503, ___clientCertificate_2)); }
inline X509Certificate_t713131622 * get_clientCertificate_2() const { return ___clientCertificate_2; }
inline X509Certificate_t713131622 ** get_address_of_clientCertificate_2() { return &___clientCertificate_2; }
inline void set_clientCertificate_2(X509Certificate_t713131622 * value)
{
___clientCertificate_2 = value;
Il2CppCodeGenWriteBarrier((&___clientCertificate_2), value);
}
inline static int32_t get_offset_of_certificateRSA_3() { return static_cast<int32_t>(offsetof(TlsClientSettings_t2486039503, ___certificateRSA_3)); }
inline RSAManaged_t1757093820 * get_certificateRSA_3() const { return ___certificateRSA_3; }
inline RSAManaged_t1757093820 ** get_address_of_certificateRSA_3() { return &___certificateRSA_3; }
inline void set_certificateRSA_3(RSAManaged_t1757093820 * value)
{
___certificateRSA_3 = value;
Il2CppCodeGenWriteBarrier((&___certificateRSA_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TLSCLIENTSETTINGS_T2486039503_H
#ifndef VALIDATIONRESULT_T3834298736_H
#define VALIDATIONRESULT_T3834298736_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.ValidationResult
struct ValidationResult_t3834298736 : public RuntimeObject
{
public:
// System.Boolean Mono.Security.Protocol.Tls.ValidationResult::trusted
bool ___trusted_0;
// System.Int32 Mono.Security.Protocol.Tls.ValidationResult::error_code
int32_t ___error_code_1;
public:
inline static int32_t get_offset_of_trusted_0() { return static_cast<int32_t>(offsetof(ValidationResult_t3834298736, ___trusted_0)); }
inline bool get_trusted_0() const { return ___trusted_0; }
inline bool* get_address_of_trusted_0() { return &___trusted_0; }
inline void set_trusted_0(bool value)
{
___trusted_0 = value;
}
inline static int32_t get_offset_of_error_code_1() { return static_cast<int32_t>(offsetof(ValidationResult_t3834298736, ___error_code_1)); }
inline int32_t get_error_code_1() const { return ___error_code_1; }
inline int32_t* get_address_of_error_code_1() { return &___error_code_1; }
inline void set_error_code_1(int32_t value)
{
___error_code_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // VALIDATIONRESULT_T3834298736_H
#ifndef X509EXTENSION_T3173393653_H
#define X509EXTENSION_T3173393653_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.X509.X509Extension
struct X509Extension_t3173393653 : public RuntimeObject
{
public:
// System.String Mono.Security.X509.X509Extension::extnOid
String_t* ___extnOid_0;
// System.Boolean Mono.Security.X509.X509Extension::extnCritical
bool ___extnCritical_1;
// Mono.Security.ASN1 Mono.Security.X509.X509Extension::extnValue
ASN1_t2114160833 * ___extnValue_2;
public:
inline static int32_t get_offset_of_extnOid_0() { return static_cast<int32_t>(offsetof(X509Extension_t3173393653, ___extnOid_0)); }
inline String_t* get_extnOid_0() const { return ___extnOid_0; }
inline String_t** get_address_of_extnOid_0() { return &___extnOid_0; }
inline void set_extnOid_0(String_t* value)
{
___extnOid_0 = value;
Il2CppCodeGenWriteBarrier((&___extnOid_0), value);
}
inline static int32_t get_offset_of_extnCritical_1() { return static_cast<int32_t>(offsetof(X509Extension_t3173393653, ___extnCritical_1)); }
inline bool get_extnCritical_1() const { return ___extnCritical_1; }
inline bool* get_address_of_extnCritical_1() { return &___extnCritical_1; }
inline void set_extnCritical_1(bool value)
{
___extnCritical_1 = value;
}
inline static int32_t get_offset_of_extnValue_2() { return static_cast<int32_t>(offsetof(X509Extension_t3173393653, ___extnValue_2)); }
inline ASN1_t2114160833 * get_extnValue_2() const { return ___extnValue_2; }
inline ASN1_t2114160833 ** get_address_of_extnValue_2() { return &___extnValue_2; }
inline void set_extnValue_2(ASN1_t2114160833 * value)
{
___extnValue_2 = value;
Il2CppCodeGenWriteBarrier((&___extnValue_2), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // X509EXTENSION_T3173393653_H
struct Il2CppArrayBounds;
#ifndef RUNTIMEARRAY_H
#define RUNTIMEARRAY_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Array
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RUNTIMEARRAY_H
#ifndef BITCONVERTER_T3118986983_H
#define BITCONVERTER_T3118986983_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.BitConverter
struct BitConverter_t3118986983 : public RuntimeObject
{
public:
public:
};
struct BitConverter_t3118986983_StaticFields
{
public:
// System.Boolean System.BitConverter::SwappedWordsInDouble
bool ___SwappedWordsInDouble_0;
// System.Boolean System.BitConverter::IsLittleEndian
bool ___IsLittleEndian_1;
public:
inline static int32_t get_offset_of_SwappedWordsInDouble_0() { return static_cast<int32_t>(offsetof(BitConverter_t3118986983_StaticFields, ___SwappedWordsInDouble_0)); }
inline bool get_SwappedWordsInDouble_0() const { return ___SwappedWordsInDouble_0; }
inline bool* get_address_of_SwappedWordsInDouble_0() { return &___SwappedWordsInDouble_0; }
inline void set_SwappedWordsInDouble_0(bool value)
{
___SwappedWordsInDouble_0 = value;
}
inline static int32_t get_offset_of_IsLittleEndian_1() { return static_cast<int32_t>(offsetof(BitConverter_t3118986983_StaticFields, ___IsLittleEndian_1)); }
inline bool get_IsLittleEndian_1() const { return ___IsLittleEndian_1; }
inline bool* get_address_of_IsLittleEndian_1() { return &___IsLittleEndian_1; }
inline void set_IsLittleEndian_1(bool value)
{
___IsLittleEndian_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BITCONVERTER_T3118986983_H
#ifndef ARRAYLIST_T2718874744_H
#define ARRAYLIST_T2718874744_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.ArrayList
struct ArrayList_t2718874744 : public RuntimeObject
{
public:
// System.Int32 System.Collections.ArrayList::_size
int32_t ____size_1;
// System.Object[] System.Collections.ArrayList::_items
ObjectU5BU5D_t2843939325* ____items_2;
// System.Int32 System.Collections.ArrayList::_version
int32_t ____version_3;
public:
inline static int32_t get_offset_of__size_1() { return static_cast<int32_t>(offsetof(ArrayList_t2718874744, ____size_1)); }
inline int32_t get__size_1() const { return ____size_1; }
inline int32_t* get_address_of__size_1() { return &____size_1; }
inline void set__size_1(int32_t value)
{
____size_1 = value;
}
inline static int32_t get_offset_of__items_2() { return static_cast<int32_t>(offsetof(ArrayList_t2718874744, ____items_2)); }
inline ObjectU5BU5D_t2843939325* get__items_2() const { return ____items_2; }
inline ObjectU5BU5D_t2843939325** get_address_of__items_2() { return &____items_2; }
inline void set__items_2(ObjectU5BU5D_t2843939325* value)
{
____items_2 = value;
Il2CppCodeGenWriteBarrier((&____items_2), value);
}
inline static int32_t get_offset_of__version_3() { return static_cast<int32_t>(offsetof(ArrayList_t2718874744, ____version_3)); }
inline int32_t get__version_3() const { return ____version_3; }
inline int32_t* get_address_of__version_3() { return &____version_3; }
inline void set__version_3(int32_t value)
{
____version_3 = value;
}
};
struct ArrayList_t2718874744_StaticFields
{
public:
// System.Object[] System.Collections.ArrayList::EmptyArray
ObjectU5BU5D_t2843939325* ___EmptyArray_4;
public:
inline static int32_t get_offset_of_EmptyArray_4() { return static_cast<int32_t>(offsetof(ArrayList_t2718874744_StaticFields, ___EmptyArray_4)); }
inline ObjectU5BU5D_t2843939325* get_EmptyArray_4() const { return ___EmptyArray_4; }
inline ObjectU5BU5D_t2843939325** get_address_of_EmptyArray_4() { return &___EmptyArray_4; }
inline void set_EmptyArray_4(ObjectU5BU5D_t2843939325* value)
{
___EmptyArray_4 = value;
Il2CppCodeGenWriteBarrier((&___EmptyArray_4), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ARRAYLIST_T2718874744_H
#ifndef COLLECTIONBASE_T2727926298_H
#define COLLECTIONBASE_T2727926298_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.CollectionBase
struct CollectionBase_t2727926298 : public RuntimeObject
{
public:
// System.Collections.ArrayList System.Collections.CollectionBase::list
ArrayList_t2718874744 * ___list_0;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(CollectionBase_t2727926298, ___list_0)); }
inline ArrayList_t2718874744 * get_list_0() const { return ___list_0; }
inline ArrayList_t2718874744 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(ArrayList_t2718874744 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // COLLECTIONBASE_T2727926298_H
#ifndef DICTIONARY_2_T2736202052_H
#define DICTIONARY_2_T2736202052_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.Dictionary`2<System.String,System.Int32>
struct Dictionary_2_t2736202052 : public RuntimeObject
{
public:
// System.Int32[] System.Collections.Generic.Dictionary`2::table
Int32U5BU5D_t385246372* ___table_4;
// System.Collections.Generic.Link[] System.Collections.Generic.Dictionary`2::linkSlots
LinkU5BU5D_t964245573* ___linkSlots_5;
// TKey[] System.Collections.Generic.Dictionary`2::keySlots
StringU5BU5D_t1281789340* ___keySlots_6;
// TValue[] System.Collections.Generic.Dictionary`2::valueSlots
Int32U5BU5D_t385246372* ___valueSlots_7;
// System.Int32 System.Collections.Generic.Dictionary`2::touchedSlots
int32_t ___touchedSlots_8;
// System.Int32 System.Collections.Generic.Dictionary`2::emptySlot
int32_t ___emptySlot_9;
// System.Int32 System.Collections.Generic.Dictionary`2::count
int32_t ___count_10;
// System.Int32 System.Collections.Generic.Dictionary`2::threshold
int32_t ___threshold_11;
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::hcp
RuntimeObject* ___hcp_12;
// System.Runtime.Serialization.SerializationInfo System.Collections.Generic.Dictionary`2::serialization_info
SerializationInfo_t950877179 * ___serialization_info_13;
// System.Int32 System.Collections.Generic.Dictionary`2::generation
int32_t ___generation_14;
public:
inline static int32_t get_offset_of_table_4() { return static_cast<int32_t>(offsetof(Dictionary_2_t2736202052, ___table_4)); }
inline Int32U5BU5D_t385246372* get_table_4() const { return ___table_4; }
inline Int32U5BU5D_t385246372** get_address_of_table_4() { return &___table_4; }
inline void set_table_4(Int32U5BU5D_t385246372* value)
{
___table_4 = value;
Il2CppCodeGenWriteBarrier((&___table_4), value);
}
inline static int32_t get_offset_of_linkSlots_5() { return static_cast<int32_t>(offsetof(Dictionary_2_t2736202052, ___linkSlots_5)); }
inline LinkU5BU5D_t964245573* get_linkSlots_5() const { return ___linkSlots_5; }
inline LinkU5BU5D_t964245573** get_address_of_linkSlots_5() { return &___linkSlots_5; }
inline void set_linkSlots_5(LinkU5BU5D_t964245573* value)
{
___linkSlots_5 = value;
Il2CppCodeGenWriteBarrier((&___linkSlots_5), value);
}
inline static int32_t get_offset_of_keySlots_6() { return static_cast<int32_t>(offsetof(Dictionary_2_t2736202052, ___keySlots_6)); }
inline StringU5BU5D_t1281789340* get_keySlots_6() const { return ___keySlots_6; }
inline StringU5BU5D_t1281789340** get_address_of_keySlots_6() { return &___keySlots_6; }
inline void set_keySlots_6(StringU5BU5D_t1281789340* value)
{
___keySlots_6 = value;
Il2CppCodeGenWriteBarrier((&___keySlots_6), value);
}
inline static int32_t get_offset_of_valueSlots_7() { return static_cast<int32_t>(offsetof(Dictionary_2_t2736202052, ___valueSlots_7)); }
inline Int32U5BU5D_t385246372* get_valueSlots_7() const { return ___valueSlots_7; }
inline Int32U5BU5D_t385246372** get_address_of_valueSlots_7() { return &___valueSlots_7; }
inline void set_valueSlots_7(Int32U5BU5D_t385246372* value)
{
___valueSlots_7 = value;
Il2CppCodeGenWriteBarrier((&___valueSlots_7), value);
}
inline static int32_t get_offset_of_touchedSlots_8() { return static_cast<int32_t>(offsetof(Dictionary_2_t2736202052, ___touchedSlots_8)); }
inline int32_t get_touchedSlots_8() const { return ___touchedSlots_8; }
inline int32_t* get_address_of_touchedSlots_8() { return &___touchedSlots_8; }
inline void set_touchedSlots_8(int32_t value)
{
___touchedSlots_8 = value;
}
inline static int32_t get_offset_of_emptySlot_9() { return static_cast<int32_t>(offsetof(Dictionary_2_t2736202052, ___emptySlot_9)); }
inline int32_t get_emptySlot_9() const { return ___emptySlot_9; }
inline int32_t* get_address_of_emptySlot_9() { return &___emptySlot_9; }
inline void set_emptySlot_9(int32_t value)
{
___emptySlot_9 = value;
}
inline static int32_t get_offset_of_count_10() { return static_cast<int32_t>(offsetof(Dictionary_2_t2736202052, ___count_10)); }
inline int32_t get_count_10() const { return ___count_10; }
inline int32_t* get_address_of_count_10() { return &___count_10; }
inline void set_count_10(int32_t value)
{
___count_10 = value;
}
inline static int32_t get_offset_of_threshold_11() { return static_cast<int32_t>(offsetof(Dictionary_2_t2736202052, ___threshold_11)); }
inline int32_t get_threshold_11() const { return ___threshold_11; }
inline int32_t* get_address_of_threshold_11() { return &___threshold_11; }
inline void set_threshold_11(int32_t value)
{
___threshold_11 = value;
}
inline static int32_t get_offset_of_hcp_12() { return static_cast<int32_t>(offsetof(Dictionary_2_t2736202052, ___hcp_12)); }
inline RuntimeObject* get_hcp_12() const { return ___hcp_12; }
inline RuntimeObject** get_address_of_hcp_12() { return &___hcp_12; }
inline void set_hcp_12(RuntimeObject* value)
{
___hcp_12 = value;
Il2CppCodeGenWriteBarrier((&___hcp_12), value);
}
inline static int32_t get_offset_of_serialization_info_13() { return static_cast<int32_t>(offsetof(Dictionary_2_t2736202052, ___serialization_info_13)); }
inline SerializationInfo_t950877179 * get_serialization_info_13() const { return ___serialization_info_13; }
inline SerializationInfo_t950877179 ** get_address_of_serialization_info_13() { return &___serialization_info_13; }
inline void set_serialization_info_13(SerializationInfo_t950877179 * value)
{
___serialization_info_13 = value;
Il2CppCodeGenWriteBarrier((&___serialization_info_13), value);
}
inline static int32_t get_offset_of_generation_14() { return static_cast<int32_t>(offsetof(Dictionary_2_t2736202052, ___generation_14)); }
inline int32_t get_generation_14() const { return ___generation_14; }
inline int32_t* get_address_of_generation_14() { return &___generation_14; }
inline void set_generation_14(int32_t value)
{
___generation_14 = value;
}
};
struct Dictionary_2_t2736202052_StaticFields
{
public:
// System.Collections.Generic.Dictionary`2/Transform`1<TKey,TValue,System.Collections.DictionaryEntry> System.Collections.Generic.Dictionary`2::<>f__am$cacheB
Transform_1_t3530625384 * ___U3CU3Ef__amU24cacheB_15;
public:
inline static int32_t get_offset_of_U3CU3Ef__amU24cacheB_15() { return static_cast<int32_t>(offsetof(Dictionary_2_t2736202052_StaticFields, ___U3CU3Ef__amU24cacheB_15)); }
inline Transform_1_t3530625384 * get_U3CU3Ef__amU24cacheB_15() const { return ___U3CU3Ef__amU24cacheB_15; }
inline Transform_1_t3530625384 ** get_address_of_U3CU3Ef__amU24cacheB_15() { return &___U3CU3Ef__amU24cacheB_15; }
inline void set_U3CU3Ef__amU24cacheB_15(Transform_1_t3530625384 * value)
{
___U3CU3Ef__amU24cacheB_15 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cacheB_15), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DICTIONARY_2_T2736202052_H
#ifndef HASHTABLE_T1853889766_H
#define HASHTABLE_T1853889766_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Hashtable
struct Hashtable_t1853889766 : public RuntimeObject
{
public:
// System.Int32 System.Collections.Hashtable::inUse
int32_t ___inUse_1;
// System.Int32 System.Collections.Hashtable::modificationCount
int32_t ___modificationCount_2;
// System.Single System.Collections.Hashtable::loadFactor
float ___loadFactor_3;
// System.Collections.Hashtable/Slot[] System.Collections.Hashtable::table
SlotU5BU5D_t2994659099* ___table_4;
// System.Int32[] System.Collections.Hashtable::hashes
Int32U5BU5D_t385246372* ___hashes_5;
// System.Int32 System.Collections.Hashtable::threshold
int32_t ___threshold_6;
// System.Collections.Hashtable/HashKeys System.Collections.Hashtable::hashKeys
HashKeys_t1568156503 * ___hashKeys_7;
// System.Collections.Hashtable/HashValues System.Collections.Hashtable::hashValues
HashValues_t618387445 * ___hashValues_8;
// System.Collections.IHashCodeProvider System.Collections.Hashtable::hcpRef
RuntimeObject* ___hcpRef_9;
// System.Collections.IComparer System.Collections.Hashtable::comparerRef
RuntimeObject* ___comparerRef_10;
// System.Runtime.Serialization.SerializationInfo System.Collections.Hashtable::serializationInfo
SerializationInfo_t950877179 * ___serializationInfo_11;
// System.Collections.IEqualityComparer System.Collections.Hashtable::equalityComparer
RuntimeObject* ___equalityComparer_12;
public:
inline static int32_t get_offset_of_inUse_1() { return static_cast<int32_t>(offsetof(Hashtable_t1853889766, ___inUse_1)); }
inline int32_t get_inUse_1() const { return ___inUse_1; }
inline int32_t* get_address_of_inUse_1() { return &___inUse_1; }
inline void set_inUse_1(int32_t value)
{
___inUse_1 = value;
}
inline static int32_t get_offset_of_modificationCount_2() { return static_cast<int32_t>(offsetof(Hashtable_t1853889766, ___modificationCount_2)); }
inline int32_t get_modificationCount_2() const { return ___modificationCount_2; }
inline int32_t* get_address_of_modificationCount_2() { return &___modificationCount_2; }
inline void set_modificationCount_2(int32_t value)
{
___modificationCount_2 = value;
}
inline static int32_t get_offset_of_loadFactor_3() { return static_cast<int32_t>(offsetof(Hashtable_t1853889766, ___loadFactor_3)); }
inline float get_loadFactor_3() const { return ___loadFactor_3; }
inline float* get_address_of_loadFactor_3() { return &___loadFactor_3; }
inline void set_loadFactor_3(float value)
{
___loadFactor_3 = value;
}
inline static int32_t get_offset_of_table_4() { return static_cast<int32_t>(offsetof(Hashtable_t1853889766, ___table_4)); }
inline SlotU5BU5D_t2994659099* get_table_4() const { return ___table_4; }
inline SlotU5BU5D_t2994659099** get_address_of_table_4() { return &___table_4; }
inline void set_table_4(SlotU5BU5D_t2994659099* value)
{
___table_4 = value;
Il2CppCodeGenWriteBarrier((&___table_4), value);
}
inline static int32_t get_offset_of_hashes_5() { return static_cast<int32_t>(offsetof(Hashtable_t1853889766, ___hashes_5)); }
inline Int32U5BU5D_t385246372* get_hashes_5() const { return ___hashes_5; }
inline Int32U5BU5D_t385246372** get_address_of_hashes_5() { return &___hashes_5; }
inline void set_hashes_5(Int32U5BU5D_t385246372* value)
{
___hashes_5 = value;
Il2CppCodeGenWriteBarrier((&___hashes_5), value);
}
inline static int32_t get_offset_of_threshold_6() { return static_cast<int32_t>(offsetof(Hashtable_t1853889766, ___threshold_6)); }
inline int32_t get_threshold_6() const { return ___threshold_6; }
inline int32_t* get_address_of_threshold_6() { return &___threshold_6; }
inline void set_threshold_6(int32_t value)
{
___threshold_6 = value;
}
inline static int32_t get_offset_of_hashKeys_7() { return static_cast<int32_t>(offsetof(Hashtable_t1853889766, ___hashKeys_7)); }
inline HashKeys_t1568156503 * get_hashKeys_7() const { return ___hashKeys_7; }
inline HashKeys_t1568156503 ** get_address_of_hashKeys_7() { return &___hashKeys_7; }
inline void set_hashKeys_7(HashKeys_t1568156503 * value)
{
___hashKeys_7 = value;
Il2CppCodeGenWriteBarrier((&___hashKeys_7), value);
}
inline static int32_t get_offset_of_hashValues_8() { return static_cast<int32_t>(offsetof(Hashtable_t1853889766, ___hashValues_8)); }
inline HashValues_t618387445 * get_hashValues_8() const { return ___hashValues_8; }
inline HashValues_t618387445 ** get_address_of_hashValues_8() { return &___hashValues_8; }
inline void set_hashValues_8(HashValues_t618387445 * value)
{
___hashValues_8 = value;
Il2CppCodeGenWriteBarrier((&___hashValues_8), value);
}
inline static int32_t get_offset_of_hcpRef_9() { return static_cast<int32_t>(offsetof(Hashtable_t1853889766, ___hcpRef_9)); }
inline RuntimeObject* get_hcpRef_9() const { return ___hcpRef_9; }
inline RuntimeObject** get_address_of_hcpRef_9() { return &___hcpRef_9; }
inline void set_hcpRef_9(RuntimeObject* value)
{
___hcpRef_9 = value;
Il2CppCodeGenWriteBarrier((&___hcpRef_9), value);
}
inline static int32_t get_offset_of_comparerRef_10() { return static_cast<int32_t>(offsetof(Hashtable_t1853889766, ___comparerRef_10)); }
inline RuntimeObject* get_comparerRef_10() const { return ___comparerRef_10; }
inline RuntimeObject** get_address_of_comparerRef_10() { return &___comparerRef_10; }
inline void set_comparerRef_10(RuntimeObject* value)
{
___comparerRef_10 = value;
Il2CppCodeGenWriteBarrier((&___comparerRef_10), value);
}
inline static int32_t get_offset_of_serializationInfo_11() { return static_cast<int32_t>(offsetof(Hashtable_t1853889766, ___serializationInfo_11)); }
inline SerializationInfo_t950877179 * get_serializationInfo_11() const { return ___serializationInfo_11; }
inline SerializationInfo_t950877179 ** get_address_of_serializationInfo_11() { return &___serializationInfo_11; }
inline void set_serializationInfo_11(SerializationInfo_t950877179 * value)
{
___serializationInfo_11 = value;
Il2CppCodeGenWriteBarrier((&___serializationInfo_11), value);
}
inline static int32_t get_offset_of_equalityComparer_12() { return static_cast<int32_t>(offsetof(Hashtable_t1853889766, ___equalityComparer_12)); }
inline RuntimeObject* get_equalityComparer_12() const { return ___equalityComparer_12; }
inline RuntimeObject** get_address_of_equalityComparer_12() { return &___equalityComparer_12; }
inline void set_equalityComparer_12(RuntimeObject* value)
{
___equalityComparer_12 = value;
Il2CppCodeGenWriteBarrier((&___equalityComparer_12), value);
}
};
struct Hashtable_t1853889766_StaticFields
{
public:
// System.Int32[] System.Collections.Hashtable::primeTbl
Int32U5BU5D_t385246372* ___primeTbl_13;
public:
inline static int32_t get_offset_of_primeTbl_13() { return static_cast<int32_t>(offsetof(Hashtable_t1853889766_StaticFields, ___primeTbl_13)); }
inline Int32U5BU5D_t385246372* get_primeTbl_13() const { return ___primeTbl_13; }
inline Int32U5BU5D_t385246372** get_address_of_primeTbl_13() { return &___primeTbl_13; }
inline void set_primeTbl_13(Int32U5BU5D_t385246372* value)
{
___primeTbl_13 = value;
Il2CppCodeGenWriteBarrier((&___primeTbl_13), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // HASHTABLE_T1853889766_H
#ifndef EVENTARGS_T3591816995_H
#define EVENTARGS_T3591816995_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.EventArgs
struct EventArgs_t3591816995 : public RuntimeObject
{
public:
public:
};
struct EventArgs_t3591816995_StaticFields
{
public:
// System.EventArgs System.EventArgs::Empty
EventArgs_t3591816995 * ___Empty_0;
public:
inline static int32_t get_offset_of_Empty_0() { return static_cast<int32_t>(offsetof(EventArgs_t3591816995_StaticFields, ___Empty_0)); }
inline EventArgs_t3591816995 * get_Empty_0() const { return ___Empty_0; }
inline EventArgs_t3591816995 ** get_address_of_Empty_0() { return &___Empty_0; }
inline void set_Empty_0(EventArgs_t3591816995 * value)
{
___Empty_0 = value;
Il2CppCodeGenWriteBarrier((&___Empty_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EVENTARGS_T3591816995_H
#ifndef EXCEPTION_T_H
#define EXCEPTION_T_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Exception
struct Exception_t : public RuntimeObject
{
public:
// System.IntPtr[] System.Exception::trace_ips
IntPtrU5BU5D_t4013366056* ___trace_ips_0;
// System.Exception System.Exception::inner_exception
Exception_t * ___inner_exception_1;
// System.String System.Exception::message
String_t* ___message_2;
// System.String System.Exception::help_link
String_t* ___help_link_3;
// System.String System.Exception::class_name
String_t* ___class_name_4;
// System.String System.Exception::stack_trace
String_t* ___stack_trace_5;
// System.String System.Exception::_remoteStackTraceString
String_t* ____remoteStackTraceString_6;
// System.Int32 System.Exception::remote_stack_index
int32_t ___remote_stack_index_7;
// System.Int32 System.Exception::hresult
int32_t ___hresult_8;
// System.String System.Exception::source
String_t* ___source_9;
// System.Collections.IDictionary System.Exception::_data
RuntimeObject* ____data_10;
public:
inline static int32_t get_offset_of_trace_ips_0() { return static_cast<int32_t>(offsetof(Exception_t, ___trace_ips_0)); }
inline IntPtrU5BU5D_t4013366056* get_trace_ips_0() const { return ___trace_ips_0; }
inline IntPtrU5BU5D_t4013366056** get_address_of_trace_ips_0() { return &___trace_ips_0; }
inline void set_trace_ips_0(IntPtrU5BU5D_t4013366056* value)
{
___trace_ips_0 = value;
Il2CppCodeGenWriteBarrier((&___trace_ips_0), value);
}
inline static int32_t get_offset_of_inner_exception_1() { return static_cast<int32_t>(offsetof(Exception_t, ___inner_exception_1)); }
inline Exception_t * get_inner_exception_1() const { return ___inner_exception_1; }
inline Exception_t ** get_address_of_inner_exception_1() { return &___inner_exception_1; }
inline void set_inner_exception_1(Exception_t * value)
{
___inner_exception_1 = value;
Il2CppCodeGenWriteBarrier((&___inner_exception_1), value);
}
inline static int32_t get_offset_of_message_2() { return static_cast<int32_t>(offsetof(Exception_t, ___message_2)); }
inline String_t* get_message_2() const { return ___message_2; }
inline String_t** get_address_of_message_2() { return &___message_2; }
inline void set_message_2(String_t* value)
{
___message_2 = value;
Il2CppCodeGenWriteBarrier((&___message_2), value);
}
inline static int32_t get_offset_of_help_link_3() { return static_cast<int32_t>(offsetof(Exception_t, ___help_link_3)); }
inline String_t* get_help_link_3() const { return ___help_link_3; }
inline String_t** get_address_of_help_link_3() { return &___help_link_3; }
inline void set_help_link_3(String_t* value)
{
___help_link_3 = value;
Il2CppCodeGenWriteBarrier((&___help_link_3), value);
}
inline static int32_t get_offset_of_class_name_4() { return static_cast<int32_t>(offsetof(Exception_t, ___class_name_4)); }
inline String_t* get_class_name_4() const { return ___class_name_4; }
inline String_t** get_address_of_class_name_4() { return &___class_name_4; }
inline void set_class_name_4(String_t* value)
{
___class_name_4 = value;
Il2CppCodeGenWriteBarrier((&___class_name_4), value);
}
inline static int32_t get_offset_of_stack_trace_5() { return static_cast<int32_t>(offsetof(Exception_t, ___stack_trace_5)); }
inline String_t* get_stack_trace_5() const { return ___stack_trace_5; }
inline String_t** get_address_of_stack_trace_5() { return &___stack_trace_5; }
inline void set_stack_trace_5(String_t* value)
{
___stack_trace_5 = value;
Il2CppCodeGenWriteBarrier((&___stack_trace_5), value);
}
inline static int32_t get_offset_of__remoteStackTraceString_6() { return static_cast<int32_t>(offsetof(Exception_t, ____remoteStackTraceString_6)); }
inline String_t* get__remoteStackTraceString_6() const { return ____remoteStackTraceString_6; }
inline String_t** get_address_of__remoteStackTraceString_6() { return &____remoteStackTraceString_6; }
inline void set__remoteStackTraceString_6(String_t* value)
{
____remoteStackTraceString_6 = value;
Il2CppCodeGenWriteBarrier((&____remoteStackTraceString_6), value);
}
inline static int32_t get_offset_of_remote_stack_index_7() { return static_cast<int32_t>(offsetof(Exception_t, ___remote_stack_index_7)); }
inline int32_t get_remote_stack_index_7() const { return ___remote_stack_index_7; }
inline int32_t* get_address_of_remote_stack_index_7() { return &___remote_stack_index_7; }
inline void set_remote_stack_index_7(int32_t value)
{
___remote_stack_index_7 = value;
}
inline static int32_t get_offset_of_hresult_8() { return static_cast<int32_t>(offsetof(Exception_t, ___hresult_8)); }
inline int32_t get_hresult_8() const { return ___hresult_8; }
inline int32_t* get_address_of_hresult_8() { return &___hresult_8; }
inline void set_hresult_8(int32_t value)
{
___hresult_8 = value;
}
inline static int32_t get_offset_of_source_9() { return static_cast<int32_t>(offsetof(Exception_t, ___source_9)); }
inline String_t* get_source_9() const { return ___source_9; }
inline String_t** get_address_of_source_9() { return &___source_9; }
inline void set_source_9(String_t* value)
{
___source_9 = value;
Il2CppCodeGenWriteBarrier((&___source_9), value);
}
inline static int32_t get_offset_of__data_10() { return static_cast<int32_t>(offsetof(Exception_t, ____data_10)); }
inline RuntimeObject* get__data_10() const { return ____data_10; }
inline RuntimeObject** get_address_of__data_10() { return &____data_10; }
inline void set__data_10(RuntimeObject* value)
{
____data_10 = value;
Il2CppCodeGenWriteBarrier((&____data_10), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EXCEPTION_T_H
#ifndef COMPAREINFO_T1092934962_H
#define COMPAREINFO_T1092934962_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Globalization.CompareInfo
struct CompareInfo_t1092934962 : public RuntimeObject
{
public:
// System.Int32 System.Globalization.CompareInfo::culture
int32_t ___culture_1;
// System.String System.Globalization.CompareInfo::icu_name
String_t* ___icu_name_2;
// System.Int32 System.Globalization.CompareInfo::win32LCID
int32_t ___win32LCID_3;
// System.String System.Globalization.CompareInfo::m_name
String_t* ___m_name_4;
// Mono.Globalization.Unicode.SimpleCollator System.Globalization.CompareInfo::collator
SimpleCollator_t2877834729 * ___collator_5;
public:
inline static int32_t get_offset_of_culture_1() { return static_cast<int32_t>(offsetof(CompareInfo_t1092934962, ___culture_1)); }
inline int32_t get_culture_1() const { return ___culture_1; }
inline int32_t* get_address_of_culture_1() { return &___culture_1; }
inline void set_culture_1(int32_t value)
{
___culture_1 = value;
}
inline static int32_t get_offset_of_icu_name_2() { return static_cast<int32_t>(offsetof(CompareInfo_t1092934962, ___icu_name_2)); }
inline String_t* get_icu_name_2() const { return ___icu_name_2; }
inline String_t** get_address_of_icu_name_2() { return &___icu_name_2; }
inline void set_icu_name_2(String_t* value)
{
___icu_name_2 = value;
Il2CppCodeGenWriteBarrier((&___icu_name_2), value);
}
inline static int32_t get_offset_of_win32LCID_3() { return static_cast<int32_t>(offsetof(CompareInfo_t1092934962, ___win32LCID_3)); }
inline int32_t get_win32LCID_3() const { return ___win32LCID_3; }
inline int32_t* get_address_of_win32LCID_3() { return &___win32LCID_3; }
inline void set_win32LCID_3(int32_t value)
{
___win32LCID_3 = value;
}
inline static int32_t get_offset_of_m_name_4() { return static_cast<int32_t>(offsetof(CompareInfo_t1092934962, ___m_name_4)); }
inline String_t* get_m_name_4() const { return ___m_name_4; }
inline String_t** get_address_of_m_name_4() { return &___m_name_4; }
inline void set_m_name_4(String_t* value)
{
___m_name_4 = value;
Il2CppCodeGenWriteBarrier((&___m_name_4), value);
}
inline static int32_t get_offset_of_collator_5() { return static_cast<int32_t>(offsetof(CompareInfo_t1092934962, ___collator_5)); }
inline SimpleCollator_t2877834729 * get_collator_5() const { return ___collator_5; }
inline SimpleCollator_t2877834729 ** get_address_of_collator_5() { return &___collator_5; }
inline void set_collator_5(SimpleCollator_t2877834729 * value)
{
___collator_5 = value;
Il2CppCodeGenWriteBarrier((&___collator_5), value);
}
};
struct CompareInfo_t1092934962_StaticFields
{
public:
// System.Boolean System.Globalization.CompareInfo::useManagedCollation
bool ___useManagedCollation_0;
// System.Collections.Hashtable System.Globalization.CompareInfo::collators
Hashtable_t1853889766 * ___collators_6;
// System.Object System.Globalization.CompareInfo::monitor
RuntimeObject * ___monitor_7;
public:
inline static int32_t get_offset_of_useManagedCollation_0() { return static_cast<int32_t>(offsetof(CompareInfo_t1092934962_StaticFields, ___useManagedCollation_0)); }
inline bool get_useManagedCollation_0() const { return ___useManagedCollation_0; }
inline bool* get_address_of_useManagedCollation_0() { return &___useManagedCollation_0; }
inline void set_useManagedCollation_0(bool value)
{
___useManagedCollation_0 = value;
}
inline static int32_t get_offset_of_collators_6() { return static_cast<int32_t>(offsetof(CompareInfo_t1092934962_StaticFields, ___collators_6)); }
inline Hashtable_t1853889766 * get_collators_6() const { return ___collators_6; }
inline Hashtable_t1853889766 ** get_address_of_collators_6() { return &___collators_6; }
inline void set_collators_6(Hashtable_t1853889766 * value)
{
___collators_6 = value;
Il2CppCodeGenWriteBarrier((&___collators_6), value);
}
inline static int32_t get_offset_of_monitor_7() { return static_cast<int32_t>(offsetof(CompareInfo_t1092934962_StaticFields, ___monitor_7)); }
inline RuntimeObject * get_monitor_7() const { return ___monitor_7; }
inline RuntimeObject ** get_address_of_monitor_7() { return &___monitor_7; }
inline void set_monitor_7(RuntimeObject * value)
{
___monitor_7 = value;
Il2CppCodeGenWriteBarrier((&___monitor_7), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // COMPAREINFO_T1092934962_H
#ifndef CULTUREINFO_T4157843068_H
#define CULTUREINFO_T4157843068_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Globalization.CultureInfo
struct CultureInfo_t4157843068 : public RuntimeObject
{
public:
// System.Boolean System.Globalization.CultureInfo::m_isReadOnly
bool ___m_isReadOnly_7;
// System.Int32 System.Globalization.CultureInfo::cultureID
int32_t ___cultureID_8;
// System.Int32 System.Globalization.CultureInfo::parent_lcid
int32_t ___parent_lcid_9;
// System.Int32 System.Globalization.CultureInfo::specific_lcid
int32_t ___specific_lcid_10;
// System.Int32 System.Globalization.CultureInfo::datetime_index
int32_t ___datetime_index_11;
// System.Int32 System.Globalization.CultureInfo::number_index
int32_t ___number_index_12;
// System.Boolean System.Globalization.CultureInfo::m_useUserOverride
bool ___m_useUserOverride_13;
// System.Globalization.NumberFormatInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::numInfo
NumberFormatInfo_t435877138 * ___numInfo_14;
// System.Globalization.DateTimeFormatInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::dateTimeInfo
DateTimeFormatInfo_t2405853701 * ___dateTimeInfo_15;
// System.Globalization.TextInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::textInfo
TextInfo_t3810425522 * ___textInfo_16;
// System.String System.Globalization.CultureInfo::m_name
String_t* ___m_name_17;
// System.String System.Globalization.CultureInfo::displayname
String_t* ___displayname_18;
// System.String System.Globalization.CultureInfo::englishname
String_t* ___englishname_19;
// System.String System.Globalization.CultureInfo::nativename
String_t* ___nativename_20;
// System.String System.Globalization.CultureInfo::iso3lang
String_t* ___iso3lang_21;
// System.String System.Globalization.CultureInfo::iso2lang
String_t* ___iso2lang_22;
// System.String System.Globalization.CultureInfo::icu_name
String_t* ___icu_name_23;
// System.String System.Globalization.CultureInfo::win3lang
String_t* ___win3lang_24;
// System.String System.Globalization.CultureInfo::territory
String_t* ___territory_25;
// System.Globalization.CompareInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::compareInfo
CompareInfo_t1092934962 * ___compareInfo_26;
// System.Int32* System.Globalization.CultureInfo::calendar_data
int32_t* ___calendar_data_27;
// System.Void* System.Globalization.CultureInfo::textinfo_data
void* ___textinfo_data_28;
// System.Globalization.Calendar[] System.Globalization.CultureInfo::optional_calendars
CalendarU5BU5D_t3985046076* ___optional_calendars_29;
// System.Globalization.CultureInfo System.Globalization.CultureInfo::parent_culture
CultureInfo_t4157843068 * ___parent_culture_30;
// System.Int32 System.Globalization.CultureInfo::m_dataItem
int32_t ___m_dataItem_31;
// System.Globalization.Calendar System.Globalization.CultureInfo::calendar
Calendar_t1661121569 * ___calendar_32;
// System.Boolean System.Globalization.CultureInfo::constructed
bool ___constructed_33;
// System.Byte[] System.Globalization.CultureInfo::cached_serialized_form
ByteU5BU5D_t4116647657* ___cached_serialized_form_34;
public:
inline static int32_t get_offset_of_m_isReadOnly_7() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068, ___m_isReadOnly_7)); }
inline bool get_m_isReadOnly_7() const { return ___m_isReadOnly_7; }
inline bool* get_address_of_m_isReadOnly_7() { return &___m_isReadOnly_7; }
inline void set_m_isReadOnly_7(bool value)
{
___m_isReadOnly_7 = value;
}
inline static int32_t get_offset_of_cultureID_8() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068, ___cultureID_8)); }
inline int32_t get_cultureID_8() const { return ___cultureID_8; }
inline int32_t* get_address_of_cultureID_8() { return &___cultureID_8; }
inline void set_cultureID_8(int32_t value)
{
___cultureID_8 = value;
}
inline static int32_t get_offset_of_parent_lcid_9() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068, ___parent_lcid_9)); }
inline int32_t get_parent_lcid_9() const { return ___parent_lcid_9; }
inline int32_t* get_address_of_parent_lcid_9() { return &___parent_lcid_9; }
inline void set_parent_lcid_9(int32_t value)
{
___parent_lcid_9 = value;
}
inline static int32_t get_offset_of_specific_lcid_10() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068, ___specific_lcid_10)); }
inline int32_t get_specific_lcid_10() const { return ___specific_lcid_10; }
inline int32_t* get_address_of_specific_lcid_10() { return &___specific_lcid_10; }
inline void set_specific_lcid_10(int32_t value)
{
___specific_lcid_10 = value;
}
inline static int32_t get_offset_of_datetime_index_11() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068, ___datetime_index_11)); }
inline int32_t get_datetime_index_11() const { return ___datetime_index_11; }
inline int32_t* get_address_of_datetime_index_11() { return &___datetime_index_11; }
inline void set_datetime_index_11(int32_t value)
{
___datetime_index_11 = value;
}
inline static int32_t get_offset_of_number_index_12() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068, ___number_index_12)); }
inline int32_t get_number_index_12() const { return ___number_index_12; }
inline int32_t* get_address_of_number_index_12() { return &___number_index_12; }
inline void set_number_index_12(int32_t value)
{
___number_index_12 = value;
}
inline static int32_t get_offset_of_m_useUserOverride_13() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068, ___m_useUserOverride_13)); }
inline bool get_m_useUserOverride_13() const { return ___m_useUserOverride_13; }
inline bool* get_address_of_m_useUserOverride_13() { return &___m_useUserOverride_13; }
inline void set_m_useUserOverride_13(bool value)
{
___m_useUserOverride_13 = value;
}
inline static int32_t get_offset_of_numInfo_14() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068, ___numInfo_14)); }
inline NumberFormatInfo_t435877138 * get_numInfo_14() const { return ___numInfo_14; }
inline NumberFormatInfo_t435877138 ** get_address_of_numInfo_14() { return &___numInfo_14; }
inline void set_numInfo_14(NumberFormatInfo_t435877138 * value)
{
___numInfo_14 = value;
Il2CppCodeGenWriteBarrier((&___numInfo_14), value);
}
inline static int32_t get_offset_of_dateTimeInfo_15() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068, ___dateTimeInfo_15)); }
inline DateTimeFormatInfo_t2405853701 * get_dateTimeInfo_15() const { return ___dateTimeInfo_15; }
inline DateTimeFormatInfo_t2405853701 ** get_address_of_dateTimeInfo_15() { return &___dateTimeInfo_15; }
inline void set_dateTimeInfo_15(DateTimeFormatInfo_t2405853701 * value)
{
___dateTimeInfo_15 = value;
Il2CppCodeGenWriteBarrier((&___dateTimeInfo_15), value);
}
inline static int32_t get_offset_of_textInfo_16() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068, ___textInfo_16)); }
inline TextInfo_t3810425522 * get_textInfo_16() const { return ___textInfo_16; }
inline TextInfo_t3810425522 ** get_address_of_textInfo_16() { return &___textInfo_16; }
inline void set_textInfo_16(TextInfo_t3810425522 * value)
{
___textInfo_16 = value;
Il2CppCodeGenWriteBarrier((&___textInfo_16), value);
}
inline static int32_t get_offset_of_m_name_17() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068, ___m_name_17)); }
inline String_t* get_m_name_17() const { return ___m_name_17; }
inline String_t** get_address_of_m_name_17() { return &___m_name_17; }
inline void set_m_name_17(String_t* value)
{
___m_name_17 = value;
Il2CppCodeGenWriteBarrier((&___m_name_17), value);
}
inline static int32_t get_offset_of_displayname_18() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068, ___displayname_18)); }
inline String_t* get_displayname_18() const { return ___displayname_18; }
inline String_t** get_address_of_displayname_18() { return &___displayname_18; }
inline void set_displayname_18(String_t* value)
{
___displayname_18 = value;
Il2CppCodeGenWriteBarrier((&___displayname_18), value);
}
inline static int32_t get_offset_of_englishname_19() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068, ___englishname_19)); }
inline String_t* get_englishname_19() const { return ___englishname_19; }
inline String_t** get_address_of_englishname_19() { return &___englishname_19; }
inline void set_englishname_19(String_t* value)
{
___englishname_19 = value;
Il2CppCodeGenWriteBarrier((&___englishname_19), value);
}
inline static int32_t get_offset_of_nativename_20() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068, ___nativename_20)); }
inline String_t* get_nativename_20() const { return ___nativename_20; }
inline String_t** get_address_of_nativename_20() { return &___nativename_20; }
inline void set_nativename_20(String_t* value)
{
___nativename_20 = value;
Il2CppCodeGenWriteBarrier((&___nativename_20), value);
}
inline static int32_t get_offset_of_iso3lang_21() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068, ___iso3lang_21)); }
inline String_t* get_iso3lang_21() const { return ___iso3lang_21; }
inline String_t** get_address_of_iso3lang_21() { return &___iso3lang_21; }
inline void set_iso3lang_21(String_t* value)
{
___iso3lang_21 = value;
Il2CppCodeGenWriteBarrier((&___iso3lang_21), value);
}
inline static int32_t get_offset_of_iso2lang_22() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068, ___iso2lang_22)); }
inline String_t* get_iso2lang_22() const { return ___iso2lang_22; }
inline String_t** get_address_of_iso2lang_22() { return &___iso2lang_22; }
inline void set_iso2lang_22(String_t* value)
{
___iso2lang_22 = value;
Il2CppCodeGenWriteBarrier((&___iso2lang_22), value);
}
inline static int32_t get_offset_of_icu_name_23() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068, ___icu_name_23)); }
inline String_t* get_icu_name_23() const { return ___icu_name_23; }
inline String_t** get_address_of_icu_name_23() { return &___icu_name_23; }
inline void set_icu_name_23(String_t* value)
{
___icu_name_23 = value;
Il2CppCodeGenWriteBarrier((&___icu_name_23), value);
}
inline static int32_t get_offset_of_win3lang_24() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068, ___win3lang_24)); }
inline String_t* get_win3lang_24() const { return ___win3lang_24; }
inline String_t** get_address_of_win3lang_24() { return &___win3lang_24; }
inline void set_win3lang_24(String_t* value)
{
___win3lang_24 = value;
Il2CppCodeGenWriteBarrier((&___win3lang_24), value);
}
inline static int32_t get_offset_of_territory_25() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068, ___territory_25)); }
inline String_t* get_territory_25() const { return ___territory_25; }
inline String_t** get_address_of_territory_25() { return &___territory_25; }
inline void set_territory_25(String_t* value)
{
___territory_25 = value;
Il2CppCodeGenWriteBarrier((&___territory_25), value);
}
inline static int32_t get_offset_of_compareInfo_26() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068, ___compareInfo_26)); }
inline CompareInfo_t1092934962 * get_compareInfo_26() const { return ___compareInfo_26; }
inline CompareInfo_t1092934962 ** get_address_of_compareInfo_26() { return &___compareInfo_26; }
inline void set_compareInfo_26(CompareInfo_t1092934962 * value)
{
___compareInfo_26 = value;
Il2CppCodeGenWriteBarrier((&___compareInfo_26), value);
}
inline static int32_t get_offset_of_calendar_data_27() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068, ___calendar_data_27)); }
inline int32_t* get_calendar_data_27() const { return ___calendar_data_27; }
inline int32_t** get_address_of_calendar_data_27() { return &___calendar_data_27; }
inline void set_calendar_data_27(int32_t* value)
{
___calendar_data_27 = value;
}
inline static int32_t get_offset_of_textinfo_data_28() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068, ___textinfo_data_28)); }
inline void* get_textinfo_data_28() const { return ___textinfo_data_28; }
inline void** get_address_of_textinfo_data_28() { return &___textinfo_data_28; }
inline void set_textinfo_data_28(void* value)
{
___textinfo_data_28 = value;
}
inline static int32_t get_offset_of_optional_calendars_29() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068, ___optional_calendars_29)); }
inline CalendarU5BU5D_t3985046076* get_optional_calendars_29() const { return ___optional_calendars_29; }
inline CalendarU5BU5D_t3985046076** get_address_of_optional_calendars_29() { return &___optional_calendars_29; }
inline void set_optional_calendars_29(CalendarU5BU5D_t3985046076* value)
{
___optional_calendars_29 = value;
Il2CppCodeGenWriteBarrier((&___optional_calendars_29), value);
}
inline static int32_t get_offset_of_parent_culture_30() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068, ___parent_culture_30)); }
inline CultureInfo_t4157843068 * get_parent_culture_30() const { return ___parent_culture_30; }
inline CultureInfo_t4157843068 ** get_address_of_parent_culture_30() { return &___parent_culture_30; }
inline void set_parent_culture_30(CultureInfo_t4157843068 * value)
{
___parent_culture_30 = value;
Il2CppCodeGenWriteBarrier((&___parent_culture_30), value);
}
inline static int32_t get_offset_of_m_dataItem_31() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068, ___m_dataItem_31)); }
inline int32_t get_m_dataItem_31() const { return ___m_dataItem_31; }
inline int32_t* get_address_of_m_dataItem_31() { return &___m_dataItem_31; }
inline void set_m_dataItem_31(int32_t value)
{
___m_dataItem_31 = value;
}
inline static int32_t get_offset_of_calendar_32() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068, ___calendar_32)); }
inline Calendar_t1661121569 * get_calendar_32() const { return ___calendar_32; }
inline Calendar_t1661121569 ** get_address_of_calendar_32() { return &___calendar_32; }
inline void set_calendar_32(Calendar_t1661121569 * value)
{
___calendar_32 = value;
Il2CppCodeGenWriteBarrier((&___calendar_32), value);
}
inline static int32_t get_offset_of_constructed_33() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068, ___constructed_33)); }
inline bool get_constructed_33() const { return ___constructed_33; }
inline bool* get_address_of_constructed_33() { return &___constructed_33; }
inline void set_constructed_33(bool value)
{
___constructed_33 = value;
}
inline static int32_t get_offset_of_cached_serialized_form_34() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068, ___cached_serialized_form_34)); }
inline ByteU5BU5D_t4116647657* get_cached_serialized_form_34() const { return ___cached_serialized_form_34; }
inline ByteU5BU5D_t4116647657** get_address_of_cached_serialized_form_34() { return &___cached_serialized_form_34; }
inline void set_cached_serialized_form_34(ByteU5BU5D_t4116647657* value)
{
___cached_serialized_form_34 = value;
Il2CppCodeGenWriteBarrier((&___cached_serialized_form_34), value);
}
};
struct CultureInfo_t4157843068_StaticFields
{
public:
// System.Globalization.CultureInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::invariant_culture_info
CultureInfo_t4157843068 * ___invariant_culture_info_4;
// System.Object System.Globalization.CultureInfo::shared_table_lock
RuntimeObject * ___shared_table_lock_5;
// System.Int32 System.Globalization.CultureInfo::BootstrapCultureID
int32_t ___BootstrapCultureID_6;
// System.String System.Globalization.CultureInfo::MSG_READONLY
String_t* ___MSG_READONLY_35;
// System.Collections.Hashtable System.Globalization.CultureInfo::shared_by_number
Hashtable_t1853889766 * ___shared_by_number_36;
// System.Collections.Hashtable System.Globalization.CultureInfo::shared_by_name
Hashtable_t1853889766 * ___shared_by_name_37;
// System.Collections.Generic.Dictionary`2<System.String,System.Int32> System.Globalization.CultureInfo::<>f__switch$map19
Dictionary_2_t2736202052 * ___U3CU3Ef__switchU24map19_38;
// System.Collections.Generic.Dictionary`2<System.String,System.Int32> System.Globalization.CultureInfo::<>f__switch$map1A
Dictionary_2_t2736202052 * ___U3CU3Ef__switchU24map1A_39;
public:
inline static int32_t get_offset_of_invariant_culture_info_4() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068_StaticFields, ___invariant_culture_info_4)); }
inline CultureInfo_t4157843068 * get_invariant_culture_info_4() const { return ___invariant_culture_info_4; }
inline CultureInfo_t4157843068 ** get_address_of_invariant_culture_info_4() { return &___invariant_culture_info_4; }
inline void set_invariant_culture_info_4(CultureInfo_t4157843068 * value)
{
___invariant_culture_info_4 = value;
Il2CppCodeGenWriteBarrier((&___invariant_culture_info_4), value);
}
inline static int32_t get_offset_of_shared_table_lock_5() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068_StaticFields, ___shared_table_lock_5)); }
inline RuntimeObject * get_shared_table_lock_5() const { return ___shared_table_lock_5; }
inline RuntimeObject ** get_address_of_shared_table_lock_5() { return &___shared_table_lock_5; }
inline void set_shared_table_lock_5(RuntimeObject * value)
{
___shared_table_lock_5 = value;
Il2CppCodeGenWriteBarrier((&___shared_table_lock_5), value);
}
inline static int32_t get_offset_of_BootstrapCultureID_6() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068_StaticFields, ___BootstrapCultureID_6)); }
inline int32_t get_BootstrapCultureID_6() const { return ___BootstrapCultureID_6; }
inline int32_t* get_address_of_BootstrapCultureID_6() { return &___BootstrapCultureID_6; }
inline void set_BootstrapCultureID_6(int32_t value)
{
___BootstrapCultureID_6 = value;
}
inline static int32_t get_offset_of_MSG_READONLY_35() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068_StaticFields, ___MSG_READONLY_35)); }
inline String_t* get_MSG_READONLY_35() const { return ___MSG_READONLY_35; }
inline String_t** get_address_of_MSG_READONLY_35() { return &___MSG_READONLY_35; }
inline void set_MSG_READONLY_35(String_t* value)
{
___MSG_READONLY_35 = value;
Il2CppCodeGenWriteBarrier((&___MSG_READONLY_35), value);
}
inline static int32_t get_offset_of_shared_by_number_36() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068_StaticFields, ___shared_by_number_36)); }
inline Hashtable_t1853889766 * get_shared_by_number_36() const { return ___shared_by_number_36; }
inline Hashtable_t1853889766 ** get_address_of_shared_by_number_36() { return &___shared_by_number_36; }
inline void set_shared_by_number_36(Hashtable_t1853889766 * value)
{
___shared_by_number_36 = value;
Il2CppCodeGenWriteBarrier((&___shared_by_number_36), value);
}
inline static int32_t get_offset_of_shared_by_name_37() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068_StaticFields, ___shared_by_name_37)); }
inline Hashtable_t1853889766 * get_shared_by_name_37() const { return ___shared_by_name_37; }
inline Hashtable_t1853889766 ** get_address_of_shared_by_name_37() { return &___shared_by_name_37; }
inline void set_shared_by_name_37(Hashtable_t1853889766 * value)
{
___shared_by_name_37 = value;
Il2CppCodeGenWriteBarrier((&___shared_by_name_37), value);
}
inline static int32_t get_offset_of_U3CU3Ef__switchU24map19_38() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068_StaticFields, ___U3CU3Ef__switchU24map19_38)); }
inline Dictionary_2_t2736202052 * get_U3CU3Ef__switchU24map19_38() const { return ___U3CU3Ef__switchU24map19_38; }
inline Dictionary_2_t2736202052 ** get_address_of_U3CU3Ef__switchU24map19_38() { return &___U3CU3Ef__switchU24map19_38; }
inline void set_U3CU3Ef__switchU24map19_38(Dictionary_2_t2736202052 * value)
{
___U3CU3Ef__switchU24map19_38 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__switchU24map19_38), value);
}
inline static int32_t get_offset_of_U3CU3Ef__switchU24map1A_39() { return static_cast<int32_t>(offsetof(CultureInfo_t4157843068_StaticFields, ___U3CU3Ef__switchU24map1A_39)); }
inline Dictionary_2_t2736202052 * get_U3CU3Ef__switchU24map1A_39() const { return ___U3CU3Ef__switchU24map1A_39; }
inline Dictionary_2_t2736202052 ** get_address_of_U3CU3Ef__switchU24map1A_39() { return &___U3CU3Ef__switchU24map1A_39; }
inline void set_U3CU3Ef__switchU24map1A_39(Dictionary_2_t2736202052 * value)
{
___U3CU3Ef__switchU24map1A_39 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__switchU24map1A_39), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CULTUREINFO_T4157843068_H
#ifndef STREAM_T1273022909_H
#define STREAM_T1273022909_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.IO.Stream
struct Stream_t1273022909 : public RuntimeObject
{
public:
public:
};
struct Stream_t1273022909_StaticFields
{
public:
// System.IO.Stream System.IO.Stream::Null
Stream_t1273022909 * ___Null_0;
public:
inline static int32_t get_offset_of_Null_0() { return static_cast<int32_t>(offsetof(Stream_t1273022909_StaticFields, ___Null_0)); }
inline Stream_t1273022909 * get_Null_0() const { return ___Null_0; }
inline Stream_t1273022909 ** get_address_of_Null_0() { return &___Null_0; }
inline void set_Null_0(Stream_t1273022909 * value)
{
___Null_0 = value;
Il2CppCodeGenWriteBarrier((&___Null_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // STREAM_T1273022909_H
#ifndef MARSHALBYREFOBJECT_T2760389100_H
#define MARSHALBYREFOBJECT_T2760389100_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.MarshalByRefObject
struct MarshalByRefObject_t2760389100 : public RuntimeObject
{
public:
// System.Runtime.Remoting.ServerIdentity System.MarshalByRefObject::_identity
ServerIdentity_t2342208608 * ____identity_0;
public:
inline static int32_t get_offset_of__identity_0() { return static_cast<int32_t>(offsetof(MarshalByRefObject_t2760389100, ____identity_0)); }
inline ServerIdentity_t2342208608 * get__identity_0() const { return ____identity_0; }
inline ServerIdentity_t2342208608 ** get_address_of__identity_0() { return &____identity_0; }
inline void set__identity_0(ServerIdentity_t2342208608 * value)
{
____identity_0 = value;
Il2CppCodeGenWriteBarrier((&____identity_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MARSHALBYREFOBJECT_T2760389100_H
#ifndef MEMBERINFO_T_H
#define MEMBERINFO_T_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Reflection.MemberInfo
struct MemberInfo_t : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MEMBERINFO_T_H
#ifndef ASYMMETRICALGORITHM_T932037087_H
#define ASYMMETRICALGORITHM_T932037087_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.AsymmetricAlgorithm
struct AsymmetricAlgorithm_t932037087 : public RuntimeObject
{
public:
// System.Int32 System.Security.Cryptography.AsymmetricAlgorithm::KeySizeValue
int32_t ___KeySizeValue_0;
// System.Security.Cryptography.KeySizes[] System.Security.Cryptography.AsymmetricAlgorithm::LegalKeySizesValue
KeySizesU5BU5D_t722666473* ___LegalKeySizesValue_1;
public:
inline static int32_t get_offset_of_KeySizeValue_0() { return static_cast<int32_t>(offsetof(AsymmetricAlgorithm_t932037087, ___KeySizeValue_0)); }
inline int32_t get_KeySizeValue_0() const { return ___KeySizeValue_0; }
inline int32_t* get_address_of_KeySizeValue_0() { return &___KeySizeValue_0; }
inline void set_KeySizeValue_0(int32_t value)
{
___KeySizeValue_0 = value;
}
inline static int32_t get_offset_of_LegalKeySizesValue_1() { return static_cast<int32_t>(offsetof(AsymmetricAlgorithm_t932037087, ___LegalKeySizesValue_1)); }
inline KeySizesU5BU5D_t722666473* get_LegalKeySizesValue_1() const { return ___LegalKeySizesValue_1; }
inline KeySizesU5BU5D_t722666473** get_address_of_LegalKeySizesValue_1() { return &___LegalKeySizesValue_1; }
inline void set_LegalKeySizesValue_1(KeySizesU5BU5D_t722666473* value)
{
___LegalKeySizesValue_1 = value;
Il2CppCodeGenWriteBarrier((&___LegalKeySizesValue_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ASYMMETRICALGORITHM_T932037087_H
#ifndef ASYMMETRICKEYEXCHANGEFORMATTER_T937192061_H
#define ASYMMETRICKEYEXCHANGEFORMATTER_T937192061_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.AsymmetricKeyExchangeFormatter
struct AsymmetricKeyExchangeFormatter_t937192061 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ASYMMETRICKEYEXCHANGEFORMATTER_T937192061_H
#ifndef ASYMMETRICSIGNATUREDEFORMATTER_T2681190756_H
#define ASYMMETRICSIGNATUREDEFORMATTER_T2681190756_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.AsymmetricSignatureDeformatter
struct AsymmetricSignatureDeformatter_t2681190756 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ASYMMETRICSIGNATUREDEFORMATTER_T2681190756_H
#ifndef ASYMMETRICSIGNATUREFORMATTER_T3486936014_H
#define ASYMMETRICSIGNATUREFORMATTER_T3486936014_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.AsymmetricSignatureFormatter
struct AsymmetricSignatureFormatter_t3486936014 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ASYMMETRICSIGNATUREFORMATTER_T3486936014_H
#ifndef HASHALGORITHM_T1432317219_H
#define HASHALGORITHM_T1432317219_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.HashAlgorithm
struct HashAlgorithm_t1432317219 : public RuntimeObject
{
public:
// System.Byte[] System.Security.Cryptography.HashAlgorithm::HashValue
ByteU5BU5D_t4116647657* ___HashValue_0;
// System.Int32 System.Security.Cryptography.HashAlgorithm::HashSizeValue
int32_t ___HashSizeValue_1;
// System.Int32 System.Security.Cryptography.HashAlgorithm::State
int32_t ___State_2;
// System.Boolean System.Security.Cryptography.HashAlgorithm::disposed
bool ___disposed_3;
public:
inline static int32_t get_offset_of_HashValue_0() { return static_cast<int32_t>(offsetof(HashAlgorithm_t1432317219, ___HashValue_0)); }
inline ByteU5BU5D_t4116647657* get_HashValue_0() const { return ___HashValue_0; }
inline ByteU5BU5D_t4116647657** get_address_of_HashValue_0() { return &___HashValue_0; }
inline void set_HashValue_0(ByteU5BU5D_t4116647657* value)
{
___HashValue_0 = value;
Il2CppCodeGenWriteBarrier((&___HashValue_0), value);
}
inline static int32_t get_offset_of_HashSizeValue_1() { return static_cast<int32_t>(offsetof(HashAlgorithm_t1432317219, ___HashSizeValue_1)); }
inline int32_t get_HashSizeValue_1() const { return ___HashSizeValue_1; }
inline int32_t* get_address_of_HashSizeValue_1() { return &___HashSizeValue_1; }
inline void set_HashSizeValue_1(int32_t value)
{
___HashSizeValue_1 = value;
}
inline static int32_t get_offset_of_State_2() { return static_cast<int32_t>(offsetof(HashAlgorithm_t1432317219, ___State_2)); }
inline int32_t get_State_2() const { return ___State_2; }
inline int32_t* get_address_of_State_2() { return &___State_2; }
inline void set_State_2(int32_t value)
{
___State_2 = value;
}
inline static int32_t get_offset_of_disposed_3() { return static_cast<int32_t>(offsetof(HashAlgorithm_t1432317219, ___disposed_3)); }
inline bool get_disposed_3() const { return ___disposed_3; }
inline bool* get_address_of_disposed_3() { return &___disposed_3; }
inline void set_disposed_3(bool value)
{
___disposed_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // HASHALGORITHM_T1432317219_H
#ifndef KEYSIZES_T85027896_H
#define KEYSIZES_T85027896_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.KeySizes
struct KeySizes_t85027896 : public RuntimeObject
{
public:
// System.Int32 System.Security.Cryptography.KeySizes::_maxSize
int32_t ____maxSize_0;
// System.Int32 System.Security.Cryptography.KeySizes::_minSize
int32_t ____minSize_1;
// System.Int32 System.Security.Cryptography.KeySizes::_skipSize
int32_t ____skipSize_2;
public:
inline static int32_t get_offset_of__maxSize_0() { return static_cast<int32_t>(offsetof(KeySizes_t85027896, ____maxSize_0)); }
inline int32_t get__maxSize_0() const { return ____maxSize_0; }
inline int32_t* get_address_of__maxSize_0() { return &____maxSize_0; }
inline void set__maxSize_0(int32_t value)
{
____maxSize_0 = value;
}
inline static int32_t get_offset_of__minSize_1() { return static_cast<int32_t>(offsetof(KeySizes_t85027896, ____minSize_1)); }
inline int32_t get__minSize_1() const { return ____minSize_1; }
inline int32_t* get_address_of__minSize_1() { return &____minSize_1; }
inline void set__minSize_1(int32_t value)
{
____minSize_1 = value;
}
inline static int32_t get_offset_of__skipSize_2() { return static_cast<int32_t>(offsetof(KeySizes_t85027896, ____skipSize_2)); }
inline int32_t get__skipSize_2() const { return ____skipSize_2; }
inline int32_t* get_address_of__skipSize_2() { return &____skipSize_2; }
inline void set__skipSize_2(int32_t value)
{
____skipSize_2 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // KEYSIZES_T85027896_H
#ifndef RANDOMNUMBERGENERATOR_T386037858_H
#define RANDOMNUMBERGENERATOR_T386037858_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.RandomNumberGenerator
struct RandomNumberGenerator_t386037858 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RANDOMNUMBERGENERATOR_T386037858_H
#ifndef X509CERTIFICATE_T713131622_H
#define X509CERTIFICATE_T713131622_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.X509Certificates.X509Certificate
struct X509Certificate_t713131622 : public RuntimeObject
{
public:
// Mono.Security.X509.X509Certificate System.Security.Cryptography.X509Certificates.X509Certificate::x509
X509Certificate_t489243024 * ___x509_0;
// System.Boolean System.Security.Cryptography.X509Certificates.X509Certificate::hideDates
bool ___hideDates_1;
// System.Byte[] System.Security.Cryptography.X509Certificates.X509Certificate::cachedCertificateHash
ByteU5BU5D_t4116647657* ___cachedCertificateHash_2;
// System.String System.Security.Cryptography.X509Certificates.X509Certificate::issuer_name
String_t* ___issuer_name_3;
// System.String System.Security.Cryptography.X509Certificates.X509Certificate::subject_name
String_t* ___subject_name_4;
public:
inline static int32_t get_offset_of_x509_0() { return static_cast<int32_t>(offsetof(X509Certificate_t713131622, ___x509_0)); }
inline X509Certificate_t489243024 * get_x509_0() const { return ___x509_0; }
inline X509Certificate_t489243024 ** get_address_of_x509_0() { return &___x509_0; }
inline void set_x509_0(X509Certificate_t489243024 * value)
{
___x509_0 = value;
Il2CppCodeGenWriteBarrier((&___x509_0), value);
}
inline static int32_t get_offset_of_hideDates_1() { return static_cast<int32_t>(offsetof(X509Certificate_t713131622, ___hideDates_1)); }
inline bool get_hideDates_1() const { return ___hideDates_1; }
inline bool* get_address_of_hideDates_1() { return &___hideDates_1; }
inline void set_hideDates_1(bool value)
{
___hideDates_1 = value;
}
inline static int32_t get_offset_of_cachedCertificateHash_2() { return static_cast<int32_t>(offsetof(X509Certificate_t713131622, ___cachedCertificateHash_2)); }
inline ByteU5BU5D_t4116647657* get_cachedCertificateHash_2() const { return ___cachedCertificateHash_2; }
inline ByteU5BU5D_t4116647657** get_address_of_cachedCertificateHash_2() { return &___cachedCertificateHash_2; }
inline void set_cachedCertificateHash_2(ByteU5BU5D_t4116647657* value)
{
___cachedCertificateHash_2 = value;
Il2CppCodeGenWriteBarrier((&___cachedCertificateHash_2), value);
}
inline static int32_t get_offset_of_issuer_name_3() { return static_cast<int32_t>(offsetof(X509Certificate_t713131622, ___issuer_name_3)); }
inline String_t* get_issuer_name_3() const { return ___issuer_name_3; }
inline String_t** get_address_of_issuer_name_3() { return &___issuer_name_3; }
inline void set_issuer_name_3(String_t* value)
{
___issuer_name_3 = value;
Il2CppCodeGenWriteBarrier((&___issuer_name_3), value);
}
inline static int32_t get_offset_of_subject_name_4() { return static_cast<int32_t>(offsetof(X509Certificate_t713131622, ___subject_name_4)); }
inline String_t* get_subject_name_4() const { return ___subject_name_4; }
inline String_t** get_address_of_subject_name_4() { return &___subject_name_4; }
inline void set_subject_name_4(String_t* value)
{
___subject_name_4 = value;
Il2CppCodeGenWriteBarrier((&___subject_name_4), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // X509CERTIFICATE_T713131622_H
#ifndef X509CERTIFICATEENUMERATOR_T855273292_H
#define X509CERTIFICATEENUMERATOR_T855273292_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.X509Certificates.X509CertificateCollection/X509CertificateEnumerator
struct X509CertificateEnumerator_t855273292 : public RuntimeObject
{
public:
// System.Collections.IEnumerator System.Security.Cryptography.X509Certificates.X509CertificateCollection/X509CertificateEnumerator::enumerator
RuntimeObject* ___enumerator_0;
public:
inline static int32_t get_offset_of_enumerator_0() { return static_cast<int32_t>(offsetof(X509CertificateEnumerator_t855273292, ___enumerator_0)); }
inline RuntimeObject* get_enumerator_0() const { return ___enumerator_0; }
inline RuntimeObject** get_address_of_enumerator_0() { return &___enumerator_0; }
inline void set_enumerator_0(RuntimeObject* value)
{
___enumerator_0 = value;
Il2CppCodeGenWriteBarrier((&___enumerator_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // X509CERTIFICATEENUMERATOR_T855273292_H
#ifndef STRING_T_H
#define STRING_T_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.String
struct String_t : public RuntimeObject
{
public:
// System.Int32 System.String::length
int32_t ___length_0;
// System.Char System.String::start_char
Il2CppChar ___start_char_1;
public:
inline static int32_t get_offset_of_length_0() { return static_cast<int32_t>(offsetof(String_t, ___length_0)); }
inline int32_t get_length_0() const { return ___length_0; }
inline int32_t* get_address_of_length_0() { return &___length_0; }
inline void set_length_0(int32_t value)
{
___length_0 = value;
}
inline static int32_t get_offset_of_start_char_1() { return static_cast<int32_t>(offsetof(String_t, ___start_char_1)); }
inline Il2CppChar get_start_char_1() const { return ___start_char_1; }
inline Il2CppChar* get_address_of_start_char_1() { return &___start_char_1; }
inline void set_start_char_1(Il2CppChar value)
{
___start_char_1 = value;
}
};
struct String_t_StaticFields
{
public:
// System.String System.String::Empty
String_t* ___Empty_2;
// System.Char[] System.String::WhiteChars
CharU5BU5D_t3528271667* ___WhiteChars_3;
public:
inline static int32_t get_offset_of_Empty_2() { return static_cast<int32_t>(offsetof(String_t_StaticFields, ___Empty_2)); }
inline String_t* get_Empty_2() const { return ___Empty_2; }
inline String_t** get_address_of_Empty_2() { return &___Empty_2; }
inline void set_Empty_2(String_t* value)
{
___Empty_2 = value;
Il2CppCodeGenWriteBarrier((&___Empty_2), value);
}
inline static int32_t get_offset_of_WhiteChars_3() { return static_cast<int32_t>(offsetof(String_t_StaticFields, ___WhiteChars_3)); }
inline CharU5BU5D_t3528271667* get_WhiteChars_3() const { return ___WhiteChars_3; }
inline CharU5BU5D_t3528271667** get_address_of_WhiteChars_3() { return &___WhiteChars_3; }
inline void set_WhiteChars_3(CharU5BU5D_t3528271667* value)
{
___WhiteChars_3 = value;
Il2CppCodeGenWriteBarrier((&___WhiteChars_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // STRING_T_H
#ifndef ENCODING_T1523322056_H
#define ENCODING_T1523322056_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Text.Encoding
struct Encoding_t1523322056 : public RuntimeObject
{
public:
// System.Int32 System.Text.Encoding::codePage
int32_t ___codePage_0;
// System.Int32 System.Text.Encoding::windows_code_page
int32_t ___windows_code_page_1;
// System.Boolean System.Text.Encoding::is_readonly
bool ___is_readonly_2;
// System.Text.DecoderFallback System.Text.Encoding::decoder_fallback
DecoderFallback_t3123823036 * ___decoder_fallback_3;
// System.Text.EncoderFallback System.Text.Encoding::encoder_fallback
EncoderFallback_t1188251036 * ___encoder_fallback_4;
// System.String System.Text.Encoding::body_name
String_t* ___body_name_8;
// System.String System.Text.Encoding::encoding_name
String_t* ___encoding_name_9;
// System.String System.Text.Encoding::header_name
String_t* ___header_name_10;
// System.Boolean System.Text.Encoding::is_mail_news_display
bool ___is_mail_news_display_11;
// System.Boolean System.Text.Encoding::is_mail_news_save
bool ___is_mail_news_save_12;
// System.Boolean System.Text.Encoding::is_browser_save
bool ___is_browser_save_13;
// System.Boolean System.Text.Encoding::is_browser_display
bool ___is_browser_display_14;
// System.String System.Text.Encoding::web_name
String_t* ___web_name_15;
public:
inline static int32_t get_offset_of_codePage_0() { return static_cast<int32_t>(offsetof(Encoding_t1523322056, ___codePage_0)); }
inline int32_t get_codePage_0() const { return ___codePage_0; }
inline int32_t* get_address_of_codePage_0() { return &___codePage_0; }
inline void set_codePage_0(int32_t value)
{
___codePage_0 = value;
}
inline static int32_t get_offset_of_windows_code_page_1() { return static_cast<int32_t>(offsetof(Encoding_t1523322056, ___windows_code_page_1)); }
inline int32_t get_windows_code_page_1() const { return ___windows_code_page_1; }
inline int32_t* get_address_of_windows_code_page_1() { return &___windows_code_page_1; }
inline void set_windows_code_page_1(int32_t value)
{
___windows_code_page_1 = value;
}
inline static int32_t get_offset_of_is_readonly_2() { return static_cast<int32_t>(offsetof(Encoding_t1523322056, ___is_readonly_2)); }
inline bool get_is_readonly_2() const { return ___is_readonly_2; }
inline bool* get_address_of_is_readonly_2() { return &___is_readonly_2; }
inline void set_is_readonly_2(bool value)
{
___is_readonly_2 = value;
}
inline static int32_t get_offset_of_decoder_fallback_3() { return static_cast<int32_t>(offsetof(Encoding_t1523322056, ___decoder_fallback_3)); }
inline DecoderFallback_t3123823036 * get_decoder_fallback_3() const { return ___decoder_fallback_3; }
inline DecoderFallback_t3123823036 ** get_address_of_decoder_fallback_3() { return &___decoder_fallback_3; }
inline void set_decoder_fallback_3(DecoderFallback_t3123823036 * value)
{
___decoder_fallback_3 = value;
Il2CppCodeGenWriteBarrier((&___decoder_fallback_3), value);
}
inline static int32_t get_offset_of_encoder_fallback_4() { return static_cast<int32_t>(offsetof(Encoding_t1523322056, ___encoder_fallback_4)); }
inline EncoderFallback_t1188251036 * get_encoder_fallback_4() const { return ___encoder_fallback_4; }
inline EncoderFallback_t1188251036 ** get_address_of_encoder_fallback_4() { return &___encoder_fallback_4; }
inline void set_encoder_fallback_4(EncoderFallback_t1188251036 * value)
{
___encoder_fallback_4 = value;
Il2CppCodeGenWriteBarrier((&___encoder_fallback_4), value);
}
inline static int32_t get_offset_of_body_name_8() { return static_cast<int32_t>(offsetof(Encoding_t1523322056, ___body_name_8)); }
inline String_t* get_body_name_8() const { return ___body_name_8; }
inline String_t** get_address_of_body_name_8() { return &___body_name_8; }
inline void set_body_name_8(String_t* value)
{
___body_name_8 = value;
Il2CppCodeGenWriteBarrier((&___body_name_8), value);
}
inline static int32_t get_offset_of_encoding_name_9() { return static_cast<int32_t>(offsetof(Encoding_t1523322056, ___encoding_name_9)); }
inline String_t* get_encoding_name_9() const { return ___encoding_name_9; }
inline String_t** get_address_of_encoding_name_9() { return &___encoding_name_9; }
inline void set_encoding_name_9(String_t* value)
{
___encoding_name_9 = value;
Il2CppCodeGenWriteBarrier((&___encoding_name_9), value);
}
inline static int32_t get_offset_of_header_name_10() { return static_cast<int32_t>(offsetof(Encoding_t1523322056, ___header_name_10)); }
inline String_t* get_header_name_10() const { return ___header_name_10; }
inline String_t** get_address_of_header_name_10() { return &___header_name_10; }
inline void set_header_name_10(String_t* value)
{
___header_name_10 = value;
Il2CppCodeGenWriteBarrier((&___header_name_10), value);
}
inline static int32_t get_offset_of_is_mail_news_display_11() { return static_cast<int32_t>(offsetof(Encoding_t1523322056, ___is_mail_news_display_11)); }
inline bool get_is_mail_news_display_11() const { return ___is_mail_news_display_11; }
inline bool* get_address_of_is_mail_news_display_11() { return &___is_mail_news_display_11; }
inline void set_is_mail_news_display_11(bool value)
{
___is_mail_news_display_11 = value;
}
inline static int32_t get_offset_of_is_mail_news_save_12() { return static_cast<int32_t>(offsetof(Encoding_t1523322056, ___is_mail_news_save_12)); }
inline bool get_is_mail_news_save_12() const { return ___is_mail_news_save_12; }
inline bool* get_address_of_is_mail_news_save_12() { return &___is_mail_news_save_12; }
inline void set_is_mail_news_save_12(bool value)
{
___is_mail_news_save_12 = value;
}
inline static int32_t get_offset_of_is_browser_save_13() { return static_cast<int32_t>(offsetof(Encoding_t1523322056, ___is_browser_save_13)); }
inline bool get_is_browser_save_13() const { return ___is_browser_save_13; }
inline bool* get_address_of_is_browser_save_13() { return &___is_browser_save_13; }
inline void set_is_browser_save_13(bool value)
{
___is_browser_save_13 = value;
}
inline static int32_t get_offset_of_is_browser_display_14() { return static_cast<int32_t>(offsetof(Encoding_t1523322056, ___is_browser_display_14)); }
inline bool get_is_browser_display_14() const { return ___is_browser_display_14; }
inline bool* get_address_of_is_browser_display_14() { return &___is_browser_display_14; }
inline void set_is_browser_display_14(bool value)
{
___is_browser_display_14 = value;
}
inline static int32_t get_offset_of_web_name_15() { return static_cast<int32_t>(offsetof(Encoding_t1523322056, ___web_name_15)); }
inline String_t* get_web_name_15() const { return ___web_name_15; }
inline String_t** get_address_of_web_name_15() { return &___web_name_15; }
inline void set_web_name_15(String_t* value)
{
___web_name_15 = value;
Il2CppCodeGenWriteBarrier((&___web_name_15), value);
}
};
struct Encoding_t1523322056_StaticFields
{
public:
// System.Reflection.Assembly System.Text.Encoding::i18nAssembly
Assembly_t * ___i18nAssembly_5;
// System.Boolean System.Text.Encoding::i18nDisabled
bool ___i18nDisabled_6;
// System.Object[] System.Text.Encoding::encodings
ObjectU5BU5D_t2843939325* ___encodings_7;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::asciiEncoding
Encoding_t1523322056 * ___asciiEncoding_16;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::bigEndianEncoding
Encoding_t1523322056 * ___bigEndianEncoding_17;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::defaultEncoding
Encoding_t1523322056 * ___defaultEncoding_18;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::utf7Encoding
Encoding_t1523322056 * ___utf7Encoding_19;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::utf8EncodingWithMarkers
Encoding_t1523322056 * ___utf8EncodingWithMarkers_20;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::utf8EncodingWithoutMarkers
Encoding_t1523322056 * ___utf8EncodingWithoutMarkers_21;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::unicodeEncoding
Encoding_t1523322056 * ___unicodeEncoding_22;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::isoLatin1Encoding
Encoding_t1523322056 * ___isoLatin1Encoding_23;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::utf8EncodingUnsafe
Encoding_t1523322056 * ___utf8EncodingUnsafe_24;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::utf32Encoding
Encoding_t1523322056 * ___utf32Encoding_25;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::bigEndianUTF32Encoding
Encoding_t1523322056 * ___bigEndianUTF32Encoding_26;
// System.Object System.Text.Encoding::lockobj
RuntimeObject * ___lockobj_27;
public:
inline static int32_t get_offset_of_i18nAssembly_5() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___i18nAssembly_5)); }
inline Assembly_t * get_i18nAssembly_5() const { return ___i18nAssembly_5; }
inline Assembly_t ** get_address_of_i18nAssembly_5() { return &___i18nAssembly_5; }
inline void set_i18nAssembly_5(Assembly_t * value)
{
___i18nAssembly_5 = value;
Il2CppCodeGenWriteBarrier((&___i18nAssembly_5), value);
}
inline static int32_t get_offset_of_i18nDisabled_6() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___i18nDisabled_6)); }
inline bool get_i18nDisabled_6() const { return ___i18nDisabled_6; }
inline bool* get_address_of_i18nDisabled_6() { return &___i18nDisabled_6; }
inline void set_i18nDisabled_6(bool value)
{
___i18nDisabled_6 = value;
}
inline static int32_t get_offset_of_encodings_7() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___encodings_7)); }
inline ObjectU5BU5D_t2843939325* get_encodings_7() const { return ___encodings_7; }
inline ObjectU5BU5D_t2843939325** get_address_of_encodings_7() { return &___encodings_7; }
inline void set_encodings_7(ObjectU5BU5D_t2843939325* value)
{
___encodings_7 = value;
Il2CppCodeGenWriteBarrier((&___encodings_7), value);
}
inline static int32_t get_offset_of_asciiEncoding_16() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___asciiEncoding_16)); }
inline Encoding_t1523322056 * get_asciiEncoding_16() const { return ___asciiEncoding_16; }
inline Encoding_t1523322056 ** get_address_of_asciiEncoding_16() { return &___asciiEncoding_16; }
inline void set_asciiEncoding_16(Encoding_t1523322056 * value)
{
___asciiEncoding_16 = value;
Il2CppCodeGenWriteBarrier((&___asciiEncoding_16), value);
}
inline static int32_t get_offset_of_bigEndianEncoding_17() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___bigEndianEncoding_17)); }
inline Encoding_t1523322056 * get_bigEndianEncoding_17() const { return ___bigEndianEncoding_17; }
inline Encoding_t1523322056 ** get_address_of_bigEndianEncoding_17() { return &___bigEndianEncoding_17; }
inline void set_bigEndianEncoding_17(Encoding_t1523322056 * value)
{
___bigEndianEncoding_17 = value;
Il2CppCodeGenWriteBarrier((&___bigEndianEncoding_17), value);
}
inline static int32_t get_offset_of_defaultEncoding_18() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___defaultEncoding_18)); }
inline Encoding_t1523322056 * get_defaultEncoding_18() const { return ___defaultEncoding_18; }
inline Encoding_t1523322056 ** get_address_of_defaultEncoding_18() { return &___defaultEncoding_18; }
inline void set_defaultEncoding_18(Encoding_t1523322056 * value)
{
___defaultEncoding_18 = value;
Il2CppCodeGenWriteBarrier((&___defaultEncoding_18), value);
}
inline static int32_t get_offset_of_utf7Encoding_19() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___utf7Encoding_19)); }
inline Encoding_t1523322056 * get_utf7Encoding_19() const { return ___utf7Encoding_19; }
inline Encoding_t1523322056 ** get_address_of_utf7Encoding_19() { return &___utf7Encoding_19; }
inline void set_utf7Encoding_19(Encoding_t1523322056 * value)
{
___utf7Encoding_19 = value;
Il2CppCodeGenWriteBarrier((&___utf7Encoding_19), value);
}
inline static int32_t get_offset_of_utf8EncodingWithMarkers_20() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___utf8EncodingWithMarkers_20)); }
inline Encoding_t1523322056 * get_utf8EncodingWithMarkers_20() const { return ___utf8EncodingWithMarkers_20; }
inline Encoding_t1523322056 ** get_address_of_utf8EncodingWithMarkers_20() { return &___utf8EncodingWithMarkers_20; }
inline void set_utf8EncodingWithMarkers_20(Encoding_t1523322056 * value)
{
___utf8EncodingWithMarkers_20 = value;
Il2CppCodeGenWriteBarrier((&___utf8EncodingWithMarkers_20), value);
}
inline static int32_t get_offset_of_utf8EncodingWithoutMarkers_21() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___utf8EncodingWithoutMarkers_21)); }
inline Encoding_t1523322056 * get_utf8EncodingWithoutMarkers_21() const { return ___utf8EncodingWithoutMarkers_21; }
inline Encoding_t1523322056 ** get_address_of_utf8EncodingWithoutMarkers_21() { return &___utf8EncodingWithoutMarkers_21; }
inline void set_utf8EncodingWithoutMarkers_21(Encoding_t1523322056 * value)
{
___utf8EncodingWithoutMarkers_21 = value;
Il2CppCodeGenWriteBarrier((&___utf8EncodingWithoutMarkers_21), value);
}
inline static int32_t get_offset_of_unicodeEncoding_22() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___unicodeEncoding_22)); }
inline Encoding_t1523322056 * get_unicodeEncoding_22() const { return ___unicodeEncoding_22; }
inline Encoding_t1523322056 ** get_address_of_unicodeEncoding_22() { return &___unicodeEncoding_22; }
inline void set_unicodeEncoding_22(Encoding_t1523322056 * value)
{
___unicodeEncoding_22 = value;
Il2CppCodeGenWriteBarrier((&___unicodeEncoding_22), value);
}
inline static int32_t get_offset_of_isoLatin1Encoding_23() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___isoLatin1Encoding_23)); }
inline Encoding_t1523322056 * get_isoLatin1Encoding_23() const { return ___isoLatin1Encoding_23; }
inline Encoding_t1523322056 ** get_address_of_isoLatin1Encoding_23() { return &___isoLatin1Encoding_23; }
inline void set_isoLatin1Encoding_23(Encoding_t1523322056 * value)
{
___isoLatin1Encoding_23 = value;
Il2CppCodeGenWriteBarrier((&___isoLatin1Encoding_23), value);
}
inline static int32_t get_offset_of_utf8EncodingUnsafe_24() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___utf8EncodingUnsafe_24)); }
inline Encoding_t1523322056 * get_utf8EncodingUnsafe_24() const { return ___utf8EncodingUnsafe_24; }
inline Encoding_t1523322056 ** get_address_of_utf8EncodingUnsafe_24() { return &___utf8EncodingUnsafe_24; }
inline void set_utf8EncodingUnsafe_24(Encoding_t1523322056 * value)
{
___utf8EncodingUnsafe_24 = value;
Il2CppCodeGenWriteBarrier((&___utf8EncodingUnsafe_24), value);
}
inline static int32_t get_offset_of_utf32Encoding_25() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___utf32Encoding_25)); }
inline Encoding_t1523322056 * get_utf32Encoding_25() const { return ___utf32Encoding_25; }
inline Encoding_t1523322056 ** get_address_of_utf32Encoding_25() { return &___utf32Encoding_25; }
inline void set_utf32Encoding_25(Encoding_t1523322056 * value)
{
___utf32Encoding_25 = value;
Il2CppCodeGenWriteBarrier((&___utf32Encoding_25), value);
}
inline static int32_t get_offset_of_bigEndianUTF32Encoding_26() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___bigEndianUTF32Encoding_26)); }
inline Encoding_t1523322056 * get_bigEndianUTF32Encoding_26() const { return ___bigEndianUTF32Encoding_26; }
inline Encoding_t1523322056 ** get_address_of_bigEndianUTF32Encoding_26() { return &___bigEndianUTF32Encoding_26; }
inline void set_bigEndianUTF32Encoding_26(Encoding_t1523322056 * value)
{
___bigEndianUTF32Encoding_26 = value;
Il2CppCodeGenWriteBarrier((&___bigEndianUTF32Encoding_26), value);
}
inline static int32_t get_offset_of_lockobj_27() { return static_cast<int32_t>(offsetof(Encoding_t1523322056_StaticFields, ___lockobj_27)); }
inline RuntimeObject * get_lockobj_27() const { return ___lockobj_27; }
inline RuntimeObject ** get_address_of_lockobj_27() { return &___lockobj_27; }
inline void set_lockobj_27(RuntimeObject * value)
{
___lockobj_27 = value;
Il2CppCodeGenWriteBarrier((&___lockobj_27), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENCODING_T1523322056_H
#ifndef CAPTURE_T2232016050_H
#define CAPTURE_T2232016050_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Text.RegularExpressions.Capture
struct Capture_t2232016050 : public RuntimeObject
{
public:
// System.Int32 System.Text.RegularExpressions.Capture::index
int32_t ___index_0;
// System.Int32 System.Text.RegularExpressions.Capture::length
int32_t ___length_1;
// System.String System.Text.RegularExpressions.Capture::text
String_t* ___text_2;
public:
inline static int32_t get_offset_of_index_0() { return static_cast<int32_t>(offsetof(Capture_t2232016050, ___index_0)); }
inline int32_t get_index_0() const { return ___index_0; }
inline int32_t* get_address_of_index_0() { return &___index_0; }
inline void set_index_0(int32_t value)
{
___index_0 = value;
}
inline static int32_t get_offset_of_length_1() { return static_cast<int32_t>(offsetof(Capture_t2232016050, ___length_1)); }
inline int32_t get_length_1() const { return ___length_1; }
inline int32_t* get_address_of_length_1() { return &___length_1; }
inline void set_length_1(int32_t value)
{
___length_1 = value;
}
inline static int32_t get_offset_of_text_2() { return static_cast<int32_t>(offsetof(Capture_t2232016050, ___text_2)); }
inline String_t* get_text_2() const { return ___text_2; }
inline String_t** get_address_of_text_2() { return &___text_2; }
inline void set_text_2(String_t* value)
{
___text_2 = value;
Il2CppCodeGenWriteBarrier((&___text_2), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CAPTURE_T2232016050_H
#ifndef GROUPCOLLECTION_T69770484_H
#define GROUPCOLLECTION_T69770484_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Text.RegularExpressions.GroupCollection
struct GroupCollection_t69770484 : public RuntimeObject
{
public:
// System.Text.RegularExpressions.Group[] System.Text.RegularExpressions.GroupCollection::list
GroupU5BU5D_t1880820351* ___list_0;
// System.Int32 System.Text.RegularExpressions.GroupCollection::gap
int32_t ___gap_1;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(GroupCollection_t69770484, ___list_0)); }
inline GroupU5BU5D_t1880820351* get_list_0() const { return ___list_0; }
inline GroupU5BU5D_t1880820351** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(GroupU5BU5D_t1880820351* value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_gap_1() { return static_cast<int32_t>(offsetof(GroupCollection_t69770484, ___gap_1)); }
inline int32_t get_gap_1() const { return ___gap_1; }
inline int32_t* get_address_of_gap_1() { return &___gap_1; }
inline void set_gap_1(int32_t value)
{
___gap_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // GROUPCOLLECTION_T69770484_H
#ifndef MATCHCOLLECTION_T1395363720_H
#define MATCHCOLLECTION_T1395363720_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Text.RegularExpressions.MatchCollection
struct MatchCollection_t1395363720 : public RuntimeObject
{
public:
// System.Text.RegularExpressions.Match System.Text.RegularExpressions.MatchCollection::current
Match_t3408321083 * ___current_0;
// System.Collections.ArrayList System.Text.RegularExpressions.MatchCollection::list
ArrayList_t2718874744 * ___list_1;
public:
inline static int32_t get_offset_of_current_0() { return static_cast<int32_t>(offsetof(MatchCollection_t1395363720, ___current_0)); }
inline Match_t3408321083 * get_current_0() const { return ___current_0; }
inline Match_t3408321083 ** get_address_of_current_0() { return &___current_0; }
inline void set_current_0(Match_t3408321083 * value)
{
___current_0 = value;
Il2CppCodeGenWriteBarrier((&___current_0), value);
}
inline static int32_t get_offset_of_list_1() { return static_cast<int32_t>(offsetof(MatchCollection_t1395363720, ___list_1)); }
inline ArrayList_t2718874744 * get_list_1() const { return ___list_1; }
inline ArrayList_t2718874744 ** get_address_of_list_1() { return &___list_1; }
inline void set_list_1(ArrayList_t2718874744 * value)
{
___list_1 = value;
Il2CppCodeGenWriteBarrier((&___list_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MATCHCOLLECTION_T1395363720_H
#ifndef STRINGBUILDER_T_H
#define STRINGBUILDER_T_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Text.StringBuilder
struct StringBuilder_t : public RuntimeObject
{
public:
// System.Int32 System.Text.StringBuilder::_length
int32_t ____length_1;
// System.String System.Text.StringBuilder::_str
String_t* ____str_2;
// System.String System.Text.StringBuilder::_cached_str
String_t* ____cached_str_3;
// System.Int32 System.Text.StringBuilder::_maxCapacity
int32_t ____maxCapacity_4;
public:
inline static int32_t get_offset_of__length_1() { return static_cast<int32_t>(offsetof(StringBuilder_t, ____length_1)); }
inline int32_t get__length_1() const { return ____length_1; }
inline int32_t* get_address_of__length_1() { return &____length_1; }
inline void set__length_1(int32_t value)
{
____length_1 = value;
}
inline static int32_t get_offset_of__str_2() { return static_cast<int32_t>(offsetof(StringBuilder_t, ____str_2)); }
inline String_t* get__str_2() const { return ____str_2; }
inline String_t** get_address_of__str_2() { return &____str_2; }
inline void set__str_2(String_t* value)
{
____str_2 = value;
Il2CppCodeGenWriteBarrier((&____str_2), value);
}
inline static int32_t get_offset_of__cached_str_3() { return static_cast<int32_t>(offsetof(StringBuilder_t, ____cached_str_3)); }
inline String_t* get__cached_str_3() const { return ____cached_str_3; }
inline String_t** get_address_of__cached_str_3() { return &____cached_str_3; }
inline void set__cached_str_3(String_t* value)
{
____cached_str_3 = value;
Il2CppCodeGenWriteBarrier((&____cached_str_3), value);
}
inline static int32_t get_offset_of__maxCapacity_4() { return static_cast<int32_t>(offsetof(StringBuilder_t, ____maxCapacity_4)); }
inline int32_t get__maxCapacity_4() const { return ____maxCapacity_4; }
inline int32_t* get_address_of__maxCapacity_4() { return &____maxCapacity_4; }
inline void set__maxCapacity_4(int32_t value)
{
____maxCapacity_4 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // STRINGBUILDER_T_H
#ifndef URI_T100236324_H
#define URI_T100236324_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Uri
struct Uri_t100236324 : public RuntimeObject
{
public:
// System.Boolean System.Uri::isUnixFilePath
bool ___isUnixFilePath_0;
// System.String System.Uri::source
String_t* ___source_1;
// System.String System.Uri::scheme
String_t* ___scheme_2;
// System.String System.Uri::host
String_t* ___host_3;
// System.Int32 System.Uri::port
int32_t ___port_4;
// System.String System.Uri::path
String_t* ___path_5;
// System.String System.Uri::query
String_t* ___query_6;
// System.String System.Uri::fragment
String_t* ___fragment_7;
// System.String System.Uri::userinfo
String_t* ___userinfo_8;
// System.Boolean System.Uri::isUnc
bool ___isUnc_9;
// System.Boolean System.Uri::isOpaquePart
bool ___isOpaquePart_10;
// System.Boolean System.Uri::isAbsoluteUri
bool ___isAbsoluteUri_11;
// System.Boolean System.Uri::userEscaped
bool ___userEscaped_12;
// System.String System.Uri::cachedAbsoluteUri
String_t* ___cachedAbsoluteUri_13;
// System.String System.Uri::cachedToString
String_t* ___cachedToString_14;
// System.Int32 System.Uri::cachedHashCode
int32_t ___cachedHashCode_15;
// System.UriParser System.Uri::parser
UriParser_t3890150400 * ___parser_29;
public:
inline static int32_t get_offset_of_isUnixFilePath_0() { return static_cast<int32_t>(offsetof(Uri_t100236324, ___isUnixFilePath_0)); }
inline bool get_isUnixFilePath_0() const { return ___isUnixFilePath_0; }
inline bool* get_address_of_isUnixFilePath_0() { return &___isUnixFilePath_0; }
inline void set_isUnixFilePath_0(bool value)
{
___isUnixFilePath_0 = value;
}
inline static int32_t get_offset_of_source_1() { return static_cast<int32_t>(offsetof(Uri_t100236324, ___source_1)); }
inline String_t* get_source_1() const { return ___source_1; }
inline String_t** get_address_of_source_1() { return &___source_1; }
inline void set_source_1(String_t* value)
{
___source_1 = value;
Il2CppCodeGenWriteBarrier((&___source_1), value);
}
inline static int32_t get_offset_of_scheme_2() { return static_cast<int32_t>(offsetof(Uri_t100236324, ___scheme_2)); }
inline String_t* get_scheme_2() const { return ___scheme_2; }
inline String_t** get_address_of_scheme_2() { return &___scheme_2; }
inline void set_scheme_2(String_t* value)
{
___scheme_2 = value;
Il2CppCodeGenWriteBarrier((&___scheme_2), value);
}
inline static int32_t get_offset_of_host_3() { return static_cast<int32_t>(offsetof(Uri_t100236324, ___host_3)); }
inline String_t* get_host_3() const { return ___host_3; }
inline String_t** get_address_of_host_3() { return &___host_3; }
inline void set_host_3(String_t* value)
{
___host_3 = value;
Il2CppCodeGenWriteBarrier((&___host_3), value);
}
inline static int32_t get_offset_of_port_4() { return static_cast<int32_t>(offsetof(Uri_t100236324, ___port_4)); }
inline int32_t get_port_4() const { return ___port_4; }
inline int32_t* get_address_of_port_4() { return &___port_4; }
inline void set_port_4(int32_t value)
{
___port_4 = value;
}
inline static int32_t get_offset_of_path_5() { return static_cast<int32_t>(offsetof(Uri_t100236324, ___path_5)); }
inline String_t* get_path_5() const { return ___path_5; }
inline String_t** get_address_of_path_5() { return &___path_5; }
inline void set_path_5(String_t* value)
{
___path_5 = value;
Il2CppCodeGenWriteBarrier((&___path_5), value);
}
inline static int32_t get_offset_of_query_6() { return static_cast<int32_t>(offsetof(Uri_t100236324, ___query_6)); }
inline String_t* get_query_6() const { return ___query_6; }
inline String_t** get_address_of_query_6() { return &___query_6; }
inline void set_query_6(String_t* value)
{
___query_6 = value;
Il2CppCodeGenWriteBarrier((&___query_6), value);
}
inline static int32_t get_offset_of_fragment_7() { return static_cast<int32_t>(offsetof(Uri_t100236324, ___fragment_7)); }
inline String_t* get_fragment_7() const { return ___fragment_7; }
inline String_t** get_address_of_fragment_7() { return &___fragment_7; }
inline void set_fragment_7(String_t* value)
{
___fragment_7 = value;
Il2CppCodeGenWriteBarrier((&___fragment_7), value);
}
inline static int32_t get_offset_of_userinfo_8() { return static_cast<int32_t>(offsetof(Uri_t100236324, ___userinfo_8)); }
inline String_t* get_userinfo_8() const { return ___userinfo_8; }
inline String_t** get_address_of_userinfo_8() { return &___userinfo_8; }
inline void set_userinfo_8(String_t* value)
{
___userinfo_8 = value;
Il2CppCodeGenWriteBarrier((&___userinfo_8), value);
}
inline static int32_t get_offset_of_isUnc_9() { return static_cast<int32_t>(offsetof(Uri_t100236324, ___isUnc_9)); }
inline bool get_isUnc_9() const { return ___isUnc_9; }
inline bool* get_address_of_isUnc_9() { return &___isUnc_9; }
inline void set_isUnc_9(bool value)
{
___isUnc_9 = value;
}
inline static int32_t get_offset_of_isOpaquePart_10() { return static_cast<int32_t>(offsetof(Uri_t100236324, ___isOpaquePart_10)); }
inline bool get_isOpaquePart_10() const { return ___isOpaquePart_10; }
inline bool* get_address_of_isOpaquePart_10() { return &___isOpaquePart_10; }
inline void set_isOpaquePart_10(bool value)
{
___isOpaquePart_10 = value;
}
inline static int32_t get_offset_of_isAbsoluteUri_11() { return static_cast<int32_t>(offsetof(Uri_t100236324, ___isAbsoluteUri_11)); }
inline bool get_isAbsoluteUri_11() const { return ___isAbsoluteUri_11; }
inline bool* get_address_of_isAbsoluteUri_11() { return &___isAbsoluteUri_11; }
inline void set_isAbsoluteUri_11(bool value)
{
___isAbsoluteUri_11 = value;
}
inline static int32_t get_offset_of_userEscaped_12() { return static_cast<int32_t>(offsetof(Uri_t100236324, ___userEscaped_12)); }
inline bool get_userEscaped_12() const { return ___userEscaped_12; }
inline bool* get_address_of_userEscaped_12() { return &___userEscaped_12; }
inline void set_userEscaped_12(bool value)
{
___userEscaped_12 = value;
}
inline static int32_t get_offset_of_cachedAbsoluteUri_13() { return static_cast<int32_t>(offsetof(Uri_t100236324, ___cachedAbsoluteUri_13)); }
inline String_t* get_cachedAbsoluteUri_13() const { return ___cachedAbsoluteUri_13; }
inline String_t** get_address_of_cachedAbsoluteUri_13() { return &___cachedAbsoluteUri_13; }
inline void set_cachedAbsoluteUri_13(String_t* value)
{
___cachedAbsoluteUri_13 = value;
Il2CppCodeGenWriteBarrier((&___cachedAbsoluteUri_13), value);
}
inline static int32_t get_offset_of_cachedToString_14() { return static_cast<int32_t>(offsetof(Uri_t100236324, ___cachedToString_14)); }
inline String_t* get_cachedToString_14() const { return ___cachedToString_14; }
inline String_t** get_address_of_cachedToString_14() { return &___cachedToString_14; }
inline void set_cachedToString_14(String_t* value)
{
___cachedToString_14 = value;
Il2CppCodeGenWriteBarrier((&___cachedToString_14), value);
}
inline static int32_t get_offset_of_cachedHashCode_15() { return static_cast<int32_t>(offsetof(Uri_t100236324, ___cachedHashCode_15)); }
inline int32_t get_cachedHashCode_15() const { return ___cachedHashCode_15; }
inline int32_t* get_address_of_cachedHashCode_15() { return &___cachedHashCode_15; }
inline void set_cachedHashCode_15(int32_t value)
{
___cachedHashCode_15 = value;
}
inline static int32_t get_offset_of_parser_29() { return static_cast<int32_t>(offsetof(Uri_t100236324, ___parser_29)); }
inline UriParser_t3890150400 * get_parser_29() const { return ___parser_29; }
inline UriParser_t3890150400 ** get_address_of_parser_29() { return &___parser_29; }
inline void set_parser_29(UriParser_t3890150400 * value)
{
___parser_29 = value;
Il2CppCodeGenWriteBarrier((&___parser_29), value);
}
};
struct Uri_t100236324_StaticFields
{
public:
// System.String System.Uri::hexUpperChars
String_t* ___hexUpperChars_16;
// System.String System.Uri::SchemeDelimiter
String_t* ___SchemeDelimiter_17;
// System.String System.Uri::UriSchemeFile
String_t* ___UriSchemeFile_18;
// System.String System.Uri::UriSchemeFtp
String_t* ___UriSchemeFtp_19;
// System.String System.Uri::UriSchemeGopher
String_t* ___UriSchemeGopher_20;
// System.String System.Uri::UriSchemeHttp
String_t* ___UriSchemeHttp_21;
// System.String System.Uri::UriSchemeHttps
String_t* ___UriSchemeHttps_22;
// System.String System.Uri::UriSchemeMailto
String_t* ___UriSchemeMailto_23;
// System.String System.Uri::UriSchemeNews
String_t* ___UriSchemeNews_24;
// System.String System.Uri::UriSchemeNntp
String_t* ___UriSchemeNntp_25;
// System.String System.Uri::UriSchemeNetPipe
String_t* ___UriSchemeNetPipe_26;
// System.String System.Uri::UriSchemeNetTcp
String_t* ___UriSchemeNetTcp_27;
// System.Uri/UriScheme[] System.Uri::schemes
UriSchemeU5BU5D_t2082808316* ___schemes_28;
// System.Collections.Generic.Dictionary`2<System.String,System.Int32> System.Uri::<>f__switch$map14
Dictionary_2_t2736202052 * ___U3CU3Ef__switchU24map14_30;
// System.Collections.Generic.Dictionary`2<System.String,System.Int32> System.Uri::<>f__switch$map15
Dictionary_2_t2736202052 * ___U3CU3Ef__switchU24map15_31;
// System.Collections.Generic.Dictionary`2<System.String,System.Int32> System.Uri::<>f__switch$map16
Dictionary_2_t2736202052 * ___U3CU3Ef__switchU24map16_32;
public:
inline static int32_t get_offset_of_hexUpperChars_16() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___hexUpperChars_16)); }
inline String_t* get_hexUpperChars_16() const { return ___hexUpperChars_16; }
inline String_t** get_address_of_hexUpperChars_16() { return &___hexUpperChars_16; }
inline void set_hexUpperChars_16(String_t* value)
{
___hexUpperChars_16 = value;
Il2CppCodeGenWriteBarrier((&___hexUpperChars_16), value);
}
inline static int32_t get_offset_of_SchemeDelimiter_17() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___SchemeDelimiter_17)); }
inline String_t* get_SchemeDelimiter_17() const { return ___SchemeDelimiter_17; }
inline String_t** get_address_of_SchemeDelimiter_17() { return &___SchemeDelimiter_17; }
inline void set_SchemeDelimiter_17(String_t* value)
{
___SchemeDelimiter_17 = value;
Il2CppCodeGenWriteBarrier((&___SchemeDelimiter_17), value);
}
inline static int32_t get_offset_of_UriSchemeFile_18() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___UriSchemeFile_18)); }
inline String_t* get_UriSchemeFile_18() const { return ___UriSchemeFile_18; }
inline String_t** get_address_of_UriSchemeFile_18() { return &___UriSchemeFile_18; }
inline void set_UriSchemeFile_18(String_t* value)
{
___UriSchemeFile_18 = value;
Il2CppCodeGenWriteBarrier((&___UriSchemeFile_18), value);
}
inline static int32_t get_offset_of_UriSchemeFtp_19() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___UriSchemeFtp_19)); }
inline String_t* get_UriSchemeFtp_19() const { return ___UriSchemeFtp_19; }
inline String_t** get_address_of_UriSchemeFtp_19() { return &___UriSchemeFtp_19; }
inline void set_UriSchemeFtp_19(String_t* value)
{
___UriSchemeFtp_19 = value;
Il2CppCodeGenWriteBarrier((&___UriSchemeFtp_19), value);
}
inline static int32_t get_offset_of_UriSchemeGopher_20() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___UriSchemeGopher_20)); }
inline String_t* get_UriSchemeGopher_20() const { return ___UriSchemeGopher_20; }
inline String_t** get_address_of_UriSchemeGopher_20() { return &___UriSchemeGopher_20; }
inline void set_UriSchemeGopher_20(String_t* value)
{
___UriSchemeGopher_20 = value;
Il2CppCodeGenWriteBarrier((&___UriSchemeGopher_20), value);
}
inline static int32_t get_offset_of_UriSchemeHttp_21() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___UriSchemeHttp_21)); }
inline String_t* get_UriSchemeHttp_21() const { return ___UriSchemeHttp_21; }
inline String_t** get_address_of_UriSchemeHttp_21() { return &___UriSchemeHttp_21; }
inline void set_UriSchemeHttp_21(String_t* value)
{
___UriSchemeHttp_21 = value;
Il2CppCodeGenWriteBarrier((&___UriSchemeHttp_21), value);
}
inline static int32_t get_offset_of_UriSchemeHttps_22() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___UriSchemeHttps_22)); }
inline String_t* get_UriSchemeHttps_22() const { return ___UriSchemeHttps_22; }
inline String_t** get_address_of_UriSchemeHttps_22() { return &___UriSchemeHttps_22; }
inline void set_UriSchemeHttps_22(String_t* value)
{
___UriSchemeHttps_22 = value;
Il2CppCodeGenWriteBarrier((&___UriSchemeHttps_22), value);
}
inline static int32_t get_offset_of_UriSchemeMailto_23() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___UriSchemeMailto_23)); }
inline String_t* get_UriSchemeMailto_23() const { return ___UriSchemeMailto_23; }
inline String_t** get_address_of_UriSchemeMailto_23() { return &___UriSchemeMailto_23; }
inline void set_UriSchemeMailto_23(String_t* value)
{
___UriSchemeMailto_23 = value;
Il2CppCodeGenWriteBarrier((&___UriSchemeMailto_23), value);
}
inline static int32_t get_offset_of_UriSchemeNews_24() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___UriSchemeNews_24)); }
inline String_t* get_UriSchemeNews_24() const { return ___UriSchemeNews_24; }
inline String_t** get_address_of_UriSchemeNews_24() { return &___UriSchemeNews_24; }
inline void set_UriSchemeNews_24(String_t* value)
{
___UriSchemeNews_24 = value;
Il2CppCodeGenWriteBarrier((&___UriSchemeNews_24), value);
}
inline static int32_t get_offset_of_UriSchemeNntp_25() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___UriSchemeNntp_25)); }
inline String_t* get_UriSchemeNntp_25() const { return ___UriSchemeNntp_25; }
inline String_t** get_address_of_UriSchemeNntp_25() { return &___UriSchemeNntp_25; }
inline void set_UriSchemeNntp_25(String_t* value)
{
___UriSchemeNntp_25 = value;
Il2CppCodeGenWriteBarrier((&___UriSchemeNntp_25), value);
}
inline static int32_t get_offset_of_UriSchemeNetPipe_26() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___UriSchemeNetPipe_26)); }
inline String_t* get_UriSchemeNetPipe_26() const { return ___UriSchemeNetPipe_26; }
inline String_t** get_address_of_UriSchemeNetPipe_26() { return &___UriSchemeNetPipe_26; }
inline void set_UriSchemeNetPipe_26(String_t* value)
{
___UriSchemeNetPipe_26 = value;
Il2CppCodeGenWriteBarrier((&___UriSchemeNetPipe_26), value);
}
inline static int32_t get_offset_of_UriSchemeNetTcp_27() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___UriSchemeNetTcp_27)); }
inline String_t* get_UriSchemeNetTcp_27() const { return ___UriSchemeNetTcp_27; }
inline String_t** get_address_of_UriSchemeNetTcp_27() { return &___UriSchemeNetTcp_27; }
inline void set_UriSchemeNetTcp_27(String_t* value)
{
___UriSchemeNetTcp_27 = value;
Il2CppCodeGenWriteBarrier((&___UriSchemeNetTcp_27), value);
}
inline static int32_t get_offset_of_schemes_28() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___schemes_28)); }
inline UriSchemeU5BU5D_t2082808316* get_schemes_28() const { return ___schemes_28; }
inline UriSchemeU5BU5D_t2082808316** get_address_of_schemes_28() { return &___schemes_28; }
inline void set_schemes_28(UriSchemeU5BU5D_t2082808316* value)
{
___schemes_28 = value;
Il2CppCodeGenWriteBarrier((&___schemes_28), value);
}
inline static int32_t get_offset_of_U3CU3Ef__switchU24map14_30() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___U3CU3Ef__switchU24map14_30)); }
inline Dictionary_2_t2736202052 * get_U3CU3Ef__switchU24map14_30() const { return ___U3CU3Ef__switchU24map14_30; }
inline Dictionary_2_t2736202052 ** get_address_of_U3CU3Ef__switchU24map14_30() { return &___U3CU3Ef__switchU24map14_30; }
inline void set_U3CU3Ef__switchU24map14_30(Dictionary_2_t2736202052 * value)
{
___U3CU3Ef__switchU24map14_30 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__switchU24map14_30), value);
}
inline static int32_t get_offset_of_U3CU3Ef__switchU24map15_31() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___U3CU3Ef__switchU24map15_31)); }
inline Dictionary_2_t2736202052 * get_U3CU3Ef__switchU24map15_31() const { return ___U3CU3Ef__switchU24map15_31; }
inline Dictionary_2_t2736202052 ** get_address_of_U3CU3Ef__switchU24map15_31() { return &___U3CU3Ef__switchU24map15_31; }
inline void set_U3CU3Ef__switchU24map15_31(Dictionary_2_t2736202052 * value)
{
___U3CU3Ef__switchU24map15_31 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__switchU24map15_31), value);
}
inline static int32_t get_offset_of_U3CU3Ef__switchU24map16_32() { return static_cast<int32_t>(offsetof(Uri_t100236324_StaticFields, ___U3CU3Ef__switchU24map16_32)); }
inline Dictionary_2_t2736202052 * get_U3CU3Ef__switchU24map16_32() const { return ___U3CU3Ef__switchU24map16_32; }
inline Dictionary_2_t2736202052 ** get_address_of_U3CU3Ef__switchU24map16_32() { return &___U3CU3Ef__switchU24map16_32; }
inline void set_U3CU3Ef__switchU24map16_32(Dictionary_2_t2736202052 * value)
{
___U3CU3Ef__switchU24map16_32 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__switchU24map16_32), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // URI_T100236324_H
#ifndef VALUETYPE_T3640485471_H
#define VALUETYPE_T3640485471_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.ValueType
struct ValueType_t3640485471 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.ValueType
struct ValueType_t3640485471_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.ValueType
struct ValueType_t3640485471_marshaled_com
{
};
#endif // VALUETYPE_T3640485471_H
#ifndef U24ARRAYTYPEU2412_T2490092598_H
#define U24ARRAYTYPEU2412_T2490092598_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <PrivateImplementationDetails>/$ArrayType$12
struct U24ArrayTypeU2412_t2490092598
{
public:
union
{
struct
{
union
{
};
};
uint8_t U24ArrayTypeU2412_t2490092598__padding[12];
};
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U24ARRAYTYPEU2412_T2490092598_H
#ifndef U24ARRAYTYPEU2416_T3254766645_H
#define U24ARRAYTYPEU2416_T3254766645_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <PrivateImplementationDetails>/$ArrayType$16
struct U24ArrayTypeU2416_t3254766645
{
public:
union
{
struct
{
union
{
};
};
uint8_t U24ArrayTypeU2416_t3254766645__padding[16];
};
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U24ARRAYTYPEU2416_T3254766645_H
#ifndef U24ARRAYTYPEU2420_T1704471046_H
#define U24ARRAYTYPEU2420_T1704471046_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <PrivateImplementationDetails>/$ArrayType$20
struct U24ArrayTypeU2420_t1704471046
{
public:
union
{
struct
{
union
{
};
};
uint8_t U24ArrayTypeU2420_t1704471046__padding[20];
};
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U24ARRAYTYPEU2420_T1704471046_H
#ifndef U24ARRAYTYPEU24256_T1929481983_H
#define U24ARRAYTYPEU24256_T1929481983_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <PrivateImplementationDetails>/$ArrayType$256
struct U24ArrayTypeU24256_t1929481983
{
public:
union
{
struct
{
union
{
};
};
uint8_t U24ArrayTypeU24256_t1929481983__padding[256];
};
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U24ARRAYTYPEU24256_T1929481983_H
#ifndef U24ARRAYTYPEU243132_T2732071529_H
#define U24ARRAYTYPEU243132_T2732071529_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <PrivateImplementationDetails>/$ArrayType$3132
struct U24ArrayTypeU243132_t2732071529
{
public:
union
{
struct
{
union
{
};
};
uint8_t U24ArrayTypeU243132_t2732071529__padding[3132];
};
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U24ARRAYTYPEU243132_T2732071529_H
#ifndef U24ARRAYTYPEU2432_T3652892011_H
#define U24ARRAYTYPEU2432_T3652892011_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <PrivateImplementationDetails>/$ArrayType$32
struct U24ArrayTypeU2432_t3652892011
{
public:
union
{
struct
{
union
{
};
};
uint8_t U24ArrayTypeU2432_t3652892011__padding[32];
};
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U24ARRAYTYPEU2432_T3652892011_H
#ifndef U24ARRAYTYPEU244_T1630999355_H
#define U24ARRAYTYPEU244_T1630999355_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <PrivateImplementationDetails>/$ArrayType$4
struct U24ArrayTypeU244_t1630999355
{
public:
union
{
struct
{
union
{
};
};
uint8_t U24ArrayTypeU244_t1630999355__padding[4];
};
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U24ARRAYTYPEU244_T1630999355_H
#ifndef U24ARRAYTYPEU2448_T1337922364_H
#define U24ARRAYTYPEU2448_T1337922364_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <PrivateImplementationDetails>/$ArrayType$48
struct U24ArrayTypeU2448_t1337922364
{
public:
union
{
struct
{
union
{
};
};
uint8_t U24ArrayTypeU2448_t1337922364__padding[48];
};
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U24ARRAYTYPEU2448_T1337922364_H
#ifndef U24ARRAYTYPEU2464_T499776626_H
#define U24ARRAYTYPEU2464_T499776626_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <PrivateImplementationDetails>/$ArrayType$64
struct U24ArrayTypeU2464_t499776626
{
public:
union
{
struct
{
union
{
};
};
uint8_t U24ArrayTypeU2464_t499776626__padding[64];
};
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U24ARRAYTYPEU2464_T499776626_H
#ifndef SEQUENTIALSEARCHPRIMEGENERATORBASE_T2996090509_H
#define SEQUENTIALSEARCHPRIMEGENERATORBASE_T2996090509_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Math.Prime.Generator.SequentialSearchPrimeGeneratorBase
struct SequentialSearchPrimeGeneratorBase_t2996090509 : public PrimeGeneratorBase_t446028867
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SEQUENTIALSEARCHPRIMEGENERATORBASE_T2996090509_H
#ifndef MD2_T1561046427_H
#define MD2_T1561046427_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Cryptography.MD2
struct MD2_t1561046427 : public HashAlgorithm_t1432317219
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MD2_T1561046427_H
#ifndef MD4_T1560915355_H
#define MD4_T1560915355_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Cryptography.MD4
struct MD4_t1560915355 : public HashAlgorithm_t1432317219
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MD4_T1560915355_H
#ifndef MD5SHA1_T723838944_H
#define MD5SHA1_T723838944_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Cryptography.MD5SHA1
struct MD5SHA1_t723838944 : public HashAlgorithm_t1432317219
{
public:
// System.Security.Cryptography.HashAlgorithm Mono.Security.Cryptography.MD5SHA1::md5
HashAlgorithm_t1432317219 * ___md5_4;
// System.Security.Cryptography.HashAlgorithm Mono.Security.Cryptography.MD5SHA1::sha
HashAlgorithm_t1432317219 * ___sha_5;
// System.Boolean Mono.Security.Cryptography.MD5SHA1::hashing
bool ___hashing_6;
public:
inline static int32_t get_offset_of_md5_4() { return static_cast<int32_t>(offsetof(MD5SHA1_t723838944, ___md5_4)); }
inline HashAlgorithm_t1432317219 * get_md5_4() const { return ___md5_4; }
inline HashAlgorithm_t1432317219 ** get_address_of_md5_4() { return &___md5_4; }
inline void set_md5_4(HashAlgorithm_t1432317219 * value)
{
___md5_4 = value;
Il2CppCodeGenWriteBarrier((&___md5_4), value);
}
inline static int32_t get_offset_of_sha_5() { return static_cast<int32_t>(offsetof(MD5SHA1_t723838944, ___sha_5)); }
inline HashAlgorithm_t1432317219 * get_sha_5() const { return ___sha_5; }
inline HashAlgorithm_t1432317219 ** get_address_of_sha_5() { return &___sha_5; }
inline void set_sha_5(HashAlgorithm_t1432317219 * value)
{
___sha_5 = value;
Il2CppCodeGenWriteBarrier((&___sha_5), value);
}
inline static int32_t get_offset_of_hashing_6() { return static_cast<int32_t>(offsetof(MD5SHA1_t723838944, ___hashing_6)); }
inline bool get_hashing_6() const { return ___hashing_6; }
inline bool* get_address_of_hashing_6() { return &___hashing_6; }
inline void set_hashing_6(bool value)
{
___hashing_6 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MD5SHA1_T723838944_H
#ifndef CLIENTRECORDPROTOCOL_T2031137796_H
#define CLIENTRECORDPROTOCOL_T2031137796_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.ClientRecordProtocol
struct ClientRecordProtocol_t2031137796 : public RecordProtocol_t3759049701
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CLIENTRECORDPROTOCOL_T2031137796_H
#ifndef RSASSLSIGNATUREDEFORMATTER_T3558097625_H
#define RSASSLSIGNATUREDEFORMATTER_T3558097625_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.RSASslSignatureDeformatter
struct RSASslSignatureDeformatter_t3558097625 : public AsymmetricSignatureDeformatter_t2681190756
{
public:
// System.Security.Cryptography.RSA Mono.Security.Protocol.Tls.RSASslSignatureDeformatter::key
RSA_t2385438082 * ___key_0;
// System.Security.Cryptography.HashAlgorithm Mono.Security.Protocol.Tls.RSASslSignatureDeformatter::hash
HashAlgorithm_t1432317219 * ___hash_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(RSASslSignatureDeformatter_t3558097625, ___key_0)); }
inline RSA_t2385438082 * get_key_0() const { return ___key_0; }
inline RSA_t2385438082 ** get_address_of_key_0() { return &___key_0; }
inline void set_key_0(RSA_t2385438082 * value)
{
___key_0 = value;
Il2CppCodeGenWriteBarrier((&___key_0), value);
}
inline static int32_t get_offset_of_hash_1() { return static_cast<int32_t>(offsetof(RSASslSignatureDeformatter_t3558097625, ___hash_1)); }
inline HashAlgorithm_t1432317219 * get_hash_1() const { return ___hash_1; }
inline HashAlgorithm_t1432317219 ** get_address_of_hash_1() { return &___hash_1; }
inline void set_hash_1(HashAlgorithm_t1432317219 * value)
{
___hash_1 = value;
Il2CppCodeGenWriteBarrier((&___hash_1), value);
}
};
struct RSASslSignatureDeformatter_t3558097625_StaticFields
{
public:
// System.Collections.Generic.Dictionary`2<System.String,System.Int32> Mono.Security.Protocol.Tls.RSASslSignatureDeformatter::<>f__switch$map15
Dictionary_2_t2736202052 * ___U3CU3Ef__switchU24map15_2;
public:
inline static int32_t get_offset_of_U3CU3Ef__switchU24map15_2() { return static_cast<int32_t>(offsetof(RSASslSignatureDeformatter_t3558097625_StaticFields, ___U3CU3Ef__switchU24map15_2)); }
inline Dictionary_2_t2736202052 * get_U3CU3Ef__switchU24map15_2() const { return ___U3CU3Ef__switchU24map15_2; }
inline Dictionary_2_t2736202052 ** get_address_of_U3CU3Ef__switchU24map15_2() { return &___U3CU3Ef__switchU24map15_2; }
inline void set_U3CU3Ef__switchU24map15_2(Dictionary_2_t2736202052 * value)
{
___U3CU3Ef__switchU24map15_2 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__switchU24map15_2), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RSASSLSIGNATUREDEFORMATTER_T3558097625_H
#ifndef RSASSLSIGNATUREFORMATTER_T2709678514_H
#define RSASSLSIGNATUREFORMATTER_T2709678514_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.RSASslSignatureFormatter
struct RSASslSignatureFormatter_t2709678514 : public AsymmetricSignatureFormatter_t3486936014
{
public:
// System.Security.Cryptography.RSA Mono.Security.Protocol.Tls.RSASslSignatureFormatter::key
RSA_t2385438082 * ___key_0;
// System.Security.Cryptography.HashAlgorithm Mono.Security.Protocol.Tls.RSASslSignatureFormatter::hash
HashAlgorithm_t1432317219 * ___hash_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(RSASslSignatureFormatter_t2709678514, ___key_0)); }
inline RSA_t2385438082 * get_key_0() const { return ___key_0; }
inline RSA_t2385438082 ** get_address_of_key_0() { return &___key_0; }
inline void set_key_0(RSA_t2385438082 * value)
{
___key_0 = value;
Il2CppCodeGenWriteBarrier((&___key_0), value);
}
inline static int32_t get_offset_of_hash_1() { return static_cast<int32_t>(offsetof(RSASslSignatureFormatter_t2709678514, ___hash_1)); }
inline HashAlgorithm_t1432317219 * get_hash_1() const { return ___hash_1; }
inline HashAlgorithm_t1432317219 ** get_address_of_hash_1() { return &___hash_1; }
inline void set_hash_1(HashAlgorithm_t1432317219 * value)
{
___hash_1 = value;
Il2CppCodeGenWriteBarrier((&___hash_1), value);
}
};
struct RSASslSignatureFormatter_t2709678514_StaticFields
{
public:
// System.Collections.Generic.Dictionary`2<System.String,System.Int32> Mono.Security.Protocol.Tls.RSASslSignatureFormatter::<>f__switch$map16
Dictionary_2_t2736202052 * ___U3CU3Ef__switchU24map16_2;
public:
inline static int32_t get_offset_of_U3CU3Ef__switchU24map16_2() { return static_cast<int32_t>(offsetof(RSASslSignatureFormatter_t2709678514_StaticFields, ___U3CU3Ef__switchU24map16_2)); }
inline Dictionary_2_t2736202052 * get_U3CU3Ef__switchU24map16_2() const { return ___U3CU3Ef__switchU24map16_2; }
inline Dictionary_2_t2736202052 ** get_address_of_U3CU3Ef__switchU24map16_2() { return &___U3CU3Ef__switchU24map16_2; }
inline void set_U3CU3Ef__switchU24map16_2(Dictionary_2_t2736202052 * value)
{
___U3CU3Ef__switchU24map16_2 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__switchU24map16_2), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RSASSLSIGNATUREFORMATTER_T2709678514_H
#ifndef SSLHANDSHAKEHASH_T2107581772_H
#define SSLHANDSHAKEHASH_T2107581772_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.SslHandshakeHash
struct SslHandshakeHash_t2107581772 : public HashAlgorithm_t1432317219
{
public:
// System.Security.Cryptography.HashAlgorithm Mono.Security.Protocol.Tls.SslHandshakeHash::md5
HashAlgorithm_t1432317219 * ___md5_4;
// System.Security.Cryptography.HashAlgorithm Mono.Security.Protocol.Tls.SslHandshakeHash::sha
HashAlgorithm_t1432317219 * ___sha_5;
// System.Boolean Mono.Security.Protocol.Tls.SslHandshakeHash::hashing
bool ___hashing_6;
// System.Byte[] Mono.Security.Protocol.Tls.SslHandshakeHash::secret
ByteU5BU5D_t4116647657* ___secret_7;
// System.Byte[] Mono.Security.Protocol.Tls.SslHandshakeHash::innerPadMD5
ByteU5BU5D_t4116647657* ___innerPadMD5_8;
// System.Byte[] Mono.Security.Protocol.Tls.SslHandshakeHash::outerPadMD5
ByteU5BU5D_t4116647657* ___outerPadMD5_9;
// System.Byte[] Mono.Security.Protocol.Tls.SslHandshakeHash::innerPadSHA
ByteU5BU5D_t4116647657* ___innerPadSHA_10;
// System.Byte[] Mono.Security.Protocol.Tls.SslHandshakeHash::outerPadSHA
ByteU5BU5D_t4116647657* ___outerPadSHA_11;
public:
inline static int32_t get_offset_of_md5_4() { return static_cast<int32_t>(offsetof(SslHandshakeHash_t2107581772, ___md5_4)); }
inline HashAlgorithm_t1432317219 * get_md5_4() const { return ___md5_4; }
inline HashAlgorithm_t1432317219 ** get_address_of_md5_4() { return &___md5_4; }
inline void set_md5_4(HashAlgorithm_t1432317219 * value)
{
___md5_4 = value;
Il2CppCodeGenWriteBarrier((&___md5_4), value);
}
inline static int32_t get_offset_of_sha_5() { return static_cast<int32_t>(offsetof(SslHandshakeHash_t2107581772, ___sha_5)); }
inline HashAlgorithm_t1432317219 * get_sha_5() const { return ___sha_5; }
inline HashAlgorithm_t1432317219 ** get_address_of_sha_5() { return &___sha_5; }
inline void set_sha_5(HashAlgorithm_t1432317219 * value)
{
___sha_5 = value;
Il2CppCodeGenWriteBarrier((&___sha_5), value);
}
inline static int32_t get_offset_of_hashing_6() { return static_cast<int32_t>(offsetof(SslHandshakeHash_t2107581772, ___hashing_6)); }
inline bool get_hashing_6() const { return ___hashing_6; }
inline bool* get_address_of_hashing_6() { return &___hashing_6; }
inline void set_hashing_6(bool value)
{
___hashing_6 = value;
}
inline static int32_t get_offset_of_secret_7() { return static_cast<int32_t>(offsetof(SslHandshakeHash_t2107581772, ___secret_7)); }
inline ByteU5BU5D_t4116647657* get_secret_7() const { return ___secret_7; }
inline ByteU5BU5D_t4116647657** get_address_of_secret_7() { return &___secret_7; }
inline void set_secret_7(ByteU5BU5D_t4116647657* value)
{
___secret_7 = value;
Il2CppCodeGenWriteBarrier((&___secret_7), value);
}
inline static int32_t get_offset_of_innerPadMD5_8() { return static_cast<int32_t>(offsetof(SslHandshakeHash_t2107581772, ___innerPadMD5_8)); }
inline ByteU5BU5D_t4116647657* get_innerPadMD5_8() const { return ___innerPadMD5_8; }
inline ByteU5BU5D_t4116647657** get_address_of_innerPadMD5_8() { return &___innerPadMD5_8; }
inline void set_innerPadMD5_8(ByteU5BU5D_t4116647657* value)
{
___innerPadMD5_8 = value;
Il2CppCodeGenWriteBarrier((&___innerPadMD5_8), value);
}
inline static int32_t get_offset_of_outerPadMD5_9() { return static_cast<int32_t>(offsetof(SslHandshakeHash_t2107581772, ___outerPadMD5_9)); }
inline ByteU5BU5D_t4116647657* get_outerPadMD5_9() const { return ___outerPadMD5_9; }
inline ByteU5BU5D_t4116647657** get_address_of_outerPadMD5_9() { return &___outerPadMD5_9; }
inline void set_outerPadMD5_9(ByteU5BU5D_t4116647657* value)
{
___outerPadMD5_9 = value;
Il2CppCodeGenWriteBarrier((&___outerPadMD5_9), value);
}
inline static int32_t get_offset_of_innerPadSHA_10() { return static_cast<int32_t>(offsetof(SslHandshakeHash_t2107581772, ___innerPadSHA_10)); }
inline ByteU5BU5D_t4116647657* get_innerPadSHA_10() const { return ___innerPadSHA_10; }
inline ByteU5BU5D_t4116647657** get_address_of_innerPadSHA_10() { return &___innerPadSHA_10; }
inline void set_innerPadSHA_10(ByteU5BU5D_t4116647657* value)
{
___innerPadSHA_10 = value;
Il2CppCodeGenWriteBarrier((&___innerPadSHA_10), value);
}
inline static int32_t get_offset_of_outerPadSHA_11() { return static_cast<int32_t>(offsetof(SslHandshakeHash_t2107581772, ___outerPadSHA_11)); }
inline ByteU5BU5D_t4116647657* get_outerPadSHA_11() const { return ___outerPadSHA_11; }
inline ByteU5BU5D_t4116647657** get_address_of_outerPadSHA_11() { return &___outerPadSHA_11; }
inline void set_outerPadSHA_11(ByteU5BU5D_t4116647657* value)
{
___outerPadSHA_11 = value;
Il2CppCodeGenWriteBarrier((&___outerPadSHA_11), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SSLHANDSHAKEHASH_T2107581772_H
#ifndef TLSEXCEPTION_T3534743363_H
#define TLSEXCEPTION_T3534743363_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.TlsException
struct TlsException_t3534743363 : public Exception_t
{
public:
// Mono.Security.Protocol.Tls.Alert Mono.Security.Protocol.Tls.TlsException::alert
Alert_t4059934885 * ___alert_11;
public:
inline static int32_t get_offset_of_alert_11() { return static_cast<int32_t>(offsetof(TlsException_t3534743363, ___alert_11)); }
inline Alert_t4059934885 * get_alert_11() const { return ___alert_11; }
inline Alert_t4059934885 ** get_address_of_alert_11() { return &___alert_11; }
inline void set_alert_11(Alert_t4059934885 * value)
{
___alert_11 = value;
Il2CppCodeGenWriteBarrier((&___alert_11), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TLSEXCEPTION_T3534743363_H
#ifndef TLSSTREAM_T2365453965_H
#define TLSSTREAM_T2365453965_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.TlsStream
struct TlsStream_t2365453965 : public Stream_t1273022909
{
public:
// System.Boolean Mono.Security.Protocol.Tls.TlsStream::canRead
bool ___canRead_1;
// System.Boolean Mono.Security.Protocol.Tls.TlsStream::canWrite
bool ___canWrite_2;
// System.IO.MemoryStream Mono.Security.Protocol.Tls.TlsStream::buffer
MemoryStream_t94973147 * ___buffer_3;
// System.Byte[] Mono.Security.Protocol.Tls.TlsStream::temp
ByteU5BU5D_t4116647657* ___temp_4;
public:
inline static int32_t get_offset_of_canRead_1() { return static_cast<int32_t>(offsetof(TlsStream_t2365453965, ___canRead_1)); }
inline bool get_canRead_1() const { return ___canRead_1; }
inline bool* get_address_of_canRead_1() { return &___canRead_1; }
inline void set_canRead_1(bool value)
{
___canRead_1 = value;
}
inline static int32_t get_offset_of_canWrite_2() { return static_cast<int32_t>(offsetof(TlsStream_t2365453965, ___canWrite_2)); }
inline bool get_canWrite_2() const { return ___canWrite_2; }
inline bool* get_address_of_canWrite_2() { return &___canWrite_2; }
inline void set_canWrite_2(bool value)
{
___canWrite_2 = value;
}
inline static int32_t get_offset_of_buffer_3() { return static_cast<int32_t>(offsetof(TlsStream_t2365453965, ___buffer_3)); }
inline MemoryStream_t94973147 * get_buffer_3() const { return ___buffer_3; }
inline MemoryStream_t94973147 ** get_address_of_buffer_3() { return &___buffer_3; }
inline void set_buffer_3(MemoryStream_t94973147 * value)
{
___buffer_3 = value;
Il2CppCodeGenWriteBarrier((&___buffer_3), value);
}
inline static int32_t get_offset_of_temp_4() { return static_cast<int32_t>(offsetof(TlsStream_t2365453965, ___temp_4)); }
inline ByteU5BU5D_t4116647657* get_temp_4() const { return ___temp_4; }
inline ByteU5BU5D_t4116647657** get_address_of_temp_4() { return &___temp_4; }
inline void set_temp_4(ByteU5BU5D_t4116647657* value)
{
___temp_4 = value;
Il2CppCodeGenWriteBarrier((&___temp_4), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TLSSTREAM_T2365453965_H
#ifndef EXTENDEDKEYUSAGEEXTENSION_T3929363080_H
#define EXTENDEDKEYUSAGEEXTENSION_T3929363080_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.X509.Extensions.ExtendedKeyUsageExtension
struct ExtendedKeyUsageExtension_t3929363080 : public X509Extension_t3173393653
{
public:
// System.Collections.ArrayList Mono.Security.X509.Extensions.ExtendedKeyUsageExtension::keyPurpose
ArrayList_t2718874744 * ___keyPurpose_3;
public:
inline static int32_t get_offset_of_keyPurpose_3() { return static_cast<int32_t>(offsetof(ExtendedKeyUsageExtension_t3929363080, ___keyPurpose_3)); }
inline ArrayList_t2718874744 * get_keyPurpose_3() const { return ___keyPurpose_3; }
inline ArrayList_t2718874744 ** get_address_of_keyPurpose_3() { return &___keyPurpose_3; }
inline void set_keyPurpose_3(ArrayList_t2718874744 * value)
{
___keyPurpose_3 = value;
Il2CppCodeGenWriteBarrier((&___keyPurpose_3), value);
}
};
struct ExtendedKeyUsageExtension_t3929363080_StaticFields
{
public:
// System.Collections.Generic.Dictionary`2<System.String,System.Int32> Mono.Security.X509.Extensions.ExtendedKeyUsageExtension::<>f__switch$map14
Dictionary_2_t2736202052 * ___U3CU3Ef__switchU24map14_4;
public:
inline static int32_t get_offset_of_U3CU3Ef__switchU24map14_4() { return static_cast<int32_t>(offsetof(ExtendedKeyUsageExtension_t3929363080_StaticFields, ___U3CU3Ef__switchU24map14_4)); }
inline Dictionary_2_t2736202052 * get_U3CU3Ef__switchU24map14_4() const { return ___U3CU3Ef__switchU24map14_4; }
inline Dictionary_2_t2736202052 ** get_address_of_U3CU3Ef__switchU24map14_4() { return &___U3CU3Ef__switchU24map14_4; }
inline void set_U3CU3Ef__switchU24map14_4(Dictionary_2_t2736202052 * value)
{
___U3CU3Ef__switchU24map14_4 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__switchU24map14_4), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EXTENDEDKEYUSAGEEXTENSION_T3929363080_H
#ifndef KEYUSAGEEXTENSION_T1795615912_H
#define KEYUSAGEEXTENSION_T1795615912_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.X509.Extensions.KeyUsageExtension
struct KeyUsageExtension_t1795615912 : public X509Extension_t3173393653
{
public:
// System.Int32 Mono.Security.X509.Extensions.KeyUsageExtension::kubits
int32_t ___kubits_3;
public:
inline static int32_t get_offset_of_kubits_3() { return static_cast<int32_t>(offsetof(KeyUsageExtension_t1795615912, ___kubits_3)); }
inline int32_t get_kubits_3() const { return ___kubits_3; }
inline int32_t* get_address_of_kubits_3() { return &___kubits_3; }
inline void set_kubits_3(int32_t value)
{
___kubits_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // KEYUSAGEEXTENSION_T1795615912_H
#ifndef NETSCAPECERTTYPEEXTENSION_T1524296876_H
#define NETSCAPECERTTYPEEXTENSION_T1524296876_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.X509.Extensions.NetscapeCertTypeExtension
struct NetscapeCertTypeExtension_t1524296876 : public X509Extension_t3173393653
{
public:
// System.Int32 Mono.Security.X509.Extensions.NetscapeCertTypeExtension::ctbits
int32_t ___ctbits_3;
public:
inline static int32_t get_offset_of_ctbits_3() { return static_cast<int32_t>(offsetof(NetscapeCertTypeExtension_t1524296876, ___ctbits_3)); }
inline int32_t get_ctbits_3() const { return ___ctbits_3; }
inline int32_t* get_address_of_ctbits_3() { return &___ctbits_3; }
inline void set_ctbits_3(int32_t value)
{
___ctbits_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // NETSCAPECERTTYPEEXTENSION_T1524296876_H
#ifndef SUBJECTALTNAMEEXTENSION_T1536937677_H
#define SUBJECTALTNAMEEXTENSION_T1536937677_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.X509.Extensions.SubjectAltNameExtension
struct SubjectAltNameExtension_t1536937677 : public X509Extension_t3173393653
{
public:
// Mono.Security.X509.Extensions.GeneralNames Mono.Security.X509.Extensions.SubjectAltNameExtension::_names
GeneralNames_t2702294159 * ____names_3;
public:
inline static int32_t get_offset_of__names_3() { return static_cast<int32_t>(offsetof(SubjectAltNameExtension_t1536937677, ____names_3)); }
inline GeneralNames_t2702294159 * get__names_3() const { return ____names_3; }
inline GeneralNames_t2702294159 ** get_address_of__names_3() { return &____names_3; }
inline void set__names_3(GeneralNames_t2702294159 * value)
{
____names_3 = value;
Il2CppCodeGenWriteBarrier((&____names_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SUBJECTALTNAMEEXTENSION_T1536937677_H
#ifndef X509CERTIFICATECOLLECTION_T1542168550_H
#define X509CERTIFICATECOLLECTION_T1542168550_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.X509.X509CertificateCollection
struct X509CertificateCollection_t1542168550 : public CollectionBase_t2727926298
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // X509CERTIFICATECOLLECTION_T1542168550_H
#ifndef X509EXTENSIONCOLLECTION_T609554709_H
#define X509EXTENSIONCOLLECTION_T609554709_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.X509.X509ExtensionCollection
struct X509ExtensionCollection_t609554709 : public CollectionBase_t2727926298
{
public:
// System.Boolean Mono.Security.X509.X509ExtensionCollection::readOnly
bool ___readOnly_1;
public:
inline static int32_t get_offset_of_readOnly_1() { return static_cast<int32_t>(offsetof(X509ExtensionCollection_t609554709, ___readOnly_1)); }
inline bool get_readOnly_1() const { return ___readOnly_1; }
inline bool* get_address_of_readOnly_1() { return &___readOnly_1; }
inline void set_readOnly_1(bool value)
{
___readOnly_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // X509EXTENSIONCOLLECTION_T609554709_H
#ifndef BOOLEAN_T97287965_H
#define BOOLEAN_T97287965_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Boolean
struct Boolean_t97287965
{
public:
// System.Boolean System.Boolean::m_value
bool ___m_value_2;
public:
inline static int32_t get_offset_of_m_value_2() { return static_cast<int32_t>(offsetof(Boolean_t97287965, ___m_value_2)); }
inline bool get_m_value_2() const { return ___m_value_2; }
inline bool* get_address_of_m_value_2() { return &___m_value_2; }
inline void set_m_value_2(bool value)
{
___m_value_2 = value;
}
};
struct Boolean_t97287965_StaticFields
{
public:
// System.String System.Boolean::FalseString
String_t* ___FalseString_0;
// System.String System.Boolean::TrueString
String_t* ___TrueString_1;
public:
inline static int32_t get_offset_of_FalseString_0() { return static_cast<int32_t>(offsetof(Boolean_t97287965_StaticFields, ___FalseString_0)); }
inline String_t* get_FalseString_0() const { return ___FalseString_0; }
inline String_t** get_address_of_FalseString_0() { return &___FalseString_0; }
inline void set_FalseString_0(String_t* value)
{
___FalseString_0 = value;
Il2CppCodeGenWriteBarrier((&___FalseString_0), value);
}
inline static int32_t get_offset_of_TrueString_1() { return static_cast<int32_t>(offsetof(Boolean_t97287965_StaticFields, ___TrueString_1)); }
inline String_t* get_TrueString_1() const { return ___TrueString_1; }
inline String_t** get_address_of_TrueString_1() { return &___TrueString_1; }
inline void set_TrueString_1(String_t* value)
{
___TrueString_1 = value;
Il2CppCodeGenWriteBarrier((&___TrueString_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BOOLEAN_T97287965_H
#ifndef BYTE_T1134296376_H
#define BYTE_T1134296376_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Byte
struct Byte_t1134296376
{
public:
// System.Byte System.Byte::m_value
uint8_t ___m_value_2;
public:
inline static int32_t get_offset_of_m_value_2() { return static_cast<int32_t>(offsetof(Byte_t1134296376, ___m_value_2)); }
inline uint8_t get_m_value_2() const { return ___m_value_2; }
inline uint8_t* get_address_of_m_value_2() { return &___m_value_2; }
inline void set_m_value_2(uint8_t value)
{
___m_value_2 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BYTE_T1134296376_H
#ifndef CHAR_T3634460470_H
#define CHAR_T3634460470_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Char
struct Char_t3634460470
{
public:
// System.Char System.Char::m_value
Il2CppChar ___m_value_2;
public:
inline static int32_t get_offset_of_m_value_2() { return static_cast<int32_t>(offsetof(Char_t3634460470, ___m_value_2)); }
inline Il2CppChar get_m_value_2() const { return ___m_value_2; }
inline Il2CppChar* get_address_of_m_value_2() { return &___m_value_2; }
inline void set_m_value_2(Il2CppChar value)
{
___m_value_2 = value;
}
};
struct Char_t3634460470_StaticFields
{
public:
// System.Byte* System.Char::category_data
uint8_t* ___category_data_3;
// System.Byte* System.Char::numeric_data
uint8_t* ___numeric_data_4;
// System.Double* System.Char::numeric_data_values
double* ___numeric_data_values_5;
// System.UInt16* System.Char::to_lower_data_low
uint16_t* ___to_lower_data_low_6;
// System.UInt16* System.Char::to_lower_data_high
uint16_t* ___to_lower_data_high_7;
// System.UInt16* System.Char::to_upper_data_low
uint16_t* ___to_upper_data_low_8;
// System.UInt16* System.Char::to_upper_data_high
uint16_t* ___to_upper_data_high_9;
public:
inline static int32_t get_offset_of_category_data_3() { return static_cast<int32_t>(offsetof(Char_t3634460470_StaticFields, ___category_data_3)); }
inline uint8_t* get_category_data_3() const { return ___category_data_3; }
inline uint8_t** get_address_of_category_data_3() { return &___category_data_3; }
inline void set_category_data_3(uint8_t* value)
{
___category_data_3 = value;
}
inline static int32_t get_offset_of_numeric_data_4() { return static_cast<int32_t>(offsetof(Char_t3634460470_StaticFields, ___numeric_data_4)); }
inline uint8_t* get_numeric_data_4() const { return ___numeric_data_4; }
inline uint8_t** get_address_of_numeric_data_4() { return &___numeric_data_4; }
inline void set_numeric_data_4(uint8_t* value)
{
___numeric_data_4 = value;
}
inline static int32_t get_offset_of_numeric_data_values_5() { return static_cast<int32_t>(offsetof(Char_t3634460470_StaticFields, ___numeric_data_values_5)); }
inline double* get_numeric_data_values_5() const { return ___numeric_data_values_5; }
inline double** get_address_of_numeric_data_values_5() { return &___numeric_data_values_5; }
inline void set_numeric_data_values_5(double* value)
{
___numeric_data_values_5 = value;
}
inline static int32_t get_offset_of_to_lower_data_low_6() { return static_cast<int32_t>(offsetof(Char_t3634460470_StaticFields, ___to_lower_data_low_6)); }
inline uint16_t* get_to_lower_data_low_6() const { return ___to_lower_data_low_6; }
inline uint16_t** get_address_of_to_lower_data_low_6() { return &___to_lower_data_low_6; }
inline void set_to_lower_data_low_6(uint16_t* value)
{
___to_lower_data_low_6 = value;
}
inline static int32_t get_offset_of_to_lower_data_high_7() { return static_cast<int32_t>(offsetof(Char_t3634460470_StaticFields, ___to_lower_data_high_7)); }
inline uint16_t* get_to_lower_data_high_7() const { return ___to_lower_data_high_7; }
inline uint16_t** get_address_of_to_lower_data_high_7() { return &___to_lower_data_high_7; }
inline void set_to_lower_data_high_7(uint16_t* value)
{
___to_lower_data_high_7 = value;
}
inline static int32_t get_offset_of_to_upper_data_low_8() { return static_cast<int32_t>(offsetof(Char_t3634460470_StaticFields, ___to_upper_data_low_8)); }
inline uint16_t* get_to_upper_data_low_8() const { return ___to_upper_data_low_8; }
inline uint16_t** get_address_of_to_upper_data_low_8() { return &___to_upper_data_low_8; }
inline void set_to_upper_data_low_8(uint16_t* value)
{
___to_upper_data_low_8 = value;
}
inline static int32_t get_offset_of_to_upper_data_high_9() { return static_cast<int32_t>(offsetof(Char_t3634460470_StaticFields, ___to_upper_data_high_9)); }
inline uint16_t* get_to_upper_data_high_9() const { return ___to_upper_data_high_9; }
inline uint16_t** get_address_of_to_upper_data_high_9() { return &___to_upper_data_high_9; }
inline void set_to_upper_data_high_9(uint16_t* value)
{
___to_upper_data_high_9 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CHAR_T3634460470_H
#ifndef DOUBLE_T594665363_H
#define DOUBLE_T594665363_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Double
struct Double_t594665363
{
public:
// System.Double System.Double::m_value
double ___m_value_13;
public:
inline static int32_t get_offset_of_m_value_13() { return static_cast<int32_t>(offsetof(Double_t594665363, ___m_value_13)); }
inline double get_m_value_13() const { return ___m_value_13; }
inline double* get_address_of_m_value_13() { return &___m_value_13; }
inline void set_m_value_13(double value)
{
___m_value_13 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DOUBLE_T594665363_H
#ifndef ENUM_T4135868527_H
#define ENUM_T4135868527_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Enum
struct Enum_t4135868527 : public ValueType_t3640485471
{
public:
public:
};
struct Enum_t4135868527_StaticFields
{
public:
// System.Char[] System.Enum::split_char
CharU5BU5D_t3528271667* ___split_char_0;
public:
inline static int32_t get_offset_of_split_char_0() { return static_cast<int32_t>(offsetof(Enum_t4135868527_StaticFields, ___split_char_0)); }
inline CharU5BU5D_t3528271667* get_split_char_0() const { return ___split_char_0; }
inline CharU5BU5D_t3528271667** get_address_of_split_char_0() { return &___split_char_0; }
inline void set_split_char_0(CharU5BU5D_t3528271667* value)
{
___split_char_0 = value;
Il2CppCodeGenWriteBarrier((&___split_char_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Enum
struct Enum_t4135868527_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.Enum
struct Enum_t4135868527_marshaled_com
{
};
#endif // ENUM_T4135868527_H
#ifndef MEMORYSTREAM_T94973147_H
#define MEMORYSTREAM_T94973147_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.IO.MemoryStream
struct MemoryStream_t94973147 : public Stream_t1273022909
{
public:
// System.Boolean System.IO.MemoryStream::canWrite
bool ___canWrite_1;
// System.Boolean System.IO.MemoryStream::allowGetBuffer
bool ___allowGetBuffer_2;
// System.Int32 System.IO.MemoryStream::capacity
int32_t ___capacity_3;
// System.Int32 System.IO.MemoryStream::length
int32_t ___length_4;
// System.Byte[] System.IO.MemoryStream::internalBuffer
ByteU5BU5D_t4116647657* ___internalBuffer_5;
// System.Int32 System.IO.MemoryStream::initialIndex
int32_t ___initialIndex_6;
// System.Boolean System.IO.MemoryStream::expandable
bool ___expandable_7;
// System.Boolean System.IO.MemoryStream::streamClosed
bool ___streamClosed_8;
// System.Int32 System.IO.MemoryStream::position
int32_t ___position_9;
// System.Int32 System.IO.MemoryStream::dirty_bytes
int32_t ___dirty_bytes_10;
public:
inline static int32_t get_offset_of_canWrite_1() { return static_cast<int32_t>(offsetof(MemoryStream_t94973147, ___canWrite_1)); }
inline bool get_canWrite_1() const { return ___canWrite_1; }
inline bool* get_address_of_canWrite_1() { return &___canWrite_1; }
inline void set_canWrite_1(bool value)
{
___canWrite_1 = value;
}
inline static int32_t get_offset_of_allowGetBuffer_2() { return static_cast<int32_t>(offsetof(MemoryStream_t94973147, ___allowGetBuffer_2)); }
inline bool get_allowGetBuffer_2() const { return ___allowGetBuffer_2; }
inline bool* get_address_of_allowGetBuffer_2() { return &___allowGetBuffer_2; }
inline void set_allowGetBuffer_2(bool value)
{
___allowGetBuffer_2 = value;
}
inline static int32_t get_offset_of_capacity_3() { return static_cast<int32_t>(offsetof(MemoryStream_t94973147, ___capacity_3)); }
inline int32_t get_capacity_3() const { return ___capacity_3; }
inline int32_t* get_address_of_capacity_3() { return &___capacity_3; }
inline void set_capacity_3(int32_t value)
{
___capacity_3 = value;
}
inline static int32_t get_offset_of_length_4() { return static_cast<int32_t>(offsetof(MemoryStream_t94973147, ___length_4)); }
inline int32_t get_length_4() const { return ___length_4; }
inline int32_t* get_address_of_length_4() { return &___length_4; }
inline void set_length_4(int32_t value)
{
___length_4 = value;
}
inline static int32_t get_offset_of_internalBuffer_5() { return static_cast<int32_t>(offsetof(MemoryStream_t94973147, ___internalBuffer_5)); }
inline ByteU5BU5D_t4116647657* get_internalBuffer_5() const { return ___internalBuffer_5; }
inline ByteU5BU5D_t4116647657** get_address_of_internalBuffer_5() { return &___internalBuffer_5; }
inline void set_internalBuffer_5(ByteU5BU5D_t4116647657* value)
{
___internalBuffer_5 = value;
Il2CppCodeGenWriteBarrier((&___internalBuffer_5), value);
}
inline static int32_t get_offset_of_initialIndex_6() { return static_cast<int32_t>(offsetof(MemoryStream_t94973147, ___initialIndex_6)); }
inline int32_t get_initialIndex_6() const { return ___initialIndex_6; }
inline int32_t* get_address_of_initialIndex_6() { return &___initialIndex_6; }
inline void set_initialIndex_6(int32_t value)
{
___initialIndex_6 = value;
}
inline static int32_t get_offset_of_expandable_7() { return static_cast<int32_t>(offsetof(MemoryStream_t94973147, ___expandable_7)); }
inline bool get_expandable_7() const { return ___expandable_7; }
inline bool* get_address_of_expandable_7() { return &___expandable_7; }
inline void set_expandable_7(bool value)
{
___expandable_7 = value;
}
inline static int32_t get_offset_of_streamClosed_8() { return static_cast<int32_t>(offsetof(MemoryStream_t94973147, ___streamClosed_8)); }
inline bool get_streamClosed_8() const { return ___streamClosed_8; }
inline bool* get_address_of_streamClosed_8() { return &___streamClosed_8; }
inline void set_streamClosed_8(bool value)
{
___streamClosed_8 = value;
}
inline static int32_t get_offset_of_position_9() { return static_cast<int32_t>(offsetof(MemoryStream_t94973147, ___position_9)); }
inline int32_t get_position_9() const { return ___position_9; }
inline int32_t* get_address_of_position_9() { return &___position_9; }
inline void set_position_9(int32_t value)
{
___position_9 = value;
}
inline static int32_t get_offset_of_dirty_bytes_10() { return static_cast<int32_t>(offsetof(MemoryStream_t94973147, ___dirty_bytes_10)); }
inline int32_t get_dirty_bytes_10() const { return ___dirty_bytes_10; }
inline int32_t* get_address_of_dirty_bytes_10() { return &___dirty_bytes_10; }
inline void set_dirty_bytes_10(int32_t value)
{
___dirty_bytes_10 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MEMORYSTREAM_T94973147_H
#ifndef INT16_T2552820387_H
#define INT16_T2552820387_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Int16
struct Int16_t2552820387
{
public:
// System.Int16 System.Int16::m_value
int16_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Int16_t2552820387, ___m_value_0)); }
inline int16_t get_m_value_0() const { return ___m_value_0; }
inline int16_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(int16_t value)
{
___m_value_0 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // INT16_T2552820387_H
#ifndef INT32_T2950945753_H
#define INT32_T2950945753_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Int32
struct Int32_t2950945753
{
public:
// System.Int32 System.Int32::m_value
int32_t ___m_value_2;
public:
inline static int32_t get_offset_of_m_value_2() { return static_cast<int32_t>(offsetof(Int32_t2950945753, ___m_value_2)); }
inline int32_t get_m_value_2() const { return ___m_value_2; }
inline int32_t* get_address_of_m_value_2() { return &___m_value_2; }
inline void set_m_value_2(int32_t value)
{
___m_value_2 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // INT32_T2950945753_H
#ifndef INT64_T3736567304_H
#define INT64_T3736567304_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Int64
struct Int64_t3736567304
{
public:
// System.Int64 System.Int64::m_value
int64_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Int64_t3736567304, ___m_value_0)); }
inline int64_t get_m_value_0() const { return ___m_value_0; }
inline int64_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(int64_t value)
{
___m_value_0 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // INT64_T3736567304_H
#ifndef INTPTR_T_H
#define INTPTR_T_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.IntPtr
struct IntPtr_t
{
public:
// System.Void* System.IntPtr::m_value
void* ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(IntPtr_t, ___m_value_0)); }
inline void* get_m_value_0() const { return ___m_value_0; }
inline void** get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(void* value)
{
___m_value_0 = value;
}
};
struct IntPtr_t_StaticFields
{
public:
// System.IntPtr System.IntPtr::Zero
intptr_t ___Zero_1;
public:
inline static int32_t get_offset_of_Zero_1() { return static_cast<int32_t>(offsetof(IntPtr_t_StaticFields, ___Zero_1)); }
inline intptr_t get_Zero_1() const { return ___Zero_1; }
inline intptr_t* get_address_of_Zero_1() { return &___Zero_1; }
inline void set_Zero_1(intptr_t value)
{
___Zero_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // INTPTR_T_H
#ifndef DSA_T2386879874_H
#define DSA_T2386879874_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.DSA
struct DSA_t2386879874 : public AsymmetricAlgorithm_t932037087
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DSA_T2386879874_H
#ifndef DSAPARAMETERS_T1885824122_H
#define DSAPARAMETERS_T1885824122_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.DSAParameters
struct DSAParameters_t1885824122
{
public:
// System.Int32 System.Security.Cryptography.DSAParameters::Counter
int32_t ___Counter_0;
// System.Byte[] System.Security.Cryptography.DSAParameters::G
ByteU5BU5D_t4116647657* ___G_1;
// System.Byte[] System.Security.Cryptography.DSAParameters::J
ByteU5BU5D_t4116647657* ___J_2;
// System.Byte[] System.Security.Cryptography.DSAParameters::P
ByteU5BU5D_t4116647657* ___P_3;
// System.Byte[] System.Security.Cryptography.DSAParameters::Q
ByteU5BU5D_t4116647657* ___Q_4;
// System.Byte[] System.Security.Cryptography.DSAParameters::Seed
ByteU5BU5D_t4116647657* ___Seed_5;
// System.Byte[] System.Security.Cryptography.DSAParameters::X
ByteU5BU5D_t4116647657* ___X_6;
// System.Byte[] System.Security.Cryptography.DSAParameters::Y
ByteU5BU5D_t4116647657* ___Y_7;
public:
inline static int32_t get_offset_of_Counter_0() { return static_cast<int32_t>(offsetof(DSAParameters_t1885824122, ___Counter_0)); }
inline int32_t get_Counter_0() const { return ___Counter_0; }
inline int32_t* get_address_of_Counter_0() { return &___Counter_0; }
inline void set_Counter_0(int32_t value)
{
___Counter_0 = value;
}
inline static int32_t get_offset_of_G_1() { return static_cast<int32_t>(offsetof(DSAParameters_t1885824122, ___G_1)); }
inline ByteU5BU5D_t4116647657* get_G_1() const { return ___G_1; }
inline ByteU5BU5D_t4116647657** get_address_of_G_1() { return &___G_1; }
inline void set_G_1(ByteU5BU5D_t4116647657* value)
{
___G_1 = value;
Il2CppCodeGenWriteBarrier((&___G_1), value);
}
inline static int32_t get_offset_of_J_2() { return static_cast<int32_t>(offsetof(DSAParameters_t1885824122, ___J_2)); }
inline ByteU5BU5D_t4116647657* get_J_2() const { return ___J_2; }
inline ByteU5BU5D_t4116647657** get_address_of_J_2() { return &___J_2; }
inline void set_J_2(ByteU5BU5D_t4116647657* value)
{
___J_2 = value;
Il2CppCodeGenWriteBarrier((&___J_2), value);
}
inline static int32_t get_offset_of_P_3() { return static_cast<int32_t>(offsetof(DSAParameters_t1885824122, ___P_3)); }
inline ByteU5BU5D_t4116647657* get_P_3() const { return ___P_3; }
inline ByteU5BU5D_t4116647657** get_address_of_P_3() { return &___P_3; }
inline void set_P_3(ByteU5BU5D_t4116647657* value)
{
___P_3 = value;
Il2CppCodeGenWriteBarrier((&___P_3), value);
}
inline static int32_t get_offset_of_Q_4() { return static_cast<int32_t>(offsetof(DSAParameters_t1885824122, ___Q_4)); }
inline ByteU5BU5D_t4116647657* get_Q_4() const { return ___Q_4; }
inline ByteU5BU5D_t4116647657** get_address_of_Q_4() { return &___Q_4; }
inline void set_Q_4(ByteU5BU5D_t4116647657* value)
{
___Q_4 = value;
Il2CppCodeGenWriteBarrier((&___Q_4), value);
}
inline static int32_t get_offset_of_Seed_5() { return static_cast<int32_t>(offsetof(DSAParameters_t1885824122, ___Seed_5)); }
inline ByteU5BU5D_t4116647657* get_Seed_5() const { return ___Seed_5; }
inline ByteU5BU5D_t4116647657** get_address_of_Seed_5() { return &___Seed_5; }
inline void set_Seed_5(ByteU5BU5D_t4116647657* value)
{
___Seed_5 = value;
Il2CppCodeGenWriteBarrier((&___Seed_5), value);
}
inline static int32_t get_offset_of_X_6() { return static_cast<int32_t>(offsetof(DSAParameters_t1885824122, ___X_6)); }
inline ByteU5BU5D_t4116647657* get_X_6() const { return ___X_6; }
inline ByteU5BU5D_t4116647657** get_address_of_X_6() { return &___X_6; }
inline void set_X_6(ByteU5BU5D_t4116647657* value)
{
___X_6 = value;
Il2CppCodeGenWriteBarrier((&___X_6), value);
}
inline static int32_t get_offset_of_Y_7() { return static_cast<int32_t>(offsetof(DSAParameters_t1885824122, ___Y_7)); }
inline ByteU5BU5D_t4116647657* get_Y_7() const { return ___Y_7; }
inline ByteU5BU5D_t4116647657** get_address_of_Y_7() { return &___Y_7; }
inline void set_Y_7(ByteU5BU5D_t4116647657* value)
{
___Y_7 = value;
Il2CppCodeGenWriteBarrier((&___Y_7), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Security.Cryptography.DSAParameters
struct DSAParameters_t1885824122_marshaled_pinvoke
{
int32_t ___Counter_0;
uint8_t* ___G_1;
uint8_t* ___J_2;
uint8_t* ___P_3;
uint8_t* ___Q_4;
uint8_t* ___Seed_5;
uint8_t* ___X_6;
uint8_t* ___Y_7;
};
// Native definition for COM marshalling of System.Security.Cryptography.DSAParameters
struct DSAParameters_t1885824122_marshaled_com
{
int32_t ___Counter_0;
uint8_t* ___G_1;
uint8_t* ___J_2;
uint8_t* ___P_3;
uint8_t* ___Q_4;
uint8_t* ___Seed_5;
uint8_t* ___X_6;
uint8_t* ___Y_7;
};
#endif // DSAPARAMETERS_T1885824122_H
#ifndef KEYEDHASHALGORITHM_T112861511_H
#define KEYEDHASHALGORITHM_T112861511_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.KeyedHashAlgorithm
struct KeyedHashAlgorithm_t112861511 : public HashAlgorithm_t1432317219
{
public:
// System.Byte[] System.Security.Cryptography.KeyedHashAlgorithm::KeyValue
ByteU5BU5D_t4116647657* ___KeyValue_4;
public:
inline static int32_t get_offset_of_KeyValue_4() { return static_cast<int32_t>(offsetof(KeyedHashAlgorithm_t112861511, ___KeyValue_4)); }
inline ByteU5BU5D_t4116647657* get_KeyValue_4() const { return ___KeyValue_4; }
inline ByteU5BU5D_t4116647657** get_address_of_KeyValue_4() { return &___KeyValue_4; }
inline void set_KeyValue_4(ByteU5BU5D_t4116647657* value)
{
___KeyValue_4 = value;
Il2CppCodeGenWriteBarrier((&___KeyValue_4), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // KEYEDHASHALGORITHM_T112861511_H
#ifndef MD5_T3177620429_H
#define MD5_T3177620429_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.MD5
struct MD5_t3177620429 : public HashAlgorithm_t1432317219
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MD5_T3177620429_H
#ifndef RSA_T2385438082_H
#define RSA_T2385438082_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.RSA
struct RSA_t2385438082 : public AsymmetricAlgorithm_t932037087
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RSA_T2385438082_H
#ifndef RSAPKCS1KEYEXCHANGEFORMATTER_T2761096101_H
#define RSAPKCS1KEYEXCHANGEFORMATTER_T2761096101_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.RSAPKCS1KeyExchangeFormatter
struct RSAPKCS1KeyExchangeFormatter_t2761096101 : public AsymmetricKeyExchangeFormatter_t937192061
{
public:
// System.Security.Cryptography.RSA System.Security.Cryptography.RSAPKCS1KeyExchangeFormatter::rsa
RSA_t2385438082 * ___rsa_0;
// System.Security.Cryptography.RandomNumberGenerator System.Security.Cryptography.RSAPKCS1KeyExchangeFormatter::random
RandomNumberGenerator_t386037858 * ___random_1;
public:
inline static int32_t get_offset_of_rsa_0() { return static_cast<int32_t>(offsetof(RSAPKCS1KeyExchangeFormatter_t2761096101, ___rsa_0)); }
inline RSA_t2385438082 * get_rsa_0() const { return ___rsa_0; }
inline RSA_t2385438082 ** get_address_of_rsa_0() { return &___rsa_0; }
inline void set_rsa_0(RSA_t2385438082 * value)
{
___rsa_0 = value;
Il2CppCodeGenWriteBarrier((&___rsa_0), value);
}
inline static int32_t get_offset_of_random_1() { return static_cast<int32_t>(offsetof(RSAPKCS1KeyExchangeFormatter_t2761096101, ___random_1)); }
inline RandomNumberGenerator_t386037858 * get_random_1() const { return ___random_1; }
inline RandomNumberGenerator_t386037858 ** get_address_of_random_1() { return &___random_1; }
inline void set_random_1(RandomNumberGenerator_t386037858 * value)
{
___random_1 = value;
Il2CppCodeGenWriteBarrier((&___random_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RSAPKCS1KEYEXCHANGEFORMATTER_T2761096101_H
#ifndef RSAPARAMETERS_T1728406613_H
#define RSAPARAMETERS_T1728406613_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.RSAParameters
struct RSAParameters_t1728406613
{
public:
// System.Byte[] System.Security.Cryptography.RSAParameters::P
ByteU5BU5D_t4116647657* ___P_0;
// System.Byte[] System.Security.Cryptography.RSAParameters::Q
ByteU5BU5D_t4116647657* ___Q_1;
// System.Byte[] System.Security.Cryptography.RSAParameters::D
ByteU5BU5D_t4116647657* ___D_2;
// System.Byte[] System.Security.Cryptography.RSAParameters::DP
ByteU5BU5D_t4116647657* ___DP_3;
// System.Byte[] System.Security.Cryptography.RSAParameters::DQ
ByteU5BU5D_t4116647657* ___DQ_4;
// System.Byte[] System.Security.Cryptography.RSAParameters::InverseQ
ByteU5BU5D_t4116647657* ___InverseQ_5;
// System.Byte[] System.Security.Cryptography.RSAParameters::Modulus
ByteU5BU5D_t4116647657* ___Modulus_6;
// System.Byte[] System.Security.Cryptography.RSAParameters::Exponent
ByteU5BU5D_t4116647657* ___Exponent_7;
public:
inline static int32_t get_offset_of_P_0() { return static_cast<int32_t>(offsetof(RSAParameters_t1728406613, ___P_0)); }
inline ByteU5BU5D_t4116647657* get_P_0() const { return ___P_0; }
inline ByteU5BU5D_t4116647657** get_address_of_P_0() { return &___P_0; }
inline void set_P_0(ByteU5BU5D_t4116647657* value)
{
___P_0 = value;
Il2CppCodeGenWriteBarrier((&___P_0), value);
}
inline static int32_t get_offset_of_Q_1() { return static_cast<int32_t>(offsetof(RSAParameters_t1728406613, ___Q_1)); }
inline ByteU5BU5D_t4116647657* get_Q_1() const { return ___Q_1; }
inline ByteU5BU5D_t4116647657** get_address_of_Q_1() { return &___Q_1; }
inline void set_Q_1(ByteU5BU5D_t4116647657* value)
{
___Q_1 = value;
Il2CppCodeGenWriteBarrier((&___Q_1), value);
}
inline static int32_t get_offset_of_D_2() { return static_cast<int32_t>(offsetof(RSAParameters_t1728406613, ___D_2)); }
inline ByteU5BU5D_t4116647657* get_D_2() const { return ___D_2; }
inline ByteU5BU5D_t4116647657** get_address_of_D_2() { return &___D_2; }
inline void set_D_2(ByteU5BU5D_t4116647657* value)
{
___D_2 = value;
Il2CppCodeGenWriteBarrier((&___D_2), value);
}
inline static int32_t get_offset_of_DP_3() { return static_cast<int32_t>(offsetof(RSAParameters_t1728406613, ___DP_3)); }
inline ByteU5BU5D_t4116647657* get_DP_3() const { return ___DP_3; }
inline ByteU5BU5D_t4116647657** get_address_of_DP_3() { return &___DP_3; }
inline void set_DP_3(ByteU5BU5D_t4116647657* value)
{
___DP_3 = value;
Il2CppCodeGenWriteBarrier((&___DP_3), value);
}
inline static int32_t get_offset_of_DQ_4() { return static_cast<int32_t>(offsetof(RSAParameters_t1728406613, ___DQ_4)); }
inline ByteU5BU5D_t4116647657* get_DQ_4() const { return ___DQ_4; }
inline ByteU5BU5D_t4116647657** get_address_of_DQ_4() { return &___DQ_4; }
inline void set_DQ_4(ByteU5BU5D_t4116647657* value)
{
___DQ_4 = value;
Il2CppCodeGenWriteBarrier((&___DQ_4), value);
}
inline static int32_t get_offset_of_InverseQ_5() { return static_cast<int32_t>(offsetof(RSAParameters_t1728406613, ___InverseQ_5)); }
inline ByteU5BU5D_t4116647657* get_InverseQ_5() const { return ___InverseQ_5; }
inline ByteU5BU5D_t4116647657** get_address_of_InverseQ_5() { return &___InverseQ_5; }
inline void set_InverseQ_5(ByteU5BU5D_t4116647657* value)
{
___InverseQ_5 = value;
Il2CppCodeGenWriteBarrier((&___InverseQ_5), value);
}
inline static int32_t get_offset_of_Modulus_6() { return static_cast<int32_t>(offsetof(RSAParameters_t1728406613, ___Modulus_6)); }
inline ByteU5BU5D_t4116647657* get_Modulus_6() const { return ___Modulus_6; }
inline ByteU5BU5D_t4116647657** get_address_of_Modulus_6() { return &___Modulus_6; }
inline void set_Modulus_6(ByteU5BU5D_t4116647657* value)
{
___Modulus_6 = value;
Il2CppCodeGenWriteBarrier((&___Modulus_6), value);
}
inline static int32_t get_offset_of_Exponent_7() { return static_cast<int32_t>(offsetof(RSAParameters_t1728406613, ___Exponent_7)); }
inline ByteU5BU5D_t4116647657* get_Exponent_7() const { return ___Exponent_7; }
inline ByteU5BU5D_t4116647657** get_address_of_Exponent_7() { return &___Exponent_7; }
inline void set_Exponent_7(ByteU5BU5D_t4116647657* value)
{
___Exponent_7 = value;
Il2CppCodeGenWriteBarrier((&___Exponent_7), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Security.Cryptography.RSAParameters
struct RSAParameters_t1728406613_marshaled_pinvoke
{
uint8_t* ___P_0;
uint8_t* ___Q_1;
uint8_t* ___D_2;
uint8_t* ___DP_3;
uint8_t* ___DQ_4;
uint8_t* ___InverseQ_5;
uint8_t* ___Modulus_6;
uint8_t* ___Exponent_7;
};
// Native definition for COM marshalling of System.Security.Cryptography.RSAParameters
struct RSAParameters_t1728406613_marshaled_com
{
uint8_t* ___P_0;
uint8_t* ___Q_1;
uint8_t* ___D_2;
uint8_t* ___DP_3;
uint8_t* ___DQ_4;
uint8_t* ___InverseQ_5;
uint8_t* ___Modulus_6;
uint8_t* ___Exponent_7;
};
#endif // RSAPARAMETERS_T1728406613_H
#ifndef SHA1_T1803193667_H
#define SHA1_T1803193667_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.SHA1
struct SHA1_t1803193667 : public HashAlgorithm_t1432317219
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SHA1_T1803193667_H
#ifndef X509CERTIFICATE2_T714049126_H
#define X509CERTIFICATE2_T714049126_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.X509Certificates.X509Certificate2
struct X509Certificate2_t714049126 : public X509Certificate_t713131622
{
public:
// System.Boolean System.Security.Cryptography.X509Certificates.X509Certificate2::_archived
bool ____archived_5;
// System.Security.Cryptography.X509Certificates.X509ExtensionCollection System.Security.Cryptography.X509Certificates.X509Certificate2::_extensions
X509ExtensionCollection_t1350454579 * ____extensions_6;
// System.String System.Security.Cryptography.X509Certificates.X509Certificate2::_name
String_t* ____name_7;
// System.String System.Security.Cryptography.X509Certificates.X509Certificate2::_serial
String_t* ____serial_8;
// System.Security.Cryptography.X509Certificates.PublicKey System.Security.Cryptography.X509Certificates.X509Certificate2::_publicKey
PublicKey_t3779582684 * ____publicKey_9;
// System.Security.Cryptography.X509Certificates.X500DistinguishedName System.Security.Cryptography.X509Certificates.X509Certificate2::issuer_name
X500DistinguishedName_t875709727 * ___issuer_name_10;
// System.Security.Cryptography.X509Certificates.X500DistinguishedName System.Security.Cryptography.X509Certificates.X509Certificate2::subject_name
X500DistinguishedName_t875709727 * ___subject_name_11;
// System.Security.Cryptography.Oid System.Security.Cryptography.X509Certificates.X509Certificate2::signature_algorithm
Oid_t3552120260 * ___signature_algorithm_12;
// Mono.Security.X509.X509Certificate System.Security.Cryptography.X509Certificates.X509Certificate2::_cert
X509Certificate_t489243025 * ____cert_13;
public:
inline static int32_t get_offset_of__archived_5() { return static_cast<int32_t>(offsetof(X509Certificate2_t714049126, ____archived_5)); }
inline bool get__archived_5() const { return ____archived_5; }
inline bool* get_address_of__archived_5() { return &____archived_5; }
inline void set__archived_5(bool value)
{
____archived_5 = value;
}
inline static int32_t get_offset_of__extensions_6() { return static_cast<int32_t>(offsetof(X509Certificate2_t714049126, ____extensions_6)); }
inline X509ExtensionCollection_t1350454579 * get__extensions_6() const { return ____extensions_6; }
inline X509ExtensionCollection_t1350454579 ** get_address_of__extensions_6() { return &____extensions_6; }
inline void set__extensions_6(X509ExtensionCollection_t1350454579 * value)
{
____extensions_6 = value;
Il2CppCodeGenWriteBarrier((&____extensions_6), value);
}
inline static int32_t get_offset_of__name_7() { return static_cast<int32_t>(offsetof(X509Certificate2_t714049126, ____name_7)); }
inline String_t* get__name_7() const { return ____name_7; }
inline String_t** get_address_of__name_7() { return &____name_7; }
inline void set__name_7(String_t* value)
{
____name_7 = value;
Il2CppCodeGenWriteBarrier((&____name_7), value);
}
inline static int32_t get_offset_of__serial_8() { return static_cast<int32_t>(offsetof(X509Certificate2_t714049126, ____serial_8)); }
inline String_t* get__serial_8() const { return ____serial_8; }
inline String_t** get_address_of__serial_8() { return &____serial_8; }
inline void set__serial_8(String_t* value)
{
____serial_8 = value;
Il2CppCodeGenWriteBarrier((&____serial_8), value);
}
inline static int32_t get_offset_of__publicKey_9() { return static_cast<int32_t>(offsetof(X509Certificate2_t714049126, ____publicKey_9)); }
inline PublicKey_t3779582684 * get__publicKey_9() const { return ____publicKey_9; }
inline PublicKey_t3779582684 ** get_address_of__publicKey_9() { return &____publicKey_9; }
inline void set__publicKey_9(PublicKey_t3779582684 * value)
{
____publicKey_9 = value;
Il2CppCodeGenWriteBarrier((&____publicKey_9), value);
}
inline static int32_t get_offset_of_issuer_name_10() { return static_cast<int32_t>(offsetof(X509Certificate2_t714049126, ___issuer_name_10)); }
inline X500DistinguishedName_t875709727 * get_issuer_name_10() const { return ___issuer_name_10; }
inline X500DistinguishedName_t875709727 ** get_address_of_issuer_name_10() { return &___issuer_name_10; }
inline void set_issuer_name_10(X500DistinguishedName_t875709727 * value)
{
___issuer_name_10 = value;
Il2CppCodeGenWriteBarrier((&___issuer_name_10), value);
}
inline static int32_t get_offset_of_subject_name_11() { return static_cast<int32_t>(offsetof(X509Certificate2_t714049126, ___subject_name_11)); }
inline X500DistinguishedName_t875709727 * get_subject_name_11() const { return ___subject_name_11; }
inline X500DistinguishedName_t875709727 ** get_address_of_subject_name_11() { return &___subject_name_11; }
inline void set_subject_name_11(X500DistinguishedName_t875709727 * value)
{
___subject_name_11 = value;
Il2CppCodeGenWriteBarrier((&___subject_name_11), value);
}
inline static int32_t get_offset_of_signature_algorithm_12() { return static_cast<int32_t>(offsetof(X509Certificate2_t714049126, ___signature_algorithm_12)); }
inline Oid_t3552120260 * get_signature_algorithm_12() const { return ___signature_algorithm_12; }
inline Oid_t3552120260 ** get_address_of_signature_algorithm_12() { return &___signature_algorithm_12; }
inline void set_signature_algorithm_12(Oid_t3552120260 * value)
{
___signature_algorithm_12 = value;
Il2CppCodeGenWriteBarrier((&___signature_algorithm_12), value);
}
inline static int32_t get_offset_of__cert_13() { return static_cast<int32_t>(offsetof(X509Certificate2_t714049126, ____cert_13)); }
inline X509Certificate_t489243025 * get__cert_13() const { return ____cert_13; }
inline X509Certificate_t489243025 ** get_address_of__cert_13() { return &____cert_13; }
inline void set__cert_13(X509Certificate_t489243025 * value)
{
____cert_13 = value;
Il2CppCodeGenWriteBarrier((&____cert_13), value);
}
};
struct X509Certificate2_t714049126_StaticFields
{
public:
// System.String System.Security.Cryptography.X509Certificates.X509Certificate2::empty_error
String_t* ___empty_error_14;
// System.Byte[] System.Security.Cryptography.X509Certificates.X509Certificate2::commonName
ByteU5BU5D_t4116647657* ___commonName_15;
// System.Byte[] System.Security.Cryptography.X509Certificates.X509Certificate2::email
ByteU5BU5D_t4116647657* ___email_16;
// System.Byte[] System.Security.Cryptography.X509Certificates.X509Certificate2::signedData
ByteU5BU5D_t4116647657* ___signedData_17;
public:
inline static int32_t get_offset_of_empty_error_14() { return static_cast<int32_t>(offsetof(X509Certificate2_t714049126_StaticFields, ___empty_error_14)); }
inline String_t* get_empty_error_14() const { return ___empty_error_14; }
inline String_t** get_address_of_empty_error_14() { return &___empty_error_14; }
inline void set_empty_error_14(String_t* value)
{
___empty_error_14 = value;
Il2CppCodeGenWriteBarrier((&___empty_error_14), value);
}
inline static int32_t get_offset_of_commonName_15() { return static_cast<int32_t>(offsetof(X509Certificate2_t714049126_StaticFields, ___commonName_15)); }
inline ByteU5BU5D_t4116647657* get_commonName_15() const { return ___commonName_15; }
inline ByteU5BU5D_t4116647657** get_address_of_commonName_15() { return &___commonName_15; }
inline void set_commonName_15(ByteU5BU5D_t4116647657* value)
{
___commonName_15 = value;
Il2CppCodeGenWriteBarrier((&___commonName_15), value);
}
inline static int32_t get_offset_of_email_16() { return static_cast<int32_t>(offsetof(X509Certificate2_t714049126_StaticFields, ___email_16)); }
inline ByteU5BU5D_t4116647657* get_email_16() const { return ___email_16; }
inline ByteU5BU5D_t4116647657** get_address_of_email_16() { return &___email_16; }
inline void set_email_16(ByteU5BU5D_t4116647657* value)
{
___email_16 = value;
Il2CppCodeGenWriteBarrier((&___email_16), value);
}
inline static int32_t get_offset_of_signedData_17() { return static_cast<int32_t>(offsetof(X509Certificate2_t714049126_StaticFields, ___signedData_17)); }
inline ByteU5BU5D_t4116647657* get_signedData_17() const { return ___signedData_17; }
inline ByteU5BU5D_t4116647657** get_address_of_signedData_17() { return &___signedData_17; }
inline void set_signedData_17(ByteU5BU5D_t4116647657* value)
{
___signedData_17 = value;
Il2CppCodeGenWriteBarrier((&___signedData_17), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // X509CERTIFICATE2_T714049126_H
#ifndef X509CERTIFICATECOLLECTION_T3399372417_H
#define X509CERTIFICATECOLLECTION_T3399372417_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.X509Certificates.X509CertificateCollection
struct X509CertificateCollection_t3399372417 : public CollectionBase_t2727926298
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // X509CERTIFICATECOLLECTION_T3399372417_H
#ifndef SYSTEMEXCEPTION_T176217640_H
#define SYSTEMEXCEPTION_T176217640_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.SystemException
struct SystemException_t176217640 : public Exception_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SYSTEMEXCEPTION_T176217640_H
#ifndef GROUP_T2468205786_H
#define GROUP_T2468205786_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Text.RegularExpressions.Group
struct Group_t2468205786 : public Capture_t2232016050
{
public:
// System.Boolean System.Text.RegularExpressions.Group::success
bool ___success_4;
// System.Text.RegularExpressions.CaptureCollection System.Text.RegularExpressions.Group::captures
CaptureCollection_t1760593541 * ___captures_5;
public:
inline static int32_t get_offset_of_success_4() { return static_cast<int32_t>(offsetof(Group_t2468205786, ___success_4)); }
inline bool get_success_4() const { return ___success_4; }
inline bool* get_address_of_success_4() { return &___success_4; }
inline void set_success_4(bool value)
{
___success_4 = value;
}
inline static int32_t get_offset_of_captures_5() { return static_cast<int32_t>(offsetof(Group_t2468205786, ___captures_5)); }
inline CaptureCollection_t1760593541 * get_captures_5() const { return ___captures_5; }
inline CaptureCollection_t1760593541 ** get_address_of_captures_5() { return &___captures_5; }
inline void set_captures_5(CaptureCollection_t1760593541 * value)
{
___captures_5 = value;
Il2CppCodeGenWriteBarrier((&___captures_5), value);
}
};
struct Group_t2468205786_StaticFields
{
public:
// System.Text.RegularExpressions.Group System.Text.RegularExpressions.Group::Fail
Group_t2468205786 * ___Fail_3;
public:
inline static int32_t get_offset_of_Fail_3() { return static_cast<int32_t>(offsetof(Group_t2468205786_StaticFields, ___Fail_3)); }
inline Group_t2468205786 * get_Fail_3() const { return ___Fail_3; }
inline Group_t2468205786 ** get_address_of_Fail_3() { return &___Fail_3; }
inline void set_Fail_3(Group_t2468205786 * value)
{
___Fail_3 = value;
Il2CppCodeGenWriteBarrier((&___Fail_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // GROUP_T2468205786_H
#ifndef TIMESPAN_T881159249_H
#define TIMESPAN_T881159249_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.TimeSpan
struct TimeSpan_t881159249
{
public:
// System.Int64 System.TimeSpan::_ticks
int64_t ____ticks_3;
public:
inline static int32_t get_offset_of__ticks_3() { return static_cast<int32_t>(offsetof(TimeSpan_t881159249, ____ticks_3)); }
inline int64_t get__ticks_3() const { return ____ticks_3; }
inline int64_t* get_address_of__ticks_3() { return &____ticks_3; }
inline void set__ticks_3(int64_t value)
{
____ticks_3 = value;
}
};
struct TimeSpan_t881159249_StaticFields
{
public:
// System.TimeSpan System.TimeSpan::MaxValue
TimeSpan_t881159249 ___MaxValue_0;
// System.TimeSpan System.TimeSpan::MinValue
TimeSpan_t881159249 ___MinValue_1;
// System.TimeSpan System.TimeSpan::Zero
TimeSpan_t881159249 ___Zero_2;
public:
inline static int32_t get_offset_of_MaxValue_0() { return static_cast<int32_t>(offsetof(TimeSpan_t881159249_StaticFields, ___MaxValue_0)); }
inline TimeSpan_t881159249 get_MaxValue_0() const { return ___MaxValue_0; }
inline TimeSpan_t881159249 * get_address_of_MaxValue_0() { return &___MaxValue_0; }
inline void set_MaxValue_0(TimeSpan_t881159249 value)
{
___MaxValue_0 = value;
}
inline static int32_t get_offset_of_MinValue_1() { return static_cast<int32_t>(offsetof(TimeSpan_t881159249_StaticFields, ___MinValue_1)); }
inline TimeSpan_t881159249 get_MinValue_1() const { return ___MinValue_1; }
inline TimeSpan_t881159249 * get_address_of_MinValue_1() { return &___MinValue_1; }
inline void set_MinValue_1(TimeSpan_t881159249 value)
{
___MinValue_1 = value;
}
inline static int32_t get_offset_of_Zero_2() { return static_cast<int32_t>(offsetof(TimeSpan_t881159249_StaticFields, ___Zero_2)); }
inline TimeSpan_t881159249 get_Zero_2() const { return ___Zero_2; }
inline TimeSpan_t881159249 * get_address_of_Zero_2() { return &___Zero_2; }
inline void set_Zero_2(TimeSpan_t881159249 value)
{
___Zero_2 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TIMESPAN_T881159249_H
#ifndef UINT32_T2560061978_H
#define UINT32_T2560061978_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.UInt32
struct UInt32_t2560061978
{
public:
// System.UInt32 System.UInt32::m_value
uint32_t ___m_value_2;
public:
inline static int32_t get_offset_of_m_value_2() { return static_cast<int32_t>(offsetof(UInt32_t2560061978, ___m_value_2)); }
inline uint32_t get_m_value_2() const { return ___m_value_2; }
inline uint32_t* get_address_of_m_value_2() { return &___m_value_2; }
inline void set_m_value_2(uint32_t value)
{
___m_value_2 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // UINT32_T2560061978_H
#ifndef UINT64_T4134040092_H
#define UINT64_T4134040092_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.UInt64
struct UInt64_t4134040092
{
public:
// System.UInt64 System.UInt64::m_value
uint64_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(UInt64_t4134040092, ___m_value_0)); }
inline uint64_t get_m_value_0() const { return ___m_value_0; }
inline uint64_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(uint64_t value)
{
___m_value_0 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // UINT64_T4134040092_H
#ifndef VOID_T1185182177_H
#define VOID_T1185182177_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void
struct Void_t1185182177
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // VOID_T1185182177_H
#ifndef U3CPRIVATEIMPLEMENTATIONDETAILSU3E_T3057255363_H
#define U3CPRIVATEIMPLEMENTATIONDETAILSU3E_T3057255363_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <PrivateImplementationDetails>
struct U3CPrivateImplementationDetailsU3E_t3057255363 : public RuntimeObject
{
public:
public:
};
struct U3CPrivateImplementationDetailsU3E_t3057255363_StaticFields
{
public:
// <PrivateImplementationDetails>/$ArrayType$3132 <PrivateImplementationDetails>::$$field-0
U24ArrayTypeU243132_t2732071529 ___U24U24fieldU2D0_0;
// <PrivateImplementationDetails>/$ArrayType$256 <PrivateImplementationDetails>::$$field-5
U24ArrayTypeU24256_t1929481983 ___U24U24fieldU2D5_1;
// <PrivateImplementationDetails>/$ArrayType$20 <PrivateImplementationDetails>::$$field-6
U24ArrayTypeU2420_t1704471046 ___U24U24fieldU2D6_2;
// <PrivateImplementationDetails>/$ArrayType$32 <PrivateImplementationDetails>::$$field-7
U24ArrayTypeU2432_t3652892011 ___U24U24fieldU2D7_3;
// <PrivateImplementationDetails>/$ArrayType$48 <PrivateImplementationDetails>::$$field-8
U24ArrayTypeU2448_t1337922364 ___U24U24fieldU2D8_4;
// <PrivateImplementationDetails>/$ArrayType$64 <PrivateImplementationDetails>::$$field-9
U24ArrayTypeU2464_t499776626 ___U24U24fieldU2D9_5;
// <PrivateImplementationDetails>/$ArrayType$64 <PrivateImplementationDetails>::$$field-11
U24ArrayTypeU2464_t499776626 ___U24U24fieldU2D11_6;
// <PrivateImplementationDetails>/$ArrayType$64 <PrivateImplementationDetails>::$$field-12
U24ArrayTypeU2464_t499776626 ___U24U24fieldU2D12_7;
// <PrivateImplementationDetails>/$ArrayType$64 <PrivateImplementationDetails>::$$field-13
U24ArrayTypeU2464_t499776626 ___U24U24fieldU2D13_8;
// <PrivateImplementationDetails>/$ArrayType$12 <PrivateImplementationDetails>::$$field-14
U24ArrayTypeU2412_t2490092598 ___U24U24fieldU2D14_9;
// <PrivateImplementationDetails>/$ArrayType$12 <PrivateImplementationDetails>::$$field-15
U24ArrayTypeU2412_t2490092598 ___U24U24fieldU2D15_10;
// <PrivateImplementationDetails>/$ArrayType$12 <PrivateImplementationDetails>::$$field-16
U24ArrayTypeU2412_t2490092598 ___U24U24fieldU2D16_11;
// <PrivateImplementationDetails>/$ArrayType$16 <PrivateImplementationDetails>::$$field-17
U24ArrayTypeU2416_t3254766645 ___U24U24fieldU2D17_12;
// <PrivateImplementationDetails>/$ArrayType$4 <PrivateImplementationDetails>::$$field-21
U24ArrayTypeU244_t1630999355 ___U24U24fieldU2D21_13;
// <PrivateImplementationDetails>/$ArrayType$4 <PrivateImplementationDetails>::$$field-22
U24ArrayTypeU244_t1630999355 ___U24U24fieldU2D22_14;
public:
inline static int32_t get_offset_of_U24U24fieldU2D0_0() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255363_StaticFields, ___U24U24fieldU2D0_0)); }
inline U24ArrayTypeU243132_t2732071529 get_U24U24fieldU2D0_0() const { return ___U24U24fieldU2D0_0; }
inline U24ArrayTypeU243132_t2732071529 * get_address_of_U24U24fieldU2D0_0() { return &___U24U24fieldU2D0_0; }
inline void set_U24U24fieldU2D0_0(U24ArrayTypeU243132_t2732071529 value)
{
___U24U24fieldU2D0_0 = value;
}
inline static int32_t get_offset_of_U24U24fieldU2D5_1() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255363_StaticFields, ___U24U24fieldU2D5_1)); }
inline U24ArrayTypeU24256_t1929481983 get_U24U24fieldU2D5_1() const { return ___U24U24fieldU2D5_1; }
inline U24ArrayTypeU24256_t1929481983 * get_address_of_U24U24fieldU2D5_1() { return &___U24U24fieldU2D5_1; }
inline void set_U24U24fieldU2D5_1(U24ArrayTypeU24256_t1929481983 value)
{
___U24U24fieldU2D5_1 = value;
}
inline static int32_t get_offset_of_U24U24fieldU2D6_2() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255363_StaticFields, ___U24U24fieldU2D6_2)); }
inline U24ArrayTypeU2420_t1704471046 get_U24U24fieldU2D6_2() const { return ___U24U24fieldU2D6_2; }
inline U24ArrayTypeU2420_t1704471046 * get_address_of_U24U24fieldU2D6_2() { return &___U24U24fieldU2D6_2; }
inline void set_U24U24fieldU2D6_2(U24ArrayTypeU2420_t1704471046 value)
{
___U24U24fieldU2D6_2 = value;
}
inline static int32_t get_offset_of_U24U24fieldU2D7_3() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255363_StaticFields, ___U24U24fieldU2D7_3)); }
inline U24ArrayTypeU2432_t3652892011 get_U24U24fieldU2D7_3() const { return ___U24U24fieldU2D7_3; }
inline U24ArrayTypeU2432_t3652892011 * get_address_of_U24U24fieldU2D7_3() { return &___U24U24fieldU2D7_3; }
inline void set_U24U24fieldU2D7_3(U24ArrayTypeU2432_t3652892011 value)
{
___U24U24fieldU2D7_3 = value;
}
inline static int32_t get_offset_of_U24U24fieldU2D8_4() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255363_StaticFields, ___U24U24fieldU2D8_4)); }
inline U24ArrayTypeU2448_t1337922364 get_U24U24fieldU2D8_4() const { return ___U24U24fieldU2D8_4; }
inline U24ArrayTypeU2448_t1337922364 * get_address_of_U24U24fieldU2D8_4() { return &___U24U24fieldU2D8_4; }
inline void set_U24U24fieldU2D8_4(U24ArrayTypeU2448_t1337922364 value)
{
___U24U24fieldU2D8_4 = value;
}
inline static int32_t get_offset_of_U24U24fieldU2D9_5() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255363_StaticFields, ___U24U24fieldU2D9_5)); }
inline U24ArrayTypeU2464_t499776626 get_U24U24fieldU2D9_5() const { return ___U24U24fieldU2D9_5; }
inline U24ArrayTypeU2464_t499776626 * get_address_of_U24U24fieldU2D9_5() { return &___U24U24fieldU2D9_5; }
inline void set_U24U24fieldU2D9_5(U24ArrayTypeU2464_t499776626 value)
{
___U24U24fieldU2D9_5 = value;
}
inline static int32_t get_offset_of_U24U24fieldU2D11_6() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255363_StaticFields, ___U24U24fieldU2D11_6)); }
inline U24ArrayTypeU2464_t499776626 get_U24U24fieldU2D11_6() const { return ___U24U24fieldU2D11_6; }
inline U24ArrayTypeU2464_t499776626 * get_address_of_U24U24fieldU2D11_6() { return &___U24U24fieldU2D11_6; }
inline void set_U24U24fieldU2D11_6(U24ArrayTypeU2464_t499776626 value)
{
___U24U24fieldU2D11_6 = value;
}
inline static int32_t get_offset_of_U24U24fieldU2D12_7() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255363_StaticFields, ___U24U24fieldU2D12_7)); }
inline U24ArrayTypeU2464_t499776626 get_U24U24fieldU2D12_7() const { return ___U24U24fieldU2D12_7; }
inline U24ArrayTypeU2464_t499776626 * get_address_of_U24U24fieldU2D12_7() { return &___U24U24fieldU2D12_7; }
inline void set_U24U24fieldU2D12_7(U24ArrayTypeU2464_t499776626 value)
{
___U24U24fieldU2D12_7 = value;
}
inline static int32_t get_offset_of_U24U24fieldU2D13_8() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255363_StaticFields, ___U24U24fieldU2D13_8)); }
inline U24ArrayTypeU2464_t499776626 get_U24U24fieldU2D13_8() const { return ___U24U24fieldU2D13_8; }
inline U24ArrayTypeU2464_t499776626 * get_address_of_U24U24fieldU2D13_8() { return &___U24U24fieldU2D13_8; }
inline void set_U24U24fieldU2D13_8(U24ArrayTypeU2464_t499776626 value)
{
___U24U24fieldU2D13_8 = value;
}
inline static int32_t get_offset_of_U24U24fieldU2D14_9() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255363_StaticFields, ___U24U24fieldU2D14_9)); }
inline U24ArrayTypeU2412_t2490092598 get_U24U24fieldU2D14_9() const { return ___U24U24fieldU2D14_9; }
inline U24ArrayTypeU2412_t2490092598 * get_address_of_U24U24fieldU2D14_9() { return &___U24U24fieldU2D14_9; }
inline void set_U24U24fieldU2D14_9(U24ArrayTypeU2412_t2490092598 value)
{
___U24U24fieldU2D14_9 = value;
}
inline static int32_t get_offset_of_U24U24fieldU2D15_10() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255363_StaticFields, ___U24U24fieldU2D15_10)); }
inline U24ArrayTypeU2412_t2490092598 get_U24U24fieldU2D15_10() const { return ___U24U24fieldU2D15_10; }
inline U24ArrayTypeU2412_t2490092598 * get_address_of_U24U24fieldU2D15_10() { return &___U24U24fieldU2D15_10; }
inline void set_U24U24fieldU2D15_10(U24ArrayTypeU2412_t2490092598 value)
{
___U24U24fieldU2D15_10 = value;
}
inline static int32_t get_offset_of_U24U24fieldU2D16_11() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255363_StaticFields, ___U24U24fieldU2D16_11)); }
inline U24ArrayTypeU2412_t2490092598 get_U24U24fieldU2D16_11() const { return ___U24U24fieldU2D16_11; }
inline U24ArrayTypeU2412_t2490092598 * get_address_of_U24U24fieldU2D16_11() { return &___U24U24fieldU2D16_11; }
inline void set_U24U24fieldU2D16_11(U24ArrayTypeU2412_t2490092598 value)
{
___U24U24fieldU2D16_11 = value;
}
inline static int32_t get_offset_of_U24U24fieldU2D17_12() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255363_StaticFields, ___U24U24fieldU2D17_12)); }
inline U24ArrayTypeU2416_t3254766645 get_U24U24fieldU2D17_12() const { return ___U24U24fieldU2D17_12; }
inline U24ArrayTypeU2416_t3254766645 * get_address_of_U24U24fieldU2D17_12() { return &___U24U24fieldU2D17_12; }
inline void set_U24U24fieldU2D17_12(U24ArrayTypeU2416_t3254766645 value)
{
___U24U24fieldU2D17_12 = value;
}
inline static int32_t get_offset_of_U24U24fieldU2D21_13() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255363_StaticFields, ___U24U24fieldU2D21_13)); }
inline U24ArrayTypeU244_t1630999355 get_U24U24fieldU2D21_13() const { return ___U24U24fieldU2D21_13; }
inline U24ArrayTypeU244_t1630999355 * get_address_of_U24U24fieldU2D21_13() { return &___U24U24fieldU2D21_13; }
inline void set_U24U24fieldU2D21_13(U24ArrayTypeU244_t1630999355 value)
{
___U24U24fieldU2D21_13 = value;
}
inline static int32_t get_offset_of_U24U24fieldU2D22_14() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255363_StaticFields, ___U24U24fieldU2D22_14)); }
inline U24ArrayTypeU244_t1630999355 get_U24U24fieldU2D22_14() const { return ___U24U24fieldU2D22_14; }
inline U24ArrayTypeU244_t1630999355 * get_address_of_U24U24fieldU2D22_14() { return &___U24U24fieldU2D22_14; }
inline void set_U24U24fieldU2D22_14(U24ArrayTypeU244_t1630999355 value)
{
___U24U24fieldU2D22_14 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U3CPRIVATEIMPLEMENTATIONDETAILSU3E_T3057255363_H
#ifndef SIGN_T3338384039_H
#define SIGN_T3338384039_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Math.BigInteger/Sign
struct Sign_t3338384039
{
public:
// System.Int32 Mono.Math.BigInteger/Sign::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(Sign_t3338384039, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SIGN_T3338384039_H
#ifndef CONFIDENCEFACTOR_T2516000286_H
#define CONFIDENCEFACTOR_T2516000286_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Math.Prime.ConfidenceFactor
struct ConfidenceFactor_t2516000286
{
public:
// System.Int32 Mono.Math.Prime.ConfidenceFactor::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(ConfidenceFactor_t2516000286, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CONFIDENCEFACTOR_T2516000286_H
#ifndef HMAC_T3689525210_H
#define HMAC_T3689525210_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Cryptography.HMAC
struct HMAC_t3689525210 : public KeyedHashAlgorithm_t112861511
{
public:
// System.Security.Cryptography.HashAlgorithm Mono.Security.Cryptography.HMAC::hash
HashAlgorithm_t1432317219 * ___hash_5;
// System.Boolean Mono.Security.Cryptography.HMAC::hashing
bool ___hashing_6;
// System.Byte[] Mono.Security.Cryptography.HMAC::innerPad
ByteU5BU5D_t4116647657* ___innerPad_7;
// System.Byte[] Mono.Security.Cryptography.HMAC::outerPad
ByteU5BU5D_t4116647657* ___outerPad_8;
public:
inline static int32_t get_offset_of_hash_5() { return static_cast<int32_t>(offsetof(HMAC_t3689525210, ___hash_5)); }
inline HashAlgorithm_t1432317219 * get_hash_5() const { return ___hash_5; }
inline HashAlgorithm_t1432317219 ** get_address_of_hash_5() { return &___hash_5; }
inline void set_hash_5(HashAlgorithm_t1432317219 * value)
{
___hash_5 = value;
Il2CppCodeGenWriteBarrier((&___hash_5), value);
}
inline static int32_t get_offset_of_hashing_6() { return static_cast<int32_t>(offsetof(HMAC_t3689525210, ___hashing_6)); }
inline bool get_hashing_6() const { return ___hashing_6; }
inline bool* get_address_of_hashing_6() { return &___hashing_6; }
inline void set_hashing_6(bool value)
{
___hashing_6 = value;
}
inline static int32_t get_offset_of_innerPad_7() { return static_cast<int32_t>(offsetof(HMAC_t3689525210, ___innerPad_7)); }
inline ByteU5BU5D_t4116647657* get_innerPad_7() const { return ___innerPad_7; }
inline ByteU5BU5D_t4116647657** get_address_of_innerPad_7() { return &___innerPad_7; }
inline void set_innerPad_7(ByteU5BU5D_t4116647657* value)
{
___innerPad_7 = value;
Il2CppCodeGenWriteBarrier((&___innerPad_7), value);
}
inline static int32_t get_offset_of_outerPad_8() { return static_cast<int32_t>(offsetof(HMAC_t3689525210, ___outerPad_8)); }
inline ByteU5BU5D_t4116647657* get_outerPad_8() const { return ___outerPad_8; }
inline ByteU5BU5D_t4116647657** get_address_of_outerPad_8() { return &___outerPad_8; }
inline void set_outerPad_8(ByteU5BU5D_t4116647657* value)
{
___outerPad_8 = value;
Il2CppCodeGenWriteBarrier((&___outerPad_8), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // HMAC_T3689525210_H
#ifndef MD2MANAGED_T1377101535_H
#define MD2MANAGED_T1377101535_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Cryptography.MD2Managed
struct MD2Managed_t1377101535 : public MD2_t1561046427
{
public:
// System.Byte[] Mono.Security.Cryptography.MD2Managed::state
ByteU5BU5D_t4116647657* ___state_4;
// System.Byte[] Mono.Security.Cryptography.MD2Managed::checksum
ByteU5BU5D_t4116647657* ___checksum_5;
// System.Byte[] Mono.Security.Cryptography.MD2Managed::buffer
ByteU5BU5D_t4116647657* ___buffer_6;
// System.Int32 Mono.Security.Cryptography.MD2Managed::count
int32_t ___count_7;
// System.Byte[] Mono.Security.Cryptography.MD2Managed::x
ByteU5BU5D_t4116647657* ___x_8;
public:
inline static int32_t get_offset_of_state_4() { return static_cast<int32_t>(offsetof(MD2Managed_t1377101535, ___state_4)); }
inline ByteU5BU5D_t4116647657* get_state_4() const { return ___state_4; }
inline ByteU5BU5D_t4116647657** get_address_of_state_4() { return &___state_4; }
inline void set_state_4(ByteU5BU5D_t4116647657* value)
{
___state_4 = value;
Il2CppCodeGenWriteBarrier((&___state_4), value);
}
inline static int32_t get_offset_of_checksum_5() { return static_cast<int32_t>(offsetof(MD2Managed_t1377101535, ___checksum_5)); }
inline ByteU5BU5D_t4116647657* get_checksum_5() const { return ___checksum_5; }
inline ByteU5BU5D_t4116647657** get_address_of_checksum_5() { return &___checksum_5; }
inline void set_checksum_5(ByteU5BU5D_t4116647657* value)
{
___checksum_5 = value;
Il2CppCodeGenWriteBarrier((&___checksum_5), value);
}
inline static int32_t get_offset_of_buffer_6() { return static_cast<int32_t>(offsetof(MD2Managed_t1377101535, ___buffer_6)); }
inline ByteU5BU5D_t4116647657* get_buffer_6() const { return ___buffer_6; }
inline ByteU5BU5D_t4116647657** get_address_of_buffer_6() { return &___buffer_6; }
inline void set_buffer_6(ByteU5BU5D_t4116647657* value)
{
___buffer_6 = value;
Il2CppCodeGenWriteBarrier((&___buffer_6), value);
}
inline static int32_t get_offset_of_count_7() { return static_cast<int32_t>(offsetof(MD2Managed_t1377101535, ___count_7)); }
inline int32_t get_count_7() const { return ___count_7; }
inline int32_t* get_address_of_count_7() { return &___count_7; }
inline void set_count_7(int32_t value)
{
___count_7 = value;
}
inline static int32_t get_offset_of_x_8() { return static_cast<int32_t>(offsetof(MD2Managed_t1377101535, ___x_8)); }
inline ByteU5BU5D_t4116647657* get_x_8() const { return ___x_8; }
inline ByteU5BU5D_t4116647657** get_address_of_x_8() { return &___x_8; }
inline void set_x_8(ByteU5BU5D_t4116647657* value)
{
___x_8 = value;
Il2CppCodeGenWriteBarrier((&___x_8), value);
}
};
struct MD2Managed_t1377101535_StaticFields
{
public:
// System.Byte[] Mono.Security.Cryptography.MD2Managed::PI_SUBST
ByteU5BU5D_t4116647657* ___PI_SUBST_9;
public:
inline static int32_t get_offset_of_PI_SUBST_9() { return static_cast<int32_t>(offsetof(MD2Managed_t1377101535_StaticFields, ___PI_SUBST_9)); }
inline ByteU5BU5D_t4116647657* get_PI_SUBST_9() const { return ___PI_SUBST_9; }
inline ByteU5BU5D_t4116647657** get_address_of_PI_SUBST_9() { return &___PI_SUBST_9; }
inline void set_PI_SUBST_9(ByteU5BU5D_t4116647657* value)
{
___PI_SUBST_9 = value;
Il2CppCodeGenWriteBarrier((&___PI_SUBST_9), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MD2MANAGED_T1377101535_H
#ifndef MD4MANAGED_T957540063_H
#define MD4MANAGED_T957540063_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Cryptography.MD4Managed
struct MD4Managed_t957540063 : public MD4_t1560915355
{
public:
// System.UInt32[] Mono.Security.Cryptography.MD4Managed::state
UInt32U5BU5D_t2770800703* ___state_4;
// System.Byte[] Mono.Security.Cryptography.MD4Managed::buffer
ByteU5BU5D_t4116647657* ___buffer_5;
// System.UInt32[] Mono.Security.Cryptography.MD4Managed::count
UInt32U5BU5D_t2770800703* ___count_6;
// System.UInt32[] Mono.Security.Cryptography.MD4Managed::x
UInt32U5BU5D_t2770800703* ___x_7;
// System.Byte[] Mono.Security.Cryptography.MD4Managed::digest
ByteU5BU5D_t4116647657* ___digest_8;
public:
inline static int32_t get_offset_of_state_4() { return static_cast<int32_t>(offsetof(MD4Managed_t957540063, ___state_4)); }
inline UInt32U5BU5D_t2770800703* get_state_4() const { return ___state_4; }
inline UInt32U5BU5D_t2770800703** get_address_of_state_4() { return &___state_4; }
inline void set_state_4(UInt32U5BU5D_t2770800703* value)
{
___state_4 = value;
Il2CppCodeGenWriteBarrier((&___state_4), value);
}
inline static int32_t get_offset_of_buffer_5() { return static_cast<int32_t>(offsetof(MD4Managed_t957540063, ___buffer_5)); }
inline ByteU5BU5D_t4116647657* get_buffer_5() const { return ___buffer_5; }
inline ByteU5BU5D_t4116647657** get_address_of_buffer_5() { return &___buffer_5; }
inline void set_buffer_5(ByteU5BU5D_t4116647657* value)
{
___buffer_5 = value;
Il2CppCodeGenWriteBarrier((&___buffer_5), value);
}
inline static int32_t get_offset_of_count_6() { return static_cast<int32_t>(offsetof(MD4Managed_t957540063, ___count_6)); }
inline UInt32U5BU5D_t2770800703* get_count_6() const { return ___count_6; }
inline UInt32U5BU5D_t2770800703** get_address_of_count_6() { return &___count_6; }
inline void set_count_6(UInt32U5BU5D_t2770800703* value)
{
___count_6 = value;
Il2CppCodeGenWriteBarrier((&___count_6), value);
}
inline static int32_t get_offset_of_x_7() { return static_cast<int32_t>(offsetof(MD4Managed_t957540063, ___x_7)); }
inline UInt32U5BU5D_t2770800703* get_x_7() const { return ___x_7; }
inline UInt32U5BU5D_t2770800703** get_address_of_x_7() { return &___x_7; }
inline void set_x_7(UInt32U5BU5D_t2770800703* value)
{
___x_7 = value;
Il2CppCodeGenWriteBarrier((&___x_7), value);
}
inline static int32_t get_offset_of_digest_8() { return static_cast<int32_t>(offsetof(MD4Managed_t957540063, ___digest_8)); }
inline ByteU5BU5D_t4116647657* get_digest_8() const { return ___digest_8; }
inline ByteU5BU5D_t4116647657** get_address_of_digest_8() { return &___digest_8; }
inline void set_digest_8(ByteU5BU5D_t4116647657* value)
{
___digest_8 = value;
Il2CppCodeGenWriteBarrier((&___digest_8), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MD4MANAGED_T957540063_H
#ifndef RSAMANAGED_T1757093820_H
#define RSAMANAGED_T1757093820_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Cryptography.RSAManaged
struct RSAManaged_t1757093820 : public RSA_t2385438082
{
public:
// System.Boolean Mono.Security.Cryptography.RSAManaged::isCRTpossible
bool ___isCRTpossible_2;
// System.Boolean Mono.Security.Cryptography.RSAManaged::keyBlinding
bool ___keyBlinding_3;
// System.Boolean Mono.Security.Cryptography.RSAManaged::keypairGenerated
bool ___keypairGenerated_4;
// System.Boolean Mono.Security.Cryptography.RSAManaged::m_disposed
bool ___m_disposed_5;
// Mono.Math.BigInteger Mono.Security.Cryptography.RSAManaged::d
BigInteger_t2902905090 * ___d_6;
// Mono.Math.BigInteger Mono.Security.Cryptography.RSAManaged::p
BigInteger_t2902905090 * ___p_7;
// Mono.Math.BigInteger Mono.Security.Cryptography.RSAManaged::q
BigInteger_t2902905090 * ___q_8;
// Mono.Math.BigInteger Mono.Security.Cryptography.RSAManaged::dp
BigInteger_t2902905090 * ___dp_9;
// Mono.Math.BigInteger Mono.Security.Cryptography.RSAManaged::dq
BigInteger_t2902905090 * ___dq_10;
// Mono.Math.BigInteger Mono.Security.Cryptography.RSAManaged::qInv
BigInteger_t2902905090 * ___qInv_11;
// Mono.Math.BigInteger Mono.Security.Cryptography.RSAManaged::n
BigInteger_t2902905090 * ___n_12;
// Mono.Math.BigInteger Mono.Security.Cryptography.RSAManaged::e
BigInteger_t2902905090 * ___e_13;
// Mono.Security.Cryptography.RSAManaged/KeyGeneratedEventHandler Mono.Security.Cryptography.RSAManaged::KeyGenerated
KeyGeneratedEventHandler_t3064139578 * ___KeyGenerated_14;
public:
inline static int32_t get_offset_of_isCRTpossible_2() { return static_cast<int32_t>(offsetof(RSAManaged_t1757093820, ___isCRTpossible_2)); }
inline bool get_isCRTpossible_2() const { return ___isCRTpossible_2; }
inline bool* get_address_of_isCRTpossible_2() { return &___isCRTpossible_2; }
inline void set_isCRTpossible_2(bool value)
{
___isCRTpossible_2 = value;
}
inline static int32_t get_offset_of_keyBlinding_3() { return static_cast<int32_t>(offsetof(RSAManaged_t1757093820, ___keyBlinding_3)); }
inline bool get_keyBlinding_3() const { return ___keyBlinding_3; }
inline bool* get_address_of_keyBlinding_3() { return &___keyBlinding_3; }
inline void set_keyBlinding_3(bool value)
{
___keyBlinding_3 = value;
}
inline static int32_t get_offset_of_keypairGenerated_4() { return static_cast<int32_t>(offsetof(RSAManaged_t1757093820, ___keypairGenerated_4)); }
inline bool get_keypairGenerated_4() const { return ___keypairGenerated_4; }
inline bool* get_address_of_keypairGenerated_4() { return &___keypairGenerated_4; }
inline void set_keypairGenerated_4(bool value)
{
___keypairGenerated_4 = value;
}
inline static int32_t get_offset_of_m_disposed_5() { return static_cast<int32_t>(offsetof(RSAManaged_t1757093820, ___m_disposed_5)); }
inline bool get_m_disposed_5() const { return ___m_disposed_5; }
inline bool* get_address_of_m_disposed_5() { return &___m_disposed_5; }
inline void set_m_disposed_5(bool value)
{
___m_disposed_5 = value;
}
inline static int32_t get_offset_of_d_6() { return static_cast<int32_t>(offsetof(RSAManaged_t1757093820, ___d_6)); }
inline BigInteger_t2902905090 * get_d_6() const { return ___d_6; }
inline BigInteger_t2902905090 ** get_address_of_d_6() { return &___d_6; }
inline void set_d_6(BigInteger_t2902905090 * value)
{
___d_6 = value;
Il2CppCodeGenWriteBarrier((&___d_6), value);
}
inline static int32_t get_offset_of_p_7() { return static_cast<int32_t>(offsetof(RSAManaged_t1757093820, ___p_7)); }
inline BigInteger_t2902905090 * get_p_7() const { return ___p_7; }
inline BigInteger_t2902905090 ** get_address_of_p_7() { return &___p_7; }
inline void set_p_7(BigInteger_t2902905090 * value)
{
___p_7 = value;
Il2CppCodeGenWriteBarrier((&___p_7), value);
}
inline static int32_t get_offset_of_q_8() { return static_cast<int32_t>(offsetof(RSAManaged_t1757093820, ___q_8)); }
inline BigInteger_t2902905090 * get_q_8() const { return ___q_8; }
inline BigInteger_t2902905090 ** get_address_of_q_8() { return &___q_8; }
inline void set_q_8(BigInteger_t2902905090 * value)
{
___q_8 = value;
Il2CppCodeGenWriteBarrier((&___q_8), value);
}
inline static int32_t get_offset_of_dp_9() { return static_cast<int32_t>(offsetof(RSAManaged_t1757093820, ___dp_9)); }
inline BigInteger_t2902905090 * get_dp_9() const { return ___dp_9; }
inline BigInteger_t2902905090 ** get_address_of_dp_9() { return &___dp_9; }
inline void set_dp_9(BigInteger_t2902905090 * value)
{
___dp_9 = value;
Il2CppCodeGenWriteBarrier((&___dp_9), value);
}
inline static int32_t get_offset_of_dq_10() { return static_cast<int32_t>(offsetof(RSAManaged_t1757093820, ___dq_10)); }
inline BigInteger_t2902905090 * get_dq_10() const { return ___dq_10; }
inline BigInteger_t2902905090 ** get_address_of_dq_10() { return &___dq_10; }
inline void set_dq_10(BigInteger_t2902905090 * value)
{
___dq_10 = value;
Il2CppCodeGenWriteBarrier((&___dq_10), value);
}
inline static int32_t get_offset_of_qInv_11() { return static_cast<int32_t>(offsetof(RSAManaged_t1757093820, ___qInv_11)); }
inline BigInteger_t2902905090 * get_qInv_11() const { return ___qInv_11; }
inline BigInteger_t2902905090 ** get_address_of_qInv_11() { return &___qInv_11; }
inline void set_qInv_11(BigInteger_t2902905090 * value)
{
___qInv_11 = value;
Il2CppCodeGenWriteBarrier((&___qInv_11), value);
}
inline static int32_t get_offset_of_n_12() { return static_cast<int32_t>(offsetof(RSAManaged_t1757093820, ___n_12)); }
inline BigInteger_t2902905090 * get_n_12() const { return ___n_12; }
inline BigInteger_t2902905090 ** get_address_of_n_12() { return &___n_12; }
inline void set_n_12(BigInteger_t2902905090 * value)
{
___n_12 = value;
Il2CppCodeGenWriteBarrier((&___n_12), value);
}
inline static int32_t get_offset_of_e_13() { return static_cast<int32_t>(offsetof(RSAManaged_t1757093820, ___e_13)); }
inline BigInteger_t2902905090 * get_e_13() const { return ___e_13; }
inline BigInteger_t2902905090 ** get_address_of_e_13() { return &___e_13; }
inline void set_e_13(BigInteger_t2902905090 * value)
{
___e_13 = value;
Il2CppCodeGenWriteBarrier((&___e_13), value);
}
inline static int32_t get_offset_of_KeyGenerated_14() { return static_cast<int32_t>(offsetof(RSAManaged_t1757093820, ___KeyGenerated_14)); }
inline KeyGeneratedEventHandler_t3064139578 * get_KeyGenerated_14() const { return ___KeyGenerated_14; }
inline KeyGeneratedEventHandler_t3064139578 ** get_address_of_KeyGenerated_14() { return &___KeyGenerated_14; }
inline void set_KeyGenerated_14(KeyGeneratedEventHandler_t3064139578 * value)
{
___KeyGenerated_14 = value;
Il2CppCodeGenWriteBarrier((&___KeyGenerated_14), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RSAMANAGED_T1757093820_H
#ifndef ALERTDESCRIPTION_T1549755611_H
#define ALERTDESCRIPTION_T1549755611_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.AlertDescription
struct AlertDescription_t1549755611
{
public:
// System.Byte Mono.Security.Protocol.Tls.AlertDescription::value__
uint8_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(AlertDescription_t1549755611, ___value___1)); }
inline uint8_t get_value___1() const { return ___value___1; }
inline uint8_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(uint8_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ALERTDESCRIPTION_T1549755611_H
#ifndef ALERTLEVEL_T2246417555_H
#define ALERTLEVEL_T2246417555_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.AlertLevel
struct AlertLevel_t2246417555
{
public:
// System.Byte Mono.Security.Protocol.Tls.AlertLevel::value__
uint8_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(AlertLevel_t2246417555, ___value___1)); }
inline uint8_t get_value___1() const { return ___value___1; }
inline uint8_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(uint8_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ALERTLEVEL_T2246417555_H
#ifndef CIPHERALGORITHMTYPE_T1174400495_H
#define CIPHERALGORITHMTYPE_T1174400495_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.CipherAlgorithmType
struct CipherAlgorithmType_t1174400495
{
public:
// System.Int32 Mono.Security.Protocol.Tls.CipherAlgorithmType::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(CipherAlgorithmType_t1174400495, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CIPHERALGORITHMTYPE_T1174400495_H
#ifndef CONTENTTYPE_T2602934270_H
#define CONTENTTYPE_T2602934270_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.ContentType
struct ContentType_t2602934270
{
public:
// System.Byte Mono.Security.Protocol.Tls.ContentType::value__
uint8_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(ContentType_t2602934270, ___value___1)); }
inline uint8_t get_value___1() const { return ___value___1; }
inline uint8_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(uint8_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CONTENTTYPE_T2602934270_H
#ifndef EXCHANGEALGORITHMTYPE_T1320888206_H
#define EXCHANGEALGORITHMTYPE_T1320888206_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.ExchangeAlgorithmType
struct ExchangeAlgorithmType_t1320888206
{
public:
// System.Int32 Mono.Security.Protocol.Tls.ExchangeAlgorithmType::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(ExchangeAlgorithmType_t1320888206, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EXCHANGEALGORITHMTYPE_T1320888206_H
#ifndef CLIENTCERTIFICATETYPE_T1004704908_H
#define CLIENTCERTIFICATETYPE_T1004704908_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.Handshake.ClientCertificateType
struct ClientCertificateType_t1004704908
{
public:
// System.Int32 Mono.Security.Protocol.Tls.Handshake.ClientCertificateType::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(ClientCertificateType_t1004704908, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CLIENTCERTIFICATETYPE_T1004704908_H
#ifndef HANDSHAKETYPE_T3062346172_H
#define HANDSHAKETYPE_T3062346172_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.Handshake.HandshakeType
struct HandshakeType_t3062346172
{
public:
// System.Byte Mono.Security.Protocol.Tls.Handshake.HandshakeType::value__
uint8_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(HandshakeType_t3062346172, ___value___1)); }
inline uint8_t get_value___1() const { return ___value___1; }
inline uint8_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(uint8_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // HANDSHAKETYPE_T3062346172_H
#ifndef HANDSHAKESTATE_T756684113_H
#define HANDSHAKESTATE_T756684113_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.HandshakeState
struct HandshakeState_t756684113
{
public:
// System.Int32 Mono.Security.Protocol.Tls.HandshakeState::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(HandshakeState_t756684113, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // HANDSHAKESTATE_T756684113_H
#ifndef HASHALGORITHMTYPE_T2376832258_H
#define HASHALGORITHMTYPE_T2376832258_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.HashAlgorithmType
struct HashAlgorithmType_t2376832258
{
public:
// System.Int32 Mono.Security.Protocol.Tls.HashAlgorithmType::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(HashAlgorithmType_t2376832258, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // HASHALGORITHMTYPE_T2376832258_H
#ifndef SECURITYCOMPRESSIONTYPE_T4242483129_H
#define SECURITYCOMPRESSIONTYPE_T4242483129_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.SecurityCompressionType
struct SecurityCompressionType_t4242483129
{
public:
// System.Int32 Mono.Security.Protocol.Tls.SecurityCompressionType::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(SecurityCompressionType_t4242483129, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SECURITYCOMPRESSIONTYPE_T4242483129_H
#ifndef SECURITYPROTOCOLTYPE_T1513093309_H
#define SECURITYPROTOCOLTYPE_T1513093309_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.SecurityProtocolType
struct SecurityProtocolType_t1513093309
{
public:
// System.Int32 Mono.Security.Protocol.Tls.SecurityProtocolType::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(SecurityProtocolType_t1513093309, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SECURITYPROTOCOLTYPE_T1513093309_H
#ifndef SSLSTREAMBASE_T1667413407_H
#define SSLSTREAMBASE_T1667413407_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.SslStreamBase
struct SslStreamBase_t1667413407 : public Stream_t1273022909
{
public:
// System.IO.Stream Mono.Security.Protocol.Tls.SslStreamBase::innerStream
Stream_t1273022909 * ___innerStream_3;
// System.IO.MemoryStream Mono.Security.Protocol.Tls.SslStreamBase::inputBuffer
MemoryStream_t94973147 * ___inputBuffer_4;
// Mono.Security.Protocol.Tls.Context Mono.Security.Protocol.Tls.SslStreamBase::context
Context_t3971234707 * ___context_5;
// Mono.Security.Protocol.Tls.RecordProtocol Mono.Security.Protocol.Tls.SslStreamBase::protocol
RecordProtocol_t3759049701 * ___protocol_6;
// System.Boolean Mono.Security.Protocol.Tls.SslStreamBase::ownsStream
bool ___ownsStream_7;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) Mono.Security.Protocol.Tls.SslStreamBase::disposed
bool ___disposed_8;
// System.Boolean Mono.Security.Protocol.Tls.SslStreamBase::checkCertRevocationStatus
bool ___checkCertRevocationStatus_9;
// System.Object Mono.Security.Protocol.Tls.SslStreamBase::negotiate
RuntimeObject * ___negotiate_10;
// System.Object Mono.Security.Protocol.Tls.SslStreamBase::read
RuntimeObject * ___read_11;
// System.Object Mono.Security.Protocol.Tls.SslStreamBase::write
RuntimeObject * ___write_12;
// System.Threading.ManualResetEvent Mono.Security.Protocol.Tls.SslStreamBase::negotiationComplete
ManualResetEvent_t451242010 * ___negotiationComplete_13;
// System.Byte[] Mono.Security.Protocol.Tls.SslStreamBase::recbuf
ByteU5BU5D_t4116647657* ___recbuf_14;
// System.IO.MemoryStream Mono.Security.Protocol.Tls.SslStreamBase::recordStream
MemoryStream_t94973147 * ___recordStream_15;
public:
inline static int32_t get_offset_of_innerStream_3() { return static_cast<int32_t>(offsetof(SslStreamBase_t1667413407, ___innerStream_3)); }
inline Stream_t1273022909 * get_innerStream_3() const { return ___innerStream_3; }
inline Stream_t1273022909 ** get_address_of_innerStream_3() { return &___innerStream_3; }
inline void set_innerStream_3(Stream_t1273022909 * value)
{
___innerStream_3 = value;
Il2CppCodeGenWriteBarrier((&___innerStream_3), value);
}
inline static int32_t get_offset_of_inputBuffer_4() { return static_cast<int32_t>(offsetof(SslStreamBase_t1667413407, ___inputBuffer_4)); }
inline MemoryStream_t94973147 * get_inputBuffer_4() const { return ___inputBuffer_4; }
inline MemoryStream_t94973147 ** get_address_of_inputBuffer_4() { return &___inputBuffer_4; }
inline void set_inputBuffer_4(MemoryStream_t94973147 * value)
{
___inputBuffer_4 = value;
Il2CppCodeGenWriteBarrier((&___inputBuffer_4), value);
}
inline static int32_t get_offset_of_context_5() { return static_cast<int32_t>(offsetof(SslStreamBase_t1667413407, ___context_5)); }
inline Context_t3971234707 * get_context_5() const { return ___context_5; }
inline Context_t3971234707 ** get_address_of_context_5() { return &___context_5; }
inline void set_context_5(Context_t3971234707 * value)
{
___context_5 = value;
Il2CppCodeGenWriteBarrier((&___context_5), value);
}
inline static int32_t get_offset_of_protocol_6() { return static_cast<int32_t>(offsetof(SslStreamBase_t1667413407, ___protocol_6)); }
inline RecordProtocol_t3759049701 * get_protocol_6() const { return ___protocol_6; }
inline RecordProtocol_t3759049701 ** get_address_of_protocol_6() { return &___protocol_6; }
inline void set_protocol_6(RecordProtocol_t3759049701 * value)
{
___protocol_6 = value;
Il2CppCodeGenWriteBarrier((&___protocol_6), value);
}
inline static int32_t get_offset_of_ownsStream_7() { return static_cast<int32_t>(offsetof(SslStreamBase_t1667413407, ___ownsStream_7)); }
inline bool get_ownsStream_7() const { return ___ownsStream_7; }
inline bool* get_address_of_ownsStream_7() { return &___ownsStream_7; }
inline void set_ownsStream_7(bool value)
{
___ownsStream_7 = value;
}
inline static int32_t get_offset_of_disposed_8() { return static_cast<int32_t>(offsetof(SslStreamBase_t1667413407, ___disposed_8)); }
inline bool get_disposed_8() const { return ___disposed_8; }
inline bool* get_address_of_disposed_8() { return &___disposed_8; }
inline void set_disposed_8(bool value)
{
___disposed_8 = value;
}
inline static int32_t get_offset_of_checkCertRevocationStatus_9() { return static_cast<int32_t>(offsetof(SslStreamBase_t1667413407, ___checkCertRevocationStatus_9)); }
inline bool get_checkCertRevocationStatus_9() const { return ___checkCertRevocationStatus_9; }
inline bool* get_address_of_checkCertRevocationStatus_9() { return &___checkCertRevocationStatus_9; }
inline void set_checkCertRevocationStatus_9(bool value)
{
___checkCertRevocationStatus_9 = value;
}
inline static int32_t get_offset_of_negotiate_10() { return static_cast<int32_t>(offsetof(SslStreamBase_t1667413407, ___negotiate_10)); }
inline RuntimeObject * get_negotiate_10() const { return ___negotiate_10; }
inline RuntimeObject ** get_address_of_negotiate_10() { return &___negotiate_10; }
inline void set_negotiate_10(RuntimeObject * value)
{
___negotiate_10 = value;
Il2CppCodeGenWriteBarrier((&___negotiate_10), value);
}
inline static int32_t get_offset_of_read_11() { return static_cast<int32_t>(offsetof(SslStreamBase_t1667413407, ___read_11)); }
inline RuntimeObject * get_read_11() const { return ___read_11; }
inline RuntimeObject ** get_address_of_read_11() { return &___read_11; }
inline void set_read_11(RuntimeObject * value)
{
___read_11 = value;
Il2CppCodeGenWriteBarrier((&___read_11), value);
}
inline static int32_t get_offset_of_write_12() { return static_cast<int32_t>(offsetof(SslStreamBase_t1667413407, ___write_12)); }
inline RuntimeObject * get_write_12() const { return ___write_12; }
inline RuntimeObject ** get_address_of_write_12() { return &___write_12; }
inline void set_write_12(RuntimeObject * value)
{
___write_12 = value;
Il2CppCodeGenWriteBarrier((&___write_12), value);
}
inline static int32_t get_offset_of_negotiationComplete_13() { return static_cast<int32_t>(offsetof(SslStreamBase_t1667413407, ___negotiationComplete_13)); }
inline ManualResetEvent_t451242010 * get_negotiationComplete_13() const { return ___negotiationComplete_13; }
inline ManualResetEvent_t451242010 ** get_address_of_negotiationComplete_13() { return &___negotiationComplete_13; }
inline void set_negotiationComplete_13(ManualResetEvent_t451242010 * value)
{
___negotiationComplete_13 = value;
Il2CppCodeGenWriteBarrier((&___negotiationComplete_13), value);
}
inline static int32_t get_offset_of_recbuf_14() { return static_cast<int32_t>(offsetof(SslStreamBase_t1667413407, ___recbuf_14)); }
inline ByteU5BU5D_t4116647657* get_recbuf_14() const { return ___recbuf_14; }
inline ByteU5BU5D_t4116647657** get_address_of_recbuf_14() { return &___recbuf_14; }
inline void set_recbuf_14(ByteU5BU5D_t4116647657* value)
{
___recbuf_14 = value;
Il2CppCodeGenWriteBarrier((&___recbuf_14), value);
}
inline static int32_t get_offset_of_recordStream_15() { return static_cast<int32_t>(offsetof(SslStreamBase_t1667413407, ___recordStream_15)); }
inline MemoryStream_t94973147 * get_recordStream_15() const { return ___recordStream_15; }
inline MemoryStream_t94973147 ** get_address_of_recordStream_15() { return &___recordStream_15; }
inline void set_recordStream_15(MemoryStream_t94973147 * value)
{
___recordStream_15 = value;
Il2CppCodeGenWriteBarrier((&___recordStream_15), value);
}
};
struct SslStreamBase_t1667413407_StaticFields
{
public:
// System.Threading.ManualResetEvent Mono.Security.Protocol.Tls.SslStreamBase::record_processing
ManualResetEvent_t451242010 * ___record_processing_2;
public:
inline static int32_t get_offset_of_record_processing_2() { return static_cast<int32_t>(offsetof(SslStreamBase_t1667413407_StaticFields, ___record_processing_2)); }
inline ManualResetEvent_t451242010 * get_record_processing_2() const { return ___record_processing_2; }
inline ManualResetEvent_t451242010 ** get_address_of_record_processing_2() { return &___record_processing_2; }
inline void set_record_processing_2(ManualResetEvent_t451242010 * value)
{
___record_processing_2 = value;
Il2CppCodeGenWriteBarrier((&___record_processing_2), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SSLSTREAMBASE_T1667413407_H
#ifndef TLSSERVERSETTINGS_T4144396432_H
#define TLSSERVERSETTINGS_T4144396432_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.TlsServerSettings
struct TlsServerSettings_t4144396432 : public RuntimeObject
{
public:
// Mono.Security.X509.X509CertificateCollection Mono.Security.Protocol.Tls.TlsServerSettings::certificates
X509CertificateCollection_t1542168550 * ___certificates_0;
// System.Security.Cryptography.RSA Mono.Security.Protocol.Tls.TlsServerSettings::certificateRSA
RSA_t2385438082 * ___certificateRSA_1;
// System.Security.Cryptography.RSAParameters Mono.Security.Protocol.Tls.TlsServerSettings::rsaParameters
RSAParameters_t1728406613 ___rsaParameters_2;
// System.Byte[] Mono.Security.Protocol.Tls.TlsServerSettings::signedParams
ByteU5BU5D_t4116647657* ___signedParams_3;
// System.String[] Mono.Security.Protocol.Tls.TlsServerSettings::distinguisedNames
StringU5BU5D_t1281789340* ___distinguisedNames_4;
// System.Boolean Mono.Security.Protocol.Tls.TlsServerSettings::serverKeyExchange
bool ___serverKeyExchange_5;
// System.Boolean Mono.Security.Protocol.Tls.TlsServerSettings::certificateRequest
bool ___certificateRequest_6;
// Mono.Security.Protocol.Tls.Handshake.ClientCertificateType[] Mono.Security.Protocol.Tls.TlsServerSettings::certificateTypes
ClientCertificateTypeU5BU5D_t4253920197* ___certificateTypes_7;
public:
inline static int32_t get_offset_of_certificates_0() { return static_cast<int32_t>(offsetof(TlsServerSettings_t4144396432, ___certificates_0)); }
inline X509CertificateCollection_t1542168550 * get_certificates_0() const { return ___certificates_0; }
inline X509CertificateCollection_t1542168550 ** get_address_of_certificates_0() { return &___certificates_0; }
inline void set_certificates_0(X509CertificateCollection_t1542168550 * value)
{
___certificates_0 = value;
Il2CppCodeGenWriteBarrier((&___certificates_0), value);
}
inline static int32_t get_offset_of_certificateRSA_1() { return static_cast<int32_t>(offsetof(TlsServerSettings_t4144396432, ___certificateRSA_1)); }
inline RSA_t2385438082 * get_certificateRSA_1() const { return ___certificateRSA_1; }
inline RSA_t2385438082 ** get_address_of_certificateRSA_1() { return &___certificateRSA_1; }
inline void set_certificateRSA_1(RSA_t2385438082 * value)
{
___certificateRSA_1 = value;
Il2CppCodeGenWriteBarrier((&___certificateRSA_1), value);
}
inline static int32_t get_offset_of_rsaParameters_2() { return static_cast<int32_t>(offsetof(TlsServerSettings_t4144396432, ___rsaParameters_2)); }
inline RSAParameters_t1728406613 get_rsaParameters_2() const { return ___rsaParameters_2; }
inline RSAParameters_t1728406613 * get_address_of_rsaParameters_2() { return &___rsaParameters_2; }
inline void set_rsaParameters_2(RSAParameters_t1728406613 value)
{
___rsaParameters_2 = value;
}
inline static int32_t get_offset_of_signedParams_3() { return static_cast<int32_t>(offsetof(TlsServerSettings_t4144396432, ___signedParams_3)); }
inline ByteU5BU5D_t4116647657* get_signedParams_3() const { return ___signedParams_3; }
inline ByteU5BU5D_t4116647657** get_address_of_signedParams_3() { return &___signedParams_3; }
inline void set_signedParams_3(ByteU5BU5D_t4116647657* value)
{
___signedParams_3 = value;
Il2CppCodeGenWriteBarrier((&___signedParams_3), value);
}
inline static int32_t get_offset_of_distinguisedNames_4() { return static_cast<int32_t>(offsetof(TlsServerSettings_t4144396432, ___distinguisedNames_4)); }
inline StringU5BU5D_t1281789340* get_distinguisedNames_4() const { return ___distinguisedNames_4; }
inline StringU5BU5D_t1281789340** get_address_of_distinguisedNames_4() { return &___distinguisedNames_4; }
inline void set_distinguisedNames_4(StringU5BU5D_t1281789340* value)
{
___distinguisedNames_4 = value;
Il2CppCodeGenWriteBarrier((&___distinguisedNames_4), value);
}
inline static int32_t get_offset_of_serverKeyExchange_5() { return static_cast<int32_t>(offsetof(TlsServerSettings_t4144396432, ___serverKeyExchange_5)); }
inline bool get_serverKeyExchange_5() const { return ___serverKeyExchange_5; }
inline bool* get_address_of_serverKeyExchange_5() { return &___serverKeyExchange_5; }
inline void set_serverKeyExchange_5(bool value)
{
___serverKeyExchange_5 = value;
}
inline static int32_t get_offset_of_certificateRequest_6() { return static_cast<int32_t>(offsetof(TlsServerSettings_t4144396432, ___certificateRequest_6)); }
inline bool get_certificateRequest_6() const { return ___certificateRequest_6; }
inline bool* get_address_of_certificateRequest_6() { return &___certificateRequest_6; }
inline void set_certificateRequest_6(bool value)
{
___certificateRequest_6 = value;
}
inline static int32_t get_offset_of_certificateTypes_7() { return static_cast<int32_t>(offsetof(TlsServerSettings_t4144396432, ___certificateTypes_7)); }
inline ClientCertificateTypeU5BU5D_t4253920197* get_certificateTypes_7() const { return ___certificateTypes_7; }
inline ClientCertificateTypeU5BU5D_t4253920197** get_address_of_certificateTypes_7() { return &___certificateTypes_7; }
inline void set_certificateTypes_7(ClientCertificateTypeU5BU5D_t4253920197* value)
{
___certificateTypes_7 = value;
Il2CppCodeGenWriteBarrier((&___certificateTypes_7), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TLSSERVERSETTINGS_T4144396432_H
#ifndef KEYUSAGES_T820456313_H
#define KEYUSAGES_T820456313_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.X509.Extensions.KeyUsages
struct KeyUsages_t820456313
{
public:
// System.Int32 Mono.Security.X509.Extensions.KeyUsages::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(KeyUsages_t820456313, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // KEYUSAGES_T820456313_H
#ifndef CERTTYPES_T3317701015_H
#define CERTTYPES_T3317701015_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.X509.Extensions.NetscapeCertTypeExtension/CertTypes
struct CertTypes_t3317701015
{
public:
// System.Int32 Mono.Security.X509.Extensions.NetscapeCertTypeExtension/CertTypes::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(CertTypes_t3317701015, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CERTTYPES_T3317701015_H
#ifndef X509CHAINSTATUSFLAGS_T1831553602_H
#define X509CHAINSTATUSFLAGS_T1831553602_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.X509.X509ChainStatusFlags
struct X509ChainStatusFlags_t1831553602
{
public:
// System.Int32 Mono.Security.X509.X509ChainStatusFlags::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(X509ChainStatusFlags_t1831553602, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // X509CHAINSTATUSFLAGS_T1831553602_H
#ifndef ARGUMENTEXCEPTION_T132251570_H
#define ARGUMENTEXCEPTION_T132251570_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.ArgumentException
struct ArgumentException_t132251570 : public SystemException_t176217640
{
public:
// System.String System.ArgumentException::param_name
String_t* ___param_name_12;
public:
inline static int32_t get_offset_of_param_name_12() { return static_cast<int32_t>(offsetof(ArgumentException_t132251570, ___param_name_12)); }
inline String_t* get_param_name_12() const { return ___param_name_12; }
inline String_t** get_address_of_param_name_12() { return &___param_name_12; }
inline void set_param_name_12(String_t* value)
{
___param_name_12 = value;
Il2CppCodeGenWriteBarrier((&___param_name_12), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ARGUMENTEXCEPTION_T132251570_H
#ifndef ARITHMETICEXCEPTION_T4283546778_H
#define ARITHMETICEXCEPTION_T4283546778_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.ArithmeticException
struct ArithmeticException_t4283546778 : public SystemException_t176217640
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ARITHMETICEXCEPTION_T4283546778_H
#ifndef DATETIMEKIND_T3468814247_H
#define DATETIMEKIND_T3468814247_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.DateTimeKind
struct DateTimeKind_t3468814247
{
public:
// System.Int32 System.DateTimeKind::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(DateTimeKind_t3468814247, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DATETIMEKIND_T3468814247_H
#ifndef DELEGATE_T1188392813_H
#define DELEGATE_T1188392813_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Delegate
struct Delegate_t1188392813 : public RuntimeObject
{
public:
// System.IntPtr System.Delegate::method_ptr
Il2CppMethodPointer ___method_ptr_0;
// System.IntPtr System.Delegate::invoke_impl
intptr_t ___invoke_impl_1;
// System.Object System.Delegate::m_target
RuntimeObject * ___m_target_2;
// System.IntPtr System.Delegate::method
intptr_t ___method_3;
// System.IntPtr System.Delegate::delegate_trampoline
intptr_t ___delegate_trampoline_4;
// System.IntPtr System.Delegate::method_code
intptr_t ___method_code_5;
// System.Reflection.MethodInfo System.Delegate::method_info
MethodInfo_t * ___method_info_6;
// System.Reflection.MethodInfo System.Delegate::original_method_info
MethodInfo_t * ___original_method_info_7;
// System.DelegateData System.Delegate::data
DelegateData_t1677132599 * ___data_8;
public:
inline static int32_t get_offset_of_method_ptr_0() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___method_ptr_0)); }
inline Il2CppMethodPointer get_method_ptr_0() const { return ___method_ptr_0; }
inline Il2CppMethodPointer* get_address_of_method_ptr_0() { return &___method_ptr_0; }
inline void set_method_ptr_0(Il2CppMethodPointer value)
{
___method_ptr_0 = value;
}
inline static int32_t get_offset_of_invoke_impl_1() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___invoke_impl_1)); }
inline intptr_t get_invoke_impl_1() const { return ___invoke_impl_1; }
inline intptr_t* get_address_of_invoke_impl_1() { return &___invoke_impl_1; }
inline void set_invoke_impl_1(intptr_t value)
{
___invoke_impl_1 = value;
}
inline static int32_t get_offset_of_m_target_2() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___m_target_2)); }
inline RuntimeObject * get_m_target_2() const { return ___m_target_2; }
inline RuntimeObject ** get_address_of_m_target_2() { return &___m_target_2; }
inline void set_m_target_2(RuntimeObject * value)
{
___m_target_2 = value;
Il2CppCodeGenWriteBarrier((&___m_target_2), value);
}
inline static int32_t get_offset_of_method_3() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___method_3)); }
inline intptr_t get_method_3() const { return ___method_3; }
inline intptr_t* get_address_of_method_3() { return &___method_3; }
inline void set_method_3(intptr_t value)
{
___method_3 = value;
}
inline static int32_t get_offset_of_delegate_trampoline_4() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___delegate_trampoline_4)); }
inline intptr_t get_delegate_trampoline_4() const { return ___delegate_trampoline_4; }
inline intptr_t* get_address_of_delegate_trampoline_4() { return &___delegate_trampoline_4; }
inline void set_delegate_trampoline_4(intptr_t value)
{
___delegate_trampoline_4 = value;
}
inline static int32_t get_offset_of_method_code_5() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___method_code_5)); }
inline intptr_t get_method_code_5() const { return ___method_code_5; }
inline intptr_t* get_address_of_method_code_5() { return &___method_code_5; }
inline void set_method_code_5(intptr_t value)
{
___method_code_5 = value;
}
inline static int32_t get_offset_of_method_info_6() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___method_info_6)); }
inline MethodInfo_t * get_method_info_6() const { return ___method_info_6; }
inline MethodInfo_t ** get_address_of_method_info_6() { return &___method_info_6; }
inline void set_method_info_6(MethodInfo_t * value)
{
___method_info_6 = value;
Il2CppCodeGenWriteBarrier((&___method_info_6), value);
}
inline static int32_t get_offset_of_original_method_info_7() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___original_method_info_7)); }
inline MethodInfo_t * get_original_method_info_7() const { return ___original_method_info_7; }
inline MethodInfo_t ** get_address_of_original_method_info_7() { return &___original_method_info_7; }
inline void set_original_method_info_7(MethodInfo_t * value)
{
___original_method_info_7 = value;
Il2CppCodeGenWriteBarrier((&___original_method_info_7), value);
}
inline static int32_t get_offset_of_data_8() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___data_8)); }
inline DelegateData_t1677132599 * get_data_8() const { return ___data_8; }
inline DelegateData_t1677132599 ** get_address_of_data_8() { return &___data_8; }
inline void set_data_8(DelegateData_t1677132599 * value)
{
___data_8 = value;
Il2CppCodeGenWriteBarrier((&___data_8), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DELEGATE_T1188392813_H
#ifndef FORMATEXCEPTION_T154580423_H
#define FORMATEXCEPTION_T154580423_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.FormatException
struct FormatException_t154580423 : public SystemException_t176217640
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // FORMATEXCEPTION_T154580423_H
#ifndef COMPAREOPTIONS_T4130014775_H
#define COMPAREOPTIONS_T4130014775_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Globalization.CompareOptions
struct CompareOptions_t4130014775
{
public:
// System.Int32 System.Globalization.CompareOptions::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(CompareOptions_t4130014775, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // COMPAREOPTIONS_T4130014775_H
#ifndef DATETIMESTYLES_T840957420_H
#define DATETIMESTYLES_T840957420_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Globalization.DateTimeStyles
struct DateTimeStyles_t840957420
{
public:
// System.Int32 System.Globalization.DateTimeStyles::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(DateTimeStyles_t840957420, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DATETIMESTYLES_T840957420_H
#ifndef IOEXCEPTION_T4088381929_H
#define IOEXCEPTION_T4088381929_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.IO.IOException
struct IOException_t4088381929 : public SystemException_t176217640
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // IOEXCEPTION_T4088381929_H
#ifndef INDEXOUTOFRANGEEXCEPTION_T1578797820_H
#define INDEXOUTOFRANGEEXCEPTION_T1578797820_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.IndexOutOfRangeException
struct IndexOutOfRangeException_t1578797820 : public SystemException_t176217640
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // INDEXOUTOFRANGEEXCEPTION_T1578797820_H
#ifndef INVALIDOPERATIONEXCEPTION_T56020091_H
#define INVALIDOPERATIONEXCEPTION_T56020091_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.InvalidOperationException
struct InvalidOperationException_t56020091 : public SystemException_t176217640
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // INVALIDOPERATIONEXCEPTION_T56020091_H
#ifndef AUTHENTICATIONLEVEL_T1236753641_H
#define AUTHENTICATIONLEVEL_T1236753641_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Security.AuthenticationLevel
struct AuthenticationLevel_t1236753641
{
public:
// System.Int32 System.Net.Security.AuthenticationLevel::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(AuthenticationLevel_t1236753641, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // AUTHENTICATIONLEVEL_T1236753641_H
#ifndef SSLPOLICYERRORS_T2205227823_H
#define SSLPOLICYERRORS_T2205227823_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Security.SslPolicyErrors
struct SslPolicyErrors_t2205227823
{
public:
// System.Int32 System.Net.Security.SslPolicyErrors::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(SslPolicyErrors_t2205227823, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SSLPOLICYERRORS_T2205227823_H
#ifndef SECURITYPROTOCOLTYPE_T2721465497_H
#define SECURITYPROTOCOLTYPE_T2721465497_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.SecurityProtocolType
struct SecurityProtocolType_t2721465497
{
public:
// System.Int32 System.Net.SecurityProtocolType::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(SecurityProtocolType_t2721465497, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SECURITYPROTOCOLTYPE_T2721465497_H
#ifndef NOTIMPLEMENTEDEXCEPTION_T3489357830_H
#define NOTIMPLEMENTEDEXCEPTION_T3489357830_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.NotImplementedException
struct NotImplementedException_t3489357830 : public SystemException_t176217640
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // NOTIMPLEMENTEDEXCEPTION_T3489357830_H
#ifndef NOTSUPPORTEDEXCEPTION_T1314879016_H
#define NOTSUPPORTEDEXCEPTION_T1314879016_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.NotSupportedException
struct NotSupportedException_t1314879016 : public SystemException_t176217640
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // NOTSUPPORTEDEXCEPTION_T1314879016_H
#ifndef BINDINGFLAGS_T2721792723_H
#define BINDINGFLAGS_T2721792723_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Reflection.BindingFlags
struct BindingFlags_t2721792723
{
public:
// System.Int32 System.Reflection.BindingFlags::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(BindingFlags_t2721792723, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BINDINGFLAGS_T2721792723_H
#ifndef RUNTIMEFIELDHANDLE_T1871169219_H
#define RUNTIMEFIELDHANDLE_T1871169219_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.RuntimeFieldHandle
struct RuntimeFieldHandle_t1871169219
{
public:
// System.IntPtr System.RuntimeFieldHandle::value
intptr_t ___value_0;
public:
inline static int32_t get_offset_of_value_0() { return static_cast<int32_t>(offsetof(RuntimeFieldHandle_t1871169219, ___value_0)); }
inline intptr_t get_value_0() const { return ___value_0; }
inline intptr_t* get_address_of_value_0() { return &___value_0; }
inline void set_value_0(intptr_t value)
{
___value_0 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RUNTIMEFIELDHANDLE_T1871169219_H
#ifndef RUNTIMETYPEHANDLE_T3027515415_H
#define RUNTIMETYPEHANDLE_T3027515415_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.RuntimeTypeHandle
struct RuntimeTypeHandle_t3027515415
{
public:
// System.IntPtr System.RuntimeTypeHandle::value
intptr_t ___value_0;
public:
inline static int32_t get_offset_of_value_0() { return static_cast<int32_t>(offsetof(RuntimeTypeHandle_t3027515415, ___value_0)); }
inline intptr_t get_value_0() const { return ___value_0; }
inline intptr_t* get_address_of_value_0() { return &___value_0; }
inline void set_value_0(intptr_t value)
{
___value_0 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RUNTIMETYPEHANDLE_T3027515415_H
#ifndef CIPHERMODE_T84635067_H
#define CIPHERMODE_T84635067_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.CipherMode
struct CipherMode_t84635067
{
public:
// System.Int32 System.Security.Cryptography.CipherMode::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(CipherMode_t84635067, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CIPHERMODE_T84635067_H
#ifndef CRYPTOGRAPHICEXCEPTION_T248831461_H
#define CRYPTOGRAPHICEXCEPTION_T248831461_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.CryptographicException
struct CryptographicException_t248831461 : public SystemException_t176217640
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CRYPTOGRAPHICEXCEPTION_T248831461_H
#ifndef CSPPROVIDERFLAGS_T4094439141_H
#define CSPPROVIDERFLAGS_T4094439141_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.CspProviderFlags
struct CspProviderFlags_t4094439141
{
public:
// System.Int32 System.Security.Cryptography.CspProviderFlags::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(CspProviderFlags_t4094439141, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CSPPROVIDERFLAGS_T4094439141_H
#ifndef PADDINGMODE_T2546806710_H
#define PADDINGMODE_T2546806710_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.PaddingMode
struct PaddingMode_t2546806710
{
public:
// System.Int32 System.Security.Cryptography.PaddingMode::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(PaddingMode_t2546806710, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PADDINGMODE_T2546806710_H
#ifndef RSACRYPTOSERVICEPROVIDER_T2683512874_H
#define RSACRYPTOSERVICEPROVIDER_T2683512874_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.RSACryptoServiceProvider
struct RSACryptoServiceProvider_t2683512874 : public RSA_t2385438082
{
public:
// Mono.Security.Cryptography.KeyPairPersistence System.Security.Cryptography.RSACryptoServiceProvider::store
KeyPairPersistence_t2094547461 * ___store_2;
// System.Boolean System.Security.Cryptography.RSACryptoServiceProvider::persistKey
bool ___persistKey_3;
// System.Boolean System.Security.Cryptography.RSACryptoServiceProvider::persisted
bool ___persisted_4;
// System.Boolean System.Security.Cryptography.RSACryptoServiceProvider::privateKeyExportable
bool ___privateKeyExportable_5;
// System.Boolean System.Security.Cryptography.RSACryptoServiceProvider::m_disposed
bool ___m_disposed_6;
// Mono.Security.Cryptography.RSAManaged System.Security.Cryptography.RSACryptoServiceProvider::rsa
RSAManaged_t1757093819 * ___rsa_7;
public:
inline static int32_t get_offset_of_store_2() { return static_cast<int32_t>(offsetof(RSACryptoServiceProvider_t2683512874, ___store_2)); }
inline KeyPairPersistence_t2094547461 * get_store_2() const { return ___store_2; }
inline KeyPairPersistence_t2094547461 ** get_address_of_store_2() { return &___store_2; }
inline void set_store_2(KeyPairPersistence_t2094547461 * value)
{
___store_2 = value;
Il2CppCodeGenWriteBarrier((&___store_2), value);
}
inline static int32_t get_offset_of_persistKey_3() { return static_cast<int32_t>(offsetof(RSACryptoServiceProvider_t2683512874, ___persistKey_3)); }
inline bool get_persistKey_3() const { return ___persistKey_3; }
inline bool* get_address_of_persistKey_3() { return &___persistKey_3; }
inline void set_persistKey_3(bool value)
{
___persistKey_3 = value;
}
inline static int32_t get_offset_of_persisted_4() { return static_cast<int32_t>(offsetof(RSACryptoServiceProvider_t2683512874, ___persisted_4)); }
inline bool get_persisted_4() const { return ___persisted_4; }
inline bool* get_address_of_persisted_4() { return &___persisted_4; }
inline void set_persisted_4(bool value)
{
___persisted_4 = value;
}
inline static int32_t get_offset_of_privateKeyExportable_5() { return static_cast<int32_t>(offsetof(RSACryptoServiceProvider_t2683512874, ___privateKeyExportable_5)); }
inline bool get_privateKeyExportable_5() const { return ___privateKeyExportable_5; }
inline bool* get_address_of_privateKeyExportable_5() { return &___privateKeyExportable_5; }
inline void set_privateKeyExportable_5(bool value)
{
___privateKeyExportable_5 = value;
}
inline static int32_t get_offset_of_m_disposed_6() { return static_cast<int32_t>(offsetof(RSACryptoServiceProvider_t2683512874, ___m_disposed_6)); }
inline bool get_m_disposed_6() const { return ___m_disposed_6; }
inline bool* get_address_of_m_disposed_6() { return &___m_disposed_6; }
inline void set_m_disposed_6(bool value)
{
___m_disposed_6 = value;
}
inline static int32_t get_offset_of_rsa_7() { return static_cast<int32_t>(offsetof(RSACryptoServiceProvider_t2683512874, ___rsa_7)); }
inline RSAManaged_t1757093819 * get_rsa_7() const { return ___rsa_7; }
inline RSAManaged_t1757093819 ** get_address_of_rsa_7() { return &___rsa_7; }
inline void set_rsa_7(RSAManaged_t1757093819 * value)
{
___rsa_7 = value;
Il2CppCodeGenWriteBarrier((&___rsa_7), value);
}
};
struct RSACryptoServiceProvider_t2683512874_StaticFields
{
public:
// System.Boolean System.Security.Cryptography.RSACryptoServiceProvider::useMachineKeyStore
bool ___useMachineKeyStore_8;
public:
inline static int32_t get_offset_of_useMachineKeyStore_8() { return static_cast<int32_t>(offsetof(RSACryptoServiceProvider_t2683512874_StaticFields, ___useMachineKeyStore_8)); }
inline bool get_useMachineKeyStore_8() const { return ___useMachineKeyStore_8; }
inline bool* get_address_of_useMachineKeyStore_8() { return &___useMachineKeyStore_8; }
inline void set_useMachineKeyStore_8(bool value)
{
___useMachineKeyStore_8 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RSACRYPTOSERVICEPROVIDER_T2683512874_H
#ifndef STORELOCATION_T2864310644_H
#define STORELOCATION_T2864310644_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.X509Certificates.StoreLocation
struct StoreLocation_t2864310644
{
public:
// System.Int32 System.Security.Cryptography.X509Certificates.StoreLocation::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(StoreLocation_t2864310644, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // STORELOCATION_T2864310644_H
#ifndef MATCH_T3408321083_H
#define MATCH_T3408321083_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Text.RegularExpressions.Match
struct Match_t3408321083 : public Group_t2468205786
{
public:
// System.Text.RegularExpressions.Regex System.Text.RegularExpressions.Match::regex
Regex_t3657309853 * ___regex_6;
// System.Text.RegularExpressions.IMachine System.Text.RegularExpressions.Match::machine
RuntimeObject* ___machine_7;
// System.Int32 System.Text.RegularExpressions.Match::text_length
int32_t ___text_length_8;
// System.Text.RegularExpressions.GroupCollection System.Text.RegularExpressions.Match::groups
GroupCollection_t69770484 * ___groups_9;
public:
inline static int32_t get_offset_of_regex_6() { return static_cast<int32_t>(offsetof(Match_t3408321083, ___regex_6)); }
inline Regex_t3657309853 * get_regex_6() const { return ___regex_6; }
inline Regex_t3657309853 ** get_address_of_regex_6() { return &___regex_6; }
inline void set_regex_6(Regex_t3657309853 * value)
{
___regex_6 = value;
Il2CppCodeGenWriteBarrier((&___regex_6), value);
}
inline static int32_t get_offset_of_machine_7() { return static_cast<int32_t>(offsetof(Match_t3408321083, ___machine_7)); }
inline RuntimeObject* get_machine_7() const { return ___machine_7; }
inline RuntimeObject** get_address_of_machine_7() { return &___machine_7; }
inline void set_machine_7(RuntimeObject* value)
{
___machine_7 = value;
Il2CppCodeGenWriteBarrier((&___machine_7), value);
}
inline static int32_t get_offset_of_text_length_8() { return static_cast<int32_t>(offsetof(Match_t3408321083, ___text_length_8)); }
inline int32_t get_text_length_8() const { return ___text_length_8; }
inline int32_t* get_address_of_text_length_8() { return &___text_length_8; }
inline void set_text_length_8(int32_t value)
{
___text_length_8 = value;
}
inline static int32_t get_offset_of_groups_9() { return static_cast<int32_t>(offsetof(Match_t3408321083, ___groups_9)); }
inline GroupCollection_t69770484 * get_groups_9() const { return ___groups_9; }
inline GroupCollection_t69770484 ** get_address_of_groups_9() { return &___groups_9; }
inline void set_groups_9(GroupCollection_t69770484 * value)
{
___groups_9 = value;
Il2CppCodeGenWriteBarrier((&___groups_9), value);
}
};
struct Match_t3408321083_StaticFields
{
public:
// System.Text.RegularExpressions.Match System.Text.RegularExpressions.Match::empty
Match_t3408321083 * ___empty_10;
public:
inline static int32_t get_offset_of_empty_10() { return static_cast<int32_t>(offsetof(Match_t3408321083_StaticFields, ___empty_10)); }
inline Match_t3408321083 * get_empty_10() const { return ___empty_10; }
inline Match_t3408321083 ** get_address_of_empty_10() { return &___empty_10; }
inline void set_empty_10(Match_t3408321083 * value)
{
___empty_10 = value;
Il2CppCodeGenWriteBarrier((&___empty_10), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MATCH_T3408321083_H
#ifndef REGEXOPTIONS_T92845595_H
#define REGEXOPTIONS_T92845595_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Text.RegularExpressions.RegexOptions
struct RegexOptions_t92845595
{
public:
// System.Int32 System.Text.RegularExpressions.RegexOptions::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(RegexOptions_t92845595, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // REGEXOPTIONS_T92845595_H
#ifndef WAITHANDLE_T1743403487_H
#define WAITHANDLE_T1743403487_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Threading.WaitHandle
struct WaitHandle_t1743403487 : public MarshalByRefObject_t2760389100
{
public:
// Microsoft.Win32.SafeHandles.SafeWaitHandle System.Threading.WaitHandle::safe_wait_handle
SafeWaitHandle_t1972936122 * ___safe_wait_handle_2;
// System.Boolean System.Threading.WaitHandle::disposed
bool ___disposed_4;
public:
inline static int32_t get_offset_of_safe_wait_handle_2() { return static_cast<int32_t>(offsetof(WaitHandle_t1743403487, ___safe_wait_handle_2)); }
inline SafeWaitHandle_t1972936122 * get_safe_wait_handle_2() const { return ___safe_wait_handle_2; }
inline SafeWaitHandle_t1972936122 ** get_address_of_safe_wait_handle_2() { return &___safe_wait_handle_2; }
inline void set_safe_wait_handle_2(SafeWaitHandle_t1972936122 * value)
{
___safe_wait_handle_2 = value;
Il2CppCodeGenWriteBarrier((&___safe_wait_handle_2), value);
}
inline static int32_t get_offset_of_disposed_4() { return static_cast<int32_t>(offsetof(WaitHandle_t1743403487, ___disposed_4)); }
inline bool get_disposed_4() const { return ___disposed_4; }
inline bool* get_address_of_disposed_4() { return &___disposed_4; }
inline void set_disposed_4(bool value)
{
___disposed_4 = value;
}
};
struct WaitHandle_t1743403487_StaticFields
{
public:
// System.IntPtr System.Threading.WaitHandle::InvalidHandle
intptr_t ___InvalidHandle_3;
public:
inline static int32_t get_offset_of_InvalidHandle_3() { return static_cast<int32_t>(offsetof(WaitHandle_t1743403487_StaticFields, ___InvalidHandle_3)); }
inline intptr_t get_InvalidHandle_3() const { return ___InvalidHandle_3; }
inline intptr_t* get_address_of_InvalidHandle_3() { return &___InvalidHandle_3; }
inline void set_InvalidHandle_3(intptr_t value)
{
___InvalidHandle_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WAITHANDLE_T1743403487_H
#ifndef ALERT_T4059934885_H
#define ALERT_T4059934885_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.Alert
struct Alert_t4059934885 : public RuntimeObject
{
public:
// Mono.Security.Protocol.Tls.AlertLevel Mono.Security.Protocol.Tls.Alert::level
uint8_t ___level_0;
// Mono.Security.Protocol.Tls.AlertDescription Mono.Security.Protocol.Tls.Alert::description
uint8_t ___description_1;
public:
inline static int32_t get_offset_of_level_0() { return static_cast<int32_t>(offsetof(Alert_t4059934885, ___level_0)); }
inline uint8_t get_level_0() const { return ___level_0; }
inline uint8_t* get_address_of_level_0() { return &___level_0; }
inline void set_level_0(uint8_t value)
{
___level_0 = value;
}
inline static int32_t get_offset_of_description_1() { return static_cast<int32_t>(offsetof(Alert_t4059934885, ___description_1)); }
inline uint8_t get_description_1() const { return ___description_1; }
inline uint8_t* get_address_of_description_1() { return &___description_1; }
inline void set_description_1(uint8_t value)
{
___description_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ALERT_T4059934885_H
#ifndef CIPHERSUITE_T3414744575_H
#define CIPHERSUITE_T3414744575_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.CipherSuite
struct CipherSuite_t3414744575 : public RuntimeObject
{
public:
// System.Int16 Mono.Security.Protocol.Tls.CipherSuite::code
int16_t ___code_1;
// System.String Mono.Security.Protocol.Tls.CipherSuite::name
String_t* ___name_2;
// Mono.Security.Protocol.Tls.CipherAlgorithmType Mono.Security.Protocol.Tls.CipherSuite::cipherAlgorithmType
int32_t ___cipherAlgorithmType_3;
// Mono.Security.Protocol.Tls.HashAlgorithmType Mono.Security.Protocol.Tls.CipherSuite::hashAlgorithmType
int32_t ___hashAlgorithmType_4;
// Mono.Security.Protocol.Tls.ExchangeAlgorithmType Mono.Security.Protocol.Tls.CipherSuite::exchangeAlgorithmType
int32_t ___exchangeAlgorithmType_5;
// System.Boolean Mono.Security.Protocol.Tls.CipherSuite::isExportable
bool ___isExportable_6;
// System.Security.Cryptography.CipherMode Mono.Security.Protocol.Tls.CipherSuite::cipherMode
int32_t ___cipherMode_7;
// System.Byte Mono.Security.Protocol.Tls.CipherSuite::keyMaterialSize
uint8_t ___keyMaterialSize_8;
// System.Int32 Mono.Security.Protocol.Tls.CipherSuite::keyBlockSize
int32_t ___keyBlockSize_9;
// System.Byte Mono.Security.Protocol.Tls.CipherSuite::expandedKeyMaterialSize
uint8_t ___expandedKeyMaterialSize_10;
// System.Int16 Mono.Security.Protocol.Tls.CipherSuite::effectiveKeyBits
int16_t ___effectiveKeyBits_11;
// System.Byte Mono.Security.Protocol.Tls.CipherSuite::ivSize
uint8_t ___ivSize_12;
// System.Byte Mono.Security.Protocol.Tls.CipherSuite::blockSize
uint8_t ___blockSize_13;
// Mono.Security.Protocol.Tls.Context Mono.Security.Protocol.Tls.CipherSuite::context
Context_t3971234707 * ___context_14;
// System.Security.Cryptography.SymmetricAlgorithm Mono.Security.Protocol.Tls.CipherSuite::encryptionAlgorithm
SymmetricAlgorithm_t4254223087 * ___encryptionAlgorithm_15;
// System.Security.Cryptography.ICryptoTransform Mono.Security.Protocol.Tls.CipherSuite::encryptionCipher
RuntimeObject* ___encryptionCipher_16;
// System.Security.Cryptography.SymmetricAlgorithm Mono.Security.Protocol.Tls.CipherSuite::decryptionAlgorithm
SymmetricAlgorithm_t4254223087 * ___decryptionAlgorithm_17;
// System.Security.Cryptography.ICryptoTransform Mono.Security.Protocol.Tls.CipherSuite::decryptionCipher
RuntimeObject* ___decryptionCipher_18;
// System.Security.Cryptography.KeyedHashAlgorithm Mono.Security.Protocol.Tls.CipherSuite::clientHMAC
KeyedHashAlgorithm_t112861511 * ___clientHMAC_19;
// System.Security.Cryptography.KeyedHashAlgorithm Mono.Security.Protocol.Tls.CipherSuite::serverHMAC
KeyedHashAlgorithm_t112861511 * ___serverHMAC_20;
public:
inline static int32_t get_offset_of_code_1() { return static_cast<int32_t>(offsetof(CipherSuite_t3414744575, ___code_1)); }
inline int16_t get_code_1() const { return ___code_1; }
inline int16_t* get_address_of_code_1() { return &___code_1; }
inline void set_code_1(int16_t value)
{
___code_1 = value;
}
inline static int32_t get_offset_of_name_2() { return static_cast<int32_t>(offsetof(CipherSuite_t3414744575, ___name_2)); }
inline String_t* get_name_2() const { return ___name_2; }
inline String_t** get_address_of_name_2() { return &___name_2; }
inline void set_name_2(String_t* value)
{
___name_2 = value;
Il2CppCodeGenWriteBarrier((&___name_2), value);
}
inline static int32_t get_offset_of_cipherAlgorithmType_3() { return static_cast<int32_t>(offsetof(CipherSuite_t3414744575, ___cipherAlgorithmType_3)); }
inline int32_t get_cipherAlgorithmType_3() const { return ___cipherAlgorithmType_3; }
inline int32_t* get_address_of_cipherAlgorithmType_3() { return &___cipherAlgorithmType_3; }
inline void set_cipherAlgorithmType_3(int32_t value)
{
___cipherAlgorithmType_3 = value;
}
inline static int32_t get_offset_of_hashAlgorithmType_4() { return static_cast<int32_t>(offsetof(CipherSuite_t3414744575, ___hashAlgorithmType_4)); }
inline int32_t get_hashAlgorithmType_4() const { return ___hashAlgorithmType_4; }
inline int32_t* get_address_of_hashAlgorithmType_4() { return &___hashAlgorithmType_4; }
inline void set_hashAlgorithmType_4(int32_t value)
{
___hashAlgorithmType_4 = value;
}
inline static int32_t get_offset_of_exchangeAlgorithmType_5() { return static_cast<int32_t>(offsetof(CipherSuite_t3414744575, ___exchangeAlgorithmType_5)); }
inline int32_t get_exchangeAlgorithmType_5() const { return ___exchangeAlgorithmType_5; }
inline int32_t* get_address_of_exchangeAlgorithmType_5() { return &___exchangeAlgorithmType_5; }
inline void set_exchangeAlgorithmType_5(int32_t value)
{
___exchangeAlgorithmType_5 = value;
}
inline static int32_t get_offset_of_isExportable_6() { return static_cast<int32_t>(offsetof(CipherSuite_t3414744575, ___isExportable_6)); }
inline bool get_isExportable_6() const { return ___isExportable_6; }
inline bool* get_address_of_isExportable_6() { return &___isExportable_6; }
inline void set_isExportable_6(bool value)
{
___isExportable_6 = value;
}
inline static int32_t get_offset_of_cipherMode_7() { return static_cast<int32_t>(offsetof(CipherSuite_t3414744575, ___cipherMode_7)); }
inline int32_t get_cipherMode_7() const { return ___cipherMode_7; }
inline int32_t* get_address_of_cipherMode_7() { return &___cipherMode_7; }
inline void set_cipherMode_7(int32_t value)
{
___cipherMode_7 = value;
}
inline static int32_t get_offset_of_keyMaterialSize_8() { return static_cast<int32_t>(offsetof(CipherSuite_t3414744575, ___keyMaterialSize_8)); }
inline uint8_t get_keyMaterialSize_8() const { return ___keyMaterialSize_8; }
inline uint8_t* get_address_of_keyMaterialSize_8() { return &___keyMaterialSize_8; }
inline void set_keyMaterialSize_8(uint8_t value)
{
___keyMaterialSize_8 = value;
}
inline static int32_t get_offset_of_keyBlockSize_9() { return static_cast<int32_t>(offsetof(CipherSuite_t3414744575, ___keyBlockSize_9)); }
inline int32_t get_keyBlockSize_9() const { return ___keyBlockSize_9; }
inline int32_t* get_address_of_keyBlockSize_9() { return &___keyBlockSize_9; }
inline void set_keyBlockSize_9(int32_t value)
{
___keyBlockSize_9 = value;
}
inline static int32_t get_offset_of_expandedKeyMaterialSize_10() { return static_cast<int32_t>(offsetof(CipherSuite_t3414744575, ___expandedKeyMaterialSize_10)); }
inline uint8_t get_expandedKeyMaterialSize_10() const { return ___expandedKeyMaterialSize_10; }
inline uint8_t* get_address_of_expandedKeyMaterialSize_10() { return &___expandedKeyMaterialSize_10; }
inline void set_expandedKeyMaterialSize_10(uint8_t value)
{
___expandedKeyMaterialSize_10 = value;
}
inline static int32_t get_offset_of_effectiveKeyBits_11() { return static_cast<int32_t>(offsetof(CipherSuite_t3414744575, ___effectiveKeyBits_11)); }
inline int16_t get_effectiveKeyBits_11() const { return ___effectiveKeyBits_11; }
inline int16_t* get_address_of_effectiveKeyBits_11() { return &___effectiveKeyBits_11; }
inline void set_effectiveKeyBits_11(int16_t value)
{
___effectiveKeyBits_11 = value;
}
inline static int32_t get_offset_of_ivSize_12() { return static_cast<int32_t>(offsetof(CipherSuite_t3414744575, ___ivSize_12)); }
inline uint8_t get_ivSize_12() const { return ___ivSize_12; }
inline uint8_t* get_address_of_ivSize_12() { return &___ivSize_12; }
inline void set_ivSize_12(uint8_t value)
{
___ivSize_12 = value;
}
inline static int32_t get_offset_of_blockSize_13() { return static_cast<int32_t>(offsetof(CipherSuite_t3414744575, ___blockSize_13)); }
inline uint8_t get_blockSize_13() const { return ___blockSize_13; }
inline uint8_t* get_address_of_blockSize_13() { return &___blockSize_13; }
inline void set_blockSize_13(uint8_t value)
{
___blockSize_13 = value;
}
inline static int32_t get_offset_of_context_14() { return static_cast<int32_t>(offsetof(CipherSuite_t3414744575, ___context_14)); }
inline Context_t3971234707 * get_context_14() const { return ___context_14; }
inline Context_t3971234707 ** get_address_of_context_14() { return &___context_14; }
inline void set_context_14(Context_t3971234707 * value)
{
___context_14 = value;
Il2CppCodeGenWriteBarrier((&___context_14), value);
}
inline static int32_t get_offset_of_encryptionAlgorithm_15() { return static_cast<int32_t>(offsetof(CipherSuite_t3414744575, ___encryptionAlgorithm_15)); }
inline SymmetricAlgorithm_t4254223087 * get_encryptionAlgorithm_15() const { return ___encryptionAlgorithm_15; }
inline SymmetricAlgorithm_t4254223087 ** get_address_of_encryptionAlgorithm_15() { return &___encryptionAlgorithm_15; }
inline void set_encryptionAlgorithm_15(SymmetricAlgorithm_t4254223087 * value)
{
___encryptionAlgorithm_15 = value;
Il2CppCodeGenWriteBarrier((&___encryptionAlgorithm_15), value);
}
inline static int32_t get_offset_of_encryptionCipher_16() { return static_cast<int32_t>(offsetof(CipherSuite_t3414744575, ___encryptionCipher_16)); }
inline RuntimeObject* get_encryptionCipher_16() const { return ___encryptionCipher_16; }
inline RuntimeObject** get_address_of_encryptionCipher_16() { return &___encryptionCipher_16; }
inline void set_encryptionCipher_16(RuntimeObject* value)
{
___encryptionCipher_16 = value;
Il2CppCodeGenWriteBarrier((&___encryptionCipher_16), value);
}
inline static int32_t get_offset_of_decryptionAlgorithm_17() { return static_cast<int32_t>(offsetof(CipherSuite_t3414744575, ___decryptionAlgorithm_17)); }
inline SymmetricAlgorithm_t4254223087 * get_decryptionAlgorithm_17() const { return ___decryptionAlgorithm_17; }
inline SymmetricAlgorithm_t4254223087 ** get_address_of_decryptionAlgorithm_17() { return &___decryptionAlgorithm_17; }
inline void set_decryptionAlgorithm_17(SymmetricAlgorithm_t4254223087 * value)
{
___decryptionAlgorithm_17 = value;
Il2CppCodeGenWriteBarrier((&___decryptionAlgorithm_17), value);
}
inline static int32_t get_offset_of_decryptionCipher_18() { return static_cast<int32_t>(offsetof(CipherSuite_t3414744575, ___decryptionCipher_18)); }
inline RuntimeObject* get_decryptionCipher_18() const { return ___decryptionCipher_18; }
inline RuntimeObject** get_address_of_decryptionCipher_18() { return &___decryptionCipher_18; }
inline void set_decryptionCipher_18(RuntimeObject* value)
{
___decryptionCipher_18 = value;
Il2CppCodeGenWriteBarrier((&___decryptionCipher_18), value);
}
inline static int32_t get_offset_of_clientHMAC_19() { return static_cast<int32_t>(offsetof(CipherSuite_t3414744575, ___clientHMAC_19)); }
inline KeyedHashAlgorithm_t112861511 * get_clientHMAC_19() const { return ___clientHMAC_19; }
inline KeyedHashAlgorithm_t112861511 ** get_address_of_clientHMAC_19() { return &___clientHMAC_19; }
inline void set_clientHMAC_19(KeyedHashAlgorithm_t112861511 * value)
{
___clientHMAC_19 = value;
Il2CppCodeGenWriteBarrier((&___clientHMAC_19), value);
}
inline static int32_t get_offset_of_serverHMAC_20() { return static_cast<int32_t>(offsetof(CipherSuite_t3414744575, ___serverHMAC_20)); }
inline KeyedHashAlgorithm_t112861511 * get_serverHMAC_20() const { return ___serverHMAC_20; }
inline KeyedHashAlgorithm_t112861511 ** get_address_of_serverHMAC_20() { return &___serverHMAC_20; }
inline void set_serverHMAC_20(KeyedHashAlgorithm_t112861511 * value)
{
___serverHMAC_20 = value;
Il2CppCodeGenWriteBarrier((&___serverHMAC_20), value);
}
};
struct CipherSuite_t3414744575_StaticFields
{
public:
// System.Byte[] Mono.Security.Protocol.Tls.CipherSuite::EmptyArray
ByteU5BU5D_t4116647657* ___EmptyArray_0;
public:
inline static int32_t get_offset_of_EmptyArray_0() { return static_cast<int32_t>(offsetof(CipherSuite_t3414744575_StaticFields, ___EmptyArray_0)); }
inline ByteU5BU5D_t4116647657* get_EmptyArray_0() const { return ___EmptyArray_0; }
inline ByteU5BU5D_t4116647657** get_address_of_EmptyArray_0() { return &___EmptyArray_0; }
inline void set_EmptyArray_0(ByteU5BU5D_t4116647657* value)
{
___EmptyArray_0 = value;
Il2CppCodeGenWriteBarrier((&___EmptyArray_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CIPHERSUITE_T3414744575_H
#ifndef CIPHERSUITECOLLECTION_T1129639304_H
#define CIPHERSUITECOLLECTION_T1129639304_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.CipherSuiteCollection
struct CipherSuiteCollection_t1129639304 : public RuntimeObject
{
public:
// System.Collections.ArrayList Mono.Security.Protocol.Tls.CipherSuiteCollection::cipherSuites
ArrayList_t2718874744 * ___cipherSuites_0;
// Mono.Security.Protocol.Tls.SecurityProtocolType Mono.Security.Protocol.Tls.CipherSuiteCollection::protocol
int32_t ___protocol_1;
public:
inline static int32_t get_offset_of_cipherSuites_0() { return static_cast<int32_t>(offsetof(CipherSuiteCollection_t1129639304, ___cipherSuites_0)); }
inline ArrayList_t2718874744 * get_cipherSuites_0() const { return ___cipherSuites_0; }
inline ArrayList_t2718874744 ** get_address_of_cipherSuites_0() { return &___cipherSuites_0; }
inline void set_cipherSuites_0(ArrayList_t2718874744 * value)
{
___cipherSuites_0 = value;
Il2CppCodeGenWriteBarrier((&___cipherSuites_0), value);
}
inline static int32_t get_offset_of_protocol_1() { return static_cast<int32_t>(offsetof(CipherSuiteCollection_t1129639304, ___protocol_1)); }
inline int32_t get_protocol_1() const { return ___protocol_1; }
inline int32_t* get_address_of_protocol_1() { return &___protocol_1; }
inline void set_protocol_1(int32_t value)
{
___protocol_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CIPHERSUITECOLLECTION_T1129639304_H
#ifndef CONTEXT_T3971234707_H
#define CONTEXT_T3971234707_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.Context
struct Context_t3971234707 : public RuntimeObject
{
public:
// Mono.Security.Protocol.Tls.SecurityProtocolType Mono.Security.Protocol.Tls.Context::securityProtocol
int32_t ___securityProtocol_0;
// System.Byte[] Mono.Security.Protocol.Tls.Context::sessionId
ByteU5BU5D_t4116647657* ___sessionId_1;
// Mono.Security.Protocol.Tls.SecurityCompressionType Mono.Security.Protocol.Tls.Context::compressionMethod
int32_t ___compressionMethod_2;
// Mono.Security.Protocol.Tls.TlsServerSettings Mono.Security.Protocol.Tls.Context::serverSettings
TlsServerSettings_t4144396432 * ___serverSettings_3;
// Mono.Security.Protocol.Tls.TlsClientSettings Mono.Security.Protocol.Tls.Context::clientSettings
TlsClientSettings_t2486039503 * ___clientSettings_4;
// Mono.Security.Protocol.Tls.SecurityParameters Mono.Security.Protocol.Tls.Context::current
SecurityParameters_t2199972650 * ___current_5;
// Mono.Security.Protocol.Tls.SecurityParameters Mono.Security.Protocol.Tls.Context::negotiating
SecurityParameters_t2199972650 * ___negotiating_6;
// Mono.Security.Protocol.Tls.SecurityParameters Mono.Security.Protocol.Tls.Context::read
SecurityParameters_t2199972650 * ___read_7;
// Mono.Security.Protocol.Tls.SecurityParameters Mono.Security.Protocol.Tls.Context::write
SecurityParameters_t2199972650 * ___write_8;
// Mono.Security.Protocol.Tls.CipherSuiteCollection Mono.Security.Protocol.Tls.Context::supportedCiphers
CipherSuiteCollection_t1129639304 * ___supportedCiphers_9;
// Mono.Security.Protocol.Tls.Handshake.HandshakeType Mono.Security.Protocol.Tls.Context::lastHandshakeMsg
uint8_t ___lastHandshakeMsg_10;
// Mono.Security.Protocol.Tls.HandshakeState Mono.Security.Protocol.Tls.Context::handshakeState
int32_t ___handshakeState_11;
// System.Boolean Mono.Security.Protocol.Tls.Context::abbreviatedHandshake
bool ___abbreviatedHandshake_12;
// System.Boolean Mono.Security.Protocol.Tls.Context::receivedConnectionEnd
bool ___receivedConnectionEnd_13;
// System.Boolean Mono.Security.Protocol.Tls.Context::sentConnectionEnd
bool ___sentConnectionEnd_14;
// System.Boolean Mono.Security.Protocol.Tls.Context::protocolNegotiated
bool ___protocolNegotiated_15;
// System.UInt64 Mono.Security.Protocol.Tls.Context::writeSequenceNumber
uint64_t ___writeSequenceNumber_16;
// System.UInt64 Mono.Security.Protocol.Tls.Context::readSequenceNumber
uint64_t ___readSequenceNumber_17;
// System.Byte[] Mono.Security.Protocol.Tls.Context::clientRandom
ByteU5BU5D_t4116647657* ___clientRandom_18;
// System.Byte[] Mono.Security.Protocol.Tls.Context::serverRandom
ByteU5BU5D_t4116647657* ___serverRandom_19;
// System.Byte[] Mono.Security.Protocol.Tls.Context::randomCS
ByteU5BU5D_t4116647657* ___randomCS_20;
// System.Byte[] Mono.Security.Protocol.Tls.Context::randomSC
ByteU5BU5D_t4116647657* ___randomSC_21;
// System.Byte[] Mono.Security.Protocol.Tls.Context::masterSecret
ByteU5BU5D_t4116647657* ___masterSecret_22;
// System.Byte[] Mono.Security.Protocol.Tls.Context::clientWriteKey
ByteU5BU5D_t4116647657* ___clientWriteKey_23;
// System.Byte[] Mono.Security.Protocol.Tls.Context::serverWriteKey
ByteU5BU5D_t4116647657* ___serverWriteKey_24;
// System.Byte[] Mono.Security.Protocol.Tls.Context::clientWriteIV
ByteU5BU5D_t4116647657* ___clientWriteIV_25;
// System.Byte[] Mono.Security.Protocol.Tls.Context::serverWriteIV
ByteU5BU5D_t4116647657* ___serverWriteIV_26;
// Mono.Security.Protocol.Tls.TlsStream Mono.Security.Protocol.Tls.Context::handshakeMessages
TlsStream_t2365453965 * ___handshakeMessages_27;
// System.Security.Cryptography.RandomNumberGenerator Mono.Security.Protocol.Tls.Context::random
RandomNumberGenerator_t386037858 * ___random_28;
// Mono.Security.Protocol.Tls.RecordProtocol Mono.Security.Protocol.Tls.Context::recordProtocol
RecordProtocol_t3759049701 * ___recordProtocol_29;
public:
inline static int32_t get_offset_of_securityProtocol_0() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___securityProtocol_0)); }
inline int32_t get_securityProtocol_0() const { return ___securityProtocol_0; }
inline int32_t* get_address_of_securityProtocol_0() { return &___securityProtocol_0; }
inline void set_securityProtocol_0(int32_t value)
{
___securityProtocol_0 = value;
}
inline static int32_t get_offset_of_sessionId_1() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___sessionId_1)); }
inline ByteU5BU5D_t4116647657* get_sessionId_1() const { return ___sessionId_1; }
inline ByteU5BU5D_t4116647657** get_address_of_sessionId_1() { return &___sessionId_1; }
inline void set_sessionId_1(ByteU5BU5D_t4116647657* value)
{
___sessionId_1 = value;
Il2CppCodeGenWriteBarrier((&___sessionId_1), value);
}
inline static int32_t get_offset_of_compressionMethod_2() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___compressionMethod_2)); }
inline int32_t get_compressionMethod_2() const { return ___compressionMethod_2; }
inline int32_t* get_address_of_compressionMethod_2() { return &___compressionMethod_2; }
inline void set_compressionMethod_2(int32_t value)
{
___compressionMethod_2 = value;
}
inline static int32_t get_offset_of_serverSettings_3() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___serverSettings_3)); }
inline TlsServerSettings_t4144396432 * get_serverSettings_3() const { return ___serverSettings_3; }
inline TlsServerSettings_t4144396432 ** get_address_of_serverSettings_3() { return &___serverSettings_3; }
inline void set_serverSettings_3(TlsServerSettings_t4144396432 * value)
{
___serverSettings_3 = value;
Il2CppCodeGenWriteBarrier((&___serverSettings_3), value);
}
inline static int32_t get_offset_of_clientSettings_4() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___clientSettings_4)); }
inline TlsClientSettings_t2486039503 * get_clientSettings_4() const { return ___clientSettings_4; }
inline TlsClientSettings_t2486039503 ** get_address_of_clientSettings_4() { return &___clientSettings_4; }
inline void set_clientSettings_4(TlsClientSettings_t2486039503 * value)
{
___clientSettings_4 = value;
Il2CppCodeGenWriteBarrier((&___clientSettings_4), value);
}
inline static int32_t get_offset_of_current_5() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___current_5)); }
inline SecurityParameters_t2199972650 * get_current_5() const { return ___current_5; }
inline SecurityParameters_t2199972650 ** get_address_of_current_5() { return &___current_5; }
inline void set_current_5(SecurityParameters_t2199972650 * value)
{
___current_5 = value;
Il2CppCodeGenWriteBarrier((&___current_5), value);
}
inline static int32_t get_offset_of_negotiating_6() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___negotiating_6)); }
inline SecurityParameters_t2199972650 * get_negotiating_6() const { return ___negotiating_6; }
inline SecurityParameters_t2199972650 ** get_address_of_negotiating_6() { return &___negotiating_6; }
inline void set_negotiating_6(SecurityParameters_t2199972650 * value)
{
___negotiating_6 = value;
Il2CppCodeGenWriteBarrier((&___negotiating_6), value);
}
inline static int32_t get_offset_of_read_7() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___read_7)); }
inline SecurityParameters_t2199972650 * get_read_7() const { return ___read_7; }
inline SecurityParameters_t2199972650 ** get_address_of_read_7() { return &___read_7; }
inline void set_read_7(SecurityParameters_t2199972650 * value)
{
___read_7 = value;
Il2CppCodeGenWriteBarrier((&___read_7), value);
}
inline static int32_t get_offset_of_write_8() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___write_8)); }
inline SecurityParameters_t2199972650 * get_write_8() const { return ___write_8; }
inline SecurityParameters_t2199972650 ** get_address_of_write_8() { return &___write_8; }
inline void set_write_8(SecurityParameters_t2199972650 * value)
{
___write_8 = value;
Il2CppCodeGenWriteBarrier((&___write_8), value);
}
inline static int32_t get_offset_of_supportedCiphers_9() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___supportedCiphers_9)); }
inline CipherSuiteCollection_t1129639304 * get_supportedCiphers_9() const { return ___supportedCiphers_9; }
inline CipherSuiteCollection_t1129639304 ** get_address_of_supportedCiphers_9() { return &___supportedCiphers_9; }
inline void set_supportedCiphers_9(CipherSuiteCollection_t1129639304 * value)
{
___supportedCiphers_9 = value;
Il2CppCodeGenWriteBarrier((&___supportedCiphers_9), value);
}
inline static int32_t get_offset_of_lastHandshakeMsg_10() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___lastHandshakeMsg_10)); }
inline uint8_t get_lastHandshakeMsg_10() const { return ___lastHandshakeMsg_10; }
inline uint8_t* get_address_of_lastHandshakeMsg_10() { return &___lastHandshakeMsg_10; }
inline void set_lastHandshakeMsg_10(uint8_t value)
{
___lastHandshakeMsg_10 = value;
}
inline static int32_t get_offset_of_handshakeState_11() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___handshakeState_11)); }
inline int32_t get_handshakeState_11() const { return ___handshakeState_11; }
inline int32_t* get_address_of_handshakeState_11() { return &___handshakeState_11; }
inline void set_handshakeState_11(int32_t value)
{
___handshakeState_11 = value;
}
inline static int32_t get_offset_of_abbreviatedHandshake_12() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___abbreviatedHandshake_12)); }
inline bool get_abbreviatedHandshake_12() const { return ___abbreviatedHandshake_12; }
inline bool* get_address_of_abbreviatedHandshake_12() { return &___abbreviatedHandshake_12; }
inline void set_abbreviatedHandshake_12(bool value)
{
___abbreviatedHandshake_12 = value;
}
inline static int32_t get_offset_of_receivedConnectionEnd_13() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___receivedConnectionEnd_13)); }
inline bool get_receivedConnectionEnd_13() const { return ___receivedConnectionEnd_13; }
inline bool* get_address_of_receivedConnectionEnd_13() { return &___receivedConnectionEnd_13; }
inline void set_receivedConnectionEnd_13(bool value)
{
___receivedConnectionEnd_13 = value;
}
inline static int32_t get_offset_of_sentConnectionEnd_14() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___sentConnectionEnd_14)); }
inline bool get_sentConnectionEnd_14() const { return ___sentConnectionEnd_14; }
inline bool* get_address_of_sentConnectionEnd_14() { return &___sentConnectionEnd_14; }
inline void set_sentConnectionEnd_14(bool value)
{
___sentConnectionEnd_14 = value;
}
inline static int32_t get_offset_of_protocolNegotiated_15() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___protocolNegotiated_15)); }
inline bool get_protocolNegotiated_15() const { return ___protocolNegotiated_15; }
inline bool* get_address_of_protocolNegotiated_15() { return &___protocolNegotiated_15; }
inline void set_protocolNegotiated_15(bool value)
{
___protocolNegotiated_15 = value;
}
inline static int32_t get_offset_of_writeSequenceNumber_16() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___writeSequenceNumber_16)); }
inline uint64_t get_writeSequenceNumber_16() const { return ___writeSequenceNumber_16; }
inline uint64_t* get_address_of_writeSequenceNumber_16() { return &___writeSequenceNumber_16; }
inline void set_writeSequenceNumber_16(uint64_t value)
{
___writeSequenceNumber_16 = value;
}
inline static int32_t get_offset_of_readSequenceNumber_17() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___readSequenceNumber_17)); }
inline uint64_t get_readSequenceNumber_17() const { return ___readSequenceNumber_17; }
inline uint64_t* get_address_of_readSequenceNumber_17() { return &___readSequenceNumber_17; }
inline void set_readSequenceNumber_17(uint64_t value)
{
___readSequenceNumber_17 = value;
}
inline static int32_t get_offset_of_clientRandom_18() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___clientRandom_18)); }
inline ByteU5BU5D_t4116647657* get_clientRandom_18() const { return ___clientRandom_18; }
inline ByteU5BU5D_t4116647657** get_address_of_clientRandom_18() { return &___clientRandom_18; }
inline void set_clientRandom_18(ByteU5BU5D_t4116647657* value)
{
___clientRandom_18 = value;
Il2CppCodeGenWriteBarrier((&___clientRandom_18), value);
}
inline static int32_t get_offset_of_serverRandom_19() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___serverRandom_19)); }
inline ByteU5BU5D_t4116647657* get_serverRandom_19() const { return ___serverRandom_19; }
inline ByteU5BU5D_t4116647657** get_address_of_serverRandom_19() { return &___serverRandom_19; }
inline void set_serverRandom_19(ByteU5BU5D_t4116647657* value)
{
___serverRandom_19 = value;
Il2CppCodeGenWriteBarrier((&___serverRandom_19), value);
}
inline static int32_t get_offset_of_randomCS_20() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___randomCS_20)); }
inline ByteU5BU5D_t4116647657* get_randomCS_20() const { return ___randomCS_20; }
inline ByteU5BU5D_t4116647657** get_address_of_randomCS_20() { return &___randomCS_20; }
inline void set_randomCS_20(ByteU5BU5D_t4116647657* value)
{
___randomCS_20 = value;
Il2CppCodeGenWriteBarrier((&___randomCS_20), value);
}
inline static int32_t get_offset_of_randomSC_21() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___randomSC_21)); }
inline ByteU5BU5D_t4116647657* get_randomSC_21() const { return ___randomSC_21; }
inline ByteU5BU5D_t4116647657** get_address_of_randomSC_21() { return &___randomSC_21; }
inline void set_randomSC_21(ByteU5BU5D_t4116647657* value)
{
___randomSC_21 = value;
Il2CppCodeGenWriteBarrier((&___randomSC_21), value);
}
inline static int32_t get_offset_of_masterSecret_22() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___masterSecret_22)); }
inline ByteU5BU5D_t4116647657* get_masterSecret_22() const { return ___masterSecret_22; }
inline ByteU5BU5D_t4116647657** get_address_of_masterSecret_22() { return &___masterSecret_22; }
inline void set_masterSecret_22(ByteU5BU5D_t4116647657* value)
{
___masterSecret_22 = value;
Il2CppCodeGenWriteBarrier((&___masterSecret_22), value);
}
inline static int32_t get_offset_of_clientWriteKey_23() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___clientWriteKey_23)); }
inline ByteU5BU5D_t4116647657* get_clientWriteKey_23() const { return ___clientWriteKey_23; }
inline ByteU5BU5D_t4116647657** get_address_of_clientWriteKey_23() { return &___clientWriteKey_23; }
inline void set_clientWriteKey_23(ByteU5BU5D_t4116647657* value)
{
___clientWriteKey_23 = value;
Il2CppCodeGenWriteBarrier((&___clientWriteKey_23), value);
}
inline static int32_t get_offset_of_serverWriteKey_24() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___serverWriteKey_24)); }
inline ByteU5BU5D_t4116647657* get_serverWriteKey_24() const { return ___serverWriteKey_24; }
inline ByteU5BU5D_t4116647657** get_address_of_serverWriteKey_24() { return &___serverWriteKey_24; }
inline void set_serverWriteKey_24(ByteU5BU5D_t4116647657* value)
{
___serverWriteKey_24 = value;
Il2CppCodeGenWriteBarrier((&___serverWriteKey_24), value);
}
inline static int32_t get_offset_of_clientWriteIV_25() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___clientWriteIV_25)); }
inline ByteU5BU5D_t4116647657* get_clientWriteIV_25() const { return ___clientWriteIV_25; }
inline ByteU5BU5D_t4116647657** get_address_of_clientWriteIV_25() { return &___clientWriteIV_25; }
inline void set_clientWriteIV_25(ByteU5BU5D_t4116647657* value)
{
___clientWriteIV_25 = value;
Il2CppCodeGenWriteBarrier((&___clientWriteIV_25), value);
}
inline static int32_t get_offset_of_serverWriteIV_26() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___serverWriteIV_26)); }
inline ByteU5BU5D_t4116647657* get_serverWriteIV_26() const { return ___serverWriteIV_26; }
inline ByteU5BU5D_t4116647657** get_address_of_serverWriteIV_26() { return &___serverWriteIV_26; }
inline void set_serverWriteIV_26(ByteU5BU5D_t4116647657* value)
{
___serverWriteIV_26 = value;
Il2CppCodeGenWriteBarrier((&___serverWriteIV_26), value);
}
inline static int32_t get_offset_of_handshakeMessages_27() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___handshakeMessages_27)); }
inline TlsStream_t2365453965 * get_handshakeMessages_27() const { return ___handshakeMessages_27; }
inline TlsStream_t2365453965 ** get_address_of_handshakeMessages_27() { return &___handshakeMessages_27; }
inline void set_handshakeMessages_27(TlsStream_t2365453965 * value)
{
___handshakeMessages_27 = value;
Il2CppCodeGenWriteBarrier((&___handshakeMessages_27), value);
}
inline static int32_t get_offset_of_random_28() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___random_28)); }
inline RandomNumberGenerator_t386037858 * get_random_28() const { return ___random_28; }
inline RandomNumberGenerator_t386037858 ** get_address_of_random_28() { return &___random_28; }
inline void set_random_28(RandomNumberGenerator_t386037858 * value)
{
___random_28 = value;
Il2CppCodeGenWriteBarrier((&___random_28), value);
}
inline static int32_t get_offset_of_recordProtocol_29() { return static_cast<int32_t>(offsetof(Context_t3971234707, ___recordProtocol_29)); }
inline RecordProtocol_t3759049701 * get_recordProtocol_29() const { return ___recordProtocol_29; }
inline RecordProtocol_t3759049701 ** get_address_of_recordProtocol_29() { return &___recordProtocol_29; }
inline void set_recordProtocol_29(RecordProtocol_t3759049701 * value)
{
___recordProtocol_29 = value;
Il2CppCodeGenWriteBarrier((&___recordProtocol_29), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CONTEXT_T3971234707_H
#ifndef HANDSHAKEMESSAGE_T3696583168_H
#define HANDSHAKEMESSAGE_T3696583168_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.Handshake.HandshakeMessage
struct HandshakeMessage_t3696583168 : public TlsStream_t2365453965
{
public:
// Mono.Security.Protocol.Tls.Context Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::context
Context_t3971234707 * ___context_5;
// Mono.Security.Protocol.Tls.Handshake.HandshakeType Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::handshakeType
uint8_t ___handshakeType_6;
// Mono.Security.Protocol.Tls.ContentType Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::contentType
uint8_t ___contentType_7;
// System.Byte[] Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::cache
ByteU5BU5D_t4116647657* ___cache_8;
public:
inline static int32_t get_offset_of_context_5() { return static_cast<int32_t>(offsetof(HandshakeMessage_t3696583168, ___context_5)); }
inline Context_t3971234707 * get_context_5() const { return ___context_5; }
inline Context_t3971234707 ** get_address_of_context_5() { return &___context_5; }
inline void set_context_5(Context_t3971234707 * value)
{
___context_5 = value;
Il2CppCodeGenWriteBarrier((&___context_5), value);
}
inline static int32_t get_offset_of_handshakeType_6() { return static_cast<int32_t>(offsetof(HandshakeMessage_t3696583168, ___handshakeType_6)); }
inline uint8_t get_handshakeType_6() const { return ___handshakeType_6; }
inline uint8_t* get_address_of_handshakeType_6() { return &___handshakeType_6; }
inline void set_handshakeType_6(uint8_t value)
{
___handshakeType_6 = value;
}
inline static int32_t get_offset_of_contentType_7() { return static_cast<int32_t>(offsetof(HandshakeMessage_t3696583168, ___contentType_7)); }
inline uint8_t get_contentType_7() const { return ___contentType_7; }
inline uint8_t* get_address_of_contentType_7() { return &___contentType_7; }
inline void set_contentType_7(uint8_t value)
{
___contentType_7 = value;
}
inline static int32_t get_offset_of_cache_8() { return static_cast<int32_t>(offsetof(HandshakeMessage_t3696583168, ___cache_8)); }
inline ByteU5BU5D_t4116647657* get_cache_8() const { return ___cache_8; }
inline ByteU5BU5D_t4116647657** get_address_of_cache_8() { return &___cache_8; }
inline void set_cache_8(ByteU5BU5D_t4116647657* value)
{
___cache_8 = value;
Il2CppCodeGenWriteBarrier((&___cache_8), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // HANDSHAKEMESSAGE_T3696583168_H
#ifndef SSLCLIENTSTREAM_T3914624661_H
#define SSLCLIENTSTREAM_T3914624661_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.SslClientStream
struct SslClientStream_t3914624661 : public SslStreamBase_t1667413407
{
public:
// Mono.Security.Protocol.Tls.CertificateValidationCallback Mono.Security.Protocol.Tls.SslClientStream::ServerCertValidation
CertificateValidationCallback_t4091668218 * ___ServerCertValidation_16;
// Mono.Security.Protocol.Tls.CertificateSelectionCallback Mono.Security.Protocol.Tls.SslClientStream::ClientCertSelection
CertificateSelectionCallback_t3743405224 * ___ClientCertSelection_17;
// Mono.Security.Protocol.Tls.PrivateKeySelectionCallback Mono.Security.Protocol.Tls.SslClientStream::PrivateKeySelection
PrivateKeySelectionCallback_t3240194217 * ___PrivateKeySelection_18;
// Mono.Security.Protocol.Tls.CertificateValidationCallback2 Mono.Security.Protocol.Tls.SslClientStream::ServerCertValidation2
CertificateValidationCallback2_t1842476440 * ___ServerCertValidation2_19;
public:
inline static int32_t get_offset_of_ServerCertValidation_16() { return static_cast<int32_t>(offsetof(SslClientStream_t3914624661, ___ServerCertValidation_16)); }
inline CertificateValidationCallback_t4091668218 * get_ServerCertValidation_16() const { return ___ServerCertValidation_16; }
inline CertificateValidationCallback_t4091668218 ** get_address_of_ServerCertValidation_16() { return &___ServerCertValidation_16; }
inline void set_ServerCertValidation_16(CertificateValidationCallback_t4091668218 * value)
{
___ServerCertValidation_16 = value;
Il2CppCodeGenWriteBarrier((&___ServerCertValidation_16), value);
}
inline static int32_t get_offset_of_ClientCertSelection_17() { return static_cast<int32_t>(offsetof(SslClientStream_t3914624661, ___ClientCertSelection_17)); }
inline CertificateSelectionCallback_t3743405224 * get_ClientCertSelection_17() const { return ___ClientCertSelection_17; }
inline CertificateSelectionCallback_t3743405224 ** get_address_of_ClientCertSelection_17() { return &___ClientCertSelection_17; }
inline void set_ClientCertSelection_17(CertificateSelectionCallback_t3743405224 * value)
{
___ClientCertSelection_17 = value;
Il2CppCodeGenWriteBarrier((&___ClientCertSelection_17), value);
}
inline static int32_t get_offset_of_PrivateKeySelection_18() { return static_cast<int32_t>(offsetof(SslClientStream_t3914624661, ___PrivateKeySelection_18)); }
inline PrivateKeySelectionCallback_t3240194217 * get_PrivateKeySelection_18() const { return ___PrivateKeySelection_18; }
inline PrivateKeySelectionCallback_t3240194217 ** get_address_of_PrivateKeySelection_18() { return &___PrivateKeySelection_18; }
inline void set_PrivateKeySelection_18(PrivateKeySelectionCallback_t3240194217 * value)
{
___PrivateKeySelection_18 = value;
Il2CppCodeGenWriteBarrier((&___PrivateKeySelection_18), value);
}
inline static int32_t get_offset_of_ServerCertValidation2_19() { return static_cast<int32_t>(offsetof(SslClientStream_t3914624661, ___ServerCertValidation2_19)); }
inline CertificateValidationCallback2_t1842476440 * get_ServerCertValidation2_19() const { return ___ServerCertValidation2_19; }
inline CertificateValidationCallback2_t1842476440 ** get_address_of_ServerCertValidation2_19() { return &___ServerCertValidation2_19; }
inline void set_ServerCertValidation2_19(CertificateValidationCallback2_t1842476440 * value)
{
___ServerCertValidation2_19 = value;
Il2CppCodeGenWriteBarrier((&___ServerCertValidation2_19), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SSLCLIENTSTREAM_T3914624661_H
#ifndef X509CHAIN_T863783600_H
#define X509CHAIN_T863783600_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.X509.X509Chain
struct X509Chain_t863783600 : public RuntimeObject
{
public:
// Mono.Security.X509.X509CertificateCollection Mono.Security.X509.X509Chain::roots
X509CertificateCollection_t1542168550 * ___roots_0;
// Mono.Security.X509.X509CertificateCollection Mono.Security.X509.X509Chain::certs
X509CertificateCollection_t1542168550 * ___certs_1;
// Mono.Security.X509.X509Certificate Mono.Security.X509.X509Chain::_root
X509Certificate_t489243025 * ____root_2;
// Mono.Security.X509.X509CertificateCollection Mono.Security.X509.X509Chain::_chain
X509CertificateCollection_t1542168550 * ____chain_3;
// Mono.Security.X509.X509ChainStatusFlags Mono.Security.X509.X509Chain::_status
int32_t ____status_4;
public:
inline static int32_t get_offset_of_roots_0() { return static_cast<int32_t>(offsetof(X509Chain_t863783600, ___roots_0)); }
inline X509CertificateCollection_t1542168550 * get_roots_0() const { return ___roots_0; }
inline X509CertificateCollection_t1542168550 ** get_address_of_roots_0() { return &___roots_0; }
inline void set_roots_0(X509CertificateCollection_t1542168550 * value)
{
___roots_0 = value;
Il2CppCodeGenWriteBarrier((&___roots_0), value);
}
inline static int32_t get_offset_of_certs_1() { return static_cast<int32_t>(offsetof(X509Chain_t863783600, ___certs_1)); }
inline X509CertificateCollection_t1542168550 * get_certs_1() const { return ___certs_1; }
inline X509CertificateCollection_t1542168550 ** get_address_of_certs_1() { return &___certs_1; }
inline void set_certs_1(X509CertificateCollection_t1542168550 * value)
{
___certs_1 = value;
Il2CppCodeGenWriteBarrier((&___certs_1), value);
}
inline static int32_t get_offset_of__root_2() { return static_cast<int32_t>(offsetof(X509Chain_t863783600, ____root_2)); }
inline X509Certificate_t489243025 * get__root_2() const { return ____root_2; }
inline X509Certificate_t489243025 ** get_address_of__root_2() { return &____root_2; }
inline void set__root_2(X509Certificate_t489243025 * value)
{
____root_2 = value;
Il2CppCodeGenWriteBarrier((&____root_2), value);
}
inline static int32_t get_offset_of__chain_3() { return static_cast<int32_t>(offsetof(X509Chain_t863783600, ____chain_3)); }
inline X509CertificateCollection_t1542168550 * get__chain_3() const { return ____chain_3; }
inline X509CertificateCollection_t1542168550 ** get_address_of__chain_3() { return &____chain_3; }
inline void set__chain_3(X509CertificateCollection_t1542168550 * value)
{
____chain_3 = value;
Il2CppCodeGenWriteBarrier((&____chain_3), value);
}
inline static int32_t get_offset_of__status_4() { return static_cast<int32_t>(offsetof(X509Chain_t863783600, ____status_4)); }
inline int32_t get__status_4() const { return ____status_4; }
inline int32_t* get_address_of__status_4() { return &____status_4; }
inline void set__status_4(int32_t value)
{
____status_4 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // X509CHAIN_T863783600_H
#ifndef ARGUMENTNULLEXCEPTION_T1615371798_H
#define ARGUMENTNULLEXCEPTION_T1615371798_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.ArgumentNullException
struct ArgumentNullException_t1615371798 : public ArgumentException_t132251570
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ARGUMENTNULLEXCEPTION_T1615371798_H
#ifndef ARGUMENTOUTOFRANGEEXCEPTION_T777629997_H
#define ARGUMENTOUTOFRANGEEXCEPTION_T777629997_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.ArgumentOutOfRangeException
struct ArgumentOutOfRangeException_t777629997 : public ArgumentException_t132251570
{
public:
// System.Object System.ArgumentOutOfRangeException::actual_value
RuntimeObject * ___actual_value_13;
public:
inline static int32_t get_offset_of_actual_value_13() { return static_cast<int32_t>(offsetof(ArgumentOutOfRangeException_t777629997, ___actual_value_13)); }
inline RuntimeObject * get_actual_value_13() const { return ___actual_value_13; }
inline RuntimeObject ** get_address_of_actual_value_13() { return &___actual_value_13; }
inline void set_actual_value_13(RuntimeObject * value)
{
___actual_value_13 = value;
Il2CppCodeGenWriteBarrier((&___actual_value_13), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ARGUMENTOUTOFRANGEEXCEPTION_T777629997_H
#ifndef DATETIME_T3738529785_H
#define DATETIME_T3738529785_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.DateTime
struct DateTime_t3738529785
{
public:
// System.TimeSpan System.DateTime::ticks
TimeSpan_t881159249 ___ticks_0;
// System.DateTimeKind System.DateTime::kind
int32_t ___kind_1;
public:
inline static int32_t get_offset_of_ticks_0() { return static_cast<int32_t>(offsetof(DateTime_t3738529785, ___ticks_0)); }
inline TimeSpan_t881159249 get_ticks_0() const { return ___ticks_0; }
inline TimeSpan_t881159249 * get_address_of_ticks_0() { return &___ticks_0; }
inline void set_ticks_0(TimeSpan_t881159249 value)
{
___ticks_0 = value;
}
inline static int32_t get_offset_of_kind_1() { return static_cast<int32_t>(offsetof(DateTime_t3738529785, ___kind_1)); }
inline int32_t get_kind_1() const { return ___kind_1; }
inline int32_t* get_address_of_kind_1() { return &___kind_1; }
inline void set_kind_1(int32_t value)
{
___kind_1 = value;
}
};
struct DateTime_t3738529785_StaticFields
{
public:
// System.DateTime System.DateTime::MaxValue
DateTime_t3738529785 ___MaxValue_2;
// System.DateTime System.DateTime::MinValue
DateTime_t3738529785 ___MinValue_3;
// System.String[] System.DateTime::ParseTimeFormats
StringU5BU5D_t1281789340* ___ParseTimeFormats_4;
// System.String[] System.DateTime::ParseYearDayMonthFormats
StringU5BU5D_t1281789340* ___ParseYearDayMonthFormats_5;
// System.String[] System.DateTime::ParseYearMonthDayFormats
StringU5BU5D_t1281789340* ___ParseYearMonthDayFormats_6;
// System.String[] System.DateTime::ParseDayMonthYearFormats
StringU5BU5D_t1281789340* ___ParseDayMonthYearFormats_7;
// System.String[] System.DateTime::ParseMonthDayYearFormats
StringU5BU5D_t1281789340* ___ParseMonthDayYearFormats_8;
// System.String[] System.DateTime::MonthDayShortFormats
StringU5BU5D_t1281789340* ___MonthDayShortFormats_9;
// System.String[] System.DateTime::DayMonthShortFormats
StringU5BU5D_t1281789340* ___DayMonthShortFormats_10;
// System.Int32[] System.DateTime::daysmonth
Int32U5BU5D_t385246372* ___daysmonth_11;
// System.Int32[] System.DateTime::daysmonthleap
Int32U5BU5D_t385246372* ___daysmonthleap_12;
// System.Object System.DateTime::to_local_time_span_object
RuntimeObject * ___to_local_time_span_object_13;
// System.Int64 System.DateTime::last_now
int64_t ___last_now_14;
public:
inline static int32_t get_offset_of_MaxValue_2() { return static_cast<int32_t>(offsetof(DateTime_t3738529785_StaticFields, ___MaxValue_2)); }
inline DateTime_t3738529785 get_MaxValue_2() const { return ___MaxValue_2; }
inline DateTime_t3738529785 * get_address_of_MaxValue_2() { return &___MaxValue_2; }
inline void set_MaxValue_2(DateTime_t3738529785 value)
{
___MaxValue_2 = value;
}
inline static int32_t get_offset_of_MinValue_3() { return static_cast<int32_t>(offsetof(DateTime_t3738529785_StaticFields, ___MinValue_3)); }
inline DateTime_t3738529785 get_MinValue_3() const { return ___MinValue_3; }
inline DateTime_t3738529785 * get_address_of_MinValue_3() { return &___MinValue_3; }
inline void set_MinValue_3(DateTime_t3738529785 value)
{
___MinValue_3 = value;
}
inline static int32_t get_offset_of_ParseTimeFormats_4() { return static_cast<int32_t>(offsetof(DateTime_t3738529785_StaticFields, ___ParseTimeFormats_4)); }
inline StringU5BU5D_t1281789340* get_ParseTimeFormats_4() const { return ___ParseTimeFormats_4; }
inline StringU5BU5D_t1281789340** get_address_of_ParseTimeFormats_4() { return &___ParseTimeFormats_4; }
inline void set_ParseTimeFormats_4(StringU5BU5D_t1281789340* value)
{
___ParseTimeFormats_4 = value;
Il2CppCodeGenWriteBarrier((&___ParseTimeFormats_4), value);
}
inline static int32_t get_offset_of_ParseYearDayMonthFormats_5() { return static_cast<int32_t>(offsetof(DateTime_t3738529785_StaticFields, ___ParseYearDayMonthFormats_5)); }
inline StringU5BU5D_t1281789340* get_ParseYearDayMonthFormats_5() const { return ___ParseYearDayMonthFormats_5; }
inline StringU5BU5D_t1281789340** get_address_of_ParseYearDayMonthFormats_5() { return &___ParseYearDayMonthFormats_5; }
inline void set_ParseYearDayMonthFormats_5(StringU5BU5D_t1281789340* value)
{
___ParseYearDayMonthFormats_5 = value;
Il2CppCodeGenWriteBarrier((&___ParseYearDayMonthFormats_5), value);
}
inline static int32_t get_offset_of_ParseYearMonthDayFormats_6() { return static_cast<int32_t>(offsetof(DateTime_t3738529785_StaticFields, ___ParseYearMonthDayFormats_6)); }
inline StringU5BU5D_t1281789340* get_ParseYearMonthDayFormats_6() const { return ___ParseYearMonthDayFormats_6; }
inline StringU5BU5D_t1281789340** get_address_of_ParseYearMonthDayFormats_6() { return &___ParseYearMonthDayFormats_6; }
inline void set_ParseYearMonthDayFormats_6(StringU5BU5D_t1281789340* value)
{
___ParseYearMonthDayFormats_6 = value;
Il2CppCodeGenWriteBarrier((&___ParseYearMonthDayFormats_6), value);
}
inline static int32_t get_offset_of_ParseDayMonthYearFormats_7() { return static_cast<int32_t>(offsetof(DateTime_t3738529785_StaticFields, ___ParseDayMonthYearFormats_7)); }
inline StringU5BU5D_t1281789340* get_ParseDayMonthYearFormats_7() const { return ___ParseDayMonthYearFormats_7; }
inline StringU5BU5D_t1281789340** get_address_of_ParseDayMonthYearFormats_7() { return &___ParseDayMonthYearFormats_7; }
inline void set_ParseDayMonthYearFormats_7(StringU5BU5D_t1281789340* value)
{
___ParseDayMonthYearFormats_7 = value;
Il2CppCodeGenWriteBarrier((&___ParseDayMonthYearFormats_7), value);
}
inline static int32_t get_offset_of_ParseMonthDayYearFormats_8() { return static_cast<int32_t>(offsetof(DateTime_t3738529785_StaticFields, ___ParseMonthDayYearFormats_8)); }
inline StringU5BU5D_t1281789340* get_ParseMonthDayYearFormats_8() const { return ___ParseMonthDayYearFormats_8; }
inline StringU5BU5D_t1281789340** get_address_of_ParseMonthDayYearFormats_8() { return &___ParseMonthDayYearFormats_8; }
inline void set_ParseMonthDayYearFormats_8(StringU5BU5D_t1281789340* value)
{
___ParseMonthDayYearFormats_8 = value;
Il2CppCodeGenWriteBarrier((&___ParseMonthDayYearFormats_8), value);
}
inline static int32_t get_offset_of_MonthDayShortFormats_9() { return static_cast<int32_t>(offsetof(DateTime_t3738529785_StaticFields, ___MonthDayShortFormats_9)); }
inline StringU5BU5D_t1281789340* get_MonthDayShortFormats_9() const { return ___MonthDayShortFormats_9; }
inline StringU5BU5D_t1281789340** get_address_of_MonthDayShortFormats_9() { return &___MonthDayShortFormats_9; }
inline void set_MonthDayShortFormats_9(StringU5BU5D_t1281789340* value)
{
___MonthDayShortFormats_9 = value;
Il2CppCodeGenWriteBarrier((&___MonthDayShortFormats_9), value);
}
inline static int32_t get_offset_of_DayMonthShortFormats_10() { return static_cast<int32_t>(offsetof(DateTime_t3738529785_StaticFields, ___DayMonthShortFormats_10)); }
inline StringU5BU5D_t1281789340* get_DayMonthShortFormats_10() const { return ___DayMonthShortFormats_10; }
inline StringU5BU5D_t1281789340** get_address_of_DayMonthShortFormats_10() { return &___DayMonthShortFormats_10; }
inline void set_DayMonthShortFormats_10(StringU5BU5D_t1281789340* value)
{
___DayMonthShortFormats_10 = value;
Il2CppCodeGenWriteBarrier((&___DayMonthShortFormats_10), value);
}
inline static int32_t get_offset_of_daysmonth_11() { return static_cast<int32_t>(offsetof(DateTime_t3738529785_StaticFields, ___daysmonth_11)); }
inline Int32U5BU5D_t385246372* get_daysmonth_11() const { return ___daysmonth_11; }
inline Int32U5BU5D_t385246372** get_address_of_daysmonth_11() { return &___daysmonth_11; }
inline void set_daysmonth_11(Int32U5BU5D_t385246372* value)
{
___daysmonth_11 = value;
Il2CppCodeGenWriteBarrier((&___daysmonth_11), value);
}
inline static int32_t get_offset_of_daysmonthleap_12() { return static_cast<int32_t>(offsetof(DateTime_t3738529785_StaticFields, ___daysmonthleap_12)); }
inline Int32U5BU5D_t385246372* get_daysmonthleap_12() const { return ___daysmonthleap_12; }
inline Int32U5BU5D_t385246372** get_address_of_daysmonthleap_12() { return &___daysmonthleap_12; }
inline void set_daysmonthleap_12(Int32U5BU5D_t385246372* value)
{
___daysmonthleap_12 = value;
Il2CppCodeGenWriteBarrier((&___daysmonthleap_12), value);
}
inline static int32_t get_offset_of_to_local_time_span_object_13() { return static_cast<int32_t>(offsetof(DateTime_t3738529785_StaticFields, ___to_local_time_span_object_13)); }
inline RuntimeObject * get_to_local_time_span_object_13() const { return ___to_local_time_span_object_13; }
inline RuntimeObject ** get_address_of_to_local_time_span_object_13() { return &___to_local_time_span_object_13; }
inline void set_to_local_time_span_object_13(RuntimeObject * value)
{
___to_local_time_span_object_13 = value;
Il2CppCodeGenWriteBarrier((&___to_local_time_span_object_13), value);
}
inline static int32_t get_offset_of_last_now_14() { return static_cast<int32_t>(offsetof(DateTime_t3738529785_StaticFields, ___last_now_14)); }
inline int64_t get_last_now_14() const { return ___last_now_14; }
inline int64_t* get_address_of_last_now_14() { return &___last_now_14; }
inline void set_last_now_14(int64_t value)
{
___last_now_14 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DATETIME_T3738529785_H
#ifndef MULTICASTDELEGATE_T_H
#define MULTICASTDELEGATE_T_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.MulticastDelegate
struct MulticastDelegate_t : public Delegate_t1188392813
{
public:
// System.MulticastDelegate System.MulticastDelegate::prev
MulticastDelegate_t * ___prev_9;
// System.MulticastDelegate System.MulticastDelegate::kpm_next
MulticastDelegate_t * ___kpm_next_10;
public:
inline static int32_t get_offset_of_prev_9() { return static_cast<int32_t>(offsetof(MulticastDelegate_t, ___prev_9)); }
inline MulticastDelegate_t * get_prev_9() const { return ___prev_9; }
inline MulticastDelegate_t ** get_address_of_prev_9() { return &___prev_9; }
inline void set_prev_9(MulticastDelegate_t * value)
{
___prev_9 = value;
Il2CppCodeGenWriteBarrier((&___prev_9), value);
}
inline static int32_t get_offset_of_kpm_next_10() { return static_cast<int32_t>(offsetof(MulticastDelegate_t, ___kpm_next_10)); }
inline MulticastDelegate_t * get_kpm_next_10() const { return ___kpm_next_10; }
inline MulticastDelegate_t ** get_address_of_kpm_next_10() { return &___kpm_next_10; }
inline void set_kpm_next_10(MulticastDelegate_t * value)
{
___kpm_next_10 = value;
Il2CppCodeGenWriteBarrier((&___kpm_next_10), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MULTICASTDELEGATE_T_H
#ifndef WEBREQUEST_T1939381076_H
#define WEBREQUEST_T1939381076_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.WebRequest
struct WebRequest_t1939381076 : public MarshalByRefObject_t2760389100
{
public:
// System.Net.Security.AuthenticationLevel System.Net.WebRequest::authentication_level
int32_t ___authentication_level_4;
public:
inline static int32_t get_offset_of_authentication_level_4() { return static_cast<int32_t>(offsetof(WebRequest_t1939381076, ___authentication_level_4)); }
inline int32_t get_authentication_level_4() const { return ___authentication_level_4; }
inline int32_t* get_address_of_authentication_level_4() { return &___authentication_level_4; }
inline void set_authentication_level_4(int32_t value)
{
___authentication_level_4 = value;
}
};
struct WebRequest_t1939381076_StaticFields
{
public:
// System.Collections.Specialized.HybridDictionary System.Net.WebRequest::prefixes
HybridDictionary_t4070033136 * ___prefixes_1;
// System.Boolean System.Net.WebRequest::isDefaultWebProxySet
bool ___isDefaultWebProxySet_2;
// System.Net.IWebProxy System.Net.WebRequest::defaultWebProxy
RuntimeObject* ___defaultWebProxy_3;
// System.Object System.Net.WebRequest::lockobj
RuntimeObject * ___lockobj_5;
public:
inline static int32_t get_offset_of_prefixes_1() { return static_cast<int32_t>(offsetof(WebRequest_t1939381076_StaticFields, ___prefixes_1)); }
inline HybridDictionary_t4070033136 * get_prefixes_1() const { return ___prefixes_1; }
inline HybridDictionary_t4070033136 ** get_address_of_prefixes_1() { return &___prefixes_1; }
inline void set_prefixes_1(HybridDictionary_t4070033136 * value)
{
___prefixes_1 = value;
Il2CppCodeGenWriteBarrier((&___prefixes_1), value);
}
inline static int32_t get_offset_of_isDefaultWebProxySet_2() { return static_cast<int32_t>(offsetof(WebRequest_t1939381076_StaticFields, ___isDefaultWebProxySet_2)); }
inline bool get_isDefaultWebProxySet_2() const { return ___isDefaultWebProxySet_2; }
inline bool* get_address_of_isDefaultWebProxySet_2() { return &___isDefaultWebProxySet_2; }
inline void set_isDefaultWebProxySet_2(bool value)
{
___isDefaultWebProxySet_2 = value;
}
inline static int32_t get_offset_of_defaultWebProxy_3() { return static_cast<int32_t>(offsetof(WebRequest_t1939381076_StaticFields, ___defaultWebProxy_3)); }
inline RuntimeObject* get_defaultWebProxy_3() const { return ___defaultWebProxy_3; }
inline RuntimeObject** get_address_of_defaultWebProxy_3() { return &___defaultWebProxy_3; }
inline void set_defaultWebProxy_3(RuntimeObject* value)
{
___defaultWebProxy_3 = value;
Il2CppCodeGenWriteBarrier((&___defaultWebProxy_3), value);
}
inline static int32_t get_offset_of_lockobj_5() { return static_cast<int32_t>(offsetof(WebRequest_t1939381076_StaticFields, ___lockobj_5)); }
inline RuntimeObject * get_lockobj_5() const { return ___lockobj_5; }
inline RuntimeObject ** get_address_of_lockobj_5() { return &___lockobj_5; }
inline void set_lockobj_5(RuntimeObject * value)
{
___lockobj_5 = value;
Il2CppCodeGenWriteBarrier((&___lockobj_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WEBREQUEST_T1939381076_H
#ifndef OBJECTDISPOSEDEXCEPTION_T21392786_H
#define OBJECTDISPOSEDEXCEPTION_T21392786_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.ObjectDisposedException
struct ObjectDisposedException_t21392786 : public InvalidOperationException_t56020091
{
public:
// System.String System.ObjectDisposedException::obj_name
String_t* ___obj_name_12;
// System.String System.ObjectDisposedException::msg
String_t* ___msg_13;
public:
inline static int32_t get_offset_of_obj_name_12() { return static_cast<int32_t>(offsetof(ObjectDisposedException_t21392786, ___obj_name_12)); }
inline String_t* get_obj_name_12() const { return ___obj_name_12; }
inline String_t** get_address_of_obj_name_12() { return &___obj_name_12; }
inline void set_obj_name_12(String_t* value)
{
___obj_name_12 = value;
Il2CppCodeGenWriteBarrier((&___obj_name_12), value);
}
inline static int32_t get_offset_of_msg_13() { return static_cast<int32_t>(offsetof(ObjectDisposedException_t21392786, ___msg_13)); }
inline String_t* get_msg_13() const { return ___msg_13; }
inline String_t** get_address_of_msg_13() { return &___msg_13; }
inline void set_msg_13(String_t* value)
{
___msg_13 = value;
Il2CppCodeGenWriteBarrier((&___msg_13), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // OBJECTDISPOSEDEXCEPTION_T21392786_H
#ifndef CRYPTOGRAPHICUNEXPECTEDOPERATIONEXCEPTION_T2790575154_H
#define CRYPTOGRAPHICUNEXPECTEDOPERATIONEXCEPTION_T2790575154_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.CryptographicUnexpectedOperationException
struct CryptographicUnexpectedOperationException_t2790575154 : public CryptographicException_t248831461
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CRYPTOGRAPHICUNEXPECTEDOPERATIONEXCEPTION_T2790575154_H
#ifndef CSPPARAMETERS_T239852639_H
#define CSPPARAMETERS_T239852639_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.CspParameters
struct CspParameters_t239852639 : public RuntimeObject
{
public:
// System.Security.Cryptography.CspProviderFlags System.Security.Cryptography.CspParameters::_Flags
int32_t ____Flags_0;
// System.String System.Security.Cryptography.CspParameters::KeyContainerName
String_t* ___KeyContainerName_1;
// System.Int32 System.Security.Cryptography.CspParameters::KeyNumber
int32_t ___KeyNumber_2;
// System.String System.Security.Cryptography.CspParameters::ProviderName
String_t* ___ProviderName_3;
// System.Int32 System.Security.Cryptography.CspParameters::ProviderType
int32_t ___ProviderType_4;
public:
inline static int32_t get_offset_of__Flags_0() { return static_cast<int32_t>(offsetof(CspParameters_t239852639, ____Flags_0)); }
inline int32_t get__Flags_0() const { return ____Flags_0; }
inline int32_t* get_address_of__Flags_0() { return &____Flags_0; }
inline void set__Flags_0(int32_t value)
{
____Flags_0 = value;
}
inline static int32_t get_offset_of_KeyContainerName_1() { return static_cast<int32_t>(offsetof(CspParameters_t239852639, ___KeyContainerName_1)); }
inline String_t* get_KeyContainerName_1() const { return ___KeyContainerName_1; }
inline String_t** get_address_of_KeyContainerName_1() { return &___KeyContainerName_1; }
inline void set_KeyContainerName_1(String_t* value)
{
___KeyContainerName_1 = value;
Il2CppCodeGenWriteBarrier((&___KeyContainerName_1), value);
}
inline static int32_t get_offset_of_KeyNumber_2() { return static_cast<int32_t>(offsetof(CspParameters_t239852639, ___KeyNumber_2)); }
inline int32_t get_KeyNumber_2() const { return ___KeyNumber_2; }
inline int32_t* get_address_of_KeyNumber_2() { return &___KeyNumber_2; }
inline void set_KeyNumber_2(int32_t value)
{
___KeyNumber_2 = value;
}
inline static int32_t get_offset_of_ProviderName_3() { return static_cast<int32_t>(offsetof(CspParameters_t239852639, ___ProviderName_3)); }
inline String_t* get_ProviderName_3() const { return ___ProviderName_3; }
inline String_t** get_address_of_ProviderName_3() { return &___ProviderName_3; }
inline void set_ProviderName_3(String_t* value)
{
___ProviderName_3 = value;
Il2CppCodeGenWriteBarrier((&___ProviderName_3), value);
}
inline static int32_t get_offset_of_ProviderType_4() { return static_cast<int32_t>(offsetof(CspParameters_t239852639, ___ProviderType_4)); }
inline int32_t get_ProviderType_4() const { return ___ProviderType_4; }
inline int32_t* get_address_of_ProviderType_4() { return &___ProviderType_4; }
inline void set_ProviderType_4(int32_t value)
{
___ProviderType_4 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CSPPARAMETERS_T239852639_H
#ifndef SYMMETRICALGORITHM_T4254223087_H
#define SYMMETRICALGORITHM_T4254223087_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.SymmetricAlgorithm
struct SymmetricAlgorithm_t4254223087 : public RuntimeObject
{
public:
// System.Int32 System.Security.Cryptography.SymmetricAlgorithm::BlockSizeValue
int32_t ___BlockSizeValue_0;
// System.Byte[] System.Security.Cryptography.SymmetricAlgorithm::IVValue
ByteU5BU5D_t4116647657* ___IVValue_1;
// System.Int32 System.Security.Cryptography.SymmetricAlgorithm::KeySizeValue
int32_t ___KeySizeValue_2;
// System.Byte[] System.Security.Cryptography.SymmetricAlgorithm::KeyValue
ByteU5BU5D_t4116647657* ___KeyValue_3;
// System.Security.Cryptography.KeySizes[] System.Security.Cryptography.SymmetricAlgorithm::LegalBlockSizesValue
KeySizesU5BU5D_t722666473* ___LegalBlockSizesValue_4;
// System.Security.Cryptography.KeySizes[] System.Security.Cryptography.SymmetricAlgorithm::LegalKeySizesValue
KeySizesU5BU5D_t722666473* ___LegalKeySizesValue_5;
// System.Int32 System.Security.Cryptography.SymmetricAlgorithm::FeedbackSizeValue
int32_t ___FeedbackSizeValue_6;
// System.Security.Cryptography.CipherMode System.Security.Cryptography.SymmetricAlgorithm::ModeValue
int32_t ___ModeValue_7;
// System.Security.Cryptography.PaddingMode System.Security.Cryptography.SymmetricAlgorithm::PaddingValue
int32_t ___PaddingValue_8;
// System.Boolean System.Security.Cryptography.SymmetricAlgorithm::m_disposed
bool ___m_disposed_9;
public:
inline static int32_t get_offset_of_BlockSizeValue_0() { return static_cast<int32_t>(offsetof(SymmetricAlgorithm_t4254223087, ___BlockSizeValue_0)); }
inline int32_t get_BlockSizeValue_0() const { return ___BlockSizeValue_0; }
inline int32_t* get_address_of_BlockSizeValue_0() { return &___BlockSizeValue_0; }
inline void set_BlockSizeValue_0(int32_t value)
{
___BlockSizeValue_0 = value;
}
inline static int32_t get_offset_of_IVValue_1() { return static_cast<int32_t>(offsetof(SymmetricAlgorithm_t4254223087, ___IVValue_1)); }
inline ByteU5BU5D_t4116647657* get_IVValue_1() const { return ___IVValue_1; }
inline ByteU5BU5D_t4116647657** get_address_of_IVValue_1() { return &___IVValue_1; }
inline void set_IVValue_1(ByteU5BU5D_t4116647657* value)
{
___IVValue_1 = value;
Il2CppCodeGenWriteBarrier((&___IVValue_1), value);
}
inline static int32_t get_offset_of_KeySizeValue_2() { return static_cast<int32_t>(offsetof(SymmetricAlgorithm_t4254223087, ___KeySizeValue_2)); }
inline int32_t get_KeySizeValue_2() const { return ___KeySizeValue_2; }
inline int32_t* get_address_of_KeySizeValue_2() { return &___KeySizeValue_2; }
inline void set_KeySizeValue_2(int32_t value)
{
___KeySizeValue_2 = value;
}
inline static int32_t get_offset_of_KeyValue_3() { return static_cast<int32_t>(offsetof(SymmetricAlgorithm_t4254223087, ___KeyValue_3)); }
inline ByteU5BU5D_t4116647657* get_KeyValue_3() const { return ___KeyValue_3; }
inline ByteU5BU5D_t4116647657** get_address_of_KeyValue_3() { return &___KeyValue_3; }
inline void set_KeyValue_3(ByteU5BU5D_t4116647657* value)
{
___KeyValue_3 = value;
Il2CppCodeGenWriteBarrier((&___KeyValue_3), value);
}
inline static int32_t get_offset_of_LegalBlockSizesValue_4() { return static_cast<int32_t>(offsetof(SymmetricAlgorithm_t4254223087, ___LegalBlockSizesValue_4)); }
inline KeySizesU5BU5D_t722666473* get_LegalBlockSizesValue_4() const { return ___LegalBlockSizesValue_4; }
inline KeySizesU5BU5D_t722666473** get_address_of_LegalBlockSizesValue_4() { return &___LegalBlockSizesValue_4; }
inline void set_LegalBlockSizesValue_4(KeySizesU5BU5D_t722666473* value)
{
___LegalBlockSizesValue_4 = value;
Il2CppCodeGenWriteBarrier((&___LegalBlockSizesValue_4), value);
}
inline static int32_t get_offset_of_LegalKeySizesValue_5() { return static_cast<int32_t>(offsetof(SymmetricAlgorithm_t4254223087, ___LegalKeySizesValue_5)); }
inline KeySizesU5BU5D_t722666473* get_LegalKeySizesValue_5() const { return ___LegalKeySizesValue_5; }
inline KeySizesU5BU5D_t722666473** get_address_of_LegalKeySizesValue_5() { return &___LegalKeySizesValue_5; }
inline void set_LegalKeySizesValue_5(KeySizesU5BU5D_t722666473* value)
{
___LegalKeySizesValue_5 = value;
Il2CppCodeGenWriteBarrier((&___LegalKeySizesValue_5), value);
}
inline static int32_t get_offset_of_FeedbackSizeValue_6() { return static_cast<int32_t>(offsetof(SymmetricAlgorithm_t4254223087, ___FeedbackSizeValue_6)); }
inline int32_t get_FeedbackSizeValue_6() const { return ___FeedbackSizeValue_6; }
inline int32_t* get_address_of_FeedbackSizeValue_6() { return &___FeedbackSizeValue_6; }
inline void set_FeedbackSizeValue_6(int32_t value)
{
___FeedbackSizeValue_6 = value;
}
inline static int32_t get_offset_of_ModeValue_7() { return static_cast<int32_t>(offsetof(SymmetricAlgorithm_t4254223087, ___ModeValue_7)); }
inline int32_t get_ModeValue_7() const { return ___ModeValue_7; }
inline int32_t* get_address_of_ModeValue_7() { return &___ModeValue_7; }
inline void set_ModeValue_7(int32_t value)
{
___ModeValue_7 = value;
}
inline static int32_t get_offset_of_PaddingValue_8() { return static_cast<int32_t>(offsetof(SymmetricAlgorithm_t4254223087, ___PaddingValue_8)); }
inline int32_t get_PaddingValue_8() const { return ___PaddingValue_8; }
inline int32_t* get_address_of_PaddingValue_8() { return &___PaddingValue_8; }
inline void set_PaddingValue_8(int32_t value)
{
___PaddingValue_8 = value;
}
inline static int32_t get_offset_of_m_disposed_9() { return static_cast<int32_t>(offsetof(SymmetricAlgorithm_t4254223087, ___m_disposed_9)); }
inline bool get_m_disposed_9() const { return ___m_disposed_9; }
inline bool* get_address_of_m_disposed_9() { return &___m_disposed_9; }
inline void set_m_disposed_9(bool value)
{
___m_disposed_9 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SYMMETRICALGORITHM_T4254223087_H
#ifndef X509CHAIN_T194917408_H
#define X509CHAIN_T194917408_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.X509Certificates.X509Chain
struct X509Chain_t194917408 : public RuntimeObject
{
public:
// System.Security.Cryptography.X509Certificates.StoreLocation System.Security.Cryptography.X509Certificates.X509Chain::location
int32_t ___location_0;
// System.Security.Cryptography.X509Certificates.X509ChainElementCollection System.Security.Cryptography.X509Certificates.X509Chain::elements
X509ChainElementCollection_t3110968994 * ___elements_1;
// System.Security.Cryptography.X509Certificates.X509ChainPolicy System.Security.Cryptography.X509Certificates.X509Chain::policy
X509ChainPolicy_t2426922870 * ___policy_2;
// System.Security.Cryptography.X509Certificates.X509ChainStatus[] System.Security.Cryptography.X509Certificates.X509Chain::status
X509ChainStatusU5BU5D_t2685945535* ___status_3;
// System.Int32 System.Security.Cryptography.X509Certificates.X509Chain::max_path_length
int32_t ___max_path_length_5;
// System.Security.Cryptography.X509Certificates.X500DistinguishedName System.Security.Cryptography.X509Certificates.X509Chain::working_issuer_name
X500DistinguishedName_t875709727 * ___working_issuer_name_6;
// System.Security.Cryptography.AsymmetricAlgorithm System.Security.Cryptography.X509Certificates.X509Chain::working_public_key
AsymmetricAlgorithm_t932037087 * ___working_public_key_7;
// System.Security.Cryptography.X509Certificates.X509ChainElement System.Security.Cryptography.X509Certificates.X509Chain::bce_restriction
X509ChainElement_t1464056338 * ___bce_restriction_8;
// System.Security.Cryptography.X509Certificates.X509Store System.Security.Cryptography.X509Certificates.X509Chain::roots
X509Store_t2922691911 * ___roots_9;
// System.Security.Cryptography.X509Certificates.X509Store System.Security.Cryptography.X509Certificates.X509Chain::cas
X509Store_t2922691911 * ___cas_10;
// System.Security.Cryptography.X509Certificates.X509Certificate2Collection System.Security.Cryptography.X509Certificates.X509Chain::collection
X509Certificate2Collection_t2111161276 * ___collection_11;
public:
inline static int32_t get_offset_of_location_0() { return static_cast<int32_t>(offsetof(X509Chain_t194917408, ___location_0)); }
inline int32_t get_location_0() const { return ___location_0; }
inline int32_t* get_address_of_location_0() { return &___location_0; }
inline void set_location_0(int32_t value)
{
___location_0 = value;
}
inline static int32_t get_offset_of_elements_1() { return static_cast<int32_t>(offsetof(X509Chain_t194917408, ___elements_1)); }
inline X509ChainElementCollection_t3110968994 * get_elements_1() const { return ___elements_1; }
inline X509ChainElementCollection_t3110968994 ** get_address_of_elements_1() { return &___elements_1; }
inline void set_elements_1(X509ChainElementCollection_t3110968994 * value)
{
___elements_1 = value;
Il2CppCodeGenWriteBarrier((&___elements_1), value);
}
inline static int32_t get_offset_of_policy_2() { return static_cast<int32_t>(offsetof(X509Chain_t194917408, ___policy_2)); }
inline X509ChainPolicy_t2426922870 * get_policy_2() const { return ___policy_2; }
inline X509ChainPolicy_t2426922870 ** get_address_of_policy_2() { return &___policy_2; }
inline void set_policy_2(X509ChainPolicy_t2426922870 * value)
{
___policy_2 = value;
Il2CppCodeGenWriteBarrier((&___policy_2), value);
}
inline static int32_t get_offset_of_status_3() { return static_cast<int32_t>(offsetof(X509Chain_t194917408, ___status_3)); }
inline X509ChainStatusU5BU5D_t2685945535* get_status_3() const { return ___status_3; }
inline X509ChainStatusU5BU5D_t2685945535** get_address_of_status_3() { return &___status_3; }
inline void set_status_3(X509ChainStatusU5BU5D_t2685945535* value)
{
___status_3 = value;
Il2CppCodeGenWriteBarrier((&___status_3), value);
}
inline static int32_t get_offset_of_max_path_length_5() { return static_cast<int32_t>(offsetof(X509Chain_t194917408, ___max_path_length_5)); }
inline int32_t get_max_path_length_5() const { return ___max_path_length_5; }
inline int32_t* get_address_of_max_path_length_5() { return &___max_path_length_5; }
inline void set_max_path_length_5(int32_t value)
{
___max_path_length_5 = value;
}
inline static int32_t get_offset_of_working_issuer_name_6() { return static_cast<int32_t>(offsetof(X509Chain_t194917408, ___working_issuer_name_6)); }
inline X500DistinguishedName_t875709727 * get_working_issuer_name_6() const { return ___working_issuer_name_6; }
inline X500DistinguishedName_t875709727 ** get_address_of_working_issuer_name_6() { return &___working_issuer_name_6; }
inline void set_working_issuer_name_6(X500DistinguishedName_t875709727 * value)
{
___working_issuer_name_6 = value;
Il2CppCodeGenWriteBarrier((&___working_issuer_name_6), value);
}
inline static int32_t get_offset_of_working_public_key_7() { return static_cast<int32_t>(offsetof(X509Chain_t194917408, ___working_public_key_7)); }
inline AsymmetricAlgorithm_t932037087 * get_working_public_key_7() const { return ___working_public_key_7; }
inline AsymmetricAlgorithm_t932037087 ** get_address_of_working_public_key_7() { return &___working_public_key_7; }
inline void set_working_public_key_7(AsymmetricAlgorithm_t932037087 * value)
{
___working_public_key_7 = value;
Il2CppCodeGenWriteBarrier((&___working_public_key_7), value);
}
inline static int32_t get_offset_of_bce_restriction_8() { return static_cast<int32_t>(offsetof(X509Chain_t194917408, ___bce_restriction_8)); }
inline X509ChainElement_t1464056338 * get_bce_restriction_8() const { return ___bce_restriction_8; }
inline X509ChainElement_t1464056338 ** get_address_of_bce_restriction_8() { return &___bce_restriction_8; }
inline void set_bce_restriction_8(X509ChainElement_t1464056338 * value)
{
___bce_restriction_8 = value;
Il2CppCodeGenWriteBarrier((&___bce_restriction_8), value);
}
inline static int32_t get_offset_of_roots_9() { return static_cast<int32_t>(offsetof(X509Chain_t194917408, ___roots_9)); }
inline X509Store_t2922691911 * get_roots_9() const { return ___roots_9; }
inline X509Store_t2922691911 ** get_address_of_roots_9() { return &___roots_9; }
inline void set_roots_9(X509Store_t2922691911 * value)
{
___roots_9 = value;
Il2CppCodeGenWriteBarrier((&___roots_9), value);
}
inline static int32_t get_offset_of_cas_10() { return static_cast<int32_t>(offsetof(X509Chain_t194917408, ___cas_10)); }
inline X509Store_t2922691911 * get_cas_10() const { return ___cas_10; }
inline X509Store_t2922691911 ** get_address_of_cas_10() { return &___cas_10; }
inline void set_cas_10(X509Store_t2922691911 * value)
{
___cas_10 = value;
Il2CppCodeGenWriteBarrier((&___cas_10), value);
}
inline static int32_t get_offset_of_collection_11() { return static_cast<int32_t>(offsetof(X509Chain_t194917408, ___collection_11)); }
inline X509Certificate2Collection_t2111161276 * get_collection_11() const { return ___collection_11; }
inline X509Certificate2Collection_t2111161276 ** get_address_of_collection_11() { return &___collection_11; }
inline void set_collection_11(X509Certificate2Collection_t2111161276 * value)
{
___collection_11 = value;
Il2CppCodeGenWriteBarrier((&___collection_11), value);
}
};
struct X509Chain_t194917408_StaticFields
{
public:
// System.Security.Cryptography.X509Certificates.X509ChainStatus[] System.Security.Cryptography.X509Certificates.X509Chain::Empty
X509ChainStatusU5BU5D_t2685945535* ___Empty_4;
// System.Collections.Generic.Dictionary`2<System.String,System.Int32> System.Security.Cryptography.X509Certificates.X509Chain::<>f__switch$mapB
Dictionary_2_t2736202052 * ___U3CU3Ef__switchU24mapB_12;
// System.Collections.Generic.Dictionary`2<System.String,System.Int32> System.Security.Cryptography.X509Certificates.X509Chain::<>f__switch$mapC
Dictionary_2_t2736202052 * ___U3CU3Ef__switchU24mapC_13;
// System.Collections.Generic.Dictionary`2<System.String,System.Int32> System.Security.Cryptography.X509Certificates.X509Chain::<>f__switch$mapD
Dictionary_2_t2736202052 * ___U3CU3Ef__switchU24mapD_14;
public:
inline static int32_t get_offset_of_Empty_4() { return static_cast<int32_t>(offsetof(X509Chain_t194917408_StaticFields, ___Empty_4)); }
inline X509ChainStatusU5BU5D_t2685945535* get_Empty_4() const { return ___Empty_4; }
inline X509ChainStatusU5BU5D_t2685945535** get_address_of_Empty_4() { return &___Empty_4; }
inline void set_Empty_4(X509ChainStatusU5BU5D_t2685945535* value)
{
___Empty_4 = value;
Il2CppCodeGenWriteBarrier((&___Empty_4), value);
}
inline static int32_t get_offset_of_U3CU3Ef__switchU24mapB_12() { return static_cast<int32_t>(offsetof(X509Chain_t194917408_StaticFields, ___U3CU3Ef__switchU24mapB_12)); }
inline Dictionary_2_t2736202052 * get_U3CU3Ef__switchU24mapB_12() const { return ___U3CU3Ef__switchU24mapB_12; }
inline Dictionary_2_t2736202052 ** get_address_of_U3CU3Ef__switchU24mapB_12() { return &___U3CU3Ef__switchU24mapB_12; }
inline void set_U3CU3Ef__switchU24mapB_12(Dictionary_2_t2736202052 * value)
{
___U3CU3Ef__switchU24mapB_12 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__switchU24mapB_12), value);
}
inline static int32_t get_offset_of_U3CU3Ef__switchU24mapC_13() { return static_cast<int32_t>(offsetof(X509Chain_t194917408_StaticFields, ___U3CU3Ef__switchU24mapC_13)); }
inline Dictionary_2_t2736202052 * get_U3CU3Ef__switchU24mapC_13() const { return ___U3CU3Ef__switchU24mapC_13; }
inline Dictionary_2_t2736202052 ** get_address_of_U3CU3Ef__switchU24mapC_13() { return &___U3CU3Ef__switchU24mapC_13; }
inline void set_U3CU3Ef__switchU24mapC_13(Dictionary_2_t2736202052 * value)
{
___U3CU3Ef__switchU24mapC_13 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__switchU24mapC_13), value);
}
inline static int32_t get_offset_of_U3CU3Ef__switchU24mapD_14() { return static_cast<int32_t>(offsetof(X509Chain_t194917408_StaticFields, ___U3CU3Ef__switchU24mapD_14)); }
inline Dictionary_2_t2736202052 * get_U3CU3Ef__switchU24mapD_14() const { return ___U3CU3Ef__switchU24mapD_14; }
inline Dictionary_2_t2736202052 ** get_address_of_U3CU3Ef__switchU24mapD_14() { return &___U3CU3Ef__switchU24mapD_14; }
inline void set_U3CU3Ef__switchU24mapD_14(Dictionary_2_t2736202052 * value)
{
___U3CU3Ef__switchU24mapD_14 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__switchU24mapD_14), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // X509CHAIN_T194917408_H
#ifndef REGEX_T3657309853_H
#define REGEX_T3657309853_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Text.RegularExpressions.Regex
struct Regex_t3657309853 : public RuntimeObject
{
public:
// System.Text.RegularExpressions.IMachineFactory System.Text.RegularExpressions.Regex::machineFactory
RuntimeObject* ___machineFactory_1;
// System.Collections.IDictionary System.Text.RegularExpressions.Regex::mapping
RuntimeObject* ___mapping_2;
// System.Int32 System.Text.RegularExpressions.Regex::group_count
int32_t ___group_count_3;
// System.Int32 System.Text.RegularExpressions.Regex::gap
int32_t ___gap_4;
// System.String[] System.Text.RegularExpressions.Regex::group_names
StringU5BU5D_t1281789340* ___group_names_5;
// System.Int32[] System.Text.RegularExpressions.Regex::group_numbers
Int32U5BU5D_t385246372* ___group_numbers_6;
// System.String System.Text.RegularExpressions.Regex::pattern
String_t* ___pattern_7;
// System.Text.RegularExpressions.RegexOptions System.Text.RegularExpressions.Regex::roptions
int32_t ___roptions_8;
public:
inline static int32_t get_offset_of_machineFactory_1() { return static_cast<int32_t>(offsetof(Regex_t3657309853, ___machineFactory_1)); }
inline RuntimeObject* get_machineFactory_1() const { return ___machineFactory_1; }
inline RuntimeObject** get_address_of_machineFactory_1() { return &___machineFactory_1; }
inline void set_machineFactory_1(RuntimeObject* value)
{
___machineFactory_1 = value;
Il2CppCodeGenWriteBarrier((&___machineFactory_1), value);
}
inline static int32_t get_offset_of_mapping_2() { return static_cast<int32_t>(offsetof(Regex_t3657309853, ___mapping_2)); }
inline RuntimeObject* get_mapping_2() const { return ___mapping_2; }
inline RuntimeObject** get_address_of_mapping_2() { return &___mapping_2; }
inline void set_mapping_2(RuntimeObject* value)
{
___mapping_2 = value;
Il2CppCodeGenWriteBarrier((&___mapping_2), value);
}
inline static int32_t get_offset_of_group_count_3() { return static_cast<int32_t>(offsetof(Regex_t3657309853, ___group_count_3)); }
inline int32_t get_group_count_3() const { return ___group_count_3; }
inline int32_t* get_address_of_group_count_3() { return &___group_count_3; }
inline void set_group_count_3(int32_t value)
{
___group_count_3 = value;
}
inline static int32_t get_offset_of_gap_4() { return static_cast<int32_t>(offsetof(Regex_t3657309853, ___gap_4)); }
inline int32_t get_gap_4() const { return ___gap_4; }
inline int32_t* get_address_of_gap_4() { return &___gap_4; }
inline void set_gap_4(int32_t value)
{
___gap_4 = value;
}
inline static int32_t get_offset_of_group_names_5() { return static_cast<int32_t>(offsetof(Regex_t3657309853, ___group_names_5)); }
inline StringU5BU5D_t1281789340* get_group_names_5() const { return ___group_names_5; }
inline StringU5BU5D_t1281789340** get_address_of_group_names_5() { return &___group_names_5; }
inline void set_group_names_5(StringU5BU5D_t1281789340* value)
{
___group_names_5 = value;
Il2CppCodeGenWriteBarrier((&___group_names_5), value);
}
inline static int32_t get_offset_of_group_numbers_6() { return static_cast<int32_t>(offsetof(Regex_t3657309853, ___group_numbers_6)); }
inline Int32U5BU5D_t385246372* get_group_numbers_6() const { return ___group_numbers_6; }
inline Int32U5BU5D_t385246372** get_address_of_group_numbers_6() { return &___group_numbers_6; }
inline void set_group_numbers_6(Int32U5BU5D_t385246372* value)
{
___group_numbers_6 = value;
Il2CppCodeGenWriteBarrier((&___group_numbers_6), value);
}
inline static int32_t get_offset_of_pattern_7() { return static_cast<int32_t>(offsetof(Regex_t3657309853, ___pattern_7)); }
inline String_t* get_pattern_7() const { return ___pattern_7; }
inline String_t** get_address_of_pattern_7() { return &___pattern_7; }
inline void set_pattern_7(String_t* value)
{
___pattern_7 = value;
Il2CppCodeGenWriteBarrier((&___pattern_7), value);
}
inline static int32_t get_offset_of_roptions_8() { return static_cast<int32_t>(offsetof(Regex_t3657309853, ___roptions_8)); }
inline int32_t get_roptions_8() const { return ___roptions_8; }
inline int32_t* get_address_of_roptions_8() { return &___roptions_8; }
inline void set_roptions_8(int32_t value)
{
___roptions_8 = value;
}
};
struct Regex_t3657309853_StaticFields
{
public:
// System.Text.RegularExpressions.FactoryCache System.Text.RegularExpressions.Regex::cache
FactoryCache_t2327118887 * ___cache_0;
public:
inline static int32_t get_offset_of_cache_0() { return static_cast<int32_t>(offsetof(Regex_t3657309853_StaticFields, ___cache_0)); }
inline FactoryCache_t2327118887 * get_cache_0() const { return ___cache_0; }
inline FactoryCache_t2327118887 ** get_address_of_cache_0() { return &___cache_0; }
inline void set_cache_0(FactoryCache_t2327118887 * value)
{
___cache_0 = value;
Il2CppCodeGenWriteBarrier((&___cache_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // REGEX_T3657309853_H
#ifndef EVENTWAITHANDLE_T777845177_H
#define EVENTWAITHANDLE_T777845177_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Threading.EventWaitHandle
struct EventWaitHandle_t777845177 : public WaitHandle_t1743403487
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EVENTWAITHANDLE_T777845177_H
#ifndef TYPE_T_H
#define TYPE_T_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Type
struct Type_t : public MemberInfo_t
{
public:
// System.RuntimeTypeHandle System.Type::_impl
RuntimeTypeHandle_t3027515415 ____impl_1;
public:
inline static int32_t get_offset_of__impl_1() { return static_cast<int32_t>(offsetof(Type_t, ____impl_1)); }
inline RuntimeTypeHandle_t3027515415 get__impl_1() const { return ____impl_1; }
inline RuntimeTypeHandle_t3027515415 * get_address_of__impl_1() { return &____impl_1; }
inline void set__impl_1(RuntimeTypeHandle_t3027515415 value)
{
____impl_1 = value;
}
};
struct Type_t_StaticFields
{
public:
// System.Char System.Type::Delimiter
Il2CppChar ___Delimiter_2;
// System.Type[] System.Type::EmptyTypes
TypeU5BU5D_t3940880105* ___EmptyTypes_3;
// System.Reflection.MemberFilter System.Type::FilterAttribute
MemberFilter_t426314064 * ___FilterAttribute_4;
// System.Reflection.MemberFilter System.Type::FilterName
MemberFilter_t426314064 * ___FilterName_5;
// System.Reflection.MemberFilter System.Type::FilterNameIgnoreCase
MemberFilter_t426314064 * ___FilterNameIgnoreCase_6;
// System.Object System.Type::Missing
RuntimeObject * ___Missing_7;
public:
inline static int32_t get_offset_of_Delimiter_2() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___Delimiter_2)); }
inline Il2CppChar get_Delimiter_2() const { return ___Delimiter_2; }
inline Il2CppChar* get_address_of_Delimiter_2() { return &___Delimiter_2; }
inline void set_Delimiter_2(Il2CppChar value)
{
___Delimiter_2 = value;
}
inline static int32_t get_offset_of_EmptyTypes_3() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___EmptyTypes_3)); }
inline TypeU5BU5D_t3940880105* get_EmptyTypes_3() const { return ___EmptyTypes_3; }
inline TypeU5BU5D_t3940880105** get_address_of_EmptyTypes_3() { return &___EmptyTypes_3; }
inline void set_EmptyTypes_3(TypeU5BU5D_t3940880105* value)
{
___EmptyTypes_3 = value;
Il2CppCodeGenWriteBarrier((&___EmptyTypes_3), value);
}
inline static int32_t get_offset_of_FilterAttribute_4() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterAttribute_4)); }
inline MemberFilter_t426314064 * get_FilterAttribute_4() const { return ___FilterAttribute_4; }
inline MemberFilter_t426314064 ** get_address_of_FilterAttribute_4() { return &___FilterAttribute_4; }
inline void set_FilterAttribute_4(MemberFilter_t426314064 * value)
{
___FilterAttribute_4 = value;
Il2CppCodeGenWriteBarrier((&___FilterAttribute_4), value);
}
inline static int32_t get_offset_of_FilterName_5() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterName_5)); }
inline MemberFilter_t426314064 * get_FilterName_5() const { return ___FilterName_5; }
inline MemberFilter_t426314064 ** get_address_of_FilterName_5() { return &___FilterName_5; }
inline void set_FilterName_5(MemberFilter_t426314064 * value)
{
___FilterName_5 = value;
Il2CppCodeGenWriteBarrier((&___FilterName_5), value);
}
inline static int32_t get_offset_of_FilterNameIgnoreCase_6() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterNameIgnoreCase_6)); }
inline MemberFilter_t426314064 * get_FilterNameIgnoreCase_6() const { return ___FilterNameIgnoreCase_6; }
inline MemberFilter_t426314064 ** get_address_of_FilterNameIgnoreCase_6() { return &___FilterNameIgnoreCase_6; }
inline void set_FilterNameIgnoreCase_6(MemberFilter_t426314064 * value)
{
___FilterNameIgnoreCase_6 = value;
Il2CppCodeGenWriteBarrier((&___FilterNameIgnoreCase_6), value);
}
inline static int32_t get_offset_of_Missing_7() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___Missing_7)); }
inline RuntimeObject * get_Missing_7() const { return ___Missing_7; }
inline RuntimeObject ** get_address_of_Missing_7() { return &___Missing_7; }
inline void set_Missing_7(RuntimeObject * value)
{
___Missing_7 = value;
Il2CppCodeGenWriteBarrier((&___Missing_7), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TYPE_T_H
#ifndef PRIMALITYTEST_T1539325944_H
#define PRIMALITYTEST_T1539325944_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Math.Prime.PrimalityTest
struct PrimalityTest_t1539325944 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PRIMALITYTEST_T1539325944_H
#ifndef RC4_T2752556436_H
#define RC4_T2752556436_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Cryptography.RC4
struct RC4_t2752556436 : public SymmetricAlgorithm_t4254223087
{
public:
public:
};
struct RC4_t2752556436_StaticFields
{
public:
// System.Security.Cryptography.KeySizes[] Mono.Security.Cryptography.RC4::s_legalBlockSizes
KeySizesU5BU5D_t722666473* ___s_legalBlockSizes_10;
// System.Security.Cryptography.KeySizes[] Mono.Security.Cryptography.RC4::s_legalKeySizes
KeySizesU5BU5D_t722666473* ___s_legalKeySizes_11;
public:
inline static int32_t get_offset_of_s_legalBlockSizes_10() { return static_cast<int32_t>(offsetof(RC4_t2752556436_StaticFields, ___s_legalBlockSizes_10)); }
inline KeySizesU5BU5D_t722666473* get_s_legalBlockSizes_10() const { return ___s_legalBlockSizes_10; }
inline KeySizesU5BU5D_t722666473** get_address_of_s_legalBlockSizes_10() { return &___s_legalBlockSizes_10; }
inline void set_s_legalBlockSizes_10(KeySizesU5BU5D_t722666473* value)
{
___s_legalBlockSizes_10 = value;
Il2CppCodeGenWriteBarrier((&___s_legalBlockSizes_10), value);
}
inline static int32_t get_offset_of_s_legalKeySizes_11() { return static_cast<int32_t>(offsetof(RC4_t2752556436_StaticFields, ___s_legalKeySizes_11)); }
inline KeySizesU5BU5D_t722666473* get_s_legalKeySizes_11() const { return ___s_legalKeySizes_11; }
inline KeySizesU5BU5D_t722666473** get_address_of_s_legalKeySizes_11() { return &___s_legalKeySizes_11; }
inline void set_s_legalKeySizes_11(KeySizesU5BU5D_t722666473* value)
{
___s_legalKeySizes_11 = value;
Il2CppCodeGenWriteBarrier((&___s_legalKeySizes_11), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RC4_T2752556436_H
#ifndef KEYGENERATEDEVENTHANDLER_T3064139578_H
#define KEYGENERATEDEVENTHANDLER_T3064139578_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Cryptography.RSAManaged/KeyGeneratedEventHandler
struct KeyGeneratedEventHandler_t3064139578 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // KEYGENERATEDEVENTHANDLER_T3064139578_H
#ifndef CERTIFICATESELECTIONCALLBACK_T3743405224_H
#define CERTIFICATESELECTIONCALLBACK_T3743405224_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.CertificateSelectionCallback
struct CertificateSelectionCallback_t3743405224 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CERTIFICATESELECTIONCALLBACK_T3743405224_H
#ifndef CERTIFICATEVALIDATIONCALLBACK_T4091668218_H
#define CERTIFICATEVALIDATIONCALLBACK_T4091668218_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.CertificateValidationCallback
struct CertificateValidationCallback_t4091668218 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CERTIFICATEVALIDATIONCALLBACK_T4091668218_H
#ifndef CERTIFICATEVALIDATIONCALLBACK2_T1842476440_H
#define CERTIFICATEVALIDATIONCALLBACK2_T1842476440_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.CertificateValidationCallback2
struct CertificateValidationCallback2_t1842476440 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CERTIFICATEVALIDATIONCALLBACK2_T1842476440_H
#ifndef CLIENTCONTEXT_T2797401965_H
#define CLIENTCONTEXT_T2797401965_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.ClientContext
struct ClientContext_t2797401965 : public Context_t3971234707
{
public:
// Mono.Security.Protocol.Tls.SslClientStream Mono.Security.Protocol.Tls.ClientContext::sslStream
SslClientStream_t3914624661 * ___sslStream_30;
// System.Int16 Mono.Security.Protocol.Tls.ClientContext::clientHelloProtocol
int16_t ___clientHelloProtocol_31;
public:
inline static int32_t get_offset_of_sslStream_30() { return static_cast<int32_t>(offsetof(ClientContext_t2797401965, ___sslStream_30)); }
inline SslClientStream_t3914624661 * get_sslStream_30() const { return ___sslStream_30; }
inline SslClientStream_t3914624661 ** get_address_of_sslStream_30() { return &___sslStream_30; }
inline void set_sslStream_30(SslClientStream_t3914624661 * value)
{
___sslStream_30 = value;
Il2CppCodeGenWriteBarrier((&___sslStream_30), value);
}
inline static int32_t get_offset_of_clientHelloProtocol_31() { return static_cast<int32_t>(offsetof(ClientContext_t2797401965, ___clientHelloProtocol_31)); }
inline int16_t get_clientHelloProtocol_31() const { return ___clientHelloProtocol_31; }
inline int16_t* get_address_of_clientHelloProtocol_31() { return &___clientHelloProtocol_31; }
inline void set_clientHelloProtocol_31(int16_t value)
{
___clientHelloProtocol_31 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CLIENTCONTEXT_T2797401965_H
#ifndef CLIENTSESSIONINFO_T1775821398_H
#define CLIENTSESSIONINFO_T1775821398_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.ClientSessionInfo
struct ClientSessionInfo_t1775821398 : public RuntimeObject
{
public:
// System.Boolean Mono.Security.Protocol.Tls.ClientSessionInfo::disposed
bool ___disposed_1;
// System.DateTime Mono.Security.Protocol.Tls.ClientSessionInfo::validuntil
DateTime_t3738529785 ___validuntil_2;
// System.String Mono.Security.Protocol.Tls.ClientSessionInfo::host
String_t* ___host_3;
// System.Byte[] Mono.Security.Protocol.Tls.ClientSessionInfo::sid
ByteU5BU5D_t4116647657* ___sid_4;
// System.Byte[] Mono.Security.Protocol.Tls.ClientSessionInfo::masterSecret
ByteU5BU5D_t4116647657* ___masterSecret_5;
public:
inline static int32_t get_offset_of_disposed_1() { return static_cast<int32_t>(offsetof(ClientSessionInfo_t1775821398, ___disposed_1)); }
inline bool get_disposed_1() const { return ___disposed_1; }
inline bool* get_address_of_disposed_1() { return &___disposed_1; }
inline void set_disposed_1(bool value)
{
___disposed_1 = value;
}
inline static int32_t get_offset_of_validuntil_2() { return static_cast<int32_t>(offsetof(ClientSessionInfo_t1775821398, ___validuntil_2)); }
inline DateTime_t3738529785 get_validuntil_2() const { return ___validuntil_2; }
inline DateTime_t3738529785 * get_address_of_validuntil_2() { return &___validuntil_2; }
inline void set_validuntil_2(DateTime_t3738529785 value)
{
___validuntil_2 = value;
}
inline static int32_t get_offset_of_host_3() { return static_cast<int32_t>(offsetof(ClientSessionInfo_t1775821398, ___host_3)); }
inline String_t* get_host_3() const { return ___host_3; }
inline String_t** get_address_of_host_3() { return &___host_3; }
inline void set_host_3(String_t* value)
{
___host_3 = value;
Il2CppCodeGenWriteBarrier((&___host_3), value);
}
inline static int32_t get_offset_of_sid_4() { return static_cast<int32_t>(offsetof(ClientSessionInfo_t1775821398, ___sid_4)); }
inline ByteU5BU5D_t4116647657* get_sid_4() const { return ___sid_4; }
inline ByteU5BU5D_t4116647657** get_address_of_sid_4() { return &___sid_4; }
inline void set_sid_4(ByteU5BU5D_t4116647657* value)
{
___sid_4 = value;
Il2CppCodeGenWriteBarrier((&___sid_4), value);
}
inline static int32_t get_offset_of_masterSecret_5() { return static_cast<int32_t>(offsetof(ClientSessionInfo_t1775821398, ___masterSecret_5)); }
inline ByteU5BU5D_t4116647657* get_masterSecret_5() const { return ___masterSecret_5; }
inline ByteU5BU5D_t4116647657** get_address_of_masterSecret_5() { return &___masterSecret_5; }
inline void set_masterSecret_5(ByteU5BU5D_t4116647657* value)
{
___masterSecret_5 = value;
Il2CppCodeGenWriteBarrier((&___masterSecret_5), value);
}
};
struct ClientSessionInfo_t1775821398_StaticFields
{
public:
// System.Int32 Mono.Security.Protocol.Tls.ClientSessionInfo::ValidityInterval
int32_t ___ValidityInterval_0;
public:
inline static int32_t get_offset_of_ValidityInterval_0() { return static_cast<int32_t>(offsetof(ClientSessionInfo_t1775821398_StaticFields, ___ValidityInterval_0)); }
inline int32_t get_ValidityInterval_0() const { return ___ValidityInterval_0; }
inline int32_t* get_address_of_ValidityInterval_0() { return &___ValidityInterval_0; }
inline void set_ValidityInterval_0(int32_t value)
{
___ValidityInterval_0 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CLIENTSESSIONINFO_T1775821398_H
#ifndef TLSCLIENTCERTIFICATE_T3519510577_H
#define TLSCLIENTCERTIFICATE_T3519510577_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.Handshake.Client.TlsClientCertificate
struct TlsClientCertificate_t3519510577 : public HandshakeMessage_t3696583168
{
public:
// System.Boolean Mono.Security.Protocol.Tls.Handshake.Client.TlsClientCertificate::clientCertSelected
bool ___clientCertSelected_9;
// System.Security.Cryptography.X509Certificates.X509Certificate Mono.Security.Protocol.Tls.Handshake.Client.TlsClientCertificate::clientCert
X509Certificate_t713131622 * ___clientCert_10;
public:
inline static int32_t get_offset_of_clientCertSelected_9() { return static_cast<int32_t>(offsetof(TlsClientCertificate_t3519510577, ___clientCertSelected_9)); }
inline bool get_clientCertSelected_9() const { return ___clientCertSelected_9; }
inline bool* get_address_of_clientCertSelected_9() { return &___clientCertSelected_9; }
inline void set_clientCertSelected_9(bool value)
{
___clientCertSelected_9 = value;
}
inline static int32_t get_offset_of_clientCert_10() { return static_cast<int32_t>(offsetof(TlsClientCertificate_t3519510577, ___clientCert_10)); }
inline X509Certificate_t713131622 * get_clientCert_10() const { return ___clientCert_10; }
inline X509Certificate_t713131622 ** get_address_of_clientCert_10() { return &___clientCert_10; }
inline void set_clientCert_10(X509Certificate_t713131622 * value)
{
___clientCert_10 = value;
Il2CppCodeGenWriteBarrier((&___clientCert_10), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TLSCLIENTCERTIFICATE_T3519510577_H
#ifndef TLSCLIENTCERTIFICATEVERIFY_T1824902654_H
#define TLSCLIENTCERTIFICATEVERIFY_T1824902654_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.Handshake.Client.TlsClientCertificateVerify
struct TlsClientCertificateVerify_t1824902654 : public HandshakeMessage_t3696583168
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TLSCLIENTCERTIFICATEVERIFY_T1824902654_H
#ifndef TLSCLIENTFINISHED_T2486981163_H
#define TLSCLIENTFINISHED_T2486981163_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.Handshake.Client.TlsClientFinished
struct TlsClientFinished_t2486981163 : public HandshakeMessage_t3696583168
{
public:
public:
};
struct TlsClientFinished_t2486981163_StaticFields
{
public:
// System.Byte[] Mono.Security.Protocol.Tls.Handshake.Client.TlsClientFinished::Ssl3Marker
ByteU5BU5D_t4116647657* ___Ssl3Marker_9;
public:
inline static int32_t get_offset_of_Ssl3Marker_9() { return static_cast<int32_t>(offsetof(TlsClientFinished_t2486981163_StaticFields, ___Ssl3Marker_9)); }
inline ByteU5BU5D_t4116647657* get_Ssl3Marker_9() const { return ___Ssl3Marker_9; }
inline ByteU5BU5D_t4116647657** get_address_of_Ssl3Marker_9() { return &___Ssl3Marker_9; }
inline void set_Ssl3Marker_9(ByteU5BU5D_t4116647657* value)
{
___Ssl3Marker_9 = value;
Il2CppCodeGenWriteBarrier((&___Ssl3Marker_9), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TLSCLIENTFINISHED_T2486981163_H
#ifndef TLSCLIENTHELLO_T97965998_H
#define TLSCLIENTHELLO_T97965998_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.Handshake.Client.TlsClientHello
struct TlsClientHello_t97965998 : public HandshakeMessage_t3696583168
{
public:
// System.Byte[] Mono.Security.Protocol.Tls.Handshake.Client.TlsClientHello::random
ByteU5BU5D_t4116647657* ___random_9;
public:
inline static int32_t get_offset_of_random_9() { return static_cast<int32_t>(offsetof(TlsClientHello_t97965998, ___random_9)); }
inline ByteU5BU5D_t4116647657* get_random_9() const { return ___random_9; }
inline ByteU5BU5D_t4116647657** get_address_of_random_9() { return &___random_9; }
inline void set_random_9(ByteU5BU5D_t4116647657* value)
{
___random_9 = value;
Il2CppCodeGenWriteBarrier((&___random_9), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TLSCLIENTHELLO_T97965998_H
#ifndef TLSCLIENTKEYEXCHANGE_T643923608_H
#define TLSCLIENTKEYEXCHANGE_T643923608_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.Handshake.Client.TlsClientKeyExchange
struct TlsClientKeyExchange_t643923608 : public HandshakeMessage_t3696583168
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TLSCLIENTKEYEXCHANGE_T643923608_H
#ifndef TLSSERVERCERTIFICATE_T2716496392_H
#define TLSSERVERCERTIFICATE_T2716496392_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate
struct TlsServerCertificate_t2716496392 : public HandshakeMessage_t3696583168
{
public:
// Mono.Security.X509.X509CertificateCollection Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate::certificates
X509CertificateCollection_t1542168550 * ___certificates_9;
public:
inline static int32_t get_offset_of_certificates_9() { return static_cast<int32_t>(offsetof(TlsServerCertificate_t2716496392, ___certificates_9)); }
inline X509CertificateCollection_t1542168550 * get_certificates_9() const { return ___certificates_9; }
inline X509CertificateCollection_t1542168550 ** get_address_of_certificates_9() { return &___certificates_9; }
inline void set_certificates_9(X509CertificateCollection_t1542168550 * value)
{
___certificates_9 = value;
Il2CppCodeGenWriteBarrier((&___certificates_9), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TLSSERVERCERTIFICATE_T2716496392_H
#ifndef TLSSERVERCERTIFICATEREQUEST_T3690397592_H
#define TLSSERVERCERTIFICATEREQUEST_T3690397592_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificateRequest
struct TlsServerCertificateRequest_t3690397592 : public HandshakeMessage_t3696583168
{
public:
// Mono.Security.Protocol.Tls.Handshake.ClientCertificateType[] Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificateRequest::certificateTypes
ClientCertificateTypeU5BU5D_t4253920197* ___certificateTypes_9;
// System.String[] Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificateRequest::distinguisedNames
StringU5BU5D_t1281789340* ___distinguisedNames_10;
public:
inline static int32_t get_offset_of_certificateTypes_9() { return static_cast<int32_t>(offsetof(TlsServerCertificateRequest_t3690397592, ___certificateTypes_9)); }
inline ClientCertificateTypeU5BU5D_t4253920197* get_certificateTypes_9() const { return ___certificateTypes_9; }
inline ClientCertificateTypeU5BU5D_t4253920197** get_address_of_certificateTypes_9() { return &___certificateTypes_9; }
inline void set_certificateTypes_9(ClientCertificateTypeU5BU5D_t4253920197* value)
{
___certificateTypes_9 = value;
Il2CppCodeGenWriteBarrier((&___certificateTypes_9), value);
}
inline static int32_t get_offset_of_distinguisedNames_10() { return static_cast<int32_t>(offsetof(TlsServerCertificateRequest_t3690397592, ___distinguisedNames_10)); }
inline StringU5BU5D_t1281789340* get_distinguisedNames_10() const { return ___distinguisedNames_10; }
inline StringU5BU5D_t1281789340** get_address_of_distinguisedNames_10() { return &___distinguisedNames_10; }
inline void set_distinguisedNames_10(StringU5BU5D_t1281789340* value)
{
___distinguisedNames_10 = value;
Il2CppCodeGenWriteBarrier((&___distinguisedNames_10), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TLSSERVERCERTIFICATEREQUEST_T3690397592_H
#ifndef TLSSERVERFINISHED_T3860330041_H
#define TLSSERVERFINISHED_T3860330041_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.Handshake.Client.TlsServerFinished
struct TlsServerFinished_t3860330041 : public HandshakeMessage_t3696583168
{
public:
public:
};
struct TlsServerFinished_t3860330041_StaticFields
{
public:
// System.Byte[] Mono.Security.Protocol.Tls.Handshake.Client.TlsServerFinished::Ssl3Marker
ByteU5BU5D_t4116647657* ___Ssl3Marker_9;
public:
inline static int32_t get_offset_of_Ssl3Marker_9() { return static_cast<int32_t>(offsetof(TlsServerFinished_t3860330041_StaticFields, ___Ssl3Marker_9)); }
inline ByteU5BU5D_t4116647657* get_Ssl3Marker_9() const { return ___Ssl3Marker_9; }
inline ByteU5BU5D_t4116647657** get_address_of_Ssl3Marker_9() { return &___Ssl3Marker_9; }
inline void set_Ssl3Marker_9(ByteU5BU5D_t4116647657* value)
{
___Ssl3Marker_9 = value;
Il2CppCodeGenWriteBarrier((&___Ssl3Marker_9), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TLSSERVERFINISHED_T3860330041_H
#ifndef TLSSERVERHELLO_T3343859594_H
#define TLSSERVERHELLO_T3343859594_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.Handshake.Client.TlsServerHello
struct TlsServerHello_t3343859594 : public HandshakeMessage_t3696583168
{
public:
// Mono.Security.Protocol.Tls.SecurityCompressionType Mono.Security.Protocol.Tls.Handshake.Client.TlsServerHello::compressionMethod
int32_t ___compressionMethod_9;
// System.Byte[] Mono.Security.Protocol.Tls.Handshake.Client.TlsServerHello::random
ByteU5BU5D_t4116647657* ___random_10;
// System.Byte[] Mono.Security.Protocol.Tls.Handshake.Client.TlsServerHello::sessionId
ByteU5BU5D_t4116647657* ___sessionId_11;
// Mono.Security.Protocol.Tls.CipherSuite Mono.Security.Protocol.Tls.Handshake.Client.TlsServerHello::cipherSuite
CipherSuite_t3414744575 * ___cipherSuite_12;
public:
inline static int32_t get_offset_of_compressionMethod_9() { return static_cast<int32_t>(offsetof(TlsServerHello_t3343859594, ___compressionMethod_9)); }
inline int32_t get_compressionMethod_9() const { return ___compressionMethod_9; }
inline int32_t* get_address_of_compressionMethod_9() { return &___compressionMethod_9; }
inline void set_compressionMethod_9(int32_t value)
{
___compressionMethod_9 = value;
}
inline static int32_t get_offset_of_random_10() { return static_cast<int32_t>(offsetof(TlsServerHello_t3343859594, ___random_10)); }
inline ByteU5BU5D_t4116647657* get_random_10() const { return ___random_10; }
inline ByteU5BU5D_t4116647657** get_address_of_random_10() { return &___random_10; }
inline void set_random_10(ByteU5BU5D_t4116647657* value)
{
___random_10 = value;
Il2CppCodeGenWriteBarrier((&___random_10), value);
}
inline static int32_t get_offset_of_sessionId_11() { return static_cast<int32_t>(offsetof(TlsServerHello_t3343859594, ___sessionId_11)); }
inline ByteU5BU5D_t4116647657* get_sessionId_11() const { return ___sessionId_11; }
inline ByteU5BU5D_t4116647657** get_address_of_sessionId_11() { return &___sessionId_11; }
inline void set_sessionId_11(ByteU5BU5D_t4116647657* value)
{
___sessionId_11 = value;
Il2CppCodeGenWriteBarrier((&___sessionId_11), value);
}
inline static int32_t get_offset_of_cipherSuite_12() { return static_cast<int32_t>(offsetof(TlsServerHello_t3343859594, ___cipherSuite_12)); }
inline CipherSuite_t3414744575 * get_cipherSuite_12() const { return ___cipherSuite_12; }
inline CipherSuite_t3414744575 ** get_address_of_cipherSuite_12() { return &___cipherSuite_12; }
inline void set_cipherSuite_12(CipherSuite_t3414744575 * value)
{
___cipherSuite_12 = value;
Il2CppCodeGenWriteBarrier((&___cipherSuite_12), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TLSSERVERHELLO_T3343859594_H
#ifndef TLSSERVERHELLODONE_T1850379324_H
#define TLSSERVERHELLODONE_T1850379324_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.Handshake.Client.TlsServerHelloDone
struct TlsServerHelloDone_t1850379324 : public HandshakeMessage_t3696583168
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TLSSERVERHELLODONE_T1850379324_H
#ifndef TLSSERVERKEYEXCHANGE_T699469151_H
#define TLSSERVERKEYEXCHANGE_T699469151_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.Handshake.Client.TlsServerKeyExchange
struct TlsServerKeyExchange_t699469151 : public HandshakeMessage_t3696583168
{
public:
// System.Security.Cryptography.RSAParameters Mono.Security.Protocol.Tls.Handshake.Client.TlsServerKeyExchange::rsaParams
RSAParameters_t1728406613 ___rsaParams_9;
// System.Byte[] Mono.Security.Protocol.Tls.Handshake.Client.TlsServerKeyExchange::signedParams
ByteU5BU5D_t4116647657* ___signedParams_10;
public:
inline static int32_t get_offset_of_rsaParams_9() { return static_cast<int32_t>(offsetof(TlsServerKeyExchange_t699469151, ___rsaParams_9)); }
inline RSAParameters_t1728406613 get_rsaParams_9() const { return ___rsaParams_9; }
inline RSAParameters_t1728406613 * get_address_of_rsaParams_9() { return &___rsaParams_9; }
inline void set_rsaParams_9(RSAParameters_t1728406613 value)
{
___rsaParams_9 = value;
}
inline static int32_t get_offset_of_signedParams_10() { return static_cast<int32_t>(offsetof(TlsServerKeyExchange_t699469151, ___signedParams_10)); }
inline ByteU5BU5D_t4116647657* get_signedParams_10() const { return ___signedParams_10; }
inline ByteU5BU5D_t4116647657** get_address_of_signedParams_10() { return &___signedParams_10; }
inline void set_signedParams_10(ByteU5BU5D_t4116647657* value)
{
___signedParams_10 = value;
Il2CppCodeGenWriteBarrier((&___signedParams_10), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TLSSERVERKEYEXCHANGE_T699469151_H
#ifndef HTTPSCLIENTSTREAM_T1160552561_H
#define HTTPSCLIENTSTREAM_T1160552561_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.HttpsClientStream
struct HttpsClientStream_t1160552561 : public SslClientStream_t3914624661
{
public:
// System.Net.HttpWebRequest Mono.Security.Protocol.Tls.HttpsClientStream::_request
HttpWebRequest_t1669436515 * ____request_20;
// System.Int32 Mono.Security.Protocol.Tls.HttpsClientStream::_status
int32_t ____status_21;
public:
inline static int32_t get_offset_of__request_20() { return static_cast<int32_t>(offsetof(HttpsClientStream_t1160552561, ____request_20)); }
inline HttpWebRequest_t1669436515 * get__request_20() const { return ____request_20; }
inline HttpWebRequest_t1669436515 ** get_address_of__request_20() { return &____request_20; }
inline void set__request_20(HttpWebRequest_t1669436515 * value)
{
____request_20 = value;
Il2CppCodeGenWriteBarrier((&____request_20), value);
}
inline static int32_t get_offset_of__status_21() { return static_cast<int32_t>(offsetof(HttpsClientStream_t1160552561, ____status_21)); }
inline int32_t get__status_21() const { return ____status_21; }
inline int32_t* get_address_of__status_21() { return &____status_21; }
inline void set__status_21(int32_t value)
{
____status_21 = value;
}
};
struct HttpsClientStream_t1160552561_StaticFields
{
public:
// Mono.Security.Protocol.Tls.CertificateSelectionCallback Mono.Security.Protocol.Tls.HttpsClientStream::<>f__am$cache2
CertificateSelectionCallback_t3743405224 * ___U3CU3Ef__amU24cache2_22;
// Mono.Security.Protocol.Tls.PrivateKeySelectionCallback Mono.Security.Protocol.Tls.HttpsClientStream::<>f__am$cache3
PrivateKeySelectionCallback_t3240194217 * ___U3CU3Ef__amU24cache3_23;
public:
inline static int32_t get_offset_of_U3CU3Ef__amU24cache2_22() { return static_cast<int32_t>(offsetof(HttpsClientStream_t1160552561_StaticFields, ___U3CU3Ef__amU24cache2_22)); }
inline CertificateSelectionCallback_t3743405224 * get_U3CU3Ef__amU24cache2_22() const { return ___U3CU3Ef__amU24cache2_22; }
inline CertificateSelectionCallback_t3743405224 ** get_address_of_U3CU3Ef__amU24cache2_22() { return &___U3CU3Ef__amU24cache2_22; }
inline void set_U3CU3Ef__amU24cache2_22(CertificateSelectionCallback_t3743405224 * value)
{
___U3CU3Ef__amU24cache2_22 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cache2_22), value);
}
inline static int32_t get_offset_of_U3CU3Ef__amU24cache3_23() { return static_cast<int32_t>(offsetof(HttpsClientStream_t1160552561_StaticFields, ___U3CU3Ef__amU24cache3_23)); }
inline PrivateKeySelectionCallback_t3240194217 * get_U3CU3Ef__amU24cache3_23() const { return ___U3CU3Ef__amU24cache3_23; }
inline PrivateKeySelectionCallback_t3240194217 ** get_address_of_U3CU3Ef__amU24cache3_23() { return &___U3CU3Ef__amU24cache3_23; }
inline void set_U3CU3Ef__amU24cache3_23(PrivateKeySelectionCallback_t3240194217 * value)
{
___U3CU3Ef__amU24cache3_23 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cache3_23), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // HTTPSCLIENTSTREAM_T1160552561_H
#ifndef PRIVATEKEYSELECTIONCALLBACK_T3240194217_H
#define PRIVATEKEYSELECTIONCALLBACK_T3240194217_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.PrivateKeySelectionCallback
struct PrivateKeySelectionCallback_t3240194217 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PRIVATEKEYSELECTIONCALLBACK_T3240194217_H
#ifndef SERVERCONTEXT_T3848440993_H
#define SERVERCONTEXT_T3848440993_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.ServerContext
struct ServerContext_t3848440993 : public Context_t3971234707
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SERVERCONTEXT_T3848440993_H
#ifndef SSLCIPHERSUITE_T1981645747_H
#define SSLCIPHERSUITE_T1981645747_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.SslCipherSuite
struct SslCipherSuite_t1981645747 : public CipherSuite_t3414744575
{
public:
// System.Byte[] Mono.Security.Protocol.Tls.SslCipherSuite::pad1
ByteU5BU5D_t4116647657* ___pad1_21;
// System.Byte[] Mono.Security.Protocol.Tls.SslCipherSuite::pad2
ByteU5BU5D_t4116647657* ___pad2_22;
// System.Byte[] Mono.Security.Protocol.Tls.SslCipherSuite::header
ByteU5BU5D_t4116647657* ___header_23;
public:
inline static int32_t get_offset_of_pad1_21() { return static_cast<int32_t>(offsetof(SslCipherSuite_t1981645747, ___pad1_21)); }
inline ByteU5BU5D_t4116647657* get_pad1_21() const { return ___pad1_21; }
inline ByteU5BU5D_t4116647657** get_address_of_pad1_21() { return &___pad1_21; }
inline void set_pad1_21(ByteU5BU5D_t4116647657* value)
{
___pad1_21 = value;
Il2CppCodeGenWriteBarrier((&___pad1_21), value);
}
inline static int32_t get_offset_of_pad2_22() { return static_cast<int32_t>(offsetof(SslCipherSuite_t1981645747, ___pad2_22)); }
inline ByteU5BU5D_t4116647657* get_pad2_22() const { return ___pad2_22; }
inline ByteU5BU5D_t4116647657** get_address_of_pad2_22() { return &___pad2_22; }
inline void set_pad2_22(ByteU5BU5D_t4116647657* value)
{
___pad2_22 = value;
Il2CppCodeGenWriteBarrier((&___pad2_22), value);
}
inline static int32_t get_offset_of_header_23() { return static_cast<int32_t>(offsetof(SslCipherSuite_t1981645747, ___header_23)); }
inline ByteU5BU5D_t4116647657* get_header_23() const { return ___header_23; }
inline ByteU5BU5D_t4116647657** get_address_of_header_23() { return &___header_23; }
inline void set_header_23(ByteU5BU5D_t4116647657* value)
{
___header_23 = value;
Il2CppCodeGenWriteBarrier((&___header_23), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SSLCIPHERSUITE_T1981645747_H
#ifndef TLSCIPHERSUITE_T1545013223_H
#define TLSCIPHERSUITE_T1545013223_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.TlsCipherSuite
struct TlsCipherSuite_t1545013223 : public CipherSuite_t3414744575
{
public:
// System.Byte[] Mono.Security.Protocol.Tls.TlsCipherSuite::header
ByteU5BU5D_t4116647657* ___header_21;
// System.Object Mono.Security.Protocol.Tls.TlsCipherSuite::headerLock
RuntimeObject * ___headerLock_22;
public:
inline static int32_t get_offset_of_header_21() { return static_cast<int32_t>(offsetof(TlsCipherSuite_t1545013223, ___header_21)); }
inline ByteU5BU5D_t4116647657* get_header_21() const { return ___header_21; }
inline ByteU5BU5D_t4116647657** get_address_of_header_21() { return &___header_21; }
inline void set_header_21(ByteU5BU5D_t4116647657* value)
{
___header_21 = value;
Il2CppCodeGenWriteBarrier((&___header_21), value);
}
inline static int32_t get_offset_of_headerLock_22() { return static_cast<int32_t>(offsetof(TlsCipherSuite_t1545013223, ___headerLock_22)); }
inline RuntimeObject * get_headerLock_22() const { return ___headerLock_22; }
inline RuntimeObject ** get_address_of_headerLock_22() { return &___headerLock_22; }
inline void set_headerLock_22(RuntimeObject * value)
{
___headerLock_22 = value;
Il2CppCodeGenWriteBarrier((&___headerLock_22), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TLSCIPHERSUITE_T1545013223_H
#ifndef X509CERTIFICATE_T489243025_H
#define X509CERTIFICATE_T489243025_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.X509.X509Certificate
struct X509Certificate_t489243025 : public RuntimeObject
{
public:
// Mono.Security.ASN1 Mono.Security.X509.X509Certificate::decoder
ASN1_t2114160833 * ___decoder_0;
// System.Byte[] Mono.Security.X509.X509Certificate::m_encodedcert
ByteU5BU5D_t4116647657* ___m_encodedcert_1;
// System.DateTime Mono.Security.X509.X509Certificate::m_from
DateTime_t3738529785 ___m_from_2;
// System.DateTime Mono.Security.X509.X509Certificate::m_until
DateTime_t3738529785 ___m_until_3;
// Mono.Security.ASN1 Mono.Security.X509.X509Certificate::issuer
ASN1_t2114160833 * ___issuer_4;
// System.String Mono.Security.X509.X509Certificate::m_issuername
String_t* ___m_issuername_5;
// System.String Mono.Security.X509.X509Certificate::m_keyalgo
String_t* ___m_keyalgo_6;
// System.Byte[] Mono.Security.X509.X509Certificate::m_keyalgoparams
ByteU5BU5D_t4116647657* ___m_keyalgoparams_7;
// Mono.Security.ASN1 Mono.Security.X509.X509Certificate::subject
ASN1_t2114160833 * ___subject_8;
// System.String Mono.Security.X509.X509Certificate::m_subject
String_t* ___m_subject_9;
// System.Byte[] Mono.Security.X509.X509Certificate::m_publickey
ByteU5BU5D_t4116647657* ___m_publickey_10;
// System.Byte[] Mono.Security.X509.X509Certificate::signature
ByteU5BU5D_t4116647657* ___signature_11;
// System.String Mono.Security.X509.X509Certificate::m_signaturealgo
String_t* ___m_signaturealgo_12;
// System.Byte[] Mono.Security.X509.X509Certificate::m_signaturealgoparams
ByteU5BU5D_t4116647657* ___m_signaturealgoparams_13;
// System.Byte[] Mono.Security.X509.X509Certificate::certhash
ByteU5BU5D_t4116647657* ___certhash_14;
// System.Security.Cryptography.RSA Mono.Security.X509.X509Certificate::_rsa
RSA_t2385438082 * ____rsa_15;
// System.Security.Cryptography.DSA Mono.Security.X509.X509Certificate::_dsa
DSA_t2386879874 * ____dsa_16;
// System.Int32 Mono.Security.X509.X509Certificate::version
int32_t ___version_17;
// System.Byte[] Mono.Security.X509.X509Certificate::serialnumber
ByteU5BU5D_t4116647657* ___serialnumber_18;
// System.Byte[] Mono.Security.X509.X509Certificate::issuerUniqueID
ByteU5BU5D_t4116647657* ___issuerUniqueID_19;
// System.Byte[] Mono.Security.X509.X509Certificate::subjectUniqueID
ByteU5BU5D_t4116647657* ___subjectUniqueID_20;
// Mono.Security.X509.X509ExtensionCollection Mono.Security.X509.X509Certificate::extensions
X509ExtensionCollection_t609554709 * ___extensions_21;
public:
inline static int32_t get_offset_of_decoder_0() { return static_cast<int32_t>(offsetof(X509Certificate_t489243025, ___decoder_0)); }
inline ASN1_t2114160833 * get_decoder_0() const { return ___decoder_0; }
inline ASN1_t2114160833 ** get_address_of_decoder_0() { return &___decoder_0; }
inline void set_decoder_0(ASN1_t2114160833 * value)
{
___decoder_0 = value;
Il2CppCodeGenWriteBarrier((&___decoder_0), value);
}
inline static int32_t get_offset_of_m_encodedcert_1() { return static_cast<int32_t>(offsetof(X509Certificate_t489243025, ___m_encodedcert_1)); }
inline ByteU5BU5D_t4116647657* get_m_encodedcert_1() const { return ___m_encodedcert_1; }
inline ByteU5BU5D_t4116647657** get_address_of_m_encodedcert_1() { return &___m_encodedcert_1; }
inline void set_m_encodedcert_1(ByteU5BU5D_t4116647657* value)
{
___m_encodedcert_1 = value;
Il2CppCodeGenWriteBarrier((&___m_encodedcert_1), value);
}
inline static int32_t get_offset_of_m_from_2() { return static_cast<int32_t>(offsetof(X509Certificate_t489243025, ___m_from_2)); }
inline DateTime_t3738529785 get_m_from_2() const { return ___m_from_2; }
inline DateTime_t3738529785 * get_address_of_m_from_2() { return &___m_from_2; }
inline void set_m_from_2(DateTime_t3738529785 value)
{
___m_from_2 = value;
}
inline static int32_t get_offset_of_m_until_3() { return static_cast<int32_t>(offsetof(X509Certificate_t489243025, ___m_until_3)); }
inline DateTime_t3738529785 get_m_until_3() const { return ___m_until_3; }
inline DateTime_t3738529785 * get_address_of_m_until_3() { return &___m_until_3; }
inline void set_m_until_3(DateTime_t3738529785 value)
{
___m_until_3 = value;
}
inline static int32_t get_offset_of_issuer_4() { return static_cast<int32_t>(offsetof(X509Certificate_t489243025, ___issuer_4)); }
inline ASN1_t2114160833 * get_issuer_4() const { return ___issuer_4; }
inline ASN1_t2114160833 ** get_address_of_issuer_4() { return &___issuer_4; }
inline void set_issuer_4(ASN1_t2114160833 * value)
{
___issuer_4 = value;
Il2CppCodeGenWriteBarrier((&___issuer_4), value);
}
inline static int32_t get_offset_of_m_issuername_5() { return static_cast<int32_t>(offsetof(X509Certificate_t489243025, ___m_issuername_5)); }
inline String_t* get_m_issuername_5() const { return ___m_issuername_5; }
inline String_t** get_address_of_m_issuername_5() { return &___m_issuername_5; }
inline void set_m_issuername_5(String_t* value)
{
___m_issuername_5 = value;
Il2CppCodeGenWriteBarrier((&___m_issuername_5), value);
}
inline static int32_t get_offset_of_m_keyalgo_6() { return static_cast<int32_t>(offsetof(X509Certificate_t489243025, ___m_keyalgo_6)); }
inline String_t* get_m_keyalgo_6() const { return ___m_keyalgo_6; }
inline String_t** get_address_of_m_keyalgo_6() { return &___m_keyalgo_6; }
inline void set_m_keyalgo_6(String_t* value)
{
___m_keyalgo_6 = value;
Il2CppCodeGenWriteBarrier((&___m_keyalgo_6), value);
}
inline static int32_t get_offset_of_m_keyalgoparams_7() { return static_cast<int32_t>(offsetof(X509Certificate_t489243025, ___m_keyalgoparams_7)); }
inline ByteU5BU5D_t4116647657* get_m_keyalgoparams_7() const { return ___m_keyalgoparams_7; }
inline ByteU5BU5D_t4116647657** get_address_of_m_keyalgoparams_7() { return &___m_keyalgoparams_7; }
inline void set_m_keyalgoparams_7(ByteU5BU5D_t4116647657* value)
{
___m_keyalgoparams_7 = value;
Il2CppCodeGenWriteBarrier((&___m_keyalgoparams_7), value);
}
inline static int32_t get_offset_of_subject_8() { return static_cast<int32_t>(offsetof(X509Certificate_t489243025, ___subject_8)); }
inline ASN1_t2114160833 * get_subject_8() const { return ___subject_8; }
inline ASN1_t2114160833 ** get_address_of_subject_8() { return &___subject_8; }
inline void set_subject_8(ASN1_t2114160833 * value)
{
___subject_8 = value;
Il2CppCodeGenWriteBarrier((&___subject_8), value);
}
inline static int32_t get_offset_of_m_subject_9() { return static_cast<int32_t>(offsetof(X509Certificate_t489243025, ___m_subject_9)); }
inline String_t* get_m_subject_9() const { return ___m_subject_9; }
inline String_t** get_address_of_m_subject_9() { return &___m_subject_9; }
inline void set_m_subject_9(String_t* value)
{
___m_subject_9 = value;
Il2CppCodeGenWriteBarrier((&___m_subject_9), value);
}
inline static int32_t get_offset_of_m_publickey_10() { return static_cast<int32_t>(offsetof(X509Certificate_t489243025, ___m_publickey_10)); }
inline ByteU5BU5D_t4116647657* get_m_publickey_10() const { return ___m_publickey_10; }
inline ByteU5BU5D_t4116647657** get_address_of_m_publickey_10() { return &___m_publickey_10; }
inline void set_m_publickey_10(ByteU5BU5D_t4116647657* value)
{
___m_publickey_10 = value;
Il2CppCodeGenWriteBarrier((&___m_publickey_10), value);
}
inline static int32_t get_offset_of_signature_11() { return static_cast<int32_t>(offsetof(X509Certificate_t489243025, ___signature_11)); }
inline ByteU5BU5D_t4116647657* get_signature_11() const { return ___signature_11; }
inline ByteU5BU5D_t4116647657** get_address_of_signature_11() { return &___signature_11; }
inline void set_signature_11(ByteU5BU5D_t4116647657* value)
{
___signature_11 = value;
Il2CppCodeGenWriteBarrier((&___signature_11), value);
}
inline static int32_t get_offset_of_m_signaturealgo_12() { return static_cast<int32_t>(offsetof(X509Certificate_t489243025, ___m_signaturealgo_12)); }
inline String_t* get_m_signaturealgo_12() const { return ___m_signaturealgo_12; }
inline String_t** get_address_of_m_signaturealgo_12() { return &___m_signaturealgo_12; }
inline void set_m_signaturealgo_12(String_t* value)
{
___m_signaturealgo_12 = value;
Il2CppCodeGenWriteBarrier((&___m_signaturealgo_12), value);
}
inline static int32_t get_offset_of_m_signaturealgoparams_13() { return static_cast<int32_t>(offsetof(X509Certificate_t489243025, ___m_signaturealgoparams_13)); }
inline ByteU5BU5D_t4116647657* get_m_signaturealgoparams_13() const { return ___m_signaturealgoparams_13; }
inline ByteU5BU5D_t4116647657** get_address_of_m_signaturealgoparams_13() { return &___m_signaturealgoparams_13; }
inline void set_m_signaturealgoparams_13(ByteU5BU5D_t4116647657* value)
{
___m_signaturealgoparams_13 = value;
Il2CppCodeGenWriteBarrier((&___m_signaturealgoparams_13), value);
}
inline static int32_t get_offset_of_certhash_14() { return static_cast<int32_t>(offsetof(X509Certificate_t489243025, ___certhash_14)); }
inline ByteU5BU5D_t4116647657* get_certhash_14() const { return ___certhash_14; }
inline ByteU5BU5D_t4116647657** get_address_of_certhash_14() { return &___certhash_14; }
inline void set_certhash_14(ByteU5BU5D_t4116647657* value)
{
___certhash_14 = value;
Il2CppCodeGenWriteBarrier((&___certhash_14), value);
}
inline static int32_t get_offset_of__rsa_15() { return static_cast<int32_t>(offsetof(X509Certificate_t489243025, ____rsa_15)); }
inline RSA_t2385438082 * get__rsa_15() const { return ____rsa_15; }
inline RSA_t2385438082 ** get_address_of__rsa_15() { return &____rsa_15; }
inline void set__rsa_15(RSA_t2385438082 * value)
{
____rsa_15 = value;
Il2CppCodeGenWriteBarrier((&____rsa_15), value);
}
inline static int32_t get_offset_of__dsa_16() { return static_cast<int32_t>(offsetof(X509Certificate_t489243025, ____dsa_16)); }
inline DSA_t2386879874 * get__dsa_16() const { return ____dsa_16; }
inline DSA_t2386879874 ** get_address_of__dsa_16() { return &____dsa_16; }
inline void set__dsa_16(DSA_t2386879874 * value)
{
____dsa_16 = value;
Il2CppCodeGenWriteBarrier((&____dsa_16), value);
}
inline static int32_t get_offset_of_version_17() { return static_cast<int32_t>(offsetof(X509Certificate_t489243025, ___version_17)); }
inline int32_t get_version_17() const { return ___version_17; }
inline int32_t* get_address_of_version_17() { return &___version_17; }
inline void set_version_17(int32_t value)
{
___version_17 = value;
}
inline static int32_t get_offset_of_serialnumber_18() { return static_cast<int32_t>(offsetof(X509Certificate_t489243025, ___serialnumber_18)); }
inline ByteU5BU5D_t4116647657* get_serialnumber_18() const { return ___serialnumber_18; }
inline ByteU5BU5D_t4116647657** get_address_of_serialnumber_18() { return &___serialnumber_18; }
inline void set_serialnumber_18(ByteU5BU5D_t4116647657* value)
{
___serialnumber_18 = value;
Il2CppCodeGenWriteBarrier((&___serialnumber_18), value);
}
inline static int32_t get_offset_of_issuerUniqueID_19() { return static_cast<int32_t>(offsetof(X509Certificate_t489243025, ___issuerUniqueID_19)); }
inline ByteU5BU5D_t4116647657* get_issuerUniqueID_19() const { return ___issuerUniqueID_19; }
inline ByteU5BU5D_t4116647657** get_address_of_issuerUniqueID_19() { return &___issuerUniqueID_19; }
inline void set_issuerUniqueID_19(ByteU5BU5D_t4116647657* value)
{
___issuerUniqueID_19 = value;
Il2CppCodeGenWriteBarrier((&___issuerUniqueID_19), value);
}
inline static int32_t get_offset_of_subjectUniqueID_20() { return static_cast<int32_t>(offsetof(X509Certificate_t489243025, ___subjectUniqueID_20)); }
inline ByteU5BU5D_t4116647657* get_subjectUniqueID_20() const { return ___subjectUniqueID_20; }
inline ByteU5BU5D_t4116647657** get_address_of_subjectUniqueID_20() { return &___subjectUniqueID_20; }
inline void set_subjectUniqueID_20(ByteU5BU5D_t4116647657* value)
{
___subjectUniqueID_20 = value;
Il2CppCodeGenWriteBarrier((&___subjectUniqueID_20), value);
}
inline static int32_t get_offset_of_extensions_21() { return static_cast<int32_t>(offsetof(X509Certificate_t489243025, ___extensions_21)); }
inline X509ExtensionCollection_t609554709 * get_extensions_21() const { return ___extensions_21; }
inline X509ExtensionCollection_t609554709 ** get_address_of_extensions_21() { return &___extensions_21; }
inline void set_extensions_21(X509ExtensionCollection_t609554709 * value)
{
___extensions_21 = value;
Il2CppCodeGenWriteBarrier((&___extensions_21), value);
}
};
struct X509Certificate_t489243025_StaticFields
{
public:
// System.String Mono.Security.X509.X509Certificate::encoding_error
String_t* ___encoding_error_22;
// System.Collections.Generic.Dictionary`2<System.String,System.Int32> Mono.Security.X509.X509Certificate::<>f__switch$mapF
Dictionary_2_t2736202052 * ___U3CU3Ef__switchU24mapF_23;
// System.Collections.Generic.Dictionary`2<System.String,System.Int32> Mono.Security.X509.X509Certificate::<>f__switch$map10
Dictionary_2_t2736202052 * ___U3CU3Ef__switchU24map10_24;
// System.Collections.Generic.Dictionary`2<System.String,System.Int32> Mono.Security.X509.X509Certificate::<>f__switch$map11
Dictionary_2_t2736202052 * ___U3CU3Ef__switchU24map11_25;
public:
inline static int32_t get_offset_of_encoding_error_22() { return static_cast<int32_t>(offsetof(X509Certificate_t489243025_StaticFields, ___encoding_error_22)); }
inline String_t* get_encoding_error_22() const { return ___encoding_error_22; }
inline String_t** get_address_of_encoding_error_22() { return &___encoding_error_22; }
inline void set_encoding_error_22(String_t* value)
{
___encoding_error_22 = value;
Il2CppCodeGenWriteBarrier((&___encoding_error_22), value);
}
inline static int32_t get_offset_of_U3CU3Ef__switchU24mapF_23() { return static_cast<int32_t>(offsetof(X509Certificate_t489243025_StaticFields, ___U3CU3Ef__switchU24mapF_23)); }
inline Dictionary_2_t2736202052 * get_U3CU3Ef__switchU24mapF_23() const { return ___U3CU3Ef__switchU24mapF_23; }
inline Dictionary_2_t2736202052 ** get_address_of_U3CU3Ef__switchU24mapF_23() { return &___U3CU3Ef__switchU24mapF_23; }
inline void set_U3CU3Ef__switchU24mapF_23(Dictionary_2_t2736202052 * value)
{
___U3CU3Ef__switchU24mapF_23 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__switchU24mapF_23), value);
}
inline static int32_t get_offset_of_U3CU3Ef__switchU24map10_24() { return static_cast<int32_t>(offsetof(X509Certificate_t489243025_StaticFields, ___U3CU3Ef__switchU24map10_24)); }
inline Dictionary_2_t2736202052 * get_U3CU3Ef__switchU24map10_24() const { return ___U3CU3Ef__switchU24map10_24; }
inline Dictionary_2_t2736202052 ** get_address_of_U3CU3Ef__switchU24map10_24() { return &___U3CU3Ef__switchU24map10_24; }
inline void set_U3CU3Ef__switchU24map10_24(Dictionary_2_t2736202052 * value)
{
___U3CU3Ef__switchU24map10_24 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__switchU24map10_24), value);
}
inline static int32_t get_offset_of_U3CU3Ef__switchU24map11_25() { return static_cast<int32_t>(offsetof(X509Certificate_t489243025_StaticFields, ___U3CU3Ef__switchU24map11_25)); }
inline Dictionary_2_t2736202052 * get_U3CU3Ef__switchU24map11_25() const { return ___U3CU3Ef__switchU24map11_25; }
inline Dictionary_2_t2736202052 ** get_address_of_U3CU3Ef__switchU24map11_25() { return &___U3CU3Ef__switchU24map11_25; }
inline void set_U3CU3Ef__switchU24map11_25(Dictionary_2_t2736202052 * value)
{
___U3CU3Ef__switchU24map11_25 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__switchU24map11_25), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // X509CERTIFICATE_T489243025_H
#ifndef ASYNCCALLBACK_T3962456242_H
#define ASYNCCALLBACK_T3962456242_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.AsyncCallback
struct AsyncCallback_t3962456242 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ASYNCCALLBACK_T3962456242_H
#ifndef HTTPWEBREQUEST_T1669436515_H
#define HTTPWEBREQUEST_T1669436515_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.HttpWebRequest
struct HttpWebRequest_t1669436515 : public WebRequest_t1939381076
{
public:
// System.Uri System.Net.HttpWebRequest::requestUri
Uri_t100236324 * ___requestUri_6;
// System.Uri System.Net.HttpWebRequest::actualUri
Uri_t100236324 * ___actualUri_7;
// System.Boolean System.Net.HttpWebRequest::hostChanged
bool ___hostChanged_8;
// System.Boolean System.Net.HttpWebRequest::allowAutoRedirect
bool ___allowAutoRedirect_9;
// System.Boolean System.Net.HttpWebRequest::allowBuffering
bool ___allowBuffering_10;
// System.Security.Cryptography.X509Certificates.X509CertificateCollection System.Net.HttpWebRequest::certificates
X509CertificateCollection_t3399372417 * ___certificates_11;
// System.String System.Net.HttpWebRequest::connectionGroup
String_t* ___connectionGroup_12;
// System.Int64 System.Net.HttpWebRequest::contentLength
int64_t ___contentLength_13;
// System.Net.WebHeaderCollection System.Net.HttpWebRequest::webHeaders
WebHeaderCollection_t1942268960 * ___webHeaders_14;
// System.Boolean System.Net.HttpWebRequest::keepAlive
bool ___keepAlive_15;
// System.Int32 System.Net.HttpWebRequest::maxAutoRedirect
int32_t ___maxAutoRedirect_16;
// System.String System.Net.HttpWebRequest::mediaType
String_t* ___mediaType_17;
// System.String System.Net.HttpWebRequest::method
String_t* ___method_18;
// System.String System.Net.HttpWebRequest::initialMethod
String_t* ___initialMethod_19;
// System.Boolean System.Net.HttpWebRequest::pipelined
bool ___pipelined_20;
// System.Version System.Net.HttpWebRequest::version
Version_t3456873960 * ___version_21;
// System.Net.IWebProxy System.Net.HttpWebRequest::proxy
RuntimeObject* ___proxy_22;
// System.Boolean System.Net.HttpWebRequest::sendChunked
bool ___sendChunked_23;
// System.Net.ServicePoint System.Net.HttpWebRequest::servicePoint
ServicePoint_t2786966844 * ___servicePoint_24;
// System.Int32 System.Net.HttpWebRequest::timeout
int32_t ___timeout_25;
// System.Int32 System.Net.HttpWebRequest::redirects
int32_t ___redirects_26;
// System.Object System.Net.HttpWebRequest::locker
RuntimeObject * ___locker_27;
// System.Int32 System.Net.HttpWebRequest::readWriteTimeout
int32_t ___readWriteTimeout_29;
public:
inline static int32_t get_offset_of_requestUri_6() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___requestUri_6)); }
inline Uri_t100236324 * get_requestUri_6() const { return ___requestUri_6; }
inline Uri_t100236324 ** get_address_of_requestUri_6() { return &___requestUri_6; }
inline void set_requestUri_6(Uri_t100236324 * value)
{
___requestUri_6 = value;
Il2CppCodeGenWriteBarrier((&___requestUri_6), value);
}
inline static int32_t get_offset_of_actualUri_7() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___actualUri_7)); }
inline Uri_t100236324 * get_actualUri_7() const { return ___actualUri_7; }
inline Uri_t100236324 ** get_address_of_actualUri_7() { return &___actualUri_7; }
inline void set_actualUri_7(Uri_t100236324 * value)
{
___actualUri_7 = value;
Il2CppCodeGenWriteBarrier((&___actualUri_7), value);
}
inline static int32_t get_offset_of_hostChanged_8() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___hostChanged_8)); }
inline bool get_hostChanged_8() const { return ___hostChanged_8; }
inline bool* get_address_of_hostChanged_8() { return &___hostChanged_8; }
inline void set_hostChanged_8(bool value)
{
___hostChanged_8 = value;
}
inline static int32_t get_offset_of_allowAutoRedirect_9() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___allowAutoRedirect_9)); }
inline bool get_allowAutoRedirect_9() const { return ___allowAutoRedirect_9; }
inline bool* get_address_of_allowAutoRedirect_9() { return &___allowAutoRedirect_9; }
inline void set_allowAutoRedirect_9(bool value)
{
___allowAutoRedirect_9 = value;
}
inline static int32_t get_offset_of_allowBuffering_10() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___allowBuffering_10)); }
inline bool get_allowBuffering_10() const { return ___allowBuffering_10; }
inline bool* get_address_of_allowBuffering_10() { return &___allowBuffering_10; }
inline void set_allowBuffering_10(bool value)
{
___allowBuffering_10 = value;
}
inline static int32_t get_offset_of_certificates_11() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___certificates_11)); }
inline X509CertificateCollection_t3399372417 * get_certificates_11() const { return ___certificates_11; }
inline X509CertificateCollection_t3399372417 ** get_address_of_certificates_11() { return &___certificates_11; }
inline void set_certificates_11(X509CertificateCollection_t3399372417 * value)
{
___certificates_11 = value;
Il2CppCodeGenWriteBarrier((&___certificates_11), value);
}
inline static int32_t get_offset_of_connectionGroup_12() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___connectionGroup_12)); }
inline String_t* get_connectionGroup_12() const { return ___connectionGroup_12; }
inline String_t** get_address_of_connectionGroup_12() { return &___connectionGroup_12; }
inline void set_connectionGroup_12(String_t* value)
{
___connectionGroup_12 = value;
Il2CppCodeGenWriteBarrier((&___connectionGroup_12), value);
}
inline static int32_t get_offset_of_contentLength_13() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___contentLength_13)); }
inline int64_t get_contentLength_13() const { return ___contentLength_13; }
inline int64_t* get_address_of_contentLength_13() { return &___contentLength_13; }
inline void set_contentLength_13(int64_t value)
{
___contentLength_13 = value;
}
inline static int32_t get_offset_of_webHeaders_14() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___webHeaders_14)); }
inline WebHeaderCollection_t1942268960 * get_webHeaders_14() const { return ___webHeaders_14; }
inline WebHeaderCollection_t1942268960 ** get_address_of_webHeaders_14() { return &___webHeaders_14; }
inline void set_webHeaders_14(WebHeaderCollection_t1942268960 * value)
{
___webHeaders_14 = value;
Il2CppCodeGenWriteBarrier((&___webHeaders_14), value);
}
inline static int32_t get_offset_of_keepAlive_15() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___keepAlive_15)); }
inline bool get_keepAlive_15() const { return ___keepAlive_15; }
inline bool* get_address_of_keepAlive_15() { return &___keepAlive_15; }
inline void set_keepAlive_15(bool value)
{
___keepAlive_15 = value;
}
inline static int32_t get_offset_of_maxAutoRedirect_16() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___maxAutoRedirect_16)); }
inline int32_t get_maxAutoRedirect_16() const { return ___maxAutoRedirect_16; }
inline int32_t* get_address_of_maxAutoRedirect_16() { return &___maxAutoRedirect_16; }
inline void set_maxAutoRedirect_16(int32_t value)
{
___maxAutoRedirect_16 = value;
}
inline static int32_t get_offset_of_mediaType_17() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___mediaType_17)); }
inline String_t* get_mediaType_17() const { return ___mediaType_17; }
inline String_t** get_address_of_mediaType_17() { return &___mediaType_17; }
inline void set_mediaType_17(String_t* value)
{
___mediaType_17 = value;
Il2CppCodeGenWriteBarrier((&___mediaType_17), value);
}
inline static int32_t get_offset_of_method_18() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___method_18)); }
inline String_t* get_method_18() const { return ___method_18; }
inline String_t** get_address_of_method_18() { return &___method_18; }
inline void set_method_18(String_t* value)
{
___method_18 = value;
Il2CppCodeGenWriteBarrier((&___method_18), value);
}
inline static int32_t get_offset_of_initialMethod_19() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___initialMethod_19)); }
inline String_t* get_initialMethod_19() const { return ___initialMethod_19; }
inline String_t** get_address_of_initialMethod_19() { return &___initialMethod_19; }
inline void set_initialMethod_19(String_t* value)
{
___initialMethod_19 = value;
Il2CppCodeGenWriteBarrier((&___initialMethod_19), value);
}
inline static int32_t get_offset_of_pipelined_20() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___pipelined_20)); }
inline bool get_pipelined_20() const { return ___pipelined_20; }
inline bool* get_address_of_pipelined_20() { return &___pipelined_20; }
inline void set_pipelined_20(bool value)
{
___pipelined_20 = value;
}
inline static int32_t get_offset_of_version_21() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___version_21)); }
inline Version_t3456873960 * get_version_21() const { return ___version_21; }
inline Version_t3456873960 ** get_address_of_version_21() { return &___version_21; }
inline void set_version_21(Version_t3456873960 * value)
{
___version_21 = value;
Il2CppCodeGenWriteBarrier((&___version_21), value);
}
inline static int32_t get_offset_of_proxy_22() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___proxy_22)); }
inline RuntimeObject* get_proxy_22() const { return ___proxy_22; }
inline RuntimeObject** get_address_of_proxy_22() { return &___proxy_22; }
inline void set_proxy_22(RuntimeObject* value)
{
___proxy_22 = value;
Il2CppCodeGenWriteBarrier((&___proxy_22), value);
}
inline static int32_t get_offset_of_sendChunked_23() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___sendChunked_23)); }
inline bool get_sendChunked_23() const { return ___sendChunked_23; }
inline bool* get_address_of_sendChunked_23() { return &___sendChunked_23; }
inline void set_sendChunked_23(bool value)
{
___sendChunked_23 = value;
}
inline static int32_t get_offset_of_servicePoint_24() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___servicePoint_24)); }
inline ServicePoint_t2786966844 * get_servicePoint_24() const { return ___servicePoint_24; }
inline ServicePoint_t2786966844 ** get_address_of_servicePoint_24() { return &___servicePoint_24; }
inline void set_servicePoint_24(ServicePoint_t2786966844 * value)
{
___servicePoint_24 = value;
Il2CppCodeGenWriteBarrier((&___servicePoint_24), value);
}
inline static int32_t get_offset_of_timeout_25() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___timeout_25)); }
inline int32_t get_timeout_25() const { return ___timeout_25; }
inline int32_t* get_address_of_timeout_25() { return &___timeout_25; }
inline void set_timeout_25(int32_t value)
{
___timeout_25 = value;
}
inline static int32_t get_offset_of_redirects_26() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___redirects_26)); }
inline int32_t get_redirects_26() const { return ___redirects_26; }
inline int32_t* get_address_of_redirects_26() { return &___redirects_26; }
inline void set_redirects_26(int32_t value)
{
___redirects_26 = value;
}
inline static int32_t get_offset_of_locker_27() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___locker_27)); }
inline RuntimeObject * get_locker_27() const { return ___locker_27; }
inline RuntimeObject ** get_address_of_locker_27() { return &___locker_27; }
inline void set_locker_27(RuntimeObject * value)
{
___locker_27 = value;
Il2CppCodeGenWriteBarrier((&___locker_27), value);
}
inline static int32_t get_offset_of_readWriteTimeout_29() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515, ___readWriteTimeout_29)); }
inline int32_t get_readWriteTimeout_29() const { return ___readWriteTimeout_29; }
inline int32_t* get_address_of_readWriteTimeout_29() { return &___readWriteTimeout_29; }
inline void set_readWriteTimeout_29(int32_t value)
{
___readWriteTimeout_29 = value;
}
};
struct HttpWebRequest_t1669436515_StaticFields
{
public:
// System.Int32 System.Net.HttpWebRequest::defaultMaxResponseHeadersLength
int32_t ___defaultMaxResponseHeadersLength_28;
public:
inline static int32_t get_offset_of_defaultMaxResponseHeadersLength_28() { return static_cast<int32_t>(offsetof(HttpWebRequest_t1669436515_StaticFields, ___defaultMaxResponseHeadersLength_28)); }
inline int32_t get_defaultMaxResponseHeadersLength_28() const { return ___defaultMaxResponseHeadersLength_28; }
inline int32_t* get_address_of_defaultMaxResponseHeadersLength_28() { return &___defaultMaxResponseHeadersLength_28; }
inline void set_defaultMaxResponseHeadersLength_28(int32_t value)
{
___defaultMaxResponseHeadersLength_28 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // HTTPWEBREQUEST_T1669436515_H
#ifndef REMOTECERTIFICATEVALIDATIONCALLBACK_T3014364904_H
#define REMOTECERTIFICATEVALIDATIONCALLBACK_T3014364904_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.Security.RemoteCertificateValidationCallback
struct RemoteCertificateValidationCallback_t3014364904 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // REMOTECERTIFICATEVALIDATIONCALLBACK_T3014364904_H
#ifndef SERVICEPOINT_T2786966844_H
#define SERVICEPOINT_T2786966844_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Net.ServicePoint
struct ServicePoint_t2786966844 : public RuntimeObject
{
public:
// System.Uri System.Net.ServicePoint::uri
Uri_t100236324 * ___uri_0;
// System.Int32 System.Net.ServicePoint::connectionLimit
int32_t ___connectionLimit_1;
// System.Int32 System.Net.ServicePoint::maxIdleTime
int32_t ___maxIdleTime_2;
// System.Int32 System.Net.ServicePoint::currentConnections
int32_t ___currentConnections_3;
// System.DateTime System.Net.ServicePoint::idleSince
DateTime_t3738529785 ___idleSince_4;
// System.Boolean System.Net.ServicePoint::usesProxy
bool ___usesProxy_5;
// System.Boolean System.Net.ServicePoint::sendContinue
bool ___sendContinue_6;
// System.Boolean System.Net.ServicePoint::useConnect
bool ___useConnect_7;
// System.Object System.Net.ServicePoint::locker
RuntimeObject * ___locker_8;
// System.Object System.Net.ServicePoint::hostE
RuntimeObject * ___hostE_9;
// System.Boolean System.Net.ServicePoint::useNagle
bool ___useNagle_10;
public:
inline static int32_t get_offset_of_uri_0() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___uri_0)); }
inline Uri_t100236324 * get_uri_0() const { return ___uri_0; }
inline Uri_t100236324 ** get_address_of_uri_0() { return &___uri_0; }
inline void set_uri_0(Uri_t100236324 * value)
{
___uri_0 = value;
Il2CppCodeGenWriteBarrier((&___uri_0), value);
}
inline static int32_t get_offset_of_connectionLimit_1() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___connectionLimit_1)); }
inline int32_t get_connectionLimit_1() const { return ___connectionLimit_1; }
inline int32_t* get_address_of_connectionLimit_1() { return &___connectionLimit_1; }
inline void set_connectionLimit_1(int32_t value)
{
___connectionLimit_1 = value;
}
inline static int32_t get_offset_of_maxIdleTime_2() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___maxIdleTime_2)); }
inline int32_t get_maxIdleTime_2() const { return ___maxIdleTime_2; }
inline int32_t* get_address_of_maxIdleTime_2() { return &___maxIdleTime_2; }
inline void set_maxIdleTime_2(int32_t value)
{
___maxIdleTime_2 = value;
}
inline static int32_t get_offset_of_currentConnections_3() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___currentConnections_3)); }
inline int32_t get_currentConnections_3() const { return ___currentConnections_3; }
inline int32_t* get_address_of_currentConnections_3() { return &___currentConnections_3; }
inline void set_currentConnections_3(int32_t value)
{
___currentConnections_3 = value;
}
inline static int32_t get_offset_of_idleSince_4() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___idleSince_4)); }
inline DateTime_t3738529785 get_idleSince_4() const { return ___idleSince_4; }
inline DateTime_t3738529785 * get_address_of_idleSince_4() { return &___idleSince_4; }
inline void set_idleSince_4(DateTime_t3738529785 value)
{
___idleSince_4 = value;
}
inline static int32_t get_offset_of_usesProxy_5() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___usesProxy_5)); }
inline bool get_usesProxy_5() const { return ___usesProxy_5; }
inline bool* get_address_of_usesProxy_5() { return &___usesProxy_5; }
inline void set_usesProxy_5(bool value)
{
___usesProxy_5 = value;
}
inline static int32_t get_offset_of_sendContinue_6() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___sendContinue_6)); }
inline bool get_sendContinue_6() const { return ___sendContinue_6; }
inline bool* get_address_of_sendContinue_6() { return &___sendContinue_6; }
inline void set_sendContinue_6(bool value)
{
___sendContinue_6 = value;
}
inline static int32_t get_offset_of_useConnect_7() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___useConnect_7)); }
inline bool get_useConnect_7() const { return ___useConnect_7; }
inline bool* get_address_of_useConnect_7() { return &___useConnect_7; }
inline void set_useConnect_7(bool value)
{
___useConnect_7 = value;
}
inline static int32_t get_offset_of_locker_8() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___locker_8)); }
inline RuntimeObject * get_locker_8() const { return ___locker_8; }
inline RuntimeObject ** get_address_of_locker_8() { return &___locker_8; }
inline void set_locker_8(RuntimeObject * value)
{
___locker_8 = value;
Il2CppCodeGenWriteBarrier((&___locker_8), value);
}
inline static int32_t get_offset_of_hostE_9() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___hostE_9)); }
inline RuntimeObject * get_hostE_9() const { return ___hostE_9; }
inline RuntimeObject ** get_address_of_hostE_9() { return &___hostE_9; }
inline void set_hostE_9(RuntimeObject * value)
{
___hostE_9 = value;
Il2CppCodeGenWriteBarrier((&___hostE_9), value);
}
inline static int32_t get_offset_of_useNagle_10() { return static_cast<int32_t>(offsetof(ServicePoint_t2786966844, ___useNagle_10)); }
inline bool get_useNagle_10() const { return ___useNagle_10; }
inline bool* get_address_of_useNagle_10() { return &___useNagle_10; }
inline void set_useNagle_10(bool value)
{
___useNagle_10 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SERVICEPOINT_T2786966844_H
#ifndef DES_T821106792_H
#define DES_T821106792_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.DES
struct DES_t821106792 : public SymmetricAlgorithm_t4254223087
{
public:
public:
};
struct DES_t821106792_StaticFields
{
public:
// System.Byte[,] System.Security.Cryptography.DES::weakKeys
ByteU5BU2CU5D_t4116647658* ___weakKeys_10;
// System.Byte[,] System.Security.Cryptography.DES::semiWeakKeys
ByteU5BU2CU5D_t4116647658* ___semiWeakKeys_11;
public:
inline static int32_t get_offset_of_weakKeys_10() { return static_cast<int32_t>(offsetof(DES_t821106792_StaticFields, ___weakKeys_10)); }
inline ByteU5BU2CU5D_t4116647658* get_weakKeys_10() const { return ___weakKeys_10; }
inline ByteU5BU2CU5D_t4116647658** get_address_of_weakKeys_10() { return &___weakKeys_10; }
inline void set_weakKeys_10(ByteU5BU2CU5D_t4116647658* value)
{
___weakKeys_10 = value;
Il2CppCodeGenWriteBarrier((&___weakKeys_10), value);
}
inline static int32_t get_offset_of_semiWeakKeys_11() { return static_cast<int32_t>(offsetof(DES_t821106792_StaticFields, ___semiWeakKeys_11)); }
inline ByteU5BU2CU5D_t4116647658* get_semiWeakKeys_11() const { return ___semiWeakKeys_11; }
inline ByteU5BU2CU5D_t4116647658** get_address_of_semiWeakKeys_11() { return &___semiWeakKeys_11; }
inline void set_semiWeakKeys_11(ByteU5BU2CU5D_t4116647658* value)
{
___semiWeakKeys_11 = value;
Il2CppCodeGenWriteBarrier((&___semiWeakKeys_11), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DES_T821106792_H
#ifndef RC2_T3167825714_H
#define RC2_T3167825714_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.RC2
struct RC2_t3167825714 : public SymmetricAlgorithm_t4254223087
{
public:
// System.Int32 System.Security.Cryptography.RC2::EffectiveKeySizeValue
int32_t ___EffectiveKeySizeValue_10;
public:
inline static int32_t get_offset_of_EffectiveKeySizeValue_10() { return static_cast<int32_t>(offsetof(RC2_t3167825714, ___EffectiveKeySizeValue_10)); }
inline int32_t get_EffectiveKeySizeValue_10() const { return ___EffectiveKeySizeValue_10; }
inline int32_t* get_address_of_EffectiveKeySizeValue_10() { return &___EffectiveKeySizeValue_10; }
inline void set_EffectiveKeySizeValue_10(int32_t value)
{
___EffectiveKeySizeValue_10 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RC2_T3167825714_H
#ifndef RIJNDAEL_T2986313634_H
#define RIJNDAEL_T2986313634_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.Rijndael
struct Rijndael_t2986313634 : public SymmetricAlgorithm_t4254223087
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RIJNDAEL_T2986313634_H
#ifndef TRIPLEDES_T92303514_H
#define TRIPLEDES_T92303514_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.TripleDES
struct TripleDES_t92303514 : public SymmetricAlgorithm_t4254223087
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TRIPLEDES_T92303514_H
#ifndef MANUALRESETEVENT_T451242010_H
#define MANUALRESETEVENT_T451242010_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Threading.ManualResetEvent
struct ManualResetEvent_t451242010 : public EventWaitHandle_t777845177
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MANUALRESETEVENT_T451242010_H
#ifndef ARC4MANAGED_T2641858452_H
#define ARC4MANAGED_T2641858452_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Cryptography.ARC4Managed
struct ARC4Managed_t2641858452 : public RC4_t2752556436
{
public:
// System.Byte[] Mono.Security.Cryptography.ARC4Managed::key
ByteU5BU5D_t4116647657* ___key_12;
// System.Byte[] Mono.Security.Cryptography.ARC4Managed::state
ByteU5BU5D_t4116647657* ___state_13;
// System.Byte Mono.Security.Cryptography.ARC4Managed::x
uint8_t ___x_14;
// System.Byte Mono.Security.Cryptography.ARC4Managed::y
uint8_t ___y_15;
// System.Boolean Mono.Security.Cryptography.ARC4Managed::m_disposed
bool ___m_disposed_16;
public:
inline static int32_t get_offset_of_key_12() { return static_cast<int32_t>(offsetof(ARC4Managed_t2641858452, ___key_12)); }
inline ByteU5BU5D_t4116647657* get_key_12() const { return ___key_12; }
inline ByteU5BU5D_t4116647657** get_address_of_key_12() { return &___key_12; }
inline void set_key_12(ByteU5BU5D_t4116647657* value)
{
___key_12 = value;
Il2CppCodeGenWriteBarrier((&___key_12), value);
}
inline static int32_t get_offset_of_state_13() { return static_cast<int32_t>(offsetof(ARC4Managed_t2641858452, ___state_13)); }
inline ByteU5BU5D_t4116647657* get_state_13() const { return ___state_13; }
inline ByteU5BU5D_t4116647657** get_address_of_state_13() { return &___state_13; }
inline void set_state_13(ByteU5BU5D_t4116647657* value)
{
___state_13 = value;
Il2CppCodeGenWriteBarrier((&___state_13), value);
}
inline static int32_t get_offset_of_x_14() { return static_cast<int32_t>(offsetof(ARC4Managed_t2641858452, ___x_14)); }
inline uint8_t get_x_14() const { return ___x_14; }
inline uint8_t* get_address_of_x_14() { return &___x_14; }
inline void set_x_14(uint8_t value)
{
___x_14 = value;
}
inline static int32_t get_offset_of_y_15() { return static_cast<int32_t>(offsetof(ARC4Managed_t2641858452, ___y_15)); }
inline uint8_t get_y_15() const { return ___y_15; }
inline uint8_t* get_address_of_y_15() { return &___y_15; }
inline void set_y_15(uint8_t value)
{
___y_15 = value;
}
inline static int32_t get_offset_of_m_disposed_16() { return static_cast<int32_t>(offsetof(ARC4Managed_t2641858452, ___m_disposed_16)); }
inline bool get_m_disposed_16() const { return ___m_disposed_16; }
inline bool* get_address_of_m_disposed_16() { return &___m_disposed_16; }
inline void set_m_disposed_16(bool value)
{
___m_disposed_16 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ARC4MANAGED_T2641858452_H
// System.UInt32[]
struct UInt32U5BU5D_t2770800703 : public RuntimeArray
{
public:
ALIGN_FIELD (8) uint32_t m_Items[1];
public:
inline uint32_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline uint32_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, uint32_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline uint32_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline uint32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, uint32_t value)
{
m_Items[index] = value;
}
};
// System.Byte[]
struct ByteU5BU5D_t4116647657 : public RuntimeArray
{
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;
}
};
// Mono.Math.BigInteger[]
struct BigIntegerU5BU5D_t2349952477 : public RuntimeArray
{
public:
ALIGN_FIELD (8) BigInteger_t2902905090 * m_Items[1];
public:
inline BigInteger_t2902905090 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline BigInteger_t2902905090 ** 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, BigInteger_t2902905090 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
inline BigInteger_t2902905090 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline BigInteger_t2902905090 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, BigInteger_t2902905090 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
};
// System.Object[]
struct ObjectU5BU5D_t2843939325 : public RuntimeArray
{
public:
ALIGN_FIELD (8) RuntimeObject * m_Items[1];
public:
inline RuntimeObject * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RuntimeObject ** 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, RuntimeObject * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
inline RuntimeObject * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RuntimeObject ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
};
// System.Security.Cryptography.KeySizes[]
struct KeySizesU5BU5D_t722666473 : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeySizes_t85027896 * m_Items[1];
public:
inline KeySizes_t85027896 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeySizes_t85027896 ** 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, KeySizes_t85027896 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
inline KeySizes_t85027896 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeySizes_t85027896 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeySizes_t85027896 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
};
// System.Int32[]
struct Int32U5BU5D_t385246372 : public RuntimeArray
{
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;
}
};
// System.Byte[][]
struct ByteU5BU5DU5BU5D_t457913172 : public RuntimeArray
{
public:
ALIGN_FIELD (8) ByteU5BU5D_t4116647657* m_Items[1];
public:
inline ByteU5BU5D_t4116647657* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline ByteU5BU5D_t4116647657** 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, ByteU5BU5D_t4116647657* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
inline ByteU5BU5D_t4116647657* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline ByteU5BU5D_t4116647657** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, ByteU5BU5D_t4116647657* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
};
// System.String[]
struct StringU5BU5D_t1281789340 : public RuntimeArray
{
public:
ALIGN_FIELD (8) String_t* m_Items[1];
public:
inline String_t* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline String_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, String_t* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
inline String_t* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline String_t** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, String_t* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
};
// Mono.Security.Protocol.Tls.Handshake.ClientCertificateType[]
struct ClientCertificateTypeU5BU5D_t4253920197 : public RuntimeArray
{
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;
}
};
// System.Security.Cryptography.X509Certificates.X509Certificate[]
struct X509CertificateU5BU5D_t3145106755 : public RuntimeArray
{
public:
ALIGN_FIELD (8) X509Certificate_t713131622 * m_Items[1];
public:
inline X509Certificate_t713131622 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline X509Certificate_t713131622 ** 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, X509Certificate_t713131622 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
inline X509Certificate_t713131622 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline X509Certificate_t713131622 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, X509Certificate_t713131622 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
};
// System.Void System.Collections.Generic.Dictionary`2<System.Object,System.Int32>::.ctor(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void Dictionary_2__ctor_m182537451_gshared (Dictionary_2_t3384741 * __this, int32_t p0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Object,System.Int32>::Add(!0,!1)
extern "C" IL2CPP_METHOD_ATTR void Dictionary_2_Add_m1279427033_gshared (Dictionary_2_t3384741 * __this, RuntimeObject * p0, int32_t p1, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.Dictionary`2<System.Object,System.Int32>::TryGetValue(!0,!1&)
extern "C" IL2CPP_METHOD_ATTR bool Dictionary_2_TryGetValue_m3959998165_gshared (Dictionary_2_t3384741 * __this, RuntimeObject * p0, int32_t* p1, const RuntimeMethod* method);
// System.Void System.Object::.ctor()
extern "C" IL2CPP_METHOD_ATTR void Object__ctor_m297566312 (RuntimeObject * __this, const RuntimeMethod* method);
// System.Object System.Array::Clone()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * Array_Clone_m2672907798 (RuntimeArray * __this, const RuntimeMethod* method);
// System.Void Mono.Math.BigInteger::Normalize()
extern "C" IL2CPP_METHOD_ATTR void BigInteger_Normalize_m3021106862 (BigInteger_t2902905090 * __this, const RuntimeMethod* method);
// System.Void System.Runtime.CompilerServices.RuntimeHelpers::InitializeArray(System.Array,System.RuntimeFieldHandle)
extern "C" IL2CPP_METHOD_ATTR void RuntimeHelpers_InitializeArray_m3117905507 (RuntimeObject * __this /* static, unused */, RuntimeArray * p0, RuntimeFieldHandle_t1871169219 p1, const RuntimeMethod* method);
// System.Security.Cryptography.RandomNumberGenerator System.Security.Cryptography.RandomNumberGenerator::Create()
extern "C" IL2CPP_METHOD_ATTR RandomNumberGenerator_t386037858 * RandomNumberGenerator_Create_m4162970280 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void Mono.Math.BigInteger::.ctor(Mono.Math.BigInteger/Sign,System.UInt32)
extern "C" IL2CPP_METHOD_ATTR void BigInteger__ctor_m3473491062 (BigInteger_t2902905090 * __this, int32_t ___sign0, uint32_t ___len1, const RuntimeMethod* method);
// System.Void System.Buffer::BlockCopy(System.Array,System.Int32,System.Array,System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void Buffer_BlockCopy_m2884209081 (RuntimeObject * __this /* static, unused */, RuntimeArray * p0, int32_t p1, RuntimeArray * p2, int32_t p3, int32_t p4, const RuntimeMethod* method);
// System.Security.Cryptography.RandomNumberGenerator Mono.Math.BigInteger::get_Rng()
extern "C" IL2CPP_METHOD_ATTR RandomNumberGenerator_t386037858 * BigInteger_get_Rng_m3283260184 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger::GenerateRandom(System.Int32,System.Security.Cryptography.RandomNumberGenerator)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * BigInteger_GenerateRandom_m3872771375 (RuntimeObject * __this /* static, unused */, int32_t ___bits0, RandomNumberGenerator_t386037858 * ___rng1, const RuntimeMethod* method);
// System.Void System.IndexOutOfRangeException::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void IndexOutOfRangeException__ctor_m3408750441 (IndexOutOfRangeException_t1578797820 * __this, String_t* p0, const RuntimeMethod* method);
// System.Void Mono.Math.BigInteger::SetBit(System.UInt32,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void BigInteger_SetBit_m1723423691 (BigInteger_t2902905090 * __this, uint32_t ___bitNum0, bool ___value1, const RuntimeMethod* method);
// System.Boolean Mono.Math.BigInteger::op_Equality(Mono.Math.BigInteger,System.UInt32)
extern "C" IL2CPP_METHOD_ATTR bool BigInteger_op_Equality_m3872814973 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, uint32_t ___ui1, const RuntimeMethod* method);
// System.Boolean Mono.Math.BigInteger::TestBit(System.Int32)
extern "C" IL2CPP_METHOD_ATTR bool BigInteger_TestBit_m2798226118 (BigInteger_t2902905090 * __this, int32_t ___bitNum0, const RuntimeMethod* method);
// System.Int32 Mono.Math.BigInteger::BitCount()
extern "C" IL2CPP_METHOD_ATTR int32_t BigInteger_BitCount_m2055977486 (BigInteger_t2902905090 * __this, const RuntimeMethod* method);
// System.String Mono.Math.BigInteger::ToString(System.UInt32,System.String)
extern "C" IL2CPP_METHOD_ATTR String_t* BigInteger_ToString_m1181683046 (BigInteger_t2902905090 * __this, uint32_t ___radix0, String_t* ___characterSet1, const RuntimeMethod* method);
// System.Int32 System.String::get_Length()
extern "C" IL2CPP_METHOD_ATTR int32_t String_get_Length_m3847582255 (String_t* __this, const RuntimeMethod* method);
// System.Void System.ArgumentException::.ctor(System.String,System.String)
extern "C" IL2CPP_METHOD_ATTR void ArgumentException__ctor_m1216717135 (ArgumentException_t132251570 * __this, String_t* p0, String_t* p1, const RuntimeMethod* method);
// System.Void Mono.Math.BigInteger::.ctor(Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR void BigInteger__ctor_m2108826647 (BigInteger_t2902905090 * __this, BigInteger_t2902905090 * ___bi0, const RuntimeMethod* method);
// System.UInt32 Mono.Math.BigInteger/Kernel::SingleByteDivideInPlace(Mono.Math.BigInteger,System.UInt32)
extern "C" IL2CPP_METHOD_ATTR uint32_t Kernel_SingleByteDivideInPlace_m2393683267 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___n0, uint32_t ___d1, const RuntimeMethod* method);
// System.Char System.String::get_Chars(System.Int32)
extern "C" IL2CPP_METHOD_ATTR Il2CppChar String_get_Chars_m2986988803 (String_t* __this, int32_t p0, const RuntimeMethod* method);
// System.String System.String::Concat(System.Object,System.Object)
extern "C" IL2CPP_METHOD_ATTR String_t* String_Concat_m904156431 (RuntimeObject * __this /* static, unused */, RuntimeObject * p0, RuntimeObject * p1, const RuntimeMethod* method);
// System.Boolean Mono.Math.BigInteger::op_Inequality(Mono.Math.BigInteger,System.UInt32)
extern "C" IL2CPP_METHOD_ATTR bool BigInteger_op_Inequality_m3469726044 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, uint32_t ___ui1, const RuntimeMethod* method);
// System.String Mono.Math.BigInteger::ToString(System.UInt32)
extern "C" IL2CPP_METHOD_ATTR String_t* BigInteger_ToString_m3260066955 (BigInteger_t2902905090 * __this, uint32_t ___radix0, const RuntimeMethod* method);
// System.Boolean Mono.Math.BigInteger::op_Equality(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR bool BigInteger_op_Equality_m1194739960 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method);
// Mono.Math.BigInteger/Sign Mono.Math.BigInteger/Kernel::Compare(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR int32_t Kernel_Compare_m2669603547 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger/Kernel::modInverse(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * Kernel_modInverse_m652700340 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi0, BigInteger_t2902905090 * ___modulus1, const RuntimeMethod* method);
// System.Void Mono.Math.BigInteger/ModulusRing::.ctor(Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR void ModulusRing__ctor_m2420310199 (ModulusRing_t596511505 * __this, BigInteger_t2902905090 * ___modulus0, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger/ModulusRing::Pow(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * ModulusRing_Pow_m1124248336 (ModulusRing_t596511505 * __this, BigInteger_t2902905090 * ___a0, BigInteger_t2902905090 * ___k1, const RuntimeMethod* method);
// System.Void Mono.Math.Prime.Generator.SequentialSearchPrimeGeneratorBase::.ctor()
extern "C" IL2CPP_METHOD_ATTR void SequentialSearchPrimeGeneratorBase__ctor_m577913576 (SequentialSearchPrimeGeneratorBase_t2996090509 * __this, const RuntimeMethod* method);
// System.Void Mono.Math.BigInteger::.ctor(System.UInt32)
extern "C" IL2CPP_METHOD_ATTR void BigInteger__ctor_m2474659844 (BigInteger_t2902905090 * __this, uint32_t ___ui0, const RuntimeMethod* method);
// System.Void System.ArgumentOutOfRangeException::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void ArgumentOutOfRangeException__ctor_m3628145864 (ArgumentOutOfRangeException_t777629997 * __this, String_t* p0, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger/Kernel::AddSameSign(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * Kernel_AddSameSign_m3267067385 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method);
// System.Void System.ArithmeticException::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void ArithmeticException__ctor_m3551809662 (ArithmeticException_t4283546778 * __this, String_t* p0, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Implicit(System.Int32)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * BigInteger_op_Implicit_m2547142909 (RuntimeObject * __this /* static, unused */, int32_t ___value0, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger/Kernel::Subtract(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * Kernel_Subtract_m846005223 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___big0, BigInteger_t2902905090 * ___small1, const RuntimeMethod* method);
// System.Void System.Exception::.ctor()
extern "C" IL2CPP_METHOD_ATTR void Exception__ctor_m213470898 (Exception_t * __this, const RuntimeMethod* method);
// System.UInt32 Mono.Math.BigInteger/Kernel::DwordMod(Mono.Math.BigInteger,System.UInt32)
extern "C" IL2CPP_METHOD_ATTR uint32_t Kernel_DwordMod_m3830036736 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___n0, uint32_t ___d1, const RuntimeMethod* method);
// Mono.Math.BigInteger[] Mono.Math.BigInteger/Kernel::multiByteDivide(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR BigIntegerU5BU5D_t2349952477* Kernel_multiByteDivide_m450694282 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method);
// 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" IL2CPP_METHOD_ATTR void Kernel_Multiply_m193213393 (RuntimeObject * __this /* static, unused */, UInt32U5BU5D_t2770800703* ___x0, uint32_t ___xOffset1, uint32_t ___xLen2, UInt32U5BU5D_t2770800703* ___y3, uint32_t ___yOffset4, uint32_t ___yLen5, UInt32U5BU5D_t2770800703* ___d6, uint32_t ___dOffset7, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger/Kernel::LeftShift(Mono.Math.BigInteger,System.Int32)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * Kernel_LeftShift_m4140742987 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi0, int32_t ___n1, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger/Kernel::RightShift(Mono.Math.BigInteger,System.Int32)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * Kernel_RightShift_m3246168448 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi0, int32_t ___n1, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Implicit(System.UInt32)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * BigInteger_op_Implicit_m3414367033 (RuntimeObject * __this /* static, unused */, uint32_t ___value0, const RuntimeMethod* method);
// Mono.Math.BigInteger[] Mono.Math.BigInteger/Kernel::DwordDivMod(Mono.Math.BigInteger,System.UInt32)
extern "C" IL2CPP_METHOD_ATTR BigIntegerU5BU5D_t2349952477* Kernel_DwordDivMod_m1540317819 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___n0, uint32_t ___d1, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger::op_LeftShift(Mono.Math.BigInteger,System.Int32)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * BigInteger_op_LeftShift_m3681213422 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, int32_t ___shiftVal1, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger::op_RightShift(Mono.Math.BigInteger,System.Int32)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * BigInteger_op_RightShift_m460065452 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, int32_t ___shiftVal1, const RuntimeMethod* method);
// System.Void Mono.Math.BigInteger::.ctor(Mono.Math.BigInteger,System.UInt32)
extern "C" IL2CPP_METHOD_ATTR void BigInteger__ctor_m2644482640 (BigInteger_t2902905090 * __this, BigInteger_t2902905090 * ___bi0, uint32_t ___len1, const RuntimeMethod* method);
// System.UInt32 Mono.Math.BigInteger::op_Modulus(Mono.Math.BigInteger,System.UInt32)
extern "C" IL2CPP_METHOD_ATTR uint32_t BigInteger_op_Modulus_m3242311550 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi0, uint32_t ___ui1, const RuntimeMethod* method);
// System.UInt32 Mono.Math.BigInteger/Kernel::modInverse(Mono.Math.BigInteger,System.UInt32)
extern "C" IL2CPP_METHOD_ATTR uint32_t Kernel_modInverse_m4048046181 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi0, uint32_t ___modulus1, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Multiply(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * BigInteger_op_Multiply_m3683746602 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger/ModulusRing::Difference(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * ModulusRing_Difference_m3686091506 (ModulusRing_t596511505 * __this, BigInteger_t2902905090 * ___a0, BigInteger_t2902905090 * ___b1, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Division(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * BigInteger_op_Division_m3713793389 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method);
// 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" IL2CPP_METHOD_ATTR void Kernel_MultiplyMod2p32pmod_m451690680 (RuntimeObject * __this /* static, unused */, UInt32U5BU5D_t2770800703* ___x0, int32_t ___xOffset1, int32_t ___xLen2, UInt32U5BU5D_t2770800703* ___y3, int32_t ___yOffest4, int32_t ___yLen5, UInt32U5BU5D_t2770800703* ___d6, int32_t ___dOffset7, int32_t ___mod8, const RuntimeMethod* method);
// System.Boolean Mono.Math.BigInteger::op_LessThanOrEqual(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR bool BigInteger_op_LessThanOrEqual_m3925173639 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method);
// System.Void Mono.Math.BigInteger/Kernel::MinusEq(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR void Kernel_MinusEq_m2152832554 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___big0, BigInteger_t2902905090 * ___small1, const RuntimeMethod* method);
// System.Void Mono.Math.BigInteger/Kernel::PlusEq(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR void Kernel_PlusEq_m136676638 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method);
// System.Boolean Mono.Math.BigInteger::op_GreaterThanOrEqual(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR bool BigInteger_op_GreaterThanOrEqual_m3313329514 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method);
// System.Boolean Mono.Math.BigInteger::op_GreaterThan(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR bool BigInteger_op_GreaterThan_m2974122765 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Modulus(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * BigInteger_op_Modulus_m2565477533 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method);
// System.Void Mono.Math.BigInteger/ModulusRing::BarrettReduction(Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR void ModulusRing_BarrettReduction_m3024442734 (ModulusRing_t596511505 * __this, BigInteger_t2902905090 * ___x0, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Subtraction(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * BigInteger_op_Subtraction_m4245834512 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger/ModulusRing::Multiply(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * ModulusRing_Multiply_m1975391470 (ModulusRing_t596511505 * __this, BigInteger_t2902905090 * ___a0, BigInteger_t2902905090 * ___b1, const RuntimeMethod* method);
// System.Void Mono.Math.Prime.PrimalityTest::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void PrimalityTest__ctor_m763620166 (PrimalityTest_t1539325944 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// System.Void Mono.Math.Prime.Generator.PrimeGeneratorBase::.ctor()
extern "C" IL2CPP_METHOD_ATTR void PrimeGeneratorBase__ctor_m2423671149 (PrimeGeneratorBase_t446028867 * __this, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger::GenerateRandom(System.Int32)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * BigInteger_GenerateRandom_m1790382084 (RuntimeObject * __this /* static, unused */, int32_t ___bits0, const RuntimeMethod* method);
// System.Void Mono.Math.BigInteger::SetBit(System.UInt32)
extern "C" IL2CPP_METHOD_ATTR void BigInteger_SetBit_m1387902198 (BigInteger_t2902905090 * __this, uint32_t ___bitNum0, const RuntimeMethod* method);
// System.Boolean Mono.Math.Prime.PrimalityTest::Invoke(Mono.Math.BigInteger,Mono.Math.Prime.ConfidenceFactor)
extern "C" IL2CPP_METHOD_ATTR bool PrimalityTest_Invoke_m2948246884 (PrimalityTest_t1539325944 * __this, BigInteger_t2902905090 * ___bi0, int32_t ___confidence1, const RuntimeMethod* method);
// System.Void Mono.Math.BigInteger::Incr2()
extern "C" IL2CPP_METHOD_ATTR void BigInteger_Incr2_m1531167978 (BigInteger_t2902905090 * __this, const RuntimeMethod* method);
// System.Void System.Exception::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void Exception__ctor_m1152696503 (Exception_t * __this, String_t* p0, const RuntimeMethod* method);
// System.Int32 Mono.Math.Prime.PrimalityTests::GetSPPRounds(Mono.Math.BigInteger,Mono.Math.Prime.ConfidenceFactor)
extern "C" IL2CPP_METHOD_ATTR int32_t PrimalityTests_GetSPPRounds_m2558073743 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi0, int32_t ___confidence1, const RuntimeMethod* method);
// System.Int32 Mono.Math.BigInteger::LowestSetBit()
extern "C" IL2CPP_METHOD_ATTR int32_t BigInteger_LowestSetBit_m1199244228 (BigInteger_t2902905090 * __this, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger/ModulusRing::Pow(System.UInt32,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * ModulusRing_Pow_m729002192 (ModulusRing_t596511505 * __this, uint32_t ___b0, BigInteger_t2902905090 * ___exp1, const RuntimeMethod* method);
// System.Boolean Mono.Math.BigInteger::op_Inequality(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR bool BigInteger_op_Inequality_m2697143438 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method);
// System.Void Mono.Security.ASN1::.ctor(System.Byte,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void ASN1__ctor_m682794872 (ASN1_t2114160833 * __this, uint8_t ___tag0, ByteU5BU5D_t4116647657* ___data1, const RuntimeMethod* method);
// System.Void System.NotSupportedException::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void NotSupportedException__ctor_m2494070935 (NotSupportedException_t1314879016 * __this, String_t* p0, const RuntimeMethod* method);
// System.Void Mono.Security.ASN1::Decode(System.Byte[],System.Int32&,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void ASN1_Decode_m1245286596 (ASN1_t2114160833 * __this, ByteU5BU5D_t4116647657* ___asn10, int32_t* ___anPos1, int32_t ___anLength2, const RuntimeMethod* method);
// System.Boolean Mono.Security.ASN1::CompareArray(System.Byte[],System.Byte[])
extern "C" IL2CPP_METHOD_ATTR bool ASN1_CompareArray_m3928975006 (ASN1_t2114160833 * __this, ByteU5BU5D_t4116647657* ___array10, ByteU5BU5D_t4116647657* ___array21, const RuntimeMethod* method);
// System.Void System.Collections.ArrayList::.ctor()
extern "C" IL2CPP_METHOD_ATTR void ArrayList__ctor_m4254721275 (ArrayList_t2718874744 * __this, const RuntimeMethod* method);
// System.Int32 Mono.Security.ASN1::get_Count()
extern "C" IL2CPP_METHOD_ATTR int32_t ASN1_get_Count_m1789520042 (ASN1_t2114160833 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.ASN1::DecodeTLV(System.Byte[],System.Int32&,System.Byte&,System.Int32&,System.Byte[]&)
extern "C" IL2CPP_METHOD_ATTR void ASN1_DecodeTLV_m3927350254 (ASN1_t2114160833 * __this, ByteU5BU5D_t4116647657* ___asn10, int32_t* ___pos1, uint8_t* ___tag2, int32_t* ___length3, ByteU5BU5D_t4116647657** ___content4, const RuntimeMethod* method);
// Mono.Security.ASN1 Mono.Security.ASN1::Add(Mono.Security.ASN1)
extern "C" IL2CPP_METHOD_ATTR ASN1_t2114160833 * ASN1_Add_m2431139999 (ASN1_t2114160833 * __this, ASN1_t2114160833 * ___asn10, const RuntimeMethod* method);
// System.Byte Mono.Security.ASN1::get_Tag()
extern "C" IL2CPP_METHOD_ATTR uint8_t ASN1_get_Tag_m2789147236 (ASN1_t2114160833 * __this, const RuntimeMethod* method);
// System.Void System.Text.StringBuilder::.ctor()
extern "C" IL2CPP_METHOD_ATTR void StringBuilder__ctor_m3121283359 (StringBuilder_t * __this, const RuntimeMethod* method);
// System.String System.Byte::ToString(System.String)
extern "C" IL2CPP_METHOD_ATTR String_t* Byte_ToString_m3735479648 (uint8_t* __this, String_t* p0, const RuntimeMethod* method);
// System.String System.Environment::get_NewLine()
extern "C" IL2CPP_METHOD_ATTR String_t* Environment_get_NewLine_m3211016485 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Text.StringBuilder System.Text.StringBuilder::AppendFormat(System.String,System.Object,System.Object)
extern "C" IL2CPP_METHOD_ATTR StringBuilder_t * StringBuilder_AppendFormat_m3255666490 (StringBuilder_t * __this, String_t* p0, RuntimeObject * p1, RuntimeObject * p2, const RuntimeMethod* method);
// System.Byte[] Mono.Security.ASN1::get_Value()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* ASN1_get_Value_m63296490 (ASN1_t2114160833 * __this, const RuntimeMethod* method);
// System.Text.StringBuilder System.Text.StringBuilder::Append(System.String)
extern "C" IL2CPP_METHOD_ATTR StringBuilder_t * StringBuilder_Append_m1965104174 (StringBuilder_t * __this, String_t* p0, const RuntimeMethod* method);
// System.Text.StringBuilder System.Text.StringBuilder::AppendFormat(System.String,System.Object)
extern "C" IL2CPP_METHOD_ATTR StringBuilder_t * StringBuilder_AppendFormat_m3016532472 (StringBuilder_t * __this, String_t* p0, RuntimeObject * p1, const RuntimeMethod* method);
// System.Text.StringBuilder System.Text.StringBuilder::AppendFormat(System.String,System.Object[])
extern "C" IL2CPP_METHOD_ATTR StringBuilder_t * StringBuilder_AppendFormat_m921870684 (StringBuilder_t * __this, String_t* p0, ObjectU5BU5D_t2843939325* p1, const RuntimeMethod* method);
// System.String System.Text.StringBuilder::ToString()
extern "C" IL2CPP_METHOD_ATTR String_t* StringBuilder_ToString_m3317489284 (StringBuilder_t * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.BitConverterLE::GetBytes(System.Int32)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* BitConverterLE_GetBytes_m3268825786 (RuntimeObject * __this /* static, unused */, int32_t ___value0, const RuntimeMethod* method);
// System.Void System.Array::Reverse(System.Array)
extern "C" IL2CPP_METHOD_ATTR void Array_Reverse_m3714848183 (RuntimeObject * __this /* static, unused */, RuntimeArray * p0, const RuntimeMethod* method);
// System.Void Mono.Security.ASN1::.ctor(System.Byte)
extern "C" IL2CPP_METHOD_ATTR void ASN1__ctor_m1239252869 (ASN1_t2114160833 * __this, uint8_t ___tag0, const RuntimeMethod* method);
// System.Void Mono.Security.ASN1::set_Value(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void ASN1_set_Value_m647861841 (ASN1_t2114160833 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method);
// System.Void System.ArgumentNullException::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void ArgumentNullException__ctor_m1170824041 (ArgumentNullException_t1615371798 * __this, String_t* p0, const RuntimeMethod* method);
// System.Byte[] System.Security.Cryptography.CryptoConfig::EncodeOID(System.String)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* CryptoConfig_EncodeOID_m2635914623 (RuntimeObject * __this /* static, unused */, String_t* p0, const RuntimeMethod* method);
// System.Void Mono.Security.ASN1::.ctor(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void ASN1__ctor_m1638893325 (ASN1_t2114160833 * __this, ByteU5BU5D_t4116647657* ___data0, const RuntimeMethod* method);
// System.Void System.FormatException::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void FormatException__ctor_m4049685996 (FormatException_t154580423 * __this, String_t* p0, const RuntimeMethod* method);
// System.Globalization.CultureInfo System.Globalization.CultureInfo::get_InvariantCulture()
extern "C" IL2CPP_METHOD_ATTR CultureInfo_t4157843068 * CultureInfo_get_InvariantCulture_m3532445182 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.String System.Byte::ToString(System.IFormatProvider)
extern "C" IL2CPP_METHOD_ATTR String_t* Byte_ToString_m2335342258 (uint8_t* __this, RuntimeObject* p0, const RuntimeMethod* method);
// System.String System.UInt64::ToString(System.IFormatProvider)
extern "C" IL2CPP_METHOD_ATTR String_t* UInt64_ToString_m2623377370 (uint64_t* __this, RuntimeObject* p0, const RuntimeMethod* method);
// System.Text.Encoding System.Text.Encoding::get_ASCII()
extern "C" IL2CPP_METHOD_ATTR Encoding_t1523322056 * Encoding_get_ASCII_m3595602635 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.String System.String::Substring(System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR String_t* String_Substring_m1610150815 (String_t* __this, int32_t p0, int32_t p1, const RuntimeMethod* method);
// System.Int16 System.Convert::ToInt16(System.String,System.IFormatProvider)
extern "C" IL2CPP_METHOD_ATTR int16_t Convert_ToInt16_m3185404879 (RuntimeObject * __this /* static, unused */, String_t* p0, RuntimeObject* p1, const RuntimeMethod* method);
// System.String System.String::Concat(System.String,System.String)
extern "C" IL2CPP_METHOD_ATTR String_t* String_Concat_m3937257545 (RuntimeObject * __this /* static, unused */, String_t* p0, String_t* p1, const RuntimeMethod* method);
// System.String System.String::Format(System.String,System.Object[])
extern "C" IL2CPP_METHOD_ATTR String_t* String_Format_m630303134 (RuntimeObject * __this /* static, unused */, String_t* p0, ObjectU5BU5D_t2843939325* p1, const RuntimeMethod* method);
// System.DateTime System.DateTime::ParseExact(System.String,System.String,System.IFormatProvider,System.Globalization.DateTimeStyles)
extern "C" IL2CPP_METHOD_ATTR DateTime_t3738529785 DateTime_ParseExact_m2711902273 (RuntimeObject * __this /* static, unused */, String_t* p0, String_t* p1, RuntimeObject* p2, int32_t p3, const RuntimeMethod* method);
// System.Byte[] Mono.Security.BitConverterLE::GetUIntBytes(System.Byte*)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* BitConverterLE_GetUIntBytes_m795219058 (RuntimeObject * __this /* static, unused */, uint8_t* ___bytes0, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.RC4::.ctor()
extern "C" IL2CPP_METHOD_ATTR void RC4__ctor_m3531760091 (RC4_t2752556436 * __this, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.SymmetricAlgorithm::Finalize()
extern "C" IL2CPP_METHOD_ATTR void SymmetricAlgorithm_Finalize_m2361523015 (SymmetricAlgorithm_t4254223087 * __this, const RuntimeMethod* method);
// System.Void System.Array::Clear(System.Array,System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void Array_Clear_m2231608178 (RuntimeObject * __this /* static, unused */, RuntimeArray * p0, int32_t p1, int32_t p2, const RuntimeMethod* method);
// System.Void System.GC::SuppressFinalize(System.Object)
extern "C" IL2CPP_METHOD_ATTR void GC_SuppressFinalize_m1177400158 (RuntimeObject * __this /* static, unused */, RuntimeObject * p0, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.ARC4Managed::KeySetup(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void ARC4Managed_KeySetup_m2449315676 (ARC4Managed_t2641858452 * __this, ByteU5BU5D_t4116647657* ___key0, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Cryptography.KeyBuilder::Key(System.Int32)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* KeyBuilder_Key_m1482371611 (RuntimeObject * __this /* static, unused */, int32_t ___size0, const RuntimeMethod* method);
// System.Void System.ArgumentOutOfRangeException::.ctor(System.String,System.String)
extern "C" IL2CPP_METHOD_ATTR void ArgumentOutOfRangeException__ctor_m282481429 (ArgumentOutOfRangeException_t777629997 * __this, String_t* p0, String_t* p1, const RuntimeMethod* method);
// System.String Locale::GetText(System.String)
extern "C" IL2CPP_METHOD_ATTR String_t* Locale_GetText_m3520169047 (RuntimeObject * __this /* static, unused */, String_t* ___msg0, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.ARC4Managed::CheckInput(System.Byte[],System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void ARC4Managed_CheckInput_m1562172012 (ARC4Managed_t2641858452 * __this, ByteU5BU5D_t4116647657* ___inputBuffer0, int32_t ___inputOffset1, int32_t ___inputCount2, const RuntimeMethod* method);
// System.Int32 Mono.Security.Cryptography.ARC4Managed::InternalTransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t ARC4Managed_InternalTransformBlock_m1047162329 (ARC4Managed_t2641858452 * __this, ByteU5BU5D_t4116647657* ___inputBuffer0, int32_t ___inputOffset1, int32_t ___inputCount2, ByteU5BU5D_t4116647657* ___outputBuffer3, int32_t ___outputOffset4, const RuntimeMethod* method);
// System.Void System.Text.StringBuilder::.ctor(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void StringBuilder__ctor_m2367297767 (StringBuilder_t * __this, int32_t p0, const RuntimeMethod* method);
// System.String System.Byte::ToString(System.String,System.IFormatProvider)
extern "C" IL2CPP_METHOD_ATTR String_t* Byte_ToString_m4063101981 (uint8_t* __this, String_t* p0, RuntimeObject* p1, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.KeyedHashAlgorithm::.ctor()
extern "C" IL2CPP_METHOD_ATTR void KeyedHashAlgorithm__ctor_m4053775756 (KeyedHashAlgorithm_t112861511 * __this, const RuntimeMethod* method);
// System.Security.Cryptography.HashAlgorithm System.Security.Cryptography.HashAlgorithm::Create(System.String)
extern "C" IL2CPP_METHOD_ATTR HashAlgorithm_t1432317219 * HashAlgorithm_Create_m644612360 (RuntimeObject * __this /* static, unused */, String_t* p0, const RuntimeMethod* method);
// System.Byte[] System.Security.Cryptography.HashAlgorithm::ComputeHash(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* HashAlgorithm_ComputeHash_m2825542963 (HashAlgorithm_t1432317219 * __this, ByteU5BU5D_t4116647657* p0, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.HMAC::initializePad()
extern "C" IL2CPP_METHOD_ATTR void HMAC_initializePad_m59014980 (HMAC_t3689525210 * __this, const RuntimeMethod* method);
// System.Int32 System.Security.Cryptography.HashAlgorithm::TransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t HashAlgorithm_TransformBlock_m4006041779 (HashAlgorithm_t1432317219 * __this, ByteU5BU5D_t4116647657* p0, int32_t p1, int32_t p2, ByteU5BU5D_t4116647657* p3, int32_t p4, const RuntimeMethod* method);
// System.Byte[] System.Security.Cryptography.HashAlgorithm::TransformFinalBlock(System.Byte[],System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* HashAlgorithm_TransformFinalBlock_m3005451348 (HashAlgorithm_t1432317219 * __this, ByteU5BU5D_t4116647657* p0, int32_t p1, int32_t p2, const RuntimeMethod* method);
// System.Security.Cryptography.RandomNumberGenerator Mono.Security.Cryptography.KeyBuilder::get_Rng()
extern "C" IL2CPP_METHOD_ATTR RandomNumberGenerator_t386037858 * KeyBuilder_get_Rng_m983065666 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.HashAlgorithm::.ctor()
extern "C" IL2CPP_METHOD_ATTR void HashAlgorithm__ctor_m190815979 (HashAlgorithm_t1432317219 * __this, const RuntimeMethod* method);
// Mono.Security.Cryptography.MD2 Mono.Security.Cryptography.MD2::Create(System.String)
extern "C" IL2CPP_METHOD_ATTR MD2_t1561046427 * MD2_Create_m1292792200 (RuntimeObject * __this /* static, unused */, String_t* ___hashName0, const RuntimeMethod* method);
// System.Object System.Security.Cryptography.CryptoConfig::CreateFromName(System.String)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * CryptoConfig_CreateFromName_m1538277313 (RuntimeObject * __this /* static, unused */, String_t* p0, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.MD2Managed::.ctor()
extern "C" IL2CPP_METHOD_ATTR void MD2Managed__ctor_m3243422744 (MD2Managed_t1377101535 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.MD2::.ctor()
extern "C" IL2CPP_METHOD_ATTR void MD2__ctor_m2402458789 (MD2_t1561046427 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.MD2Managed::MD2Transform(System.Byte[],System.Byte[],System.Byte[],System.Int32)
extern "C" IL2CPP_METHOD_ATTR void MD2Managed_MD2Transform_m3143426291 (MD2Managed_t1377101535 * __this, ByteU5BU5D_t4116647657* ___state0, ByteU5BU5D_t4116647657* ___checksum1, ByteU5BU5D_t4116647657* ___block2, int32_t ___index3, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Cryptography.MD2Managed::Padding(System.Int32)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* MD2Managed_Padding_m1334210368 (MD2Managed_t1377101535 * __this, int32_t ___nLength0, const RuntimeMethod* method);
// Mono.Security.Cryptography.MD4 Mono.Security.Cryptography.MD4::Create(System.String)
extern "C" IL2CPP_METHOD_ATTR MD4_t1560915355 * MD4_Create_m4111026039 (RuntimeObject * __this /* static, unused */, String_t* ___hashName0, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.MD4Managed::.ctor()
extern "C" IL2CPP_METHOD_ATTR void MD4Managed__ctor_m2284724408 (MD4Managed_t957540063 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.MD4::.ctor()
extern "C" IL2CPP_METHOD_ATTR void MD4__ctor_m919379109 (MD4_t1560915355 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.MD4Managed::MD4Transform(System.UInt32[],System.Byte[],System.Int32)
extern "C" IL2CPP_METHOD_ATTR void MD4Managed_MD4Transform_m1101832482 (MD4Managed_t957540063 * __this, UInt32U5BU5D_t2770800703* ___state0, ByteU5BU5D_t4116647657* ___block1, int32_t ___index2, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.MD4Managed::Encode(System.Byte[],System.UInt32[])
extern "C" IL2CPP_METHOD_ATTR void MD4Managed_Encode_m386285215 (MD4Managed_t957540063 * __this, ByteU5BU5D_t4116647657* ___output0, UInt32U5BU5D_t2770800703* ___input1, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Cryptography.MD4Managed::Padding(System.Int32)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* MD4Managed_Padding_m3091724296 (MD4Managed_t957540063 * __this, int32_t ___nLength0, const RuntimeMethod* method);
// System.UInt32 Mono.Security.Cryptography.MD4Managed::F(System.UInt32,System.UInt32,System.UInt32)
extern "C" IL2CPP_METHOD_ATTR uint32_t MD4Managed_F_m2794461001 (MD4Managed_t957540063 * __this, uint32_t ___x0, uint32_t ___y1, uint32_t ___z2, const RuntimeMethod* method);
// System.UInt32 Mono.Security.Cryptography.MD4Managed::ROL(System.UInt32,System.Byte)
extern "C" IL2CPP_METHOD_ATTR uint32_t MD4Managed_ROL_m691796253 (MD4Managed_t957540063 * __this, uint32_t ___x0, uint8_t ___n1, const RuntimeMethod* method);
// System.UInt32 Mono.Security.Cryptography.MD4Managed::G(System.UInt32,System.UInt32,System.UInt32)
extern "C" IL2CPP_METHOD_ATTR uint32_t MD4Managed_G_m2118206422 (MD4Managed_t957540063 * __this, uint32_t ___x0, uint32_t ___y1, uint32_t ___z2, const RuntimeMethod* method);
// System.UInt32 Mono.Security.Cryptography.MD4Managed::H(System.UInt32,System.UInt32,System.UInt32)
extern "C" IL2CPP_METHOD_ATTR uint32_t MD4Managed_H_m213605525 (MD4Managed_t957540063 * __this, uint32_t ___x0, uint32_t ___y1, uint32_t ___z2, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.MD4Managed::Decode(System.UInt32[],System.Byte[],System.Int32)
extern "C" IL2CPP_METHOD_ATTR void MD4Managed_Decode_m4273685594 (MD4Managed_t957540063 * __this, UInt32U5BU5D_t2770800703* ___output0, ByteU5BU5D_t4116647657* ___input1, int32_t ___index2, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.MD4Managed::FF(System.UInt32&,System.UInt32,System.UInt32,System.UInt32,System.UInt32,System.Byte)
extern "C" IL2CPP_METHOD_ATTR void MD4Managed_FF_m3294771481 (MD4Managed_t957540063 * __this, uint32_t* ___a0, uint32_t ___b1, uint32_t ___c2, uint32_t ___d3, uint32_t ___x4, uint8_t ___s5, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.MD4Managed::GG(System.UInt32&,System.UInt32,System.UInt32,System.UInt32,System.UInt32,System.Byte)
extern "C" IL2CPP_METHOD_ATTR void MD4Managed_GG_m1845276249 (MD4Managed_t957540063 * __this, uint32_t* ___a0, uint32_t ___b1, uint32_t ___c2, uint32_t ___d3, uint32_t ___x4, uint8_t ___s5, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.MD4Managed::HH(System.UInt32&,System.UInt32,System.UInt32,System.UInt32,System.UInt32,System.Byte)
extern "C" IL2CPP_METHOD_ATTR void MD4Managed_HH_m2535673516 (MD4Managed_t957540063 * __this, uint32_t* ___a0, uint32_t ___b1, uint32_t ___c2, uint32_t ___d3, uint32_t ___x4, uint8_t ___s5, const RuntimeMethod* method);
// System.Security.Cryptography.MD5 System.Security.Cryptography.MD5::Create()
extern "C" IL2CPP_METHOD_ATTR MD5_t3177620429 * MD5_Create_m3522414168 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Security.Cryptography.SHA1 System.Security.Cryptography.SHA1::Create()
extern "C" IL2CPP_METHOD_ATTR SHA1_t1803193667 * SHA1_Create_m1390871308 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.CryptographicUnexpectedOperationException::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void CryptographicUnexpectedOperationException__ctor_m2381988196 (CryptographicUnexpectedOperationException_t2790575154 * __this, String_t* p0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.RSASslSignatureFormatter::.ctor(System.Security.Cryptography.AsymmetricAlgorithm)
extern "C" IL2CPP_METHOD_ATTR void RSASslSignatureFormatter__ctor_m1299283008 (RSASslSignatureFormatter_t2709678514 * __this, AsymmetricAlgorithm_t932037087 * ___key0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.RSASslSignatureDeformatter::.ctor(System.Security.Cryptography.AsymmetricAlgorithm)
extern "C" IL2CPP_METHOD_ATTR void RSASslSignatureDeformatter__ctor_m4026549112 (RSASslSignatureDeformatter_t3558097625 * __this, AsymmetricAlgorithm_t932037087 * ___key0, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Cryptography.PKCS1::Encode_v15(System.Security.Cryptography.HashAlgorithm,System.Byte[],System.Int32)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* PKCS1_Encode_v15_m2077073129 (RuntimeObject * __this /* static, unused */, HashAlgorithm_t1432317219 * ___hash0, ByteU5BU5D_t4116647657* ___hashValue1, int32_t ___emLength2, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Cryptography.PKCS1::OS2IP(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* PKCS1_OS2IP_m1443067185 (RuntimeObject * __this /* static, unused */, ByteU5BU5D_t4116647657* ___x0, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Cryptography.PKCS1::RSASP1(System.Security.Cryptography.RSA,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* PKCS1_RSASP1_m4286349561 (RuntimeObject * __this /* static, unused */, RSA_t2385438082 * ___rsa0, ByteU5BU5D_t4116647657* ___m1, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Cryptography.PKCS1::I2OSP(System.Byte[],System.Int32)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* PKCS1_I2OSP_m2559784711 (RuntimeObject * __this /* static, unused */, ByteU5BU5D_t4116647657* ___x0, int32_t ___size1, const RuntimeMethod* method);
// System.Boolean Mono.Security.Cryptography.PKCS1::Verify_v15(System.Security.Cryptography.RSA,System.Security.Cryptography.HashAlgorithm,System.Byte[],System.Byte[],System.Boolean)
extern "C" IL2CPP_METHOD_ATTR bool PKCS1_Verify_v15_m400093581 (RuntimeObject * __this /* static, unused */, RSA_t2385438082 * ___rsa0, HashAlgorithm_t1432317219 * ___hash1, ByteU5BU5D_t4116647657* ___hashValue2, ByteU5BU5D_t4116647657* ___signature3, bool ___tryNonStandardEncoding4, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Cryptography.PKCS1::RSAVP1(System.Security.Cryptography.RSA,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* PKCS1_RSAVP1_m43771175 (RuntimeObject * __this /* static, unused */, RSA_t2385438082 * ___rsa0, ByteU5BU5D_t4116647657* ___s1, const RuntimeMethod* method);
// System.Boolean Mono.Security.Cryptography.PKCS1::Compare(System.Byte[],System.Byte[])
extern "C" IL2CPP_METHOD_ATTR bool PKCS1_Compare_m8562819 (RuntimeObject * __this /* static, unused */, ByteU5BU5D_t4116647657* ___array10, ByteU5BU5D_t4116647657* ___array21, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.CryptographicException::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void CryptographicException__ctor_m503735289 (CryptographicException_t248831461 * __this, String_t* p0, const RuntimeMethod* method);
// System.String System.Security.Cryptography.CryptoConfig::MapNameToOID(System.String)
extern "C" IL2CPP_METHOD_ATTR String_t* CryptoConfig_MapNameToOID_m2044758263 (RuntimeObject * __this /* static, unused */, String_t* p0, const RuntimeMethod* method);
// System.Int32 System.Math::Max(System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t Math_Max_m1873195862 (RuntimeObject * __this /* static, unused */, int32_t p0, int32_t p1, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo::.ctor()
extern "C" IL2CPP_METHOD_ATTR void EncryptedPrivateKeyInfo__ctor_m3415744930 (EncryptedPrivateKeyInfo_t862116836 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo::Decode(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void EncryptedPrivateKeyInfo_Decode_m3008916518 (EncryptedPrivateKeyInfo_t862116836 * __this, ByteU5BU5D_t4116647657* ___data0, const RuntimeMethod* method);
// Mono.Security.ASN1 Mono.Security.ASN1::get_Item(System.Int32)
extern "C" IL2CPP_METHOD_ATTR ASN1_t2114160833 * ASN1_get_Item_m2255075813 (ASN1_t2114160833 * __this, int32_t ___index0, const RuntimeMethod* method);
// System.String Mono.Security.ASN1Convert::ToOid(Mono.Security.ASN1)
extern "C" IL2CPP_METHOD_ATTR String_t* ASN1Convert_ToOid_m3847701408 (RuntimeObject * __this /* static, unused */, ASN1_t2114160833 * ___asn10, const RuntimeMethod* method);
// System.Int32 Mono.Security.ASN1Convert::ToInt32(Mono.Security.ASN1)
extern "C" IL2CPP_METHOD_ATTR int32_t ASN1Convert_ToInt32_m1017403318 (RuntimeObject * __this /* static, unused */, ASN1_t2114160833 * ___asn10, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::.ctor()
extern "C" IL2CPP_METHOD_ATTR void PrivateKeyInfo__ctor_m3331475997 (PrivateKeyInfo_t668027993 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::Decode(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void PrivateKeyInfo_Decode_m986145117 (PrivateKeyInfo_t668027993 * __this, ByteU5BU5D_t4116647657* ___data0, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::RemoveLeadingZero(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* PrivateKeyInfo_RemoveLeadingZero_m3592760008 (RuntimeObject * __this /* static, unused */, ByteU5BU5D_t4116647657* ___bigInt0, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::Normalize(System.Byte[],System.Int32)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* PrivateKeyInfo_Normalize_m2274647848 (RuntimeObject * __this /* static, unused */, ByteU5BU5D_t4116647657* ___bigInt0, int32_t ___length1, const RuntimeMethod* method);
// System.Security.Cryptography.RSA System.Security.Cryptography.RSA::Create()
extern "C" IL2CPP_METHOD_ATTR RSA_t2385438082 * RSA_Create_m4065275734 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.CspParameters::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CspParameters__ctor_m277845443 (CspParameters_t239852639 * __this, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.CspParameters::set_Flags(System.Security.Cryptography.CspProviderFlags)
extern "C" IL2CPP_METHOD_ATTR void CspParameters_set_Flags_m397261363 (CspParameters_t239852639 * __this, int32_t p0, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.RSACryptoServiceProvider::.ctor(System.Security.Cryptography.CspParameters)
extern "C" IL2CPP_METHOD_ATTR void RSACryptoServiceProvider__ctor_m357386130 (RSACryptoServiceProvider_t2683512874 * __this, CspParameters_t239852639 * p0, const RuntimeMethod* method);
// System.Security.Cryptography.DSA System.Security.Cryptography.DSA::Create()
extern "C" IL2CPP_METHOD_ATTR DSA_t2386879874 * DSA_Create_m1220983153 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.SymmetricAlgorithm::.ctor()
extern "C" IL2CPP_METHOD_ATTR void SymmetricAlgorithm__ctor_m467277132 (SymmetricAlgorithm_t4254223087 * __this, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.KeySizes::.ctor(System.Int32,System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void KeySizes__ctor_m3113946058 (KeySizes_t85027896 * __this, int32_t p0, int32_t p1, int32_t p2, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.RSAManaged::.ctor(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void RSAManaged__ctor_m350841446 (RSAManaged_t1757093820 * __this, int32_t ___keySize0, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.RSA::.ctor()
extern "C" IL2CPP_METHOD_ATTR void RSA__ctor_m2923348713 (RSA_t2385438082 * __this, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.AsymmetricAlgorithm::set_KeySize(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void AsymmetricAlgorithm_set_KeySize_m2163393617 (AsymmetricAlgorithm_t932037087 * __this, int32_t p0, const RuntimeMethod* method);
// System.Void System.Object::Finalize()
extern "C" IL2CPP_METHOD_ATTR void Object_Finalize_m3076187857 (RuntimeObject * __this, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger::GeneratePseudoPrime(System.Int32)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * BigInteger_GeneratePseudoPrime_m2547138838 (RuntimeObject * __this /* static, unused */, int32_t ___bits0, const RuntimeMethod* method);
// System.Boolean Mono.Math.BigInteger::op_LessThan(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR bool BigInteger_op_LessThan_m463398176 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger::ModInverse(Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * BigInteger_ModInverse_m2426215562 (BigInteger_t2902905090 * __this, BigInteger_t2902905090 * ___modulus0, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.RSAManaged/KeyGeneratedEventHandler::Invoke(System.Object,System.EventArgs)
extern "C" IL2CPP_METHOD_ATTR void KeyGeneratedEventHandler_Invoke_m99769071 (KeyGeneratedEventHandler_t3064139578 * __this, RuntimeObject * ___sender0, EventArgs_t3591816995 * ___e1, const RuntimeMethod* method);
// System.Int32 System.Security.Cryptography.AsymmetricAlgorithm::get_KeySize()
extern "C" IL2CPP_METHOD_ATTR int32_t AsymmetricAlgorithm_get_KeySize_m2113907895 (AsymmetricAlgorithm_t932037087 * __this, const RuntimeMethod* method);
// System.Void System.ObjectDisposedException::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void ObjectDisposedException__ctor_m3603759869 (ObjectDisposedException_t21392786 * __this, String_t* p0, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.RSAManaged::GenerateKeyPair()
extern "C" IL2CPP_METHOD_ATTR void RSAManaged_GenerateKeyPair_m2364618953 (RSAManaged_t1757093820 * __this, const RuntimeMethod* method);
// System.Void Mono.Math.BigInteger::.ctor(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void BigInteger__ctor_m2601366464 (BigInteger_t2902905090 * __this, ByteU5BU5D_t4116647657* ___inData0, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger::ModPow(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * BigInteger_ModPow_m3776562770 (BigInteger_t2902905090 * __this, BigInteger_t2902905090 * ___exp0, BigInteger_t2902905090 * ___n1, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Addition(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * BigInteger_op_Addition_m1114527046 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method);
// System.Boolean Mono.Security.Cryptography.RSAManaged::get_PublicOnly()
extern "C" IL2CPP_METHOD_ATTR bool RSAManaged_get_PublicOnly_m405847294 (RSAManaged_t1757093820 * __this, const RuntimeMethod* method);
// System.Void Mono.Math.BigInteger::Clear()
extern "C" IL2CPP_METHOD_ATTR void BigInteger_Clear_m2995574218 (BigInteger_t2902905090 * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Cryptography.RSAManaged::GetPaddedValue(Mono.Math.BigInteger,System.Int32)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* RSAManaged_GetPaddedValue_m2182626630 (RSAManaged_t1757093820 * __this, BigInteger_t2902905090 * ___value0, int32_t ___length1, const RuntimeMethod* method);
// System.Byte[] Mono.Math.BigInteger::GetBytes()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* BigInteger_GetBytes_m1259701831 (BigInteger_t2902905090 * __this, const RuntimeMethod* method);
// System.String System.Convert::ToBase64String(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR String_t* Convert_ToBase64String_m3839334935 (RuntimeObject * __this /* static, unused */, ByteU5BU5D_t4116647657* p0, const RuntimeMethod* method);
// System.Void Mono.Security.PKCS7/ContentInfo::.ctor()
extern "C" IL2CPP_METHOD_ATTR void ContentInfo__ctor_m1955840786 (ContentInfo_t3218159896 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.PKCS7/ContentInfo::.ctor(Mono.Security.ASN1)
extern "C" IL2CPP_METHOD_ATTR void ContentInfo__ctor_m3397951412 (ContentInfo_t3218159896 * __this, ASN1_t2114160833 * ___asn10, const RuntimeMethod* method);
// System.Void System.ArgumentException::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void ArgumentException__ctor_m1312628991 (ArgumentException_t132251570 * __this, String_t* p0, const RuntimeMethod* method);
// Mono.Security.ASN1 Mono.Security.PKCS7/ContentInfo::GetASN1()
extern "C" IL2CPP_METHOD_ATTR ASN1_t2114160833 * ContentInfo_GetASN1_m2535172199 (ContentInfo_t3218159896 * __this, const RuntimeMethod* method);
// Mono.Security.ASN1 Mono.Security.ASN1Convert::FromOid(System.String)
extern "C" IL2CPP_METHOD_ATTR ASN1_t2114160833 * ASN1Convert_FromOid_m3844102704 (RuntimeObject * __this /* static, unused */, String_t* ___oid0, const RuntimeMethod* method);
// System.Void Mono.Security.PKCS7/EncryptedData::.ctor()
extern "C" IL2CPP_METHOD_ATTR void EncryptedData__ctor_m257803736 (EncryptedData_t3577548733 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.PKCS7/ContentInfo::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void ContentInfo__ctor_m2855743200 (ContentInfo_t3218159896 * __this, String_t* ___oid0, const RuntimeMethod* method);
// System.Void Mono.Security.PKCS7/ContentInfo::set_Content(Mono.Security.ASN1)
extern "C" IL2CPP_METHOD_ATTR void ContentInfo_set_Content_m2581255245 (ContentInfo_t3218159896 * __this, ASN1_t2114160833 * ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Alert::inferAlertLevel()
extern "C" IL2CPP_METHOD_ATTR void Alert_inferAlertLevel_m151204576 (Alert_t4059934885 * __this, const RuntimeMethod* method);
// System.Boolean Mono.Security.Protocol.Tls.Alert::get_IsWarning()
extern "C" IL2CPP_METHOD_ATTR bool Alert_get_IsWarning_m1365397992 (Alert_t4059934885 * __this, const RuntimeMethod* method);
// System.Security.Cryptography.X509Certificates.X509Certificate Mono.Security.Protocol.Tls.CertificateSelectionCallback::Invoke(System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Cryptography.X509Certificates.X509Certificate,System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection)
extern "C" IL2CPP_METHOD_ATTR X509Certificate_t713131622 * CertificateSelectionCallback_Invoke_m3129973019 (CertificateSelectionCallback_t3743405224 * __this, X509CertificateCollection_t3399372417 * ___clientCertificates0, X509Certificate_t713131622 * ___serverCertificate1, String_t* ___targetHost2, X509CertificateCollection_t3399372417 * ___serverRequestedCertificates3, const RuntimeMethod* method);
// System.Boolean Mono.Security.Protocol.Tls.CertificateValidationCallback::Invoke(System.Security.Cryptography.X509Certificates.X509Certificate,System.Int32[])
extern "C" IL2CPP_METHOD_ATTR bool CertificateValidationCallback_Invoke_m1014111289 (CertificateValidationCallback_t4091668218 * __this, X509Certificate_t713131622 * ___certificate0, Int32U5BU5D_t385246372* ___certificateErrors1, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.ValidationResult Mono.Security.Protocol.Tls.CertificateValidationCallback2::Invoke(Mono.Security.X509.X509CertificateCollection)
extern "C" IL2CPP_METHOD_ATTR ValidationResult_t3834298736 * CertificateValidationCallback2_Invoke_m3381554834 (CertificateValidationCallback2_t1842476440 * __this, X509CertificateCollection_t1542168550 * ___collection0, const RuntimeMethod* method);
// System.Int32 Mono.Security.Protocol.Tls.CipherSuite::get_HashSize()
extern "C" IL2CPP_METHOD_ATTR int32_t CipherSuite_get_HashSize_m4060916532 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.CipherSuite::createEncryptionCipher()
extern "C" IL2CPP_METHOD_ATTR void CipherSuite_createEncryptionCipher_m2533565116 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.CipherSuite::createDecryptionCipher()
extern "C" IL2CPP_METHOD_ATTR void CipherSuite_createDecryptionCipher_m1176259509 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method);
// System.Security.Cryptography.CipherMode Mono.Security.Protocol.Tls.CipherSuite::get_CipherMode()
extern "C" IL2CPP_METHOD_ATTR int32_t CipherSuite_get_CipherMode_m425550365 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method);
// System.Security.Cryptography.ICryptoTransform Mono.Security.Protocol.Tls.CipherSuite::get_EncryptionCipher()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* CipherSuite_get_EncryptionCipher_m3029637613 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method);
// System.Security.Cryptography.ICryptoTransform Mono.Security.Protocol.Tls.CipherSuite::get_DecryptionCipher()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* CipherSuite_get_DecryptionCipher_m2839827488 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.Context::GetSecureRandomBytes(System.Int32)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* Context_GetSecureRandomBytes_m3676009387 (Context_t3971234707 * __this, int32_t ___count0, const RuntimeMethod* method);
// System.Int16 Mono.Security.Protocol.Tls.ClientContext::get_ClientHelloProtocol()
extern "C" IL2CPP_METHOD_ATTR int16_t ClientContext_get_ClientHelloProtocol_m1654639078 (ClientContext_t2797401965 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.TlsStream::.ctor()
extern "C" IL2CPP_METHOD_ATTR void TlsStream__ctor_m787793111 (TlsStream_t2365453965 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.TlsStream::Write(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void TlsStream_Write_m4133894341 (TlsStream_t2365453965 * __this, ByteU5BU5D_t4116647657* ___buffer0, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.TlsStream::ToArray()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* TlsStream_ToArray_m4177184296 (TlsStream_t2365453965 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.TlsStream::Reset()
extern "C" IL2CPP_METHOD_ATTR void TlsStream_Reset_m369197964 (TlsStream_t2365453965 * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.CipherSuite::Expand(System.String,System.Byte[],System.Byte[],System.Int32)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* CipherSuite_Expand_m2729769226 (CipherSuite_t3414744575 * __this, String_t* ___hashName0, ByteU5BU5D_t4116647657* ___secret1, ByteU5BU5D_t4116647657* ___seed2, int32_t ___length3, const RuntimeMethod* method);
// System.Boolean System.String::op_Equality(System.String,System.String)
extern "C" IL2CPP_METHOD_ATTR bool String_op_Equality_m920492651 (RuntimeObject * __this /* static, unused */, String_t* p0, String_t* p1, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.HMAC::.ctor(System.String,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void HMAC__ctor_m775015853 (HMAC_t3689525210 * __this, String_t* ___hashName0, ByteU5BU5D_t4116647657* ___rgbKey1, const RuntimeMethod* method);
// System.Security.Cryptography.DES System.Security.Cryptography.DES::Create()
extern "C" IL2CPP_METHOD_ATTR DES_t821106792 * DES_Create_m1258183099 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Security.Cryptography.RC2 System.Security.Cryptography.RC2::Create()
extern "C" IL2CPP_METHOD_ATTR RC2_t3167825714 * RC2_Create_m2516417038 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.ARC4Managed::.ctor()
extern "C" IL2CPP_METHOD_ATTR void ARC4Managed__ctor_m2553537404 (ARC4Managed_t2641858452 * __this, const RuntimeMethod* method);
// System.Security.Cryptography.TripleDES System.Security.Cryptography.TripleDES::Create()
extern "C" IL2CPP_METHOD_ATTR TripleDES_t92303514 * TripleDES_Create_m3761371613 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Security.Cryptography.Rijndael System.Security.Cryptography.Rijndael::Create()
extern "C" IL2CPP_METHOD_ATTR Rijndael_t2986313634 * Rijndael_Create_m3053077028 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.Context::get_ClientWriteKey()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* Context_get_ClientWriteKey_m3174706656 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.Context::get_ClientWriteIV()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* Context_get_ClientWriteIV_m1729804632 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.Context::get_ServerWriteKey()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* Context_get_ServerWriteKey_m2199131569 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.Context::get_ServerWriteIV()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* Context_get_ServerWriteIV_m1839374659 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.String Mono.Security.Protocol.Tls.CipherSuite::get_HashAlgorithmName()
extern "C" IL2CPP_METHOD_ATTR String_t* CipherSuite_get_HashAlgorithmName_m3758129154 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.SecurityParameters Mono.Security.Protocol.Tls.Context::get_Negotiating()
extern "C" IL2CPP_METHOD_ATTR SecurityParameters_t2199972650 * Context_get_Negotiating_m2044579817 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.SecurityParameters::get_ClientWriteMAC()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* SecurityParameters_get_ClientWriteMAC_m225554750 (SecurityParameters_t2199972650 * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.SecurityParameters::get_ServerWriteMAC()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* SecurityParameters_get_ServerWriteMAC_m3430427271 (SecurityParameters_t2199972650 * __this, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.CipherSuite Mono.Security.Protocol.Tls.CipherSuiteCollection::get_Item(System.Int32)
extern "C" IL2CPP_METHOD_ATTR CipherSuite_t3414744575 * CipherSuiteCollection_get_Item_m4188309062 (CipherSuiteCollection_t1129639304 * __this, int32_t ___index0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.CipherSuiteCollection::set_Item(System.Int32,Mono.Security.Protocol.Tls.CipherSuite)
extern "C" IL2CPP_METHOD_ATTR void CipherSuiteCollection_set_Item_m2392524001 (CipherSuiteCollection_t1129639304 * __this, int32_t ___index0, CipherSuite_t3414744575 * ___value1, const RuntimeMethod* method);
// System.Int32 Mono.Security.Protocol.Tls.CipherSuiteCollection::IndexOf(System.String)
extern "C" IL2CPP_METHOD_ATTR int32_t CipherSuiteCollection_IndexOf_m2232557119 (CipherSuiteCollection_t1129639304 * __this, String_t* ___name0, const RuntimeMethod* method);
// System.Int32 Mono.Security.Protocol.Tls.CipherSuiteCollection::IndexOf(System.Int16)
extern "C" IL2CPP_METHOD_ATTR int32_t CipherSuiteCollection_IndexOf_m2770510321 (CipherSuiteCollection_t1129639304 * __this, int16_t ___code0, const RuntimeMethod* method);
// System.String Mono.Security.Protocol.Tls.CipherSuite::get_Name()
extern "C" IL2CPP_METHOD_ATTR String_t* CipherSuite_get_Name_m1137568068 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method);
// System.Boolean Mono.Security.Protocol.Tls.CipherSuiteCollection::cultureAwareCompare(System.String,System.String)
extern "C" IL2CPP_METHOD_ATTR bool CipherSuiteCollection_cultureAwareCompare_m2072548979 (CipherSuiteCollection_t1129639304 * __this, String_t* ___strA0, String_t* ___strB1, const RuntimeMethod* method);
// System.Int16 Mono.Security.Protocol.Tls.CipherSuite::get_Code()
extern "C" IL2CPP_METHOD_ATTR int16_t CipherSuite_get_Code_m3847824475 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.TlsCipherSuite::.ctor(System.Int16,System.String,Mono.Security.Protocol.Tls.CipherAlgorithmType,Mono.Security.Protocol.Tls.HashAlgorithmType,Mono.Security.Protocol.Tls.ExchangeAlgorithmType,System.Boolean,System.Boolean,System.Byte,System.Byte,System.Int16,System.Byte,System.Byte)
extern "C" IL2CPP_METHOD_ATTR void TlsCipherSuite__ctor_m3580955828 (TlsCipherSuite_t1545013223 * __this, int16_t ___code0, String_t* ___name1, int32_t ___cipherAlgorithmType2, int32_t ___hashAlgorithmType3, int32_t ___exchangeAlgorithmType4, bool ___exportable5, bool ___blockMode6, uint8_t ___keyMaterialSize7, uint8_t ___expandedKeyMaterialSize8, int16_t ___effectiveKeyBytes9, uint8_t ___ivSize10, uint8_t ___blockSize11, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.TlsCipherSuite Mono.Security.Protocol.Tls.CipherSuiteCollection::add(Mono.Security.Protocol.Tls.TlsCipherSuite)
extern "C" IL2CPP_METHOD_ATTR TlsCipherSuite_t1545013223 * CipherSuiteCollection_add_m3005595589 (CipherSuiteCollection_t1129639304 * __this, TlsCipherSuite_t1545013223 * ___cipherSuite0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.SslCipherSuite::.ctor(System.Int16,System.String,Mono.Security.Protocol.Tls.CipherAlgorithmType,Mono.Security.Protocol.Tls.HashAlgorithmType,Mono.Security.Protocol.Tls.ExchangeAlgorithmType,System.Boolean,System.Boolean,System.Byte,System.Byte,System.Int16,System.Byte,System.Byte)
extern "C" IL2CPP_METHOD_ATTR void SslCipherSuite__ctor_m1470082018 (SslCipherSuite_t1981645747 * __this, int16_t ___code0, String_t* ___name1, int32_t ___cipherAlgorithmType2, int32_t ___hashAlgorithmType3, int32_t ___exchangeAlgorithmType4, bool ___exportable5, bool ___blockMode6, uint8_t ___keyMaterialSize7, uint8_t ___expandedKeyMaterialSize8, int16_t ___effectiveKeyBytes9, uint8_t ___ivSize10, uint8_t ___blockSize11, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.SslCipherSuite Mono.Security.Protocol.Tls.CipherSuiteCollection::add(Mono.Security.Protocol.Tls.SslCipherSuite)
extern "C" IL2CPP_METHOD_ATTR SslCipherSuite_t1981645747 * CipherSuiteCollection_add_m1422128145 (CipherSuiteCollection_t1129639304 * __this, SslCipherSuite_t1981645747 * ___cipherSuite0, const RuntimeMethod* method);
// System.Globalization.CultureInfo System.Globalization.CultureInfo::get_CurrentCulture()
extern "C" IL2CPP_METHOD_ATTR CultureInfo_t4157843068 * CultureInfo_get_CurrentCulture_m1632690660 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.CipherSuiteCollection Mono.Security.Protocol.Tls.CipherSuiteFactory::GetTls1SupportedCiphers()
extern "C" IL2CPP_METHOD_ATTR CipherSuiteCollection_t1129639304 * CipherSuiteFactory_GetTls1SupportedCiphers_m3691819504 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.CipherSuiteCollection Mono.Security.Protocol.Tls.CipherSuiteFactory::GetSsl3SupportedCiphers()
extern "C" IL2CPP_METHOD_ATTR CipherSuiteCollection_t1129639304 * CipherSuiteFactory_GetSsl3SupportedCiphers_m3757358569 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.CipherSuiteCollection::.ctor(Mono.Security.Protocol.Tls.SecurityProtocolType)
extern "C" IL2CPP_METHOD_ATTR void CipherSuiteCollection__ctor_m384434353 (CipherSuiteCollection_t1129639304 * __this, int32_t ___protocol0, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.CipherSuite Mono.Security.Protocol.Tls.CipherSuiteCollection::Add(System.Int16,System.String,Mono.Security.Protocol.Tls.CipherAlgorithmType,Mono.Security.Protocol.Tls.HashAlgorithmType,Mono.Security.Protocol.Tls.ExchangeAlgorithmType,System.Boolean,System.Boolean,System.Byte,System.Byte,System.Int16,System.Byte,System.Byte)
extern "C" IL2CPP_METHOD_ATTR CipherSuite_t3414744575 * CipherSuiteCollection_Add_m2046232751 (CipherSuiteCollection_t1129639304 * __this, int16_t ___code0, String_t* ___name1, int32_t ___cipherType2, int32_t ___hashType3, int32_t ___exchangeType4, bool ___exportable5, bool ___blockMode6, uint8_t ___keyMaterialSize7, uint8_t ___expandedKeyMaterialSize8, int16_t ___effectiveKeyBytes9, uint8_t ___ivSize10, uint8_t ___blockSize11, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Context::.ctor(Mono.Security.Protocol.Tls.SecurityProtocolType)
extern "C" IL2CPP_METHOD_ATTR void Context__ctor_m1288667393 (Context_t3971234707 * __this, int32_t ___securityProtocolType0, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.TlsClientSettings Mono.Security.Protocol.Tls.Context::get_ClientSettings()
extern "C" IL2CPP_METHOD_ATTR TlsClientSettings_t2486039503 * Context_get_ClientSettings_m2874391194 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.TlsClientSettings::set_Certificates(System.Security.Cryptography.X509Certificates.X509CertificateCollection)
extern "C" IL2CPP_METHOD_ATTR void TlsClientSettings_set_Certificates_m3887201895 (TlsClientSettings_t2486039503 * __this, X509CertificateCollection_t3399372417 * ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.TlsClientSettings::set_TargetHost(System.String)
extern "C" IL2CPP_METHOD_ATTR void TlsClientSettings_set_TargetHost_m3350021121 (TlsClientSettings_t2486039503 * __this, String_t* ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Context::Clear()
extern "C" IL2CPP_METHOD_ATTR void Context_Clear_m2678836033 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.RecordProtocol::.ctor(System.IO.Stream,Mono.Security.Protocol.Tls.Context)
extern "C" IL2CPP_METHOD_ATTR void RecordProtocol__ctor_m1695232390 (RecordProtocol_t3759049701 * __this, Stream_t1273022909 * ___innerStream0, Context_t3971234707 * ___context1, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.Handshake.HandshakeMessage Mono.Security.Protocol.Tls.ClientRecordProtocol::createClientHandshakeMessage(Mono.Security.Protocol.Tls.Handshake.HandshakeType)
extern "C" IL2CPP_METHOD_ATTR HandshakeMessage_t3696583168 * ClientRecordProtocol_createClientHandshakeMessage_m3325677558 (ClientRecordProtocol_t2031137796 * __this, uint8_t ___type0, const RuntimeMethod* method);
// System.Byte Mono.Security.Protocol.Tls.TlsStream::ReadByte()
extern "C" IL2CPP_METHOD_ATTR uint8_t TlsStream_ReadByte_m3396126844 (TlsStream_t2365453965 * __this, const RuntimeMethod* method);
// System.Int32 Mono.Security.Protocol.Tls.TlsStream::ReadInt24()
extern "C" IL2CPP_METHOD_ATTR int32_t TlsStream_ReadInt24_m3096782201 (TlsStream_t2365453965 * __this, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.Handshake.HandshakeMessage Mono.Security.Protocol.Tls.ClientRecordProtocol::createServerHandshakeMessage(Mono.Security.Protocol.Tls.Handshake.HandshakeType,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR HandshakeMessage_t3696583168 * ClientRecordProtocol_createServerHandshakeMessage_m2804371400 (ClientRecordProtocol_t2031137796 * __this, uint8_t ___type0, ByteU5BU5D_t4116647657* ___buffer1, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::Process()
extern "C" IL2CPP_METHOD_ATTR void HandshakeMessage_Process_m810828609 (HandshakeMessage_t3696583168 * __this, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.Context Mono.Security.Protocol.Tls.RecordProtocol::get_Context()
extern "C" IL2CPP_METHOD_ATTR Context_t3971234707 * RecordProtocol_get_Context_m3273611300 (RecordProtocol_t3759049701 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Context::set_LastHandshakeMsg(Mono.Security.Protocol.Tls.Handshake.HandshakeType)
extern "C" IL2CPP_METHOD_ATTR void Context_set_LastHandshakeMsg_m1770618067 (Context_t3971234707 * __this, uint8_t ___value0, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.TlsStream Mono.Security.Protocol.Tls.Context::get_HandshakeMessages()
extern "C" IL2CPP_METHOD_ATTR TlsStream_t2365453965 * Context_get_HandshakeMessages_m3655705111 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.TlsStream::WriteInt24(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void TlsStream_WriteInt24_m58952549 (TlsStream_t2365453965 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientHello::.ctor(Mono.Security.Protocol.Tls.Context)
extern "C" IL2CPP_METHOD_ATTR void TlsClientHello__ctor_m1986768336 (TlsClientHello_t97965998 * __this, Context_t3971234707 * ___context0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientCertificate::.ctor(Mono.Security.Protocol.Tls.Context)
extern "C" IL2CPP_METHOD_ATTR void TlsClientCertificate__ctor_m101524132 (TlsClientCertificate_t3519510577 * __this, Context_t3971234707 * ___context0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientKeyExchange::.ctor(Mono.Security.Protocol.Tls.Context)
extern "C" IL2CPP_METHOD_ATTR void TlsClientKeyExchange__ctor_m31786095 (TlsClientKeyExchange_t643923608 * __this, Context_t3971234707 * ___context0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientCertificateVerify::.ctor(Mono.Security.Protocol.Tls.Context)
extern "C" IL2CPP_METHOD_ATTR void TlsClientCertificateVerify__ctor_m1589614281 (TlsClientCertificateVerify_t1824902654 * __this, Context_t3971234707 * ___context0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientFinished::.ctor(Mono.Security.Protocol.Tls.Context)
extern "C" IL2CPP_METHOD_ATTR void TlsClientFinished__ctor_m399357014 (TlsClientFinished_t2486981163 * __this, Context_t3971234707 * ___context0, const RuntimeMethod* method);
// System.Void System.InvalidOperationException::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void InvalidOperationException__ctor_m237278729 (InvalidOperationException_t56020091 * __this, String_t* p0, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.HandshakeState Mono.Security.Protocol.Tls.Context::get_HandshakeState()
extern "C" IL2CPP_METHOD_ATTR int32_t Context_get_HandshakeState_m2425796590 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Context::set_HandshakeState(Mono.Security.Protocol.Tls.HandshakeState)
extern "C" IL2CPP_METHOD_ATTR void Context_set_HandshakeState_m1329976135 (Context_t3971234707 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.RecordProtocol::SendAlert(Mono.Security.Protocol.Tls.AlertLevel,Mono.Security.Protocol.Tls.AlertDescription)
extern "C" IL2CPP_METHOD_ATTR void RecordProtocol_SendAlert_m2670098001 (RecordProtocol_t3759049701 * __this, uint8_t ___level0, uint8_t ___description1, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerHello::.ctor(Mono.Security.Protocol.Tls.Context,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void TlsServerHello__ctor_m3887266572 (TlsServerHello_t3343859594 * __this, Context_t3971234707 * ___context0, ByteU5BU5D_t4116647657* ___buffer1, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate::.ctor(Mono.Security.Protocol.Tls.Context,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void TlsServerCertificate__ctor_m389328097 (TlsServerCertificate_t2716496392 * __this, Context_t3971234707 * ___context0, ByteU5BU5D_t4116647657* ___buffer1, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerKeyExchange::.ctor(Mono.Security.Protocol.Tls.Context,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void TlsServerKeyExchange__ctor_m3572942737 (TlsServerKeyExchange_t699469151 * __this, Context_t3971234707 * ___context0, ByteU5BU5D_t4116647657* ___buffer1, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificateRequest::.ctor(Mono.Security.Protocol.Tls.Context,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void TlsServerCertificateRequest__ctor_m1334974076 (TlsServerCertificateRequest_t3690397592 * __this, Context_t3971234707 * ___context0, ByteU5BU5D_t4116647657* ___buffer1, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerHelloDone::.ctor(Mono.Security.Protocol.Tls.Context,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void TlsServerHelloDone__ctor_m173627900 (TlsServerHelloDone_t1850379324 * __this, Context_t3971234707 * ___context0, ByteU5BU5D_t4116647657* ___buffer1, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerFinished::.ctor(Mono.Security.Protocol.Tls.Context,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void TlsServerFinished__ctor_m1445633918 (TlsServerFinished_t3860330041 * __this, Context_t3971234707 * ___context0, ByteU5BU5D_t4116647657* ___buffer1, const RuntimeMethod* method);
// System.Globalization.CultureInfo System.Globalization.CultureInfo::get_CurrentUICulture()
extern "C" IL2CPP_METHOD_ATTR CultureInfo_t4157843068 * CultureInfo_get_CurrentUICulture_m959203371 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.String System.String::Format(System.IFormatProvider,System.String,System.Object[])
extern "C" IL2CPP_METHOD_ATTR String_t* String_Format_m1881875187 (RuntimeObject * __this /* static, unused */, RuntimeObject* p0, String_t* p1, ObjectU5BU5D_t2843939325* p2, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.TlsException::.ctor(Mono.Security.Protocol.Tls.AlertDescription,System.String)
extern "C" IL2CPP_METHOD_ATTR void TlsException__ctor_m3242533711 (TlsException_t3534743363 * __this, uint8_t ___description0, String_t* ___message1, const RuntimeMethod* method);
// System.Void System.Collections.Hashtable::.ctor()
extern "C" IL2CPP_METHOD_ATTR void Hashtable__ctor_m1815022027 (Hashtable_t1853889766 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Monitor::Enter(System.Object)
extern "C" IL2CPP_METHOD_ATTR void Monitor_Enter_m2249409497 (RuntimeObject * __this /* static, unused */, RuntimeObject * p0, const RuntimeMethod* method);
// System.String System.BitConverter::ToString(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR String_t* BitConverter_ToString_m3464863163 (RuntimeObject * __this /* static, unused */, ByteU5BU5D_t4116647657* p0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.ClientSessionInfo::.ctor(System.String,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void ClientSessionInfo__ctor_m2436192270 (ClientSessionInfo_t1775821398 * __this, String_t* ___hostname0, ByteU5BU5D_t4116647657* ___id1, const RuntimeMethod* method);
// System.String Mono.Security.Protocol.Tls.ClientSessionInfo::get_HostName()
extern "C" IL2CPP_METHOD_ATTR String_t* ClientSessionInfo_get_HostName_m2118440995 (ClientSessionInfo_t1775821398 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.ClientSessionInfo::KeepAlive()
extern "C" IL2CPP_METHOD_ATTR void ClientSessionInfo_KeepAlive_m1020179566 (ClientSessionInfo_t1775821398 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.ClientSessionInfo::Dispose()
extern "C" IL2CPP_METHOD_ATTR void ClientSessionInfo_Dispose_m1535509451 (ClientSessionInfo_t1775821398 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Monitor::Exit(System.Object)
extern "C" IL2CPP_METHOD_ATTR void Monitor_Exit_m3585316909 (RuntimeObject * __this /* static, unused */, RuntimeObject * p0, const RuntimeMethod* method);
// System.Boolean Mono.Security.Protocol.Tls.ClientSessionInfo::get_Valid()
extern "C" IL2CPP_METHOD_ATTR bool ClientSessionInfo_get_Valid_m1260893789 (ClientSessionInfo_t1775821398 * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.ClientSessionInfo::get_Id()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* ClientSessionInfo_get_Id_m2119140021 (ClientSessionInfo_t1775821398 * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.Context::get_SessionId()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* Context_get_SessionId_m1086671147 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.String Mono.Security.Protocol.Tls.TlsClientSettings::get_TargetHost()
extern "C" IL2CPP_METHOD_ATTR String_t* TlsClientSettings_get_TargetHost_m2463481414 (TlsClientSettings_t2486039503 * __this, const RuntimeMethod* method);
// System.Boolean System.String::op_Inequality(System.String,System.String)
extern "C" IL2CPP_METHOD_ATTR bool String_op_Inequality_m215368492 (RuntimeObject * __this /* static, unused */, String_t* p0, String_t* p1, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.ClientSessionInfo Mono.Security.Protocol.Tls.ClientSessionCache::FromContext(Mono.Security.Protocol.Tls.Context,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR ClientSessionInfo_t1775821398 * ClientSessionCache_FromContext_m343076119 (RuntimeObject * __this /* static, unused */, Context_t3971234707 * ___context0, bool ___checkValidity1, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.ClientSessionInfo::GetContext(Mono.Security.Protocol.Tls.Context)
extern "C" IL2CPP_METHOD_ATTR void ClientSessionInfo_GetContext_m1679628259 (ClientSessionInfo_t1775821398 * __this, Context_t3971234707 * ___context0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.ClientSessionInfo::SetContext(Mono.Security.Protocol.Tls.Context)
extern "C" IL2CPP_METHOD_ATTR void ClientSessionInfo_SetContext_m2115875186 (ClientSessionInfo_t1775821398 * __this, Context_t3971234707 * ___context0, const RuntimeMethod* method);
// System.String System.Environment::GetEnvironmentVariable(System.String)
extern "C" IL2CPP_METHOD_ATTR String_t* Environment_GetEnvironmentVariable_m394552009 (RuntimeObject * __this /* static, unused */, String_t* p0, const RuntimeMethod* method);
// System.Int32 System.Int32::Parse(System.String)
extern "C" IL2CPP_METHOD_ATTR int32_t Int32_Parse_m1033611559 (RuntimeObject * __this /* static, unused */, String_t* p0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.ClientSessionInfo::Dispose(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void ClientSessionInfo_Dispose_m3253728296 (ClientSessionInfo_t1775821398 * __this, bool ___disposing0, const RuntimeMethod* method);
// System.DateTime System.DateTime::get_UtcNow()
extern "C" IL2CPP_METHOD_ATTR DateTime_t3738529785 DateTime_get_UtcNow_m1393945741 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Boolean System.DateTime::op_GreaterThan(System.DateTime,System.DateTime)
extern "C" IL2CPP_METHOD_ATTR bool DateTime_op_GreaterThan_m3768590082 (RuntimeObject * __this /* static, unused */, DateTime_t3738529785 p0, DateTime_t3738529785 p1, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.ClientSessionInfo::CheckDisposed()
extern "C" IL2CPP_METHOD_ATTR void ClientSessionInfo_CheckDisposed_m1172439856 (ClientSessionInfo_t1775821398 * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.Context::get_MasterSecret()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* Context_get_MasterSecret_m676083615 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Context::set_MasterSecret(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void Context_set_MasterSecret_m3419105191 (Context_t3971234707 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method);
// System.DateTime System.DateTime::AddSeconds(System.Double)
extern "C" IL2CPP_METHOD_ATTR DateTime_t3738529785 DateTime_AddSeconds_m332574389 (DateTime_t3738529785 * __this, double p0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Context::set_SecurityProtocol(Mono.Security.Protocol.Tls.SecurityProtocolType)
extern "C" IL2CPP_METHOD_ATTR void Context_set_SecurityProtocol_m2833661610 (Context_t3971234707 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.TlsServerSettings::.ctor()
extern "C" IL2CPP_METHOD_ATTR void TlsServerSettings__ctor_m373357120 (TlsServerSettings_t4144396432 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.TlsClientSettings::.ctor()
extern "C" IL2CPP_METHOD_ATTR void TlsClientSettings__ctor_m3220697265 (TlsClientSettings_t2486039503 * __this, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.SecurityProtocolType Mono.Security.Protocol.Tls.Context::get_SecurityProtocol()
extern "C" IL2CPP_METHOD_ATTR int32_t Context_get_SecurityProtocol_m3228286292 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.Int64 System.DateTime::get_Ticks()
extern "C" IL2CPP_METHOD_ATTR int64_t DateTime_get_Ticks_m1550640881 (DateTime_t3738529785 * __this, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.SecurityProtocolType Mono.Security.Protocol.Tls.Context::DecodeProtocolCode(System.Int16)
extern "C" IL2CPP_METHOD_ATTR int32_t Context_DecodeProtocolCode_m2249547310 (Context_t3971234707 * __this, int16_t ___code0, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.SecurityProtocolType Mono.Security.Protocol.Tls.Context::get_SecurityProtocolFlags()
extern "C" IL2CPP_METHOD_ATTR int32_t Context_get_SecurityProtocolFlags_m2022471746 (Context_t3971234707 * __this, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.CipherSuiteCollection Mono.Security.Protocol.Tls.Context::get_SupportedCiphers()
extern "C" IL2CPP_METHOD_ATTR CipherSuiteCollection_t1129639304 * Context_get_SupportedCiphers_m1883682196 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.CipherSuiteCollection::Clear()
extern "C" IL2CPP_METHOD_ATTR void CipherSuiteCollection_Clear_m2642701260 (CipherSuiteCollection_t1129639304 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Context::set_SupportedCiphers(Mono.Security.Protocol.Tls.CipherSuiteCollection)
extern "C" IL2CPP_METHOD_ATTR void Context_set_SupportedCiphers_m4238648387 (Context_t3971234707 * __this, CipherSuiteCollection_t1129639304 * ___value0, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.CipherSuiteCollection Mono.Security.Protocol.Tls.CipherSuiteFactory::GetSupportedCiphers(Mono.Security.Protocol.Tls.SecurityProtocolType)
extern "C" IL2CPP_METHOD_ATTR CipherSuiteCollection_t1129639304 * CipherSuiteFactory_GetSupportedCiphers_m3260014148 (RuntimeObject * __this /* static, unused */, int32_t ___protocol0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.SecurityParameters::.ctor()
extern "C" IL2CPP_METHOD_ATTR void SecurityParameters__ctor_m3952189175 (SecurityParameters_t2199972650 * __this, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.CipherSuite Mono.Security.Protocol.Tls.SecurityParameters::get_Cipher()
extern "C" IL2CPP_METHOD_ATTR CipherSuite_t3414744575 * SecurityParameters_get_Cipher_m108846204 (SecurityParameters_t2199972650 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.CipherSuite::set_Context(Mono.Security.Protocol.Tls.Context)
extern "C" IL2CPP_METHOD_ATTR void CipherSuite_set_Context_m1978767807 (CipherSuite_t3414744575 * __this, Context_t3971234707 * ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.SecurityParameters::Clear()
extern "C" IL2CPP_METHOD_ATTR void SecurityParameters_Clear_m680574382 (SecurityParameters_t2199972650 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::.ctor(Mono.Security.Protocol.Tls.Context,Mono.Security.Protocol.Tls.Handshake.HandshakeType)
extern "C" IL2CPP_METHOD_ATTR void HandshakeMessage__ctor_m2692487706 (HandshakeMessage_t3696583168 * __this, Context_t3971234707 * ___context0, uint8_t ___handshakeType1, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientCertificate::GetClientCertificate()
extern "C" IL2CPP_METHOD_ATTR void TlsClientCertificate_GetClientCertificate_m566867090 (TlsClientCertificate_t3519510577 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::Update()
extern "C" IL2CPP_METHOD_ATTR void HandshakeMessage_Update_m2417837686 (HandshakeMessage_t3696583168 * __this, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.Context Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::get_Context()
extern "C" IL2CPP_METHOD_ATTR Context_t3971234707 * HandshakeMessage_get_Context_m3036797856 (HandshakeMessage_t3696583168 * __this, const RuntimeMethod* method);
// System.Security.Cryptography.X509Certificates.X509CertificateCollection Mono.Security.Protocol.Tls.TlsClientSettings::get_Certificates()
extern "C" IL2CPP_METHOD_ATTR X509CertificateCollection_t3399372417 * TlsClientSettings_get_Certificates_m2671943654 (TlsClientSettings_t2486039503 * __this, const RuntimeMethod* method);
// System.Int32 System.Collections.CollectionBase::get_Count()
extern "C" IL2CPP_METHOD_ATTR int32_t CollectionBase_get_Count_m1708965601 (CollectionBase_t2727926298 * __this, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.SslClientStream Mono.Security.Protocol.Tls.ClientContext::get_SslStream()
extern "C" IL2CPP_METHOD_ATTR SslClientStream_t3914624661 * ClientContext_get_SslStream_m1583577309 (ClientContext_t2797401965 * __this, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.TlsServerSettings Mono.Security.Protocol.Tls.Context::get_ServerSettings()
extern "C" IL2CPP_METHOD_ATTR TlsServerSettings_t4144396432 * Context_get_ServerSettings_m1982578801 (Context_t3971234707 * __this, const RuntimeMethod* method);
// Mono.Security.X509.X509CertificateCollection Mono.Security.Protocol.Tls.TlsServerSettings::get_Certificates()
extern "C" IL2CPP_METHOD_ATTR X509CertificateCollection_t1542168550 * TlsServerSettings_get_Certificates_m3981837031 (TlsServerSettings_t4144396432 * __this, const RuntimeMethod* method);
// Mono.Security.X509.X509Certificate Mono.Security.X509.X509CertificateCollection::get_Item(System.Int32)
extern "C" IL2CPP_METHOD_ATTR X509Certificate_t489243025 * X509CertificateCollection_get_Item_m3285563224 (X509CertificateCollection_t1542168550 * __this, int32_t ___index0, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.X509Certificates.X509Certificate::.ctor(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void X509Certificate__ctor_m1413707489 (X509Certificate_t713131622 * __this, ByteU5BU5D_t4116647657* p0, const RuntimeMethod* method);
// System.Security.Cryptography.X509Certificates.X509Certificate Mono.Security.Protocol.Tls.SslClientStream::RaiseClientCertificateSelection(System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Cryptography.X509Certificates.X509Certificate,System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection)
extern "C" IL2CPP_METHOD_ATTR X509Certificate_t713131622 * SslClientStream_RaiseClientCertificateSelection_m3936211295 (SslClientStream_t3914624661 * __this, X509CertificateCollection_t3399372417 * ___clientCertificates0, X509Certificate_t713131622 * ___serverCertificate1, String_t* ___targetHost2, X509CertificateCollection_t3399372417 * ___serverRequestedCertificates3, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.TlsClientSettings::set_ClientCertificate(System.Security.Cryptography.X509Certificates.X509Certificate)
extern "C" IL2CPP_METHOD_ATTR void TlsClientSettings_set_ClientCertificate_m3374228612 (TlsClientSettings_t2486039503 * __this, X509Certificate_t713131622 * ___value0, const RuntimeMethod* method);
// System.Security.Cryptography.X509Certificates.X509Certificate Mono.Security.Protocol.Tls.Handshake.Client.TlsClientCertificate::get_ClientCertificate()
extern "C" IL2CPP_METHOD_ATTR X509Certificate_t713131622 * TlsClientCertificate_get_ClientCertificate_m1637836254 (TlsClientCertificate_t3519510577 * __this, const RuntimeMethod* method);
// System.Security.Cryptography.X509Certificates.X509Certificate Mono.Security.Protocol.Tls.Handshake.Client.TlsClientCertificate::FindParentCertificate(System.Security.Cryptography.X509Certificates.X509Certificate)
extern "C" IL2CPP_METHOD_ATTR X509Certificate_t713131622 * TlsClientCertificate_FindParentCertificate_m3844441401 (TlsClientCertificate_t3519510577 * __this, X509Certificate_t713131622 * ___cert0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientCertificate::SendCertificates()
extern "C" IL2CPP_METHOD_ATTR void TlsClientCertificate_SendCertificates_m1965594186 (TlsClientCertificate_t3519510577 * __this, const RuntimeMethod* method);
// System.Security.Cryptography.X509Certificates.X509CertificateCollection/X509CertificateEnumerator System.Security.Cryptography.X509Certificates.X509CertificateCollection::GetEnumerator()
extern "C" IL2CPP_METHOD_ATTR X509CertificateEnumerator_t855273292 * X509CertificateCollection_GetEnumerator_m1686475779 (X509CertificateCollection_t3399372417 * __this, const RuntimeMethod* method);
// System.Security.Cryptography.X509Certificates.X509Certificate System.Security.Cryptography.X509Certificates.X509CertificateCollection/X509CertificateEnumerator::get_Current()
extern "C" IL2CPP_METHOD_ATTR X509Certificate_t713131622 * X509CertificateEnumerator_get_Current_m364341970 (X509CertificateEnumerator_t855273292 * __this, const RuntimeMethod* method);
// System.Boolean System.Security.Cryptography.X509Certificates.X509CertificateCollection/X509CertificateEnumerator::MoveNext()
extern "C" IL2CPP_METHOD_ATTR bool X509CertificateEnumerator_MoveNext_m1557350766 (X509CertificateEnumerator_t855273292 * __this, const RuntimeMethod* method);
// System.Security.Cryptography.X509Certificates.X509Certificate Mono.Security.Protocol.Tls.TlsClientSettings::get_ClientCertificate()
extern "C" IL2CPP_METHOD_ATTR X509Certificate_t713131622 * TlsClientSettings_get_ClientCertificate_m3139459118 (TlsClientSettings_t2486039503 * __this, const RuntimeMethod* method);
// System.Security.Cryptography.AsymmetricAlgorithm Mono.Security.Protocol.Tls.SslClientStream::RaisePrivateKeySelection(System.Security.Cryptography.X509Certificates.X509Certificate,System.String)
extern "C" IL2CPP_METHOD_ATTR AsymmetricAlgorithm_t932037087 * SslClientStream_RaisePrivateKeySelection_m3394190501 (SslClientStream_t3914624661 * __this, X509Certificate_t713131622 * ___certificate0, String_t* ___targetHost1, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.SslHandshakeHash::.ctor(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void SslHandshakeHash__ctor_m4169387017 (SslHandshakeHash_t2107581772 * __this, ByteU5BU5D_t4116647657* ___secret0, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.SslHandshakeHash::CreateSignature(System.Security.Cryptography.RSA)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* SslHandshakeHash_CreateSignature_m1634235041 (SslHandshakeHash_t2107581772 * __this, RSA_t2385438082 * ___rsa0, const RuntimeMethod* method);
// System.Security.Cryptography.RSA Mono.Security.Protocol.Tls.Handshake.Client.TlsClientCertificateVerify::getClientCertRSA(System.Security.Cryptography.RSA)
extern "C" IL2CPP_METHOD_ATTR RSA_t2385438082 * TlsClientCertificateVerify_getClientCertRSA_m1205662940 (TlsClientCertificateVerify_t1824902654 * __this, RSA_t2385438082 * ___privKey0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.TlsStream::Write(System.Int16)
extern "C" IL2CPP_METHOD_ATTR void TlsStream_Write_m1412844442 (TlsStream_t2365453965 * __this, int16_t ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.MD5SHA1::.ctor()
extern "C" IL2CPP_METHOD_ATTR void MD5SHA1__ctor_m4081016482 (MD5SHA1_t723838944 * __this, const RuntimeMethod* method);
// System.Byte[] System.Security.Cryptography.HashAlgorithm::ComputeHash(System.Byte[],System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* HashAlgorithm_ComputeHash_m2044824070 (HashAlgorithm_t1432317219 * __this, ByteU5BU5D_t4116647657* p0, int32_t p1, int32_t p2, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Cryptography.MD5SHA1::CreateSignature(System.Security.Cryptography.RSA)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* MD5SHA1_CreateSignature_m3583449066 (MD5SHA1_t723838944 * __this, RSA_t2385438082 * ___rsa0, const RuntimeMethod* method);
// System.Security.Cryptography.X509Certificates.X509Certificate System.Security.Cryptography.X509Certificates.X509CertificateCollection::get_Item(System.Int32)
extern "C" IL2CPP_METHOD_ATTR X509Certificate_t713131622 * X509CertificateCollection_get_Item_m1177942658 (X509CertificateCollection_t3399372417 * __this, int32_t p0, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.Handshake.Client.TlsClientCertificateVerify::getUnsignedBigInteger(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* TlsClientCertificateVerify_getUnsignedBigInteger_m3003216819 (TlsClientCertificateVerify_t1824902654 * __this, ByteU5BU5D_t4116647657* ___integer0, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.SecurityParameters Mono.Security.Protocol.Tls.Context::get_Write()
extern "C" IL2CPP_METHOD_ATTR SecurityParameters_t2199972650 * Context_get_Write_m1564343513 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.CipherSuite::PRF(System.Byte[],System.String,System.Byte[],System.Int32)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* CipherSuite_PRF_m2801806009 (CipherSuite_t3414744575 * __this, ByteU5BU5D_t4116647657* ___secret0, String_t* ___label1, ByteU5BU5D_t4116647657* ___data2, int32_t ___length3, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Context::set_ClientRandom(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void Context_set_ClientRandom_m2974454575 (Context_t3971234707 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method);
// System.Int16 Mono.Security.Protocol.Tls.Context::get_Protocol()
extern "C" IL2CPP_METHOD_ATTR int16_t Context_get_Protocol_m1078422015 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.ClientContext::set_ClientHelloProtocol(System.Int16)
extern "C" IL2CPP_METHOD_ATTR void ClientContext_set_ClientHelloProtocol_m4189379912 (ClientContext_t2797401965 * __this, int16_t ___value0, const RuntimeMethod* method);
// System.Int32 Mono.Security.Protocol.Tls.Context::GetUnixTime()
extern "C" IL2CPP_METHOD_ATTR int32_t Context_GetUnixTime_m3811151335 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.TlsStream::Write(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void TlsStream_Write_m1413106584 (TlsStream_t2365453965 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.ClientSessionCache::FromHost(System.String)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* ClientSessionCache_FromHost_m273325760 (RuntimeObject * __this /* static, unused */, String_t* ___host0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Context::set_SessionId(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void Context_set_SessionId_m942328427 (Context_t3971234707 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.TlsStream::Write(System.Byte)
extern "C" IL2CPP_METHOD_ATTR void TlsStream_Write_m4246040664 (TlsStream_t2365453965 * __this, uint8_t ___value0, const RuntimeMethod* method);
// System.Int32 Mono.Security.Protocol.Tls.CipherSuiteCollection::get_Count()
extern "C" IL2CPP_METHOD_ATTR int32_t CipherSuiteCollection_get_Count_m4271692531 (CipherSuiteCollection_t1129639304 * __this, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.SecurityCompressionType Mono.Security.Protocol.Tls.Context::get_CompressionMethod()
extern "C" IL2CPP_METHOD_ATTR int32_t Context_get_CompressionMethod_m2647114016 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientKeyExchange::ProcessCommon(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void TlsClientKeyExchange_ProcessCommon_m2327374157 (TlsClientKeyExchange_t643923608 * __this, bool ___sendLength0, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.CipherSuite::CreatePremasterSecret()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* CipherSuite_CreatePremasterSecret_m4264566459 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method);
// System.Boolean Mono.Security.Protocol.Tls.TlsServerSettings::get_ServerKeyExchange()
extern "C" IL2CPP_METHOD_ATTR bool TlsServerSettings_get_ServerKeyExchange_m691183033 (TlsServerSettings_t4144396432 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.RSAManaged::.ctor()
extern "C" IL2CPP_METHOD_ATTR void RSAManaged__ctor_m3504773110 (RSAManaged_t1757093820 * __this, const RuntimeMethod* method);
// System.Security.Cryptography.RSAParameters Mono.Security.Protocol.Tls.TlsServerSettings::get_RsaParameters()
extern "C" IL2CPP_METHOD_ATTR RSAParameters_t1728406613 TlsServerSettings_get_RsaParameters_m2264301690 (TlsServerSettings_t4144396432 * __this, const RuntimeMethod* method);
// System.Security.Cryptography.RSA Mono.Security.Protocol.Tls.TlsServerSettings::get_CertificateRSA()
extern "C" IL2CPP_METHOD_ATTR RSA_t2385438082 * TlsServerSettings_get_CertificateRSA_m597274968 (TlsServerSettings_t4144396432 * __this, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.RSAPKCS1KeyExchangeFormatter::.ctor(System.Security.Cryptography.AsymmetricAlgorithm)
extern "C" IL2CPP_METHOD_ATTR void RSAPKCS1KeyExchangeFormatter__ctor_m1170240343 (RSAPKCS1KeyExchangeFormatter_t2761096101 * __this, AsymmetricAlgorithm_t932037087 * p0, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.AsymmetricAlgorithm::Clear()
extern "C" IL2CPP_METHOD_ATTR void AsymmetricAlgorithm_Clear_m1528825448 (AsymmetricAlgorithm_t932037087 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::.ctor(Mono.Security.Protocol.Tls.Context,Mono.Security.Protocol.Tls.Handshake.HandshakeType,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void HandshakeMessage__ctor_m1555296807 (HandshakeMessage_t3696583168 * __this, Context_t3971234707 * ___context0, uint8_t ___handshakeType1, ByteU5BU5D_t4116647657* ___data2, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.TlsServerSettings::set_Certificates(Mono.Security.X509.X509CertificateCollection)
extern "C" IL2CPP_METHOD_ATTR void TlsServerSettings_set_Certificates_m3313375596 (TlsServerSettings_t4144396432 * __this, X509CertificateCollection_t1542168550 * ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.TlsServerSettings::UpdateCertificateRSA()
extern "C" IL2CPP_METHOD_ATTR void TlsServerSettings_UpdateCertificateRSA_m3985265846 (TlsServerSettings_t4144396432 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.X509.X509CertificateCollection::.ctor()
extern "C" IL2CPP_METHOD_ATTR void X509CertificateCollection__ctor_m2066277891 (X509CertificateCollection_t1542168550 * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.TlsStream::ReadBytes(System.Int32)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* TlsStream_ReadBytes_m2334803179 (TlsStream_t2365453965 * __this, int32_t ___count0, const RuntimeMethod* method);
// System.Void Mono.Security.X509.X509Certificate::.ctor(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void X509Certificate__ctor_m553243489 (X509Certificate_t489243025 * __this, ByteU5BU5D_t4116647657* ___data0, const RuntimeMethod* method);
// System.Int32 Mono.Security.X509.X509CertificateCollection::Add(Mono.Security.X509.X509Certificate)
extern "C" IL2CPP_METHOD_ATTR int32_t X509CertificateCollection_Add_m2277657976 (X509CertificateCollection_t1542168550 * __this, X509Certificate_t489243025 * ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate::validateCertificates(Mono.Security.X509.X509CertificateCollection)
extern "C" IL2CPP_METHOD_ATTR void TlsServerCertificate_validateCertificates_m4242999387 (TlsServerCertificate_t2716496392 * __this, X509CertificateCollection_t1542168550 * ___certificates0, const RuntimeMethod* method);
// System.Int32 Mono.Security.X509.X509Certificate::get_Version()
extern "C" IL2CPP_METHOD_ATTR int32_t X509Certificate_get_Version_m3419034307 (X509Certificate_t489243025 * __this, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.ExchangeAlgorithmType Mono.Security.Protocol.Tls.CipherSuite::get_ExchangeAlgorithmType()
extern "C" IL2CPP_METHOD_ATTR int32_t CipherSuite_get_ExchangeAlgorithmType_m1633709183 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method);
// Mono.Security.X509.X509ExtensionCollection Mono.Security.X509.X509Certificate::get_Extensions()
extern "C" IL2CPP_METHOD_ATTR X509ExtensionCollection_t609554709 * X509Certificate_get_Extensions_m2532937142 (X509Certificate_t489243025 * __this, const RuntimeMethod* method);
// Mono.Security.X509.X509Extension Mono.Security.X509.X509ExtensionCollection::get_Item(System.String)
extern "C" IL2CPP_METHOD_ATTR X509Extension_t3173393653 * X509ExtensionCollection_get_Item_m4249795832 (X509ExtensionCollection_t609554709 * __this, String_t* ___oid0, const RuntimeMethod* method);
// System.Void Mono.Security.X509.Extensions.KeyUsageExtension::.ctor(Mono.Security.X509.X509Extension)
extern "C" IL2CPP_METHOD_ATTR void KeyUsageExtension__ctor_m3414452076 (KeyUsageExtension_t1795615912 * __this, X509Extension_t3173393653 * ___extension0, const RuntimeMethod* method);
// System.Void Mono.Security.X509.Extensions.ExtendedKeyUsageExtension::.ctor(Mono.Security.X509.X509Extension)
extern "C" IL2CPP_METHOD_ATTR void ExtendedKeyUsageExtension__ctor_m3228998638 (ExtendedKeyUsageExtension_t3929363080 * __this, X509Extension_t3173393653 * ___extension0, const RuntimeMethod* method);
// System.Boolean Mono.Security.X509.Extensions.KeyUsageExtension::Support(Mono.Security.X509.Extensions.KeyUsages)
extern "C" IL2CPP_METHOD_ATTR bool KeyUsageExtension_Support_m3508856672 (KeyUsageExtension_t1795615912 * __this, int32_t ___usage0, const RuntimeMethod* method);
// System.Collections.ArrayList Mono.Security.X509.Extensions.ExtendedKeyUsageExtension::get_KeyPurpose()
extern "C" IL2CPP_METHOD_ATTR ArrayList_t2718874744 * ExtendedKeyUsageExtension_get_KeyPurpose_m187586919 (ExtendedKeyUsageExtension_t3929363080 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.X509.Extensions.NetscapeCertTypeExtension::.ctor(Mono.Security.X509.X509Extension)
extern "C" IL2CPP_METHOD_ATTR void NetscapeCertTypeExtension__ctor_m323882095 (NetscapeCertTypeExtension_t1524296876 * __this, X509Extension_t3173393653 * ___extension0, const RuntimeMethod* method);
// System.Boolean Mono.Security.X509.Extensions.NetscapeCertTypeExtension::Support(Mono.Security.X509.Extensions.NetscapeCertTypeExtension/CertTypes)
extern "C" IL2CPP_METHOD_ATTR bool NetscapeCertTypeExtension_Support_m3981181230 (NetscapeCertTypeExtension_t1524296876 * __this, int32_t ___usage0, const RuntimeMethod* method);
// System.Boolean Mono.Security.Protocol.Tls.ValidationResult::get_Trusted()
extern "C" IL2CPP_METHOD_ATTR bool ValidationResult_get_Trusted_m2108852505 (ValidationResult_t3834298736 * __this, const RuntimeMethod* method);
// System.Int32 Mono.Security.Protocol.Tls.ValidationResult::get_ErrorCode()
extern "C" IL2CPP_METHOD_ATTR int32_t ValidationResult_get_ErrorCode_m1533688152 (ValidationResult_t3834298736 * __this, const RuntimeMethod* method);
// System.String System.String::Format(System.String,System.Object)
extern "C" IL2CPP_METHOD_ATTR String_t* String_Format_m2844511972 (RuntimeObject * __this /* static, unused */, String_t* p0, RuntimeObject * p1, const RuntimeMethod* method);
// System.Boolean Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate::checkCertificateUsage(Mono.Security.X509.X509Certificate)
extern "C" IL2CPP_METHOD_ATTR bool TlsServerCertificate_checkCertificateUsage_m2152016773 (TlsServerCertificate_t2716496392 * __this, X509Certificate_t489243025 * ___cert0, const RuntimeMethod* method);
// System.Boolean Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate::checkServerIdentity(Mono.Security.X509.X509Certificate)
extern "C" IL2CPP_METHOD_ATTR bool TlsServerCertificate_checkServerIdentity_m2801575130 (TlsServerCertificate_t2716496392 * __this, X509Certificate_t489243025 * ___cert0, const RuntimeMethod* method);
// System.Void Mono.Security.X509.X509CertificateCollection::.ctor(Mono.Security.X509.X509CertificateCollection)
extern "C" IL2CPP_METHOD_ATTR void X509CertificateCollection__ctor_m3467061452 (X509CertificateCollection_t1542168550 * __this, X509CertificateCollection_t1542168550 * ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.X509.X509CertificateCollection::Remove(Mono.Security.X509.X509Certificate)
extern "C" IL2CPP_METHOD_ATTR void X509CertificateCollection_Remove_m2199606504 (X509CertificateCollection_t1542168550 * __this, X509Certificate_t489243025 * ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.X509.X509Chain::.ctor(Mono.Security.X509.X509CertificateCollection)
extern "C" IL2CPP_METHOD_ATTR void X509Chain__ctor_m1084071882 (X509Chain_t863783600 * __this, X509CertificateCollection_t1542168550 * ___chain0, const RuntimeMethod* method);
// System.Boolean Mono.Security.X509.X509Chain::Build(Mono.Security.X509.X509Certificate)
extern "C" IL2CPP_METHOD_ATTR bool X509Chain_Build_m2469702749 (X509Chain_t863783600 * __this, X509Certificate_t489243025 * ___leaf0, const RuntimeMethod* method);
// Mono.Security.X509.X509ChainStatusFlags Mono.Security.X509.X509Chain::get_Status()
extern "C" IL2CPP_METHOD_ATTR int32_t X509Chain_get_Status_m348797749 (X509Chain_t863783600 * __this, const RuntimeMethod* method);
// System.Type System.Type::GetTypeFromHandle(System.RuntimeTypeHandle)
extern "C" IL2CPP_METHOD_ATTR Type_t * Type_GetTypeFromHandle_m1620074514 (RuntimeObject * __this /* static, unused */, RuntimeTypeHandle_t3027515415 p0, const RuntimeMethod* method);
// System.Void Mono.Security.X509.Extensions.SubjectAltNameExtension::.ctor(Mono.Security.X509.X509Extension)
extern "C" IL2CPP_METHOD_ATTR void SubjectAltNameExtension__ctor_m1991362362 (SubjectAltNameExtension_t1536937677 * __this, X509Extension_t3173393653 * ___extension0, const RuntimeMethod* method);
// System.String[] Mono.Security.X509.Extensions.SubjectAltNameExtension::get_DNSNames()
extern "C" IL2CPP_METHOD_ATTR StringU5BU5D_t1281789340* SubjectAltNameExtension_get_DNSNames_m2346000460 (SubjectAltNameExtension_t1536937677 * __this, const RuntimeMethod* method);
// System.Boolean Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate::Match(System.String,System.String)
extern "C" IL2CPP_METHOD_ATTR bool TlsServerCertificate_Match_m2996121276 (RuntimeObject * __this /* static, unused */, String_t* ___hostname0, String_t* ___pattern1, const RuntimeMethod* method);
// System.String[] Mono.Security.X509.Extensions.SubjectAltNameExtension::get_IPAddresses()
extern "C" IL2CPP_METHOD_ATTR StringU5BU5D_t1281789340* SubjectAltNameExtension_get_IPAddresses_m1641002124 (SubjectAltNameExtension_t1536937677 * __this, const RuntimeMethod* method);
// System.Boolean Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate::checkDomainName(System.String)
extern "C" IL2CPP_METHOD_ATTR bool TlsServerCertificate_checkDomainName_m2543190336 (TlsServerCertificate_t2716496392 * __this, String_t* ___subjectName0, const RuntimeMethod* method);
// System.Void System.Text.RegularExpressions.Regex::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void Regex__ctor_m3948448025 (Regex_t3657309853 * __this, String_t* p0, const RuntimeMethod* method);
// System.Text.RegularExpressions.MatchCollection System.Text.RegularExpressions.Regex::Matches(System.String)
extern "C" IL2CPP_METHOD_ATTR MatchCollection_t1395363720 * Regex_Matches_m979395559 (Regex_t3657309853 * __this, String_t* p0, const RuntimeMethod* method);
// System.Int32 System.Text.RegularExpressions.MatchCollection::get_Count()
extern "C" IL2CPP_METHOD_ATTR int32_t MatchCollection_get_Count_m1586545784 (MatchCollection_t1395363720 * __this, const RuntimeMethod* method);
// System.Boolean System.Text.RegularExpressions.Group::get_Success()
extern "C" IL2CPP_METHOD_ATTR bool Group_get_Success_m3823591889 (Group_t2468205786 * __this, const RuntimeMethod* method);
// System.Text.RegularExpressions.Group System.Text.RegularExpressions.GroupCollection::get_Item(System.Int32)
extern "C" IL2CPP_METHOD_ATTR Group_t2468205786 * GroupCollection_get_Item_m723682197 (GroupCollection_t69770484 * __this, int32_t p0, const RuntimeMethod* method);
// System.String System.Text.RegularExpressions.Capture::get_Value()
extern "C" IL2CPP_METHOD_ATTR String_t* Capture_get_Value_m3919646039 (Capture_t2232016050 * __this, const RuntimeMethod* method);
// System.String System.String::ToString()
extern "C" IL2CPP_METHOD_ATTR String_t* String_ToString_m838249115 (String_t* __this, const RuntimeMethod* method);
// System.Int32 System.String::IndexOf(System.Char)
extern "C" IL2CPP_METHOD_ATTR int32_t String_IndexOf_m363431711 (String_t* __this, Il2CppChar p0, const RuntimeMethod* method);
// System.Int32 System.String::Compare(System.String,System.String,System.Boolean,System.Globalization.CultureInfo)
extern "C" IL2CPP_METHOD_ATTR int32_t String_Compare_m1293271421 (RuntimeObject * __this /* static, unused */, String_t* p0, String_t* p1, bool p2, CultureInfo_t4157843068 * p3, const RuntimeMethod* method);
// System.Int32 System.String::IndexOf(System.Char,System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t String_IndexOf_m2466398549 (String_t* __this, Il2CppChar p0, int32_t p1, const RuntimeMethod* method);
// System.String System.String::Substring(System.Int32)
extern "C" IL2CPP_METHOD_ATTR String_t* String_Substring_m2848979100 (String_t* __this, int32_t p0, const RuntimeMethod* method);
// System.Int32 System.String::Compare(System.String,System.Int32,System.String,System.Int32,System.Int32,System.Boolean,System.Globalization.CultureInfo)
extern "C" IL2CPP_METHOD_ATTR int32_t String_Compare_m945110377 (RuntimeObject * __this /* static, unused */, String_t* p0, int32_t p1, String_t* p2, int32_t p3, int32_t p4, bool p5, CultureInfo_t4157843068 * p6, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.TlsServerSettings::set_CertificateTypes(Mono.Security.Protocol.Tls.Handshake.ClientCertificateType[])
extern "C" IL2CPP_METHOD_ATTR void TlsServerSettings_set_CertificateTypes_m2047242411 (TlsServerSettings_t4144396432 * __this, ClientCertificateTypeU5BU5D_t4253920197* ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.TlsServerSettings::set_DistinguisedNames(System.String[])
extern "C" IL2CPP_METHOD_ATTR void TlsServerSettings_set_DistinguisedNames_m787752700 (TlsServerSettings_t4144396432 * __this, StringU5BU5D_t1281789340* ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.TlsServerSettings::set_CertificateRequest(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void TlsServerSettings_set_CertificateRequest_m1039729760 (TlsServerSettings_t4144396432 * __this, bool ___value0, const RuntimeMethod* method);
// System.Int16 Mono.Security.Protocol.Tls.TlsStream::ReadInt16()
extern "C" IL2CPP_METHOD_ATTR int16_t TlsStream_ReadInt16_m1728211431 (TlsStream_t2365453965 * __this, const RuntimeMethod* method);
// System.Text.Encoding System.Text.Encoding::get_UTF8()
extern "C" IL2CPP_METHOD_ATTR Encoding_t1523322056 * Encoding_get_UTF8_m1008486739 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Boolean Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::Compare(System.Byte[],System.Byte[])
extern "C" IL2CPP_METHOD_ATTR bool HandshakeMessage_Compare_m2214647946 (RuntimeObject * __this /* static, unused */, ByteU5BU5D_t4116647657* ___buffer10, ByteU5BU5D_t4116647657* ___buffer21, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.SecurityParameters Mono.Security.Protocol.Tls.Context::get_Current()
extern "C" IL2CPP_METHOD_ATTR SecurityParameters_t2199972650 * Context_get_Current_m2853615040 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.TlsException::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void TlsException__ctor_m3652817735 (TlsException_t3534743363 * __this, String_t* ___message0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Context::set_ServerRandom(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void Context_set_ServerRandom_m2929894009 (Context_t3971234707 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.SecurityParameters::set_Cipher(Mono.Security.Protocol.Tls.CipherSuite)
extern "C" IL2CPP_METHOD_ATTR void SecurityParameters_set_Cipher_m588445085 (SecurityParameters_t2199972650 * __this, CipherSuite_t3414744575 * ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Context::set_CompressionMethod(Mono.Security.Protocol.Tls.SecurityCompressionType)
extern "C" IL2CPP_METHOD_ATTR void Context_set_CompressionMethod_m2054483993 (Context_t3971234707 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Context::set_ProtocolNegotiated(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Context_set_ProtocolNegotiated_m2904861662 (Context_t3971234707 * __this, bool ___value0, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.Context::get_ClientRandom()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* Context_get_ClientRandom_m1437588520 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.Context::get_ServerRandom()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* Context_get_ServerRandom_m2710024742 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Context::set_RandomCS(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void Context_set_RandomCS_m2687068745 (Context_t3971234707 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Context::set_RandomSC(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void Context_set_RandomSC_m2364786761 (Context_t3971234707 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerHello::processProtocol(System.Int16)
extern "C" IL2CPP_METHOD_ATTR void TlsServerHello_processProtocol_m3969427189 (TlsServerHello_t3343859594 * __this, int16_t ___protocol0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.ClientSessionCache::Add(System.String,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void ClientSessionCache_Add_m964342678 (RuntimeObject * __this /* static, unused */, String_t* ___host0, ByteU5BU5D_t4116647657* ___id1, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Context::set_AbbreviatedHandshake(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Context_set_AbbreviatedHandshake_m827173393 (Context_t3971234707 * __this, bool ___value0, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.CipherSuite Mono.Security.Protocol.Tls.CipherSuiteCollection::get_Item(System.Int16)
extern "C" IL2CPP_METHOD_ATTR CipherSuite_t3414744575 * CipherSuiteCollection_get_Item_m3790183696 (CipherSuiteCollection_t1129639304 * __this, int16_t ___code0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerKeyExchange::verifySignature()
extern "C" IL2CPP_METHOD_ATTR void TlsServerKeyExchange_verifySignature_m3412856769 (TlsServerKeyExchange_t699469151 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.TlsServerSettings::set_ServerKeyExchange(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void TlsServerSettings_set_ServerKeyExchange_m3302765325 (TlsServerSettings_t4144396432 * __this, bool ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.TlsServerSettings::set_RsaParameters(System.Security.Cryptography.RSAParameters)
extern "C" IL2CPP_METHOD_ATTR void TlsServerSettings_set_RsaParameters_m853026166 (TlsServerSettings_t4144396432 * __this, RSAParameters_t1728406613 ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.TlsServerSettings::set_SignedParams(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void TlsServerSettings_set_SignedParams_m3618693098 (TlsServerSettings_t4144396432 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.Context::get_RandomCS()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* Context_get_RandomCS_m1367948315 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.Boolean Mono.Security.Cryptography.MD5SHA1::VerifySignature(System.Security.Cryptography.RSA,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR bool MD5SHA1_VerifySignature_m915115209 (MD5SHA1_t723838944 * __this, RSA_t2385438082 * ___rsa0, ByteU5BU5D_t4116647657* ___rgbSignature1, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::.ctor(Mono.Security.Protocol.Tls.Context,Mono.Security.Protocol.Tls.Handshake.HandshakeType,Mono.Security.Protocol.Tls.ContentType)
extern "C" IL2CPP_METHOD_ATTR void HandshakeMessage__ctor_m1353615444 (HandshakeMessage_t3696583168 * __this, Context_t3971234707 * ___context0, uint8_t ___handshakeType1, uint8_t ___contentType2, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.TlsStream::.ctor(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void TlsStream__ctor_m277557575 (TlsStream_t2365453965 * __this, ByteU5BU5D_t4116647657* ___data0, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.Handshake.HandshakeType Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::get_HandshakeType()
extern "C" IL2CPP_METHOD_ATTR uint8_t HandshakeMessage_get_HandshakeType_m478242308 (HandshakeMessage_t3696583168 * __this, const RuntimeMethod* method);
// System.Uri System.Net.HttpWebRequest::get_Address()
extern "C" IL2CPP_METHOD_ATTR Uri_t100236324 * HttpWebRequest_get_Address_m1609525404 (HttpWebRequest_t1669436515 * __this, const RuntimeMethod* method);
// System.String System.Uri::get_Host()
extern "C" IL2CPP_METHOD_ATTR String_t* Uri_get_Host_m42857288 (Uri_t100236324 * __this, const RuntimeMethod* method);
// System.Net.SecurityProtocolType System.Net.ServicePointManager::get_SecurityProtocol()
extern "C" IL2CPP_METHOD_ATTR int32_t ServicePointManager_get_SecurityProtocol_m4259357356 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.SslClientStream::.ctor(System.IO.Stream,System.String,System.Boolean,Mono.Security.Protocol.Tls.SecurityProtocolType,System.Security.Cryptography.X509Certificates.X509CertificateCollection)
extern "C" IL2CPP_METHOD_ATTR void SslClientStream__ctor_m3351906728 (SslClientStream_t3914624661 * __this, Stream_t1273022909 * ___stream0, String_t* ___targetHost1, bool ___ownsStream2, int32_t ___securityProtocolType3, X509CertificateCollection_t3399372417 * ___clientCertificates4, const RuntimeMethod* method);
// System.IO.Stream Mono.Security.Protocol.Tls.SslClientStream::get_InputBuffer()
extern "C" IL2CPP_METHOD_ATTR Stream_t1273022909 * SslClientStream_get_InputBuffer_m4092356391 (SslClientStream_t3914624661 * __this, const RuntimeMethod* method);
// System.Boolean System.Net.ServicePointManager::get_CheckCertificateRevocationList()
extern "C" IL2CPP_METHOD_ATTR bool ServicePointManager_get_CheckCertificateRevocationList_m1716454075 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.SslStreamBase::set_CheckCertRevocationStatus(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void SslStreamBase_set_CheckCertRevocationStatus_m912861213 (SslStreamBase_t1667413407 * __this, bool ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.CertificateSelectionCallback::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void CertificateSelectionCallback__ctor_m3437537928 (CertificateSelectionCallback_t3743405224 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.SslClientStream::add_ClientCertSelection(Mono.Security.Protocol.Tls.CertificateSelectionCallback)
extern "C" IL2CPP_METHOD_ATTR void SslClientStream_add_ClientCertSelection_m1387948363 (SslClientStream_t3914624661 * __this, CertificateSelectionCallback_t3743405224 * ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.PrivateKeySelectionCallback::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void PrivateKeySelectionCallback__ctor_m265141085 (PrivateKeySelectionCallback_t3240194217 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.SslClientStream::add_PrivateKeySelection(Mono.Security.Protocol.Tls.PrivateKeySelectionCallback)
extern "C" IL2CPP_METHOD_ATTR void SslClientStream_add_PrivateKeySelection_m1663125063 (SslClientStream_t3914624661 * __this, PrivateKeySelectionCallback_t3240194217 * ___value0, const RuntimeMethod* method);
// System.Net.ICertificatePolicy System.Net.ServicePointManager::get_CertificatePolicy()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* ServicePointManager_get_CertificatePolicy_m1966679142 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Net.ServicePoint System.Net.HttpWebRequest::get_ServicePoint()
extern "C" IL2CPP_METHOD_ATTR ServicePoint_t2786966844 * HttpWebRequest_get_ServicePoint_m1080482337 (HttpWebRequest_t1669436515 * __this, const RuntimeMethod* method);
// System.Net.Security.RemoteCertificateValidationCallback System.Net.ServicePointManager::get_ServerCertificateValidationCallback()
extern "C" IL2CPP_METHOD_ATTR RemoteCertificateValidationCallback_t3014364904 * ServicePointManager_get_ServerCertificateValidationCallback_m984921647 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.X509Certificates.X509Certificate2::.ctor(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void X509Certificate2__ctor_m2370196240 (X509Certificate2_t714049126 * __this, ByteU5BU5D_t4116647657* p0, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.X509Certificates.X509Chain::.ctor()
extern "C" IL2CPP_METHOD_ATTR void X509Chain__ctor_m2878811474 (X509Chain_t194917408 * __this, const RuntimeMethod* method);
// System.Boolean System.Security.Cryptography.X509Certificates.X509Chain::Build(System.Security.Cryptography.X509Certificates.X509Certificate2)
extern "C" IL2CPP_METHOD_ATTR bool X509Chain_Build_m1705729171 (X509Chain_t194917408 * __this, X509Certificate2_t714049126 * p0, const RuntimeMethod* method);
// System.Boolean System.Net.Security.RemoteCertificateValidationCallback::Invoke(System.Object,System.Security.Cryptography.X509Certificates.X509Certificate,System.Security.Cryptography.X509Certificates.X509Chain,System.Net.Security.SslPolicyErrors)
extern "C" IL2CPP_METHOD_ATTR bool RemoteCertificateValidationCallback_Invoke_m727898444 (RemoteCertificateValidationCallback_t3014364904 * __this, RuntimeObject * p0, X509Certificate_t713131622 * p1, X509Chain_t194917408 * p2, int32_t p3, const RuntimeMethod* method);
// System.Security.Cryptography.AsymmetricAlgorithm System.Security.Cryptography.X509Certificates.X509Certificate2::get_PrivateKey()
extern "C" IL2CPP_METHOD_ATTR AsymmetricAlgorithm_t932037087 * X509Certificate2_get_PrivateKey_m450647294 (X509Certificate2_t714049126 * __this, const RuntimeMethod* method);
// System.Security.Cryptography.AsymmetricAlgorithm Mono.Security.Protocol.Tls.PrivateKeySelectionCallback::Invoke(System.Security.Cryptography.X509Certificates.X509Certificate,System.String)
extern "C" IL2CPP_METHOD_ATTR AsymmetricAlgorithm_t932037087 * PrivateKeySelectionCallback_Invoke_m921844982 (PrivateKeySelectionCallback_t3240194217 * __this, X509Certificate_t713131622 * ___certificate0, String_t* ___targetHost1, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.AsymmetricSignatureDeformatter::.ctor()
extern "C" IL2CPP_METHOD_ATTR void AsymmetricSignatureDeformatter__ctor_m88114807 (AsymmetricSignatureDeformatter_t2681190756 * __this, const RuntimeMethod* method);
// System.Boolean Mono.Security.Cryptography.PKCS1::Verify_v15(System.Security.Cryptography.RSA,System.Security.Cryptography.HashAlgorithm,System.Byte[],System.Byte[])
extern "C" IL2CPP_METHOD_ATTR bool PKCS1_Verify_v15_m4192025173 (RuntimeObject * __this /* static, unused */, RSA_t2385438082 * ___rsa0, HashAlgorithm_t1432317219 * ___hash1, ByteU5BU5D_t4116647657* ___hashValue2, ByteU5BU5D_t4116647657* ___signature3, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.String,System.Int32>::.ctor(System.Int32)
inline void Dictionary_2__ctor_m2392909825 (Dictionary_2_t2736202052 * __this, int32_t p0, const RuntimeMethod* method)
{
(( void (*) (Dictionary_2_t2736202052 *, int32_t, const RuntimeMethod*))Dictionary_2__ctor_m182537451_gshared)(__this, p0, method);
}
// System.Void System.Collections.Generic.Dictionary`2<System.String,System.Int32>::Add(!0,!1)
inline void Dictionary_2_Add_m282647386 (Dictionary_2_t2736202052 * __this, String_t* p0, int32_t p1, const RuntimeMethod* method)
{
(( void (*) (Dictionary_2_t2736202052 *, String_t*, int32_t, const RuntimeMethod*))Dictionary_2_Add_m1279427033_gshared)(__this, p0, p1, method);
}
// System.Boolean System.Collections.Generic.Dictionary`2<System.String,System.Int32>::TryGetValue(!0,!1&)
inline bool Dictionary_2_TryGetValue_m1013208020 (Dictionary_2_t2736202052 * __this, String_t* p0, int32_t* p1, const RuntimeMethod* method)
{
return (( bool (*) (Dictionary_2_t2736202052 *, String_t*, int32_t*, const RuntimeMethod*))Dictionary_2_TryGetValue_m3959998165_gshared)(__this, p0, p1, method);
}
// System.Void System.Security.Cryptography.AsymmetricSignatureFormatter::.ctor()
extern "C" IL2CPP_METHOD_ATTR void AsymmetricSignatureFormatter__ctor_m3278494933 (AsymmetricSignatureFormatter_t3486936014 * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Cryptography.PKCS1::Sign_v15(System.Security.Cryptography.RSA,System.Security.Cryptography.HashAlgorithm,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* PKCS1_Sign_v15_m3459793192 (RuntimeObject * __this /* static, unused */, RSA_t2385438082 * ___rsa0, HashAlgorithm_t1432317219 * ___hash1, ByteU5BU5D_t4116647657* ___hashValue2, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Context::set_RecordProtocol(Mono.Security.Protocol.Tls.RecordProtocol)
extern "C" IL2CPP_METHOD_ATTR void Context_set_RecordProtocol_m3067654641 (Context_t3971234707 * __this, RecordProtocol_t3759049701 * ___value0, const RuntimeMethod* method);
// System.Void System.Threading.ManualResetEvent::.ctor(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void ManualResetEvent__ctor_m4010886457 (ManualResetEvent_t451242010 * __this, bool p0, const RuntimeMethod* method);
// System.IAsyncResult Mono.Security.Protocol.Tls.RecordProtocol::BeginSendRecord(Mono.Security.Protocol.Tls.Handshake.HandshakeType,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* RecordProtocol_BeginSendRecord_m615249746 (RecordProtocol_t3759049701 * __this, uint8_t ___handshakeType0, AsyncCallback_t3962456242 * ___callback1, RuntimeObject * ___state2, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.RecordProtocol::EndSendRecord(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void RecordProtocol_EndSendRecord_m4264777321 (RecordProtocol_t3759049701 * __this, RuntimeObject* ___asyncResult0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Context::set_ReadSequenceNumber(System.UInt64)
extern "C" IL2CPP_METHOD_ATTR void Context_set_ReadSequenceNumber_m2154909392 (Context_t3971234707 * __this, uint64_t ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Context::EndSwitchingSecurityParameters(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Context_EndSwitchingSecurityParameters_m4148956166 (Context_t3971234707 * __this, bool ___client0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Context::StartSwitchingSecurityParameters(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Context_StartSwitchingSecurityParameters_m28285865 (Context_t3971234707 * __this, bool ___client0, const RuntimeMethod* method);
// System.Void System.NotSupportedException::.ctor()
extern "C" IL2CPP_METHOD_ATTR void NotSupportedException__ctor_m2730133172 (NotSupportedException_t1314879016 * __this, const RuntimeMethod* method);
// System.Boolean Mono.Security.Protocol.Tls.Context::get_ReceivedConnectionEnd()
extern "C" IL2CPP_METHOD_ATTR bool Context_get_ReceivedConnectionEnd_m4011125537 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.Boolean System.Threading.EventWaitHandle::Reset()
extern "C" IL2CPP_METHOD_ATTR bool EventWaitHandle_Reset_m3348053200 (EventWaitHandle_t777845177 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::.ctor(System.AsyncCallback,System.Object,System.Byte[],System.IO.Stream)
extern "C" IL2CPP_METHOD_ATTR void ReceiveRecordAsyncResult__ctor_m277637112 (ReceiveRecordAsyncResult_t3680907657 * __this, AsyncCallback_t3962456242 * ___userCallback0, RuntimeObject * ___userState1, ByteU5BU5D_t4116647657* ___initialBuffer2, Stream_t1273022909 * ___record3, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::get_InitialBuffer()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* ReceiveRecordAsyncResult_get_InitialBuffer_m2924495696 (ReceiveRecordAsyncResult_t3680907657 * __this, const RuntimeMethod* method);
// System.Void System.AsyncCallback::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void AsyncCallback__ctor_m530647953 (AsyncCallback_t3962456242 * __this, RuntimeObject * p0, intptr_t p1, const RuntimeMethod* method);
// System.IO.Stream Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::get_Record()
extern "C" IL2CPP_METHOD_ATTR Stream_t1273022909 * ReceiveRecordAsyncResult_get_Record_m223479150 (ReceiveRecordAsyncResult_t3680907657 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::SetComplete(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void ReceiveRecordAsyncResult_SetComplete_m464469214 (ReceiveRecordAsyncResult_t3680907657 * __this, ByteU5BU5D_t4116647657* ___resultingBuffer0, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.RecordProtocol::ReadRecordBuffer(System.Int32,System.IO.Stream)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* RecordProtocol_ReadRecordBuffer_m180543381 (RecordProtocol_t3759049701 * __this, int32_t ___contentType0, Stream_t1273022909 * ___record1, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.SecurityParameters Mono.Security.Protocol.Tls.Context::get_Read()
extern "C" IL2CPP_METHOD_ATTR SecurityParameters_t2199972650 * Context_get_Read_m4172356735 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.RecordProtocol::decryptRecordFragment(Mono.Security.Protocol.Tls.ContentType,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* RecordProtocol_decryptRecordFragment_m66623237 (RecordProtocol_t3759049701 * __this, uint8_t ___contentType0, ByteU5BU5D_t4116647657* ___fragment1, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.RecordProtocol::ProcessAlert(Mono.Security.Protocol.Tls.AlertLevel,Mono.Security.Protocol.Tls.AlertDescription)
extern "C" IL2CPP_METHOD_ATTR void RecordProtocol_ProcessAlert_m1036912531 (RecordProtocol_t3759049701 * __this, uint8_t ___alertLevel0, uint8_t ___alertDesc1, const RuntimeMethod* method);
// System.Boolean Mono.Security.Protocol.Tls.TlsStream::get_EOF()
extern "C" IL2CPP_METHOD_ATTR bool TlsStream_get_EOF_m953226442 (TlsStream_t2365453965 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::SetComplete(System.Exception)
extern "C" IL2CPP_METHOD_ATTR void ReceiveRecordAsyncResult_SetComplete_m1568733499 (ReceiveRecordAsyncResult_t3680907657 * __this, Exception_t * ___ex0, const RuntimeMethod* method);
// System.Boolean Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::get_IsCompleted()
extern "C" IL2CPP_METHOD_ATTR bool ReceiveRecordAsyncResult_get_IsCompleted_m1918259948 (ReceiveRecordAsyncResult_t3680907657 * __this, const RuntimeMethod* method);
// System.Threading.WaitHandle Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::get_AsyncWaitHandle()
extern "C" IL2CPP_METHOD_ATTR WaitHandle_t1743403487 * ReceiveRecordAsyncResult_get_AsyncWaitHandle_m1781023438 (ReceiveRecordAsyncResult_t3680907657 * __this, const RuntimeMethod* method);
// System.Boolean Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::get_CompletedWithError()
extern "C" IL2CPP_METHOD_ATTR bool ReceiveRecordAsyncResult_get_CompletedWithError_m2856009536 (ReceiveRecordAsyncResult_t3680907657 * __this, const RuntimeMethod* method);
// System.Exception Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::get_AsyncException()
extern "C" IL2CPP_METHOD_ATTR Exception_t * ReceiveRecordAsyncResult_get_AsyncException_m631453737 (ReceiveRecordAsyncResult_t3680907657 * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::get_ResultingBuffer()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* ReceiveRecordAsyncResult_get_ResultingBuffer_m1839161335 (ReceiveRecordAsyncResult_t3680907657 * __this, const RuntimeMethod* method);
// System.Boolean System.Threading.EventWaitHandle::Set()
extern "C" IL2CPP_METHOD_ATTR bool EventWaitHandle_Set_m2445193251 (EventWaitHandle_t777845177 * __this, const RuntimeMethod* method);
// System.IAsyncResult Mono.Security.Protocol.Tls.RecordProtocol::BeginReceiveRecord(System.IO.Stream,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* RecordProtocol_BeginReceiveRecord_m295321170 (RecordProtocol_t3759049701 * __this, Stream_t1273022909 * ___record0, AsyncCallback_t3962456242 * ___callback1, RuntimeObject * ___state2, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.RecordProtocol::EndReceiveRecord(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* RecordProtocol_EndReceiveRecord_m1872541318 (RecordProtocol_t3759049701 * __this, RuntimeObject* ___asyncResult0, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.RecordProtocol::ReadClientHelloV2(System.IO.Stream)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* RecordProtocol_ReadClientHelloV2_m4052496367 (RecordProtocol_t3759049701 * __this, Stream_t1273022909 * ___record0, const RuntimeMethod* method);
// System.Boolean System.Enum::IsDefined(System.Type,System.Object)
extern "C" IL2CPP_METHOD_ATTR bool Enum_IsDefined_m1442314461 (RuntimeObject * __this /* static, unused */, Type_t * p0, RuntimeObject * p1, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.TlsException::.ctor(Mono.Security.Protocol.Tls.AlertDescription)
extern "C" IL2CPP_METHOD_ATTR void TlsException__ctor_m818940807 (TlsException_t3534743363 * __this, uint8_t ___description0, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.RecordProtocol::ReadStandardRecordBuffer(System.IO.Stream)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* RecordProtocol_ReadStandardRecordBuffer_m3738063864 (RecordProtocol_t3759049701 * __this, Stream_t1273022909 * ___record0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Context::ChangeProtocol(System.Int16)
extern "C" IL2CPP_METHOD_ATTR void Context_ChangeProtocol_m2412635871 (Context_t3971234707 * __this, int16_t ___protocol0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.RecordProtocol::ProcessCipherSpecV2Buffer(Mono.Security.Protocol.Tls.SecurityProtocolType,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void RecordProtocol_ProcessCipherSpecV2Buffer_m487045483 (RecordProtocol_t3759049701 * __this, int32_t ___protocol0, ByteU5BU5D_t4116647657* ___buffer1, const RuntimeMethod* method);
// System.Boolean Mono.Security.Protocol.Tls.Context::get_ProtocolNegotiated()
extern "C" IL2CPP_METHOD_ATTR bool Context_get_ProtocolNegotiated_m4220412840 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.TlsException::.ctor(Mono.Security.Protocol.Tls.AlertLevel,Mono.Security.Protocol.Tls.AlertDescription)
extern "C" IL2CPP_METHOD_ATTR void TlsException__ctor_m596254082 (TlsException_t3534743363 * __this, uint8_t ___level0, uint8_t ___description1, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Context::set_ReceivedConnectionEnd(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Context_set_ReceivedConnectionEnd_m911334662 (Context_t3971234707 * __this, bool ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Alert::.ctor(Mono.Security.Protocol.Tls.AlertDescription)
extern "C" IL2CPP_METHOD_ATTR void Alert__ctor_m3135936936 (Alert_t4059934885 * __this, uint8_t ___description0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.RecordProtocol::SendAlert(Mono.Security.Protocol.Tls.Alert)
extern "C" IL2CPP_METHOD_ATTR void RecordProtocol_SendAlert_m3736432480 (RecordProtocol_t3759049701 * __this, Alert_t4059934885 * ___alert0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Alert::.ctor(Mono.Security.Protocol.Tls.AlertLevel,Mono.Security.Protocol.Tls.AlertDescription)
extern "C" IL2CPP_METHOD_ATTR void Alert__ctor_m2879739792 (Alert_t4059934885 * __this, uint8_t ___level0, uint8_t ___description1, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.AlertLevel Mono.Security.Protocol.Tls.Alert::get_Level()
extern "C" IL2CPP_METHOD_ATTR uint8_t Alert_get_Level_m4249630350 (Alert_t4059934885 * __this, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.AlertDescription Mono.Security.Protocol.Tls.Alert::get_Description()
extern "C" IL2CPP_METHOD_ATTR uint8_t Alert_get_Description_m3833114036 (Alert_t4059934885 * __this, const RuntimeMethod* method);
// System.Boolean Mono.Security.Protocol.Tls.Alert::get_IsCloseNotify()
extern "C" IL2CPP_METHOD_ATTR bool Alert_get_IsCloseNotify_m3157384796 (Alert_t4059934885 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.RecordProtocol::SendRecord(Mono.Security.Protocol.Tls.ContentType,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void RecordProtocol_SendRecord_m927045752 (RecordProtocol_t3759049701 * __this, uint8_t ___contentType0, ByteU5BU5D_t4116647657* ___recordData1, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Context::set_SentConnectionEnd(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Context_set_SentConnectionEnd_m1367645582 (Context_t3971234707 * __this, bool ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Context::set_WriteSequenceNumber(System.UInt64)
extern "C" IL2CPP_METHOD_ATTR void Context_set_WriteSequenceNumber_m942577065 (Context_t3971234707 * __this, uint64_t ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.RecordProtocol/SendRecordAsyncResult::.ctor(System.AsyncCallback,System.Object,Mono.Security.Protocol.Tls.Handshake.HandshakeMessage)
extern "C" IL2CPP_METHOD_ATTR void SendRecordAsyncResult__ctor_m425551707 (SendRecordAsyncResult_t3718352467 * __this, AsyncCallback_t3962456242 * ___userCallback0, RuntimeObject * ___userState1, HandshakeMessage_t3696583168 * ___message2, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.ContentType Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::get_ContentType()
extern "C" IL2CPP_METHOD_ATTR uint8_t HandshakeMessage_get_ContentType_m1693718190 (HandshakeMessage_t3696583168 * __this, const RuntimeMethod* method);
// System.IAsyncResult Mono.Security.Protocol.Tls.RecordProtocol::BeginSendRecord(Mono.Security.Protocol.Tls.ContentType,System.Byte[],System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* RecordProtocol_BeginSendRecord_m3926976520 (RecordProtocol_t3759049701 * __this, uint8_t ___contentType0, ByteU5BU5D_t4116647657* ___recordData1, AsyncCallback_t3962456242 * ___callback2, RuntimeObject * ___state3, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.Handshake.HandshakeMessage Mono.Security.Protocol.Tls.RecordProtocol/SendRecordAsyncResult::get_Message()
extern "C" IL2CPP_METHOD_ATTR HandshakeMessage_t3696583168 * SendRecordAsyncResult_get_Message_m1204240861 (SendRecordAsyncResult_t3718352467 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.RecordProtocol/SendRecordAsyncResult::SetComplete()
extern "C" IL2CPP_METHOD_ATTR void SendRecordAsyncResult_SetComplete_m170417386 (SendRecordAsyncResult_t3718352467 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.RecordProtocol/SendRecordAsyncResult::SetComplete(System.Exception)
extern "C" IL2CPP_METHOD_ATTR void SendRecordAsyncResult_SetComplete_m153213906 (SendRecordAsyncResult_t3718352467 * __this, Exception_t * ___ex0, const RuntimeMethod* method);
// System.Boolean Mono.Security.Protocol.Tls.Context::get_SentConnectionEnd()
extern "C" IL2CPP_METHOD_ATTR bool Context_get_SentConnectionEnd_m963812869 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.RecordProtocol::EncodeRecord(Mono.Security.Protocol.Tls.ContentType,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* RecordProtocol_EncodeRecord_m164201598 (RecordProtocol_t3759049701 * __this, uint8_t ___contentType0, ByteU5BU5D_t4116647657* ___recordData1, const RuntimeMethod* method);
// System.Boolean Mono.Security.Protocol.Tls.RecordProtocol/SendRecordAsyncResult::get_IsCompleted()
extern "C" IL2CPP_METHOD_ATTR bool SendRecordAsyncResult_get_IsCompleted_m3929307031 (SendRecordAsyncResult_t3718352467 * __this, const RuntimeMethod* method);
// System.Threading.WaitHandle Mono.Security.Protocol.Tls.RecordProtocol/SendRecordAsyncResult::get_AsyncWaitHandle()
extern "C" IL2CPP_METHOD_ATTR WaitHandle_t1743403487 * SendRecordAsyncResult_get_AsyncWaitHandle_m1466641472 (SendRecordAsyncResult_t3718352467 * __this, const RuntimeMethod* method);
// System.Boolean Mono.Security.Protocol.Tls.RecordProtocol/SendRecordAsyncResult::get_CompletedWithError()
extern "C" IL2CPP_METHOD_ATTR bool SendRecordAsyncResult_get_CompletedWithError_m3232037803 (SendRecordAsyncResult_t3718352467 * __this, const RuntimeMethod* method);
// System.Exception Mono.Security.Protocol.Tls.RecordProtocol/SendRecordAsyncResult::get_AsyncException()
extern "C" IL2CPP_METHOD_ATTR Exception_t * SendRecordAsyncResult_get_AsyncException_m3556917569 (SendRecordAsyncResult_t3718352467 * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.RecordProtocol::EncodeRecord(Mono.Security.Protocol.Tls.ContentType,System.Byte[],System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* RecordProtocol_EncodeRecord_m3312835762 (RecordProtocol_t3759049701 * __this, uint8_t ___contentType0, ByteU5BU5D_t4116647657* ___recordData1, int32_t ___offset2, int32_t ___count3, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.RecordProtocol::encryptRecordFragment(Mono.Security.Protocol.Tls.ContentType,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* RecordProtocol_encryptRecordFragment_m710101985 (RecordProtocol_t3759049701 * __this, uint8_t ___contentType0, ByteU5BU5D_t4116647657* ___fragment1, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.CipherSuite::EncryptRecord(System.Byte[],System.Byte[])
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* CipherSuite_EncryptRecord_m4196378593 (CipherSuite_t3414744575 * __this, ByteU5BU5D_t4116647657* ___fragment0, ByteU5BU5D_t4116647657* ___mac1, const RuntimeMethod* method);
// System.UInt64 Mono.Security.Protocol.Tls.Context::get_WriteSequenceNumber()
extern "C" IL2CPP_METHOD_ATTR uint64_t Context_get_WriteSequenceNumber_m1115956887 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.CipherSuite::DecryptRecord(System.Byte[],System.Byte[]&,System.Byte[]&)
extern "C" IL2CPP_METHOD_ATTR void CipherSuite_DecryptRecord_m1495386860 (CipherSuite_t3414744575 * __this, ByteU5BU5D_t4116647657* ___fragment0, ByteU5BU5D_t4116647657** ___dcrFragment1, ByteU5BU5D_t4116647657** ___dcrMAC2, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.RecordProtocol Mono.Security.Protocol.Tls.Context::get_RecordProtocol()
extern "C" IL2CPP_METHOD_ATTR RecordProtocol_t3759049701 * Context_get_RecordProtocol_m2261754827 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.RecordProtocol::SendAlert(Mono.Security.Protocol.Tls.AlertDescription)
extern "C" IL2CPP_METHOD_ATTR void RecordProtocol_SendAlert_m1931708341 (RecordProtocol_t3759049701 * __this, uint8_t ___description0, const RuntimeMethod* method);
// System.Boolean Mono.Security.Protocol.Tls.RecordProtocol::Compare(System.Byte[],System.Byte[])
extern "C" IL2CPP_METHOD_ATTR bool RecordProtocol_Compare_m4182754688 (RecordProtocol_t3759049701 * __this, ByteU5BU5D_t4116647657* ___array10, ByteU5BU5D_t4116647657* ___array21, const RuntimeMethod* method);
// System.UInt64 Mono.Security.Protocol.Tls.Context::get_ReadSequenceNumber()
extern "C" IL2CPP_METHOD_ATTR uint64_t Context_get_ReadSequenceNumber_m3883329199 (Context_t3971234707 * __this, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.CipherSuite Mono.Security.Protocol.Tls.RecordProtocol::MapV2CipherCode(System.String,System.Int32)
extern "C" IL2CPP_METHOD_ATTR CipherSuite_t3414744575 * RecordProtocol_MapV2CipherCode_m4087331414 (RecordProtocol_t3759049701 * __this, String_t* ___prefix0, int32_t ___code1, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.CipherSuite Mono.Security.Protocol.Tls.CipherSuiteCollection::get_Item(System.String)
extern "C" IL2CPP_METHOD_ATTR CipherSuite_t3414744575 * CipherSuiteCollection_get_Item_m2791953484 (CipherSuiteCollection_t1129639304 * __this, String_t* ___name0, const RuntimeMethod* method);
// System.IAsyncResult System.AsyncCallback::BeginInvoke(System.IAsyncResult,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* AsyncCallback_BeginInvoke_m2710486612 (AsyncCallback_t3962456242 * __this, RuntimeObject* p0, AsyncCallback_t3962456242 * p1, RuntimeObject * p2, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::SetComplete(System.Exception,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void ReceiveRecordAsyncResult_SetComplete_m1372905673 (ReceiveRecordAsyncResult_t3680907657 * __this, Exception_t * ___ex0, ByteU5BU5D_t4116647657* ___resultingBuffer1, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.CipherSuite::.ctor(System.Int16,System.String,Mono.Security.Protocol.Tls.CipherAlgorithmType,Mono.Security.Protocol.Tls.HashAlgorithmType,Mono.Security.Protocol.Tls.ExchangeAlgorithmType,System.Boolean,System.Boolean,System.Byte,System.Byte,System.Int16,System.Byte,System.Byte)
extern "C" IL2CPP_METHOD_ATTR void CipherSuite__ctor_m2440635082 (CipherSuite_t3414744575 * __this, int16_t ___code0, String_t* ___name1, int32_t ___cipherAlgorithmType2, int32_t ___hashAlgorithmType3, int32_t ___exchangeAlgorithmType4, bool ___exportable5, bool ___blockMode6, uint8_t ___keyMaterialSize7, uint8_t ___expandedKeyMaterialSize8, int16_t ___effectiveKeyBits9, uint8_t ___ivSize10, uint8_t ___blockSize11, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.Context Mono.Security.Protocol.Tls.CipherSuite::get_Context()
extern "C" IL2CPP_METHOD_ATTR Context_t3971234707 * CipherSuite_get_Context_m1621551997 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.CipherSuite::Write(System.Byte[],System.Int32,System.UInt64)
extern "C" IL2CPP_METHOD_ATTR void CipherSuite_Write_m1841735015 (CipherSuite_t3414744575 * __this, ByteU5BU5D_t4116647657* ___array0, int32_t ___offset1, uint64_t ___value2, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.CipherSuite::Write(System.Byte[],System.Int32,System.Int16)
extern "C" IL2CPP_METHOD_ATTR void CipherSuite_Write_m1172814058 (CipherSuite_t3414744575 * __this, ByteU5BU5D_t4116647657* ___array0, int32_t ___offset1, int16_t ___value2, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.SslCipherSuite::prf(System.Byte[],System.String,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* SslCipherSuite_prf_m922878400 (SslCipherSuite_t1981645747 * __this, ByteU5BU5D_t4116647657* ___secret0, String_t* ___label1, ByteU5BU5D_t4116647657* ___random2, const RuntimeMethod* method);
// System.String System.Char::ToString()
extern "C" IL2CPP_METHOD_ATTR String_t* Char_ToString_m3588025615 (Il2CppChar* __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.Context::get_RandomSC()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* Context_get_RandomSC_m1891758699 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.Int32 Mono.Security.Protocol.Tls.CipherSuite::get_KeyBlockSize()
extern "C" IL2CPP_METHOD_ATTR int32_t CipherSuite_get_KeyBlockSize_m519075451 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.SecurityParameters::set_ClientWriteMAC(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void SecurityParameters_set_ClientWriteMAC_m2984527188 (SecurityParameters_t2199972650 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.SecurityParameters::set_ServerWriteMAC(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void SecurityParameters_set_ServerWriteMAC_m3003817350 (SecurityParameters_t2199972650 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method);
// System.Byte Mono.Security.Protocol.Tls.CipherSuite::get_KeyMaterialSize()
extern "C" IL2CPP_METHOD_ATTR uint8_t CipherSuite_get_KeyMaterialSize_m3569550689 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Context::set_ClientWriteKey(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void Context_set_ClientWriteKey_m1601425248 (Context_t3971234707 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Context::set_ServerWriteKey(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void Context_set_ServerWriteKey_m3347272648 (Context_t3971234707 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method);
// System.Boolean Mono.Security.Protocol.Tls.CipherSuite::get_IsExportable()
extern "C" IL2CPP_METHOD_ATTR bool CipherSuite_get_IsExportable_m677202963 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method);
// System.Byte Mono.Security.Protocol.Tls.CipherSuite::get_IvSize()
extern "C" IL2CPP_METHOD_ATTR uint8_t CipherSuite_get_IvSize_m630778063 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Context::set_ClientWriteIV(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void Context_set_ClientWriteIV_m3405909624 (Context_t3971234707 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.Context::set_ServerWriteIV(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void Context_set_ServerWriteIV_m1007123427 (Context_t3971234707 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method);
// System.Byte Mono.Security.Protocol.Tls.CipherSuite::get_ExpandedKeyMaterialSize()
extern "C" IL2CPP_METHOD_ATTR uint8_t CipherSuite_get_ExpandedKeyMaterialSize_m197590106 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method);
// System.Boolean Mono.Security.Protocol.Tls.ClientSessionCache::SetContextInCache(Mono.Security.Protocol.Tls.Context)
extern "C" IL2CPP_METHOD_ATTR bool ClientSessionCache_SetContextInCache_m2875733100 (RuntimeObject * __this /* static, unused */, Context_t3971234707 * ___context0, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.X509Certificates.X509CertificateCollection::.ctor(System.Security.Cryptography.X509Certificates.X509Certificate[])
extern "C" IL2CPP_METHOD_ATTR void X509CertificateCollection__ctor_m3178797723 (X509CertificateCollection_t3399372417 * __this, X509CertificateU5BU5D_t3145106755* p0, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.X509Certificates.X509CertificateCollection::.ctor()
extern "C" IL2CPP_METHOD_ATTR void X509CertificateCollection__ctor_m147081211 (X509CertificateCollection_t3399372417 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.SslStreamBase::.ctor(System.IO.Stream,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void SslStreamBase__ctor_m3009266308 (SslStreamBase_t1667413407 * __this, Stream_t1273022909 * ___stream0, bool ___ownsStream1, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.ClientContext::.ctor(Mono.Security.Protocol.Tls.SslClientStream,Mono.Security.Protocol.Tls.SecurityProtocolType,System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection)
extern "C" IL2CPP_METHOD_ATTR void ClientContext__ctor_m3993227749 (ClientContext_t2797401965 * __this, SslClientStream_t3914624661 * ___stream0, int32_t ___securityProtocolType1, String_t* ___targetHost2, X509CertificateCollection_t3399372417 * ___clientCertificates3, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.ClientRecordProtocol::.ctor(System.IO.Stream,Mono.Security.Protocol.Tls.ClientContext)
extern "C" IL2CPP_METHOD_ATTR void ClientRecordProtocol__ctor_m2839844778 (ClientRecordProtocol_t2031137796 * __this, Stream_t1273022909 * ___innerStream0, ClientContext_t2797401965 * ___context1, const RuntimeMethod* method);
// System.Delegate System.Delegate::Combine(System.Delegate,System.Delegate)
extern "C" IL2CPP_METHOD_ATTR Delegate_t1188392813 * Delegate_Combine_m1859655160 (RuntimeObject * __this /* static, unused */, Delegate_t1188392813 * p0, Delegate_t1188392813 * p1, const RuntimeMethod* method);
// System.Delegate System.Delegate::Remove(System.Delegate,System.Delegate)
extern "C" IL2CPP_METHOD_ATTR Delegate_t1188392813 * Delegate_Remove_m334097152 (RuntimeObject * __this /* static, unused */, Delegate_t1188392813 * p0, Delegate_t1188392813 * p1, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.SslStreamBase::Dispose(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void SslStreamBase_Dispose_m3190415328 (SslStreamBase_t1667413407 * __this, bool ___disposing0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.SslStreamBase::Finalize()
extern "C" IL2CPP_METHOD_ATTR void SslStreamBase_Finalize_m3260913635 (SslStreamBase_t1667413407 * __this, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.Alert Mono.Security.Protocol.Tls.TlsException::get_Alert()
extern "C" IL2CPP_METHOD_ATTR Alert_t4059934885 * TlsException_get_Alert_m1206526559 (TlsException_t3534743363 * __this, const RuntimeMethod* method);
// System.Void System.IO.IOException::.ctor(System.String,System.Exception)
extern "C" IL2CPP_METHOD_ATTR void IOException__ctor_m3246761956 (IOException_t4088381929 * __this, String_t* p0, Exception_t * p1, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Tls.RecordProtocol::ReceiveRecord(System.IO.Stream)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* RecordProtocol_ReceiveRecord_m3797641756 (RecordProtocol_t3759049701 * __this, Stream_t1273022909 * ___record0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.SslClientStream::SafeReceiveRecord(System.IO.Stream)
extern "C" IL2CPP_METHOD_ATTR void SslClientStream_SafeReceiveRecord_m2217679740 (SslClientStream_t3914624661 * __this, Stream_t1273022909 * ___s0, const RuntimeMethod* method);
// System.Boolean Mono.Security.Protocol.Tls.Context::get_AbbreviatedHandshake()
extern "C" IL2CPP_METHOD_ATTR bool Context_get_AbbreviatedHandshake_m3907920227 (Context_t3971234707 * __this, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.Handshake.HandshakeType Mono.Security.Protocol.Tls.Context::get_LastHandshakeMsg()
extern "C" IL2CPP_METHOD_ATTR uint8_t Context_get_LastHandshakeMsg_m2730646725 (Context_t3971234707 * __this, const RuntimeMethod* method);
// System.Boolean Mono.Security.Protocol.Tls.ClientSessionCache::SetContextFromCache(Mono.Security.Protocol.Tls.Context)
extern "C" IL2CPP_METHOD_ATTR bool ClientSessionCache_SetContextFromCache_m3781380849 (RuntimeObject * __this /* static, unused */, Context_t3971234707 * ___context0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.CipherSuite::InitializeCipher()
extern "C" IL2CPP_METHOD_ATTR void CipherSuite_InitializeCipher_m2397698608 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Tls.RecordProtocol::SendChangeCipherSpec()
extern "C" IL2CPP_METHOD_ATTR void RecordProtocol_SendChangeCipherSpec_m464005157 (RecordProtocol_t3759049701 * __this, const RuntimeMethod* method);
// System.Boolean Mono.Security.Protocol.Tls.TlsServerSettings::get_CertificateRequest()
extern "C" IL2CPP_METHOD_ATTR bool TlsServerSettings_get_CertificateRequest_m842655670 (TlsServerSettings_t4144396432 * __this, const RuntimeMethod* method);
// System.Boolean Mono.Security.Protocol.Tls.SslStreamBase::RaiseRemoteCertificateValidation(System.Security.Cryptography.X509Certificates.X509Certificate,System.Int32[])
extern "C" IL2CPP_METHOD_ATTR bool SslStreamBase_RaiseRemoteCertificateValidation_m944390272 (SslStreamBase_t1667413407 * __this, X509Certificate_t713131622 * ___certificate0, Int32U5BU5D_t385246372* ___errors1, const RuntimeMethod* method);
// Mono.Security.Protocol.Tls.ValidationResult Mono.Security.Protocol.Tls.SslStreamBase::RaiseRemoteCertificateValidation2(Mono.Security.X509.X509CertificateCollection)
extern "C" IL2CPP_METHOD_ATTR ValidationResult_t3834298736 * SslStreamBase_RaiseRemoteCertificateValidation2_m2908038766 (SslStreamBase_t1667413407 * __this, X509CertificateCollection_t1542168550 * ___collection0, const RuntimeMethod* method);
// System.Security.Cryptography.X509Certificates.X509Certificate Mono.Security.Protocol.Tls.SslStreamBase::RaiseLocalCertificateSelection(System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Cryptography.X509Certificates.X509Certificate,System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection)
extern "C" IL2CPP_METHOD_ATTR X509Certificate_t713131622 * SslStreamBase_RaiseLocalCertificateSelection_m980106471 (SslStreamBase_t1667413407 * __this, X509CertificateCollection_t3399372417 * ___certificates0, X509Certificate_t713131622 * ___remoteCertificate1, String_t* ___targetHost2, X509CertificateCollection_t3399372417 * ___requestedCertificates3, const RuntimeMethod* method);
// System.Security.Cryptography.AsymmetricAlgorithm Mono.Security.Protocol.Tls.SslStreamBase::RaiseLocalPrivateKeySelection(System.Security.Cryptography.X509Certificates.X509Certificate,System.String)
extern "C" IL2CPP_METHOD_ATTR AsymmetricAlgorithm_t932037087 * SslStreamBase_RaiseLocalPrivateKeySelection_m4112368540 (SslStreamBase_t1667413407 * __this, X509Certificate_t713131622 * ___certificate0, String_t* ___targetHost1, const RuntimeMethod* method);
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.String Locale::GetText(System.String)
extern "C" IL2CPP_METHOD_ATTR String_t* Locale_GetText_m3520169047 (RuntimeObject * __this /* static, unused */, String_t* ___msg0, const RuntimeMethod* method)
{
{
String_t* L_0 = ___msg0;
return L_0;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Math.BigInteger::.ctor(Mono.Math.BigInteger/Sign,System.UInt32)
extern "C" IL2CPP_METHOD_ATTR void BigInteger__ctor_m3473491062 (BigInteger_t2902905090 * __this, int32_t ___sign0, uint32_t ___len1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger__ctor_m3473491062_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
__this->set_length_0(1);
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
uint32_t L_0 = ___len1;
UInt32U5BU5D_t2770800703* L_1 = (UInt32U5BU5D_t2770800703*)SZArrayNew(UInt32U5BU5D_t2770800703_il2cpp_TypeInfo_var, (uint32_t)(((uintptr_t)L_0)));
__this->set_data_1(L_1);
uint32_t L_2 = ___len1;
__this->set_length_0(L_2);
return;
}
}
// System.Void Mono.Math.BigInteger::.ctor(Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR void BigInteger__ctor_m2108826647 (BigInteger_t2902905090 * __this, BigInteger_t2902905090 * ___bi0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger__ctor_m2108826647_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
__this->set_length_0(1);
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_0 = ___bi0;
UInt32U5BU5D_t2770800703* L_1 = L_0->get_data_1();
RuntimeObject * L_2 = Array_Clone_m2672907798((RuntimeArray *)(RuntimeArray *)L_1, /*hidden argument*/NULL);
__this->set_data_1(((UInt32U5BU5D_t2770800703*)Castclass((RuntimeObject*)L_2, UInt32U5BU5D_t2770800703_il2cpp_TypeInfo_var)));
BigInteger_t2902905090 * 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 "C" IL2CPP_METHOD_ATTR void BigInteger__ctor_m2644482640 (BigInteger_t2902905090 * __this, BigInteger_t2902905090 * ___bi0, uint32_t ___len1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger__ctor_m2644482640_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
uint32_t V_0 = 0;
{
__this->set_length_0(1);
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
uint32_t L_0 = ___len1;
UInt32U5BU5D_t2770800703* L_1 = (UInt32U5BU5D_t2770800703*)SZArrayNew(UInt32U5BU5D_t2770800703_il2cpp_TypeInfo_var, (uint32_t)(((uintptr_t)L_0)));
__this->set_data_1(L_1);
V_0 = 0;
goto IL_0037;
}
IL_0021:
{
UInt32U5BU5D_t2770800703* L_2 = __this->get_data_1();
uint32_t L_3 = V_0;
BigInteger_t2902905090 * L_4 = ___bi0;
UInt32U5BU5D_t2770800703* L_5 = L_4->get_data_1();
uint32_t L_6 = V_0;
uintptr_t L_7 = (((uintptr_t)L_6));
uint32_t L_8 = (L_5)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7));
(L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>((((uintptr_t)L_3))), (uint32_t)L_8);
uint32_t L_9 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1));
}
IL_0037:
{
uint32_t L_10 = V_0;
BigInteger_t2902905090 * L_11 = ___bi0;
uint32_t L_12 = L_11->get_length_0();
if ((!(((uint32_t)L_10) >= ((uint32_t)L_12))))
{
goto IL_0021;
}
}
{
BigInteger_t2902905090 * L_13 = ___bi0;
uint32_t L_14 = L_13->get_length_0();
__this->set_length_0(L_14);
return;
}
}
// System.Void Mono.Math.BigInteger::.ctor(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void BigInteger__ctor_m2601366464 (BigInteger_t2902905090 * __this, ByteU5BU5D_t4116647657* ___inData0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger__ctor_m2601366464_MetadataUsageId);
s_Il2CppMethodInitialized = 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_m297566312(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_0 = ___inData0;
__this->set_length_0(((int32_t)((uint32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))))>>2)));
ByteU5BU5D_t4116647657* L_1 = ___inData0;
V_0 = ((int32_t)((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)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)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)));
}
IL_0032:
{
uint32_t L_4 = __this->get_length_0();
UInt32U5BU5D_t2770800703* L_5 = (UInt32U5BU5D_t2770800703*)SZArrayNew(UInt32U5BU5D_t2770800703_il2cpp_TypeInfo_var, (uint32_t)(((uintptr_t)L_4)));
__this->set_data_1(L_5);
ByteU5BU5D_t4116647657* L_6 = ___inData0;
V_1 = ((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_6)->max_length)))), (int32_t)1));
V_2 = 0;
goto IL_007e;
}
IL_0051:
{
UInt32U5BU5D_t2770800703* L_7 = __this->get_data_1();
int32_t L_8 = V_2;
ByteU5BU5D_t4116647657* L_9 = ___inData0;
int32_t L_10 = V_1;
int32_t L_11 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_10, (int32_t)3));
uint8_t L_12 = (L_9)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_11));
ByteU5BU5D_t4116647657* L_13 = ___inData0;
int32_t L_14 = V_1;
int32_t L_15 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_14, (int32_t)2));
uint8_t L_16 = (L_13)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_15));
ByteU5BU5D_t4116647657* L_17 = ___inData0;
int32_t L_18 = V_1;
int32_t L_19 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_18, (int32_t)1));
uint8_t L_20 = (L_17)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_19));
ByteU5BU5D_t4116647657* L_21 = ___inData0;
int32_t L_22 = V_1;
int32_t L_23 = L_22;
uint8_t L_24 = (L_21)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_23));
(L_7)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_8), (uint32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_12<<(int32_t)((int32_t)24)))|(int32_t)((int32_t)((int32_t)L_16<<(int32_t)((int32_t)16)))))|(int32_t)((int32_t)((int32_t)L_20<<(int32_t)8))))|(int32_t)L_24)));
int32_t L_25 = V_1;
V_1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_25, (int32_t)4));
int32_t L_26 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1));
}
IL_007e:
{
int32_t L_27 = V_1;
if ((((int32_t)L_27) >= ((int32_t)3)))
{
goto IL_0051;
}
}
{
int32_t L_28 = V_0;
V_3 = L_28;
int32_t L_29 = V_3;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)1)))
{
case 0:
{
goto IL_00a0;
}
case 1:
{
goto IL_00b8;
}
case 2:
{
goto IL_00d6;
}
}
}
{
goto IL_00fb;
}
IL_00a0:
{
UInt32U5BU5D_t2770800703* L_30 = __this->get_data_1();
uint32_t L_31 = __this->get_length_0();
ByteU5BU5D_t4116647657* L_32 = ___inData0;
int32_t L_33 = 0;
uint8_t L_34 = (L_32)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_33));
(L_30)->SetAtUnchecked(static_cast<il2cpp_array_size_t>((((uintptr_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_31, (int32_t)1))))), (uint32_t)L_34);
goto IL_00fb;
}
IL_00b8:
{
UInt32U5BU5D_t2770800703* L_35 = __this->get_data_1();
uint32_t L_36 = __this->get_length_0();
ByteU5BU5D_t4116647657* L_37 = ___inData0;
int32_t L_38 = 0;
uint8_t L_39 = (L_37)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_38));
ByteU5BU5D_t4116647657* L_40 = ___inData0;
int32_t L_41 = 1;
uint8_t L_42 = (L_40)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_41));
(L_35)->SetAtUnchecked(static_cast<il2cpp_array_size_t>((((uintptr_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_36, (int32_t)1))))), (uint32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_39<<(int32_t)8))|(int32_t)L_42)));
goto IL_00fb;
}
IL_00d6:
{
UInt32U5BU5D_t2770800703* L_43 = __this->get_data_1();
uint32_t L_44 = __this->get_length_0();
ByteU5BU5D_t4116647657* L_45 = ___inData0;
int32_t L_46 = 0;
uint8_t L_47 = (L_45)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_46));
ByteU5BU5D_t4116647657* L_48 = ___inData0;
int32_t L_49 = 1;
uint8_t L_50 = (L_48)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_49));
ByteU5BU5D_t4116647657* L_51 = ___inData0;
int32_t L_52 = 2;
uint8_t L_53 = (L_51)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_52));
(L_43)->SetAtUnchecked(static_cast<il2cpp_array_size_t>((((uintptr_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_44, (int32_t)1))))), (uint32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_47<<(int32_t)((int32_t)16)))|(int32_t)((int32_t)((int32_t)L_50<<(int32_t)8))))|(int32_t)L_53)));
goto IL_00fb;
}
IL_00fb:
{
BigInteger_Normalize_m3021106862(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Math.BigInteger::.ctor(System.UInt32)
extern "C" IL2CPP_METHOD_ATTR void BigInteger__ctor_m2474659844 (BigInteger_t2902905090 * __this, uint32_t ___ui0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger__ctor_m2474659844_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
__this->set_length_0(1);
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
UInt32U5BU5D_t2770800703* L_0 = (UInt32U5BU5D_t2770800703*)SZArrayNew(UInt32U5BU5D_t2770800703_il2cpp_TypeInfo_var, (uint32_t)1);
UInt32U5BU5D_t2770800703* L_1 = L_0;
uint32_t L_2 = ___ui0;
(L_1)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (uint32_t)L_2);
__this->set_data_1(L_1);
return;
}
}
// System.Void Mono.Math.BigInteger::.cctor()
extern "C" IL2CPP_METHOD_ATTR void BigInteger__cctor_m102257529 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger__cctor_m102257529_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
UInt32U5BU5D_t2770800703* L_0 = (UInt32U5BU5D_t2770800703*)SZArrayNew(UInt32U5BU5D_t2770800703_il2cpp_TypeInfo_var, (uint32_t)((int32_t)783));
UInt32U5BU5D_t2770800703* L_1 = L_0;
RuntimeFieldHandle_t1871169219 L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t3057255363____U24U24fieldU2D0_0_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m3117905507(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
((BigInteger_t2902905090_StaticFields*)il2cpp_codegen_static_fields_for(BigInteger_t2902905090_il2cpp_TypeInfo_var))->set_smallPrimes_2(L_1);
return;
}
}
// System.Security.Cryptography.RandomNumberGenerator Mono.Math.BigInteger::get_Rng()
extern "C" IL2CPP_METHOD_ATTR RandomNumberGenerator_t386037858 * BigInteger_get_Rng_m3283260184 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_get_Rng_m3283260184_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
RandomNumberGenerator_t386037858 * L_0 = ((BigInteger_t2902905090_StaticFields*)il2cpp_codegen_static_fields_for(BigInteger_t2902905090_il2cpp_TypeInfo_var))->get_rng_3();
if (L_0)
{
goto IL_0014;
}
}
{
RandomNumberGenerator_t386037858 * L_1 = RandomNumberGenerator_Create_m4162970280(NULL /*static, unused*/, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
((BigInteger_t2902905090_StaticFields*)il2cpp_codegen_static_fields_for(BigInteger_t2902905090_il2cpp_TypeInfo_var))->set_rng_3(L_1);
}
IL_0014:
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
RandomNumberGenerator_t386037858 * L_2 = ((BigInteger_t2902905090_StaticFields*)il2cpp_codegen_static_fields_for(BigInteger_t2902905090_il2cpp_TypeInfo_var))->get_rng_3();
return L_2;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::GenerateRandom(System.Int32,System.Security.Cryptography.RandomNumberGenerator)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * BigInteger_GenerateRandom_m3872771375 (RuntimeObject * __this /* static, unused */, int32_t ___bits0, RandomNumberGenerator_t386037858 * ___rng1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_GenerateRandom_m3872771375_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
BigInteger_t2902905090 * V_2 = NULL;
ByteU5BU5D_t4116647657* 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)il2cpp_codegen_add((int32_t)L_3, (int32_t)1));
}
IL_0013:
{
int32_t L_4 = V_0;
BigInteger_t2902905090 * L_5 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m3473491062(L_5, 1, ((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)), /*hidden argument*/NULL);
V_2 = L_5;
int32_t L_6 = V_0;
ByteU5BU5D_t4116647657* L_7 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)L_6<<(int32_t)2)));
V_3 = L_7;
RandomNumberGenerator_t386037858 * L_8 = ___rng1;
ByteU5BU5D_t4116647657* L_9 = V_3;
VirtActionInvoker1< ByteU5BU5D_t4116647657* >::Invoke(4 /* System.Void System.Security.Cryptography.RandomNumberGenerator::GetBytes(System.Byte[]) */, L_8, L_9);
ByteU5BU5D_t4116647657* L_10 = V_3;
BigInteger_t2902905090 * L_11 = V_2;
UInt32U5BU5D_t2770800703* L_12 = L_11->get_data_1();
int32_t L_13 = V_0;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_10, 0, (RuntimeArray *)(RuntimeArray *)L_12, 0, ((int32_t)((int32_t)L_13<<(int32_t)2)), /*hidden argument*/NULL);
int32_t L_14 = V_1;
if (!L_14)
{
goto IL_0086;
}
}
{
int32_t L_15 = V_1;
V_4 = ((int32_t)((int32_t)1<<(int32_t)((int32_t)((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)1))&(int32_t)((int32_t)31)))));
BigInteger_t2902905090 * L_16 = V_2;
UInt32U5BU5D_t2770800703* L_17 = L_16->get_data_1();
int32_t L_18 = V_0;
uint32_t* L_19 = ((L_17)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract((int32_t)L_18, (int32_t)1)))));
uint32_t L_20 = V_4;
*((int32_t*)(L_19)) = (int32_t)((int32_t)((int32_t)(*((uint32_t*)L_19))|(int32_t)L_20));
int32_t L_21 = V_1;
V_4 = ((int32_t)((uint32_t)(-1)>>((int32_t)((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)32), (int32_t)L_21))&(int32_t)((int32_t)31)))));
BigInteger_t2902905090 * L_22 = V_2;
UInt32U5BU5D_t2770800703* L_23 = L_22->get_data_1();
int32_t L_24 = V_0;
uint32_t* L_25 = ((L_23)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract((int32_t)L_24, (int32_t)1)))));
uint32_t L_26 = V_4;
*((int32_t*)(L_25)) = (int32_t)((int32_t)((int32_t)(*((uint32_t*)L_25))&(int32_t)L_26));
goto IL_009d;
}
IL_0086:
{
BigInteger_t2902905090 * L_27 = V_2;
UInt32U5BU5D_t2770800703* L_28 = L_27->get_data_1();
int32_t L_29 = V_0;
uint32_t* L_30 = ((L_28)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)1)))));
*((int32_t*)(L_30)) = (int32_t)((int32_t)((int32_t)(*((uint32_t*)L_30))|(int32_t)((int32_t)-2147483648LL)));
}
IL_009d:
{
BigInteger_t2902905090 * L_31 = V_2;
BigInteger_Normalize_m3021106862(L_31, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_32 = V_2;
return L_32;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::GenerateRandom(System.Int32)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * BigInteger_GenerateRandom_m1790382084 (RuntimeObject * __this /* static, unused */, int32_t ___bits0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_GenerateRandom_m1790382084_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = ___bits0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
RandomNumberGenerator_t386037858 * L_1 = BigInteger_get_Rng_m3283260184(NULL /*static, unused*/, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_2 = BigInteger_GenerateRandom_m3872771375(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.Int32 Mono.Math.BigInteger::BitCount()
extern "C" IL2CPP_METHOD_ATTR int32_t BigInteger_BitCount_m2055977486 (BigInteger_t2902905090 * __this, const RuntimeMethod* method)
{
uint32_t V_0 = 0;
uint32_t V_1 = 0;
uint32_t V_2 = 0;
{
BigInteger_Normalize_m3021106862(__this, /*hidden argument*/NULL);
UInt32U5BU5D_t2770800703* L_0 = __this->get_data_1();
uint32_t L_1 = __this->get_length_0();
uintptr_t L_2 = (((uintptr_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_1, (int32_t)1))));
uint32_t L_3 = (L_0)->GetAtUnchecked(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)il2cpp_codegen_subtract((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)il2cpp_codegen_add((int32_t)L_9, (int32_t)((int32_t)((int32_t)((int32_t)il2cpp_codegen_subtract((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.Int32)
extern "C" IL2CPP_METHOD_ATTR bool BigInteger_TestBit_m2798226118 (BigInteger_t2902905090 * __this, int32_t ___bitNum0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_TestBit_m2798226118_MetadataUsageId);
s_Il2CppMethodInitialized = 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_t1578797820 * L_1 = (IndexOutOfRangeException_t1578797820 *)il2cpp_codegen_object_new(IndexOutOfRangeException_t1578797820_il2cpp_TypeInfo_var);
IndexOutOfRangeException__ctor_m3408750441(L_1, _stringLiteral3202607819, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, BigInteger_TestBit_m2798226118_RuntimeMethod_var);
}
IL_0012:
{
int32_t L_2 = ___bitNum0;
V_0 = ((int32_t)((uint32_t)L_2>>5));
int32_t L_3 = ___bitNum0;
V_1 = (uint8_t)(((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_t2770800703* 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)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7));
uint32_t L_9 = V_2;
UInt32U5BU5D_t2770800703* 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)->GetAtUnchecked(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" IL2CPP_METHOD_ATTR void BigInteger_SetBit_m1387902198 (BigInteger_t2902905090 * __this, uint32_t ___bitNum0, const RuntimeMethod* method)
{
{
uint32_t L_0 = ___bitNum0;
BigInteger_SetBit_m1723423691(__this, L_0, (bool)1, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Math.BigInteger::SetBit(System.UInt32,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void BigInteger_SetBit_m1723423691 (BigInteger_t2902905090 * __this, uint32_t ___bitNum0, bool ___value1, const RuntimeMethod* 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_t2770800703* L_5 = __this->get_data_1();
uint32_t L_6 = V_0;
uint32_t* L_7 = ((L_5)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_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_t2770800703* L_9 = __this->get_data_1();
uint32_t L_10 = V_0;
uint32_t* L_11 = ((L_9)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_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 "C" IL2CPP_METHOD_ATTR int32_t BigInteger_LowestSetBit_m1199244228 (BigInteger_t2902905090 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_LowestSetBit_m1199244228_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_0 = BigInteger_op_Equality_m3872814973(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)il2cpp_codegen_add((int32_t)L_1, (int32_t)1));
}
IL_0019:
{
int32_t L_2 = V_0;
bool L_3 = BigInteger_TestBit_m2798226118(__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 "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* BigInteger_GetBytes_m1259701831 (BigInteger_t2902905090 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_GetBytes_m1259701831_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
ByteU5BU5D_t4116647657* 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_t2902905090_il2cpp_TypeInfo_var);
bool L_0 = BigInteger_op_Equality_m3872814973(NULL /*static, unused*/, __this, 0, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0013;
}
}
{
ByteU5BU5D_t4116647657* L_1 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)1);
return L_1;
}
IL_0013:
{
int32_t L_2 = BigInteger_BitCount_m2055977486(__this, /*hidden argument*/NULL);
V_0 = L_2;
int32_t L_3 = V_0;
V_1 = ((int32_t)((int32_t)L_3>>(int32_t)3));
int32_t L_4 = V_0;
if (!((int32_t)((int32_t)L_4&(int32_t)7)))
{
goto IL_002a;
}
}
{
int32_t L_5 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_002a:
{
int32_t L_6 = V_1;
ByteU5BU5D_t4116647657* L_7 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_6);
V_2 = L_7;
int32_t L_8 = V_1;
V_3 = ((int32_t)((int32_t)L_8&(int32_t)3));
int32_t L_9 = V_3;
if (L_9)
{
goto IL_003d;
}
}
{
V_3 = 4;
}
IL_003d:
{
V_4 = 0;
uint32_t L_10 = __this->get_length_0();
V_5 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_10, (int32_t)1));
goto IL_0096;
}
IL_004f:
{
UInt32U5BU5D_t2770800703* L_11 = __this->get_data_1();
int32_t L_12 = V_5;
int32_t L_13 = L_12;
uint32_t L_14 = (L_11)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_13));
V_6 = L_14;
int32_t L_15 = V_3;
V_7 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)1));
goto IL_0080;
}
IL_0064:
{
ByteU5BU5D_t4116647657* L_16 = V_2;
int32_t L_17 = V_4;
int32_t L_18 = V_7;
uint32_t L_19 = V_6;
(L_16)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)L_18))), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_19&(int32_t)((int32_t)255)))))));
uint32_t L_20 = V_6;
V_6 = ((int32_t)((uint32_t)L_20>>8));
int32_t L_21 = V_7;
V_7 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_21, (int32_t)1));
}
IL_0080:
{
int32_t L_22 = V_7;
if ((((int32_t)L_22) >= ((int32_t)0)))
{
goto IL_0064;
}
}
{
int32_t L_23 = V_4;
int32_t L_24 = V_3;
V_4 = ((int32_t)il2cpp_codegen_add((int32_t)L_23, (int32_t)L_24));
V_3 = 4;
int32_t L_25 = V_5;
V_5 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_25, (int32_t)1));
}
IL_0096:
{
int32_t L_26 = V_5;
if ((((int32_t)L_26) >= ((int32_t)0)))
{
goto IL_004f;
}
}
{
ByteU5BU5D_t4116647657* L_27 = V_2;
return L_27;
}
}
// System.String Mono.Math.BigInteger::ToString(System.UInt32)
extern "C" IL2CPP_METHOD_ATTR String_t* BigInteger_ToString_m3260066955 (BigInteger_t2902905090 * __this, uint32_t ___radix0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_ToString_m3260066955_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
uint32_t L_0 = ___radix0;
String_t* L_1 = BigInteger_ToString_m1181683046(__this, L_0, _stringLiteral1506186219, /*hidden argument*/NULL);
return L_1;
}
}
// System.String Mono.Math.BigInteger::ToString(System.UInt32,System.String)
extern "C" IL2CPP_METHOD_ATTR String_t* BigInteger_ToString_m1181683046 (BigInteger_t2902905090 * __this, uint32_t ___radix0, String_t* ___characterSet1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_ToString_m1181683046_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
BigInteger_t2902905090 * V_1 = NULL;
uint32_t V_2 = 0;
{
String_t* L_0 = ___characterSet1;
int32_t L_1 = String_get_Length_m3847582255(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_t132251570 * L_3 = (ArgumentException_t132251570 *)il2cpp_codegen_object_new(ArgumentException_t132251570_il2cpp_TypeInfo_var);
ArgumentException__ctor_m1216717135(L_3, _stringLiteral907065636, _stringLiteral2188206873, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, BigInteger_ToString_m1181683046_RuntimeMethod_var);
}
IL_001e:
{
uint32_t L_4 = ___radix0;
if ((!(((uint32_t)L_4) == ((uint32_t)1))))
{
goto IL_0035;
}
}
{
ArgumentException_t132251570 * L_5 = (ArgumentException_t132251570 *)il2cpp_codegen_object_new(ArgumentException_t132251570_il2cpp_TypeInfo_var);
ArgumentException__ctor_m1216717135(L_5, _stringLiteral2375729243, _stringLiteral3085174530, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, BigInteger_ToString_m1181683046_RuntimeMethod_var);
}
IL_0035:
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_6 = BigInteger_op_Equality_m3872814973(NULL /*static, unused*/, __this, 0, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_0047;
}
}
{
return _stringLiteral3452614544;
}
IL_0047:
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_7 = BigInteger_op_Equality_m3872814973(NULL /*static, unused*/, __this, 1, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_0059;
}
}
{
return _stringLiteral3452614543;
}
IL_0059:
{
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_8 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_2();
V_0 = L_8;
BigInteger_t2902905090 * L_9 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m2108826647(L_9, __this, /*hidden argument*/NULL);
V_1 = L_9;
goto IL_0086;
}
IL_006b:
{
BigInteger_t2902905090 * L_10 = V_1;
uint32_t L_11 = ___radix0;
uint32_t L_12 = Kernel_SingleByteDivideInPlace_m2393683267(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_m2986988803(L_13, L_14, /*hidden argument*/NULL);
Il2CppChar L_16 = L_15;
RuntimeObject * L_17 = Box(Char_t3634460470_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_m904156431(NULL /*static, unused*/, L_17, L_18, /*hidden argument*/NULL);
V_0 = L_19;
}
IL_0086:
{
BigInteger_t2902905090 * L_20 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_21 = BigInteger_op_Inequality_m3469726044(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" IL2CPP_METHOD_ATTR void BigInteger_Normalize_m3021106862 (BigInteger_t2902905090 * __this, const RuntimeMethod* method)
{
{
goto IL_0013;
}
IL_0005:
{
uint32_t L_0 = __this->get_length_0();
__this->set_length_0(((int32_t)il2cpp_codegen_subtract((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_t2770800703* L_2 = __this->get_data_1();
uint32_t L_3 = __this->get_length_0();
uintptr_t L_4 = (((uintptr_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_3, (int32_t)1))));
uint32_t L_5 = (L_2)->GetAtUnchecked(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)il2cpp_codegen_add((int32_t)L_7, (int32_t)1)));
}
IL_004d:
{
return;
}
}
// System.Void Mono.Math.BigInteger::Clear()
extern "C" IL2CPP_METHOD_ATTR void BigInteger_Clear_m2995574218 (BigInteger_t2902905090 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
V_0 = 0;
goto IL_0014;
}
IL_0007:
{
UInt32U5BU5D_t2770800703* L_0 = __this->get_data_1();
int32_t L_1 = V_0;
(L_0)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_1), (uint32_t)0);
int32_t L_2 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((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" IL2CPP_METHOD_ATTR int32_t BigInteger_GetHashCode_m1594560121 (BigInteger_t2902905090 * __this, const RuntimeMethod* 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_t2770800703* 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)->GetAtUnchecked(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)il2cpp_codegen_add((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" IL2CPP_METHOD_ATTR String_t* BigInteger_ToString_m3927393477 (BigInteger_t2902905090 * __this, const RuntimeMethod* method)
{
{
String_t* L_0 = BigInteger_ToString_m3260066955(__this, ((int32_t)10), /*hidden argument*/NULL);
return L_0;
}
}
// System.Boolean Mono.Math.BigInteger::Equals(System.Object)
extern "C" IL2CPP_METHOD_ATTR bool BigInteger_Equals_m63093403 (BigInteger_t2902905090 * __this, RuntimeObject * ___o0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_Equals_m63093403_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
BigInteger_t2902905090 * V_0 = NULL;
int32_t G_B6_0 = 0;
{
RuntimeObject * L_0 = ___o0;
if (L_0)
{
goto IL_0008;
}
}
{
return (bool)0;
}
IL_0008:
{
RuntimeObject * L_1 = ___o0;
if (!((RuntimeObject *)IsInstSealed((RuntimeObject*)L_1, Int32_t2950945753_il2cpp_TypeInfo_var)))
{
goto IL_002f;
}
}
{
RuntimeObject * L_2 = ___o0;
if ((((int32_t)((*(int32_t*)((int32_t*)UnBox(L_2, Int32_t2950945753_il2cpp_TypeInfo_var))))) < ((int32_t)0)))
{
goto IL_002d;
}
}
{
RuntimeObject * L_3 = ___o0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_4 = BigInteger_op_Equality_m3872814973(NULL /*static, unused*/, __this, ((*(uint32_t*)((uint32_t*)UnBox(L_3, UInt32_t2560061978_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:
{
RuntimeObject * L_5 = ___o0;
V_0 = ((BigInteger_t2902905090 *)IsInstClass((RuntimeObject*)L_5, BigInteger_t2902905090_il2cpp_TypeInfo_var));
BigInteger_t2902905090 * L_6 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_7 = BigInteger_op_Equality_m1194739960(NULL /*static, unused*/, L_6, (BigInteger_t2902905090 *)NULL, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_0044;
}
}
{
return (bool)0;
}
IL_0044:
{
BigInteger_t2902905090 * L_8 = V_0;
int32_t L_9 = Kernel_Compare_m2669603547(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" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * BigInteger_ModInverse_m2426215562 (BigInteger_t2902905090 * __this, BigInteger_t2902905090 * ___modulus0, const RuntimeMethod* method)
{
{
BigInteger_t2902905090 * L_0 = ___modulus0;
BigInteger_t2902905090 * L_1 = Kernel_modInverse_m652700340(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 "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * BigInteger_ModPow_m3776562770 (BigInteger_t2902905090 * __this, BigInteger_t2902905090 * ___exp0, BigInteger_t2902905090 * ___n1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_ModPow_m3776562770_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ModulusRing_t596511505 * V_0 = NULL;
{
BigInteger_t2902905090 * L_0 = ___n1;
ModulusRing_t596511505 * L_1 = (ModulusRing_t596511505 *)il2cpp_codegen_object_new(ModulusRing_t596511505_il2cpp_TypeInfo_var);
ModulusRing__ctor_m2420310199(L_1, L_0, /*hidden argument*/NULL);
V_0 = L_1;
ModulusRing_t596511505 * L_2 = V_0;
BigInteger_t2902905090 * L_3 = ___exp0;
BigInteger_t2902905090 * L_4 = ModulusRing_Pow_m1124248336(L_2, __this, L_3, /*hidden argument*/NULL);
return L_4;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::GeneratePseudoPrime(System.Int32)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * BigInteger_GeneratePseudoPrime_m2547138838 (RuntimeObject * __this /* static, unused */, int32_t ___bits0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_GeneratePseudoPrime_m2547138838_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
SequentialSearchPrimeGeneratorBase_t2996090509 * V_0 = NULL;
{
SequentialSearchPrimeGeneratorBase_t2996090509 * L_0 = (SequentialSearchPrimeGeneratorBase_t2996090509 *)il2cpp_codegen_object_new(SequentialSearchPrimeGeneratorBase_t2996090509_il2cpp_TypeInfo_var);
SequentialSearchPrimeGeneratorBase__ctor_m577913576(L_0, /*hidden argument*/NULL);
V_0 = L_0;
SequentialSearchPrimeGeneratorBase_t2996090509 * L_1 = V_0;
int32_t L_2 = ___bits0;
BigInteger_t2902905090 * L_3 = VirtFuncInvoker1< BigInteger_t2902905090 *, 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" IL2CPP_METHOD_ATTR void BigInteger_Incr2_m1531167978 (BigInteger_t2902905090 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
V_0 = 0;
UInt32U5BU5D_t2770800703* L_0 = __this->get_data_1();
uint32_t* L_1 = ((L_0)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(0)));
*((int32_t*)(L_1)) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)(*((uint32_t*)L_1)), (int32_t)2));
UInt32U5BU5D_t2770800703* L_2 = __this->get_data_1();
int32_t L_3 = 0;
uint32_t L_4 = (L_2)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3));
if ((!(((uint32_t)L_4) < ((uint32_t)2))))
{
goto IL_0077;
}
}
{
UInt32U5BU5D_t2770800703* L_5 = __this->get_data_1();
int32_t L_6 = V_0;
int32_t L_7 = ((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1));
V_0 = L_7;
uint32_t* L_8 = ((L_5)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_7)));
*((int32_t*)(L_8)) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)(*((uint32_t*)L_8)), (int32_t)1));
goto IL_004c;
}
IL_003b:
{
UInt32U5BU5D_t2770800703* L_9 = __this->get_data_1();
int32_t L_10 = V_0;
uint32_t* L_11 = ((L_9)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_10)));
*((int32_t*)(L_11)) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)(*((uint32_t*)L_11)), (int32_t)1));
}
IL_004c:
{
UInt32U5BU5D_t2770800703* L_12 = __this->get_data_1();
int32_t L_13 = V_0;
int32_t L_14 = L_13;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1));
int32_t L_15 = L_14;
uint32_t L_16 = (L_12)->GetAtUnchecked(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)il2cpp_codegen_add((int32_t)L_19, (int32_t)1)));
}
IL_0077:
{
return;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Implicit(System.UInt32)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * BigInteger_op_Implicit_m3414367033 (RuntimeObject * __this /* static, unused */, uint32_t ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_op_Implicit_m3414367033_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
uint32_t L_0 = ___value0;
BigInteger_t2902905090 * L_1 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m2474659844(L_1, L_0, /*hidden argument*/NULL);
return L_1;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Implicit(System.Int32)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * BigInteger_op_Implicit_m2547142909 (RuntimeObject * __this /* static, unused */, int32_t ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_op_Implicit_m2547142909_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = ___value0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0012;
}
}
{
ArgumentOutOfRangeException_t777629997 * L_1 = (ArgumentOutOfRangeException_t777629997 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m3628145864(L_1, _stringLiteral3493618073, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, BigInteger_op_Implicit_m2547142909_RuntimeMethod_var);
}
IL_0012:
{
int32_t L_2 = ___value0;
BigInteger_t2902905090 * L_3 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m2474659844(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 "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * BigInteger_op_Addition_m1114527046 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_op_Addition_m1114527046_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
BigInteger_t2902905090 * L_0 = ___bi10;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_1 = BigInteger_op_Equality_m3872814973(NULL /*static, unused*/, L_0, 0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0013;
}
}
{
BigInteger_t2902905090 * L_2 = ___bi21;
BigInteger_t2902905090 * L_3 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m2108826647(L_3, L_2, /*hidden argument*/NULL);
return L_3;
}
IL_0013:
{
BigInteger_t2902905090 * L_4 = ___bi21;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_5 = BigInteger_op_Equality_m3872814973(NULL /*static, unused*/, L_4, 0, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_0026;
}
}
{
BigInteger_t2902905090 * L_6 = ___bi10;
BigInteger_t2902905090 * L_7 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m2108826647(L_7, L_6, /*hidden argument*/NULL);
return L_7;
}
IL_0026:
{
BigInteger_t2902905090 * L_8 = ___bi10;
BigInteger_t2902905090 * L_9 = ___bi21;
BigInteger_t2902905090 * L_10 = Kernel_AddSameSign_m3267067385(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 "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * BigInteger_op_Subtraction_m4245834512 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_op_Subtraction_m4245834512_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
BigInteger_t2902905090 * L_0 = ___bi21;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_1 = BigInteger_op_Equality_m3872814973(NULL /*static, unused*/, L_0, 0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0013;
}
}
{
BigInteger_t2902905090 * L_2 = ___bi10;
BigInteger_t2902905090 * L_3 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m2108826647(L_3, L_2, /*hidden argument*/NULL);
return L_3;
}
IL_0013:
{
BigInteger_t2902905090 * L_4 = ___bi10;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_5 = BigInteger_op_Equality_m3872814973(NULL /*static, unused*/, L_4, 0, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_002a;
}
}
{
ArithmeticException_t4283546778 * L_6 = (ArithmeticException_t4283546778 *)il2cpp_codegen_object_new(ArithmeticException_t4283546778_il2cpp_TypeInfo_var);
ArithmeticException__ctor_m3551809662(L_6, _stringLiteral4059074779, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, BigInteger_op_Subtraction_m4245834512_RuntimeMethod_var);
}
IL_002a:
{
BigInteger_t2902905090 * L_7 = ___bi10;
BigInteger_t2902905090 * L_8 = ___bi21;
int32_t L_9 = Kernel_Compare_m2669603547(NULL /*static, unused*/, L_7, L_8, /*hidden argument*/NULL);
V_0 = L_9;
int32_t L_10 = V_0;
switch (((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1)))
{
case 0:
{
goto IL_005a;
}
case 1:
{
goto IL_004b;
}
case 2:
{
goto IL_0052;
}
}
}
{
goto IL_0065;
}
IL_004b:
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_11 = BigInteger_op_Implicit_m2547142909(NULL /*static, unused*/, 0, /*hidden argument*/NULL);
return L_11;
}
IL_0052:
{
BigInteger_t2902905090 * L_12 = ___bi10;
BigInteger_t2902905090 * L_13 = ___bi21;
BigInteger_t2902905090 * L_14 = Kernel_Subtract_m846005223(NULL /*static, unused*/, L_12, L_13, /*hidden argument*/NULL);
return L_14;
}
IL_005a:
{
ArithmeticException_t4283546778 * L_15 = (ArithmeticException_t4283546778 *)il2cpp_codegen_object_new(ArithmeticException_t4283546778_il2cpp_TypeInfo_var);
ArithmeticException__ctor_m3551809662(L_15, _stringLiteral4059074779, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_15, NULL, BigInteger_op_Subtraction_m4245834512_RuntimeMethod_var);
}
IL_0065:
{
Exception_t * L_16 = (Exception_t *)il2cpp_codegen_object_new(Exception_t_il2cpp_TypeInfo_var);
Exception__ctor_m213470898(L_16, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_16, NULL, BigInteger_op_Subtraction_m4245834512_RuntimeMethod_var);
}
}
// System.UInt32 Mono.Math.BigInteger::op_Modulus(Mono.Math.BigInteger,System.UInt32)
extern "C" IL2CPP_METHOD_ATTR uint32_t BigInteger_op_Modulus_m3242311550 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi0, uint32_t ___ui1, const RuntimeMethod* method)
{
{
BigInteger_t2902905090 * L_0 = ___bi0;
uint32_t L_1 = ___ui1;
uint32_t L_2 = Kernel_DwordMod_m3830036736(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" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * BigInteger_op_Modulus_m2565477533 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method)
{
{
BigInteger_t2902905090 * L_0 = ___bi10;
BigInteger_t2902905090 * L_1 = ___bi21;
BigIntegerU5BU5D_t2349952477* L_2 = Kernel_multiByteDivide_m450694282(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
int32_t L_3 = 1;
BigInteger_t2902905090 * L_4 = (L_2)->GetAtUnchecked(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" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * BigInteger_op_Division_m3713793389 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method)
{
{
BigInteger_t2902905090 * L_0 = ___bi10;
BigInteger_t2902905090 * L_1 = ___bi21;
BigIntegerU5BU5D_t2349952477* L_2 = Kernel_multiByteDivide_m450694282(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
int32_t L_3 = 0;
BigInteger_t2902905090 * L_4 = (L_2)->GetAtUnchecked(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 "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * BigInteger_op_Multiply_m3683746602 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_op_Multiply_m3683746602_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
BigInteger_t2902905090 * V_0 = NULL;
{
BigInteger_t2902905090 * L_0 = ___bi10;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_1 = BigInteger_op_Equality_m3872814973(NULL /*static, unused*/, L_0, 0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0018;
}
}
{
BigInteger_t2902905090 * L_2 = ___bi21;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_3 = BigInteger_op_Equality_m3872814973(NULL /*static, unused*/, L_2, 0, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_001f;
}
}
IL_0018:
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_4 = BigInteger_op_Implicit_m2547142909(NULL /*static, unused*/, 0, /*hidden argument*/NULL);
return L_4;
}
IL_001f:
{
BigInteger_t2902905090 * L_5 = ___bi10;
UInt32U5BU5D_t2770800703* L_6 = L_5->get_data_1();
BigInteger_t2902905090 * L_7 = ___bi10;
uint32_t L_8 = L_7->get_length_0();
if ((((int64_t)(((int64_t)((int64_t)(((int32_t)((int32_t)(((RuntimeArray *)L_6)->max_length)))))))) >= ((int64_t)(((int64_t)((uint64_t)L_8))))))
{
goto IL_003f;
}
}
{
IndexOutOfRangeException_t1578797820 * L_9 = (IndexOutOfRangeException_t1578797820 *)il2cpp_codegen_object_new(IndexOutOfRangeException_t1578797820_il2cpp_TypeInfo_var);
IndexOutOfRangeException__ctor_m3408750441(L_9, _stringLiteral3830216635, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_9, NULL, BigInteger_op_Multiply_m3683746602_RuntimeMethod_var);
}
IL_003f:
{
BigInteger_t2902905090 * L_10 = ___bi21;
UInt32U5BU5D_t2770800703* L_11 = L_10->get_data_1();
BigInteger_t2902905090 * L_12 = ___bi21;
uint32_t L_13 = L_12->get_length_0();
if ((((int64_t)(((int64_t)((int64_t)(((int32_t)((int32_t)(((RuntimeArray *)L_11)->max_length)))))))) >= ((int64_t)(((int64_t)((uint64_t)L_13))))))
{
goto IL_005f;
}
}
{
IndexOutOfRangeException_t1578797820 * L_14 = (IndexOutOfRangeException_t1578797820 *)il2cpp_codegen_object_new(IndexOutOfRangeException_t1578797820_il2cpp_TypeInfo_var);
IndexOutOfRangeException__ctor_m3408750441(L_14, _stringLiteral3016771816, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_14, NULL, BigInteger_op_Multiply_m3683746602_RuntimeMethod_var);
}
IL_005f:
{
BigInteger_t2902905090 * L_15 = ___bi10;
uint32_t L_16 = L_15->get_length_0();
BigInteger_t2902905090 * L_17 = ___bi21;
uint32_t L_18 = L_17->get_length_0();
BigInteger_t2902905090 * L_19 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m3473491062(L_19, 1, ((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)L_18)), /*hidden argument*/NULL);
V_0 = L_19;
BigInteger_t2902905090 * L_20 = ___bi10;
UInt32U5BU5D_t2770800703* L_21 = L_20->get_data_1();
BigInteger_t2902905090 * L_22 = ___bi10;
uint32_t L_23 = L_22->get_length_0();
BigInteger_t2902905090 * L_24 = ___bi21;
UInt32U5BU5D_t2770800703* L_25 = L_24->get_data_1();
BigInteger_t2902905090 * L_26 = ___bi21;
uint32_t L_27 = L_26->get_length_0();
BigInteger_t2902905090 * L_28 = V_0;
UInt32U5BU5D_t2770800703* L_29 = L_28->get_data_1();
Kernel_Multiply_m193213393(NULL /*static, unused*/, L_21, 0, L_23, L_25, 0, L_27, L_29, 0, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_30 = V_0;
BigInteger_Normalize_m3021106862(L_30, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_31 = V_0;
return L_31;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::op_LeftShift(Mono.Math.BigInteger,System.Int32)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * BigInteger_op_LeftShift_m3681213422 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, int32_t ___shiftVal1, const RuntimeMethod* method)
{
{
BigInteger_t2902905090 * L_0 = ___bi10;
int32_t L_1 = ___shiftVal1;
BigInteger_t2902905090 * L_2 = Kernel_LeftShift_m4140742987(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" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * BigInteger_op_RightShift_m460065452 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, int32_t ___shiftVal1, const RuntimeMethod* method)
{
{
BigInteger_t2902905090 * L_0 = ___bi10;
int32_t L_1 = ___shiftVal1;
BigInteger_t2902905090 * L_2 = Kernel_RightShift_m3246168448(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" IL2CPP_METHOD_ATTR bool BigInteger_op_Equality_m3872814973 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, uint32_t ___ui1, const RuntimeMethod* method)
{
int32_t G_B5_0 = 0;
{
BigInteger_t2902905090 * L_0 = ___bi10;
uint32_t L_1 = L_0->get_length_0();
if ((((int32_t)L_1) == ((int32_t)1)))
{
goto IL_0012;
}
}
{
BigInteger_t2902905090 * L_2 = ___bi10;
BigInteger_Normalize_m3021106862(L_2, /*hidden argument*/NULL);
}
IL_0012:
{
BigInteger_t2902905090 * L_3 = ___bi10;
uint32_t L_4 = L_3->get_length_0();
if ((!(((uint32_t)L_4) == ((uint32_t)1))))
{
goto IL_002b;
}
}
{
BigInteger_t2902905090 * L_5 = ___bi10;
UInt32U5BU5D_t2770800703* L_6 = L_5->get_data_1();
int32_t L_7 = 0;
uint32_t L_8 = (L_6)->GetAtUnchecked(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" IL2CPP_METHOD_ATTR bool BigInteger_op_Inequality_m3469726044 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, uint32_t ___ui1, const RuntimeMethod* method)
{
int32_t G_B5_0 = 0;
{
BigInteger_t2902905090 * L_0 = ___bi10;
uint32_t L_1 = L_0->get_length_0();
if ((((int32_t)L_1) == ((int32_t)1)))
{
goto IL_0012;
}
}
{
BigInteger_t2902905090 * L_2 = ___bi10;
BigInteger_Normalize_m3021106862(L_2, /*hidden argument*/NULL);
}
IL_0012:
{
BigInteger_t2902905090 * L_3 = ___bi10;
uint32_t L_4 = L_3->get_length_0();
if ((!(((uint32_t)L_4) == ((uint32_t)1))))
{
goto IL_002b;
}
}
{
BigInteger_t2902905090 * L_5 = ___bi10;
UInt32U5BU5D_t2770800703* L_6 = L_5->get_data_1();
int32_t L_7 = 0;
uint32_t L_8 = (L_6)->GetAtUnchecked(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 "C" IL2CPP_METHOD_ATTR bool BigInteger_op_Equality_m1194739960 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_op_Equality_m1194739960_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
BigInteger_t2902905090 * L_0 = ___bi10;
BigInteger_t2902905090 * L_1 = ___bi21;
if ((!(((RuntimeObject*)(BigInteger_t2902905090 *)L_0) == ((RuntimeObject*)(BigInteger_t2902905090 *)L_1))))
{
goto IL_0009;
}
}
{
return (bool)1;
}
IL_0009:
{
BigInteger_t2902905090 * L_2 = ___bi10;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_3 = BigInteger_op_Equality_m1194739960(NULL /*static, unused*/, (BigInteger_t2902905090 *)NULL, L_2, /*hidden argument*/NULL);
if (L_3)
{
goto IL_0021;
}
}
{
BigInteger_t2902905090 * L_4 = ___bi21;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_5 = BigInteger_op_Equality_m1194739960(NULL /*static, unused*/, (BigInteger_t2902905090 *)NULL, L_4, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_0023;
}
}
IL_0021:
{
return (bool)0;
}
IL_0023:
{
BigInteger_t2902905090 * L_6 = ___bi10;
BigInteger_t2902905090 * L_7 = ___bi21;
int32_t L_8 = Kernel_Compare_m2669603547(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 "C" IL2CPP_METHOD_ATTR bool BigInteger_op_Inequality_m2697143438 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_op_Inequality_m2697143438_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
BigInteger_t2902905090 * L_0 = ___bi10;
BigInteger_t2902905090 * L_1 = ___bi21;
if ((!(((RuntimeObject*)(BigInteger_t2902905090 *)L_0) == ((RuntimeObject*)(BigInteger_t2902905090 *)L_1))))
{
goto IL_0009;
}
}
{
return (bool)0;
}
IL_0009:
{
BigInteger_t2902905090 * L_2 = ___bi10;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_3 = BigInteger_op_Equality_m1194739960(NULL /*static, unused*/, (BigInteger_t2902905090 *)NULL, L_2, /*hidden argument*/NULL);
if (L_3)
{
goto IL_0021;
}
}
{
BigInteger_t2902905090 * L_4 = ___bi21;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_5 = BigInteger_op_Equality_m1194739960(NULL /*static, unused*/, (BigInteger_t2902905090 *)NULL, L_4, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_0023;
}
}
IL_0021:
{
return (bool)1;
}
IL_0023:
{
BigInteger_t2902905090 * L_6 = ___bi10;
BigInteger_t2902905090 * L_7 = ___bi21;
int32_t L_8 = Kernel_Compare_m2669603547(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" IL2CPP_METHOD_ATTR bool BigInteger_op_GreaterThan_m2974122765 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method)
{
{
BigInteger_t2902905090 * L_0 = ___bi10;
BigInteger_t2902905090 * L_1 = ___bi21;
int32_t L_2 = Kernel_Compare_m2669603547(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" IL2CPP_METHOD_ATTR bool BigInteger_op_LessThan_m463398176 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method)
{
{
BigInteger_t2902905090 * L_0 = ___bi10;
BigInteger_t2902905090 * L_1 = ___bi21;
int32_t L_2 = Kernel_Compare_m2669603547(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" IL2CPP_METHOD_ATTR bool BigInteger_op_GreaterThanOrEqual_m3313329514 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method)
{
{
BigInteger_t2902905090 * L_0 = ___bi10;
BigInteger_t2902905090 * L_1 = ___bi21;
int32_t L_2 = Kernel_Compare_m2669603547(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" IL2CPP_METHOD_ATTR bool BigInteger_op_LessThanOrEqual_m3925173639 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method)
{
{
BigInteger_t2902905090 * L_0 = ___bi10;
BigInteger_t2902905090 * L_1 = ___bi21;
int32_t L_2 = Kernel_Compare_m2669603547(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);
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Math.BigInteger Mono.Math.BigInteger/Kernel::AddSameSign(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * Kernel_AddSameSign_m3267067385 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Kernel_AddSameSign_m3267067385_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
UInt32U5BU5D_t2770800703* V_0 = NULL;
UInt32U5BU5D_t2770800703* V_1 = NULL;
uint32_t V_2 = 0;
uint32_t V_3 = 0;
uint32_t V_4 = 0;
BigInteger_t2902905090 * V_5 = NULL;
UInt32U5BU5D_t2770800703* V_6 = NULL;
uint64_t V_7 = 0;
bool V_8 = false;
uint32_t V_9 = 0;
{
V_4 = 0;
BigInteger_t2902905090 * L_0 = ___bi10;
uint32_t L_1 = L_0->get_length_0();
BigInteger_t2902905090 * 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_t2902905090 * L_4 = ___bi21;
UInt32U5BU5D_t2770800703* L_5 = L_4->get_data_1();
V_0 = L_5;
BigInteger_t2902905090 * L_6 = ___bi21;
uint32_t L_7 = L_6->get_length_0();
V_3 = L_7;
BigInteger_t2902905090 * L_8 = ___bi10;
UInt32U5BU5D_t2770800703* L_9 = L_8->get_data_1();
V_1 = L_9;
BigInteger_t2902905090 * L_10 = ___bi10;
uint32_t L_11 = L_10->get_length_0();
V_2 = L_11;
goto IL_0051;
}
IL_0035:
{
BigInteger_t2902905090 * L_12 = ___bi10;
UInt32U5BU5D_t2770800703* L_13 = L_12->get_data_1();
V_0 = L_13;
BigInteger_t2902905090 * L_14 = ___bi10;
uint32_t L_15 = L_14->get_length_0();
V_3 = L_15;
BigInteger_t2902905090 * L_16 = ___bi21;
UInt32U5BU5D_t2770800703* L_17 = L_16->get_data_1();
V_1 = L_17;
BigInteger_t2902905090 * 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_t2902905090 * L_21 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m3473491062(L_21, 1, ((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1)), /*hidden argument*/NULL);
V_5 = L_21;
BigInteger_t2902905090 * L_22 = V_5;
UInt32U5BU5D_t2770800703* L_23 = L_22->get_data_1();
V_6 = L_23;
V_7 = (((int64_t)((int64_t)0)));
}
IL_0069:
{
UInt32U5BU5D_t2770800703* L_24 = V_0;
uint32_t L_25 = V_4;
uintptr_t L_26 = (((uintptr_t)L_25));
uint32_t L_27 = (L_24)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_26));
UInt32U5BU5D_t2770800703* L_28 = V_1;
uint32_t L_29 = V_4;
uintptr_t L_30 = (((uintptr_t)L_29));
uint32_t L_31 = (L_28)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_30));
uint64_t L_32 = V_7;
V_7 = ((int64_t)il2cpp_codegen_add((int64_t)((int64_t)il2cpp_codegen_add((int64_t)(((int64_t)((uint64_t)L_27))), (int64_t)(((int64_t)((uint64_t)L_31))))), (int64_t)L_32));
UInt32U5BU5D_t2770800703* L_33 = V_6;
uint32_t L_34 = V_4;
uint64_t L_35 = V_7;
(L_33)->SetAtUnchecked(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)il2cpp_codegen_add((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_t2770800703* L_44 = V_6;
uint32_t L_45 = V_4;
UInt32U5BU5D_t2770800703* L_46 = V_0;
uint32_t L_47 = V_4;
uintptr_t L_48 = (((uintptr_t)L_47));
uint32_t L_49 = (L_46)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_48));
int32_t L_50 = ((int32_t)il2cpp_codegen_add((int32_t)L_49, (int32_t)1));
V_9 = L_50;
(L_44)->SetAtUnchecked(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)il2cpp_codegen_add((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_t2770800703* L_57 = V_6;
uint32_t L_58 = V_4;
(L_57)->SetAtUnchecked(static_cast<il2cpp_array_size_t>((((uintptr_t)L_58))), (uint32_t)1);
BigInteger_t2902905090 * L_59 = V_5;
uint32_t L_60 = V_4;
int32_t L_61 = ((int32_t)il2cpp_codegen_add((int32_t)L_60, (int32_t)1));
V_4 = L_61;
L_59->set_length_0(L_61);
BigInteger_t2902905090 * 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_t2770800703* L_65 = V_6;
uint32_t L_66 = V_4;
UInt32U5BU5D_t2770800703* L_67 = V_0;
uint32_t L_68 = V_4;
uintptr_t L_69 = (((uintptr_t)L_68));
uint32_t L_70 = (L_67)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_69));
(L_65)->SetAtUnchecked(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)il2cpp_codegen_add((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_t2902905090 * L_74 = V_5;
BigInteger_Normalize_m3021106862(L_74, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_75 = V_5;
return L_75;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger/Kernel::Subtract(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * Kernel_Subtract_m846005223 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___big0, BigInteger_t2902905090 * ___small1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Kernel_Subtract_m846005223_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
BigInteger_t2902905090 * V_0 = NULL;
UInt32U5BU5D_t2770800703* V_1 = NULL;
UInt32U5BU5D_t2770800703* V_2 = NULL;
UInt32U5BU5D_t2770800703* V_3 = NULL;
uint32_t V_4 = 0;
uint32_t V_5 = 0;
uint32_t V_6 = 0;
uint32_t V_7 = 0;
{
BigInteger_t2902905090 * L_0 = ___big0;
uint32_t L_1 = L_0->get_length_0();
BigInteger_t2902905090 * L_2 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m3473491062(L_2, 1, L_1, /*hidden argument*/NULL);
V_0 = L_2;
BigInteger_t2902905090 * L_3 = V_0;
UInt32U5BU5D_t2770800703* L_4 = L_3->get_data_1();
V_1 = L_4;
BigInteger_t2902905090 * L_5 = ___big0;
UInt32U5BU5D_t2770800703* L_6 = L_5->get_data_1();
V_2 = L_6;
BigInteger_t2902905090 * L_7 = ___small1;
UInt32U5BU5D_t2770800703* L_8 = L_7->get_data_1();
V_3 = L_8;
V_4 = 0;
V_5 = 0;
}
IL_0028:
{
UInt32U5BU5D_t2770800703* L_9 = V_3;
uint32_t L_10 = V_4;
uintptr_t L_11 = (((uintptr_t)L_10));
uint32_t L_12 = (L_9)->GetAtUnchecked(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)il2cpp_codegen_add((int32_t)L_13, (int32_t)L_14));
V_6 = L_15;
uint32_t L_16 = V_5;
UInt32U5BU5D_t2770800703* L_17 = V_1;
uint32_t L_18 = V_4;
UInt32U5BU5D_t2770800703* L_19 = V_2;
uint32_t L_20 = V_4;
uintptr_t L_21 = (((uintptr_t)L_20));
uint32_t L_22 = (L_19)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_21));
uint32_t L_23 = V_6;
int32_t L_24 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_22, (int32_t)L_23));
V_7 = L_24;
(L_17)->SetAtUnchecked(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)il2cpp_codegen_add((int32_t)L_27, (int32_t)1));
V_4 = L_28;
BigInteger_t2902905090 * 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_t2902905090 * 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_t2770800703* L_35 = V_1;
uint32_t L_36 = V_4;
UInt32U5BU5D_t2770800703* L_37 = V_2;
uint32_t L_38 = V_4;
uintptr_t L_39 = (((uintptr_t)L_38));
uint32_t L_40 = (L_37)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_39));
(L_35)->SetAtUnchecked(static_cast<il2cpp_array_size_t>((((uintptr_t)L_36))), (uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_40, (int32_t)1)));
UInt32U5BU5D_t2770800703* L_41 = V_2;
uint32_t L_42 = V_4;
uint32_t L_43 = L_42;
V_4 = ((int32_t)il2cpp_codegen_add((int32_t)L_43, (int32_t)1));
uintptr_t L_44 = (((uintptr_t)L_43));
uint32_t L_45 = (L_41)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_44));
if (L_45)
{
goto IL_00b7;
}
}
{
uint32_t L_46 = V_4;
BigInteger_t2902905090 * 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_t2902905090 * 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_t2770800703* L_52 = V_1;
uint32_t L_53 = V_4;
UInt32U5BU5D_t2770800703* L_54 = V_2;
uint32_t L_55 = V_4;
uintptr_t L_56 = (((uintptr_t)L_55));
uint32_t L_57 = (L_54)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_56));
(L_52)->SetAtUnchecked(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)il2cpp_codegen_add((int32_t)L_58, (int32_t)1));
V_4 = L_59;
BigInteger_t2902905090 * 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_t2902905090 * L_62 = V_0;
BigInteger_Normalize_m3021106862(L_62, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_63 = V_0;
return L_63;
}
}
// System.Void Mono.Math.BigInteger/Kernel::MinusEq(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR void Kernel_MinusEq_m2152832554 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___big0, BigInteger_t2902905090 * ___small1, const RuntimeMethod* method)
{
UInt32U5BU5D_t2770800703* V_0 = NULL;
UInt32U5BU5D_t2770800703* V_1 = NULL;
uint32_t V_2 = 0;
uint32_t V_3 = 0;
uint32_t V_4 = 0;
uint32_t V_5 = 0;
{
BigInteger_t2902905090 * L_0 = ___big0;
UInt32U5BU5D_t2770800703* L_1 = L_0->get_data_1();
V_0 = L_1;
BigInteger_t2902905090 * L_2 = ___small1;
UInt32U5BU5D_t2770800703* L_3 = L_2->get_data_1();
V_1 = L_3;
V_2 = 0;
V_3 = 0;
}
IL_0012:
{
UInt32U5BU5D_t2770800703* L_4 = V_1;
uint32_t L_5 = V_2;
uintptr_t L_6 = (((uintptr_t)L_5));
uint32_t L_7 = (L_4)->GetAtUnchecked(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)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9));
V_4 = L_10;
uint32_t L_11 = V_3;
UInt32U5BU5D_t2770800703* L_12 = V_0;
uint32_t L_13 = V_2;
uint32_t* L_14 = ((L_12)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>((((uintptr_t)L_13)))));
uint32_t L_15 = V_4;
int32_t L_16 = ((int32_t)il2cpp_codegen_subtract((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)il2cpp_codegen_add((int32_t)L_19, (int32_t)1));
V_2 = L_20;
BigInteger_t2902905090 * 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_t2902905090 * 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_t2770800703* L_27 = V_0;
uint32_t L_28 = V_2;
uint32_t* L_29 = ((L_27)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>((((uintptr_t)L_28)))));
*((int32_t*)(L_29)) = (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)(*((uint32_t*)L_29)), (int32_t)1));
UInt32U5BU5D_t2770800703* L_30 = V_0;
uint32_t L_31 = V_2;
uint32_t L_32 = L_31;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_32, (int32_t)1));
uintptr_t L_33 = (((uintptr_t)L_32));
uint32_t L_34 = (L_30)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_33));
if (L_34)
{
goto IL_0097;
}
}
{
uint32_t L_35 = V_2;
BigInteger_t2902905090 * 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_t2902905090 * L_38 = ___big0;
BigInteger_t2902905090 * L_39 = L_38;
uint32_t L_40 = L_39->get_length_0();
L_39->set_length_0(((int32_t)il2cpp_codegen_subtract((int32_t)L_40, (int32_t)1)));
}
IL_00aa:
{
BigInteger_t2902905090 * L_41 = ___big0;
uint32_t L_42 = L_41->get_length_0();
if ((!(((uint32_t)L_42) > ((uint32_t)0))))
{
goto IL_00cb;
}
}
{
BigInteger_t2902905090 * L_43 = ___big0;
UInt32U5BU5D_t2770800703* L_44 = L_43->get_data_1();
BigInteger_t2902905090 * L_45 = ___big0;
uint32_t L_46 = L_45->get_length_0();
uintptr_t L_47 = (((uintptr_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_46, (int32_t)1))));
uint32_t L_48 = (L_44)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_47));
if (!L_48)
{
goto IL_009c;
}
}
IL_00cb:
{
BigInteger_t2902905090 * L_49 = ___big0;
uint32_t L_50 = L_49->get_length_0();
if (L_50)
{
goto IL_00e4;
}
}
{
BigInteger_t2902905090 * L_51 = ___big0;
BigInteger_t2902905090 * L_52 = L_51;
uint32_t L_53 = L_52->get_length_0();
L_52->set_length_0(((int32_t)il2cpp_codegen_add((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" IL2CPP_METHOD_ATTR void Kernel_PlusEq_m136676638 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method)
{
UInt32U5BU5D_t2770800703* V_0 = NULL;
UInt32U5BU5D_t2770800703* V_1 = NULL;
uint32_t V_2 = 0;
uint32_t V_3 = 0;
uint32_t V_4 = 0;
bool V_5 = false;
UInt32U5BU5D_t2770800703* 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_t2902905090 * L_0 = ___bi10;
uint32_t L_1 = L_0->get_length_0();
BigInteger_t2902905090 * 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_t2902905090 * L_4 = ___bi21;
UInt32U5BU5D_t2770800703* L_5 = L_4->get_data_1();
V_0 = L_5;
BigInteger_t2902905090 * L_6 = ___bi21;
uint32_t L_7 = L_6->get_length_0();
V_3 = L_7;
BigInteger_t2902905090 * L_8 = ___bi10;
UInt32U5BU5D_t2770800703* L_9 = L_8->get_data_1();
V_1 = L_9;
BigInteger_t2902905090 * L_10 = ___bi10;
uint32_t L_11 = L_10->get_length_0();
V_2 = L_11;
goto IL_0057;
}
IL_003b:
{
BigInteger_t2902905090 * L_12 = ___bi10;
UInt32U5BU5D_t2770800703* L_13 = L_12->get_data_1();
V_0 = L_13;
BigInteger_t2902905090 * L_14 = ___bi10;
uint32_t L_15 = L_14->get_length_0();
V_3 = L_15;
BigInteger_t2902905090 * L_16 = ___bi21;
UInt32U5BU5D_t2770800703* L_17 = L_16->get_data_1();
V_1 = L_17;
BigInteger_t2902905090 * L_18 = ___bi21;
uint32_t L_19 = L_18->get_length_0();
V_2 = L_19;
}
IL_0057:
{
BigInteger_t2902905090 * L_20 = ___bi10;
UInt32U5BU5D_t2770800703* 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_t2770800703* L_23 = V_0;
uint32_t L_24 = V_4;
uintptr_t L_25 = (((uintptr_t)L_24));
uint32_t L_26 = (L_23)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_25));
UInt32U5BU5D_t2770800703* L_27 = V_1;
uint32_t L_28 = V_4;
uintptr_t L_29 = (((uintptr_t)L_28));
uint32_t L_30 = (L_27)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_29));
V_7 = ((int64_t)il2cpp_codegen_add((int64_t)L_22, (int64_t)((int64_t)il2cpp_codegen_add((int64_t)(((int64_t)((uint64_t)L_26))), (int64_t)(((int64_t)((uint64_t)L_30)))))));
UInt32U5BU5D_t2770800703* L_31 = V_6;
uint32_t L_32 = V_4;
uint64_t L_33 = V_7;
(L_31)->SetAtUnchecked(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)il2cpp_codegen_add((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_t2770800703* L_42 = V_6;
uint32_t L_43 = V_4;
UInt32U5BU5D_t2770800703* L_44 = V_0;
uint32_t L_45 = V_4;
uintptr_t L_46 = (((uintptr_t)L_45));
uint32_t L_47 = (L_44)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_46));
int32_t L_48 = ((int32_t)il2cpp_codegen_add((int32_t)L_47, (int32_t)1));
V_9 = L_48;
(L_42)->SetAtUnchecked(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)il2cpp_codegen_add((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_t2770800703* L_55 = V_6;
uint32_t L_56 = V_4;
(L_55)->SetAtUnchecked(static_cast<il2cpp_array_size_t>((((uintptr_t)L_56))), (uint32_t)1);
BigInteger_t2902905090 * L_57 = ___bi10;
uint32_t L_58 = V_4;
int32_t L_59 = ((int32_t)il2cpp_codegen_add((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)il2cpp_codegen_subtract((int32_t)L_62, (int32_t)1))))))
{
goto IL_011c;
}
}
IL_0104:
{
UInt32U5BU5D_t2770800703* L_63 = V_6;
uint32_t L_64 = V_4;
UInt32U5BU5D_t2770800703* L_65 = V_0;
uint32_t L_66 = V_4;
uintptr_t L_67 = (((uintptr_t)L_66));
uint32_t L_68 = (L_65)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_67));
(L_63)->SetAtUnchecked(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)il2cpp_codegen_add((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_t2902905090 * L_72 = ___bi10;
uint32_t L_73 = V_3;
L_72->set_length_0(((int32_t)il2cpp_codegen_add((int32_t)L_73, (int32_t)1)));
BigInteger_t2902905090 * L_74 = ___bi10;
BigInteger_Normalize_m3021106862(L_74, /*hidden argument*/NULL);
return;
}
}
// Mono.Math.BigInteger/Sign Mono.Math.BigInteger/Kernel::Compare(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR int32_t Kernel_Compare_m2669603547 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method)
{
uint32_t V_0 = 0;
uint32_t V_1 = 0;
uint32_t V_2 = 0;
{
BigInteger_t2902905090 * L_0 = ___bi10;
uint32_t L_1 = L_0->get_length_0();
V_0 = L_1;
BigInteger_t2902905090 * 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)il2cpp_codegen_subtract((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_t2902905090 * L_6 = ___bi10;
UInt32U5BU5D_t2770800703* L_7 = L_6->get_data_1();
uint32_t L_8 = V_0;
uintptr_t L_9 = (((uintptr_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_8, (int32_t)1))));
uint32_t L_10 = (L_7)->GetAtUnchecked(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)il2cpp_codegen_subtract((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_t2902905090 * L_13 = ___bi21;
UInt32U5BU5D_t2770800703* L_14 = L_13->get_data_1();
uint32_t L_15 = V_1;
uintptr_t L_16 = (((uintptr_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)1))));
uint32_t L_17 = (L_14)->GetAtUnchecked(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)il2cpp_codegen_subtract((int32_t)L_24, (int32_t)1));
goto IL_007b;
}
IL_0077:
{
uint32_t L_25 = V_2;
V_2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_25, (int32_t)1));
}
IL_007b:
{
uint32_t L_26 = V_2;
if (!L_26)
{
goto IL_0098;
}
}
{
BigInteger_t2902905090 * L_27 = ___bi10;
UInt32U5BU5D_t2770800703* 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)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_30));
BigInteger_t2902905090 * L_32 = ___bi21;
UInt32U5BU5D_t2770800703* 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)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_35));
if ((((int32_t)L_31) == ((int32_t)L_36)))
{
goto IL_0077;
}
}
IL_0098:
{
BigInteger_t2902905090 * L_37 = ___bi10;
UInt32U5BU5D_t2770800703* 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)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_40));
BigInteger_t2902905090 * L_42 = ___bi21;
UInt32U5BU5D_t2770800703* 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)->GetAtUnchecked(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_t2902905090 * L_47 = ___bi10;
UInt32U5BU5D_t2770800703* 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)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_50));
BigInteger_t2902905090 * L_52 = ___bi21;
UInt32U5BU5D_t2770800703* 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)->GetAtUnchecked(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" IL2CPP_METHOD_ATTR uint32_t Kernel_SingleByteDivideInPlace_m2393683267 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___n0, uint32_t ___d1, const RuntimeMethod* method)
{
uint64_t V_0 = 0;
uint32_t V_1 = 0;
{
V_0 = (((int64_t)((int64_t)0)));
BigInteger_t2902905090 * 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_t2902905090 * L_4 = ___n0;
UInt32U5BU5D_t2770800703* 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)->GetAtUnchecked(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_t2902905090 * L_9 = ___n0;
UInt32U5BU5D_t2770800703* 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)->SetAtUnchecked(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)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)1));
if ((!(((uint32_t)L_17) <= ((uint32_t)0))))
{
goto IL_000f;
}
}
{
BigInteger_t2902905090 * L_18 = ___n0;
BigInteger_Normalize_m3021106862(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" IL2CPP_METHOD_ATTR uint32_t Kernel_DwordMod_m3830036736 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___n0, uint32_t ___d1, const RuntimeMethod* method)
{
uint64_t V_0 = 0;
uint32_t V_1 = 0;
{
V_0 = (((int64_t)((int64_t)0)));
BigInteger_t2902905090 * 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_t2902905090 * L_4 = ___n0;
UInt32U5BU5D_t2770800703* 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)->GetAtUnchecked(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)il2cpp_codegen_subtract((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 "C" IL2CPP_METHOD_ATTR BigIntegerU5BU5D_t2349952477* Kernel_DwordDivMod_m1540317819 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___n0, uint32_t ___d1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Kernel_DwordDivMod_m1540317819_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
BigInteger_t2902905090 * V_0 = NULL;
uint64_t V_1 = 0;
uint32_t V_2 = 0;
BigInteger_t2902905090 * V_3 = NULL;
{
BigInteger_t2902905090 * L_0 = ___n0;
uint32_t L_1 = L_0->get_length_0();
BigInteger_t2902905090 * L_2 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m3473491062(L_2, 1, L_1, /*hidden argument*/NULL);
V_0 = L_2;
V_1 = (((int64_t)((int64_t)0)));
BigInteger_t2902905090 * 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_t2902905090 * L_7 = ___n0;
UInt32U5BU5D_t2770800703* 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)->GetAtUnchecked(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_t2902905090 * L_12 = V_0;
UInt32U5BU5D_t2770800703* 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)->SetAtUnchecked(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)il2cpp_codegen_subtract((int32_t)L_20, (int32_t)1));
if ((!(((uint32_t)L_20) <= ((uint32_t)0))))
{
goto IL_001c;
}
}
{
BigInteger_t2902905090 * L_21 = V_0;
BigInteger_Normalize_m3021106862(L_21, /*hidden argument*/NULL);
uint64_t L_22 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_23 = BigInteger_op_Implicit_m3414367033(NULL /*static, unused*/, (((int32_t)((uint32_t)L_22))), /*hidden argument*/NULL);
V_3 = L_23;
BigIntegerU5BU5D_t2349952477* L_24 = (BigIntegerU5BU5D_t2349952477*)SZArrayNew(BigIntegerU5BU5D_t2349952477_il2cpp_TypeInfo_var, (uint32_t)2);
BigIntegerU5BU5D_t2349952477* L_25 = L_24;
BigInteger_t2902905090 * L_26 = V_0;
ArrayElementTypeCheck (L_25, L_26);
(L_25)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (BigInteger_t2902905090 *)L_26);
BigIntegerU5BU5D_t2349952477* L_27 = L_25;
BigInteger_t2902905090 * L_28 = V_3;
ArrayElementTypeCheck (L_27, L_28);
(L_27)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (BigInteger_t2902905090 *)L_28);
return L_27;
}
}
// Mono.Math.BigInteger[] Mono.Math.BigInteger/Kernel::multiByteDivide(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR BigIntegerU5BU5D_t2349952477* Kernel_multiByteDivide_m450694282 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi10, BigInteger_t2902905090 * ___bi21, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Kernel_multiByteDivide_m450694282_MetadataUsageId);
s_Il2CppMethodInitialized = 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_t2902905090 * V_6 = NULL;
BigInteger_t2902905090 * V_7 = NULL;
UInt32U5BU5D_t2770800703* 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_t2349952477* V_22 = NULL;
{
BigInteger_t2902905090 * L_0 = ___bi10;
BigInteger_t2902905090 * L_1 = ___bi21;
int32_t L_2 = Kernel_Compare_m2669603547(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
if ((!(((uint32_t)L_2) == ((uint32_t)(-1)))))
{
goto IL_0026;
}
}
{
BigIntegerU5BU5D_t2349952477* L_3 = (BigIntegerU5BU5D_t2349952477*)SZArrayNew(BigIntegerU5BU5D_t2349952477_il2cpp_TypeInfo_var, (uint32_t)2);
BigIntegerU5BU5D_t2349952477* L_4 = L_3;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_5 = BigInteger_op_Implicit_m2547142909(NULL /*static, unused*/, 0, /*hidden argument*/NULL);
ArrayElementTypeCheck (L_4, L_5);
(L_4)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (BigInteger_t2902905090 *)L_5);
BigIntegerU5BU5D_t2349952477* L_6 = L_4;
BigInteger_t2902905090 * L_7 = ___bi10;
BigInteger_t2902905090 * L_8 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m2108826647(L_8, L_7, /*hidden argument*/NULL);
ArrayElementTypeCheck (L_6, L_8);
(L_6)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (BigInteger_t2902905090 *)L_8);
return L_6;
}
IL_0026:
{
BigInteger_t2902905090 * L_9 = ___bi10;
BigInteger_Normalize_m3021106862(L_9, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_10 = ___bi21;
BigInteger_Normalize_m3021106862(L_10, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_11 = ___bi21;
uint32_t L_12 = L_11->get_length_0();
if ((!(((uint32_t)L_12) == ((uint32_t)1))))
{
goto IL_004d;
}
}
{
BigInteger_t2902905090 * L_13 = ___bi10;
BigInteger_t2902905090 * L_14 = ___bi21;
UInt32U5BU5D_t2770800703* L_15 = L_14->get_data_1();
int32_t L_16 = 0;
uint32_t L_17 = (L_15)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_16));
BigIntegerU5BU5D_t2349952477* L_18 = Kernel_DwordDivMod_m1540317819(NULL /*static, unused*/, L_13, L_17, /*hidden argument*/NULL);
return L_18;
}
IL_004d:
{
BigInteger_t2902905090 * L_19 = ___bi10;
uint32_t L_20 = L_19->get_length_0();
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1));
BigInteger_t2902905090 * L_21 = ___bi21;
uint32_t L_22 = L_21->get_length_0();
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_22, (int32_t)1));
V_2 = ((int32_t)-2147483648LL);
BigInteger_t2902905090 * L_23 = ___bi21;
UInt32U5BU5D_t2770800703* L_24 = L_23->get_data_1();
BigInteger_t2902905090 * L_25 = ___bi21;
uint32_t L_26 = L_25->get_length_0();
uintptr_t L_27 = (((uintptr_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_26, (int32_t)1))));
uint32_t L_28 = (L_24)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_27));
V_3 = L_28;
V_4 = 0;
BigInteger_t2902905090 * L_29 = ___bi10;
uint32_t L_30 = L_29->get_length_0();
BigInteger_t2902905090 * L_31 = ___bi21;
uint32_t L_32 = L_31->get_length_0();
V_5 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_30, (int32_t)L_32));
goto IL_0097;
}
IL_008d:
{
int32_t L_33 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add((int32_t)L_33, (int32_t)1));
uint32_t L_34 = V_2;
V_2 = ((int32_t)((uint32_t)L_34>>1));
}
IL_0097:
{
uint32_t L_35 = V_2;
if (!L_35)
{
goto IL_00a5;
}
}
{
uint32_t L_36 = V_3;
uint32_t L_37 = V_2;
if (!((int32_t)((int32_t)L_36&(int32_t)L_37)))
{
goto IL_008d;
}
}
IL_00a5:
{
BigInteger_t2902905090 * L_38 = ___bi10;
uint32_t L_39 = L_38->get_length_0();
BigInteger_t2902905090 * L_40 = ___bi21;
uint32_t L_41 = L_40->get_length_0();
BigInteger_t2902905090 * L_42 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m3473491062(L_42, 1, ((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_39, (int32_t)L_41)), (int32_t)1)), /*hidden argument*/NULL);
V_6 = L_42;
BigInteger_t2902905090 * L_43 = ___bi10;
int32_t L_44 = V_4;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_45 = BigInteger_op_LeftShift_m3681213422(NULL /*static, unused*/, L_43, L_44, /*hidden argument*/NULL);
V_7 = L_45;
BigInteger_t2902905090 * L_46 = V_7;
UInt32U5BU5D_t2770800703* L_47 = L_46->get_data_1();
V_8 = L_47;
BigInteger_t2902905090 * L_48 = ___bi21;
int32_t L_49 = V_4;
BigInteger_t2902905090 * L_50 = BigInteger_op_LeftShift_m3681213422(NULL /*static, unused*/, L_48, L_49, /*hidden argument*/NULL);
___bi21 = L_50;
uint32_t L_51 = V_0;
BigInteger_t2902905090 * L_52 = ___bi21;
uint32_t L_53 = L_52->get_length_0();
V_9 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_51, (int32_t)L_53));
uint32_t L_54 = V_0;
V_10 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_54, (int32_t)1));
BigInteger_t2902905090 * L_55 = ___bi21;
UInt32U5BU5D_t2770800703* L_56 = L_55->get_data_1();
BigInteger_t2902905090 * L_57 = ___bi21;
uint32_t L_58 = L_57->get_length_0();
uintptr_t L_59 = (((uintptr_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_58, (int32_t)1))));
uint32_t L_60 = (L_56)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_59));
V_11 = L_60;
BigInteger_t2902905090 * L_61 = ___bi21;
UInt32U5BU5D_t2770800703* L_62 = L_61->get_data_1();
BigInteger_t2902905090 * L_63 = ___bi21;
uint32_t L_64 = L_63->get_length_0();
uintptr_t L_65 = (((uintptr_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_64, (int32_t)2))));
uint32_t L_66 = (L_62)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_65));
V_12 = (((int64_t)((uint64_t)L_66)));
goto IL_0270;
}
IL_0112:
{
UInt32U5BU5D_t2770800703* L_67 = V_8;
int32_t L_68 = V_10;
int32_t L_69 = L_68;
uint32_t L_70 = (L_67)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_69));
UInt32U5BU5D_t2770800703* L_71 = V_8;
int32_t L_72 = V_10;
int32_t L_73 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_72, (int32_t)1));
uint32_t L_74 = (L_71)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_73));
V_13 = ((int64_t)il2cpp_codegen_add((int64_t)((int64_t)((int64_t)(((int64_t)((uint64_t)L_70)))<<(int32_t)((int32_t)32))), (int64_t)(((int64_t)((uint64_t)L_74)))));
uint64_t L_75 = V_13;
uint32_t L_76 = V_11;
V_14 = ((int64_t)((uint64_t)(int64_t)L_75/(uint64_t)(int64_t)(((int64_t)((uint64_t)L_76)))));
uint64_t L_77 = V_13;
uint32_t L_78 = V_11;
V_15 = ((int64_t)((uint64_t)(int64_t)L_77%(uint64_t)(int64_t)(((int64_t)((uint64_t)L_78)))));
}
IL_0136:
{
uint64_t L_79 = V_14;
if ((((int64_t)L_79) == ((int64_t)((int64_t)4294967296LL))))
{
goto IL_015e;
}
}
{
uint64_t L_80 = V_14;
uint64_t L_81 = V_12;
uint64_t L_82 = V_15;
UInt32U5BU5D_t2770800703* L_83 = V_8;
int32_t L_84 = V_10;
int32_t L_85 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_84, (int32_t)2));
uint32_t L_86 = (L_83)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_85));
if ((!(((uint64_t)((int64_t)il2cpp_codegen_multiply((int64_t)L_80, (int64_t)L_81))) > ((uint64_t)((int64_t)il2cpp_codegen_add((int64_t)((int64_t)((int64_t)L_82<<(int32_t)((int32_t)32))), (int64_t)(((int64_t)((uint64_t)L_86)))))))))
{
goto IL_0182;
}
}
IL_015e:
{
uint64_t L_87 = V_14;
V_14 = ((int64_t)il2cpp_codegen_subtract((int64_t)L_87, (int64_t)(((int64_t)((int64_t)1)))));
uint64_t L_88 = V_15;
uint32_t L_89 = V_11;
V_15 = ((int64_t)il2cpp_codegen_add((int64_t)L_88, (int64_t)(((int64_t)((uint64_t)L_89)))));
uint64_t L_90 = V_15;
if ((!(((uint64_t)L_90) < ((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_91 = V_10;
int32_t L_92 = V_1;
V_18 = ((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_91, (int32_t)L_92)), (int32_t)1));
V_19 = (((int64_t)((int64_t)0)));
uint64_t L_93 = V_14;
V_20 = (((int32_t)((uint32_t)L_93)));
}
IL_01a0:
{
uint64_t L_94 = V_19;
BigInteger_t2902905090 * L_95 = ___bi21;
UInt32U5BU5D_t2770800703* L_96 = L_95->get_data_1();
uint32_t L_97 = V_17;
uintptr_t L_98 = (((uintptr_t)L_97));
uint32_t L_99 = (L_96)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_98));
uint32_t L_100 = V_20;
V_19 = ((int64_t)il2cpp_codegen_add((int64_t)L_94, (int64_t)((int64_t)il2cpp_codegen_multiply((int64_t)(((int64_t)((uint64_t)L_99))), (int64_t)(((int64_t)((uint64_t)L_100)))))));
UInt32U5BU5D_t2770800703* L_101 = V_8;
int32_t L_102 = V_18;
int32_t L_103 = L_102;
uint32_t L_104 = (L_101)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_103));
V_16 = L_104;
UInt32U5BU5D_t2770800703* L_105 = V_8;
int32_t L_106 = V_18;
uint32_t* L_107 = ((L_105)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_106)));
uint64_t L_108 = V_19;
*((int32_t*)(L_107)) = (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)(*((uint32_t*)L_107)), (int32_t)(((int32_t)((uint32_t)L_108)))));
uint64_t L_109 = V_19;
V_19 = ((int64_t)((uint64_t)L_109>>((int32_t)32)));
UInt32U5BU5D_t2770800703* L_110 = V_8;
int32_t L_111 = V_18;
int32_t L_112 = L_111;
uint32_t L_113 = (L_110)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_112));
uint32_t L_114 = V_16;
if ((!(((uint32_t)L_113) > ((uint32_t)L_114))))
{
goto IL_01e5;
}
}
{
uint64_t L_115 = V_19;
V_19 = ((int64_t)il2cpp_codegen_add((int64_t)L_115, (int64_t)(((int64_t)((int64_t)1)))));
}
IL_01e5:
{
uint32_t L_116 = V_17;
V_17 = ((int32_t)il2cpp_codegen_add((int32_t)L_116, (int32_t)1));
int32_t L_117 = V_18;
V_18 = ((int32_t)il2cpp_codegen_add((int32_t)L_117, (int32_t)1));
uint32_t L_118 = V_17;
int32_t L_119 = V_1;
if ((((int64_t)(((int64_t)((uint64_t)L_118)))) < ((int64_t)(((int64_t)((int64_t)L_119))))))
{
goto IL_01a0;
}
}
{
int32_t L_120 = V_10;
int32_t L_121 = V_1;
V_18 = ((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_120, (int32_t)L_121)), (int32_t)1));
V_17 = 0;
uint64_t L_122 = V_19;
if (!L_122)
{
goto IL_0253;
}
}
{
uint32_t L_123 = V_20;
V_20 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_123, (int32_t)1));
V_21 = (((int64_t)((int64_t)0)));
}
IL_0217:
{
UInt32U5BU5D_t2770800703* L_124 = V_8;
int32_t L_125 = V_18;
int32_t L_126 = L_125;
uint32_t L_127 = (L_124)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_126));
BigInteger_t2902905090 * L_128 = ___bi21;
UInt32U5BU5D_t2770800703* L_129 = L_128->get_data_1();
uint32_t L_130 = V_17;
uintptr_t L_131 = (((uintptr_t)L_130));
uint32_t L_132 = (L_129)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_131));
uint64_t L_133 = V_21;
V_21 = ((int64_t)il2cpp_codegen_add((int64_t)((int64_t)il2cpp_codegen_add((int64_t)(((int64_t)((uint64_t)L_127))), (int64_t)(((int64_t)((uint64_t)L_132))))), (int64_t)L_133));
UInt32U5BU5D_t2770800703* L_134 = V_8;
int32_t L_135 = V_18;
uint64_t L_136 = V_21;
(L_134)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_135), (uint32_t)(((int32_t)((uint32_t)L_136))));
uint64_t L_137 = V_21;
V_21 = ((int64_t)((uint64_t)L_137>>((int32_t)32)));
uint32_t L_138 = V_17;
V_17 = ((int32_t)il2cpp_codegen_add((int32_t)L_138, (int32_t)1));
int32_t L_139 = V_18;
V_18 = ((int32_t)il2cpp_codegen_add((int32_t)L_139, (int32_t)1));
uint32_t L_140 = V_17;
int32_t L_141 = V_1;
if ((((int64_t)(((int64_t)((uint64_t)L_140)))) < ((int64_t)(((int64_t)((int64_t)L_141))))))
{
goto IL_0217;
}
}
IL_0253:
{
BigInteger_t2902905090 * L_142 = V_6;
UInt32U5BU5D_t2770800703* L_143 = L_142->get_data_1();
int32_t L_144 = V_5;
int32_t L_145 = L_144;
V_5 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_145, (int32_t)1));
uint32_t L_146 = V_20;
(L_143)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_145), (uint32_t)L_146);
int32_t L_147 = V_10;
V_10 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_147, (int32_t)1));
int32_t L_148 = V_9;
V_9 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_148, (int32_t)1));
}
IL_0270:
{
int32_t L_149 = V_9;
if ((((int32_t)L_149) > ((int32_t)0)))
{
goto IL_0112;
}
}
{
BigInteger_t2902905090 * L_150 = V_6;
BigInteger_Normalize_m3021106862(L_150, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_151 = V_7;
BigInteger_Normalize_m3021106862(L_151, /*hidden argument*/NULL);
BigIntegerU5BU5D_t2349952477* L_152 = (BigIntegerU5BU5D_t2349952477*)SZArrayNew(BigIntegerU5BU5D_t2349952477_il2cpp_TypeInfo_var, (uint32_t)2);
BigIntegerU5BU5D_t2349952477* L_153 = L_152;
BigInteger_t2902905090 * L_154 = V_6;
ArrayElementTypeCheck (L_153, L_154);
(L_153)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (BigInteger_t2902905090 *)L_154);
BigIntegerU5BU5D_t2349952477* L_155 = L_153;
BigInteger_t2902905090 * L_156 = V_7;
ArrayElementTypeCheck (L_155, L_156);
(L_155)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (BigInteger_t2902905090 *)L_156);
V_22 = L_155;
int32_t L_157 = V_4;
if (!L_157)
{
goto IL_02b1;
}
}
{
BigIntegerU5BU5D_t2349952477* L_158 = V_22;
BigInteger_t2902905090 ** L_159 = ((L_158)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(1)));
BigInteger_t2902905090 * L_160 = *((BigInteger_t2902905090 **)L_159);
int32_t L_161 = V_4;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_162 = BigInteger_op_RightShift_m460065452(NULL /*static, unused*/, L_160, L_161, /*hidden argument*/NULL);
*((RuntimeObject **)(L_159)) = (RuntimeObject *)L_162;
Il2CppCodeGenWriteBarrier((RuntimeObject **)(L_159), (RuntimeObject *)L_162);
}
IL_02b1:
{
BigIntegerU5BU5D_t2349952477* L_163 = V_22;
return L_163;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger/Kernel::LeftShift(Mono.Math.BigInteger,System.Int32)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * Kernel_LeftShift_m4140742987 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi0, int32_t ___n1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Kernel_LeftShift_m4140742987_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
BigInteger_t2902905090 * 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_t2902905090 * L_1 = ___bi0;
BigInteger_t2902905090 * L_2 = ___bi0;
uint32_t L_3 = L_2->get_length_0();
BigInteger_t2902905090 * L_4 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m2644482640(L_4, L_1, ((int32_t)il2cpp_codegen_add((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_t2902905090 * L_7 = ___bi0;
uint32_t L_8 = L_7->get_length_0();
int32_t L_9 = V_0;
BigInteger_t2902905090 * L_10 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m3473491062(L_10, 1, ((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)), (int32_t)L_9)), /*hidden argument*/NULL);
V_1 = L_10;
V_2 = 0;
BigInteger_t2902905090 * 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_t2902905090 * L_14 = ___bi0;
UInt32U5BU5D_t2770800703* 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)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_17));
V_4 = L_18;
BigInteger_t2902905090 * L_19 = V_1;
UInt32U5BU5D_t2770800703* L_20 = L_19->get_data_1();
uint32_t L_21 = V_2;
int32_t L_22 = V_0;
if ((int64_t)(((int64_t)il2cpp_codegen_add((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(), NULL, Kernel_LeftShift_m4140742987_RuntimeMethod_var);
uint32_t L_23 = V_4;
int32_t L_24 = ___n1;
uint32_t L_25 = V_5;
(L_20)->SetAtUnchecked(static_cast<il2cpp_array_size_t>((((intptr_t)((int64_t)il2cpp_codegen_add((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)il2cpp_codegen_subtract((int32_t)((int32_t)32), (int32_t)L_27))&(int32_t)((int32_t)31)))));
uint32_t L_28 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((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_t2902905090 * L_31 = V_1;
UInt32U5BU5D_t2770800703* L_32 = L_31->get_data_1();
uint32_t L_33 = V_2;
int32_t L_34 = V_0;
if ((int64_t)(((int64_t)il2cpp_codegen_add((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(), NULL, Kernel_LeftShift_m4140742987_RuntimeMethod_var);
uint32_t L_35 = V_5;
(L_32)->SetAtUnchecked(static_cast<il2cpp_array_size_t>((((intptr_t)((int64_t)il2cpp_codegen_add((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_t2902905090 * L_36 = V_1;
UInt32U5BU5D_t2770800703* L_37 = L_36->get_data_1();
uint32_t L_38 = V_2;
int32_t L_39 = V_0;
if ((int64_t)(((int64_t)il2cpp_codegen_add((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(), NULL, Kernel_LeftShift_m4140742987_RuntimeMethod_var);
BigInteger_t2902905090 * L_40 = ___bi0;
UInt32U5BU5D_t2770800703* 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)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_43));
(L_37)->SetAtUnchecked(static_cast<il2cpp_array_size_t>((((intptr_t)((int64_t)il2cpp_codegen_add((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)il2cpp_codegen_add((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_t2902905090 * L_48 = V_1;
BigInteger_Normalize_m3021106862(L_48, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_49 = V_1;
return L_49;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger/Kernel::RightShift(Mono.Math.BigInteger,System.Int32)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * Kernel_RightShift_m3246168448 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi0, int32_t ___n1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Kernel_RightShift_m3246168448_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
BigInteger_t2902905090 * 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_t2902905090 * L_1 = ___bi0;
BigInteger_t2902905090 * L_2 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m2108826647(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_t2902905090 * L_5 = ___bi0;
uint32_t L_6 = L_5->get_length_0();
int32_t L_7 = V_0;
BigInteger_t2902905090 * L_8 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m3473491062(L_8, 1, ((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)L_7)), (int32_t)1)), /*hidden argument*/NULL);
V_2 = L_8;
BigInteger_t2902905090 * L_9 = V_2;
UInt32U5BU5D_t2770800703* L_10 = L_9->get_data_1();
V_3 = ((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)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_t2902905090 * L_12 = ___bi0;
UInt32U5BU5D_t2770800703* L_13 = L_12->get_data_1();
uint32_t L_14 = V_3;
int32_t L_15 = V_0;
if ((int64_t)(((int64_t)il2cpp_codegen_add((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(), NULL, Kernel_RightShift_m3246168448_RuntimeMethod_var);
intptr_t L_16 = (((intptr_t)((int64_t)il2cpp_codegen_add((int64_t)(((int64_t)((uint64_t)L_14))), (int64_t)(((int64_t)((int64_t)L_15)))))));
uint32_t L_17 = (L_13)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_16));
V_4 = L_17;
BigInteger_t2902905090 * L_18 = V_2;
UInt32U5BU5D_t2770800703* 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)->SetAtUnchecked(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)il2cpp_codegen_subtract((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)il2cpp_codegen_subtract((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_t2902905090 * L_28 = V_2;
UInt32U5BU5D_t2770800703* L_29 = L_28->get_data_1();
uint32_t L_30 = V_3;
BigInteger_t2902905090 * L_31 = ___bi0;
UInt32U5BU5D_t2770800703* L_32 = L_31->get_data_1();
uint32_t L_33 = V_3;
int32_t L_34 = V_0;
if ((int64_t)(((int64_t)il2cpp_codegen_add((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(), NULL, Kernel_RightShift_m3246168448_RuntimeMethod_var);
intptr_t L_35 = (((intptr_t)((int64_t)il2cpp_codegen_add((int64_t)(((int64_t)((uint64_t)L_33))), (int64_t)(((int64_t)((int64_t)L_34)))))));
uint32_t L_36 = (L_32)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_35));
(L_29)->SetAtUnchecked(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)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)1));
if ((!(((uint32_t)L_38) <= ((uint32_t)0))))
{
goto IL_0083;
}
}
IL_00a4:
{
BigInteger_t2902905090 * L_39 = V_2;
BigInteger_Normalize_m3021106862(L_39, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_40 = V_2;
return L_40;
}
}
// 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" IL2CPP_METHOD_ATTR void Kernel_Multiply_m193213393 (RuntimeObject * __this /* static, unused */, UInt32U5BU5D_t2770800703* ___x0, uint32_t ___xOffset1, uint32_t ___xLen2, UInt32U5BU5D_t2770800703* ___y3, uint32_t ___yOffset4, uint32_t ___yLen5, UInt32U5BU5D_t2770800703* ___d6, uint32_t ___dOffset7, const RuntimeMethod* 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_t2770800703* L_0 = ___x0;
if (!L_0)
{
goto IL_000e;
}
}
{
UInt32U5BU5D_t2770800703* L_1 = ___x0;
if ((((int32_t)((int32_t)(((RuntimeArray *)L_1)->max_length)))))
{
goto IL_0015;
}
}
IL_000e:
{
G_B4_0 = (((uintptr_t)0));
goto IL_001c;
}
IL_0015:
{
UInt32U5BU5D_t2770800703* L_2 = ___x0;
G_B4_0 = ((uintptr_t)(((L_2)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(0)))));
}
IL_001c:
{
V_0 = (uint32_t*)G_B4_0;
UInt32U5BU5D_t2770800703* L_3 = ___y3;
if (!L_3)
{
goto IL_002b;
}
}
{
UInt32U5BU5D_t2770800703* L_4 = ___y3;
if ((((int32_t)((int32_t)(((RuntimeArray *)L_4)->max_length)))))
{
goto IL_0032;
}
}
IL_002b:
{
G_B8_0 = (((uintptr_t)0));
goto IL_0039;
}
IL_0032:
{
UInt32U5BU5D_t2770800703* L_5 = ___y3;
G_B8_0 = ((uintptr_t)(((L_5)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(0)))));
}
IL_0039:
{
V_1 = (uint32_t*)G_B8_0;
UInt32U5BU5D_t2770800703* L_6 = ___d6;
if (!L_6)
{
goto IL_004a;
}
}
{
UInt32U5BU5D_t2770800703* L_7 = ___d6;
if ((((int32_t)((int32_t)(((RuntimeArray *)L_7)->max_length)))))
{
goto IL_0051;
}
}
IL_004a:
{
G_B12_0 = (((uintptr_t)0));
goto IL_0059;
}
IL_0051:
{
UInt32U5BU5D_t2770800703* L_8 = ___d6;
G_B12_0 = ((uintptr_t)(((L_8)->GetAddressAtUnchecked(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*)il2cpp_codegen_add((intptr_t)L_9, (intptr_t)((intptr_t)il2cpp_codegen_multiply((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*)il2cpp_codegen_add((intptr_t)L_11, (intptr_t)((intptr_t)il2cpp_codegen_multiply((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*)il2cpp_codegen_add((intptr_t)L_13, (intptr_t)((intptr_t)il2cpp_codegen_multiply((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*)il2cpp_codegen_add((intptr_t)L_15, (intptr_t)((intptr_t)il2cpp_codegen_multiply((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*)il2cpp_codegen_add((intptr_t)L_17, (intptr_t)((intptr_t)il2cpp_codegen_multiply((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)il2cpp_codegen_add((int64_t)L_22, (int64_t)((int64_t)il2cpp_codegen_add((int64_t)((int64_t)il2cpp_codegen_multiply((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*)il2cpp_codegen_add((intptr_t)L_29, (intptr_t)(((intptr_t)4))));
uint32_t* L_30 = V_9;
V_9 = (uint32_t*)((uint32_t*)il2cpp_codegen_add((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*)il2cpp_codegen_add((intptr_t)L_36, (intptr_t)(((intptr_t)4))));
uint32_t* L_37 = V_7;
V_7 = (uint32_t*)((uint32_t*)il2cpp_codegen_add((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" IL2CPP_METHOD_ATTR void Kernel_MultiplyMod2p32pmod_m451690680 (RuntimeObject * __this /* static, unused */, UInt32U5BU5D_t2770800703* ___x0, int32_t ___xOffset1, int32_t ___xLen2, UInt32U5BU5D_t2770800703* ___y3, int32_t ___yOffest4, int32_t ___yLen5, UInt32U5BU5D_t2770800703* ___d6, int32_t ___dOffset7, int32_t ___mod8, const RuntimeMethod* 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_t2770800703* L_0 = ___x0;
if (!L_0)
{
goto IL_000e;
}
}
{
UInt32U5BU5D_t2770800703* L_1 = ___x0;
if ((((int32_t)((int32_t)(((RuntimeArray *)L_1)->max_length)))))
{
goto IL_0015;
}
}
IL_000e:
{
G_B4_0 = (((uintptr_t)0));
goto IL_001c;
}
IL_0015:
{
UInt32U5BU5D_t2770800703* L_2 = ___x0;
G_B4_0 = ((uintptr_t)(((L_2)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(0)))));
}
IL_001c:
{
V_0 = (uint32_t*)G_B4_0;
UInt32U5BU5D_t2770800703* L_3 = ___y3;
if (!L_3)
{
goto IL_002b;
}
}
{
UInt32U5BU5D_t2770800703* L_4 = ___y3;
if ((((int32_t)((int32_t)(((RuntimeArray *)L_4)->max_length)))))
{
goto IL_0032;
}
}
IL_002b:
{
G_B8_0 = (((uintptr_t)0));
goto IL_0039;
}
IL_0032:
{
UInt32U5BU5D_t2770800703* L_5 = ___y3;
G_B8_0 = ((uintptr_t)(((L_5)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(0)))));
}
IL_0039:
{
V_1 = (uint32_t*)G_B8_0;
UInt32U5BU5D_t2770800703* L_6 = ___d6;
if (!L_6)
{
goto IL_004a;
}
}
{
UInt32U5BU5D_t2770800703* L_7 = ___d6;
if ((((int32_t)((int32_t)(((RuntimeArray *)L_7)->max_length)))))
{
goto IL_0051;
}
}
IL_004a:
{
G_B12_0 = (((uintptr_t)0));
goto IL_0059;
}
IL_0051:
{
UInt32U5BU5D_t2770800703* L_8 = ___d6;
G_B12_0 = ((uintptr_t)(((L_8)->GetAddressAtUnchecked(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*)il2cpp_codegen_add((intptr_t)L_9, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_10, (int32_t)4))));
uint32_t* L_11 = V_3;
int32_t L_12 = ___xLen2;
V_4 = (uint32_t*)((uint32_t*)il2cpp_codegen_add((intptr_t)L_11, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_12, (int32_t)4))));
uint32_t* L_13 = V_1;
int32_t L_14 = ___yOffest4;
V_5 = (uint32_t*)((uint32_t*)il2cpp_codegen_add((intptr_t)L_13, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_14, (int32_t)4))));
uint32_t* L_15 = V_5;
int32_t L_16 = ___yLen5;
V_6 = (uint32_t*)((uint32_t*)il2cpp_codegen_add((intptr_t)L_15, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_16, (int32_t)4))));
uint32_t* L_17 = V_2;
int32_t L_18 = ___dOffset7;
V_7 = (uint32_t*)((uint32_t*)il2cpp_codegen_add((intptr_t)L_17, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_18, (int32_t)4))));
uint32_t* L_19 = V_7;
int32_t L_20 = ___mod8;
V_8 = (uint32_t*)((uint32_t*)il2cpp_codegen_add((intptr_t)L_19, (int32_t)((int32_t)il2cpp_codegen_multiply((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)il2cpp_codegen_add((int64_t)L_24, (int64_t)((int64_t)il2cpp_codegen_add((int64_t)((int64_t)il2cpp_codegen_multiply((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*)il2cpp_codegen_add((intptr_t)L_31, (intptr_t)(((intptr_t)4))));
uint32_t* L_32 = V_10;
V_10 = (uint32_t*)((uint32_t*)il2cpp_codegen_add((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*)il2cpp_codegen_add((intptr_t)L_42, (intptr_t)(((intptr_t)4))));
uint32_t* L_43 = V_7;
V_7 = (uint32_t*)((uint32_t*)il2cpp_codegen_add((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 "C" IL2CPP_METHOD_ATTR uint32_t Kernel_modInverse_m4048046181 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi0, uint32_t ___modulus1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Kernel_modInverse_m4048046181_MetadataUsageId);
s_Il2CppMethodInitialized = 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_t2902905090 * L_1 = ___bi0;
uint32_t L_2 = ___modulus1;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
uint32_t L_3 = BigInteger_op_Modulus_m3242311550(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)il2cpp_codegen_add((int32_t)L_6, (int32_t)((int32_t)il2cpp_codegen_multiply((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)il2cpp_codegen_subtract((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)il2cpp_codegen_add((int32_t)L_16, (int32_t)((int32_t)il2cpp_codegen_multiply((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 "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * Kernel_modInverse_m652700340 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi0, BigInteger_t2902905090 * ___modulus1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Kernel_modInverse_m652700340_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
BigIntegerU5BU5D_t2349952477* V_0 = NULL;
BigIntegerU5BU5D_t2349952477* V_1 = NULL;
BigIntegerU5BU5D_t2349952477* V_2 = NULL;
int32_t V_3 = 0;
BigInteger_t2902905090 * V_4 = NULL;
BigInteger_t2902905090 * V_5 = NULL;
ModulusRing_t596511505 * V_6 = NULL;
BigInteger_t2902905090 * V_7 = NULL;
BigIntegerU5BU5D_t2349952477* V_8 = NULL;
{
BigInteger_t2902905090 * L_0 = ___modulus1;
uint32_t L_1 = L_0->get_length_0();
if ((!(((uint32_t)L_1) == ((uint32_t)1))))
{
goto IL_0020;
}
}
{
BigInteger_t2902905090 * L_2 = ___bi0;
BigInteger_t2902905090 * L_3 = ___modulus1;
UInt32U5BU5D_t2770800703* L_4 = L_3->get_data_1();
int32_t L_5 = 0;
uint32_t L_6 = (L_4)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_5));
uint32_t L_7 = Kernel_modInverse_m4048046181(NULL /*static, unused*/, L_2, L_6, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_8 = BigInteger_op_Implicit_m3414367033(NULL /*static, unused*/, L_7, /*hidden argument*/NULL);
return L_8;
}
IL_0020:
{
BigIntegerU5BU5D_t2349952477* L_9 = (BigIntegerU5BU5D_t2349952477*)SZArrayNew(BigIntegerU5BU5D_t2349952477_il2cpp_TypeInfo_var, (uint32_t)2);
BigIntegerU5BU5D_t2349952477* L_10 = L_9;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_11 = BigInteger_op_Implicit_m2547142909(NULL /*static, unused*/, 0, /*hidden argument*/NULL);
ArrayElementTypeCheck (L_10, L_11);
(L_10)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (BigInteger_t2902905090 *)L_11);
BigIntegerU5BU5D_t2349952477* L_12 = L_10;
BigInteger_t2902905090 * L_13 = BigInteger_op_Implicit_m2547142909(NULL /*static, unused*/, 1, /*hidden argument*/NULL);
ArrayElementTypeCheck (L_12, L_13);
(L_12)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (BigInteger_t2902905090 *)L_13);
V_0 = L_12;
BigIntegerU5BU5D_t2349952477* L_14 = (BigIntegerU5BU5D_t2349952477*)SZArrayNew(BigIntegerU5BU5D_t2349952477_il2cpp_TypeInfo_var, (uint32_t)2);
V_1 = L_14;
BigIntegerU5BU5D_t2349952477* L_15 = (BigIntegerU5BU5D_t2349952477*)SZArrayNew(BigIntegerU5BU5D_t2349952477_il2cpp_TypeInfo_var, (uint32_t)2);
BigIntegerU5BU5D_t2349952477* L_16 = L_15;
BigInteger_t2902905090 * L_17 = BigInteger_op_Implicit_m2547142909(NULL /*static, unused*/, 0, /*hidden argument*/NULL);
ArrayElementTypeCheck (L_16, L_17);
(L_16)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (BigInteger_t2902905090 *)L_17);
BigIntegerU5BU5D_t2349952477* L_18 = L_16;
BigInteger_t2902905090 * L_19 = BigInteger_op_Implicit_m2547142909(NULL /*static, unused*/, 0, /*hidden argument*/NULL);
ArrayElementTypeCheck (L_18, L_19);
(L_18)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (BigInteger_t2902905090 *)L_19);
V_2 = L_18;
V_3 = 0;
BigInteger_t2902905090 * L_20 = ___modulus1;
V_4 = L_20;
BigInteger_t2902905090 * L_21 = ___bi0;
V_5 = L_21;
BigInteger_t2902905090 * L_22 = ___modulus1;
ModulusRing_t596511505 * L_23 = (ModulusRing_t596511505 *)il2cpp_codegen_object_new(ModulusRing_t596511505_il2cpp_TypeInfo_var);
ModulusRing__ctor_m2420310199(L_23, L_22, /*hidden argument*/NULL);
V_6 = L_23;
goto IL_00ca;
}
IL_006e:
{
int32_t L_24 = V_3;
if ((((int32_t)L_24) <= ((int32_t)1)))
{
goto IL_0097;
}
}
{
ModulusRing_t596511505 * L_25 = V_6;
BigIntegerU5BU5D_t2349952477* L_26 = V_0;
int32_t L_27 = 0;
BigInteger_t2902905090 * L_28 = (L_26)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_27));
BigIntegerU5BU5D_t2349952477* L_29 = V_0;
int32_t L_30 = 1;
BigInteger_t2902905090 * L_31 = (L_29)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_30));
BigIntegerU5BU5D_t2349952477* L_32 = V_1;
int32_t L_33 = 0;
BigInteger_t2902905090 * L_34 = (L_32)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_33));
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_35 = BigInteger_op_Multiply_m3683746602(NULL /*static, unused*/, L_31, L_34, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_36 = ModulusRing_Difference_m3686091506(L_25, L_28, L_35, /*hidden argument*/NULL);
V_7 = L_36;
BigIntegerU5BU5D_t2349952477* L_37 = V_0;
BigIntegerU5BU5D_t2349952477* L_38 = V_0;
int32_t L_39 = 1;
BigInteger_t2902905090 * L_40 = (L_38)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_39));
ArrayElementTypeCheck (L_37, L_40);
(L_37)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (BigInteger_t2902905090 *)L_40);
BigIntegerU5BU5D_t2349952477* L_41 = V_0;
BigInteger_t2902905090 * L_42 = V_7;
ArrayElementTypeCheck (L_41, L_42);
(L_41)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (BigInteger_t2902905090 *)L_42);
}
IL_0097:
{
BigInteger_t2902905090 * L_43 = V_4;
BigInteger_t2902905090 * L_44 = V_5;
BigIntegerU5BU5D_t2349952477* L_45 = Kernel_multiByteDivide_m450694282(NULL /*static, unused*/, L_43, L_44, /*hidden argument*/NULL);
V_8 = L_45;
BigIntegerU5BU5D_t2349952477* L_46 = V_1;
BigIntegerU5BU5D_t2349952477* L_47 = V_1;
int32_t L_48 = 1;
BigInteger_t2902905090 * L_49 = (L_47)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_48));
ArrayElementTypeCheck (L_46, L_49);
(L_46)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (BigInteger_t2902905090 *)L_49);
BigIntegerU5BU5D_t2349952477* L_50 = V_1;
BigIntegerU5BU5D_t2349952477* L_51 = V_8;
int32_t L_52 = 0;
BigInteger_t2902905090 * L_53 = (L_51)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_52));
ArrayElementTypeCheck (L_50, L_53);
(L_50)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (BigInteger_t2902905090 *)L_53);
BigIntegerU5BU5D_t2349952477* L_54 = V_2;
BigIntegerU5BU5D_t2349952477* L_55 = V_2;
int32_t L_56 = 1;
BigInteger_t2902905090 * L_57 = (L_55)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_56));
ArrayElementTypeCheck (L_54, L_57);
(L_54)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (BigInteger_t2902905090 *)L_57);
BigIntegerU5BU5D_t2349952477* L_58 = V_2;
BigIntegerU5BU5D_t2349952477* L_59 = V_8;
int32_t L_60 = 1;
BigInteger_t2902905090 * L_61 = (L_59)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_60));
ArrayElementTypeCheck (L_58, L_61);
(L_58)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (BigInteger_t2902905090 *)L_61);
BigInteger_t2902905090 * L_62 = V_5;
V_4 = L_62;
BigIntegerU5BU5D_t2349952477* L_63 = V_8;
int32_t L_64 = 1;
BigInteger_t2902905090 * L_65 = (L_63)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_64));
V_5 = L_65;
int32_t L_66 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_66, (int32_t)1));
}
IL_00ca:
{
BigInteger_t2902905090 * L_67 = V_5;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_68 = BigInteger_op_Inequality_m3469726044(NULL /*static, unused*/, L_67, 0, /*hidden argument*/NULL);
if (L_68)
{
goto IL_006e;
}
}
{
BigIntegerU5BU5D_t2349952477* L_69 = V_2;
int32_t L_70 = 0;
BigInteger_t2902905090 * L_71 = (L_69)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_70));
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_72 = BigInteger_op_Inequality_m3469726044(NULL /*static, unused*/, L_71, 1, /*hidden argument*/NULL);
if (!L_72)
{
goto IL_00f0;
}
}
{
ArithmeticException_t4283546778 * L_73 = (ArithmeticException_t4283546778 *)il2cpp_codegen_object_new(ArithmeticException_t4283546778_il2cpp_TypeInfo_var);
ArithmeticException__ctor_m3551809662(L_73, _stringLiteral3592288577, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_73, NULL, Kernel_modInverse_m652700340_RuntimeMethod_var);
}
IL_00f0:
{
ModulusRing_t596511505 * L_74 = V_6;
BigIntegerU5BU5D_t2349952477* L_75 = V_0;
int32_t L_76 = 0;
BigInteger_t2902905090 * L_77 = (L_75)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_76));
BigIntegerU5BU5D_t2349952477* L_78 = V_0;
int32_t L_79 = 1;
BigInteger_t2902905090 * L_80 = (L_78)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_79));
BigIntegerU5BU5D_t2349952477* L_81 = V_1;
int32_t L_82 = 0;
BigInteger_t2902905090 * L_83 = (L_81)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_82));
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_84 = BigInteger_op_Multiply_m3683746602(NULL /*static, unused*/, L_80, L_83, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_85 = ModulusRing_Difference_m3686091506(L_74, L_77, L_84, /*hidden argument*/NULL);
return L_85;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Math.BigInteger/ModulusRing::.ctor(Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR void ModulusRing__ctor_m2420310199 (ModulusRing_t596511505 * __this, BigInteger_t2902905090 * ___modulus0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ModulusRing__ctor_m2420310199_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
uint32_t V_0 = 0;
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_0 = ___modulus0;
__this->set_mod_0(L_0);
BigInteger_t2902905090 * 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_t2902905090 * L_4 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m3473491062(L_4, 1, ((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)), /*hidden argument*/NULL);
__this->set_constant_1(L_4);
BigInteger_t2902905090 * L_5 = __this->get_constant_1();
UInt32U5BU5D_t2770800703* L_6 = L_5->get_data_1();
uint32_t L_7 = V_0;
(L_6)->SetAtUnchecked(static_cast<il2cpp_array_size_t>((((uintptr_t)L_7))), (uint32_t)1);
BigInteger_t2902905090 * L_8 = __this->get_constant_1();
BigInteger_t2902905090 * L_9 = __this->get_mod_0();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_10 = BigInteger_op_Division_m3713793389(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 "C" IL2CPP_METHOD_ATTR void ModulusRing_BarrettReduction_m3024442734 (ModulusRing_t596511505 * __this, BigInteger_t2902905090 * ___x0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ModulusRing_BarrettReduction_m3024442734_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
BigInteger_t2902905090 * V_0 = NULL;
uint32_t V_1 = 0;
uint32_t V_2 = 0;
uint32_t V_3 = 0;
BigInteger_t2902905090 * V_4 = NULL;
uint32_t V_5 = 0;
BigInteger_t2902905090 * V_6 = NULL;
BigInteger_t2902905090 * V_7 = NULL;
uint32_t G_B7_0 = 0;
{
BigInteger_t2902905090 * L_0 = __this->get_mod_0();
V_0 = L_0;
BigInteger_t2902905090 * 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)il2cpp_codegen_add((int32_t)L_3, (int32_t)1));
uint32_t L_4 = V_1;
V_3 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)1));
BigInteger_t2902905090 * 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_t2902905090 * L_8 = ___x0;
UInt32U5BU5D_t2770800703* L_9 = L_8->get_data_1();
BigInteger_t2902905090 * L_10 = ___x0;
uint32_t L_11 = L_10->get_length_0();
if ((((int64_t)(((int64_t)((int64_t)(((int32_t)((int32_t)(((RuntimeArray *)L_9)->max_length)))))))) >= ((int64_t)(((int64_t)((uint64_t)L_11))))))
{
goto IL_0043;
}
}
{
IndexOutOfRangeException_t1578797820 * L_12 = (IndexOutOfRangeException_t1578797820 *)il2cpp_codegen_object_new(IndexOutOfRangeException_t1578797820_il2cpp_TypeInfo_var);
IndexOutOfRangeException__ctor_m3408750441(L_12, _stringLiteral1441813354, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, NULL, ModulusRing_BarrettReduction_m3024442734_RuntimeMethod_var);
}
IL_0043:
{
BigInteger_t2902905090 * L_13 = ___x0;
uint32_t L_14 = L_13->get_length_0();
uint32_t L_15 = V_3;
BigInteger_t2902905090 * L_16 = __this->get_constant_1();
uint32_t L_17 = L_16->get_length_0();
BigInteger_t2902905090 * L_18 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m3473491062(L_18, 1, ((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_14, (int32_t)L_15)), (int32_t)L_17)), /*hidden argument*/NULL);
V_4 = L_18;
BigInteger_t2902905090 * L_19 = ___x0;
UInt32U5BU5D_t2770800703* L_20 = L_19->get_data_1();
uint32_t L_21 = V_3;
BigInteger_t2902905090 * L_22 = ___x0;
uint32_t L_23 = L_22->get_length_0();
uint32_t L_24 = V_3;
BigInteger_t2902905090 * L_25 = __this->get_constant_1();
UInt32U5BU5D_t2770800703* L_26 = L_25->get_data_1();
BigInteger_t2902905090 * L_27 = __this->get_constant_1();
uint32_t L_28 = L_27->get_length_0();
BigInteger_t2902905090 * L_29 = V_4;
UInt32U5BU5D_t2770800703* L_30 = L_29->get_data_1();
Kernel_Multiply_m193213393(NULL /*static, unused*/, L_20, L_21, ((int32_t)il2cpp_codegen_subtract((int32_t)L_23, (int32_t)L_24)), L_26, 0, L_28, L_30, 0, /*hidden argument*/NULL);
BigInteger_t2902905090 * 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_t2902905090 * 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_t2902905090 * L_37 = ___x0;
uint32_t L_38 = V_5;
L_37->set_length_0(L_38);
BigInteger_t2902905090 * L_39 = ___x0;
BigInteger_Normalize_m3021106862(L_39, /*hidden argument*/NULL);
uint32_t L_40 = V_2;
BigInteger_t2902905090 * L_41 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m3473491062(L_41, 1, L_40, /*hidden argument*/NULL);
V_6 = L_41;
BigInteger_t2902905090 * L_42 = V_4;
UInt32U5BU5D_t2770800703* L_43 = L_42->get_data_1();
uint32_t L_44 = V_2;
BigInteger_t2902905090 * L_45 = V_4;
uint32_t L_46 = L_45->get_length_0();
uint32_t L_47 = V_2;
BigInteger_t2902905090 * L_48 = V_0;
UInt32U5BU5D_t2770800703* L_49 = L_48->get_data_1();
BigInteger_t2902905090 * L_50 = V_0;
uint32_t L_51 = L_50->get_length_0();
BigInteger_t2902905090 * L_52 = V_6;
UInt32U5BU5D_t2770800703* L_53 = L_52->get_data_1();
uint32_t L_54 = V_2;
Kernel_MultiplyMod2p32pmod_m451690680(NULL /*static, unused*/, L_43, L_44, ((int32_t)il2cpp_codegen_subtract((int32_t)L_46, (int32_t)L_47)), L_49, 0, L_51, L_53, 0, L_54, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_55 = V_6;
BigInteger_Normalize_m3021106862(L_55, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_56 = V_6;
BigInteger_t2902905090 * L_57 = ___x0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_58 = BigInteger_op_LessThanOrEqual_m3925173639(NULL /*static, unused*/, L_56, L_57, /*hidden argument*/NULL);
if (!L_58)
{
goto IL_0110;
}
}
{
BigInteger_t2902905090 * L_59 = ___x0;
BigInteger_t2902905090 * L_60 = V_6;
Kernel_MinusEq_m2152832554(NULL /*static, unused*/, L_59, L_60, /*hidden argument*/NULL);
goto IL_0137;
}
IL_0110:
{
uint32_t L_61 = V_2;
BigInteger_t2902905090 * L_62 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m3473491062(L_62, 1, ((int32_t)il2cpp_codegen_add((int32_t)L_61, (int32_t)1)), /*hidden argument*/NULL);
V_7 = L_62;
BigInteger_t2902905090 * L_63 = V_7;
UInt32U5BU5D_t2770800703* L_64 = L_63->get_data_1();
uint32_t L_65 = V_2;
(L_64)->SetAtUnchecked(static_cast<il2cpp_array_size_t>((((uintptr_t)L_65))), (uint32_t)1);
BigInteger_t2902905090 * L_66 = V_7;
BigInteger_t2902905090 * L_67 = V_6;
Kernel_MinusEq_m2152832554(NULL /*static, unused*/, L_66, L_67, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_68 = ___x0;
BigInteger_t2902905090 * L_69 = V_7;
Kernel_PlusEq_m136676638(NULL /*static, unused*/, L_68, L_69, /*hidden argument*/NULL);
}
IL_0137:
{
goto IL_0143;
}
IL_013c:
{
BigInteger_t2902905090 * L_70 = ___x0;
BigInteger_t2902905090 * L_71 = V_0;
Kernel_MinusEq_m2152832554(NULL /*static, unused*/, L_70, L_71, /*hidden argument*/NULL);
}
IL_0143:
{
BigInteger_t2902905090 * L_72 = ___x0;
BigInteger_t2902905090 * L_73 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_74 = BigInteger_op_GreaterThanOrEqual_m3313329514(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 "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * ModulusRing_Multiply_m1975391470 (ModulusRing_t596511505 * __this, BigInteger_t2902905090 * ___a0, BigInteger_t2902905090 * ___b1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ModulusRing_Multiply_m1975391470_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
BigInteger_t2902905090 * V_0 = NULL;
{
BigInteger_t2902905090 * L_0 = ___a0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_1 = BigInteger_op_Equality_m3872814973(NULL /*static, unused*/, L_0, 0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0018;
}
}
{
BigInteger_t2902905090 * L_2 = ___b1;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_3 = BigInteger_op_Equality_m3872814973(NULL /*static, unused*/, L_2, 0, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_001f;
}
}
IL_0018:
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_4 = BigInteger_op_Implicit_m2547142909(NULL /*static, unused*/, 0, /*hidden argument*/NULL);
return L_4;
}
IL_001f:
{
BigInteger_t2902905090 * L_5 = ___a0;
BigInteger_t2902905090 * L_6 = __this->get_mod_0();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_7 = BigInteger_op_GreaterThan_m2974122765(NULL /*static, unused*/, L_5, L_6, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_003e;
}
}
{
BigInteger_t2902905090 * L_8 = ___a0;
BigInteger_t2902905090 * L_9 = __this->get_mod_0();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_10 = BigInteger_op_Modulus_m2565477533(NULL /*static, unused*/, L_8, L_9, /*hidden argument*/NULL);
___a0 = L_10;
}
IL_003e:
{
BigInteger_t2902905090 * L_11 = ___b1;
BigInteger_t2902905090 * L_12 = __this->get_mod_0();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_13 = BigInteger_op_GreaterThan_m2974122765(NULL /*static, unused*/, L_11, L_12, /*hidden argument*/NULL);
if (!L_13)
{
goto IL_005d;
}
}
{
BigInteger_t2902905090 * L_14 = ___b1;
BigInteger_t2902905090 * L_15 = __this->get_mod_0();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_16 = BigInteger_op_Modulus_m2565477533(NULL /*static, unused*/, L_14, L_15, /*hidden argument*/NULL);
___b1 = L_16;
}
IL_005d:
{
BigInteger_t2902905090 * L_17 = ___a0;
BigInteger_t2902905090 * L_18 = ___b1;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_19 = BigInteger_op_Multiply_m3683746602(NULL /*static, unused*/, L_17, L_18, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_20 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m2108826647(L_20, L_19, /*hidden argument*/NULL);
V_0 = L_20;
BigInteger_t2902905090 * L_21 = V_0;
ModulusRing_BarrettReduction_m3024442734(__this, L_21, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_22 = V_0;
return L_22;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger/ModulusRing::Difference(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * ModulusRing_Difference_m3686091506 (ModulusRing_t596511505 * __this, BigInteger_t2902905090 * ___a0, BigInteger_t2902905090 * ___b1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ModulusRing_Difference_m3686091506_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
BigInteger_t2902905090 * V_1 = NULL;
int32_t V_2 = 0;
{
BigInteger_t2902905090 * L_0 = ___a0;
BigInteger_t2902905090 * L_1 = ___b1;
int32_t L_2 = Kernel_Compare_m2669603547(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;
switch (((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)))
{
case 0:
{
goto IL_0037;
}
case 1:
{
goto IL_0023;
}
case 2:
{
goto IL_002a;
}
}
}
{
goto IL_0044;
}
IL_0023:
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_5 = BigInteger_op_Implicit_m2547142909(NULL /*static, unused*/, 0, /*hidden argument*/NULL);
return L_5;
}
IL_002a:
{
BigInteger_t2902905090 * L_6 = ___a0;
BigInteger_t2902905090 * L_7 = ___b1;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_8 = BigInteger_op_Subtraction_m4245834512(NULL /*static, unused*/, L_6, L_7, /*hidden argument*/NULL);
V_1 = L_8;
goto IL_004a;
}
IL_0037:
{
BigInteger_t2902905090 * L_9 = ___b1;
BigInteger_t2902905090 * L_10 = ___a0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_11 = BigInteger_op_Subtraction_m4245834512(NULL /*static, unused*/, L_9, L_10, /*hidden argument*/NULL);
V_1 = L_11;
goto IL_004a;
}
IL_0044:
{
Exception_t * L_12 = (Exception_t *)il2cpp_codegen_object_new(Exception_t_il2cpp_TypeInfo_var);
Exception__ctor_m213470898(L_12, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, NULL, ModulusRing_Difference_m3686091506_RuntimeMethod_var);
}
IL_004a:
{
BigInteger_t2902905090 * L_13 = V_1;
BigInteger_t2902905090 * L_14 = __this->get_mod_0();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_15 = BigInteger_op_GreaterThanOrEqual_m3313329514(NULL /*static, unused*/, L_13, L_14, /*hidden argument*/NULL);
if (!L_15)
{
goto IL_008c;
}
}
{
BigInteger_t2902905090 * L_16 = V_1;
uint32_t L_17 = L_16->get_length_0();
BigInteger_t2902905090 * 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_t2902905090 * L_20 = V_1;
BigInteger_t2902905090 * L_21 = __this->get_mod_0();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_22 = BigInteger_op_Modulus_m2565477533(NULL /*static, unused*/, L_20, L_21, /*hidden argument*/NULL);
V_1 = L_22;
goto IL_008c;
}
IL_0085:
{
BigInteger_t2902905090 * L_23 = V_1;
ModulusRing_BarrettReduction_m3024442734(__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_t2902905090 * L_25 = __this->get_mod_0();
BigInteger_t2902905090 * L_26 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_27 = BigInteger_op_Subtraction_m4245834512(NULL /*static, unused*/, L_25, L_26, /*hidden argument*/NULL);
V_1 = L_27;
}
IL_00a0:
{
BigInteger_t2902905090 * L_28 = V_1;
return L_28;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger/ModulusRing::Pow(Mono.Math.BigInteger,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * ModulusRing_Pow_m1124248336 (ModulusRing_t596511505 * __this, BigInteger_t2902905090 * ___a0, BigInteger_t2902905090 * ___k1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ModulusRing_Pow_m1124248336_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
BigInteger_t2902905090 * V_0 = NULL;
BigInteger_t2902905090 * V_1 = NULL;
int32_t V_2 = 0;
{
BigInteger_t2902905090 * L_0 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m2474659844(L_0, 1, /*hidden argument*/NULL);
V_0 = L_0;
BigInteger_t2902905090 * L_1 = ___k1;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_2 = BigInteger_op_Equality_m3872814973(NULL /*static, unused*/, L_1, 0, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0015;
}
}
{
BigInteger_t2902905090 * L_3 = V_0;
return L_3;
}
IL_0015:
{
BigInteger_t2902905090 * L_4 = ___a0;
V_1 = L_4;
BigInteger_t2902905090 * L_5 = ___k1;
bool L_6 = BigInteger_TestBit_m2798226118(L_5, 0, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_0025;
}
}
{
BigInteger_t2902905090 * L_7 = ___a0;
V_0 = L_7;
}
IL_0025:
{
V_2 = 1;
goto IL_004e;
}
IL_002c:
{
BigInteger_t2902905090 * L_8 = V_1;
BigInteger_t2902905090 * L_9 = V_1;
BigInteger_t2902905090 * L_10 = ModulusRing_Multiply_m1975391470(__this, L_8, L_9, /*hidden argument*/NULL);
V_1 = L_10;
BigInteger_t2902905090 * L_11 = ___k1;
int32_t L_12 = V_2;
bool L_13 = BigInteger_TestBit_m2798226118(L_11, L_12, /*hidden argument*/NULL);
if (!L_13)
{
goto IL_004a;
}
}
{
BigInteger_t2902905090 * L_14 = V_1;
BigInteger_t2902905090 * L_15 = V_0;
BigInteger_t2902905090 * L_16 = ModulusRing_Multiply_m1975391470(__this, L_14, L_15, /*hidden argument*/NULL);
V_0 = L_16;
}
IL_004a:
{
int32_t L_17 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
}
IL_004e:
{
int32_t L_18 = V_2;
BigInteger_t2902905090 * L_19 = ___k1;
int32_t L_20 = BigInteger_BitCount_m2055977486(L_19, /*hidden argument*/NULL);
if ((((int32_t)L_18) < ((int32_t)L_20)))
{
goto IL_002c;
}
}
{
BigInteger_t2902905090 * L_21 = V_0;
return L_21;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger/ModulusRing::Pow(System.UInt32,Mono.Math.BigInteger)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * ModulusRing_Pow_m729002192 (ModulusRing_t596511505 * __this, uint32_t ___b0, BigInteger_t2902905090 * ___exp1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ModulusRing_Pow_m729002192_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
uint32_t L_0 = ___b0;
BigInteger_t2902905090 * L_1 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m2474659844(L_1, L_0, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_2 = ___exp1;
BigInteger_t2902905090 * L_3 = ModulusRing_Pow_m1124248336(__this, L_1, L_2, /*hidden argument*/NULL);
return L_3;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Math.Prime.Generator.PrimeGeneratorBase::.ctor()
extern "C" IL2CPP_METHOD_ATTR void PrimeGeneratorBase__ctor_m2423671149 (PrimeGeneratorBase_t446028867 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
return;
}
}
// Mono.Math.Prime.ConfidenceFactor Mono.Math.Prime.Generator.PrimeGeneratorBase::get_Confidence()
extern "C" IL2CPP_METHOD_ATTR int32_t PrimeGeneratorBase_get_Confidence_m3172213559 (PrimeGeneratorBase_t446028867 * __this, const RuntimeMethod* method)
{
{
return (int32_t)(2);
}
}
// Mono.Math.Prime.PrimalityTest Mono.Math.Prime.Generator.PrimeGeneratorBase::get_PrimalityTest()
extern "C" IL2CPP_METHOD_ATTR PrimalityTest_t1539325944 * PrimeGeneratorBase_get_PrimalityTest_m2487240563 (PrimeGeneratorBase_t446028867 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PrimeGeneratorBase_get_PrimalityTest_m2487240563_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
intptr_t L_0 = (intptr_t)PrimalityTests_RabinMillerTest_m2544317101_RuntimeMethod_var;
PrimalityTest_t1539325944 * L_1 = (PrimalityTest_t1539325944 *)il2cpp_codegen_object_new(PrimalityTest_t1539325944_il2cpp_TypeInfo_var);
PrimalityTest__ctor_m763620166(L_1, NULL, L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Int32 Mono.Math.Prime.Generator.PrimeGeneratorBase::get_TrialDivisionBounds()
extern "C" IL2CPP_METHOD_ATTR int32_t PrimeGeneratorBase_get_TrialDivisionBounds_m1980088695 (PrimeGeneratorBase_t446028867 * __this, const RuntimeMethod* method)
{
{
return ((int32_t)4000);
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Math.Prime.Generator.SequentialSearchPrimeGeneratorBase::.ctor()
extern "C" IL2CPP_METHOD_ATTR void SequentialSearchPrimeGeneratorBase__ctor_m577913576 (SequentialSearchPrimeGeneratorBase_t2996090509 * __this, const RuntimeMethod* method)
{
{
PrimeGeneratorBase__ctor_m2423671149(__this, /*hidden argument*/NULL);
return;
}
}
// Mono.Math.BigInteger Mono.Math.Prime.Generator.SequentialSearchPrimeGeneratorBase::GenerateSearchBase(System.Int32,System.Object)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * SequentialSearchPrimeGeneratorBase_GenerateSearchBase_m1918143664 (SequentialSearchPrimeGeneratorBase_t2996090509 * __this, int32_t ___bits0, RuntimeObject * ___context1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SequentialSearchPrimeGeneratorBase_GenerateSearchBase_m1918143664_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
BigInteger_t2902905090 * V_0 = NULL;
{
int32_t L_0 = ___bits0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_1 = BigInteger_GenerateRandom_m1790382084(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
V_0 = L_1;
BigInteger_t2902905090 * L_2 = V_0;
BigInteger_SetBit_m1387902198(L_2, 0, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_3 = V_0;
return L_3;
}
}
// Mono.Math.BigInteger Mono.Math.Prime.Generator.SequentialSearchPrimeGeneratorBase::GenerateNewPrime(System.Int32)
extern "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * SequentialSearchPrimeGeneratorBase_GenerateNewPrime_m907640859 (SequentialSearchPrimeGeneratorBase_t2996090509 * __this, int32_t ___bits0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___bits0;
BigInteger_t2902905090 * L_1 = VirtFuncInvoker2< BigInteger_t2902905090 *, int32_t, RuntimeObject * >::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 "C" IL2CPP_METHOD_ATTR BigInteger_t2902905090 * SequentialSearchPrimeGeneratorBase_GenerateNewPrime_m2891860459 (SequentialSearchPrimeGeneratorBase_t2996090509 * __this, int32_t ___bits0, RuntimeObject * ___context1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SequentialSearchPrimeGeneratorBase_GenerateNewPrime_m2891860459_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
BigInteger_t2902905090 * V_0 = NULL;
uint32_t V_1 = 0;
uint32_t V_2 = 0;
int32_t V_3 = 0;
UInt32U5BU5D_t2770800703* V_4 = NULL;
int32_t V_5 = 0;
{
int32_t L_0 = ___bits0;
RuntimeObject * L_1 = ___context1;
BigInteger_t2902905090 * L_2 = VirtFuncInvoker2< BigInteger_t2902905090 *, int32_t, RuntimeObject * >::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_t2902905090 * L_3 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
uint32_t L_4 = BigInteger_op_Modulus_m3242311550(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_t2770800703* L_6 = ((BigInteger_t2902905090_StaticFields*)il2cpp_codegen_static_fields_for(BigInteger_t2902905090_il2cpp_TypeInfo_var))->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_t2902905090 * L_16 = V_0;
UInt32U5BU5D_t2770800703* L_17 = V_4;
int32_t L_18 = V_5;
int32_t L_19 = L_18;
uint32_t L_20 = (L_17)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_19));
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
uint32_t L_21 = BigInteger_op_Modulus_m3242311550(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)il2cpp_codegen_add((int32_t)L_22, (int32_t)1));
}
IL_00c2:
{
int32_t L_23 = V_5;
UInt32U5BU5D_t2770800703* L_24 = V_4;
if ((((int32_t)L_23) >= ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_24)->max_length)))))))
{
goto IL_00da;
}
}
{
UInt32U5BU5D_t2770800703* L_25 = V_4;
int32_t L_26 = V_5;
int32_t L_27 = L_26;
uint32_t L_28 = (L_25)->GetAtUnchecked(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_t2902905090 * L_30 = V_0;
RuntimeObject * L_31 = ___context1;
bool L_32 = VirtFuncInvoker2< bool, BigInteger_t2902905090 *, RuntimeObject * >::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_t1539325944 * L_33 = VirtFuncInvoker0< PrimalityTest_t1539325944 * >::Invoke(5 /* Mono.Math.Prime.PrimalityTest Mono.Math.Prime.Generator.PrimeGeneratorBase::get_PrimalityTest() */, __this);
BigInteger_t2902905090 * 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_m2948246884(L_33, L_34, L_35, /*hidden argument*/NULL);
if (!L_36)
{
goto IL_0105;
}
}
{
BigInteger_t2902905090 * L_37 = V_0;
return L_37;
}
IL_0105:
{
uint32_t L_38 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((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)il2cpp_codegen_subtract((int32_t)L_40, (int32_t)((int32_t)-1060120681)));
}
IL_011c:
{
BigInteger_t2902905090 * L_41 = V_0;
BigInteger_Incr2_m1531167978(L_41, /*hidden argument*/NULL);
goto IL_0023;
}
}
// System.Boolean Mono.Math.Prime.Generator.SequentialSearchPrimeGeneratorBase::IsPrimeAcceptable(Mono.Math.BigInteger,System.Object)
extern "C" IL2CPP_METHOD_ATTR bool SequentialSearchPrimeGeneratorBase_IsPrimeAcceptable_m1127740833 (SequentialSearchPrimeGeneratorBase_t2996090509 * __this, BigInteger_t2902905090 * ___bi0, RuntimeObject * ___context1, const RuntimeMethod* method)
{
{
return (bool)1;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Math.Prime.PrimalityTest::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void PrimalityTest__ctor_m763620166 (PrimalityTest_t1539325944 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
__this->set_method_ptr_0(il2cpp_codegen_get_method_pointer((RuntimeMethod*)___method1));
__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" IL2CPP_METHOD_ATTR bool PrimalityTest_Invoke_m2948246884 (PrimalityTest_t1539325944 * __this, BigInteger_t2902905090 * ___bi0, int32_t ___confidence1, const RuntimeMethod* method)
{
bool result = false;
if(__this->get_prev_9() != NULL)
{
PrimalityTest_Invoke_m2948246884((PrimalityTest_t1539325944 *)__this->get_prev_9(), ___bi0, ___confidence1, method);
}
Il2CppMethodPointer targetMethodPointer = __this->get_method_ptr_0();
RuntimeMethod* targetMethod = (RuntimeMethod*)(__this->get_method_3());
RuntimeObject* targetThis = __this->get_m_target_2();
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
bool ___methodIsStatic = MethodIsStatic(targetMethod);
if (___methodIsStatic)
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 2)
{
// open
{
typedef bool (*FunctionPointerType) (RuntimeObject *, BigInteger_t2902905090 *, int32_t, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(NULL, ___bi0, ___confidence1, targetMethod);
}
}
else
{
// closed
{
typedef bool (*FunctionPointerType) (RuntimeObject *, void*, BigInteger_t2902905090 *, int32_t, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(NULL, targetThis, ___bi0, ___confidence1, targetMethod);
}
}
}
else
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 2)
{
// closed
if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
{
if (il2cpp_codegen_method_is_generic_instance(targetMethod))
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = GenericInterfaceFuncInvoker2< bool, BigInteger_t2902905090 *, int32_t >::Invoke(targetMethod, targetThis, ___bi0, ___confidence1);
else
result = GenericVirtFuncInvoker2< bool, BigInteger_t2902905090 *, int32_t >::Invoke(targetMethod, targetThis, ___bi0, ___confidence1);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = InterfaceFuncInvoker2< bool, BigInteger_t2902905090 *, int32_t >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___bi0, ___confidence1);
else
result = VirtFuncInvoker2< bool, BigInteger_t2902905090 *, int32_t >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___bi0, ___confidence1);
}
}
else
{
typedef bool (*FunctionPointerType) (void*, BigInteger_t2902905090 *, int32_t, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(targetThis, ___bi0, ___confidence1, targetMethod);
}
}
else
{
// open
if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
{
if (il2cpp_codegen_method_is_generic_instance(targetMethod))
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = GenericInterfaceFuncInvoker1< bool, int32_t >::Invoke(targetMethod, ___bi0, ___confidence1);
else
result = GenericVirtFuncInvoker1< bool, int32_t >::Invoke(targetMethod, ___bi0, ___confidence1);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = InterfaceFuncInvoker1< bool, int32_t >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), ___bi0, ___confidence1);
else
result = VirtFuncInvoker1< bool, int32_t >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), ___bi0, ___confidence1);
}
}
else
{
typedef bool (*FunctionPointerType) (BigInteger_t2902905090 *, int32_t, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(___bi0, ___confidence1, targetMethod);
}
}
}
return result;
}
// System.IAsyncResult Mono.Math.Prime.PrimalityTest::BeginInvoke(Mono.Math.BigInteger,Mono.Math.Prime.ConfidenceFactor,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* PrimalityTest_BeginInvoke_m742423211 (PrimalityTest_t1539325944 * __this, BigInteger_t2902905090 * ___bi0, int32_t ___confidence1, AsyncCallback_t3962456242 * ___callback2, RuntimeObject * ___object3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PrimalityTest_BeginInvoke_m742423211_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
void *__d_args[3] = {0};
__d_args[0] = ___bi0;
__d_args[1] = Box(ConfidenceFactor_t2516000286_il2cpp_TypeInfo_var, &___confidence1);
return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback2, (RuntimeObject*)___object3);
}
// System.Boolean Mono.Math.Prime.PrimalityTest::EndInvoke(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR bool PrimalityTest_EndInvoke_m1035389364 (PrimalityTest_t1539325944 * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
{
RuntimeObject *__result = il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
return *(bool*)UnBox ((RuntimeObject*)__result);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Int32 Mono.Math.Prime.PrimalityTests::GetSPPRounds(Mono.Math.BigInteger,Mono.Math.Prime.ConfidenceFactor)
extern "C" IL2CPP_METHOD_ATTR int32_t PrimalityTests_GetSPPRounds_m2558073743 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___bi0, int32_t ___confidence1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PrimalityTests_GetSPPRounds_m2558073743_MetadataUsageId);
s_Il2CppMethodInitialized = 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_t2902905090 * L_0 = ___bi0;
int32_t L_1 = BigInteger_BitCount_m2055977486(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;
switch (L_14)
{
case 0:
{
goto IL_00f6;
}
case 1:
{
goto IL_0108;
}
case 2:
{
goto IL_011a;
}
case 3:
{
goto IL_011c;
}
case 4:
{
goto IL_0120;
}
case 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_t * L_24 = (Exception_t *)il2cpp_codegen_object_new(Exception_t_il2cpp_TypeInfo_var);
Exception__ctor_m1152696503(L_24, _stringLiteral2000707595, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_24, NULL, PrimalityTests_GetSPPRounds_m2558073743_RuntimeMethod_var);
}
IL_012f:
{
ArgumentOutOfRangeException_t777629997 * L_25 = (ArgumentOutOfRangeException_t777629997 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m3628145864(L_25, _stringLiteral3535070725, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_25, NULL, PrimalityTests_GetSPPRounds_m2558073743_RuntimeMethod_var);
}
}
// System.Boolean Mono.Math.Prime.PrimalityTests::RabinMillerTest(Mono.Math.BigInteger,Mono.Math.Prime.ConfidenceFactor)
extern "C" IL2CPP_METHOD_ATTR bool PrimalityTests_RabinMillerTest_m2544317101 (RuntimeObject * __this /* static, unused */, BigInteger_t2902905090 * ___n0, int32_t ___confidence1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PrimalityTests_RabinMillerTest_m2544317101_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
BigInteger_t2902905090 * V_2 = NULL;
int32_t V_3 = 0;
BigInteger_t2902905090 * V_4 = NULL;
ModulusRing_t596511505 * V_5 = NULL;
BigInteger_t2902905090 * V_6 = NULL;
int32_t V_7 = 0;
BigInteger_t2902905090 * V_8 = NULL;
int32_t V_9 = 0;
{
BigInteger_t2902905090 * L_0 = ___n0;
int32_t L_1 = BigInteger_BitCount_m2055977486(L_0, /*hidden argument*/NULL);
V_0 = L_1;
int32_t L_2 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_3 = BigInteger_op_Implicit_m2547142909(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
int32_t L_4 = ___confidence1;
int32_t L_5 = PrimalityTests_GetSPPRounds_m2558073743(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL);
V_1 = L_5;
BigInteger_t2902905090 * L_6 = ___n0;
BigInteger_t2902905090 * L_7 = BigInteger_op_Implicit_m2547142909(NULL /*static, unused*/, 1, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_8 = BigInteger_op_Subtraction_m4245834512(NULL /*static, unused*/, L_6, L_7, /*hidden argument*/NULL);
V_2 = L_8;
BigInteger_t2902905090 * L_9 = V_2;
int32_t L_10 = BigInteger_LowestSetBit_m1199244228(L_9, /*hidden argument*/NULL);
V_3 = L_10;
BigInteger_t2902905090 * L_11 = V_2;
int32_t L_12 = V_3;
BigInteger_t2902905090 * L_13 = BigInteger_op_RightShift_m460065452(NULL /*static, unused*/, L_11, L_12, /*hidden argument*/NULL);
V_4 = L_13;
BigInteger_t2902905090 * L_14 = ___n0;
ModulusRing_t596511505 * L_15 = (ModulusRing_t596511505 *)il2cpp_codegen_object_new(ModulusRing_t596511505_il2cpp_TypeInfo_var);
ModulusRing__ctor_m2420310199(L_15, L_14, /*hidden argument*/NULL);
V_5 = L_15;
V_6 = (BigInteger_t2902905090 *)NULL;
BigInteger_t2902905090 * L_16 = ___n0;
int32_t L_17 = BigInteger_BitCount_m2055977486(L_16, /*hidden argument*/NULL);
if ((((int32_t)L_17) <= ((int32_t)((int32_t)100))))
{
goto IL_0055;
}
}
{
ModulusRing_t596511505 * L_18 = V_5;
BigInteger_t2902905090 * L_19 = V_4;
BigInteger_t2902905090 * L_20 = ModulusRing_Pow_m729002192(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_t2902905090 * L_22 = V_6;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_23 = BigInteger_op_Equality_m1194739960(NULL /*static, unused*/, L_22, (BigInteger_t2902905090 *)NULL, /*hidden argument*/NULL);
if (!L_23)
{
goto IL_00a9;
}
}
IL_0072:
{
V_8 = (BigInteger_t2902905090 *)NULL;
}
IL_0075:
{
int32_t L_24 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_25 = BigInteger_GenerateRandom_m1790382084(NULL /*static, unused*/, L_24, /*hidden argument*/NULL);
V_8 = L_25;
BigInteger_t2902905090 * L_26 = V_8;
BigInteger_t2902905090 * L_27 = BigInteger_op_Implicit_m2547142909(NULL /*static, unused*/, 2, /*hidden argument*/NULL);
bool L_28 = BigInteger_op_LessThanOrEqual_m3925173639(NULL /*static, unused*/, L_26, L_27, /*hidden argument*/NULL);
if (!L_28)
{
goto IL_009c;
}
}
{
BigInteger_t2902905090 * L_29 = V_8;
BigInteger_t2902905090 * L_30 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_31 = BigInteger_op_GreaterThanOrEqual_m3313329514(NULL /*static, unused*/, L_29, L_30, /*hidden argument*/NULL);
if (L_31)
{
goto IL_0075;
}
}
IL_009c:
{
ModulusRing_t596511505 * L_32 = V_5;
BigInteger_t2902905090 * L_33 = V_8;
BigInteger_t2902905090 * L_34 = V_4;
BigInteger_t2902905090 * L_35 = ModulusRing_Pow_m1124248336(L_32, L_33, L_34, /*hidden argument*/NULL);
V_6 = L_35;
}
IL_00a9:
{
BigInteger_t2902905090 * L_36 = V_6;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_37 = BigInteger_op_Equality_m3872814973(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_t596511505 * L_38 = V_5;
BigInteger_t2902905090 * L_39 = V_6;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_40 = BigInteger_op_Implicit_m2547142909(NULL /*static, unused*/, 2, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_41 = ModulusRing_Pow_m1124248336(L_38, L_39, L_40, /*hidden argument*/NULL);
V_6 = L_41;
BigInteger_t2902905090 * L_42 = V_6;
bool L_43 = BigInteger_op_Equality_m3872814973(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)il2cpp_codegen_add((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_t2902905090 * L_47 = V_6;
BigInteger_t2902905090 * L_48 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_49 = BigInteger_op_Inequality_m2697143438(NULL /*static, unused*/, L_47, L_48, /*hidden argument*/NULL);
if (L_49)
{
goto IL_00c3;
}
}
IL_00fe:
{
BigInteger_t2902905090 * L_50 = V_6;
BigInteger_t2902905090 * L_51 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_52 = BigInteger_op_Inequality_m2697143438(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)il2cpp_codegen_add((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;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.ASN1::.ctor(System.Byte)
extern "C" IL2CPP_METHOD_ATTR void ASN1__ctor_m1239252869 (ASN1_t2114160833 * __this, uint8_t ___tag0, const RuntimeMethod* method)
{
{
uint8_t L_0 = ___tag0;
ASN1__ctor_m682794872(__this, L_0, (ByteU5BU5D_t4116647657*)(ByteU5BU5D_t4116647657*)NULL, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.ASN1::.ctor(System.Byte,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void ASN1__ctor_m682794872 (ASN1_t2114160833 * __this, uint8_t ___tag0, ByteU5BU5D_t4116647657* ___data1, const RuntimeMethod* method)
{
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
uint8_t L_0 = ___tag0;
__this->set_m_nTag_0(L_0);
ByteU5BU5D_t4116647657* L_1 = ___data1;
__this->set_m_aValue_1(L_1);
return;
}
}
// System.Void Mono.Security.ASN1::.ctor(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void ASN1__ctor_m1638893325 (ASN1_t2114160833 * __this, ByteU5BU5D_t4116647657* ___data0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1__ctor_m1638893325_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
int32_t V_3 = 0;
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_0 = ___data0;
int32_t L_1 = 0;
uint8_t L_2 = (L_0)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_1));
__this->set_m_nTag_0(L_2);
V_0 = 0;
ByteU5BU5D_t4116647657* L_3 = ___data0;
int32_t L_4 = 1;
uint8_t L_5 = (L_3)->GetAtUnchecked(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)il2cpp_codegen_subtract((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)il2cpp_codegen_multiply((int32_t)L_8, (int32_t)((int32_t)256)));
int32_t L_9 = V_1;
ByteU5BU5D_t4116647657* L_10 = ___data0;
int32_t L_11 = V_2;
int32_t L_12 = ((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)2));
uint8_t L_13 = (L_10)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12));
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)L_13));
int32_t L_14 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((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_t1314879016 * L_18 = (NotSupportedException_t1314879016 *)il2cpp_codegen_object_new(NotSupportedException_t1314879016_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m2494070935(L_18, _stringLiteral2861664389, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_18, NULL, ASN1__ctor_m1638893325_RuntimeMethod_var);
}
IL_0067:
{
int32_t L_19 = V_1;
ByteU5BU5D_t4116647657* L_20 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_19);
__this->set_m_aValue_1(L_20);
ByteU5BU5D_t4116647657* L_21 = ___data0;
int32_t L_22 = V_0;
ByteU5BU5D_t4116647657* L_23 = __this->get_m_aValue_1();
int32_t L_24 = V_1;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_21, ((int32_t)il2cpp_codegen_add((int32_t)2, (int32_t)L_22)), (RuntimeArray *)(RuntimeArray *)L_23, 0, L_24, /*hidden argument*/NULL);
uint8_t L_25 = __this->get_m_nTag_0();
if ((!(((uint32_t)((int32_t)((int32_t)L_25&(int32_t)((int32_t)32)))) == ((uint32_t)((int32_t)32)))))
{
goto IL_00a4;
}
}
{
int32_t L_26 = V_0;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)2, (int32_t)L_26));
ByteU5BU5D_t4116647657* L_27 = ___data0;
ByteU5BU5D_t4116647657* L_28 = ___data0;
ASN1_Decode_m1245286596(__this, L_27, (int32_t*)(&V_3), (((int32_t)((int32_t)(((RuntimeArray *)L_28)->max_length)))), /*hidden argument*/NULL);
}
IL_00a4:
{
return;
}
}
// System.Int32 Mono.Security.ASN1::get_Count()
extern "C" IL2CPP_METHOD_ATTR int32_t ASN1_get_Count_m1789520042 (ASN1_t2114160833 * __this, const RuntimeMethod* method)
{
{
ArrayList_t2718874744 * L_0 = __this->get_elist_2();
if (L_0)
{
goto IL_000d;
}
}
{
return 0;
}
IL_000d:
{
ArrayList_t2718874744 * 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" IL2CPP_METHOD_ATTR uint8_t ASN1_get_Tag_m2789147236 (ASN1_t2114160833 * __this, const RuntimeMethod* method)
{
{
uint8_t L_0 = __this->get_m_nTag_0();
return L_0;
}
}
// System.Int32 Mono.Security.ASN1::get_Length()
extern "C" IL2CPP_METHOD_ATTR int32_t ASN1_get_Length_m3269728307 (ASN1_t2114160833 * __this, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = __this->get_m_aValue_1();
if (!L_0)
{
goto IL_0014;
}
}
{
ByteU5BU5D_t4116647657* L_1 = __this->get_m_aValue_1();
return (((int32_t)((int32_t)(((RuntimeArray *)L_1)->max_length))));
}
IL_0014:
{
return 0;
}
}
// System.Byte[] Mono.Security.ASN1::get_Value()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* ASN1_get_Value_m63296490 (ASN1_t2114160833 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1_get_Value_m63296490_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_t4116647657* L_0 = __this->get_m_aValue_1();
if (L_0)
{
goto IL_0012;
}
}
{
VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(4 /* System.Byte[] Mono.Security.ASN1::GetBytes() */, __this);
}
IL_0012:
{
ByteU5BU5D_t4116647657* L_1 = __this->get_m_aValue_1();
RuntimeObject * L_2 = Array_Clone_m2672907798((RuntimeArray *)(RuntimeArray *)L_1, /*hidden argument*/NULL);
return ((ByteU5BU5D_t4116647657*)Castclass((RuntimeObject*)L_2, ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var));
}
}
// System.Void Mono.Security.ASN1::set_Value(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void ASN1_set_Value_m647861841 (ASN1_t2114160833 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1_set_Value_m647861841_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_t4116647657* L_0 = ___value0;
if (!L_0)
{
goto IL_0017;
}
}
{
ByteU5BU5D_t4116647657* L_1 = ___value0;
RuntimeObject * L_2 = Array_Clone_m2672907798((RuntimeArray *)(RuntimeArray *)L_1, /*hidden argument*/NULL);
__this->set_m_aValue_1(((ByteU5BU5D_t4116647657*)Castclass((RuntimeObject*)L_2, ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var)));
}
IL_0017:
{
return;
}
}
// System.Boolean Mono.Security.ASN1::CompareArray(System.Byte[],System.Byte[])
extern "C" IL2CPP_METHOD_ATTR bool ASN1_CompareArray_m3928975006 (ASN1_t2114160833 * __this, ByteU5BU5D_t4116647657* ___array10, ByteU5BU5D_t4116647657* ___array21, const RuntimeMethod* method)
{
bool V_0 = false;
int32_t V_1 = 0;
{
ByteU5BU5D_t4116647657* L_0 = ___array10;
ByteU5BU5D_t4116647657* L_1 = ___array21;
V_0 = (bool)((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))))) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)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_t4116647657* L_3 = ___array10;
int32_t L_4 = V_1;
int32_t L_5 = L_4;
uint8_t L_6 = (L_3)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_5));
ByteU5BU5D_t4116647657* L_7 = ___array21;
int32_t L_8 = V_1;
int32_t L_9 = L_8;
uint8_t L_10 = (L_7)->GetAtUnchecked(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)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0027:
{
int32_t L_12 = V_1;
ByteU5BU5D_t4116647657* L_13 = ___array10;
if ((((int32_t)L_12) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)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" IL2CPP_METHOD_ATTR bool ASN1_CompareValue_m1642100296 (ASN1_t2114160833 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = __this->get_m_aValue_1();
ByteU5BU5D_t4116647657* L_1 = ___value0;
bool L_2 = ASN1_CompareArray_m3928975006(__this, L_0, L_1, /*hidden argument*/NULL);
return L_2;
}
}
// Mono.Security.ASN1 Mono.Security.ASN1::Add(Mono.Security.ASN1)
extern "C" IL2CPP_METHOD_ATTR ASN1_t2114160833 * ASN1_Add_m2431139999 (ASN1_t2114160833 * __this, ASN1_t2114160833 * ___asn10, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1_Add_m2431139999_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ASN1_t2114160833 * L_0 = ___asn10;
if (!L_0)
{
goto IL_0029;
}
}
{
ArrayList_t2718874744 * L_1 = __this->get_elist_2();
if (L_1)
{
goto IL_001c;
}
}
{
ArrayList_t2718874744 * L_2 = (ArrayList_t2718874744 *)il2cpp_codegen_object_new(ArrayList_t2718874744_il2cpp_TypeInfo_var);
ArrayList__ctor_m4254721275(L_2, /*hidden argument*/NULL);
__this->set_elist_2(L_2);
}
IL_001c:
{
ArrayList_t2718874744 * L_3 = __this->get_elist_2();
ASN1_t2114160833 * L_4 = ___asn10;
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_3, L_4);
}
IL_0029:
{
ASN1_t2114160833 * L_5 = ___asn10;
return L_5;
}
}
// System.Byte[] Mono.Security.ASN1::GetBytes()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* ASN1_GetBytes_m1968380955 (ASN1_t2114160833 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1_GetBytes_m1968380955_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_t4116647657* V_0 = NULL;
int32_t V_1 = 0;
ArrayList_t2718874744 * V_2 = NULL;
ASN1_t2114160833 * V_3 = NULL;
RuntimeObject* V_4 = NULL;
ByteU5BU5D_t4116647657* V_5 = NULL;
int32_t V_6 = 0;
int32_t V_7 = 0;
ByteU5BU5D_t4116647657* V_8 = NULL;
ByteU5BU5D_t4116647657* V_9 = NULL;
int32_t V_10 = 0;
int32_t V_11 = 0;
RuntimeObject* V_12 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
{
V_0 = (ByteU5BU5D_t4116647657*)NULL;
int32_t L_0 = ASN1_get_Count_m1789520042(__this, /*hidden argument*/NULL);
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_00ca;
}
}
{
V_1 = 0;
ArrayList_t2718874744 * L_1 = (ArrayList_t2718874744 *)il2cpp_codegen_object_new(ArrayList_t2718874744_il2cpp_TypeInfo_var);
ArrayList__ctor_m4254721275(L_1, /*hidden argument*/NULL);
V_2 = L_1;
ArrayList_t2718874744 * L_2 = __this->get_elist_2();
RuntimeObject* L_3 = VirtFuncInvoker0< RuntimeObject* >::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:
{
RuntimeObject* L_4 = V_4;
RuntimeObject * L_5 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(0 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, L_4);
V_3 = ((ASN1_t2114160833 *)CastclassClass((RuntimeObject*)L_5, ASN1_t2114160833_il2cpp_TypeInfo_var));
ASN1_t2114160833 * L_6 = V_3;
ByteU5BU5D_t4116647657* L_7 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(4 /* System.Byte[] Mono.Security.ASN1::GetBytes() */, L_6);
V_5 = L_7;
ArrayList_t2718874744 * L_8 = V_2;
ByteU5BU5D_t4116647657* L_9 = V_5;
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_8, (RuntimeObject *)(RuntimeObject *)L_9);
int32_t L_10 = V_1;
ByteU5BU5D_t4116647657* L_11 = V_5;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_11)->max_length))))));
}
IL_004d:
{
RuntimeObject* L_12 = V_4;
bool L_13 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_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_t *)e.ex;
goto FINALLY_005e;
}
FINALLY_005e:
{ // begin finally (depth: 1)
{
RuntimeObject* L_14 = V_4;
V_12 = ((RuntimeObject*)IsInst((RuntimeObject*)L_14, IDisposable_t3640265483_il2cpp_TypeInfo_var));
RuntimeObject* L_15 = V_12;
if (L_15)
{
goto IL_006c;
}
}
IL_006b:
{
IL2CPP_END_FINALLY(94)
}
IL_006c:
{
RuntimeObject* L_16 = V_12;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_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_t *)
}
IL_0074:
{
int32_t L_17 = V_1;
ByteU5BU5D_t4116647657* L_18 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_17);
V_0 = L_18;
V_6 = 0;
V_7 = 0;
goto IL_00b3;
}
IL_0086:
{
ArrayList_t2718874744 * L_19 = V_2;
int32_t L_20 = V_7;
RuntimeObject * L_21 = VirtFuncInvoker1< RuntimeObject *, int32_t >::Invoke(21 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_19, L_20);
V_8 = ((ByteU5BU5D_t4116647657*)Castclass((RuntimeObject*)L_21, ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var));
ByteU5BU5D_t4116647657* L_22 = V_8;
ByteU5BU5D_t4116647657* L_23 = V_0;
int32_t L_24 = V_6;
ByteU5BU5D_t4116647657* L_25 = V_8;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_22, 0, (RuntimeArray *)(RuntimeArray *)L_23, L_24, (((int32_t)((int32_t)(((RuntimeArray *)L_25)->max_length)))), /*hidden argument*/NULL);
int32_t L_26 = V_6;
ByteU5BU5D_t4116647657* L_27 = V_8;
V_6 = ((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_27)->max_length))))));
int32_t L_28 = V_7;
V_7 = ((int32_t)il2cpp_codegen_add((int32_t)L_28, (int32_t)1));
}
IL_00b3:
{
int32_t L_29 = V_7;
ArrayList_t2718874744 * L_30 = __this->get_elist_2();
int32_t L_31 = VirtFuncInvoker0< int32_t >::Invoke(23 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_30);
if ((((int32_t)L_29) < ((int32_t)L_31)))
{
goto IL_0086;
}
}
{
goto IL_00dc;
}
IL_00ca:
{
ByteU5BU5D_t4116647657* L_32 = __this->get_m_aValue_1();
if (!L_32)
{
goto IL_00dc;
}
}
{
ByteU5BU5D_t4116647657* L_33 = __this->get_m_aValue_1();
V_0 = L_33;
}
IL_00dc:
{
V_10 = 0;
ByteU5BU5D_t4116647657* L_34 = V_0;
if (!L_34)
{
goto IL_022a;
}
}
{
ByteU5BU5D_t4116647657* L_35 = V_0;
V_11 = (((int32_t)((int32_t)(((RuntimeArray *)L_35)->max_length))));
int32_t L_36 = V_11;
if ((((int32_t)L_36) <= ((int32_t)((int32_t)127))))
{
goto IL_01f8;
}
}
{
int32_t L_37 = V_11;
if ((((int32_t)L_37) > ((int32_t)((int32_t)255))))
{
goto IL_0129;
}
}
{
int32_t L_38 = V_11;
ByteU5BU5D_t4116647657* L_39 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add((int32_t)3, (int32_t)L_38)));
V_9 = L_39;
ByteU5BU5D_t4116647657* L_40 = V_0;
ByteU5BU5D_t4116647657* L_41 = V_9;
int32_t L_42 = V_11;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_40, 0, (RuntimeArray *)(RuntimeArray *)L_41, 3, L_42, /*hidden argument*/NULL);
V_10 = ((int32_t)129);
ByteU5BU5D_t4116647657* L_43 = V_9;
int32_t L_44 = V_11;
(L_43)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (uint8_t)(((int32_t)((uint8_t)L_44))));
goto IL_01f3;
}
IL_0129:
{
int32_t L_45 = V_11;
if ((((int32_t)L_45) > ((int32_t)((int32_t)65535))))
{
goto IL_0168;
}
}
{
int32_t L_46 = V_11;
ByteU5BU5D_t4116647657* L_47 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add((int32_t)4, (int32_t)L_46)));
V_9 = L_47;
ByteU5BU5D_t4116647657* L_48 = V_0;
ByteU5BU5D_t4116647657* L_49 = V_9;
int32_t L_50 = V_11;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_48, 0, (RuntimeArray *)(RuntimeArray *)L_49, 4, L_50, /*hidden argument*/NULL);
V_10 = ((int32_t)130);
ByteU5BU5D_t4116647657* L_51 = V_9;
int32_t L_52 = V_11;
(L_51)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_52>>(int32_t)8))))));
ByteU5BU5D_t4116647657* L_53 = V_9;
int32_t L_54 = V_11;
(L_53)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(3), (uint8_t)(((int32_t)((uint8_t)L_54))));
goto IL_01f3;
}
IL_0168:
{
int32_t L_55 = V_11;
if ((((int32_t)L_55) > ((int32_t)((int32_t)16777215))))
{
goto IL_01b1;
}
}
{
int32_t L_56 = V_11;
ByteU5BU5D_t4116647657* L_57 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add((int32_t)5, (int32_t)L_56)));
V_9 = L_57;
ByteU5BU5D_t4116647657* L_58 = V_0;
ByteU5BU5D_t4116647657* L_59 = V_9;
int32_t L_60 = V_11;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_58, 0, (RuntimeArray *)(RuntimeArray *)L_59, 5, L_60, /*hidden argument*/NULL);
V_10 = ((int32_t)131);
ByteU5BU5D_t4116647657* L_61 = V_9;
int32_t L_62 = V_11;
(L_61)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_62>>(int32_t)((int32_t)16)))))));
ByteU5BU5D_t4116647657* L_63 = V_9;
int32_t L_64 = V_11;
(L_63)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(3), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_64>>(int32_t)8))))));
ByteU5BU5D_t4116647657* L_65 = V_9;
int32_t L_66 = V_11;
(L_65)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(4), (uint8_t)(((int32_t)((uint8_t)L_66))));
goto IL_01f3;
}
IL_01b1:
{
int32_t L_67 = V_11;
ByteU5BU5D_t4116647657* L_68 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add((int32_t)6, (int32_t)L_67)));
V_9 = L_68;
ByteU5BU5D_t4116647657* L_69 = V_0;
ByteU5BU5D_t4116647657* L_70 = V_9;
int32_t L_71 = V_11;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_69, 0, (RuntimeArray *)(RuntimeArray *)L_70, 6, L_71, /*hidden argument*/NULL);
V_10 = ((int32_t)132);
ByteU5BU5D_t4116647657* L_72 = V_9;
int32_t L_73 = V_11;
(L_72)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_73>>(int32_t)((int32_t)24)))))));
ByteU5BU5D_t4116647657* L_74 = V_9;
int32_t L_75 = V_11;
(L_74)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(3), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_75>>(int32_t)((int32_t)16)))))));
ByteU5BU5D_t4116647657* L_76 = V_9;
int32_t L_77 = V_11;
(L_76)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(4), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_77>>(int32_t)8))))));
ByteU5BU5D_t4116647657* L_78 = V_9;
int32_t L_79 = V_11;
(L_78)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(5), (uint8_t)(((int32_t)((uint8_t)L_79))));
}
IL_01f3:
{
goto IL_0213;
}
IL_01f8:
{
int32_t L_80 = V_11;
ByteU5BU5D_t4116647657* L_81 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add((int32_t)2, (int32_t)L_80)));
V_9 = L_81;
ByteU5BU5D_t4116647657* L_82 = V_0;
ByteU5BU5D_t4116647657* L_83 = V_9;
int32_t L_84 = V_11;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_82, 0, (RuntimeArray *)(RuntimeArray *)L_83, 2, L_84, /*hidden argument*/NULL);
int32_t L_85 = V_11;
V_10 = L_85;
}
IL_0213:
{
ByteU5BU5D_t4116647657* L_86 = __this->get_m_aValue_1();
if (L_86)
{
goto IL_0225;
}
}
{
ByteU5BU5D_t4116647657* L_87 = V_0;
__this->set_m_aValue_1(L_87);
}
IL_0225:
{
goto IL_0232;
}
IL_022a:
{
ByteU5BU5D_t4116647657* L_88 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)2);
V_9 = L_88;
}
IL_0232:
{
ByteU5BU5D_t4116647657* L_89 = V_9;
uint8_t L_90 = __this->get_m_nTag_0();
(L_89)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (uint8_t)L_90);
ByteU5BU5D_t4116647657* L_91 = V_9;
int32_t L_92 = V_10;
(L_91)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (uint8_t)(((int32_t)((uint8_t)L_92))));
ByteU5BU5D_t4116647657* L_93 = V_9;
return L_93;
}
}
// System.Void Mono.Security.ASN1::Decode(System.Byte[],System.Int32&,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void ASN1_Decode_m1245286596 (ASN1_t2114160833 * __this, ByteU5BU5D_t4116647657* ___asn10, int32_t* ___anPos1, int32_t ___anLength2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1_Decode_m1245286596_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
uint8_t V_0 = 0x0;
int32_t V_1 = 0;
ByteU5BU5D_t4116647657* V_2 = NULL;
ASN1_t2114160833 * V_3 = NULL;
int32_t V_4 = 0;
{
goto IL_004e;
}
IL_0005:
{
ByteU5BU5D_t4116647657* L_0 = ___asn10;
int32_t* L_1 = ___anPos1;
ASN1_DecodeTLV_m3927350254(__this, L_0, (int32_t*)L_1, (uint8_t*)(&V_0), (int32_t*)(&V_1), (ByteU5BU5D_t4116647657**)(&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_t4116647657* L_4 = V_2;
ASN1_t2114160833 * L_5 = (ASN1_t2114160833 *)il2cpp_codegen_object_new(ASN1_t2114160833_il2cpp_TypeInfo_var);
ASN1__ctor_m682794872(L_5, L_3, L_4, /*hidden argument*/NULL);
ASN1_t2114160833 * L_6 = ASN1_Add_m2431139999(__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_t2114160833 * L_9 = V_3;
ByteU5BU5D_t4116647657* L_10 = ___asn10;
int32_t L_11 = V_4;
int32_t L_12 = V_1;
ASN1_Decode_m1245286596(L_9, L_10, (int32_t*)(&V_4), ((int32_t)il2cpp_codegen_add((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)il2cpp_codegen_add((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)il2cpp_codegen_subtract((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 "C" IL2CPP_METHOD_ATTR void ASN1_DecodeTLV_m3927350254 (ASN1_t2114160833 * __this, ByteU5BU5D_t4116647657* ___asn10, int32_t* ___pos1, uint8_t* ___tag2, int32_t* ___length3, ByteU5BU5D_t4116647657** ___content4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1_DecodeTLV_m3927350254_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
{
uint8_t* L_0 = ___tag2;
ByteU5BU5D_t4116647657* 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)il2cpp_codegen_add((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)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_6));
*((int8_t*)(L_0)) = (int8_t)L_7;
int32_t* L_8 = ___length3;
ByteU5BU5D_t4116647657* 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)il2cpp_codegen_add((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)->GetAtUnchecked(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_t4116647657* 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)il2cpp_codegen_add((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)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_26));
*((int32_t*)(L_19)) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_multiply((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)il2cpp_codegen_add((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_t4116647657** L_31 = ___content4;
int32_t* L_32 = ___length3;
ByteU5BU5D_t4116647657* L_33 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)(*((int32_t*)L_32)));
*((RuntimeObject **)(L_31)) = (RuntimeObject *)L_33;
Il2CppCodeGenWriteBarrier((RuntimeObject **)(L_31), (RuntimeObject *)L_33);
ByteU5BU5D_t4116647657* L_34 = ___asn10;
int32_t* L_35 = ___pos1;
ByteU5BU5D_t4116647657** L_36 = ___content4;
ByteU5BU5D_t4116647657* L_37 = *((ByteU5BU5D_t4116647657**)L_36);
int32_t* L_38 = ___length3;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_34, (*((int32_t*)L_35)), (RuntimeArray *)(RuntimeArray *)L_37, 0, (*((int32_t*)L_38)), /*hidden argument*/NULL);
return;
}
}
// Mono.Security.ASN1 Mono.Security.ASN1::get_Item(System.Int32)
extern "C" IL2CPP_METHOD_ATTR ASN1_t2114160833 * ASN1_get_Item_m2255075813 (ASN1_t2114160833 * __this, int32_t ___index0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1_get_Item_m2255075813_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ASN1_t2114160833 * V_0 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
IL_0000:
try
{ // begin try (depth: 1)
{
ArrayList_t2718874744 * L_0 = __this->get_elist_2();
if (!L_0)
{
goto IL_001c;
}
}
IL_000b:
{
int32_t L_1 = ___index0;
ArrayList_t2718874744 * 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_t2114160833 *)NULL;
goto IL_004c;
}
IL_0023:
{
ArrayList_t2718874744 * L_4 = __this->get_elist_2();
int32_t L_5 = ___index0;
RuntimeObject * L_6 = VirtFuncInvoker1< RuntimeObject *, int32_t >::Invoke(21 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_4, L_5);
V_0 = ((ASN1_t2114160833 *)CastclassClass((RuntimeObject*)L_6, ASN1_t2114160833_il2cpp_TypeInfo_var));
goto IL_004c;
}
IL_003a:
{
; // IL_003a: leave IL_004c
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_003f;
throw e;
}
CATCH_003f:
{ // begin catch(System.ArgumentOutOfRangeException)
{
V_0 = (ASN1_t2114160833 *)NULL;
goto IL_004c;
}
IL_0047:
{
; // IL_0047: leave IL_004c
}
} // end catch (depth: 1)
IL_004c:
{
ASN1_t2114160833 * L_7 = V_0;
return L_7;
}
}
// Mono.Security.ASN1 Mono.Security.ASN1::Element(System.Int32,System.Byte)
extern "C" IL2CPP_METHOD_ATTR ASN1_t2114160833 * ASN1_Element_m4088315026 (ASN1_t2114160833 * __this, int32_t ___index0, uint8_t ___anTag1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1_Element_m4088315026_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ASN1_t2114160833 * V_0 = NULL;
ASN1_t2114160833 * V_1 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
IL_0000:
try
{ // begin try (depth: 1)
{
ArrayList_t2718874744 * L_0 = __this->get_elist_2();
if (!L_0)
{
goto IL_001c;
}
}
IL_000b:
{
int32_t L_1 = ___index0;
ArrayList_t2718874744 * 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_t2114160833 *)NULL;
goto IL_0061;
}
IL_0023:
{
ArrayList_t2718874744 * L_4 = __this->get_elist_2();
int32_t L_5 = ___index0;
RuntimeObject * L_6 = VirtFuncInvoker1< RuntimeObject *, int32_t >::Invoke(21 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_4, L_5);
V_0 = ((ASN1_t2114160833 *)CastclassClass((RuntimeObject*)L_6, ASN1_t2114160833_il2cpp_TypeInfo_var));
ASN1_t2114160833 * L_7 = V_0;
uint8_t L_8 = ASN1_get_Tag_m2789147236(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_t2114160833 * L_10 = V_0;
V_1 = L_10;
goto IL_0061;
}
IL_0048:
{
V_1 = (ASN1_t2114160833 *)NULL;
goto IL_0061;
}
IL_004f:
{
; // IL_004f: leave IL_0061
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0054;
throw e;
}
CATCH_0054:
{ // begin catch(System.ArgumentOutOfRangeException)
{
V_1 = (ASN1_t2114160833 *)NULL;
goto IL_0061;
}
IL_005c:
{
; // IL_005c: leave IL_0061
}
} // end catch (depth: 1)
IL_0061:
{
ASN1_t2114160833 * L_11 = V_1;
return L_11;
}
}
// System.String Mono.Security.ASN1::ToString()
extern "C" IL2CPP_METHOD_ATTR String_t* ASN1_ToString_m45458043 (ASN1_t2114160833 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1_ToString_m45458043_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StringBuilder_t * V_0 = NULL;
int32_t V_1 = 0;
{
StringBuilder_t * L_0 = (StringBuilder_t *)il2cpp_codegen_object_new(StringBuilder_t_il2cpp_TypeInfo_var);
StringBuilder__ctor_m3121283359(L_0, /*hidden argument*/NULL);
V_0 = L_0;
StringBuilder_t * L_1 = V_0;
uint8_t* L_2 = __this->get_address_of_m_nTag_0();
String_t* L_3 = Byte_ToString_m3735479648((uint8_t*)L_2, _stringLiteral3451435000, /*hidden argument*/NULL);
String_t* L_4 = Environment_get_NewLine_m3211016485(NULL /*static, unused*/, /*hidden argument*/NULL);
StringBuilder_AppendFormat_m3255666490(L_1, _stringLiteral1285239904, L_3, L_4, /*hidden argument*/NULL);
StringBuilder_t * L_5 = V_0;
ByteU5BU5D_t4116647657* L_6 = ASN1_get_Value_m63296490(__this, /*hidden argument*/NULL);
int32_t L_7 = (((int32_t)((int32_t)(((RuntimeArray *)L_6)->max_length))));
RuntimeObject * L_8 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_7);
String_t* L_9 = Environment_get_NewLine_m3211016485(NULL /*static, unused*/, /*hidden argument*/NULL);
StringBuilder_AppendFormat_m3255666490(L_5, _stringLiteral2514902888, L_8, L_9, /*hidden argument*/NULL);
StringBuilder_t * L_10 = V_0;
StringBuilder_Append_m1965104174(L_10, _stringLiteral3013462727, /*hidden argument*/NULL);
StringBuilder_t * L_11 = V_0;
String_t* L_12 = Environment_get_NewLine_m3211016485(NULL /*static, unused*/, /*hidden argument*/NULL);
StringBuilder_Append_m1965104174(L_11, L_12, /*hidden argument*/NULL);
V_1 = 0;
goto IL_00a7;
}
IL_0064:
{
StringBuilder_t * L_13 = V_0;
ByteU5BU5D_t4116647657* L_14 = ASN1_get_Value_m63296490(__this, /*hidden argument*/NULL);
int32_t L_15 = V_1;
String_t* L_16 = Byte_ToString_m3735479648((uint8_t*)((L_14)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_15))), _stringLiteral3451435000, /*hidden argument*/NULL);
StringBuilder_AppendFormat_m3016532472(L_13, _stringLiteral3100627678, L_16, /*hidden argument*/NULL);
int32_t L_17 = V_1;
if (((int32_t)((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1))%(int32_t)((int32_t)16))))
{
goto IL_00a3;
}
}
{
StringBuilder_t * L_18 = V_0;
String_t* L_19 = Environment_get_NewLine_m3211016485(NULL /*static, unused*/, /*hidden argument*/NULL);
ObjectU5BU5D_t2843939325* L_20 = (ObjectU5BU5D_t2843939325*)SZArrayNew(ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var, (uint32_t)0);
StringBuilder_AppendFormat_m921870684(L_18, L_19, L_20, /*hidden argument*/NULL);
}
IL_00a3:
{
int32_t L_21 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_21, (int32_t)1));
}
IL_00a7:
{
int32_t L_22 = V_1;
ByteU5BU5D_t4116647657* L_23 = ASN1_get_Value_m63296490(__this, /*hidden argument*/NULL);
if ((((int32_t)L_22) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_23)->max_length)))))))
{
goto IL_0064;
}
}
{
StringBuilder_t * L_24 = V_0;
String_t* L_25 = StringBuilder_ToString_m3317489284(L_24, /*hidden argument*/NULL);
return L_25;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.ASN1 Mono.Security.ASN1Convert::FromInt32(System.Int32)
extern "C" IL2CPP_METHOD_ATTR ASN1_t2114160833 * ASN1Convert_FromInt32_m1154451899 (RuntimeObject * __this /* static, unused */, int32_t ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1Convert_FromInt32_m1154451899_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_t4116647657* V_0 = NULL;
int32_t V_1 = 0;
ASN1_t2114160833 * V_2 = NULL;
ByteU5BU5D_t4116647657* V_3 = NULL;
int32_t V_4 = 0;
{
int32_t L_0 = ___value0;
ByteU5BU5D_t4116647657* L_1 = BitConverterLE_GetBytes_m3268825786(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
V_0 = L_1;
ByteU5BU5D_t4116647657* L_2 = V_0;
Array_Reverse_m3714848183(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_2, /*hidden argument*/NULL);
V_1 = 0;
goto IL_0018;
}
IL_0014:
{
int32_t L_3 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1));
}
IL_0018:
{
int32_t L_4 = V_1;
ByteU5BU5D_t4116647657* L_5 = V_0;
if ((((int32_t)L_4) >= ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_5)->max_length)))))))
{
goto IL_0029;
}
}
{
ByteU5BU5D_t4116647657* L_6 = V_0;
int32_t L_7 = V_1;
int32_t L_8 = L_7;
uint8_t L_9 = (L_6)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_8));
if (!L_9)
{
goto IL_0014;
}
}
IL_0029:
{
ASN1_t2114160833 * L_10 = (ASN1_t2114160833 *)il2cpp_codegen_object_new(ASN1_t2114160833_il2cpp_TypeInfo_var);
ASN1__ctor_m1239252869(L_10, (uint8_t)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_t2114160833 * L_14 = V_2;
ByteU5BU5D_t4116647657* L_15 = V_0;
ASN1_set_Value_m647861841(L_14, L_15, /*hidden argument*/NULL);
goto IL_0085;
}
IL_0053:
{
ASN1_t2114160833 * L_16 = V_2;
ByteU5BU5D_t4116647657* L_17 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)1);
ASN1_set_Value_m647861841(L_16, L_17, /*hidden argument*/NULL);
goto IL_0085;
}
IL_0064:
{
int32_t L_18 = V_1;
ByteU5BU5D_t4116647657* L_19 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)4, (int32_t)L_18)));
V_3 = L_19;
ByteU5BU5D_t4116647657* L_20 = V_0;
int32_t L_21 = V_1;
ByteU5BU5D_t4116647657* L_22 = V_3;
ByteU5BU5D_t4116647657* L_23 = V_3;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_20, L_21, (RuntimeArray *)(RuntimeArray *)L_22, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_23)->max_length)))), /*hidden argument*/NULL);
ASN1_t2114160833 * L_24 = V_2;
ByteU5BU5D_t4116647657* L_25 = V_3;
ASN1_set_Value_m647861841(L_24, L_25, /*hidden argument*/NULL);
goto IL_0085;
}
IL_0085:
{
ASN1_t2114160833 * L_26 = V_2;
return L_26;
}
}
// Mono.Security.ASN1 Mono.Security.ASN1Convert::FromOid(System.String)
extern "C" IL2CPP_METHOD_ATTR ASN1_t2114160833 * ASN1Convert_FromOid_m3844102704 (RuntimeObject * __this /* static, unused */, String_t* ___oid0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1Convert_FromOid_m3844102704_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
String_t* L_0 = ___oid0;
if (L_0)
{
goto IL_0011;
}
}
{
ArgumentNullException_t1615371798 * L_1 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_1, _stringLiteral3266464951, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, ASN1Convert_FromOid_m3844102704_RuntimeMethod_var);
}
IL_0011:
{
String_t* L_2 = ___oid0;
IL2CPP_RUNTIME_CLASS_INIT(CryptoConfig_t4201145714_il2cpp_TypeInfo_var);
ByteU5BU5D_t4116647657* L_3 = CryptoConfig_EncodeOID_m2635914623(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
ASN1_t2114160833 * L_4 = (ASN1_t2114160833 *)il2cpp_codegen_object_new(ASN1_t2114160833_il2cpp_TypeInfo_var);
ASN1__ctor_m1638893325(L_4, L_3, /*hidden argument*/NULL);
return L_4;
}
}
// System.Int32 Mono.Security.ASN1Convert::ToInt32(Mono.Security.ASN1)
extern "C" IL2CPP_METHOD_ATTR int32_t ASN1Convert_ToInt32_m1017403318 (RuntimeObject * __this /* static, unused */, ASN1_t2114160833 * ___asn10, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1Convert_ToInt32_m1017403318_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
ASN1_t2114160833 * L_0 = ___asn10;
if (L_0)
{
goto IL_0011;
}
}
{
ArgumentNullException_t1615371798 * L_1 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_1, _stringLiteral2971046163, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, ASN1Convert_ToInt32_m1017403318_RuntimeMethod_var);
}
IL_0011:
{
ASN1_t2114160833 * L_2 = ___asn10;
uint8_t L_3 = ASN1_get_Tag_m2789147236(L_2, /*hidden argument*/NULL);
if ((((int32_t)L_3) == ((int32_t)2)))
{
goto IL_0028;
}
}
{
FormatException_t154580423 * L_4 = (FormatException_t154580423 *)il2cpp_codegen_object_new(FormatException_t154580423_il2cpp_TypeInfo_var);
FormatException__ctor_m4049685996(L_4, _stringLiteral1968993200, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, ASN1Convert_ToInt32_m1017403318_RuntimeMethod_var);
}
IL_0028:
{
V_0 = 0;
V_1 = 0;
goto IL_0042;
}
IL_0031:
{
int32_t L_5 = V_0;
ASN1_t2114160833 * L_6 = ___asn10;
ByteU5BU5D_t4116647657* L_7 = ASN1_get_Value_m63296490(L_6, /*hidden argument*/NULL);
int32_t L_8 = V_1;
int32_t L_9 = L_8;
uint8_t L_10 = (L_7)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_9));
V_0 = ((int32_t)il2cpp_codegen_add((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)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0042:
{
int32_t L_12 = V_1;
ASN1_t2114160833 * L_13 = ___asn10;
ByteU5BU5D_t4116647657* L_14 = ASN1_get_Value_m63296490(L_13, /*hidden argument*/NULL);
if ((((int32_t)L_12) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)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 "C" IL2CPP_METHOD_ATTR String_t* ASN1Convert_ToOid_m3847701408 (RuntimeObject * __this /* static, unused */, ASN1_t2114160833 * ___asn10, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1Convert_ToOid_m3847701408_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_t4116647657* V_0 = NULL;
StringBuilder_t * V_1 = NULL;
uint8_t V_2 = 0x0;
uint8_t V_3 = 0x0;
uint64_t V_4 = 0;
{
ASN1_t2114160833 * L_0 = ___asn10;
if (L_0)
{
goto IL_0011;
}
}
{
ArgumentNullException_t1615371798 * L_1 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_1, _stringLiteral2971046163, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, ASN1Convert_ToOid_m3847701408_RuntimeMethod_var);
}
IL_0011:
{
ASN1_t2114160833 * L_2 = ___asn10;
ByteU5BU5D_t4116647657* L_3 = ASN1_get_Value_m63296490(L_2, /*hidden argument*/NULL);
V_0 = L_3;
StringBuilder_t * L_4 = (StringBuilder_t *)il2cpp_codegen_object_new(StringBuilder_t_il2cpp_TypeInfo_var);
StringBuilder__ctor_m3121283359(L_4, /*hidden argument*/NULL);
V_1 = L_4;
ByteU5BU5D_t4116647657* L_5 = V_0;
int32_t L_6 = 0;
uint8_t L_7 = (L_5)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_6));
V_2 = (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_7/(int32_t)((int32_t)40))))));
ByteU5BU5D_t4116647657* L_8 = V_0;
int32_t L_9 = 0;
uint8_t L_10 = (L_8)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_9));
V_3 = (uint8_t)(((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 = (uint8_t)(((int32_t)((uint8_t)((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)(((int32_t)((uint8_t)((int32_t)il2cpp_codegen_multiply((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_13, (int32_t)2)), (int32_t)((int32_t)40)))))))))));
V_2 = (uint8_t)2;
}
IL_0042:
{
StringBuilder_t * L_14 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t4157843068_il2cpp_TypeInfo_var);
CultureInfo_t4157843068 * L_15 = CultureInfo_get_InvariantCulture_m3532445182(NULL /*static, unused*/, /*hidden argument*/NULL);
String_t* L_16 = Byte_ToString_m2335342258((uint8_t*)(&V_2), L_15, /*hidden argument*/NULL);
StringBuilder_Append_m1965104174(L_14, L_16, /*hidden argument*/NULL);
StringBuilder_t * L_17 = V_1;
StringBuilder_Append_m1965104174(L_17, _stringLiteral3452614530, /*hidden argument*/NULL);
StringBuilder_t * L_18 = V_1;
CultureInfo_t4157843068 * L_19 = CultureInfo_get_InvariantCulture_m3532445182(NULL /*static, unused*/, /*hidden argument*/NULL);
String_t* L_20 = Byte_ToString_m2335342258((uint8_t*)(&V_3), L_19, /*hidden argument*/NULL);
StringBuilder_Append_m1965104174(L_18, L_20, /*hidden argument*/NULL);
V_4 = (((int64_t)((int64_t)0)));
V_2 = (uint8_t)1;
goto IL_00c9;
}
IL_007f:
{
uint64_t L_21 = V_4;
ByteU5BU5D_t4116647657* L_22 = V_0;
uint8_t L_23 = V_2;
uint8_t L_24 = L_23;
uint8_t L_25 = (L_22)->GetAtUnchecked(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_t4116647657* L_26 = V_0;
uint8_t L_27 = V_2;
uint8_t L_28 = L_27;
uint8_t L_29 = (L_26)->GetAtUnchecked(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_t * L_30 = V_1;
StringBuilder_Append_m1965104174(L_30, _stringLiteral3452614530, /*hidden argument*/NULL);
StringBuilder_t * L_31 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t4157843068_il2cpp_TypeInfo_var);
CultureInfo_t4157843068 * L_32 = CultureInfo_get_InvariantCulture_m3532445182(NULL /*static, unused*/, /*hidden argument*/NULL);
String_t* L_33 = UInt64_ToString_m2623377370((uint64_t*)(&V_4), L_32, /*hidden argument*/NULL);
StringBuilder_Append_m1965104174(L_31, L_33, /*hidden argument*/NULL);
V_4 = (((int64_t)((int64_t)0)));
}
IL_00c4:
{
uint8_t L_34 = V_2;
V_2 = (uint8_t)(((int32_t)((uint8_t)((int32_t)il2cpp_codegen_add((int32_t)L_34, (int32_t)1)))));
}
IL_00c9:
{
uint8_t L_35 = V_2;
ByteU5BU5D_t4116647657* L_36 = V_0;
if ((((int32_t)L_35) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_36)->max_length)))))))
{
goto IL_007f;
}
}
{
StringBuilder_t * L_37 = V_1;
String_t* L_38 = StringBuilder_ToString_m3317489284(L_37, /*hidden argument*/NULL);
return L_38;
}
}
// System.DateTime Mono.Security.ASN1Convert::ToDateTime(Mono.Security.ASN1)
extern "C" IL2CPP_METHOD_ATTR DateTime_t3738529785 ASN1Convert_ToDateTime_m1246060840 (RuntimeObject * __this /* static, unused */, ASN1_t2114160833 * ___time0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1Convert_ToDateTime_m1246060840_MetadataUsageId);
s_Il2CppMethodInitialized = 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_t2114160833 * L_0 = ___time0;
if (L_0)
{
goto IL_0011;
}
}
{
ArgumentNullException_t1615371798 * L_1 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_1, _stringLiteral63249541, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, ASN1Convert_ToDateTime_m1246060840_RuntimeMethod_var);
}
IL_0011:
{
IL2CPP_RUNTIME_CLASS_INIT(Encoding_t1523322056_il2cpp_TypeInfo_var);
Encoding_t1523322056 * L_2 = Encoding_get_ASCII_m3595602635(NULL /*static, unused*/, /*hidden argument*/NULL);
ASN1_t2114160833 * L_3 = ___time0;
ByteU5BU5D_t4116647657* L_4 = ASN1_get_Value_m63296490(L_3, /*hidden argument*/NULL);
String_t* L_5 = VirtFuncInvoker1< String_t*, ByteU5BU5D_t4116647657* >::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_m3847582255(L_6, /*hidden argument*/NULL);
V_5 = L_7;
int32_t L_8 = V_5;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_8, (int32_t)((int32_t)11))))
{
case 0:
{
goto IL_0057;
}
case 1:
{
goto IL_016b;
}
case 2:
{
goto IL_0062;
}
case 3:
{
goto IL_016b;
}
case 4:
{
goto IL_00a5;
}
case 5:
{
goto IL_016b;
}
case 6:
{
goto IL_00b0;
}
}
}
{
goto IL_016b;
}
IL_0057:
{
V_1 = _stringLiteral3346400495;
goto IL_016b;
}
IL_0062:
{
String_t* L_9 = V_0;
String_t* L_10 = String_Substring_m1610150815(L_9, 0, 2, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t4157843068_il2cpp_TypeInfo_var);
CultureInfo_t4157843068 * L_11 = CultureInfo_get_InvariantCulture_m3532445182(NULL /*static, unused*/, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Convert_t2465617642_il2cpp_TypeInfo_var);
int16_t L_12 = Convert_ToInt16_m3185404879(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_m3937257545(NULL /*static, unused*/, _stringLiteral3452024719, 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_m3937257545(NULL /*static, unused*/, _stringLiteral3451565966, L_16, /*hidden argument*/NULL);
V_0 = L_17;
}
IL_009a:
{
V_1 = _stringLiteral924502160;
goto IL_016b;
}
IL_00a5:
{
V_1 = _stringLiteral924502160;
goto IL_016b;
}
IL_00b0:
{
String_t* L_18 = V_0;
String_t* L_19 = String_Substring_m1610150815(L_18, 0, 2, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t4157843068_il2cpp_TypeInfo_var);
CultureInfo_t4157843068 * L_20 = CultureInfo_get_InvariantCulture_m3532445182(NULL /*static, unused*/, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Convert_t2465617642_il2cpp_TypeInfo_var);
int16_t L_21 = Convert_ToInt16_m3185404879(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 = _stringLiteral3452024719;
goto IL_00da;
}
IL_00d5:
{
G_B13_0 = _stringLiteral3451565966;
}
IL_00da:
{
V_3 = G_B13_0;
String_t* L_23 = V_0;
Il2CppChar L_24 = String_get_Chars_m2986988803(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_t2843939325* L_25 = (ObjectU5BU5D_t2843939325*)SZArrayNew(ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var, (uint32_t)7);
ObjectU5BU5D_t2843939325* L_26 = L_25;
String_t* L_27 = V_3;
ArrayElementTypeCheck (L_26, L_27);
(L_26)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_27);
ObjectU5BU5D_t2843939325* L_28 = L_26;
String_t* L_29 = V_0;
String_t* L_30 = String_Substring_m1610150815(L_29, 0, ((int32_t)12), /*hidden argument*/NULL);
ArrayElementTypeCheck (L_28, L_30);
(L_28)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)L_30);
ObjectU5BU5D_t2843939325* L_31 = L_28;
Il2CppChar L_32 = V_4;
Il2CppChar L_33 = L_32;
RuntimeObject * L_34 = Box(Char_t3634460470_il2cpp_TypeInfo_var, &L_33);
ArrayElementTypeCheck (L_31, L_34);
(L_31)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (RuntimeObject *)L_34);
ObjectU5BU5D_t2843939325* L_35 = L_31;
String_t* L_36 = V_0;
Il2CppChar L_37 = String_get_Chars_m2986988803(L_36, ((int32_t)13), /*hidden argument*/NULL);
Il2CppChar L_38 = L_37;
RuntimeObject * L_39 = Box(Char_t3634460470_il2cpp_TypeInfo_var, &L_38);
ArrayElementTypeCheck (L_35, L_39);
(L_35)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(3), (RuntimeObject *)L_39);
ObjectU5BU5D_t2843939325* L_40 = L_35;
String_t* L_41 = V_0;
Il2CppChar L_42 = String_get_Chars_m2986988803(L_41, ((int32_t)14), /*hidden argument*/NULL);
Il2CppChar L_43 = L_42;
RuntimeObject * L_44 = Box(Char_t3634460470_il2cpp_TypeInfo_var, &L_43);
ArrayElementTypeCheck (L_40, L_44);
(L_40)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(4), (RuntimeObject *)L_44);
ObjectU5BU5D_t2843939325* L_45 = L_40;
String_t* L_46 = V_0;
Il2CppChar L_47 = String_get_Chars_m2986988803(L_46, ((int32_t)15), /*hidden argument*/NULL);
Il2CppChar L_48 = L_47;
RuntimeObject * L_49 = Box(Char_t3634460470_il2cpp_TypeInfo_var, &L_48);
ArrayElementTypeCheck (L_45, L_49);
(L_45)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(5), (RuntimeObject *)L_49);
ObjectU5BU5D_t2843939325* L_50 = L_45;
String_t* L_51 = V_0;
Il2CppChar L_52 = String_get_Chars_m2986988803(L_51, ((int32_t)16), /*hidden argument*/NULL);
Il2CppChar L_53 = L_52;
RuntimeObject * L_54 = Box(Char_t3634460470_il2cpp_TypeInfo_var, &L_53);
ArrayElementTypeCheck (L_50, L_54);
(L_50)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(6), (RuntimeObject *)L_54);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_55 = String_Format_m630303134(NULL /*static, unused*/, _stringLiteral3005829114, L_50, /*hidden argument*/NULL);
V_0 = L_55;
V_1 = _stringLiteral587613957;
goto IL_016b;
}
IL_016b:
{
String_t* L_56 = V_0;
String_t* L_57 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t4157843068_il2cpp_TypeInfo_var);
CultureInfo_t4157843068 * L_58 = CultureInfo_get_InvariantCulture_m3532445182(NULL /*static, unused*/, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t3738529785_il2cpp_TypeInfo_var);
DateTime_t3738529785 L_59 = DateTime_ParseExact_m2711902273(NULL /*static, unused*/, L_56, L_57, L_58, ((int32_t)16), /*hidden argument*/NULL);
return L_59;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Byte[] Mono.Security.BitConverterLE::GetUIntBytes(System.Byte*)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* BitConverterLE_GetUIntBytes_m795219058 (RuntimeObject * __this /* static, unused */, uint8_t* ___bytes0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BitConverterLE_GetUIntBytes_m795219058_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(BitConverter_t3118986983_il2cpp_TypeInfo_var);
bool L_0 = ((BitConverter_t3118986983_StaticFields*)il2cpp_codegen_static_fields_for(BitConverter_t3118986983_il2cpp_TypeInfo_var))->get_IsLittleEndian_1();
if (!L_0)
{
goto IL_002b;
}
}
{
ByteU5BU5D_t4116647657* L_1 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)4);
ByteU5BU5D_t4116647657* L_2 = L_1;
uint8_t* L_3 = ___bytes0;
(L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (uint8_t)(*((uint8_t*)L_3)));
ByteU5BU5D_t4116647657* L_4 = L_2;
uint8_t* L_5 = ___bytes0;
(L_4)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (uint8_t)(*((uint8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_5, (int32_t)1)))));
ByteU5BU5D_t4116647657* L_6 = L_4;
uint8_t* L_7 = ___bytes0;
(L_6)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (uint8_t)(*((uint8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_7, (int32_t)2)))));
ByteU5BU5D_t4116647657* L_8 = L_6;
uint8_t* L_9 = ___bytes0;
(L_8)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(3), (uint8_t)(*((uint8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_9, (int32_t)3)))));
return L_8;
}
IL_002b:
{
ByteU5BU5D_t4116647657* L_10 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)4);
ByteU5BU5D_t4116647657* L_11 = L_10;
uint8_t* L_12 = ___bytes0;
(L_11)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (uint8_t)(*((uint8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_12, (int32_t)3)))));
ByteU5BU5D_t4116647657* L_13 = L_11;
uint8_t* L_14 = ___bytes0;
(L_13)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (uint8_t)(*((uint8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_14, (int32_t)2)))));
ByteU5BU5D_t4116647657* L_15 = L_13;
uint8_t* L_16 = ___bytes0;
(L_15)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (uint8_t)(*((uint8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_16, (int32_t)1)))));
ByteU5BU5D_t4116647657* L_17 = L_15;
uint8_t* L_18 = ___bytes0;
(L_17)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(3), (uint8_t)(*((uint8_t*)L_18)));
return L_17;
}
}
// System.Byte[] Mono.Security.BitConverterLE::GetBytes(System.Int32)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* BitConverterLE_GetBytes_m3268825786 (RuntimeObject * __this /* static, unused */, int32_t ___value0, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = BitConverterLE_GetUIntBytes_m795219058(NULL /*static, unused*/, (uint8_t*)(uint8_t*)(&___value0), /*hidden argument*/NULL);
return L_0;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Cryptography.ARC4Managed::.ctor()
extern "C" IL2CPP_METHOD_ATTR void ARC4Managed__ctor_m2553537404 (ARC4Managed_t2641858452 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARC4Managed__ctor_m2553537404_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(RC4_t2752556436_il2cpp_TypeInfo_var);
RC4__ctor_m3531760091(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_0 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)256));
__this->set_state_13(L_0);
__this->set_m_disposed_16((bool)0);
return;
}
}
// System.Void Mono.Security.Cryptography.ARC4Managed::Finalize()
extern "C" IL2CPP_METHOD_ATTR void ARC4Managed_Finalize_m315143160 (ARC4Managed_t2641858452 * __this, const RuntimeMethod* method)
{
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
IL_0000:
try
{ // begin try (depth: 1)
VirtActionInvoker1< bool >::Invoke(5 /* System.Void Mono.Security.Cryptography.ARC4Managed::Dispose(System.Boolean) */, __this, (bool)1);
IL2CPP_LEAVE(0x13, FINALLY_000c);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000c;
}
FINALLY_000c:
{ // begin finally (depth: 1)
SymmetricAlgorithm_Finalize_m2361523015(__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_t *)
}
IL_0013:
{
return;
}
}
// System.Void Mono.Security.Cryptography.ARC4Managed::Dispose(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void ARC4Managed_Dispose_m3340445210 (ARC4Managed_t2641858452 * __this, bool ___disposing0, const RuntimeMethod* method)
{
{
bool L_0 = __this->get_m_disposed_16();
if (L_0)
{
goto IL_0067;
}
}
{
__this->set_x_14((uint8_t)0);
__this->set_y_15((uint8_t)0);
ByteU5BU5D_t4116647657* L_1 = __this->get_key_12();
if (!L_1)
{
goto IL_003f;
}
}
{
ByteU5BU5D_t4116647657* L_2 = __this->get_key_12();
ByteU5BU5D_t4116647657* L_3 = __this->get_key_12();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_2, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length)))), /*hidden argument*/NULL);
__this->set_key_12((ByteU5BU5D_t4116647657*)NULL);
}
IL_003f:
{
ByteU5BU5D_t4116647657* L_4 = __this->get_state_13();
ByteU5BU5D_t4116647657* L_5 = __this->get_state_13();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_4, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_5)->max_length)))), /*hidden argument*/NULL);
__this->set_state_13((ByteU5BU5D_t4116647657*)NULL);
GC_SuppressFinalize_m1177400158(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
__this->set_m_disposed_16((bool)1);
}
IL_0067:
{
return;
}
}
// System.Byte[] Mono.Security.Cryptography.ARC4Managed::get_Key()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* ARC4Managed_get_Key_m2476146969 (ARC4Managed_t2641858452 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARC4Managed_get_Key_m2476146969_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_t4116647657* L_0 = __this->get_key_12();
RuntimeObject * L_1 = Array_Clone_m2672907798((RuntimeArray *)(RuntimeArray *)L_0, /*hidden argument*/NULL);
return ((ByteU5BU5D_t4116647657*)Castclass((RuntimeObject*)L_1, ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var));
}
}
// System.Void Mono.Security.Cryptography.ARC4Managed::set_Key(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void ARC4Managed_set_Key_m859266296 (ARC4Managed_t2641858452 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARC4Managed_set_Key_m859266296_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_t4116647657* L_0 = ___value0;
RuntimeObject * L_1 = Array_Clone_m2672907798((RuntimeArray *)(RuntimeArray *)L_0, /*hidden argument*/NULL);
__this->set_key_12(((ByteU5BU5D_t4116647657*)Castclass((RuntimeObject*)L_1, ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var)));
ByteU5BU5D_t4116647657* L_2 = __this->get_key_12();
ARC4Managed_KeySetup_m2449315676(__this, L_2, /*hidden argument*/NULL);
return;
}
}
// System.Boolean Mono.Security.Cryptography.ARC4Managed::get_CanReuseTransform()
extern "C" IL2CPP_METHOD_ATTR bool ARC4Managed_get_CanReuseTransform_m1145713138 (ARC4Managed_t2641858452 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Security.Cryptography.ICryptoTransform Mono.Security.Cryptography.ARC4Managed::CreateEncryptor(System.Byte[],System.Byte[])
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* ARC4Managed_CreateEncryptor_m2249585492 (ARC4Managed_t2641858452 * __this, ByteU5BU5D_t4116647657* ___rgbKey0, ByteU5BU5D_t4116647657* ___rgvIV1, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = ___rgbKey0;
VirtActionInvoker1< ByteU5BU5D_t4116647657* >::Invoke(12 /* System.Void Mono.Security.Cryptography.ARC4Managed::set_Key(System.Byte[]) */, __this, L_0);
return __this;
}
}
// System.Security.Cryptography.ICryptoTransform Mono.Security.Cryptography.ARC4Managed::CreateDecryptor(System.Byte[],System.Byte[])
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* ARC4Managed_CreateDecryptor_m1966583816 (ARC4Managed_t2641858452 * __this, ByteU5BU5D_t4116647657* ___rgbKey0, ByteU5BU5D_t4116647657* ___rgvIV1, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = ___rgbKey0;
VirtActionInvoker1< ByteU5BU5D_t4116647657* >::Invoke(12 /* System.Void Mono.Security.Cryptography.ARC4Managed::set_Key(System.Byte[]) */, __this, L_0);
RuntimeObject* L_1 = VirtFuncInvoker0< RuntimeObject* >::Invoke(22 /* System.Security.Cryptography.ICryptoTransform System.Security.Cryptography.SymmetricAlgorithm::CreateEncryptor() */, __this);
return L_1;
}
}
// System.Void Mono.Security.Cryptography.ARC4Managed::GenerateIV()
extern "C" IL2CPP_METHOD_ATTR void ARC4Managed_GenerateIV_m2029637723 (ARC4Managed_t2641858452 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARC4Managed_GenerateIV_m2029637723_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_t4116647657* L_0 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)0);
VirtActionInvoker1< ByteU5BU5D_t4116647657* >::Invoke(10 /* System.Void Mono.Security.Cryptography.RC4::set_IV(System.Byte[]) */, __this, L_0);
return;
}
}
// System.Void Mono.Security.Cryptography.ARC4Managed::GenerateKey()
extern "C" IL2CPP_METHOD_ATTR void ARC4Managed_GenerateKey_m1607343060 (ARC4Managed_t2641858452 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = ((SymmetricAlgorithm_t4254223087 *)__this)->get_KeySizeValue_2();
ByteU5BU5D_t4116647657* L_1 = KeyBuilder_Key_m1482371611(NULL /*static, unused*/, ((int32_t)((int32_t)L_0>>(int32_t)3)), /*hidden argument*/NULL);
VirtActionInvoker1< ByteU5BU5D_t4116647657* >::Invoke(12 /* System.Void Mono.Security.Cryptography.ARC4Managed::set_Key(System.Byte[]) */, __this, L_1);
return;
}
}
// System.Void Mono.Security.Cryptography.ARC4Managed::KeySetup(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void ARC4Managed_KeySetup_m2449315676 (ARC4Managed_t2641858452 * __this, ByteU5BU5D_t4116647657* ___key0, const RuntimeMethod* method)
{
uint8_t V_0 = 0x0;
uint8_t V_1 = 0x0;
int32_t V_2 = 0;
int32_t V_3 = 0;
uint8_t V_4 = 0x0;
{
V_0 = (uint8_t)0;
V_1 = (uint8_t)0;
V_2 = 0;
goto IL_0019;
}
IL_000b:
{
ByteU5BU5D_t4116647657* L_0 = __this->get_state_13();
int32_t L_1 = V_2;
int32_t L_2 = V_2;
(L_0)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_1), (uint8_t)(((int32_t)((uint8_t)L_2))));
int32_t L_3 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1));
}
IL_0019:
{
int32_t L_4 = V_2;
if ((((int32_t)L_4) < ((int32_t)((int32_t)256))))
{
goto IL_000b;
}
}
{
__this->set_x_14((uint8_t)0);
__this->set_y_15((uint8_t)0);
V_3 = 0;
goto IL_007a;
}
IL_0039:
{
ByteU5BU5D_t4116647657* L_5 = ___key0;
uint8_t L_6 = V_0;
uint8_t L_7 = L_6;
uint8_t L_8 = (L_5)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7));
ByteU5BU5D_t4116647657* L_9 = __this->get_state_13();
int32_t L_10 = V_3;
int32_t L_11 = L_10;
uint8_t L_12 = (L_9)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_11));
uint8_t L_13 = V_1;
V_1 = (uint8_t)(((int32_t)((uint8_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_12)), (int32_t)L_13)))));
ByteU5BU5D_t4116647657* L_14 = __this->get_state_13();
int32_t L_15 = V_3;
int32_t L_16 = L_15;
uint8_t L_17 = (L_14)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_16));
V_4 = L_17;
ByteU5BU5D_t4116647657* L_18 = __this->get_state_13();
int32_t L_19 = V_3;
ByteU5BU5D_t4116647657* L_20 = __this->get_state_13();
uint8_t L_21 = V_1;
uint8_t L_22 = L_21;
uint8_t L_23 = (L_20)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_22));
(L_18)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_19), (uint8_t)L_23);
ByteU5BU5D_t4116647657* L_24 = __this->get_state_13();
uint8_t L_25 = V_1;
uint8_t L_26 = V_4;
(L_24)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_25), (uint8_t)L_26);
uint8_t L_27 = V_0;
ByteU5BU5D_t4116647657* L_28 = ___key0;
V_0 = (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_27, (int32_t)1))%(int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_28)->max_length)))))))));
int32_t L_29 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
}
IL_007a:
{
int32_t L_30 = V_3;
if ((((int32_t)L_30) < ((int32_t)((int32_t)256))))
{
goto IL_0039;
}
}
{
return;
}
}
// System.Void Mono.Security.Cryptography.ARC4Managed::CheckInput(System.Byte[],System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void ARC4Managed_CheckInput_m1562172012 (ARC4Managed_t2641858452 * __this, ByteU5BU5D_t4116647657* ___inputBuffer0, int32_t ___inputOffset1, int32_t ___inputCount2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARC4Managed_CheckInput_m1562172012_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_t4116647657* L_0 = ___inputBuffer0;
if (L_0)
{
goto IL_0011;
}
}
{
ArgumentNullException_t1615371798 * L_1 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_1, _stringLiteral3152468735, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, ARC4Managed_CheckInput_m1562172012_RuntimeMethod_var);
}
IL_0011:
{
int32_t L_2 = ___inputOffset1;
if ((((int32_t)L_2) >= ((int32_t)0)))
{
goto IL_0028;
}
}
{
ArgumentOutOfRangeException_t777629997 * L_3 = (ArgumentOutOfRangeException_t777629997 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m282481429(L_3, _stringLiteral2167393519, _stringLiteral3073595182, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, ARC4Managed_CheckInput_m1562172012_RuntimeMethod_var);
}
IL_0028:
{
int32_t L_4 = ___inputCount2;
if ((((int32_t)L_4) >= ((int32_t)0)))
{
goto IL_003f;
}
}
{
ArgumentOutOfRangeException_t777629997 * L_5 = (ArgumentOutOfRangeException_t777629997 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m282481429(L_5, _stringLiteral438779933, _stringLiteral3073595182, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, ARC4Managed_CheckInput_m1562172012_RuntimeMethod_var);
}
IL_003f:
{
int32_t L_6 = ___inputOffset1;
ByteU5BU5D_t4116647657* L_7 = ___inputBuffer0;
int32_t L_8 = ___inputCount2;
if ((((int32_t)L_6) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_7)->max_length)))), (int32_t)L_8)))))
{
goto IL_005f;
}
}
{
String_t* L_9 = Locale_GetText_m3520169047(NULL /*static, unused*/, _stringLiteral251636811, /*hidden argument*/NULL);
ArgumentException_t132251570 * L_10 = (ArgumentException_t132251570 *)il2cpp_codegen_object_new(ArgumentException_t132251570_il2cpp_TypeInfo_var);
ArgumentException__ctor_m1216717135(L_10, _stringLiteral3152468735, L_9, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, NULL, ARC4Managed_CheckInput_m1562172012_RuntimeMethod_var);
}
IL_005f:
{
return;
}
}
// System.Int32 Mono.Security.Cryptography.ARC4Managed::TransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t ARC4Managed_TransformBlock_m1687647868 (ARC4Managed_t2641858452 * __this, ByteU5BU5D_t4116647657* ___inputBuffer0, int32_t ___inputOffset1, int32_t ___inputCount2, ByteU5BU5D_t4116647657* ___outputBuffer3, int32_t ___outputOffset4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARC4Managed_TransformBlock_m1687647868_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_t4116647657* L_0 = ___inputBuffer0;
int32_t L_1 = ___inputOffset1;
int32_t L_2 = ___inputCount2;
ARC4Managed_CheckInput_m1562172012(__this, L_0, L_1, L_2, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_3 = ___outputBuffer3;
if (L_3)
{
goto IL_001b;
}
}
{
ArgumentNullException_t1615371798 * L_4 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_4, _stringLiteral2053830539, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, ARC4Managed_TransformBlock_m1687647868_RuntimeMethod_var);
}
IL_001b:
{
int32_t L_5 = ___outputOffset4;
if ((((int32_t)L_5) >= ((int32_t)0)))
{
goto IL_0033;
}
}
{
ArgumentOutOfRangeException_t777629997 * L_6 = (ArgumentOutOfRangeException_t777629997 *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t777629997_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m282481429(L_6, _stringLiteral1561769044, _stringLiteral3073595182, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, ARC4Managed_TransformBlock_m1687647868_RuntimeMethod_var);
}
IL_0033:
{
int32_t L_7 = ___outputOffset4;
ByteU5BU5D_t4116647657* L_8 = ___outputBuffer3;
int32_t L_9 = ___inputCount2;
if ((((int32_t)L_7) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_8)->max_length)))), (int32_t)L_9)))))
{
goto IL_0055;
}
}
{
String_t* L_10 = Locale_GetText_m3520169047(NULL /*static, unused*/, _stringLiteral251636811, /*hidden argument*/NULL);
ArgumentException_t132251570 * L_11 = (ArgumentException_t132251570 *)il2cpp_codegen_object_new(ArgumentException_t132251570_il2cpp_TypeInfo_var);
ArgumentException__ctor_m1216717135(L_11, _stringLiteral2053830539, L_10, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_11, NULL, ARC4Managed_TransformBlock_m1687647868_RuntimeMethod_var);
}
IL_0055:
{
ByteU5BU5D_t4116647657* L_12 = ___inputBuffer0;
int32_t L_13 = ___inputOffset1;
int32_t L_14 = ___inputCount2;
ByteU5BU5D_t4116647657* L_15 = ___outputBuffer3;
int32_t L_16 = ___outputOffset4;
int32_t L_17 = ARC4Managed_InternalTransformBlock_m1047162329(__this, L_12, L_13, L_14, L_15, L_16, /*hidden argument*/NULL);
return L_17;
}
}
// System.Int32 Mono.Security.Cryptography.ARC4Managed::InternalTransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32)
extern "C" IL2CPP_METHOD_ATTR int32_t ARC4Managed_InternalTransformBlock_m1047162329 (ARC4Managed_t2641858452 * __this, ByteU5BU5D_t4116647657* ___inputBuffer0, int32_t ___inputOffset1, int32_t ___inputCount2, ByteU5BU5D_t4116647657* ___outputBuffer3, int32_t ___outputOffset4, const RuntimeMethod* method)
{
uint8_t V_0 = 0x0;
int32_t V_1 = 0;
uint8_t V_2 = 0x0;
{
V_1 = 0;
goto IL_009e;
}
IL_0007:
{
uint8_t L_0 = __this->get_x_14();
__this->set_x_14((uint8_t)(((int32_t)((uint8_t)((int32_t)il2cpp_codegen_add((int32_t)L_0, (int32_t)1))))));
ByteU5BU5D_t4116647657* L_1 = __this->get_state_13();
uint8_t L_2 = __this->get_x_14();
uint8_t L_3 = L_2;
uint8_t L_4 = (L_1)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3));
uint8_t L_5 = __this->get_y_15();
__this->set_y_15((uint8_t)(((int32_t)((uint8_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)L_5))))));
ByteU5BU5D_t4116647657* L_6 = __this->get_state_13();
uint8_t L_7 = __this->get_x_14();
uint8_t L_8 = L_7;
uint8_t L_9 = (L_6)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_8));
V_2 = L_9;
ByteU5BU5D_t4116647657* L_10 = __this->get_state_13();
uint8_t L_11 = __this->get_x_14();
ByteU5BU5D_t4116647657* L_12 = __this->get_state_13();
uint8_t L_13 = __this->get_y_15();
uint8_t L_14 = L_13;
uint8_t L_15 = (L_12)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_14));
(L_10)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_11), (uint8_t)L_15);
ByteU5BU5D_t4116647657* L_16 = __this->get_state_13();
uint8_t L_17 = __this->get_y_15();
uint8_t L_18 = V_2;
(L_16)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_17), (uint8_t)L_18);
ByteU5BU5D_t4116647657* L_19 = __this->get_state_13();
uint8_t L_20 = __this->get_x_14();
uint8_t L_21 = L_20;
uint8_t L_22 = (L_19)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_21));
ByteU5BU5D_t4116647657* L_23 = __this->get_state_13();
uint8_t L_24 = __this->get_y_15();
uint8_t L_25 = L_24;
uint8_t L_26 = (L_23)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_25));
V_0 = (uint8_t)(((int32_t)((uint8_t)((int32_t)il2cpp_codegen_add((int32_t)L_22, (int32_t)L_26)))));
ByteU5BU5D_t4116647657* L_27 = ___outputBuffer3;
int32_t L_28 = ___outputOffset4;
int32_t L_29 = V_1;
ByteU5BU5D_t4116647657* L_30 = ___inputBuffer0;
int32_t L_31 = ___inputOffset1;
int32_t L_32 = V_1;
int32_t L_33 = ((int32_t)il2cpp_codegen_add((int32_t)L_31, (int32_t)L_32));
uint8_t L_34 = (L_30)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_33));
ByteU5BU5D_t4116647657* L_35 = __this->get_state_13();
uint8_t L_36 = V_0;
uint8_t L_37 = L_36;
uint8_t L_38 = (L_35)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_37));
(L_27)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_28, (int32_t)L_29))), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_34^(int32_t)L_38))))));
int32_t L_39 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_39, (int32_t)1));
}
IL_009e:
{
int32_t L_40 = V_1;
int32_t L_41 = ___inputCount2;
if ((((int32_t)L_40) < ((int32_t)L_41)))
{
goto IL_0007;
}
}
{
int32_t L_42 = ___inputCount2;
return L_42;
}
}
// System.Byte[] Mono.Security.Cryptography.ARC4Managed::TransformFinalBlock(System.Byte[],System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* ARC4Managed_TransformFinalBlock_m2223084380 (ARC4Managed_t2641858452 * __this, ByteU5BU5D_t4116647657* ___inputBuffer0, int32_t ___inputOffset1, int32_t ___inputCount2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ARC4Managed_TransformFinalBlock_m2223084380_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_t4116647657* V_0 = NULL;
{
ByteU5BU5D_t4116647657* L_0 = ___inputBuffer0;
int32_t L_1 = ___inputOffset1;
int32_t L_2 = ___inputCount2;
ARC4Managed_CheckInput_m1562172012(__this, L_0, L_1, L_2, /*hidden argument*/NULL);
int32_t L_3 = ___inputCount2;
ByteU5BU5D_t4116647657* L_4 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_3);
V_0 = L_4;
ByteU5BU5D_t4116647657* L_5 = ___inputBuffer0;
int32_t L_6 = ___inputOffset1;
int32_t L_7 = ___inputCount2;
ByteU5BU5D_t4116647657* L_8 = V_0;
ARC4Managed_InternalTransformBlock_m1047162329(__this, L_5, L_6, L_7, L_8, 0, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_9 = V_0;
return L_9;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.String Mono.Security.Cryptography.CryptoConvert::ToHex(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR String_t* CryptoConvert_ToHex_m4034982758 (RuntimeObject * __this /* static, unused */, ByteU5BU5D_t4116647657* ___input0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CryptoConvert_ToHex_m4034982758_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StringBuilder_t * V_0 = NULL;
uint8_t V_1 = 0x0;
ByteU5BU5D_t4116647657* V_2 = NULL;
int32_t V_3 = 0;
{
ByteU5BU5D_t4116647657* L_0 = ___input0;
if (L_0)
{
goto IL_0008;
}
}
{
return (String_t*)NULL;
}
IL_0008:
{
ByteU5BU5D_t4116647657* L_1 = ___input0;
StringBuilder_t * L_2 = (StringBuilder_t *)il2cpp_codegen_object_new(StringBuilder_t_il2cpp_TypeInfo_var);
StringBuilder__ctor_m2367297767(L_2, ((int32_t)il2cpp_codegen_multiply((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_1)->max_length)))), (int32_t)2)), /*hidden argument*/NULL);
V_0 = L_2;
ByteU5BU5D_t4116647657* L_3 = ___input0;
V_2 = L_3;
V_3 = 0;
goto IL_003c;
}
IL_001c:
{
ByteU5BU5D_t4116647657* L_4 = V_2;
int32_t L_5 = V_3;
int32_t L_6 = L_5;
uint8_t L_7 = (L_4)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_6));
V_1 = L_7;
StringBuilder_t * L_8 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t4157843068_il2cpp_TypeInfo_var);
CultureInfo_t4157843068 * L_9 = CultureInfo_get_InvariantCulture_m3532445182(NULL /*static, unused*/, /*hidden argument*/NULL);
String_t* L_10 = Byte_ToString_m4063101981((uint8_t*)(&V_1), _stringLiteral3451435000, L_9, /*hidden argument*/NULL);
StringBuilder_Append_m1965104174(L_8, L_10, /*hidden argument*/NULL);
int32_t L_11 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_003c:
{
int32_t L_12 = V_3;
ByteU5BU5D_t4116647657* L_13 = V_2;
if ((((int32_t)L_12) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_13)->max_length)))))))
{
goto IL_001c;
}
}
{
StringBuilder_t * L_14 = V_0;
String_t* L_15 = StringBuilder_ToString_m3317489284(L_14, /*hidden argument*/NULL);
return L_15;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Cryptography.HMAC::.ctor(System.String,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void HMAC__ctor_m775015853 (HMAC_t3689525210 * __this, String_t* ___hashName0, ByteU5BU5D_t4116647657* ___rgbKey1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (HMAC__ctor_m775015853_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
KeyedHashAlgorithm__ctor_m4053775756(__this, /*hidden argument*/NULL);
String_t* L_0 = ___hashName0;
if (!L_0)
{
goto IL_0017;
}
}
{
String_t* L_1 = ___hashName0;
int32_t L_2 = String_get_Length_m3847582255(L_1, /*hidden argument*/NULL);
if (L_2)
{
goto IL_001e;
}
}
IL_0017:
{
___hashName0 = _stringLiteral3839139460;
}
IL_001e:
{
String_t* L_3 = ___hashName0;
HashAlgorithm_t1432317219 * L_4 = HashAlgorithm_Create_m644612360(NULL /*static, unused*/, L_3, /*hidden argument*/NULL);
__this->set_hash_5(L_4);
HashAlgorithm_t1432317219 * L_5 = __this->get_hash_5();
int32_t L_6 = VirtFuncInvoker0< int32_t >::Invoke(12 /* System.Int32 System.Security.Cryptography.HashAlgorithm::get_HashSize() */, L_5);
((HashAlgorithm_t1432317219 *)__this)->set_HashSizeValue_1(L_6);
ByteU5BU5D_t4116647657* L_7 = ___rgbKey1;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_7)->max_length))))) <= ((int32_t)((int32_t)64))))
{
goto IL_005c;
}
}
{
HashAlgorithm_t1432317219 * L_8 = __this->get_hash_5();
ByteU5BU5D_t4116647657* L_9 = ___rgbKey1;
ByteU5BU5D_t4116647657* L_10 = HashAlgorithm_ComputeHash_m2825542963(L_8, L_9, /*hidden argument*/NULL);
((KeyedHashAlgorithm_t112861511 *)__this)->set_KeyValue_4(L_10);
goto IL_006d;
}
IL_005c:
{
ByteU5BU5D_t4116647657* L_11 = ___rgbKey1;
RuntimeObject * L_12 = Array_Clone_m2672907798((RuntimeArray *)(RuntimeArray *)L_11, /*hidden argument*/NULL);
((KeyedHashAlgorithm_t112861511 *)__this)->set_KeyValue_4(((ByteU5BU5D_t4116647657*)Castclass((RuntimeObject*)L_12, ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var)));
}
IL_006d:
{
VirtActionInvoker0::Invoke(13 /* System.Void Mono.Security.Cryptography.HMAC::Initialize() */, __this);
return;
}
}
// System.Byte[] Mono.Security.Cryptography.HMAC::get_Key()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* HMAC_get_Key_m1410673610 (HMAC_t3689525210 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (HMAC_get_Key_m1410673610_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_t4116647657* L_0 = ((KeyedHashAlgorithm_t112861511 *)__this)->get_KeyValue_4();
RuntimeObject * L_1 = Array_Clone_m2672907798((RuntimeArray *)(RuntimeArray *)L_0, /*hidden argument*/NULL);
return ((ByteU5BU5D_t4116647657*)Castclass((RuntimeObject*)L_1, ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var));
}
}
// System.Void Mono.Security.Cryptography.HMAC::set_Key(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void HMAC_set_Key_m3535779141 (HMAC_t3689525210 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (HMAC_set_Key_m3535779141_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = __this->get_hashing_6();
if (!L_0)
{
goto IL_0016;
}
}
{
Exception_t * L_1 = (Exception_t *)il2cpp_codegen_object_new(Exception_t_il2cpp_TypeInfo_var);
Exception__ctor_m1152696503(L_1, _stringLiteral3906129098, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, HMAC_set_Key_m3535779141_RuntimeMethod_var);
}
IL_0016:
{
ByteU5BU5D_t4116647657* L_2 = ___value0;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_2)->max_length))))) <= ((int32_t)((int32_t)64))))
{
goto IL_0037;
}
}
{
HashAlgorithm_t1432317219 * L_3 = __this->get_hash_5();
ByteU5BU5D_t4116647657* L_4 = ___value0;
ByteU5BU5D_t4116647657* L_5 = HashAlgorithm_ComputeHash_m2825542963(L_3, L_4, /*hidden argument*/NULL);
((KeyedHashAlgorithm_t112861511 *)__this)->set_KeyValue_4(L_5);
goto IL_0048;
}
IL_0037:
{
ByteU5BU5D_t4116647657* L_6 = ___value0;
RuntimeObject * L_7 = Array_Clone_m2672907798((RuntimeArray *)(RuntimeArray *)L_6, /*hidden argument*/NULL);
((KeyedHashAlgorithm_t112861511 *)__this)->set_KeyValue_4(((ByteU5BU5D_t4116647657*)Castclass((RuntimeObject*)L_7, ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var)));
}
IL_0048:
{
HMAC_initializePad_m59014980(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Cryptography.HMAC::Initialize()
extern "C" IL2CPP_METHOD_ATTR void HMAC_Initialize_m4068357959 (HMAC_t3689525210 * __this, const RuntimeMethod* method)
{
{
HashAlgorithm_t1432317219 * L_0 = __this->get_hash_5();
VirtActionInvoker0::Invoke(13 /* System.Void System.Security.Cryptography.HashAlgorithm::Initialize() */, L_0);
HMAC_initializePad_m59014980(__this, /*hidden argument*/NULL);
__this->set_hashing_6((bool)0);
return;
}
}
// System.Byte[] Mono.Security.Cryptography.HMAC::HashFinal()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* HMAC_HashFinal_m1453827676 (HMAC_t3689525210 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (HMAC_HashFinal_m1453827676_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_t4116647657* V_0 = NULL;
{
bool L_0 = __this->get_hashing_6();
if (L_0)
{
goto IL_0034;
}
}
{
HashAlgorithm_t1432317219 * L_1 = __this->get_hash_5();
ByteU5BU5D_t4116647657* L_2 = __this->get_innerPad_7();
ByteU5BU5D_t4116647657* L_3 = __this->get_innerPad_7();
ByteU5BU5D_t4116647657* L_4 = __this->get_innerPad_7();
HashAlgorithm_TransformBlock_m4006041779(L_1, L_2, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length)))), L_4, 0, /*hidden argument*/NULL);
__this->set_hashing_6((bool)1);
}
IL_0034:
{
HashAlgorithm_t1432317219 * L_5 = __this->get_hash_5();
ByteU5BU5D_t4116647657* L_6 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)0);
HashAlgorithm_TransformFinalBlock_m3005451348(L_5, L_6, 0, 0, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_7 = __this->get_hash_5();
ByteU5BU5D_t4116647657* L_8 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(9 /* System.Byte[] System.Security.Cryptography.HashAlgorithm::get_Hash() */, L_7);
V_0 = L_8;
HashAlgorithm_t1432317219 * L_9 = __this->get_hash_5();
VirtActionInvoker0::Invoke(13 /* System.Void System.Security.Cryptography.HashAlgorithm::Initialize() */, L_9);
HashAlgorithm_t1432317219 * L_10 = __this->get_hash_5();
ByteU5BU5D_t4116647657* L_11 = __this->get_outerPad_8();
ByteU5BU5D_t4116647657* L_12 = __this->get_outerPad_8();
ByteU5BU5D_t4116647657* L_13 = __this->get_outerPad_8();
HashAlgorithm_TransformBlock_m4006041779(L_10, L_11, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_12)->max_length)))), L_13, 0, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_14 = __this->get_hash_5();
ByteU5BU5D_t4116647657* L_15 = V_0;
ByteU5BU5D_t4116647657* L_16 = V_0;
HashAlgorithm_TransformFinalBlock_m3005451348(L_14, L_15, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_16)->max_length)))), /*hidden argument*/NULL);
VirtActionInvoker0::Invoke(13 /* System.Void Mono.Security.Cryptography.HMAC::Initialize() */, __this);
HashAlgorithm_t1432317219 * L_17 = __this->get_hash_5();
ByteU5BU5D_t4116647657* L_18 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(9 /* System.Byte[] System.Security.Cryptography.HashAlgorithm::get_Hash() */, L_17);
return L_18;
}
}
// System.Void Mono.Security.Cryptography.HMAC::HashCore(System.Byte[],System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void HMAC_HashCore_m1045651335 (HMAC_t3689525210 * __this, ByteU5BU5D_t4116647657* ___array0, int32_t ___ibStart1, int32_t ___cbSize2, const RuntimeMethod* method)
{
{
bool L_0 = __this->get_hashing_6();
if (L_0)
{
goto IL_0034;
}
}
{
HashAlgorithm_t1432317219 * L_1 = __this->get_hash_5();
ByteU5BU5D_t4116647657* L_2 = __this->get_innerPad_7();
ByteU5BU5D_t4116647657* L_3 = __this->get_innerPad_7();
ByteU5BU5D_t4116647657* L_4 = __this->get_innerPad_7();
HashAlgorithm_TransformBlock_m4006041779(L_1, L_2, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length)))), L_4, 0, /*hidden argument*/NULL);
__this->set_hashing_6((bool)1);
}
IL_0034:
{
HashAlgorithm_t1432317219 * L_5 = __this->get_hash_5();
ByteU5BU5D_t4116647657* L_6 = ___array0;
int32_t L_7 = ___ibStart1;
int32_t L_8 = ___cbSize2;
ByteU5BU5D_t4116647657* L_9 = ___array0;
int32_t L_10 = ___ibStart1;
HashAlgorithm_TransformBlock_m4006041779(L_5, L_6, L_7, L_8, L_9, L_10, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Cryptography.HMAC::initializePad()
extern "C" IL2CPP_METHOD_ATTR void HMAC_initializePad_m59014980 (HMAC_t3689525210 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (HMAC_initializePad_m59014980_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
ByteU5BU5D_t4116647657* L_0 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)64));
__this->set_innerPad_7(L_0);
ByteU5BU5D_t4116647657* L_1 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)64));
__this->set_outerPad_8(L_1);
V_0 = 0;
goto IL_004d;
}
IL_0021:
{
ByteU5BU5D_t4116647657* L_2 = __this->get_innerPad_7();
int32_t L_3 = V_0;
ByteU5BU5D_t4116647657* L_4 = ((KeyedHashAlgorithm_t112861511 *)__this)->get_KeyValue_4();
int32_t L_5 = V_0;
int32_t L_6 = L_5;
uint8_t L_7 = (L_4)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_6));
(L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_7^(int32_t)((int32_t)54)))))));
ByteU5BU5D_t4116647657* L_8 = __this->get_outerPad_8();
int32_t L_9 = V_0;
ByteU5BU5D_t4116647657* L_10 = ((KeyedHashAlgorithm_t112861511 *)__this)->get_KeyValue_4();
int32_t L_11 = V_0;
int32_t L_12 = L_11;
uint8_t L_13 = (L_10)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12));
(L_8)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_9), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_13^(int32_t)((int32_t)92)))))));
int32_t L_14 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1));
}
IL_004d:
{
int32_t L_15 = V_0;
ByteU5BU5D_t4116647657* L_16 = ((KeyedHashAlgorithm_t112861511 *)__this)->get_KeyValue_4();
if ((((int32_t)L_15) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_16)->max_length)))))))
{
goto IL_0021;
}
}
{
ByteU5BU5D_t4116647657* L_17 = ((KeyedHashAlgorithm_t112861511 *)__this)->get_KeyValue_4();
V_1 = (((int32_t)((int32_t)(((RuntimeArray *)L_17)->max_length))));
goto IL_0081;
}
IL_0069:
{
ByteU5BU5D_t4116647657* L_18 = __this->get_innerPad_7();
int32_t L_19 = V_1;
(L_18)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_19), (uint8_t)((int32_t)54));
ByteU5BU5D_t4116647657* L_20 = __this->get_outerPad_8();
int32_t L_21 = V_1;
(L_20)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_21), (uint8_t)((int32_t)92));
int32_t L_22 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_22, (int32_t)1));
}
IL_0081:
{
int32_t L_23 = V_1;
if ((((int32_t)L_23) < ((int32_t)((int32_t)64))))
{
goto IL_0069;
}
}
{
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Security.Cryptography.RandomNumberGenerator Mono.Security.Cryptography.KeyBuilder::get_Rng()
extern "C" IL2CPP_METHOD_ATTR RandomNumberGenerator_t386037858 * KeyBuilder_get_Rng_m983065666 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (KeyBuilder_get_Rng_m983065666_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RandomNumberGenerator_t386037858 * L_0 = ((KeyBuilder_t2049230355_StaticFields*)il2cpp_codegen_static_fields_for(KeyBuilder_t2049230355_il2cpp_TypeInfo_var))->get_rng_0();
if (L_0)
{
goto IL_0014;
}
}
{
RandomNumberGenerator_t386037858 * L_1 = RandomNumberGenerator_Create_m4162970280(NULL /*static, unused*/, /*hidden argument*/NULL);
((KeyBuilder_t2049230355_StaticFields*)il2cpp_codegen_static_fields_for(KeyBuilder_t2049230355_il2cpp_TypeInfo_var))->set_rng_0(L_1);
}
IL_0014:
{
RandomNumberGenerator_t386037858 * L_2 = ((KeyBuilder_t2049230355_StaticFields*)il2cpp_codegen_static_fields_for(KeyBuilder_t2049230355_il2cpp_TypeInfo_var))->get_rng_0();
return L_2;
}
}
// System.Byte[] Mono.Security.Cryptography.KeyBuilder::Key(System.Int32)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* KeyBuilder_Key_m1482371611 (RuntimeObject * __this /* static, unused */, int32_t ___size0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (KeyBuilder_Key_m1482371611_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_t4116647657* V_0 = NULL;
{
int32_t L_0 = ___size0;
ByteU5BU5D_t4116647657* L_1 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_0);
V_0 = L_1;
RandomNumberGenerator_t386037858 * L_2 = KeyBuilder_get_Rng_m983065666(NULL /*static, unused*/, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_3 = V_0;
VirtActionInvoker1< ByteU5BU5D_t4116647657* >::Invoke(4 /* System.Void System.Security.Cryptography.RandomNumberGenerator::GetBytes(System.Byte[]) */, L_2, L_3);
ByteU5BU5D_t4116647657* L_4 = V_0;
return L_4;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Cryptography.MD2::.ctor()
extern "C" IL2CPP_METHOD_ATTR void MD2__ctor_m2402458789 (MD2_t1561046427 * __this, const RuntimeMethod* method)
{
{
HashAlgorithm__ctor_m190815979(__this, /*hidden argument*/NULL);
((HashAlgorithm_t1432317219 *)__this)->set_HashSizeValue_1(((int32_t)128));
return;
}
}
// Mono.Security.Cryptography.MD2 Mono.Security.Cryptography.MD2::Create()
extern "C" IL2CPP_METHOD_ATTR MD2_t1561046427 * MD2_Create_m3511476020 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MD2_Create_m3511476020_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
MD2_t1561046427 * L_0 = MD2_Create_m1292792200(NULL /*static, unused*/, _stringLiteral4242423987, /*hidden argument*/NULL);
return L_0;
}
}
// Mono.Security.Cryptography.MD2 Mono.Security.Cryptography.MD2::Create(System.String)
extern "C" IL2CPP_METHOD_ATTR MD2_t1561046427 * MD2_Create_m1292792200 (RuntimeObject * __this /* static, unused */, String_t* ___hashName0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MD2_Create_m1292792200_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject * V_0 = NULL;
{
String_t* L_0 = ___hashName0;
IL2CPP_RUNTIME_CLASS_INIT(CryptoConfig_t4201145714_il2cpp_TypeInfo_var);
RuntimeObject * L_1 = CryptoConfig_CreateFromName_m1538277313(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
V_0 = L_1;
RuntimeObject * L_2 = V_0;
if (L_2)
{
goto IL_0013;
}
}
{
MD2Managed_t1377101535 * L_3 = (MD2Managed_t1377101535 *)il2cpp_codegen_object_new(MD2Managed_t1377101535_il2cpp_TypeInfo_var);
MD2Managed__ctor_m3243422744(L_3, /*hidden argument*/NULL);
V_0 = L_3;
}
IL_0013:
{
RuntimeObject * L_4 = V_0;
return ((MD2_t1561046427 *)CastclassClass((RuntimeObject*)L_4, MD2_t1561046427_il2cpp_TypeInfo_var));
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Cryptography.MD2Managed::.ctor()
extern "C" IL2CPP_METHOD_ATTR void MD2Managed__ctor_m3243422744 (MD2Managed_t1377101535 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MD2Managed__ctor_m3243422744_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
MD2__ctor_m2402458789(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_0 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
__this->set_state_4(L_0);
ByteU5BU5D_t4116647657* L_1 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
__this->set_checksum_5(L_1);
ByteU5BU5D_t4116647657* L_2 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
__this->set_buffer_6(L_2);
ByteU5BU5D_t4116647657* L_3 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)48));
__this->set_x_8(L_3);
VirtActionInvoker0::Invoke(13 /* System.Void Mono.Security.Cryptography.MD2Managed::Initialize() */, __this);
return;
}
}
// System.Void Mono.Security.Cryptography.MD2Managed::.cctor()
extern "C" IL2CPP_METHOD_ATTR void MD2Managed__cctor_m1915574725 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MD2Managed__cctor_m1915574725_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_t4116647657* L_0 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)256));
ByteU5BU5D_t4116647657* L_1 = L_0;
RuntimeFieldHandle_t1871169219 L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t3057255363____U24U24fieldU2D5_1_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m3117905507(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
((MD2Managed_t1377101535_StaticFields*)il2cpp_codegen_static_fields_for(MD2Managed_t1377101535_il2cpp_TypeInfo_var))->set_PI_SUBST_9(L_1);
return;
}
}
// System.Byte[] Mono.Security.Cryptography.MD2Managed::Padding(System.Int32)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* MD2Managed_Padding_m1334210368 (MD2Managed_t1377101535 * __this, int32_t ___nLength0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MD2Managed_Padding_m1334210368_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_t4116647657* V_0 = NULL;
int32_t V_1 = 0;
{
int32_t L_0 = ___nLength0;
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0029;
}
}
{
int32_t L_1 = ___nLength0;
ByteU5BU5D_t4116647657* L_2 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_1);
V_0 = L_2;
V_1 = 0;
goto IL_001e;
}
IL_0015:
{
ByteU5BU5D_t4116647657* L_3 = V_0;
int32_t L_4 = V_1;
int32_t L_5 = ___nLength0;
(L_3)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_4), (uint8_t)(((int32_t)((uint8_t)L_5))));
int32_t L_6 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1));
}
IL_001e:
{
int32_t L_7 = V_1;
ByteU5BU5D_t4116647657* L_8 = V_0;
if ((((int32_t)L_7) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_8)->max_length)))))))
{
goto IL_0015;
}
}
{
ByteU5BU5D_t4116647657* L_9 = V_0;
return L_9;
}
IL_0029:
{
return (ByteU5BU5D_t4116647657*)NULL;
}
}
// System.Void Mono.Security.Cryptography.MD2Managed::Initialize()
extern "C" IL2CPP_METHOD_ATTR void MD2Managed_Initialize_m2341076836 (MD2Managed_t1377101535 * __this, const RuntimeMethod* method)
{
{
__this->set_count_7(0);
ByteU5BU5D_t4116647657* L_0 = __this->get_state_4();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_0, 0, ((int32_t)16), /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_1 = __this->get_checksum_5();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, 0, ((int32_t)16), /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_2 = __this->get_buffer_6();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_2, 0, ((int32_t)16), /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_3 = __this->get_x_8();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_3, 0, ((int32_t)48), /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Cryptography.MD2Managed::HashCore(System.Byte[],System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void MD2Managed_HashCore_m1280598655 (MD2Managed_t1377101535 * __this, ByteU5BU5D_t4116647657* ___array0, int32_t ___ibStart1, int32_t ___cbSize2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
{
int32_t L_0 = __this->get_count_7();
V_1 = L_0;
int32_t L_1 = V_1;
int32_t L_2 = ___cbSize2;
__this->set_count_7(((int32_t)((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)L_2))&(int32_t)((int32_t)15))));
int32_t L_3 = V_1;
V_2 = ((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)16), (int32_t)L_3));
int32_t L_4 = ___cbSize2;
int32_t L_5 = V_2;
if ((((int32_t)L_4) < ((int32_t)L_5)))
{
goto IL_0078;
}
}
{
ByteU5BU5D_t4116647657* L_6 = ___array0;
int32_t L_7 = ___ibStart1;
ByteU5BU5D_t4116647657* L_8 = __this->get_buffer_6();
int32_t L_9 = V_1;
int32_t L_10 = V_2;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_6, L_7, (RuntimeArray *)(RuntimeArray *)L_8, L_9, L_10, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_11 = __this->get_state_4();
ByteU5BU5D_t4116647657* L_12 = __this->get_checksum_5();
ByteU5BU5D_t4116647657* L_13 = __this->get_buffer_6();
MD2Managed_MD2Transform_m3143426291(__this, L_11, L_12, L_13, 0, /*hidden argument*/NULL);
int32_t L_14 = V_2;
V_0 = L_14;
goto IL_0067;
}
IL_004e:
{
ByteU5BU5D_t4116647657* L_15 = __this->get_state_4();
ByteU5BU5D_t4116647657* L_16 = __this->get_checksum_5();
ByteU5BU5D_t4116647657* L_17 = ___array0;
int32_t L_18 = V_0;
MD2Managed_MD2Transform_m3143426291(__this, L_15, L_16, L_17, L_18, /*hidden argument*/NULL);
int32_t L_19 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_19, (int32_t)((int32_t)16)));
}
IL_0067:
{
int32_t L_20 = V_0;
int32_t L_21 = ___cbSize2;
if ((((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)((int32_t)15)))) < ((int32_t)L_21)))
{
goto IL_004e;
}
}
{
V_1 = 0;
goto IL_007a;
}
IL_0078:
{
V_0 = 0;
}
IL_007a:
{
ByteU5BU5D_t4116647657* L_22 = ___array0;
int32_t L_23 = ___ibStart1;
int32_t L_24 = V_0;
ByteU5BU5D_t4116647657* L_25 = __this->get_buffer_6();
int32_t L_26 = V_1;
int32_t L_27 = ___cbSize2;
int32_t L_28 = V_0;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_22, ((int32_t)il2cpp_codegen_add((int32_t)L_23, (int32_t)L_24)), (RuntimeArray *)(RuntimeArray *)L_25, L_26, ((int32_t)il2cpp_codegen_subtract((int32_t)L_27, (int32_t)L_28)), /*hidden argument*/NULL);
return;
}
}
// System.Byte[] Mono.Security.Cryptography.MD2Managed::HashFinal()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* MD2Managed_HashFinal_m808964912 (MD2Managed_t1377101535 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MD2Managed_HashFinal_m808964912_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
ByteU5BU5D_t4116647657* V_2 = NULL;
{
int32_t L_0 = __this->get_count_7();
V_0 = L_0;
int32_t L_1 = V_0;
V_1 = ((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)16), (int32_t)L_1));
int32_t L_2 = V_1;
if ((((int32_t)L_2) <= ((int32_t)0)))
{
goto IL_0022;
}
}
{
int32_t L_3 = V_1;
ByteU5BU5D_t4116647657* L_4 = MD2Managed_Padding_m1334210368(__this, L_3, /*hidden argument*/NULL);
int32_t L_5 = V_1;
VirtActionInvoker3< ByteU5BU5D_t4116647657*, int32_t, int32_t >::Invoke(10 /* System.Void Mono.Security.Cryptography.MD2Managed::HashCore(System.Byte[],System.Int32,System.Int32) */, __this, L_4, 0, L_5);
}
IL_0022:
{
ByteU5BU5D_t4116647657* L_6 = __this->get_checksum_5();
VirtActionInvoker3< ByteU5BU5D_t4116647657*, int32_t, int32_t >::Invoke(10 /* System.Void Mono.Security.Cryptography.MD2Managed::HashCore(System.Byte[],System.Int32,System.Int32) */, __this, L_6, 0, ((int32_t)16));
ByteU5BU5D_t4116647657* L_7 = __this->get_state_4();
RuntimeObject * L_8 = Array_Clone_m2672907798((RuntimeArray *)(RuntimeArray *)L_7, /*hidden argument*/NULL);
V_2 = ((ByteU5BU5D_t4116647657*)Castclass((RuntimeObject*)L_8, ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var));
VirtActionInvoker0::Invoke(13 /* System.Void Mono.Security.Cryptography.MD2Managed::Initialize() */, __this);
ByteU5BU5D_t4116647657* L_9 = V_2;
return L_9;
}
}
// System.Void Mono.Security.Cryptography.MD2Managed::MD2Transform(System.Byte[],System.Byte[],System.Byte[],System.Int32)
extern "C" IL2CPP_METHOD_ATTR void MD2Managed_MD2Transform_m3143426291 (MD2Managed_t1377101535 * __this, ByteU5BU5D_t4116647657* ___state0, ByteU5BU5D_t4116647657* ___checksum1, ByteU5BU5D_t4116647657* ___block2, int32_t ___index3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MD2Managed_MD2Transform_m3143426291_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
int32_t V_3 = 0;
int32_t V_4 = 0;
uint8_t V_5 = 0x0;
{
ByteU5BU5D_t4116647657* L_0 = ___state0;
ByteU5BU5D_t4116647657* L_1 = __this->get_x_8();
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_0, 0, (RuntimeArray *)(RuntimeArray *)L_1, 0, ((int32_t)16), /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_2 = ___block2;
int32_t L_3 = ___index3;
ByteU5BU5D_t4116647657* L_4 = __this->get_x_8();
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_2, L_3, (RuntimeArray *)(RuntimeArray *)L_4, ((int32_t)16), ((int32_t)16), /*hidden argument*/NULL);
V_0 = 0;
goto IL_0043;
}
IL_0029:
{
ByteU5BU5D_t4116647657* L_5 = __this->get_x_8();
int32_t L_6 = V_0;
ByteU5BU5D_t4116647657* L_7 = ___state0;
int32_t L_8 = V_0;
int32_t L_9 = L_8;
uint8_t L_10 = (L_7)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_9));
ByteU5BU5D_t4116647657* L_11 = ___block2;
int32_t L_12 = ___index3;
int32_t L_13 = V_0;
int32_t L_14 = ((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)L_13));
uint8_t L_15 = (L_11)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_14));
(L_5)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)((int32_t)32)))), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_10^(int32_t)L_15))))));
int32_t L_16 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
}
IL_0043:
{
int32_t L_17 = V_0;
if ((((int32_t)L_17) < ((int32_t)((int32_t)16))))
{
goto IL_0029;
}
}
{
V_1 = 0;
V_2 = 0;
goto IL_0093;
}
IL_0054:
{
V_3 = 0;
goto IL_007d;
}
IL_005b:
{
ByteU5BU5D_t4116647657* L_18 = __this->get_x_8();
int32_t L_19 = V_3;
uint8_t* L_20 = ((L_18)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_19)));
IL2CPP_RUNTIME_CLASS_INIT(MD2Managed_t1377101535_il2cpp_TypeInfo_var);
ByteU5BU5D_t4116647657* L_21 = ((MD2Managed_t1377101535_StaticFields*)il2cpp_codegen_static_fields_for(MD2Managed_t1377101535_il2cpp_TypeInfo_var))->get_PI_SUBST_9();
int32_t L_22 = V_1;
int32_t L_23 = L_22;
uint8_t L_24 = (L_21)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_23));
int32_t L_25 = (((int32_t)((uint8_t)((int32_t)((int32_t)(*((uint8_t*)L_20))^(int32_t)L_24)))));
V_5 = (uint8_t)L_25;
*((int8_t*)(L_20)) = (int8_t)L_25;
uint8_t L_26 = V_5;
V_1 = L_26;
int32_t L_27 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_27, (int32_t)1));
}
IL_007d:
{
int32_t L_28 = V_3;
if ((((int32_t)L_28) < ((int32_t)((int32_t)48))))
{
goto IL_005b;
}
}
{
int32_t L_29 = V_1;
int32_t L_30 = V_2;
V_1 = ((int32_t)((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)L_30))&(int32_t)((int32_t)255)));
int32_t L_31 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_31, (int32_t)1));
}
IL_0093:
{
int32_t L_32 = V_2;
if ((((int32_t)L_32) < ((int32_t)((int32_t)18))))
{
goto IL_0054;
}
}
{
ByteU5BU5D_t4116647657* L_33 = __this->get_x_8();
ByteU5BU5D_t4116647657* L_34 = ___state0;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_33, 0, (RuntimeArray *)(RuntimeArray *)L_34, 0, ((int32_t)16), /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_35 = ___checksum1;
int32_t L_36 = ((int32_t)15);
uint8_t L_37 = (L_35)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_36));
V_1 = L_37;
V_4 = 0;
goto IL_00e0;
}
IL_00b8:
{
ByteU5BU5D_t4116647657* L_38 = ___checksum1;
int32_t L_39 = V_4;
uint8_t* L_40 = ((L_38)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_39)));
IL2CPP_RUNTIME_CLASS_INIT(MD2Managed_t1377101535_il2cpp_TypeInfo_var);
ByteU5BU5D_t4116647657* L_41 = ((MD2Managed_t1377101535_StaticFields*)il2cpp_codegen_static_fields_for(MD2Managed_t1377101535_il2cpp_TypeInfo_var))->get_PI_SUBST_9();
ByteU5BU5D_t4116647657* L_42 = ___block2;
int32_t L_43 = ___index3;
int32_t L_44 = V_4;
int32_t L_45 = ((int32_t)il2cpp_codegen_add((int32_t)L_43, (int32_t)L_44));
uint8_t L_46 = (L_42)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_45));
int32_t L_47 = V_1;
int32_t L_48 = ((int32_t)((int32_t)L_46^(int32_t)L_47));
uint8_t L_49 = (L_41)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_48));
int32_t L_50 = (((int32_t)((uint8_t)((int32_t)((int32_t)(*((uint8_t*)L_40))^(int32_t)L_49)))));
V_5 = (uint8_t)L_50;
*((int8_t*)(L_40)) = (int8_t)L_50;
uint8_t L_51 = V_5;
V_1 = L_51;
int32_t L_52 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add((int32_t)L_52, (int32_t)1));
}
IL_00e0:
{
int32_t L_53 = V_4;
if ((((int32_t)L_53) < ((int32_t)((int32_t)16))))
{
goto IL_00b8;
}
}
{
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Cryptography.MD4::.ctor()
extern "C" IL2CPP_METHOD_ATTR void MD4__ctor_m919379109 (MD4_t1560915355 * __this, const RuntimeMethod* method)
{
{
HashAlgorithm__ctor_m190815979(__this, /*hidden argument*/NULL);
((HashAlgorithm_t1432317219 *)__this)->set_HashSizeValue_1(((int32_t)128));
return;
}
}
// Mono.Security.Cryptography.MD4 Mono.Security.Cryptography.MD4::Create()
extern "C" IL2CPP_METHOD_ATTR MD4_t1560915355 * MD4_Create_m1588482044 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MD4_Create_m1588482044_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
MD4_t1560915355 * L_0 = MD4_Create_m4111026039(NULL /*static, unused*/, _stringLiteral1110256105, /*hidden argument*/NULL);
return L_0;
}
}
// Mono.Security.Cryptography.MD4 Mono.Security.Cryptography.MD4::Create(System.String)
extern "C" IL2CPP_METHOD_ATTR MD4_t1560915355 * MD4_Create_m4111026039 (RuntimeObject * __this /* static, unused */, String_t* ___hashName0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MD4_Create_m4111026039_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject * V_0 = NULL;
{
String_t* L_0 = ___hashName0;
IL2CPP_RUNTIME_CLASS_INIT(CryptoConfig_t4201145714_il2cpp_TypeInfo_var);
RuntimeObject * L_1 = CryptoConfig_CreateFromName_m1538277313(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
V_0 = L_1;
RuntimeObject * L_2 = V_0;
if (L_2)
{
goto IL_0013;
}
}
{
MD4Managed_t957540063 * L_3 = (MD4Managed_t957540063 *)il2cpp_codegen_object_new(MD4Managed_t957540063_il2cpp_TypeInfo_var);
MD4Managed__ctor_m2284724408(L_3, /*hidden argument*/NULL);
V_0 = L_3;
}
IL_0013:
{
RuntimeObject * L_4 = V_0;
return ((MD4_t1560915355 *)CastclassClass((RuntimeObject*)L_4, MD4_t1560915355_il2cpp_TypeInfo_var));
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Cryptography.MD4Managed::.ctor()
extern "C" IL2CPP_METHOD_ATTR void MD4Managed__ctor_m2284724408 (MD4Managed_t957540063 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MD4Managed__ctor_m2284724408_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
MD4__ctor_m919379109(__this, /*hidden argument*/NULL);
UInt32U5BU5D_t2770800703* L_0 = (UInt32U5BU5D_t2770800703*)SZArrayNew(UInt32U5BU5D_t2770800703_il2cpp_TypeInfo_var, (uint32_t)4);
__this->set_state_4(L_0);
UInt32U5BU5D_t2770800703* L_1 = (UInt32U5BU5D_t2770800703*)SZArrayNew(UInt32U5BU5D_t2770800703_il2cpp_TypeInfo_var, (uint32_t)2);
__this->set_count_6(L_1);
ByteU5BU5D_t4116647657* L_2 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)64));
__this->set_buffer_5(L_2);
ByteU5BU5D_t4116647657* L_3 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
__this->set_digest_8(L_3);
UInt32U5BU5D_t2770800703* L_4 = (UInt32U5BU5D_t2770800703*)SZArrayNew(UInt32U5BU5D_t2770800703_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
__this->set_x_7(L_4);
VirtActionInvoker0::Invoke(13 /* System.Void Mono.Security.Cryptography.MD4Managed::Initialize() */, __this);
return;
}
}
// System.Void Mono.Security.Cryptography.MD4Managed::Initialize()
extern "C" IL2CPP_METHOD_ATTR void MD4Managed_Initialize_m469436465 (MD4Managed_t957540063 * __this, const RuntimeMethod* method)
{
{
UInt32U5BU5D_t2770800703* L_0 = __this->get_count_6();
(L_0)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (uint32_t)0);
UInt32U5BU5D_t2770800703* L_1 = __this->get_count_6();
(L_1)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (uint32_t)0);
UInt32U5BU5D_t2770800703* L_2 = __this->get_state_4();
(L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (uint32_t)((int32_t)1732584193));
UInt32U5BU5D_t2770800703* L_3 = __this->get_state_4();
(L_3)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (uint32_t)((int32_t)-271733879));
UInt32U5BU5D_t2770800703* L_4 = __this->get_state_4();
(L_4)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (uint32_t)((int32_t)-1732584194));
UInt32U5BU5D_t2770800703* L_5 = __this->get_state_4();
(L_5)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(3), (uint32_t)((int32_t)271733878));
ByteU5BU5D_t4116647657* L_6 = __this->get_buffer_5();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_6, 0, ((int32_t)64), /*hidden argument*/NULL);
UInt32U5BU5D_t2770800703* L_7 = __this->get_x_7();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, 0, ((int32_t)16), /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Cryptography.MD4Managed::HashCore(System.Byte[],System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void MD4Managed_HashCore_m3384203071 (MD4Managed_t957540063 * __this, ByteU5BU5D_t4116647657* ___array0, int32_t ___ibStart1, int32_t ___cbSize2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
{
UInt32U5BU5D_t2770800703* L_0 = __this->get_count_6();
int32_t L_1 = 0;
uint32_t L_2 = (L_0)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_1));
V_0 = ((int32_t)((int32_t)((int32_t)((uint32_t)L_2>>3))&(int32_t)((int32_t)63)));
UInt32U5BU5D_t2770800703* L_3 = __this->get_count_6();
uint32_t* L_4 = ((L_3)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(0)));
int32_t L_5 = ___cbSize2;
*((int32_t*)(L_4)) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)(*((uint32_t*)L_4)), (int32_t)((int32_t)((int32_t)L_5<<(int32_t)3))));
UInt32U5BU5D_t2770800703* L_6 = __this->get_count_6();
int32_t L_7 = 0;
uint32_t L_8 = (L_6)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7));
int32_t L_9 = ___cbSize2;
if ((((int64_t)(((int64_t)((uint64_t)L_8)))) >= ((int64_t)(((int64_t)((int64_t)((int32_t)((int32_t)L_9<<(int32_t)3))))))))
{
goto IL_0044;
}
}
{
UInt32U5BU5D_t2770800703* L_10 = __this->get_count_6();
uint32_t* L_11 = ((L_10)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(1)));
*((int32_t*)(L_11)) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)(*((uint32_t*)L_11)), (int32_t)1));
}
IL_0044:
{
UInt32U5BU5D_t2770800703* L_12 = __this->get_count_6();
uint32_t* L_13 = ((L_12)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(1)));
int32_t L_14 = ___cbSize2;
*((int32_t*)(L_13)) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)(*((uint32_t*)L_13)), (int32_t)((int32_t)((int32_t)L_14>>(int32_t)((int32_t)29)))));
int32_t L_15 = V_0;
V_1 = ((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)64), (int32_t)L_15));
V_2 = 0;
int32_t L_16 = ___cbSize2;
int32_t L_17 = V_1;
if ((((int32_t)L_16) < ((int32_t)L_17)))
{
goto IL_00ae;
}
}
{
ByteU5BU5D_t4116647657* L_18 = ___array0;
int32_t L_19 = ___ibStart1;
ByteU5BU5D_t4116647657* L_20 = __this->get_buffer_5();
int32_t L_21 = V_0;
int32_t L_22 = V_1;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_18, L_19, (RuntimeArray *)(RuntimeArray *)L_20, L_21, L_22, /*hidden argument*/NULL);
UInt32U5BU5D_t2770800703* L_23 = __this->get_state_4();
ByteU5BU5D_t4116647657* L_24 = __this->get_buffer_5();
MD4Managed_MD4Transform_m1101832482(__this, L_23, L_24, 0, /*hidden argument*/NULL);
int32_t L_25 = V_1;
V_2 = L_25;
goto IL_00a2;
}
IL_008f:
{
UInt32U5BU5D_t2770800703* L_26 = __this->get_state_4();
ByteU5BU5D_t4116647657* L_27 = ___array0;
int32_t L_28 = V_2;
MD4Managed_MD4Transform_m1101832482(__this, L_26, L_27, L_28, /*hidden argument*/NULL);
int32_t L_29 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)((int32_t)64)));
}
IL_00a2:
{
int32_t L_30 = V_2;
int32_t L_31 = ___cbSize2;
if ((((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_30, (int32_t)((int32_t)63)))) < ((int32_t)L_31)))
{
goto IL_008f;
}
}
{
V_0 = 0;
}
IL_00ae:
{
ByteU5BU5D_t4116647657* L_32 = ___array0;
int32_t L_33 = ___ibStart1;
int32_t L_34 = V_2;
ByteU5BU5D_t4116647657* L_35 = __this->get_buffer_5();
int32_t L_36 = V_0;
int32_t L_37 = ___cbSize2;
int32_t L_38 = V_2;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_32, ((int32_t)il2cpp_codegen_add((int32_t)L_33, (int32_t)L_34)), (RuntimeArray *)(RuntimeArray *)L_35, L_36, ((int32_t)il2cpp_codegen_subtract((int32_t)L_37, (int32_t)L_38)), /*hidden argument*/NULL);
return;
}
}
// System.Byte[] Mono.Security.Cryptography.MD4Managed::HashFinal()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* MD4Managed_HashFinal_m3850238392 (MD4Managed_t957540063 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MD4Managed_HashFinal_m3850238392_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_t4116647657* V_0 = NULL;
uint32_t V_1 = 0;
int32_t V_2 = 0;
int32_t G_B3_0 = 0;
{
ByteU5BU5D_t4116647657* L_0 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)8);
V_0 = L_0;
ByteU5BU5D_t4116647657* L_1 = V_0;
UInt32U5BU5D_t2770800703* L_2 = __this->get_count_6();
MD4Managed_Encode_m386285215(__this, L_1, L_2, /*hidden argument*/NULL);
UInt32U5BU5D_t2770800703* L_3 = __this->get_count_6();
int32_t L_4 = 0;
uint32_t L_5 = (L_3)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_4));
V_1 = ((int32_t)((int32_t)((int32_t)((uint32_t)L_5>>3))&(int32_t)((int32_t)63)));
uint32_t L_6 = V_1;
if ((!(((uint32_t)L_6) < ((uint32_t)((int32_t)56)))))
{
goto IL_0033;
}
}
{
uint32_t L_7 = V_1;
G_B3_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)56), (int32_t)L_7));
goto IL_0037;
}
IL_0033:
{
uint32_t L_8 = V_1;
G_B3_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)120), (int32_t)L_8));
}
IL_0037:
{
V_2 = G_B3_0;
int32_t L_9 = V_2;
ByteU5BU5D_t4116647657* L_10 = MD4Managed_Padding_m3091724296(__this, L_9, /*hidden argument*/NULL);
int32_t L_11 = V_2;
VirtActionInvoker3< ByteU5BU5D_t4116647657*, int32_t, int32_t >::Invoke(10 /* System.Void Mono.Security.Cryptography.MD4Managed::HashCore(System.Byte[],System.Int32,System.Int32) */, __this, L_10, 0, L_11);
ByteU5BU5D_t4116647657* L_12 = V_0;
VirtActionInvoker3< ByteU5BU5D_t4116647657*, int32_t, int32_t >::Invoke(10 /* System.Void Mono.Security.Cryptography.MD4Managed::HashCore(System.Byte[],System.Int32,System.Int32) */, __this, L_12, 0, 8);
ByteU5BU5D_t4116647657* L_13 = __this->get_digest_8();
UInt32U5BU5D_t2770800703* L_14 = __this->get_state_4();
MD4Managed_Encode_m386285215(__this, L_13, L_14, /*hidden argument*/NULL);
VirtActionInvoker0::Invoke(13 /* System.Void Mono.Security.Cryptography.MD4Managed::Initialize() */, __this);
ByteU5BU5D_t4116647657* L_15 = __this->get_digest_8();
return L_15;
}
}
// System.Byte[] Mono.Security.Cryptography.MD4Managed::Padding(System.Int32)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* MD4Managed_Padding_m3091724296 (MD4Managed_t957540063 * __this, int32_t ___nLength0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MD4Managed_Padding_m3091724296_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_t4116647657* V_0 = NULL;
{
int32_t L_0 = ___nLength0;
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0018;
}
}
{
int32_t L_1 = ___nLength0;
ByteU5BU5D_t4116647657* L_2 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_1);
V_0 = L_2;
ByteU5BU5D_t4116647657* L_3 = V_0;
(L_3)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (uint8_t)((int32_t)128));
ByteU5BU5D_t4116647657* L_4 = V_0;
return L_4;
}
IL_0018:
{
return (ByteU5BU5D_t4116647657*)NULL;
}
}
// System.UInt32 Mono.Security.Cryptography.MD4Managed::F(System.UInt32,System.UInt32,System.UInt32)
extern "C" IL2CPP_METHOD_ATTR uint32_t MD4Managed_F_m2794461001 (MD4Managed_t957540063 * __this, uint32_t ___x0, uint32_t ___y1, uint32_t ___z2, const RuntimeMethod* method)
{
{
uint32_t L_0 = ___x0;
uint32_t L_1 = ___y1;
uint32_t L_2 = ___x0;
uint32_t L_3 = ___z2;
return ((int32_t)((int32_t)((int32_t)((int32_t)L_0&(int32_t)L_1))|(int32_t)((int32_t)((int32_t)((~L_2))&(int32_t)L_3))));
}
}
// System.UInt32 Mono.Security.Cryptography.MD4Managed::G(System.UInt32,System.UInt32,System.UInt32)
extern "C" IL2CPP_METHOD_ATTR uint32_t MD4Managed_G_m2118206422 (MD4Managed_t957540063 * __this, uint32_t ___x0, uint32_t ___y1, uint32_t ___z2, const RuntimeMethod* method)
{
{
uint32_t L_0 = ___x0;
uint32_t L_1 = ___y1;
uint32_t L_2 = ___x0;
uint32_t L_3 = ___z2;
uint32_t L_4 = ___y1;
uint32_t L_5 = ___z2;
return ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_0&(int32_t)L_1))|(int32_t)((int32_t)((int32_t)L_2&(int32_t)L_3))))|(int32_t)((int32_t)((int32_t)L_4&(int32_t)L_5))));
}
}
// System.UInt32 Mono.Security.Cryptography.MD4Managed::H(System.UInt32,System.UInt32,System.UInt32)
extern "C" IL2CPP_METHOD_ATTR uint32_t MD4Managed_H_m213605525 (MD4Managed_t957540063 * __this, uint32_t ___x0, uint32_t ___y1, uint32_t ___z2, const RuntimeMethod* method)
{
{
uint32_t L_0 = ___x0;
uint32_t L_1 = ___y1;
uint32_t L_2 = ___z2;
return ((int32_t)((int32_t)((int32_t)((int32_t)L_0^(int32_t)L_1))^(int32_t)L_2));
}
}
// System.UInt32 Mono.Security.Cryptography.MD4Managed::ROL(System.UInt32,System.Byte)
extern "C" IL2CPP_METHOD_ATTR uint32_t MD4Managed_ROL_m691796253 (MD4Managed_t957540063 * __this, uint32_t ___x0, uint8_t ___n1, const RuntimeMethod* method)
{
{
uint32_t L_0 = ___x0;
uint8_t L_1 = ___n1;
uint32_t L_2 = ___x0;
uint8_t L_3 = ___n1;
return ((int32_t)((int32_t)((int32_t)((int32_t)L_0<<(int32_t)((int32_t)((int32_t)L_1&(int32_t)((int32_t)31)))))|(int32_t)((int32_t)((uint32_t)L_2>>((int32_t)((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)32), (int32_t)L_3))&(int32_t)((int32_t)31)))))));
}
}
// System.Void Mono.Security.Cryptography.MD4Managed::FF(System.UInt32&,System.UInt32,System.UInt32,System.UInt32,System.UInt32,System.Byte)
extern "C" IL2CPP_METHOD_ATTR void MD4Managed_FF_m3294771481 (MD4Managed_t957540063 * __this, uint32_t* ___a0, uint32_t ___b1, uint32_t ___c2, uint32_t ___d3, uint32_t ___x4, uint8_t ___s5, const RuntimeMethod* method)
{
{
uint32_t* L_0 = ___a0;
uint32_t* L_1 = ___a0;
uint32_t L_2 = ___b1;
uint32_t L_3 = ___c2;
uint32_t L_4 = ___d3;
uint32_t L_5 = MD4Managed_F_m2794461001(__this, L_2, L_3, L_4, /*hidden argument*/NULL);
uint32_t L_6 = ___x4;
*((int32_t*)(L_0)) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)(*((uint32_t*)L_1)), (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)L_6))));
uint32_t* L_7 = ___a0;
uint32_t* L_8 = ___a0;
uint8_t L_9 = ___s5;
uint32_t L_10 = MD4Managed_ROL_m691796253(__this, (*((uint32_t*)L_8)), L_9, /*hidden argument*/NULL);
*((int32_t*)(L_7)) = (int32_t)L_10;
return;
}
}
// System.Void Mono.Security.Cryptography.MD4Managed::GG(System.UInt32&,System.UInt32,System.UInt32,System.UInt32,System.UInt32,System.Byte)
extern "C" IL2CPP_METHOD_ATTR void MD4Managed_GG_m1845276249 (MD4Managed_t957540063 * __this, uint32_t* ___a0, uint32_t ___b1, uint32_t ___c2, uint32_t ___d3, uint32_t ___x4, uint8_t ___s5, const RuntimeMethod* method)
{
{
uint32_t* L_0 = ___a0;
uint32_t* L_1 = ___a0;
uint32_t L_2 = ___b1;
uint32_t L_3 = ___c2;
uint32_t L_4 = ___d3;
uint32_t L_5 = MD4Managed_G_m2118206422(__this, L_2, L_3, L_4, /*hidden argument*/NULL);
uint32_t L_6 = ___x4;
*((int32_t*)(L_0)) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)(*((uint32_t*)L_1)), (int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)L_6)), (int32_t)((int32_t)1518500249)))));
uint32_t* L_7 = ___a0;
uint32_t* L_8 = ___a0;
uint8_t L_9 = ___s5;
uint32_t L_10 = MD4Managed_ROL_m691796253(__this, (*((uint32_t*)L_8)), L_9, /*hidden argument*/NULL);
*((int32_t*)(L_7)) = (int32_t)L_10;
return;
}
}
// System.Void Mono.Security.Cryptography.MD4Managed::HH(System.UInt32&,System.UInt32,System.UInt32,System.UInt32,System.UInt32,System.Byte)
extern "C" IL2CPP_METHOD_ATTR void MD4Managed_HH_m2535673516 (MD4Managed_t957540063 * __this, uint32_t* ___a0, uint32_t ___b1, uint32_t ___c2, uint32_t ___d3, uint32_t ___x4, uint8_t ___s5, const RuntimeMethod* method)
{
{
uint32_t* L_0 = ___a0;
uint32_t* L_1 = ___a0;
uint32_t L_2 = ___b1;
uint32_t L_3 = ___c2;
uint32_t L_4 = ___d3;
uint32_t L_5 = MD4Managed_H_m213605525(__this, L_2, L_3, L_4, /*hidden argument*/NULL);
uint32_t L_6 = ___x4;
*((int32_t*)(L_0)) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)(*((uint32_t*)L_1)), (int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)L_6)), (int32_t)((int32_t)1859775393)))));
uint32_t* L_7 = ___a0;
uint32_t* L_8 = ___a0;
uint8_t L_9 = ___s5;
uint32_t L_10 = MD4Managed_ROL_m691796253(__this, (*((uint32_t*)L_8)), L_9, /*hidden argument*/NULL);
*((int32_t*)(L_7)) = (int32_t)L_10;
return;
}
}
// System.Void Mono.Security.Cryptography.MD4Managed::Encode(System.Byte[],System.UInt32[])
extern "C" IL2CPP_METHOD_ATTR void MD4Managed_Encode_m386285215 (MD4Managed_t957540063 * __this, ByteU5BU5D_t4116647657* ___output0, UInt32U5BU5D_t2770800703* ___input1, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
V_0 = 0;
V_1 = 0;
goto IL_003b;
}
IL_0009:
{
ByteU5BU5D_t4116647657* L_0 = ___output0;
int32_t L_1 = V_1;
UInt32U5BU5D_t2770800703* L_2 = ___input1;
int32_t L_3 = V_0;
int32_t L_4 = L_3;
uint32_t L_5 = (L_2)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_4));
(L_0)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_1), (uint8_t)(((int32_t)((uint8_t)L_5))));
ByteU5BU5D_t4116647657* L_6 = ___output0;
int32_t L_7 = V_1;
UInt32U5BU5D_t2770800703* L_8 = ___input1;
int32_t L_9 = V_0;
int32_t L_10 = L_9;
uint32_t L_11 = (L_8)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_10));
(L_6)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)1))), (uint8_t)(((int32_t)((uint8_t)((int32_t)((uint32_t)L_11>>8))))));
ByteU5BU5D_t4116647657* L_12 = ___output0;
int32_t L_13 = V_1;
UInt32U5BU5D_t2770800703* L_14 = ___input1;
int32_t L_15 = V_0;
int32_t L_16 = L_15;
uint32_t L_17 = (L_14)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_16));
(L_12)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)2))), (uint8_t)(((int32_t)((uint8_t)((int32_t)((uint32_t)L_17>>((int32_t)16)))))));
ByteU5BU5D_t4116647657* L_18 = ___output0;
int32_t L_19 = V_1;
UInt32U5BU5D_t2770800703* L_20 = ___input1;
int32_t L_21 = V_0;
int32_t L_22 = L_21;
uint32_t L_23 = (L_20)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_22));
(L_18)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_19, (int32_t)3))), (uint8_t)(((int32_t)((uint8_t)((int32_t)((uint32_t)L_23>>((int32_t)24)))))));
int32_t L_24 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_24, (int32_t)1));
int32_t L_25 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)4));
}
IL_003b:
{
int32_t L_26 = V_1;
ByteU5BU5D_t4116647657* L_27 = ___output0;
if ((((int32_t)L_26) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_27)->max_length)))))))
{
goto IL_0009;
}
}
{
return;
}
}
// System.Void Mono.Security.Cryptography.MD4Managed::Decode(System.UInt32[],System.Byte[],System.Int32)
extern "C" IL2CPP_METHOD_ATTR void MD4Managed_Decode_m4273685594 (MD4Managed_t957540063 * __this, UInt32U5BU5D_t2770800703* ___output0, ByteU5BU5D_t4116647657* ___input1, int32_t ___index2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
V_0 = 0;
int32_t L_0 = ___index2;
V_1 = L_0;
goto IL_0031;
}
IL_0009:
{
UInt32U5BU5D_t2770800703* L_1 = ___output0;
int32_t L_2 = V_0;
ByteU5BU5D_t4116647657* L_3 = ___input1;
int32_t L_4 = V_1;
int32_t L_5 = L_4;
uint8_t L_6 = (L_3)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_5));
ByteU5BU5D_t4116647657* L_7 = ___input1;
int32_t L_8 = V_1;
int32_t L_9 = ((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1));
uint8_t L_10 = (L_7)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_9));
ByteU5BU5D_t4116647657* L_11 = ___input1;
int32_t L_12 = V_1;
int32_t L_13 = ((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)2));
uint8_t L_14 = (L_11)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_13));
ByteU5BU5D_t4116647657* L_15 = ___input1;
int32_t L_16 = V_1;
int32_t L_17 = ((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)3));
uint8_t L_18 = (L_15)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_17));
(L_1)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_2), (uint32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_6|(int32_t)((int32_t)((int32_t)L_10<<(int32_t)8))))|(int32_t)((int32_t)((int32_t)L_14<<(int32_t)((int32_t)16)))))|(int32_t)((int32_t)((int32_t)L_18<<(int32_t)((int32_t)24))))));
int32_t L_19 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_19, (int32_t)1));
int32_t L_20 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)4));
}
IL_0031:
{
int32_t L_21 = V_0;
UInt32U5BU5D_t2770800703* L_22 = ___output0;
if ((((int32_t)L_21) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_22)->max_length)))))))
{
goto IL_0009;
}
}
{
return;
}
}
// System.Void Mono.Security.Cryptography.MD4Managed::MD4Transform(System.UInt32[],System.Byte[],System.Int32)
extern "C" IL2CPP_METHOD_ATTR void MD4Managed_MD4Transform_m1101832482 (MD4Managed_t957540063 * __this, UInt32U5BU5D_t2770800703* ___state0, ByteU5BU5D_t4116647657* ___block1, int32_t ___index2, const RuntimeMethod* method)
{
uint32_t V_0 = 0;
uint32_t V_1 = 0;
uint32_t V_2 = 0;
uint32_t V_3 = 0;
{
UInt32U5BU5D_t2770800703* L_0 = ___state0;
int32_t L_1 = 0;
uint32_t L_2 = (L_0)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_1));
V_0 = L_2;
UInt32U5BU5D_t2770800703* L_3 = ___state0;
int32_t L_4 = 1;
uint32_t L_5 = (L_3)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_4));
V_1 = L_5;
UInt32U5BU5D_t2770800703* L_6 = ___state0;
int32_t L_7 = 2;
uint32_t L_8 = (L_6)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7));
V_2 = L_8;
UInt32U5BU5D_t2770800703* L_9 = ___state0;
int32_t L_10 = 3;
uint32_t L_11 = (L_9)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_10));
V_3 = L_11;
UInt32U5BU5D_t2770800703* L_12 = __this->get_x_7();
ByteU5BU5D_t4116647657* L_13 = ___block1;
int32_t L_14 = ___index2;
MD4Managed_Decode_m4273685594(__this, L_12, L_13, L_14, /*hidden argument*/NULL);
uint32_t L_15 = V_1;
uint32_t L_16 = V_2;
uint32_t L_17 = V_3;
UInt32U5BU5D_t2770800703* L_18 = __this->get_x_7();
int32_t L_19 = 0;
uint32_t L_20 = (L_18)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_19));
MD4Managed_FF_m3294771481(__this, (uint32_t*)(&V_0), L_15, L_16, L_17, L_20, (uint8_t)3, /*hidden argument*/NULL);
uint32_t L_21 = V_0;
uint32_t L_22 = V_1;
uint32_t L_23 = V_2;
UInt32U5BU5D_t2770800703* L_24 = __this->get_x_7();
int32_t L_25 = 1;
uint32_t L_26 = (L_24)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_25));
MD4Managed_FF_m3294771481(__this, (uint32_t*)(&V_3), L_21, L_22, L_23, L_26, (uint8_t)7, /*hidden argument*/NULL);
uint32_t L_27 = V_3;
uint32_t L_28 = V_0;
uint32_t L_29 = V_1;
UInt32U5BU5D_t2770800703* L_30 = __this->get_x_7();
int32_t L_31 = 2;
uint32_t L_32 = (L_30)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_31));
MD4Managed_FF_m3294771481(__this, (uint32_t*)(&V_2), L_27, L_28, L_29, L_32, (uint8_t)((int32_t)11), /*hidden argument*/NULL);
uint32_t L_33 = V_2;
uint32_t L_34 = V_3;
uint32_t L_35 = V_0;
UInt32U5BU5D_t2770800703* L_36 = __this->get_x_7();
int32_t L_37 = 3;
uint32_t L_38 = (L_36)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_37));
MD4Managed_FF_m3294771481(__this, (uint32_t*)(&V_1), L_33, L_34, L_35, L_38, (uint8_t)((int32_t)19), /*hidden argument*/NULL);
uint32_t L_39 = V_1;
uint32_t L_40 = V_2;
uint32_t L_41 = V_3;
UInt32U5BU5D_t2770800703* L_42 = __this->get_x_7();
int32_t L_43 = 4;
uint32_t L_44 = (L_42)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_43));
MD4Managed_FF_m3294771481(__this, (uint32_t*)(&V_0), L_39, L_40, L_41, L_44, (uint8_t)3, /*hidden argument*/NULL);
uint32_t L_45 = V_0;
uint32_t L_46 = V_1;
uint32_t L_47 = V_2;
UInt32U5BU5D_t2770800703* L_48 = __this->get_x_7();
int32_t L_49 = 5;
uint32_t L_50 = (L_48)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_49));
MD4Managed_FF_m3294771481(__this, (uint32_t*)(&V_3), L_45, L_46, L_47, L_50, (uint8_t)7, /*hidden argument*/NULL);
uint32_t L_51 = V_3;
uint32_t L_52 = V_0;
uint32_t L_53 = V_1;
UInt32U5BU5D_t2770800703* L_54 = __this->get_x_7();
int32_t L_55 = 6;
uint32_t L_56 = (L_54)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_55));
MD4Managed_FF_m3294771481(__this, (uint32_t*)(&V_2), L_51, L_52, L_53, L_56, (uint8_t)((int32_t)11), /*hidden argument*/NULL);
uint32_t L_57 = V_2;
uint32_t L_58 = V_3;
uint32_t L_59 = V_0;
UInt32U5BU5D_t2770800703* L_60 = __this->get_x_7();
int32_t L_61 = 7;
uint32_t L_62 = (L_60)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_61));
MD4Managed_FF_m3294771481(__this, (uint32_t*)(&V_1), L_57, L_58, L_59, L_62, (uint8_t)((int32_t)19), /*hidden argument*/NULL);
uint32_t L_63 = V_1;
uint32_t L_64 = V_2;
uint32_t L_65 = V_3;
UInt32U5BU5D_t2770800703* L_66 = __this->get_x_7();
int32_t L_67 = 8;
uint32_t L_68 = (L_66)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_67));
MD4Managed_FF_m3294771481(__this, (uint32_t*)(&V_0), L_63, L_64, L_65, L_68, (uint8_t)3, /*hidden argument*/NULL);
uint32_t L_69 = V_0;
uint32_t L_70 = V_1;
uint32_t L_71 = V_2;
UInt32U5BU5D_t2770800703* L_72 = __this->get_x_7();
int32_t L_73 = ((int32_t)9);
uint32_t L_74 = (L_72)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_73));
MD4Managed_FF_m3294771481(__this, (uint32_t*)(&V_3), L_69, L_70, L_71, L_74, (uint8_t)7, /*hidden argument*/NULL);
uint32_t L_75 = V_3;
uint32_t L_76 = V_0;
uint32_t L_77 = V_1;
UInt32U5BU5D_t2770800703* L_78 = __this->get_x_7();
int32_t L_79 = ((int32_t)10);
uint32_t L_80 = (L_78)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_79));
MD4Managed_FF_m3294771481(__this, (uint32_t*)(&V_2), L_75, L_76, L_77, L_80, (uint8_t)((int32_t)11), /*hidden argument*/NULL);
uint32_t L_81 = V_2;
uint32_t L_82 = V_3;
uint32_t L_83 = V_0;
UInt32U5BU5D_t2770800703* L_84 = __this->get_x_7();
int32_t L_85 = ((int32_t)11);
uint32_t L_86 = (L_84)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_85));
MD4Managed_FF_m3294771481(__this, (uint32_t*)(&V_1), L_81, L_82, L_83, L_86, (uint8_t)((int32_t)19), /*hidden argument*/NULL);
uint32_t L_87 = V_1;
uint32_t L_88 = V_2;
uint32_t L_89 = V_3;
UInt32U5BU5D_t2770800703* L_90 = __this->get_x_7();
int32_t L_91 = ((int32_t)12);
uint32_t L_92 = (L_90)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_91));
MD4Managed_FF_m3294771481(__this, (uint32_t*)(&V_0), L_87, L_88, L_89, L_92, (uint8_t)3, /*hidden argument*/NULL);
uint32_t L_93 = V_0;
uint32_t L_94 = V_1;
uint32_t L_95 = V_2;
UInt32U5BU5D_t2770800703* L_96 = __this->get_x_7();
int32_t L_97 = ((int32_t)13);
uint32_t L_98 = (L_96)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_97));
MD4Managed_FF_m3294771481(__this, (uint32_t*)(&V_3), L_93, L_94, L_95, L_98, (uint8_t)7, /*hidden argument*/NULL);
uint32_t L_99 = V_3;
uint32_t L_100 = V_0;
uint32_t L_101 = V_1;
UInt32U5BU5D_t2770800703* L_102 = __this->get_x_7();
int32_t L_103 = ((int32_t)14);
uint32_t L_104 = (L_102)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_103));
MD4Managed_FF_m3294771481(__this, (uint32_t*)(&V_2), L_99, L_100, L_101, L_104, (uint8_t)((int32_t)11), /*hidden argument*/NULL);
uint32_t L_105 = V_2;
uint32_t L_106 = V_3;
uint32_t L_107 = V_0;
UInt32U5BU5D_t2770800703* L_108 = __this->get_x_7();
int32_t L_109 = ((int32_t)15);
uint32_t L_110 = (L_108)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_109));
MD4Managed_FF_m3294771481(__this, (uint32_t*)(&V_1), L_105, L_106, L_107, L_110, (uint8_t)((int32_t)19), /*hidden argument*/NULL);
uint32_t L_111 = V_1;
uint32_t L_112 = V_2;
uint32_t L_113 = V_3;
UInt32U5BU5D_t2770800703* L_114 = __this->get_x_7();
int32_t L_115 = 0;
uint32_t L_116 = (L_114)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_115));
MD4Managed_GG_m1845276249(__this, (uint32_t*)(&V_0), L_111, L_112, L_113, L_116, (uint8_t)3, /*hidden argument*/NULL);
uint32_t L_117 = V_0;
uint32_t L_118 = V_1;
uint32_t L_119 = V_2;
UInt32U5BU5D_t2770800703* L_120 = __this->get_x_7();
int32_t L_121 = 4;
uint32_t L_122 = (L_120)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_121));
MD4Managed_GG_m1845276249(__this, (uint32_t*)(&V_3), L_117, L_118, L_119, L_122, (uint8_t)5, /*hidden argument*/NULL);
uint32_t L_123 = V_3;
uint32_t L_124 = V_0;
uint32_t L_125 = V_1;
UInt32U5BU5D_t2770800703* L_126 = __this->get_x_7();
int32_t L_127 = 8;
uint32_t L_128 = (L_126)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_127));
MD4Managed_GG_m1845276249(__this, (uint32_t*)(&V_2), L_123, L_124, L_125, L_128, (uint8_t)((int32_t)9), /*hidden argument*/NULL);
uint32_t L_129 = V_2;
uint32_t L_130 = V_3;
uint32_t L_131 = V_0;
UInt32U5BU5D_t2770800703* L_132 = __this->get_x_7();
int32_t L_133 = ((int32_t)12);
uint32_t L_134 = (L_132)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_133));
MD4Managed_GG_m1845276249(__this, (uint32_t*)(&V_1), L_129, L_130, L_131, L_134, (uint8_t)((int32_t)13), /*hidden argument*/NULL);
uint32_t L_135 = V_1;
uint32_t L_136 = V_2;
uint32_t L_137 = V_3;
UInt32U5BU5D_t2770800703* L_138 = __this->get_x_7();
int32_t L_139 = 1;
uint32_t L_140 = (L_138)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_139));
MD4Managed_GG_m1845276249(__this, (uint32_t*)(&V_0), L_135, L_136, L_137, L_140, (uint8_t)3, /*hidden argument*/NULL);
uint32_t L_141 = V_0;
uint32_t L_142 = V_1;
uint32_t L_143 = V_2;
UInt32U5BU5D_t2770800703* L_144 = __this->get_x_7();
int32_t L_145 = 5;
uint32_t L_146 = (L_144)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_145));
MD4Managed_GG_m1845276249(__this, (uint32_t*)(&V_3), L_141, L_142, L_143, L_146, (uint8_t)5, /*hidden argument*/NULL);
uint32_t L_147 = V_3;
uint32_t L_148 = V_0;
uint32_t L_149 = V_1;
UInt32U5BU5D_t2770800703* L_150 = __this->get_x_7();
int32_t L_151 = ((int32_t)9);
uint32_t L_152 = (L_150)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_151));
MD4Managed_GG_m1845276249(__this, (uint32_t*)(&V_2), L_147, L_148, L_149, L_152, (uint8_t)((int32_t)9), /*hidden argument*/NULL);
uint32_t L_153 = V_2;
uint32_t L_154 = V_3;
uint32_t L_155 = V_0;
UInt32U5BU5D_t2770800703* L_156 = __this->get_x_7();
int32_t L_157 = ((int32_t)13);
uint32_t L_158 = (L_156)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_157));
MD4Managed_GG_m1845276249(__this, (uint32_t*)(&V_1), L_153, L_154, L_155, L_158, (uint8_t)((int32_t)13), /*hidden argument*/NULL);
uint32_t L_159 = V_1;
uint32_t L_160 = V_2;
uint32_t L_161 = V_3;
UInt32U5BU5D_t2770800703* L_162 = __this->get_x_7();
int32_t L_163 = 2;
uint32_t L_164 = (L_162)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_163));
MD4Managed_GG_m1845276249(__this, (uint32_t*)(&V_0), L_159, L_160, L_161, L_164, (uint8_t)3, /*hidden argument*/NULL);
uint32_t L_165 = V_0;
uint32_t L_166 = V_1;
uint32_t L_167 = V_2;
UInt32U5BU5D_t2770800703* L_168 = __this->get_x_7();
int32_t L_169 = 6;
uint32_t L_170 = (L_168)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_169));
MD4Managed_GG_m1845276249(__this, (uint32_t*)(&V_3), L_165, L_166, L_167, L_170, (uint8_t)5, /*hidden argument*/NULL);
uint32_t L_171 = V_3;
uint32_t L_172 = V_0;
uint32_t L_173 = V_1;
UInt32U5BU5D_t2770800703* L_174 = __this->get_x_7();
int32_t L_175 = ((int32_t)10);
uint32_t L_176 = (L_174)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_175));
MD4Managed_GG_m1845276249(__this, (uint32_t*)(&V_2), L_171, L_172, L_173, L_176, (uint8_t)((int32_t)9), /*hidden argument*/NULL);
uint32_t L_177 = V_2;
uint32_t L_178 = V_3;
uint32_t L_179 = V_0;
UInt32U5BU5D_t2770800703* L_180 = __this->get_x_7();
int32_t L_181 = ((int32_t)14);
uint32_t L_182 = (L_180)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_181));
MD4Managed_GG_m1845276249(__this, (uint32_t*)(&V_1), L_177, L_178, L_179, L_182, (uint8_t)((int32_t)13), /*hidden argument*/NULL);
uint32_t L_183 = V_1;
uint32_t L_184 = V_2;
uint32_t L_185 = V_3;
UInt32U5BU5D_t2770800703* L_186 = __this->get_x_7();
int32_t L_187 = 3;
uint32_t L_188 = (L_186)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_187));
MD4Managed_GG_m1845276249(__this, (uint32_t*)(&V_0), L_183, L_184, L_185, L_188, (uint8_t)3, /*hidden argument*/NULL);
uint32_t L_189 = V_0;
uint32_t L_190 = V_1;
uint32_t L_191 = V_2;
UInt32U5BU5D_t2770800703* L_192 = __this->get_x_7();
int32_t L_193 = 7;
uint32_t L_194 = (L_192)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_193));
MD4Managed_GG_m1845276249(__this, (uint32_t*)(&V_3), L_189, L_190, L_191, L_194, (uint8_t)5, /*hidden argument*/NULL);
uint32_t L_195 = V_3;
uint32_t L_196 = V_0;
uint32_t L_197 = V_1;
UInt32U5BU5D_t2770800703* L_198 = __this->get_x_7();
int32_t L_199 = ((int32_t)11);
uint32_t L_200 = (L_198)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_199));
MD4Managed_GG_m1845276249(__this, (uint32_t*)(&V_2), L_195, L_196, L_197, L_200, (uint8_t)((int32_t)9), /*hidden argument*/NULL);
uint32_t L_201 = V_2;
uint32_t L_202 = V_3;
uint32_t L_203 = V_0;
UInt32U5BU5D_t2770800703* L_204 = __this->get_x_7();
int32_t L_205 = ((int32_t)15);
uint32_t L_206 = (L_204)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_205));
MD4Managed_GG_m1845276249(__this, (uint32_t*)(&V_1), L_201, L_202, L_203, L_206, (uint8_t)((int32_t)13), /*hidden argument*/NULL);
uint32_t L_207 = V_1;
uint32_t L_208 = V_2;
uint32_t L_209 = V_3;
UInt32U5BU5D_t2770800703* L_210 = __this->get_x_7();
int32_t L_211 = 0;
uint32_t L_212 = (L_210)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_211));
MD4Managed_HH_m2535673516(__this, (uint32_t*)(&V_0), L_207, L_208, L_209, L_212, (uint8_t)3, /*hidden argument*/NULL);
uint32_t L_213 = V_0;
uint32_t L_214 = V_1;
uint32_t L_215 = V_2;
UInt32U5BU5D_t2770800703* L_216 = __this->get_x_7();
int32_t L_217 = 8;
uint32_t L_218 = (L_216)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_217));
MD4Managed_HH_m2535673516(__this, (uint32_t*)(&V_3), L_213, L_214, L_215, L_218, (uint8_t)((int32_t)9), /*hidden argument*/NULL);
uint32_t L_219 = V_3;
uint32_t L_220 = V_0;
uint32_t L_221 = V_1;
UInt32U5BU5D_t2770800703* L_222 = __this->get_x_7();
int32_t L_223 = 4;
uint32_t L_224 = (L_222)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_223));
MD4Managed_HH_m2535673516(__this, (uint32_t*)(&V_2), L_219, L_220, L_221, L_224, (uint8_t)((int32_t)11), /*hidden argument*/NULL);
uint32_t L_225 = V_2;
uint32_t L_226 = V_3;
uint32_t L_227 = V_0;
UInt32U5BU5D_t2770800703* L_228 = __this->get_x_7();
int32_t L_229 = ((int32_t)12);
uint32_t L_230 = (L_228)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_229));
MD4Managed_HH_m2535673516(__this, (uint32_t*)(&V_1), L_225, L_226, L_227, L_230, (uint8_t)((int32_t)15), /*hidden argument*/NULL);
uint32_t L_231 = V_1;
uint32_t L_232 = V_2;
uint32_t L_233 = V_3;
UInt32U5BU5D_t2770800703* L_234 = __this->get_x_7();
int32_t L_235 = 2;
uint32_t L_236 = (L_234)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_235));
MD4Managed_HH_m2535673516(__this, (uint32_t*)(&V_0), L_231, L_232, L_233, L_236, (uint8_t)3, /*hidden argument*/NULL);
uint32_t L_237 = V_0;
uint32_t L_238 = V_1;
uint32_t L_239 = V_2;
UInt32U5BU5D_t2770800703* L_240 = __this->get_x_7();
int32_t L_241 = ((int32_t)10);
uint32_t L_242 = (L_240)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_241));
MD4Managed_HH_m2535673516(__this, (uint32_t*)(&V_3), L_237, L_238, L_239, L_242, (uint8_t)((int32_t)9), /*hidden argument*/NULL);
uint32_t L_243 = V_3;
uint32_t L_244 = V_0;
uint32_t L_245 = V_1;
UInt32U5BU5D_t2770800703* L_246 = __this->get_x_7();
int32_t L_247 = 6;
uint32_t L_248 = (L_246)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_247));
MD4Managed_HH_m2535673516(__this, (uint32_t*)(&V_2), L_243, L_244, L_245, L_248, (uint8_t)((int32_t)11), /*hidden argument*/NULL);
uint32_t L_249 = V_2;
uint32_t L_250 = V_3;
uint32_t L_251 = V_0;
UInt32U5BU5D_t2770800703* L_252 = __this->get_x_7();
int32_t L_253 = ((int32_t)14);
uint32_t L_254 = (L_252)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_253));
MD4Managed_HH_m2535673516(__this, (uint32_t*)(&V_1), L_249, L_250, L_251, L_254, (uint8_t)((int32_t)15), /*hidden argument*/NULL);
uint32_t L_255 = V_1;
uint32_t L_256 = V_2;
uint32_t L_257 = V_3;
UInt32U5BU5D_t2770800703* L_258 = __this->get_x_7();
int32_t L_259 = 1;
uint32_t L_260 = (L_258)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_259));
MD4Managed_HH_m2535673516(__this, (uint32_t*)(&V_0), L_255, L_256, L_257, L_260, (uint8_t)3, /*hidden argument*/NULL);
uint32_t L_261 = V_0;
uint32_t L_262 = V_1;
uint32_t L_263 = V_2;
UInt32U5BU5D_t2770800703* L_264 = __this->get_x_7();
int32_t L_265 = ((int32_t)9);
uint32_t L_266 = (L_264)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_265));
MD4Managed_HH_m2535673516(__this, (uint32_t*)(&V_3), L_261, L_262, L_263, L_266, (uint8_t)((int32_t)9), /*hidden argument*/NULL);
uint32_t L_267 = V_3;
uint32_t L_268 = V_0;
uint32_t L_269 = V_1;
UInt32U5BU5D_t2770800703* L_270 = __this->get_x_7();
int32_t L_271 = 5;
uint32_t L_272 = (L_270)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_271));
MD4Managed_HH_m2535673516(__this, (uint32_t*)(&V_2), L_267, L_268, L_269, L_272, (uint8_t)((int32_t)11), /*hidden argument*/NULL);
uint32_t L_273 = V_2;
uint32_t L_274 = V_3;
uint32_t L_275 = V_0;
UInt32U5BU5D_t2770800703* L_276 = __this->get_x_7();
int32_t L_277 = ((int32_t)13);
uint32_t L_278 = (L_276)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_277));
MD4Managed_HH_m2535673516(__this, (uint32_t*)(&V_1), L_273, L_274, L_275, L_278, (uint8_t)((int32_t)15), /*hidden argument*/NULL);
uint32_t L_279 = V_1;
uint32_t L_280 = V_2;
uint32_t L_281 = V_3;
UInt32U5BU5D_t2770800703* L_282 = __this->get_x_7();
int32_t L_283 = 3;
uint32_t L_284 = (L_282)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_283));
MD4Managed_HH_m2535673516(__this, (uint32_t*)(&V_0), L_279, L_280, L_281, L_284, (uint8_t)3, /*hidden argument*/NULL);
uint32_t L_285 = V_0;
uint32_t L_286 = V_1;
uint32_t L_287 = V_2;
UInt32U5BU5D_t2770800703* L_288 = __this->get_x_7();
int32_t L_289 = ((int32_t)11);
uint32_t L_290 = (L_288)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_289));
MD4Managed_HH_m2535673516(__this, (uint32_t*)(&V_3), L_285, L_286, L_287, L_290, (uint8_t)((int32_t)9), /*hidden argument*/NULL);
uint32_t L_291 = V_3;
uint32_t L_292 = V_0;
uint32_t L_293 = V_1;
UInt32U5BU5D_t2770800703* L_294 = __this->get_x_7();
int32_t L_295 = 7;
uint32_t L_296 = (L_294)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_295));
MD4Managed_HH_m2535673516(__this, (uint32_t*)(&V_2), L_291, L_292, L_293, L_296, (uint8_t)((int32_t)11), /*hidden argument*/NULL);
uint32_t L_297 = V_2;
uint32_t L_298 = V_3;
uint32_t L_299 = V_0;
UInt32U5BU5D_t2770800703* L_300 = __this->get_x_7();
int32_t L_301 = ((int32_t)15);
uint32_t L_302 = (L_300)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_301));
MD4Managed_HH_m2535673516(__this, (uint32_t*)(&V_1), L_297, L_298, L_299, L_302, (uint8_t)((int32_t)15), /*hidden argument*/NULL);
UInt32U5BU5D_t2770800703* L_303 = ___state0;
uint32_t* L_304 = ((L_303)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(0)));
uint32_t L_305 = V_0;
*((int32_t*)(L_304)) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)(*((uint32_t*)L_304)), (int32_t)L_305));
UInt32U5BU5D_t2770800703* L_306 = ___state0;
uint32_t* L_307 = ((L_306)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(1)));
uint32_t L_308 = V_1;
*((int32_t*)(L_307)) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)(*((uint32_t*)L_307)), (int32_t)L_308));
UInt32U5BU5D_t2770800703* L_309 = ___state0;
uint32_t* L_310 = ((L_309)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(2)));
uint32_t L_311 = V_2;
*((int32_t*)(L_310)) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)(*((uint32_t*)L_310)), (int32_t)L_311));
UInt32U5BU5D_t2770800703* L_312 = ___state0;
uint32_t* L_313 = ((L_312)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(3)));
uint32_t L_314 = V_3;
*((int32_t*)(L_313)) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)(*((uint32_t*)L_313)), (int32_t)L_314));
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Cryptography.MD5SHA1::.ctor()
extern "C" IL2CPP_METHOD_ATTR void MD5SHA1__ctor_m4081016482 (MD5SHA1_t723838944 * __this, const RuntimeMethod* method)
{
{
HashAlgorithm__ctor_m190815979(__this, /*hidden argument*/NULL);
MD5_t3177620429 * L_0 = MD5_Create_m3522414168(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_md5_4(L_0);
SHA1_t1803193667 * L_1 = SHA1_Create_m1390871308(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_sha_5(L_1);
HashAlgorithm_t1432317219 * L_2 = __this->get_md5_4();
int32_t L_3 = VirtFuncInvoker0< int32_t >::Invoke(12 /* System.Int32 System.Security.Cryptography.HashAlgorithm::get_HashSize() */, L_2);
HashAlgorithm_t1432317219 * L_4 = __this->get_sha_5();
int32_t L_5 = VirtFuncInvoker0< int32_t >::Invoke(12 /* System.Int32 System.Security.Cryptography.HashAlgorithm::get_HashSize() */, L_4);
((HashAlgorithm_t1432317219 *)__this)->set_HashSizeValue_1(((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)L_5)));
return;
}
}
// System.Void Mono.Security.Cryptography.MD5SHA1::Initialize()
extern "C" IL2CPP_METHOD_ATTR void MD5SHA1_Initialize_m675470944 (MD5SHA1_t723838944 * __this, const RuntimeMethod* method)
{
{
HashAlgorithm_t1432317219 * L_0 = __this->get_md5_4();
VirtActionInvoker0::Invoke(13 /* System.Void System.Security.Cryptography.HashAlgorithm::Initialize() */, L_0);
HashAlgorithm_t1432317219 * L_1 = __this->get_sha_5();
VirtActionInvoker0::Invoke(13 /* System.Void System.Security.Cryptography.HashAlgorithm::Initialize() */, L_1);
__this->set_hashing_6((bool)0);
return;
}
}
// System.Byte[] Mono.Security.Cryptography.MD5SHA1::HashFinal()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* MD5SHA1_HashFinal_m4115488658 (MD5SHA1_t723838944 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MD5SHA1_HashFinal_m4115488658_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_t4116647657* V_0 = NULL;
{
bool L_0 = __this->get_hashing_6();
if (L_0)
{
goto IL_0012;
}
}
{
__this->set_hashing_6((bool)1);
}
IL_0012:
{
HashAlgorithm_t1432317219 * L_1 = __this->get_md5_4();
ByteU5BU5D_t4116647657* L_2 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)0);
HashAlgorithm_TransformFinalBlock_m3005451348(L_1, L_2, 0, 0, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_3 = __this->get_sha_5();
ByteU5BU5D_t4116647657* L_4 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)0);
HashAlgorithm_TransformFinalBlock_m3005451348(L_3, L_4, 0, 0, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_5 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)36));
V_0 = L_5;
HashAlgorithm_t1432317219 * L_6 = __this->get_md5_4();
ByteU5BU5D_t4116647657* L_7 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(9 /* System.Byte[] System.Security.Cryptography.HashAlgorithm::get_Hash() */, L_6);
ByteU5BU5D_t4116647657* L_8 = V_0;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, 0, (RuntimeArray *)(RuntimeArray *)L_8, 0, ((int32_t)16), /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_9 = __this->get_sha_5();
ByteU5BU5D_t4116647657* L_10 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(9 /* System.Byte[] System.Security.Cryptography.HashAlgorithm::get_Hash() */, L_9);
ByteU5BU5D_t4116647657* L_11 = V_0;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_10, 0, (RuntimeArray *)(RuntimeArray *)L_11, ((int32_t)16), ((int32_t)20), /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_12 = V_0;
return L_12;
}
}
// System.Void Mono.Security.Cryptography.MD5SHA1::HashCore(System.Byte[],System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void MD5SHA1_HashCore_m4171647335 (MD5SHA1_t723838944 * __this, ByteU5BU5D_t4116647657* ___array0, int32_t ___ibStart1, int32_t ___cbSize2, const RuntimeMethod* method)
{
{
bool L_0 = __this->get_hashing_6();
if (L_0)
{
goto IL_0012;
}
}
{
__this->set_hashing_6((bool)1);
}
IL_0012:
{
HashAlgorithm_t1432317219 * L_1 = __this->get_md5_4();
ByteU5BU5D_t4116647657* L_2 = ___array0;
int32_t L_3 = ___ibStart1;
int32_t L_4 = ___cbSize2;
ByteU5BU5D_t4116647657* L_5 = ___array0;
int32_t L_6 = ___ibStart1;
HashAlgorithm_TransformBlock_m4006041779(L_1, L_2, L_3, L_4, L_5, L_6, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_7 = __this->get_sha_5();
ByteU5BU5D_t4116647657* L_8 = ___array0;
int32_t L_9 = ___ibStart1;
int32_t L_10 = ___cbSize2;
ByteU5BU5D_t4116647657* L_11 = ___array0;
int32_t L_12 = ___ibStart1;
HashAlgorithm_TransformBlock_m4006041779(L_7, L_8, L_9, L_10, L_11, L_12, /*hidden argument*/NULL);
return;
}
}
// System.Byte[] Mono.Security.Cryptography.MD5SHA1::CreateSignature(System.Security.Cryptography.RSA)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* MD5SHA1_CreateSignature_m3583449066 (MD5SHA1_t723838944 * __this, RSA_t2385438082 * ___rsa0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MD5SHA1_CreateSignature_m3583449066_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RSASslSignatureFormatter_t2709678514 * V_0 = NULL;
{
RSA_t2385438082 * L_0 = ___rsa0;
if (L_0)
{
goto IL_0011;
}
}
{
CryptographicUnexpectedOperationException_t2790575154 * L_1 = (CryptographicUnexpectedOperationException_t2790575154 *)il2cpp_codegen_object_new(CryptographicUnexpectedOperationException_t2790575154_il2cpp_TypeInfo_var);
CryptographicUnexpectedOperationException__ctor_m2381988196(L_1, _stringLiteral1813429223, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, MD5SHA1_CreateSignature_m3583449066_RuntimeMethod_var);
}
IL_0011:
{
RSA_t2385438082 * L_2 = ___rsa0;
RSASslSignatureFormatter_t2709678514 * L_3 = (RSASslSignatureFormatter_t2709678514 *)il2cpp_codegen_object_new(RSASslSignatureFormatter_t2709678514_il2cpp_TypeInfo_var);
RSASslSignatureFormatter__ctor_m1299283008(L_3, L_2, /*hidden argument*/NULL);
V_0 = L_3;
RSASslSignatureFormatter_t2709678514 * L_4 = V_0;
VirtActionInvoker1< String_t* >::Invoke(4 /* System.Void Mono.Security.Protocol.Tls.RSASslSignatureFormatter::SetHashAlgorithm(System.String) */, L_4, _stringLiteral1361554341);
RSASslSignatureFormatter_t2709678514 * L_5 = V_0;
ByteU5BU5D_t4116647657* L_6 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(9 /* System.Byte[] System.Security.Cryptography.HashAlgorithm::get_Hash() */, __this);
ByteU5BU5D_t4116647657* L_7 = VirtFuncInvoker1< ByteU5BU5D_t4116647657*, ByteU5BU5D_t4116647657* >::Invoke(6 /* System.Byte[] Mono.Security.Protocol.Tls.RSASslSignatureFormatter::CreateSignature(System.Byte[]) */, L_5, L_6);
return L_7;
}
}
// System.Boolean Mono.Security.Cryptography.MD5SHA1::VerifySignature(System.Security.Cryptography.RSA,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR bool MD5SHA1_VerifySignature_m915115209 (MD5SHA1_t723838944 * __this, RSA_t2385438082 * ___rsa0, ByteU5BU5D_t4116647657* ___rgbSignature1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MD5SHA1_VerifySignature_m915115209_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RSASslSignatureDeformatter_t3558097625 * V_0 = NULL;
{
RSA_t2385438082 * L_0 = ___rsa0;
if (L_0)
{
goto IL_0011;
}
}
{
CryptographicUnexpectedOperationException_t2790575154 * L_1 = (CryptographicUnexpectedOperationException_t2790575154 *)il2cpp_codegen_object_new(CryptographicUnexpectedOperationException_t2790575154_il2cpp_TypeInfo_var);
CryptographicUnexpectedOperationException__ctor_m2381988196(L_1, _stringLiteral1813429223, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, MD5SHA1_VerifySignature_m915115209_RuntimeMethod_var);
}
IL_0011:
{
ByteU5BU5D_t4116647657* L_2 = ___rgbSignature1;
if (L_2)
{
goto IL_0022;
}
}
{
ArgumentNullException_t1615371798 * L_3 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_3, _stringLiteral3170101360, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, MD5SHA1_VerifySignature_m915115209_RuntimeMethod_var);
}
IL_0022:
{
RSA_t2385438082 * L_4 = ___rsa0;
RSASslSignatureDeformatter_t3558097625 * L_5 = (RSASslSignatureDeformatter_t3558097625 *)il2cpp_codegen_object_new(RSASslSignatureDeformatter_t3558097625_il2cpp_TypeInfo_var);
RSASslSignatureDeformatter__ctor_m4026549112(L_5, L_4, /*hidden argument*/NULL);
V_0 = L_5;
RSASslSignatureDeformatter_t3558097625 * L_6 = V_0;
VirtActionInvoker1< String_t* >::Invoke(4 /* System.Void Mono.Security.Protocol.Tls.RSASslSignatureDeformatter::SetHashAlgorithm(System.String) */, L_6, _stringLiteral1361554341);
RSASslSignatureDeformatter_t3558097625 * L_7 = V_0;
ByteU5BU5D_t4116647657* L_8 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(9 /* System.Byte[] System.Security.Cryptography.HashAlgorithm::get_Hash() */, __this);
ByteU5BU5D_t4116647657* L_9 = ___rgbSignature1;
bool L_10 = VirtFuncInvoker2< bool, ByteU5BU5D_t4116647657*, ByteU5BU5D_t4116647657* >::Invoke(6 /* System.Boolean Mono.Security.Protocol.Tls.RSASslSignatureDeformatter::VerifySignature(System.Byte[],System.Byte[]) */, L_7, L_8, L_9);
return L_10;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Cryptography.PKCS1::.cctor()
extern "C" IL2CPP_METHOD_ATTR void PKCS1__cctor_m2848504824 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS1__cctor_m2848504824_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_t4116647657* L_0 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)20));
ByteU5BU5D_t4116647657* L_1 = L_0;
RuntimeFieldHandle_t1871169219 L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t3057255363____U24U24fieldU2D6_2_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m3117905507(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
((PKCS1_t1505584677_StaticFields*)il2cpp_codegen_static_fields_for(PKCS1_t1505584677_il2cpp_TypeInfo_var))->set_emptySHA1_0(L_1);
ByteU5BU5D_t4116647657* L_3 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)32));
ByteU5BU5D_t4116647657* L_4 = L_3;
RuntimeFieldHandle_t1871169219 L_5 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t3057255363____U24U24fieldU2D7_3_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m3117905507(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_4, L_5, /*hidden argument*/NULL);
((PKCS1_t1505584677_StaticFields*)il2cpp_codegen_static_fields_for(PKCS1_t1505584677_il2cpp_TypeInfo_var))->set_emptySHA256_1(L_4);
ByteU5BU5D_t4116647657* L_6 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)48));
ByteU5BU5D_t4116647657* L_7 = L_6;
RuntimeFieldHandle_t1871169219 L_8 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t3057255363____U24U24fieldU2D8_4_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m3117905507(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, L_8, /*hidden argument*/NULL);
((PKCS1_t1505584677_StaticFields*)il2cpp_codegen_static_fields_for(PKCS1_t1505584677_il2cpp_TypeInfo_var))->set_emptySHA384_2(L_7);
ByteU5BU5D_t4116647657* L_9 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)64));
ByteU5BU5D_t4116647657* L_10 = L_9;
RuntimeFieldHandle_t1871169219 L_11 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t3057255363____U24U24fieldU2D9_5_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m3117905507(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_10, L_11, /*hidden argument*/NULL);
((PKCS1_t1505584677_StaticFields*)il2cpp_codegen_static_fields_for(PKCS1_t1505584677_il2cpp_TypeInfo_var))->set_emptySHA512_3(L_10);
return;
}
}
// System.Boolean Mono.Security.Cryptography.PKCS1::Compare(System.Byte[],System.Byte[])
extern "C" IL2CPP_METHOD_ATTR bool PKCS1_Compare_m8562819 (RuntimeObject * __this /* static, unused */, ByteU5BU5D_t4116647657* ___array10, ByteU5BU5D_t4116647657* ___array21, const RuntimeMethod* method)
{
bool V_0 = false;
int32_t V_1 = 0;
{
ByteU5BU5D_t4116647657* L_0 = ___array10;
ByteU5BU5D_t4116647657* L_1 = ___array21;
V_0 = (bool)((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))))) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)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_t4116647657* L_3 = ___array10;
int32_t L_4 = V_1;
int32_t L_5 = L_4;
uint8_t L_6 = (L_3)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_5));
ByteU5BU5D_t4116647657* L_7 = ___array21;
int32_t L_8 = V_1;
int32_t L_9 = L_8;
uint8_t L_10 = (L_7)->GetAtUnchecked(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)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0027:
{
int32_t L_12 = V_1;
ByteU5BU5D_t4116647657* L_13 = ___array10;
if ((((int32_t)L_12) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)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 "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* PKCS1_I2OSP_m2559784711 (RuntimeObject * __this /* static, unused */, ByteU5BU5D_t4116647657* ___x0, int32_t ___size1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS1_I2OSP_m2559784711_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_t4116647657* V_0 = NULL;
{
int32_t L_0 = ___size1;
ByteU5BU5D_t4116647657* L_1 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_0);
V_0 = L_1;
ByteU5BU5D_t4116647657* L_2 = ___x0;
ByteU5BU5D_t4116647657* L_3 = V_0;
ByteU5BU5D_t4116647657* L_4 = V_0;
ByteU5BU5D_t4116647657* L_5 = ___x0;
ByteU5BU5D_t4116647657* L_6 = ___x0;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_2, 0, (RuntimeArray *)(RuntimeArray *)L_3, ((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_4)->max_length)))), (int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_5)->max_length)))))), (((int32_t)((int32_t)(((RuntimeArray *)L_6)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_7 = V_0;
return L_7;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS1::OS2IP(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* PKCS1_OS2IP_m1443067185 (RuntimeObject * __this /* static, unused */, ByteU5BU5D_t4116647657* ___x0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS1_OS2IP_m1443067185_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
ByteU5BU5D_t4116647657* V_1 = NULL;
{
V_0 = 0;
goto IL_0007;
}
IL_0007:
{
ByteU5BU5D_t4116647657* L_0 = ___x0;
int32_t L_1 = V_0;
int32_t L_2 = L_1;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1));
int32_t L_3 = L_2;
uint8_t L_4 = (L_0)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3));
if (L_4)
{
goto IL_001c;
}
}
{
int32_t L_5 = V_0;
ByteU5BU5D_t4116647657* L_6 = ___x0;
if ((((int32_t)L_5) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_6)->max_length)))))))
{
goto IL_0007;
}
}
IL_001c:
{
int32_t L_7 = V_0;
V_0 = ((int32_t)il2cpp_codegen_subtract((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_t4116647657* L_9 = ___x0;
int32_t L_10 = V_0;
ByteU5BU5D_t4116647657* L_11 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_9)->max_length)))), (int32_t)L_10)));
V_1 = L_11;
ByteU5BU5D_t4116647657* L_12 = ___x0;
int32_t L_13 = V_0;
ByteU5BU5D_t4116647657* L_14 = V_1;
ByteU5BU5D_t4116647657* L_15 = V_1;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_12, L_13, (RuntimeArray *)(RuntimeArray *)L_14, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_15)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_16 = V_1;
return L_16;
}
IL_0040:
{
ByteU5BU5D_t4116647657* L_17 = ___x0;
return L_17;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS1::RSASP1(System.Security.Cryptography.RSA,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* PKCS1_RSASP1_m4286349561 (RuntimeObject * __this /* static, unused */, RSA_t2385438082 * ___rsa0, ByteU5BU5D_t4116647657* ___m1, const RuntimeMethod* method)
{
{
RSA_t2385438082 * L_0 = ___rsa0;
ByteU5BU5D_t4116647657* L_1 = ___m1;
ByteU5BU5D_t4116647657* L_2 = VirtFuncInvoker1< ByteU5BU5D_t4116647657*, ByteU5BU5D_t4116647657* >::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" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* PKCS1_RSAVP1_m43771175 (RuntimeObject * __this /* static, unused */, RSA_t2385438082 * ___rsa0, ByteU5BU5D_t4116647657* ___s1, const RuntimeMethod* method)
{
{
RSA_t2385438082 * L_0 = ___rsa0;
ByteU5BU5D_t4116647657* L_1 = ___s1;
ByteU5BU5D_t4116647657* L_2 = VirtFuncInvoker1< ByteU5BU5D_t4116647657*, ByteU5BU5D_t4116647657* >::Invoke(10 /* System.Byte[] System.Security.Cryptography.RSA::EncryptValue(System.Byte[]) */, L_0, L_1);
return L_2;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS1::Sign_v15(System.Security.Cryptography.RSA,System.Security.Cryptography.HashAlgorithm,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* PKCS1_Sign_v15_m3459793192 (RuntimeObject * __this /* static, unused */, RSA_t2385438082 * ___rsa0, HashAlgorithm_t1432317219 * ___hash1, ByteU5BU5D_t4116647657* ___hashValue2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS1_Sign_v15_m3459793192_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
ByteU5BU5D_t4116647657* V_1 = NULL;
ByteU5BU5D_t4116647657* V_2 = NULL;
ByteU5BU5D_t4116647657* V_3 = NULL;
ByteU5BU5D_t4116647657* V_4 = NULL;
{
RSA_t2385438082 * 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_t1432317219 * L_2 = ___hash1;
ByteU5BU5D_t4116647657* L_3 = ___hashValue2;
int32_t L_4 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(PKCS1_t1505584677_il2cpp_TypeInfo_var);
ByteU5BU5D_t4116647657* L_5 = PKCS1_Encode_v15_m2077073129(NULL /*static, unused*/, L_2, L_3, L_4, /*hidden argument*/NULL);
V_1 = L_5;
ByteU5BU5D_t4116647657* L_6 = V_1;
ByteU5BU5D_t4116647657* L_7 = PKCS1_OS2IP_m1443067185(NULL /*static, unused*/, L_6, /*hidden argument*/NULL);
V_2 = L_7;
RSA_t2385438082 * L_8 = ___rsa0;
ByteU5BU5D_t4116647657* L_9 = V_2;
ByteU5BU5D_t4116647657* L_10 = PKCS1_RSASP1_m4286349561(NULL /*static, unused*/, L_8, L_9, /*hidden argument*/NULL);
V_3 = L_10;
ByteU5BU5D_t4116647657* L_11 = V_3;
int32_t L_12 = V_0;
ByteU5BU5D_t4116647657* L_13 = PKCS1_I2OSP_m2559784711(NULL /*static, unused*/, L_11, L_12, /*hidden argument*/NULL);
V_4 = L_13;
ByteU5BU5D_t4116647657* 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 "C" IL2CPP_METHOD_ATTR bool PKCS1_Verify_v15_m4192025173 (RuntimeObject * __this /* static, unused */, RSA_t2385438082 * ___rsa0, HashAlgorithm_t1432317219 * ___hash1, ByteU5BU5D_t4116647657* ___hashValue2, ByteU5BU5D_t4116647657* ___signature3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS1_Verify_v15_m4192025173_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RSA_t2385438082 * L_0 = ___rsa0;
HashAlgorithm_t1432317219 * L_1 = ___hash1;
ByteU5BU5D_t4116647657* L_2 = ___hashValue2;
ByteU5BU5D_t4116647657* L_3 = ___signature3;
IL2CPP_RUNTIME_CLASS_INIT(PKCS1_t1505584677_il2cpp_TypeInfo_var);
bool L_4 = PKCS1_Verify_v15_m400093581(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 "C" IL2CPP_METHOD_ATTR bool PKCS1_Verify_v15_m400093581 (RuntimeObject * __this /* static, unused */, RSA_t2385438082 * ___rsa0, HashAlgorithm_t1432317219 * ___hash1, ByteU5BU5D_t4116647657* ___hashValue2, ByteU5BU5D_t4116647657* ___signature3, bool ___tryNonStandardEncoding4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS1_Verify_v15_m400093581_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
ByteU5BU5D_t4116647657* V_1 = NULL;
ByteU5BU5D_t4116647657* V_2 = NULL;
ByteU5BU5D_t4116647657* V_3 = NULL;
ByteU5BU5D_t4116647657* V_4 = NULL;
bool V_5 = false;
int32_t V_6 = 0;
ByteU5BU5D_t4116647657* V_7 = NULL;
{
RSA_t2385438082 * 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_t4116647657* L_2 = ___signature3;
IL2CPP_RUNTIME_CLASS_INIT(PKCS1_t1505584677_il2cpp_TypeInfo_var);
ByteU5BU5D_t4116647657* L_3 = PKCS1_OS2IP_m1443067185(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
V_1 = L_3;
RSA_t2385438082 * L_4 = ___rsa0;
ByteU5BU5D_t4116647657* L_5 = V_1;
ByteU5BU5D_t4116647657* L_6 = PKCS1_RSAVP1_m43771175(NULL /*static, unused*/, L_4, L_5, /*hidden argument*/NULL);
V_2 = L_6;
ByteU5BU5D_t4116647657* L_7 = V_2;
int32_t L_8 = V_0;
ByteU5BU5D_t4116647657* L_9 = PKCS1_I2OSP_m2559784711(NULL /*static, unused*/, L_7, L_8, /*hidden argument*/NULL);
V_3 = L_9;
HashAlgorithm_t1432317219 * L_10 = ___hash1;
ByteU5BU5D_t4116647657* L_11 = ___hashValue2;
int32_t L_12 = V_0;
ByteU5BU5D_t4116647657* L_13 = PKCS1_Encode_v15_m2077073129(NULL /*static, unused*/, L_10, L_11, L_12, /*hidden argument*/NULL);
V_4 = L_13;
ByteU5BU5D_t4116647657* L_14 = V_4;
ByteU5BU5D_t4116647657* L_15 = V_3;
bool L_16 = PKCS1_Compare_m8562819(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_t4116647657* L_20 = V_3;
int32_t L_21 = 0;
uint8_t L_22 = (L_20)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_21));
if (L_22)
{
goto IL_0056;
}
}
{
ByteU5BU5D_t4116647657* L_23 = V_3;
int32_t L_24 = 1;
uint8_t L_25 = (L_23)->GetAtUnchecked(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_t4116647657* L_26 = V_3;
int32_t L_27 = V_6;
int32_t L_28 = L_27;
uint8_t L_29 = (L_26)->GetAtUnchecked(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)il2cpp_codegen_add((int32_t)L_30, (int32_t)1));
}
IL_0076:
{
int32_t L_31 = V_6;
ByteU5BU5D_t4116647657* L_32 = V_3;
ByteU5BU5D_t4116647657* L_33 = ___hashValue2;
if ((((int32_t)L_31) < ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_32)->max_length)))), (int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_33)->max_length)))))), (int32_t)1)))))
{
goto IL_0060;
}
}
{
ByteU5BU5D_t4116647657* L_34 = V_3;
int32_t L_35 = V_6;
int32_t L_36 = L_35;
V_6 = ((int32_t)il2cpp_codegen_add((int32_t)L_36, (int32_t)1));
int32_t L_37 = L_36;
uint8_t L_38 = (L_34)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_37));
if (!L_38)
{
goto IL_0096;
}
}
{
return (bool)0;
}
IL_0096:
{
ByteU5BU5D_t4116647657* L_39 = ___hashValue2;
ByteU5BU5D_t4116647657* L_40 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_39)->max_length)))));
V_7 = L_40;
ByteU5BU5D_t4116647657* L_41 = V_3;
int32_t L_42 = V_6;
ByteU5BU5D_t4116647657* L_43 = V_7;
ByteU5BU5D_t4116647657* L_44 = V_7;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_41, L_42, (RuntimeArray *)(RuntimeArray *)L_43, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_44)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_45 = V_7;
ByteU5BU5D_t4116647657* L_46 = ___hashValue2;
IL2CPP_RUNTIME_CLASS_INIT(PKCS1_t1505584677_il2cpp_TypeInfo_var);
bool L_47 = PKCS1_Compare_m8562819(NULL /*static, unused*/, L_45, L_46, /*hidden argument*/NULL);
return L_47;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS1::Encode_v15(System.Security.Cryptography.HashAlgorithm,System.Byte[],System.Int32)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* PKCS1_Encode_v15_m2077073129 (RuntimeObject * __this /* static, unused */, HashAlgorithm_t1432317219 * ___hash0, ByteU5BU5D_t4116647657* ___hashValue1, int32_t ___emLength2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS1_Encode_v15_m2077073129_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_t4116647657* V_0 = NULL;
String_t* V_1 = NULL;
ASN1_t2114160833 * V_2 = NULL;
ASN1_t2114160833 * V_3 = NULL;
ASN1_t2114160833 * V_4 = NULL;
int32_t V_5 = 0;
ByteU5BU5D_t4116647657* V_6 = NULL;
int32_t V_7 = 0;
{
ByteU5BU5D_t4116647657* L_0 = ___hashValue1;
HashAlgorithm_t1432317219 * 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)(((RuntimeArray *)L_0)->max_length))))) == ((int32_t)((int32_t)((int32_t)L_2>>(int32_t)3)))))
{
goto IL_0026;
}
}
{
HashAlgorithm_t1432317219 * 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_m3937257545(NULL /*static, unused*/, _stringLiteral491063406, L_4, /*hidden argument*/NULL);
CryptographicException_t248831461 * L_6 = (CryptographicException_t248831461 *)il2cpp_codegen_object_new(CryptographicException_t248831461_il2cpp_TypeInfo_var);
CryptographicException__ctor_m503735289(L_6, L_5, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, PKCS1_Encode_v15_m2077073129_RuntimeMethod_var);
}
IL_0026:
{
V_0 = (ByteU5BU5D_t4116647657*)NULL;
HashAlgorithm_t1432317219 * L_7 = ___hash0;
String_t* L_8 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_7);
IL2CPP_RUNTIME_CLASS_INIT(CryptoConfig_t4201145714_il2cpp_TypeInfo_var);
String_t* L_9 = CryptoConfig_MapNameToOID_m2044758263(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_t2114160833 * L_11 = (ASN1_t2114160833 *)il2cpp_codegen_object_new(ASN1_t2114160833_il2cpp_TypeInfo_var);
ASN1__ctor_m1239252869(L_11, (uint8_t)((int32_t)48), /*hidden argument*/NULL);
V_2 = L_11;
ASN1_t2114160833 * L_12 = V_2;
String_t* L_13 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(CryptoConfig_t4201145714_il2cpp_TypeInfo_var);
ByteU5BU5D_t4116647657* L_14 = CryptoConfig_EncodeOID_m2635914623(NULL /*static, unused*/, L_13, /*hidden argument*/NULL);
ASN1_t2114160833 * L_15 = (ASN1_t2114160833 *)il2cpp_codegen_object_new(ASN1_t2114160833_il2cpp_TypeInfo_var);
ASN1__ctor_m1638893325(L_15, L_14, /*hidden argument*/NULL);
ASN1_Add_m2431139999(L_12, L_15, /*hidden argument*/NULL);
ASN1_t2114160833 * L_16 = V_2;
ASN1_t2114160833 * L_17 = (ASN1_t2114160833 *)il2cpp_codegen_object_new(ASN1_t2114160833_il2cpp_TypeInfo_var);
ASN1__ctor_m1239252869(L_17, (uint8_t)5, /*hidden argument*/NULL);
ASN1_Add_m2431139999(L_16, L_17, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_18 = ___hashValue1;
ASN1_t2114160833 * L_19 = (ASN1_t2114160833 *)il2cpp_codegen_object_new(ASN1_t2114160833_il2cpp_TypeInfo_var);
ASN1__ctor_m682794872(L_19, (uint8_t)4, L_18, /*hidden argument*/NULL);
V_3 = L_19;
ASN1_t2114160833 * L_20 = (ASN1_t2114160833 *)il2cpp_codegen_object_new(ASN1_t2114160833_il2cpp_TypeInfo_var);
ASN1__ctor_m1239252869(L_20, (uint8_t)((int32_t)48), /*hidden argument*/NULL);
V_4 = L_20;
ASN1_t2114160833 * L_21 = V_4;
ASN1_t2114160833 * L_22 = V_2;
ASN1_Add_m2431139999(L_21, L_22, /*hidden argument*/NULL);
ASN1_t2114160833 * L_23 = V_4;
ASN1_t2114160833 * L_24 = V_3;
ASN1_Add_m2431139999(L_23, L_24, /*hidden argument*/NULL);
ASN1_t2114160833 * L_25 = V_4;
ByteU5BU5D_t4116647657* L_26 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(4 /* System.Byte[] Mono.Security.ASN1::GetBytes() */, L_25);
V_0 = L_26;
goto IL_0093;
}
IL_0091:
{
ByteU5BU5D_t4116647657* L_27 = ___hashValue1;
V_0 = L_27;
}
IL_0093:
{
ByteU5BU5D_t4116647657* L_28 = ___hashValue1;
ByteU5BU5D_t4116647657* L_29 = V_0;
ByteU5BU5D_t4116647657* L_30 = V_0;
ByteU5BU5D_t4116647657* L_31 = ___hashValue1;
ByteU5BU5D_t4116647657* L_32 = ___hashValue1;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_28, 0, (RuntimeArray *)(RuntimeArray *)L_29, ((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_30)->max_length)))), (int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_31)->max_length)))))), (((int32_t)((int32_t)(((RuntimeArray *)L_32)->max_length)))), /*hidden argument*/NULL);
int32_t L_33 = ___emLength2;
ByteU5BU5D_t4116647657* L_34 = V_0;
int32_t L_35 = Math_Max_m1873195862(NULL /*static, unused*/, 8, ((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_33, (int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_34)->max_length)))))), (int32_t)3)), /*hidden argument*/NULL);
V_5 = L_35;
int32_t L_36 = V_5;
ByteU5BU5D_t4116647657* L_37 = V_0;
ByteU5BU5D_t4116647657* L_38 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_36, (int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_37)->max_length)))))), (int32_t)3)));
V_6 = L_38;
ByteU5BU5D_t4116647657* L_39 = V_6;
(L_39)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (uint8_t)1);
V_7 = 2;
goto IL_00e0;
}
IL_00d0:
{
ByteU5BU5D_t4116647657* L_40 = V_6;
int32_t L_41 = V_7;
(L_40)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_41), (uint8_t)((int32_t)255));
int32_t L_42 = V_7;
V_7 = ((int32_t)il2cpp_codegen_add((int32_t)L_42, (int32_t)1));
}
IL_00e0:
{
int32_t L_43 = V_7;
int32_t L_44 = V_5;
if ((((int32_t)L_43) < ((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_44, (int32_t)2)))))
{
goto IL_00d0;
}
}
{
ByteU5BU5D_t4116647657* L_45 = V_0;
ByteU5BU5D_t4116647657* L_46 = V_6;
int32_t L_47 = V_5;
ByteU5BU5D_t4116647657* L_48 = V_0;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_45, 0, (RuntimeArray *)(RuntimeArray *)L_46, ((int32_t)il2cpp_codegen_add((int32_t)L_47, (int32_t)3)), (((int32_t)((int32_t)(((RuntimeArray *)L_48)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_49 = V_6;
return L_49;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo::.ctor()
extern "C" IL2CPP_METHOD_ATTR void EncryptedPrivateKeyInfo__ctor_m3415744930 (EncryptedPrivateKeyInfo_t862116836 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo::.ctor(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void EncryptedPrivateKeyInfo__ctor_m25839594 (EncryptedPrivateKeyInfo_t862116836 * __this, ByteU5BU5D_t4116647657* ___data0, const RuntimeMethod* method)
{
{
EncryptedPrivateKeyInfo__ctor_m3415744930(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_0 = ___data0;
EncryptedPrivateKeyInfo_Decode_m3008916518(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// System.String Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo::get_Algorithm()
extern "C" IL2CPP_METHOD_ATTR String_t* EncryptedPrivateKeyInfo_get_Algorithm_m3027828440 (EncryptedPrivateKeyInfo_t862116836 * __this, const RuntimeMethod* method)
{
{
String_t* L_0 = __this->get__algorithm_0();
return L_0;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo::get_EncryptedData()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* EncryptedPrivateKeyInfo_get_EncryptedData_m491452551 (EncryptedPrivateKeyInfo_t862116836 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EncryptedPrivateKeyInfo_get_EncryptedData_m491452551_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_t4116647657* G_B3_0 = NULL;
{
ByteU5BU5D_t4116647657* L_0 = __this->get__data_3();
if (L_0)
{
goto IL_0011;
}
}
{
G_B3_0 = ((ByteU5BU5D_t4116647657*)(NULL));
goto IL_0021;
}
IL_0011:
{
ByteU5BU5D_t4116647657* L_1 = __this->get__data_3();
RuntimeObject * L_2 = Array_Clone_m2672907798((RuntimeArray *)(RuntimeArray *)L_1, /*hidden argument*/NULL);
G_B3_0 = ((ByteU5BU5D_t4116647657*)Castclass((RuntimeObject*)L_2, ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var));
}
IL_0021:
{
return G_B3_0;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo::get_Salt()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* EncryptedPrivateKeyInfo_get_Salt_m1261804721 (EncryptedPrivateKeyInfo_t862116836 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EncryptedPrivateKeyInfo_get_Salt_m1261804721_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RandomNumberGenerator_t386037858 * V_0 = NULL;
{
ByteU5BU5D_t4116647657* L_0 = __this->get__salt_1();
if (L_0)
{
goto IL_0029;
}
}
{
RandomNumberGenerator_t386037858 * L_1 = RandomNumberGenerator_Create_m4162970280(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = L_1;
ByteU5BU5D_t4116647657* L_2 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)8);
__this->set__salt_1(L_2);
RandomNumberGenerator_t386037858 * L_3 = V_0;
ByteU5BU5D_t4116647657* L_4 = __this->get__salt_1();
VirtActionInvoker1< ByteU5BU5D_t4116647657* >::Invoke(4 /* System.Void System.Security.Cryptography.RandomNumberGenerator::GetBytes(System.Byte[]) */, L_3, L_4);
}
IL_0029:
{
ByteU5BU5D_t4116647657* L_5 = __this->get__salt_1();
RuntimeObject * L_6 = Array_Clone_m2672907798((RuntimeArray *)(RuntimeArray *)L_5, /*hidden argument*/NULL);
return ((ByteU5BU5D_t4116647657*)Castclass((RuntimeObject*)L_6, ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var));
}
}
// System.Int32 Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo::get_IterationCount()
extern "C" IL2CPP_METHOD_ATTR int32_t EncryptedPrivateKeyInfo_get_IterationCount_m2912222740 (EncryptedPrivateKeyInfo_t862116836 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get__iterations_2();
return L_0;
}
}
// System.Void Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo::Decode(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void EncryptedPrivateKeyInfo_Decode_m3008916518 (EncryptedPrivateKeyInfo_t862116836 * __this, ByteU5BU5D_t4116647657* ___data0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EncryptedPrivateKeyInfo_Decode_m3008916518_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ASN1_t2114160833 * V_0 = NULL;
ASN1_t2114160833 * V_1 = NULL;
ASN1_t2114160833 * V_2 = NULL;
ASN1_t2114160833 * V_3 = NULL;
ASN1_t2114160833 * V_4 = NULL;
ASN1_t2114160833 * V_5 = NULL;
ASN1_t2114160833 * V_6 = NULL;
{
ByteU5BU5D_t4116647657* L_0 = ___data0;
ASN1_t2114160833 * L_1 = (ASN1_t2114160833 *)il2cpp_codegen_object_new(ASN1_t2114160833_il2cpp_TypeInfo_var);
ASN1__ctor_m1638893325(L_1, L_0, /*hidden argument*/NULL);
V_0 = L_1;
ASN1_t2114160833 * L_2 = V_0;
uint8_t L_3 = ASN1_get_Tag_m2789147236(L_2, /*hidden argument*/NULL);
if ((((int32_t)L_3) == ((int32_t)((int32_t)48))))
{
goto IL_001f;
}
}
{
CryptographicException_t248831461 * L_4 = (CryptographicException_t248831461 *)il2cpp_codegen_object_new(CryptographicException_t248831461_il2cpp_TypeInfo_var);
CryptographicException__ctor_m503735289(L_4, _stringLiteral2449489188, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, EncryptedPrivateKeyInfo_Decode_m3008916518_RuntimeMethod_var);
}
IL_001f:
{
ASN1_t2114160833 * L_5 = V_0;
ASN1_t2114160833 * L_6 = ASN1_get_Item_m2255075813(L_5, 0, /*hidden argument*/NULL);
V_1 = L_6;
ASN1_t2114160833 * L_7 = V_1;
uint8_t L_8 = ASN1_get_Tag_m2789147236(L_7, /*hidden argument*/NULL);
if ((((int32_t)L_8) == ((int32_t)((int32_t)48))))
{
goto IL_003f;
}
}
{
CryptographicException_t248831461 * L_9 = (CryptographicException_t248831461 *)il2cpp_codegen_object_new(CryptographicException_t248831461_il2cpp_TypeInfo_var);
CryptographicException__ctor_m503735289(L_9, _stringLiteral2471616411, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_9, NULL, EncryptedPrivateKeyInfo_Decode_m3008916518_RuntimeMethod_var);
}
IL_003f:
{
ASN1_t2114160833 * L_10 = V_1;
ASN1_t2114160833 * L_11 = ASN1_get_Item_m2255075813(L_10, 0, /*hidden argument*/NULL);
V_2 = L_11;
ASN1_t2114160833 * L_12 = V_2;
uint8_t L_13 = ASN1_get_Tag_m2789147236(L_12, /*hidden argument*/NULL);
if ((((int32_t)L_13) == ((int32_t)6)))
{
goto IL_005e;
}
}
{
CryptographicException_t248831461 * L_14 = (CryptographicException_t248831461 *)il2cpp_codegen_object_new(CryptographicException_t248831461_il2cpp_TypeInfo_var);
CryptographicException__ctor_m503735289(L_14, _stringLiteral1133397176, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_14, NULL, EncryptedPrivateKeyInfo_Decode_m3008916518_RuntimeMethod_var);
}
IL_005e:
{
ASN1_t2114160833 * L_15 = V_2;
String_t* L_16 = ASN1Convert_ToOid_m3847701408(NULL /*static, unused*/, L_15, /*hidden argument*/NULL);
__this->set__algorithm_0(L_16);
ASN1_t2114160833 * L_17 = V_1;
int32_t L_18 = ASN1_get_Count_m1789520042(L_17, /*hidden argument*/NULL);
if ((((int32_t)L_18) <= ((int32_t)1)))
{
goto IL_00f2;
}
}
{
ASN1_t2114160833 * L_19 = V_1;
ASN1_t2114160833 * L_20 = ASN1_get_Item_m2255075813(L_19, 1, /*hidden argument*/NULL);
V_3 = L_20;
ASN1_t2114160833 * L_21 = V_3;
uint8_t L_22 = ASN1_get_Tag_m2789147236(L_21, /*hidden argument*/NULL);
if ((((int32_t)L_22) == ((int32_t)((int32_t)48))))
{
goto IL_0096;
}
}
{
CryptographicException_t248831461 * L_23 = (CryptographicException_t248831461 *)il2cpp_codegen_object_new(CryptographicException_t248831461_il2cpp_TypeInfo_var);
CryptographicException__ctor_m503735289(L_23, _stringLiteral2479900804, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_23, NULL, EncryptedPrivateKeyInfo_Decode_m3008916518_RuntimeMethod_var);
}
IL_0096:
{
ASN1_t2114160833 * L_24 = V_3;
ASN1_t2114160833 * L_25 = ASN1_get_Item_m2255075813(L_24, 0, /*hidden argument*/NULL);
V_4 = L_25;
ASN1_t2114160833 * L_26 = V_4;
uint8_t L_27 = ASN1_get_Tag_m2789147236(L_26, /*hidden argument*/NULL);
if ((((int32_t)L_27) == ((int32_t)4)))
{
goto IL_00b7;
}
}
{
CryptographicException_t248831461 * L_28 = (CryptographicException_t248831461 *)il2cpp_codegen_object_new(CryptographicException_t248831461_il2cpp_TypeInfo_var);
CryptographicException__ctor_m503735289(L_28, _stringLiteral2581649682, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_28, NULL, EncryptedPrivateKeyInfo_Decode_m3008916518_RuntimeMethod_var);
}
IL_00b7:
{
ASN1_t2114160833 * L_29 = V_4;
ByteU5BU5D_t4116647657* L_30 = ASN1_get_Value_m63296490(L_29, /*hidden argument*/NULL);
__this->set__salt_1(L_30);
ASN1_t2114160833 * L_31 = V_3;
ASN1_t2114160833 * L_32 = ASN1_get_Item_m2255075813(L_31, 1, /*hidden argument*/NULL);
V_5 = L_32;
ASN1_t2114160833 * L_33 = V_5;
uint8_t L_34 = ASN1_get_Tag_m2789147236(L_33, /*hidden argument*/NULL);
if ((((int32_t)L_34) == ((int32_t)2)))
{
goto IL_00e5;
}
}
{
CryptographicException_t248831461 * L_35 = (CryptographicException_t248831461 *)il2cpp_codegen_object_new(CryptographicException_t248831461_il2cpp_TypeInfo_var);
CryptographicException__ctor_m503735289(L_35, _stringLiteral1189022210, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_35, NULL, EncryptedPrivateKeyInfo_Decode_m3008916518_RuntimeMethod_var);
}
IL_00e5:
{
ASN1_t2114160833 * L_36 = V_5;
int32_t L_37 = ASN1Convert_ToInt32_m1017403318(NULL /*static, unused*/, L_36, /*hidden argument*/NULL);
__this->set__iterations_2(L_37);
}
IL_00f2:
{
ASN1_t2114160833 * L_38 = V_0;
ASN1_t2114160833 * L_39 = ASN1_get_Item_m2255075813(L_38, 1, /*hidden argument*/NULL);
V_6 = L_39;
ASN1_t2114160833 * L_40 = V_6;
uint8_t L_41 = ASN1_get_Tag_m2789147236(L_40, /*hidden argument*/NULL);
if ((((int32_t)L_41) == ((int32_t)4)))
{
goto IL_0113;
}
}
{
CryptographicException_t248831461 * L_42 = (CryptographicException_t248831461 *)il2cpp_codegen_object_new(CryptographicException_t248831461_il2cpp_TypeInfo_var);
CryptographicException__ctor_m503735289(L_42, _stringLiteral3895113801, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_42, NULL, EncryptedPrivateKeyInfo_Decode_m3008916518_RuntimeMethod_var);
}
IL_0113:
{
ASN1_t2114160833 * L_43 = V_6;
ByteU5BU5D_t4116647657* L_44 = ASN1_get_Value_m63296490(L_43, /*hidden argument*/NULL);
__this->set__data_3(L_44);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::.ctor()
extern "C" IL2CPP_METHOD_ATTR void PrivateKeyInfo__ctor_m3331475997 (PrivateKeyInfo_t668027993 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PrivateKeyInfo__ctor_m3331475997_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
__this->set__version_0(0);
ArrayList_t2718874744 * L_0 = (ArrayList_t2718874744 *)il2cpp_codegen_object_new(ArrayList_t2718874744_il2cpp_TypeInfo_var);
ArrayList__ctor_m4254721275(L_0, /*hidden argument*/NULL);
__this->set__list_3(L_0);
return;
}
}
// System.Void Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::.ctor(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void PrivateKeyInfo__ctor_m2715455038 (PrivateKeyInfo_t668027993 * __this, ByteU5BU5D_t4116647657* ___data0, const RuntimeMethod* method)
{
{
PrivateKeyInfo__ctor_m3331475997(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_0 = ___data0;
PrivateKeyInfo_Decode_m986145117(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::get_PrivateKey()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* PrivateKeyInfo_get_PrivateKey_m3647771102 (PrivateKeyInfo_t668027993 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PrivateKeyInfo_get_PrivateKey_m3647771102_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_t4116647657* L_0 = __this->get__key_2();
if (L_0)
{
goto IL_000d;
}
}
{
return (ByteU5BU5D_t4116647657*)NULL;
}
IL_000d:
{
ByteU5BU5D_t4116647657* L_1 = __this->get__key_2();
RuntimeObject * L_2 = Array_Clone_m2672907798((RuntimeArray *)(RuntimeArray *)L_1, /*hidden argument*/NULL);
return ((ByteU5BU5D_t4116647657*)Castclass((RuntimeObject*)L_2, ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var));
}
}
// System.Void Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::Decode(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void PrivateKeyInfo_Decode_m986145117 (PrivateKeyInfo_t668027993 * __this, ByteU5BU5D_t4116647657* ___data0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PrivateKeyInfo_Decode_m986145117_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ASN1_t2114160833 * V_0 = NULL;
ASN1_t2114160833 * V_1 = NULL;
ASN1_t2114160833 * V_2 = NULL;
ASN1_t2114160833 * V_3 = NULL;
ASN1_t2114160833 * V_4 = NULL;
ASN1_t2114160833 * V_5 = NULL;
int32_t V_6 = 0;
{
ByteU5BU5D_t4116647657* L_0 = ___data0;
ASN1_t2114160833 * L_1 = (ASN1_t2114160833 *)il2cpp_codegen_object_new(ASN1_t2114160833_il2cpp_TypeInfo_var);
ASN1__ctor_m1638893325(L_1, L_0, /*hidden argument*/NULL);
V_0 = L_1;
ASN1_t2114160833 * L_2 = V_0;
uint8_t L_3 = ASN1_get_Tag_m2789147236(L_2, /*hidden argument*/NULL);
if ((((int32_t)L_3) == ((int32_t)((int32_t)48))))
{
goto IL_001f;
}
}
{
CryptographicException_t248831461 * L_4 = (CryptographicException_t248831461 *)il2cpp_codegen_object_new(CryptographicException_t248831461_il2cpp_TypeInfo_var);
CryptographicException__ctor_m503735289(L_4, _stringLiteral3860840281, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, PrivateKeyInfo_Decode_m986145117_RuntimeMethod_var);
}
IL_001f:
{
ASN1_t2114160833 * L_5 = V_0;
ASN1_t2114160833 * L_6 = ASN1_get_Item_m2255075813(L_5, 0, /*hidden argument*/NULL);
V_1 = L_6;
ASN1_t2114160833 * L_7 = V_1;
uint8_t L_8 = ASN1_get_Tag_m2789147236(L_7, /*hidden argument*/NULL);
if ((((int32_t)L_8) == ((int32_t)2)))
{
goto IL_003e;
}
}
{
CryptographicException_t248831461 * L_9 = (CryptographicException_t248831461 *)il2cpp_codegen_object_new(CryptographicException_t248831461_il2cpp_TypeInfo_var);
CryptographicException__ctor_m503735289(L_9, _stringLiteral1111651387, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_9, NULL, PrivateKeyInfo_Decode_m986145117_RuntimeMethod_var);
}
IL_003e:
{
ASN1_t2114160833 * L_10 = V_1;
ByteU5BU5D_t4116647657* L_11 = ASN1_get_Value_m63296490(L_10, /*hidden argument*/NULL);
int32_t L_12 = 0;
uint8_t L_13 = (L_11)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12));
__this->set__version_0(L_13);
ASN1_t2114160833 * L_14 = V_0;
ASN1_t2114160833 * L_15 = ASN1_get_Item_m2255075813(L_14, 1, /*hidden argument*/NULL);
V_2 = L_15;
ASN1_t2114160833 * L_16 = V_2;
uint8_t L_17 = ASN1_get_Tag_m2789147236(L_16, /*hidden argument*/NULL);
if ((((int32_t)L_17) == ((int32_t)((int32_t)48))))
{
goto IL_006c;
}
}
{
CryptographicException_t248831461 * L_18 = (CryptographicException_t248831461 *)il2cpp_codegen_object_new(CryptographicException_t248831461_il2cpp_TypeInfo_var);
CryptographicException__ctor_m503735289(L_18, _stringLiteral1133397176, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_18, NULL, PrivateKeyInfo_Decode_m986145117_RuntimeMethod_var);
}
IL_006c:
{
ASN1_t2114160833 * L_19 = V_2;
ASN1_t2114160833 * L_20 = ASN1_get_Item_m2255075813(L_19, 0, /*hidden argument*/NULL);
V_3 = L_20;
ASN1_t2114160833 * L_21 = V_3;
uint8_t L_22 = ASN1_get_Tag_m2789147236(L_21, /*hidden argument*/NULL);
if ((((int32_t)L_22) == ((int32_t)6)))
{
goto IL_008b;
}
}
{
CryptographicException_t248831461 * L_23 = (CryptographicException_t248831461 *)il2cpp_codegen_object_new(CryptographicException_t248831461_il2cpp_TypeInfo_var);
CryptographicException__ctor_m503735289(L_23, _stringLiteral3055172879, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_23, NULL, PrivateKeyInfo_Decode_m986145117_RuntimeMethod_var);
}
IL_008b:
{
ASN1_t2114160833 * L_24 = V_3;
String_t* L_25 = ASN1Convert_ToOid_m3847701408(NULL /*static, unused*/, L_24, /*hidden argument*/NULL);
__this->set__algorithm_1(L_25);
ASN1_t2114160833 * L_26 = V_0;
ASN1_t2114160833 * L_27 = ASN1_get_Item_m2255075813(L_26, 2, /*hidden argument*/NULL);
V_4 = L_27;
ASN1_t2114160833 * L_28 = V_4;
ByteU5BU5D_t4116647657* L_29 = ASN1_get_Value_m63296490(L_28, /*hidden argument*/NULL);
__this->set__key_2(L_29);
ASN1_t2114160833 * L_30 = V_0;
int32_t L_31 = ASN1_get_Count_m1789520042(L_30, /*hidden argument*/NULL);
if ((((int32_t)L_31) <= ((int32_t)3)))
{
goto IL_00f3;
}
}
{
ASN1_t2114160833 * L_32 = V_0;
ASN1_t2114160833 * L_33 = ASN1_get_Item_m2255075813(L_32, 3, /*hidden argument*/NULL);
V_5 = L_33;
V_6 = 0;
goto IL_00e5;
}
IL_00ca:
{
ArrayList_t2718874744 * L_34 = __this->get__list_3();
ASN1_t2114160833 * L_35 = V_5;
int32_t L_36 = V_6;
ASN1_t2114160833 * L_37 = ASN1_get_Item_m2255075813(L_35, L_36, /*hidden argument*/NULL);
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_34, L_37);
int32_t L_38 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add((int32_t)L_38, (int32_t)1));
}
IL_00e5:
{
int32_t L_39 = V_6;
ASN1_t2114160833 * L_40 = V_5;
int32_t L_41 = ASN1_get_Count_m1789520042(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 "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* PrivateKeyInfo_RemoveLeadingZero_m3592760008 (RuntimeObject * __this /* static, unused */, ByteU5BU5D_t4116647657* ___bigInt0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PrivateKeyInfo_RemoveLeadingZero_m3592760008_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
ByteU5BU5D_t4116647657* V_2 = NULL;
{
V_0 = 0;
ByteU5BU5D_t4116647657* L_0 = ___bigInt0;
V_1 = (((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))));
ByteU5BU5D_t4116647657* L_1 = ___bigInt0;
int32_t L_2 = 0;
uint8_t L_3 = (L_1)->GetAtUnchecked(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)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)1));
}
IL_0014:
{
int32_t L_5 = V_1;
ByteU5BU5D_t4116647657* L_6 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_5);
V_2 = L_6;
ByteU5BU5D_t4116647657* L_7 = ___bigInt0;
int32_t L_8 = V_0;
ByteU5BU5D_t4116647657* L_9 = V_2;
int32_t L_10 = V_1;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, L_8, (RuntimeArray *)(RuntimeArray *)L_9, 0, L_10, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_11 = V_2;
return L_11;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::Normalize(System.Byte[],System.Int32)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* PrivateKeyInfo_Normalize_m2274647848 (RuntimeObject * __this /* static, unused */, ByteU5BU5D_t4116647657* ___bigInt0, int32_t ___length1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PrivateKeyInfo_Normalize_m2274647848_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_t4116647657* V_0 = NULL;
{
ByteU5BU5D_t4116647657* L_0 = ___bigInt0;
int32_t L_1 = ___length1;
if ((!(((uint32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))))) == ((uint32_t)L_1))))
{
goto IL_000b;
}
}
{
ByteU5BU5D_t4116647657* L_2 = ___bigInt0;
return L_2;
}
IL_000b:
{
ByteU5BU5D_t4116647657* L_3 = ___bigInt0;
int32_t L_4 = ___length1;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length))))) <= ((int32_t)L_4)))
{
goto IL_001b;
}
}
{
ByteU5BU5D_t4116647657* L_5 = ___bigInt0;
ByteU5BU5D_t4116647657* L_6 = PrivateKeyInfo_RemoveLeadingZero_m3592760008(NULL /*static, unused*/, L_5, /*hidden argument*/NULL);
return L_6;
}
IL_001b:
{
int32_t L_7 = ___length1;
ByteU5BU5D_t4116647657* L_8 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_7);
V_0 = L_8;
ByteU5BU5D_t4116647657* L_9 = ___bigInt0;
ByteU5BU5D_t4116647657* L_10 = V_0;
int32_t L_11 = ___length1;
ByteU5BU5D_t4116647657* L_12 = ___bigInt0;
ByteU5BU5D_t4116647657* L_13 = ___bigInt0;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_9, 0, (RuntimeArray *)(RuntimeArray *)L_10, ((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_12)->max_length)))))), (((int32_t)((int32_t)(((RuntimeArray *)L_13)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_14 = V_0;
return L_14;
}
}
// System.Security.Cryptography.RSA Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::DecodeRSA(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR RSA_t2385438082 * PrivateKeyInfo_DecodeRSA_m4129124827 (RuntimeObject * __this /* static, unused */, ByteU5BU5D_t4116647657* ___keypair0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PrivateKeyInfo_DecodeRSA_m4129124827_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ASN1_t2114160833 * V_0 = NULL;
ASN1_t2114160833 * V_1 = NULL;
RSAParameters_t1728406613 V_2;
memset(&V_2, 0, sizeof(V_2));
int32_t V_3 = 0;
int32_t V_4 = 0;
RSA_t2385438082 * V_5 = NULL;
CspParameters_t239852639 * V_6 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
{
ByteU5BU5D_t4116647657* L_0 = ___keypair0;
ASN1_t2114160833 * L_1 = (ASN1_t2114160833 *)il2cpp_codegen_object_new(ASN1_t2114160833_il2cpp_TypeInfo_var);
ASN1__ctor_m1638893325(L_1, L_0, /*hidden argument*/NULL);
V_0 = L_1;
ASN1_t2114160833 * L_2 = V_0;
uint8_t L_3 = ASN1_get_Tag_m2789147236(L_2, /*hidden argument*/NULL);
if ((((int32_t)L_3) == ((int32_t)((int32_t)48))))
{
goto IL_001f;
}
}
{
CryptographicException_t248831461 * L_4 = (CryptographicException_t248831461 *)il2cpp_codegen_object_new(CryptographicException_t248831461_il2cpp_TypeInfo_var);
CryptographicException__ctor_m503735289(L_4, _stringLiteral2973183703, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, PrivateKeyInfo_DecodeRSA_m4129124827_RuntimeMethod_var);
}
IL_001f:
{
ASN1_t2114160833 * L_5 = V_0;
ASN1_t2114160833 * L_6 = ASN1_get_Item_m2255075813(L_5, 0, /*hidden argument*/NULL);
V_1 = L_6;
ASN1_t2114160833 * L_7 = V_1;
uint8_t L_8 = ASN1_get_Tag_m2789147236(L_7, /*hidden argument*/NULL);
if ((((int32_t)L_8) == ((int32_t)2)))
{
goto IL_003e;
}
}
{
CryptographicException_t248831461 * L_9 = (CryptographicException_t248831461 *)il2cpp_codegen_object_new(CryptographicException_t248831461_il2cpp_TypeInfo_var);
CryptographicException__ctor_m503735289(L_9, _stringLiteral3023545426, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_9, NULL, PrivateKeyInfo_DecodeRSA_m4129124827_RuntimeMethod_var);
}
IL_003e:
{
ASN1_t2114160833 * L_10 = V_0;
int32_t L_11 = ASN1_get_Count_m1789520042(L_10, /*hidden argument*/NULL);
if ((((int32_t)L_11) >= ((int32_t)((int32_t)9))))
{
goto IL_0056;
}
}
{
CryptographicException_t248831461 * L_12 = (CryptographicException_t248831461 *)il2cpp_codegen_object_new(CryptographicException_t248831461_il2cpp_TypeInfo_var);
CryptographicException__ctor_m503735289(L_12, _stringLiteral470035263, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, NULL, PrivateKeyInfo_DecodeRSA_m4129124827_RuntimeMethod_var);
}
IL_0056:
{
il2cpp_codegen_initobj((&V_2), sizeof(RSAParameters_t1728406613 ));
ASN1_t2114160833 * L_13 = V_0;
ASN1_t2114160833 * L_14 = ASN1_get_Item_m2255075813(L_13, 1, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_15 = ASN1_get_Value_m63296490(L_14, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_16 = PrivateKeyInfo_RemoveLeadingZero_m3592760008(NULL /*static, unused*/, L_15, /*hidden argument*/NULL);
(&V_2)->set_Modulus_6(L_16);
ByteU5BU5D_t4116647657* L_17 = (&V_2)->get_Modulus_6();
V_3 = (((int32_t)((int32_t)(((RuntimeArray *)L_17)->max_length))));
int32_t L_18 = V_3;
V_4 = ((int32_t)((int32_t)L_18>>(int32_t)1));
ASN1_t2114160833 * L_19 = V_0;
ASN1_t2114160833 * L_20 = ASN1_get_Item_m2255075813(L_19, 3, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_21 = ASN1_get_Value_m63296490(L_20, /*hidden argument*/NULL);
int32_t L_22 = V_3;
ByteU5BU5D_t4116647657* L_23 = PrivateKeyInfo_Normalize_m2274647848(NULL /*static, unused*/, L_21, L_22, /*hidden argument*/NULL);
(&V_2)->set_D_2(L_23);
ASN1_t2114160833 * L_24 = V_0;
ASN1_t2114160833 * L_25 = ASN1_get_Item_m2255075813(L_24, 6, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_26 = ASN1_get_Value_m63296490(L_25, /*hidden argument*/NULL);
int32_t L_27 = V_4;
ByteU5BU5D_t4116647657* L_28 = PrivateKeyInfo_Normalize_m2274647848(NULL /*static, unused*/, L_26, L_27, /*hidden argument*/NULL);
(&V_2)->set_DP_3(L_28);
ASN1_t2114160833 * L_29 = V_0;
ASN1_t2114160833 * L_30 = ASN1_get_Item_m2255075813(L_29, 7, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_31 = ASN1_get_Value_m63296490(L_30, /*hidden argument*/NULL);
int32_t L_32 = V_4;
ByteU5BU5D_t4116647657* L_33 = PrivateKeyInfo_Normalize_m2274647848(NULL /*static, unused*/, L_31, L_32, /*hidden argument*/NULL);
(&V_2)->set_DQ_4(L_33);
ASN1_t2114160833 * L_34 = V_0;
ASN1_t2114160833 * L_35 = ASN1_get_Item_m2255075813(L_34, 2, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_36 = ASN1_get_Value_m63296490(L_35, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_37 = PrivateKeyInfo_RemoveLeadingZero_m3592760008(NULL /*static, unused*/, L_36, /*hidden argument*/NULL);
(&V_2)->set_Exponent_7(L_37);
ASN1_t2114160833 * L_38 = V_0;
ASN1_t2114160833 * L_39 = ASN1_get_Item_m2255075813(L_38, 8, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_40 = ASN1_get_Value_m63296490(L_39, /*hidden argument*/NULL);
int32_t L_41 = V_4;
ByteU5BU5D_t4116647657* L_42 = PrivateKeyInfo_Normalize_m2274647848(NULL /*static, unused*/, L_40, L_41, /*hidden argument*/NULL);
(&V_2)->set_InverseQ_5(L_42);
ASN1_t2114160833 * L_43 = V_0;
ASN1_t2114160833 * L_44 = ASN1_get_Item_m2255075813(L_43, 4, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_45 = ASN1_get_Value_m63296490(L_44, /*hidden argument*/NULL);
int32_t L_46 = V_4;
ByteU5BU5D_t4116647657* L_47 = PrivateKeyInfo_Normalize_m2274647848(NULL /*static, unused*/, L_45, L_46, /*hidden argument*/NULL);
(&V_2)->set_P_0(L_47);
ASN1_t2114160833 * L_48 = V_0;
ASN1_t2114160833 * L_49 = ASN1_get_Item_m2255075813(L_48, 5, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_50 = ASN1_get_Value_m63296490(L_49, /*hidden argument*/NULL);
int32_t L_51 = V_4;
ByteU5BU5D_t4116647657* L_52 = PrivateKeyInfo_Normalize_m2274647848(NULL /*static, unused*/, L_50, L_51, /*hidden argument*/NULL);
(&V_2)->set_Q_1(L_52);
V_5 = (RSA_t2385438082 *)NULL;
}
IL_013b:
try
{ // begin try (depth: 1)
RSA_t2385438082 * L_53 = RSA_Create_m4065275734(NULL /*static, unused*/, /*hidden argument*/NULL);
V_5 = L_53;
RSA_t2385438082 * L_54 = V_5;
RSAParameters_t1728406613 L_55 = V_2;
VirtActionInvoker1< RSAParameters_t1728406613 >::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_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (CryptographicException_t248831461_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_014f;
throw e;
}
CATCH_014f:
{ // begin catch(System.Security.Cryptography.CryptographicException)
CspParameters_t239852639 * L_56 = (CspParameters_t239852639 *)il2cpp_codegen_object_new(CspParameters_t239852639_il2cpp_TypeInfo_var);
CspParameters__ctor_m277845443(L_56, /*hidden argument*/NULL);
V_6 = L_56;
CspParameters_t239852639 * L_57 = V_6;
CspParameters_set_Flags_m397261363(L_57, 1, /*hidden argument*/NULL);
CspParameters_t239852639 * L_58 = V_6;
RSACryptoServiceProvider_t2683512874 * L_59 = (RSACryptoServiceProvider_t2683512874 *)il2cpp_codegen_object_new(RSACryptoServiceProvider_t2683512874_il2cpp_TypeInfo_var);
RSACryptoServiceProvider__ctor_m357386130(L_59, L_58, /*hidden argument*/NULL);
V_5 = L_59;
RSA_t2385438082 * L_60 = V_5;
RSAParameters_t1728406613 L_61 = V_2;
VirtActionInvoker1< RSAParameters_t1728406613 >::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_t2385438082 * L_62 = V_5;
return L_62;
}
}
// System.Security.Cryptography.DSA Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::DecodeDSA(System.Byte[],System.Security.Cryptography.DSAParameters)
extern "C" IL2CPP_METHOD_ATTR DSA_t2386879874 * PrivateKeyInfo_DecodeDSA_m2335813142 (RuntimeObject * __this /* static, unused */, ByteU5BU5D_t4116647657* ___privateKey0, DSAParameters_t1885824122 ___dsaParameters1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PrivateKeyInfo_DecodeDSA_m2335813142_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ASN1_t2114160833 * V_0 = NULL;
DSA_t2386879874 * V_1 = NULL;
{
ByteU5BU5D_t4116647657* L_0 = ___privateKey0;
ASN1_t2114160833 * L_1 = (ASN1_t2114160833 *)il2cpp_codegen_object_new(ASN1_t2114160833_il2cpp_TypeInfo_var);
ASN1__ctor_m1638893325(L_1, L_0, /*hidden argument*/NULL);
V_0 = L_1;
ASN1_t2114160833 * L_2 = V_0;
uint8_t L_3 = ASN1_get_Tag_m2789147236(L_2, /*hidden argument*/NULL);
if ((((int32_t)L_3) == ((int32_t)2)))
{
goto IL_001e;
}
}
{
CryptographicException_t248831461 * L_4 = (CryptographicException_t248831461 *)il2cpp_codegen_object_new(CryptographicException_t248831461_il2cpp_TypeInfo_var);
CryptographicException__ctor_m503735289(L_4, _stringLiteral2973183703, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, PrivateKeyInfo_DecodeDSA_m2335813142_RuntimeMethod_var);
}
IL_001e:
{
ASN1_t2114160833 * L_5 = V_0;
ByteU5BU5D_t4116647657* L_6 = ASN1_get_Value_m63296490(L_5, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_7 = PrivateKeyInfo_Normalize_m2274647848(NULL /*static, unused*/, L_6, ((int32_t)20), /*hidden argument*/NULL);
(&___dsaParameters1)->set_X_6(L_7);
DSA_t2386879874 * L_8 = DSA_Create_m1220983153(NULL /*static, unused*/, /*hidden argument*/NULL);
V_1 = L_8;
DSA_t2386879874 * L_9 = V_1;
DSAParameters_t1885824122 L_10 = ___dsaParameters1;
VirtActionInvoker1< DSAParameters_t1885824122 >::Invoke(12 /* System.Void System.Security.Cryptography.DSA::ImportParameters(System.Security.Cryptography.DSAParameters) */, L_9, L_10);
DSA_t2386879874 * L_11 = V_1;
return L_11;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Cryptography.RC4::.ctor()
extern "C" IL2CPP_METHOD_ATTR void RC4__ctor_m3531760091 (RC4_t2752556436 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RC4__ctor_m3531760091_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
SymmetricAlgorithm__ctor_m467277132(__this, /*hidden argument*/NULL);
((SymmetricAlgorithm_t4254223087 *)__this)->set_KeySizeValue_2(((int32_t)128));
((SymmetricAlgorithm_t4254223087 *)__this)->set_BlockSizeValue_0(((int32_t)64));
int32_t L_0 = ((SymmetricAlgorithm_t4254223087 *)__this)->get_BlockSizeValue_0();
((SymmetricAlgorithm_t4254223087 *)__this)->set_FeedbackSizeValue_6(L_0);
IL2CPP_RUNTIME_CLASS_INIT(RC4_t2752556436_il2cpp_TypeInfo_var);
KeySizesU5BU5D_t722666473* L_1 = ((RC4_t2752556436_StaticFields*)il2cpp_codegen_static_fields_for(RC4_t2752556436_il2cpp_TypeInfo_var))->get_s_legalBlockSizes_10();
((SymmetricAlgorithm_t4254223087 *)__this)->set_LegalBlockSizesValue_4(L_1);
KeySizesU5BU5D_t722666473* L_2 = ((RC4_t2752556436_StaticFields*)il2cpp_codegen_static_fields_for(RC4_t2752556436_il2cpp_TypeInfo_var))->get_s_legalKeySizes_11();
((SymmetricAlgorithm_t4254223087 *)__this)->set_LegalKeySizesValue_5(L_2);
return;
}
}
// System.Void Mono.Security.Cryptography.RC4::.cctor()
extern "C" IL2CPP_METHOD_ATTR void RC4__cctor_m362546962 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RC4__cctor_m362546962_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
KeySizesU5BU5D_t722666473* L_0 = (KeySizesU5BU5D_t722666473*)SZArrayNew(KeySizesU5BU5D_t722666473_il2cpp_TypeInfo_var, (uint32_t)1);
KeySizesU5BU5D_t722666473* L_1 = L_0;
KeySizes_t85027896 * L_2 = (KeySizes_t85027896 *)il2cpp_codegen_object_new(KeySizes_t85027896_il2cpp_TypeInfo_var);
KeySizes__ctor_m3113946058(L_2, ((int32_t)64), ((int32_t)64), 0, /*hidden argument*/NULL);
ArrayElementTypeCheck (L_1, L_2);
(L_1)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (KeySizes_t85027896 *)L_2);
((RC4_t2752556436_StaticFields*)il2cpp_codegen_static_fields_for(RC4_t2752556436_il2cpp_TypeInfo_var))->set_s_legalBlockSizes_10(L_1);
KeySizesU5BU5D_t722666473* L_3 = (KeySizesU5BU5D_t722666473*)SZArrayNew(KeySizesU5BU5D_t722666473_il2cpp_TypeInfo_var, (uint32_t)1);
KeySizesU5BU5D_t722666473* L_4 = L_3;
KeySizes_t85027896 * L_5 = (KeySizes_t85027896 *)il2cpp_codegen_object_new(KeySizes_t85027896_il2cpp_TypeInfo_var);
KeySizes__ctor_m3113946058(L_5, ((int32_t)40), ((int32_t)2048), 8, /*hidden argument*/NULL);
ArrayElementTypeCheck (L_4, L_5);
(L_4)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (KeySizes_t85027896 *)L_5);
((RC4_t2752556436_StaticFields*)il2cpp_codegen_static_fields_for(RC4_t2752556436_il2cpp_TypeInfo_var))->set_s_legalKeySizes_11(L_4);
return;
}
}
// System.Byte[] Mono.Security.Cryptography.RC4::get_IV()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* RC4_get_IV_m2290186270 (RC4_t2752556436 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RC4_get_IV_m2290186270_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_t4116647657* L_0 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)0);
return L_0;
}
}
// System.Void Mono.Security.Cryptography.RC4::set_IV(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void RC4_set_IV_m844219403 (RC4_t2752556436 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method)
{
{
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Cryptography.RSAManaged::.ctor()
extern "C" IL2CPP_METHOD_ATTR void RSAManaged__ctor_m3504773110 (RSAManaged_t1757093820 * __this, const RuntimeMethod* method)
{
{
RSAManaged__ctor_m350841446(__this, ((int32_t)1024), /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Cryptography.RSAManaged::.ctor(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void RSAManaged__ctor_m350841446 (RSAManaged_t1757093820 * __this, int32_t ___keySize0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RSAManaged__ctor_m350841446_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
__this->set_keyBlinding_3((bool)1);
RSA__ctor_m2923348713(__this, /*hidden argument*/NULL);
KeySizesU5BU5D_t722666473* L_0 = (KeySizesU5BU5D_t722666473*)SZArrayNew(KeySizesU5BU5D_t722666473_il2cpp_TypeInfo_var, (uint32_t)1);
((AsymmetricAlgorithm_t932037087 *)__this)->set_LegalKeySizesValue_1(L_0);
KeySizesU5BU5D_t722666473* L_1 = ((AsymmetricAlgorithm_t932037087 *)__this)->get_LegalKeySizesValue_1();
KeySizes_t85027896 * L_2 = (KeySizes_t85027896 *)il2cpp_codegen_object_new(KeySizes_t85027896_il2cpp_TypeInfo_var);
KeySizes__ctor_m3113946058(L_2, ((int32_t)384), ((int32_t)16384), 8, /*hidden argument*/NULL);
ArrayElementTypeCheck (L_1, L_2);
(L_1)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (KeySizes_t85027896 *)L_2);
int32_t L_3 = ___keySize0;
AsymmetricAlgorithm_set_KeySize_m2163393617(__this, L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Cryptography.RSAManaged::Finalize()
extern "C" IL2CPP_METHOD_ATTR void RSAManaged_Finalize_m297255587 (RSAManaged_t1757093820 * __this, const RuntimeMethod* method)
{
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
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_t *)e.ex;
goto FINALLY_000c;
}
FINALLY_000c:
{ // begin finally (depth: 1)
Object_Finalize_m3076187857(__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_t *)
}
IL_0013:
{
return;
}
}
// System.Void Mono.Security.Cryptography.RSAManaged::GenerateKeyPair()
extern "C" IL2CPP_METHOD_ATTR void RSAManaged_GenerateKeyPair_m2364618953 (RSAManaged_t1757093820 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RSAManaged_GenerateKeyPair_m2364618953_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
uint32_t V_2 = 0;
BigInteger_t2902905090 * V_3 = NULL;
BigInteger_t2902905090 * V_4 = NULL;
BigInteger_t2902905090 * 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)il2cpp_codegen_add((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)il2cpp_codegen_subtract((int32_t)L_1, (int32_t)L_2));
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_3 = BigInteger_op_Implicit_m3414367033(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_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_5 = BigInteger_GeneratePseudoPrime_m2547138838(NULL /*static, unused*/, L_4, /*hidden argument*/NULL);
__this->set_p_7(L_5);
BigInteger_t2902905090 * L_6 = __this->get_p_7();
uint32_t L_7 = BigInteger_op_Modulus_m3242311550(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_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_9 = BigInteger_GeneratePseudoPrime_m2547138838(NULL /*static, unused*/, L_8, /*hidden argument*/NULL);
__this->set_q_8(L_9);
BigInteger_t2902905090 * L_10 = __this->get_q_8();
uint32_t L_11 = BigInteger_op_Modulus_m3242311550(NULL /*static, unused*/, L_10, ((int32_t)17), /*hidden argument*/NULL);
if ((((int32_t)L_11) == ((int32_t)1)))
{
goto IL_0093;
}
}
{
BigInteger_t2902905090 * L_12 = __this->get_p_7();
BigInteger_t2902905090 * L_13 = __this->get_q_8();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_14 = BigInteger_op_Inequality_m2697143438(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_t2902905090 * L_15 = __this->get_p_7();
BigInteger_t2902905090 * L_16 = __this->get_q_8();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_17 = BigInteger_op_Multiply_m3683746602(NULL /*static, unused*/, L_15, L_16, /*hidden argument*/NULL);
__this->set_n_12(L_17);
BigInteger_t2902905090 * L_18 = __this->get_n_12();
int32_t L_19 = BigInteger_BitCount_m2055977486(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_t2902905090 * L_21 = __this->get_p_7();
BigInteger_t2902905090 * L_22 = __this->get_q_8();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_23 = BigInteger_op_LessThan_m463398176(NULL /*static, unused*/, L_21, L_22, /*hidden argument*/NULL);
if (!L_23)
{
goto IL_00ec;
}
}
{
BigInteger_t2902905090 * L_24 = __this->get_q_8();
__this->set_p_7(L_24);
}
IL_00ec:
{
goto IL_0054;
}
IL_00f1:
{
BigInteger_t2902905090 * L_25 = __this->get_p_7();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_26 = BigInteger_op_Implicit_m2547142909(NULL /*static, unused*/, 1, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_27 = BigInteger_op_Subtraction_m4245834512(NULL /*static, unused*/, L_25, L_26, /*hidden argument*/NULL);
V_3 = L_27;
BigInteger_t2902905090 * L_28 = __this->get_q_8();
BigInteger_t2902905090 * L_29 = BigInteger_op_Implicit_m2547142909(NULL /*static, unused*/, 1, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_30 = BigInteger_op_Subtraction_m4245834512(NULL /*static, unused*/, L_28, L_29, /*hidden argument*/NULL);
V_4 = L_30;
BigInteger_t2902905090 * L_31 = V_3;
BigInteger_t2902905090 * L_32 = V_4;
BigInteger_t2902905090 * L_33 = BigInteger_op_Multiply_m3683746602(NULL /*static, unused*/, L_31, L_32, /*hidden argument*/NULL);
V_5 = L_33;
BigInteger_t2902905090 * L_34 = __this->get_e_13();
BigInteger_t2902905090 * L_35 = V_5;
BigInteger_t2902905090 * L_36 = BigInteger_ModInverse_m2426215562(L_34, L_35, /*hidden argument*/NULL);
__this->set_d_6(L_36);
BigInteger_t2902905090 * L_37 = __this->get_d_6();
BigInteger_t2902905090 * L_38 = V_3;
BigInteger_t2902905090 * L_39 = BigInteger_op_Modulus_m2565477533(NULL /*static, unused*/, L_37, L_38, /*hidden argument*/NULL);
__this->set_dp_9(L_39);
BigInteger_t2902905090 * L_40 = __this->get_d_6();
BigInteger_t2902905090 * L_41 = V_4;
BigInteger_t2902905090 * L_42 = BigInteger_op_Modulus_m2565477533(NULL /*static, unused*/, L_40, L_41, /*hidden argument*/NULL);
__this->set_dq_10(L_42);
BigInteger_t2902905090 * L_43 = __this->get_q_8();
BigInteger_t2902905090 * L_44 = __this->get_p_7();
BigInteger_t2902905090 * L_45 = BigInteger_ModInverse_m2426215562(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_t3064139578 * L_46 = __this->get_KeyGenerated_14();
if (!L_46)
{
goto IL_0195;
}
}
{
KeyGeneratedEventHandler_t3064139578 * L_47 = __this->get_KeyGenerated_14();
KeyGeneratedEventHandler_Invoke_m99769071(L_47, __this, (EventArgs_t3591816995 *)NULL, /*hidden argument*/NULL);
}
IL_0195:
{
return;
}
}
// System.Int32 Mono.Security.Cryptography.RSAManaged::get_KeySize()
extern "C" IL2CPP_METHOD_ATTR int32_t RSAManaged_get_KeySize_m1441482916 (RSAManaged_t1757093820 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
bool L_0 = __this->get_keypairGenerated_4();
if (!L_0)
{
goto IL_0029;
}
}
{
BigInteger_t2902905090 * L_1 = __this->get_n_12();
int32_t L_2 = BigInteger_BitCount_m2055977486(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)il2cpp_codegen_add((int32_t)L_4, (int32_t)((int32_t)il2cpp_codegen_subtract((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_m2113907895(__this, /*hidden argument*/NULL);
return L_7;
}
}
// System.Boolean Mono.Security.Cryptography.RSAManaged::get_PublicOnly()
extern "C" IL2CPP_METHOD_ATTR bool RSAManaged_get_PublicOnly_m405847294 (RSAManaged_t1757093820 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RSAManaged_get_PublicOnly_m405847294_MetadataUsageId);
s_Il2CppMethodInitialized = 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_t2902905090 * L_1 = __this->get_d_6();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_2 = BigInteger_op_Equality_m1194739960(NULL /*static, unused*/, L_1, (BigInteger_t2902905090 *)NULL, /*hidden argument*/NULL);
if (L_2)
{
goto IL_002a;
}
}
{
BigInteger_t2902905090 * L_3 = __this->get_n_12();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_4 = BigInteger_op_Equality_m1194739960(NULL /*static, unused*/, L_3, (BigInteger_t2902905090 *)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 "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* RSAManaged_DecryptValue_m1804388365 (RSAManaged_t1757093820 * __this, ByteU5BU5D_t4116647657* ___rgb0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RSAManaged_DecryptValue_m1804388365_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
BigInteger_t2902905090 * V_0 = NULL;
BigInteger_t2902905090 * V_1 = NULL;
BigInteger_t2902905090 * V_2 = NULL;
BigInteger_t2902905090 * V_3 = NULL;
BigInteger_t2902905090 * V_4 = NULL;
BigInteger_t2902905090 * V_5 = NULL;
ByteU5BU5D_t4116647657* V_6 = NULL;
{
bool L_0 = __this->get_m_disposed_5();
if (!L_0)
{
goto IL_0016;
}
}
{
ObjectDisposedException_t21392786 * L_1 = (ObjectDisposedException_t21392786 *)il2cpp_codegen_object_new(ObjectDisposedException_t21392786_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3603759869(L_1, _stringLiteral2186307263, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, RSAManaged_DecryptValue_m1804388365_RuntimeMethod_var);
}
IL_0016:
{
bool L_2 = __this->get_keypairGenerated_4();
if (L_2)
{
goto IL_0027;
}
}
{
RSAManaged_GenerateKeyPair_m2364618953(__this, /*hidden argument*/NULL);
}
IL_0027:
{
ByteU5BU5D_t4116647657* L_3 = ___rgb0;
BigInteger_t2902905090 * L_4 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m2601366464(L_4, L_3, /*hidden argument*/NULL);
V_0 = L_4;
V_1 = (BigInteger_t2902905090 *)NULL;
bool L_5 = __this->get_keyBlinding_3();
if (!L_5)
{
goto IL_0070;
}
}
{
BigInteger_t2902905090 * L_6 = __this->get_n_12();
int32_t L_7 = BigInteger_BitCount_m2055977486(L_6, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_8 = BigInteger_GenerateRandom_m1790382084(NULL /*static, unused*/, L_7, /*hidden argument*/NULL);
V_1 = L_8;
BigInteger_t2902905090 * L_9 = V_1;
BigInteger_t2902905090 * L_10 = __this->get_e_13();
BigInteger_t2902905090 * L_11 = __this->get_n_12();
BigInteger_t2902905090 * L_12 = BigInteger_ModPow_m3776562770(L_9, L_10, L_11, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_13 = V_0;
BigInteger_t2902905090 * L_14 = BigInteger_op_Multiply_m3683746602(NULL /*static, unused*/, L_12, L_13, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_15 = __this->get_n_12();
BigInteger_t2902905090 * L_16 = BigInteger_op_Modulus_m2565477533(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_t2902905090 * L_18 = V_0;
BigInteger_t2902905090 * L_19 = __this->get_dp_9();
BigInteger_t2902905090 * L_20 = __this->get_p_7();
BigInteger_t2902905090 * L_21 = BigInteger_ModPow_m3776562770(L_18, L_19, L_20, /*hidden argument*/NULL);
V_3 = L_21;
BigInteger_t2902905090 * L_22 = V_0;
BigInteger_t2902905090 * L_23 = __this->get_dq_10();
BigInteger_t2902905090 * L_24 = __this->get_q_8();
BigInteger_t2902905090 * L_25 = BigInteger_ModPow_m3776562770(L_22, L_23, L_24, /*hidden argument*/NULL);
V_4 = L_25;
BigInteger_t2902905090 * L_26 = V_4;
BigInteger_t2902905090 * L_27 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_28 = BigInteger_op_GreaterThan_m2974122765(NULL /*static, unused*/, L_26, L_27, /*hidden argument*/NULL);
if (!L_28)
{
goto IL_00f4;
}
}
{
BigInteger_t2902905090 * L_29 = __this->get_p_7();
BigInteger_t2902905090 * L_30 = V_4;
BigInteger_t2902905090 * L_31 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_32 = BigInteger_op_Subtraction_m4245834512(NULL /*static, unused*/, L_30, L_31, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_33 = __this->get_qInv_11();
BigInteger_t2902905090 * L_34 = BigInteger_op_Multiply_m3683746602(NULL /*static, unused*/, L_32, L_33, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_35 = __this->get_p_7();
BigInteger_t2902905090 * L_36 = BigInteger_op_Modulus_m2565477533(NULL /*static, unused*/, L_34, L_35, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_37 = BigInteger_op_Subtraction_m4245834512(NULL /*static, unused*/, L_29, L_36, /*hidden argument*/NULL);
V_5 = L_37;
BigInteger_t2902905090 * L_38 = V_4;
BigInteger_t2902905090 * L_39 = __this->get_q_8();
BigInteger_t2902905090 * L_40 = V_5;
BigInteger_t2902905090 * L_41 = BigInteger_op_Multiply_m3683746602(NULL /*static, unused*/, L_39, L_40, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_42 = BigInteger_op_Addition_m1114527046(NULL /*static, unused*/, L_38, L_41, /*hidden argument*/NULL);
V_2 = L_42;
goto IL_0129;
}
IL_00f4:
{
BigInteger_t2902905090 * L_43 = V_3;
BigInteger_t2902905090 * L_44 = V_4;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_45 = BigInteger_op_Subtraction_m4245834512(NULL /*static, unused*/, L_43, L_44, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_46 = __this->get_qInv_11();
BigInteger_t2902905090 * L_47 = BigInteger_op_Multiply_m3683746602(NULL /*static, unused*/, L_45, L_46, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_48 = __this->get_p_7();
BigInteger_t2902905090 * L_49 = BigInteger_op_Modulus_m2565477533(NULL /*static, unused*/, L_47, L_48, /*hidden argument*/NULL);
V_5 = L_49;
BigInteger_t2902905090 * L_50 = V_4;
BigInteger_t2902905090 * L_51 = __this->get_q_8();
BigInteger_t2902905090 * L_52 = V_5;
BigInteger_t2902905090 * L_53 = BigInteger_op_Multiply_m3683746602(NULL /*static, unused*/, L_51, L_52, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_54 = BigInteger_op_Addition_m1114527046(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_m405847294(__this, /*hidden argument*/NULL);
if (L_55)
{
goto IL_0151;
}
}
{
BigInteger_t2902905090 * L_56 = V_0;
BigInteger_t2902905090 * L_57 = __this->get_d_6();
BigInteger_t2902905090 * L_58 = __this->get_n_12();
BigInteger_t2902905090 * L_59 = BigInteger_ModPow_m3776562770(L_56, L_57, L_58, /*hidden argument*/NULL);
V_2 = L_59;
goto IL_0161;
}
IL_0151:
{
String_t* L_60 = Locale_GetText_m3520169047(NULL /*static, unused*/, _stringLiteral2368775859, /*hidden argument*/NULL);
CryptographicException_t248831461 * L_61 = (CryptographicException_t248831461 *)il2cpp_codegen_object_new(CryptographicException_t248831461_il2cpp_TypeInfo_var);
CryptographicException__ctor_m503735289(L_61, L_60, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_61, NULL, RSAManaged_DecryptValue_m1804388365_RuntimeMethod_var);
}
IL_0161:
{
bool L_62 = __this->get_keyBlinding_3();
if (!L_62)
{
goto IL_0190;
}
}
{
BigInteger_t2902905090 * L_63 = V_2;
BigInteger_t2902905090 * L_64 = V_1;
BigInteger_t2902905090 * L_65 = __this->get_n_12();
BigInteger_t2902905090 * L_66 = BigInteger_ModInverse_m2426215562(L_64, L_65, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_67 = BigInteger_op_Multiply_m3683746602(NULL /*static, unused*/, L_63, L_66, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_68 = __this->get_n_12();
BigInteger_t2902905090 * L_69 = BigInteger_op_Modulus_m2565477533(NULL /*static, unused*/, L_67, L_68, /*hidden argument*/NULL);
V_2 = L_69;
BigInteger_t2902905090 * L_70 = V_1;
BigInteger_Clear_m2995574218(L_70, /*hidden argument*/NULL);
}
IL_0190:
{
BigInteger_t2902905090 * L_71 = V_2;
int32_t L_72 = VirtFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 Mono.Security.Cryptography.RSAManaged::get_KeySize() */, __this);
ByteU5BU5D_t4116647657* L_73 = RSAManaged_GetPaddedValue_m2182626630(__this, L_71, ((int32_t)((int32_t)L_72>>(int32_t)3)), /*hidden argument*/NULL);
V_6 = L_73;
BigInteger_t2902905090 * L_74 = V_0;
BigInteger_Clear_m2995574218(L_74, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_75 = V_2;
BigInteger_Clear_m2995574218(L_75, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_76 = V_6;
return L_76;
}
}
// System.Byte[] Mono.Security.Cryptography.RSAManaged::EncryptValue(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* RSAManaged_EncryptValue_m4149543654 (RSAManaged_t1757093820 * __this, ByteU5BU5D_t4116647657* ___rgb0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RSAManaged_EncryptValue_m4149543654_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
BigInteger_t2902905090 * V_0 = NULL;
BigInteger_t2902905090 * V_1 = NULL;
ByteU5BU5D_t4116647657* V_2 = NULL;
{
bool L_0 = __this->get_m_disposed_5();
if (!L_0)
{
goto IL_0016;
}
}
{
ObjectDisposedException_t21392786 * L_1 = (ObjectDisposedException_t21392786 *)il2cpp_codegen_object_new(ObjectDisposedException_t21392786_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3603759869(L_1, _stringLiteral2105469118, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, RSAManaged_EncryptValue_m4149543654_RuntimeMethod_var);
}
IL_0016:
{
bool L_2 = __this->get_keypairGenerated_4();
if (L_2)
{
goto IL_0027;
}
}
{
RSAManaged_GenerateKeyPair_m2364618953(__this, /*hidden argument*/NULL);
}
IL_0027:
{
ByteU5BU5D_t4116647657* L_3 = ___rgb0;
BigInteger_t2902905090 * L_4 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m2601366464(L_4, L_3, /*hidden argument*/NULL);
V_0 = L_4;
BigInteger_t2902905090 * L_5 = V_0;
BigInteger_t2902905090 * L_6 = __this->get_e_13();
BigInteger_t2902905090 * L_7 = __this->get_n_12();
BigInteger_t2902905090 * L_8 = BigInteger_ModPow_m3776562770(L_5, L_6, L_7, /*hidden argument*/NULL);
V_1 = L_8;
BigInteger_t2902905090 * L_9 = V_1;
int32_t L_10 = VirtFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 Mono.Security.Cryptography.RSAManaged::get_KeySize() */, __this);
ByteU5BU5D_t4116647657* L_11 = RSAManaged_GetPaddedValue_m2182626630(__this, L_9, ((int32_t)((int32_t)L_10>>(int32_t)3)), /*hidden argument*/NULL);
V_2 = L_11;
BigInteger_t2902905090 * L_12 = V_0;
BigInteger_Clear_m2995574218(L_12, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_13 = V_1;
BigInteger_Clear_m2995574218(L_13, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_14 = V_2;
return L_14;
}
}
// System.Security.Cryptography.RSAParameters Mono.Security.Cryptography.RSAManaged::ExportParameters(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR RSAParameters_t1728406613 RSAManaged_ExportParameters_m1754454264 (RSAManaged_t1757093820 * __this, bool ___includePrivateParameters0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RSAManaged_ExportParameters_m1754454264_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RSAParameters_t1728406613 V_0;
memset(&V_0, 0, sizeof(V_0));
ByteU5BU5D_t4116647657* 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_m3520169047(NULL /*static, unused*/, _stringLiteral2597607271, /*hidden argument*/NULL);
ObjectDisposedException_t21392786 * L_2 = (ObjectDisposedException_t21392786 *)il2cpp_codegen_object_new(ObjectDisposedException_t21392786_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3603759869(L_2, L_1, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, RSAManaged_ExportParameters_m1754454264_RuntimeMethod_var);
}
IL_001b:
{
bool L_3 = __this->get_keypairGenerated_4();
if (L_3)
{
goto IL_002c;
}
}
{
RSAManaged_GenerateKeyPair_m2364618953(__this, /*hidden argument*/NULL);
}
IL_002c:
{
il2cpp_codegen_initobj((&V_0), sizeof(RSAParameters_t1728406613 ));
BigInteger_t2902905090 * L_4 = __this->get_e_13();
ByteU5BU5D_t4116647657* L_5 = BigInteger_GetBytes_m1259701831(L_4, /*hidden argument*/NULL);
(&V_0)->set_Exponent_7(L_5);
BigInteger_t2902905090 * L_6 = __this->get_n_12();
ByteU5BU5D_t4116647657* L_7 = BigInteger_GetBytes_m1259701831(L_6, /*hidden argument*/NULL);
(&V_0)->set_Modulus_6(L_7);
bool L_8 = ___includePrivateParameters0;
if (!L_8)
{
goto IL_01a0;
}
}
{
BigInteger_t2902905090 * L_9 = __this->get_d_6();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_10 = BigInteger_op_Equality_m1194739960(NULL /*static, unused*/, L_9, (BigInteger_t2902905090 *)NULL, /*hidden argument*/NULL);
if (!L_10)
{
goto IL_007a;
}
}
{
CryptographicException_t248831461 * L_11 = (CryptographicException_t248831461 *)il2cpp_codegen_object_new(CryptographicException_t248831461_il2cpp_TypeInfo_var);
CryptographicException__ctor_m503735289(L_11, _stringLiteral1209813982, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_11, NULL, RSAManaged_ExportParameters_m1754454264_RuntimeMethod_var);
}
IL_007a:
{
BigInteger_t2902905090 * L_12 = __this->get_d_6();
ByteU5BU5D_t4116647657* L_13 = BigInteger_GetBytes_m1259701831(L_12, /*hidden argument*/NULL);
(&V_0)->set_D_2(L_13);
ByteU5BU5D_t4116647657* L_14 = (&V_0)->get_D_2();
ByteU5BU5D_t4116647657* L_15 = (&V_0)->get_Modulus_6();
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_14)->max_length))))) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_15)->max_length)))))))
{
goto IL_00de;
}
}
{
ByteU5BU5D_t4116647657* L_16 = (&V_0)->get_Modulus_6();
ByteU5BU5D_t4116647657* L_17 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_16)->max_length)))));
V_1 = L_17;
ByteU5BU5D_t4116647657* L_18 = (&V_0)->get_D_2();
ByteU5BU5D_t4116647657* L_19 = V_1;
ByteU5BU5D_t4116647657* L_20 = V_1;
ByteU5BU5D_t4116647657* L_21 = (&V_0)->get_D_2();
ByteU5BU5D_t4116647657* L_22 = (&V_0)->get_D_2();
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_18, 0, (RuntimeArray *)(RuntimeArray *)L_19, ((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_20)->max_length)))), (int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_21)->max_length)))))), (((int32_t)((int32_t)(((RuntimeArray *)L_22)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_23 = V_1;
(&V_0)->set_D_2(L_23);
}
IL_00de:
{
BigInteger_t2902905090 * L_24 = __this->get_p_7();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_25 = BigInteger_op_Inequality_m2697143438(NULL /*static, unused*/, L_24, (BigInteger_t2902905090 *)NULL, /*hidden argument*/NULL);
if (!L_25)
{
goto IL_01a0;
}
}
{
BigInteger_t2902905090 * L_26 = __this->get_q_8();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_27 = BigInteger_op_Inequality_m2697143438(NULL /*static, unused*/, L_26, (BigInteger_t2902905090 *)NULL, /*hidden argument*/NULL);
if (!L_27)
{
goto IL_01a0;
}
}
{
BigInteger_t2902905090 * L_28 = __this->get_dp_9();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_29 = BigInteger_op_Inequality_m2697143438(NULL /*static, unused*/, L_28, (BigInteger_t2902905090 *)NULL, /*hidden argument*/NULL);
if (!L_29)
{
goto IL_01a0;
}
}
{
BigInteger_t2902905090 * L_30 = __this->get_dq_10();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_31 = BigInteger_op_Inequality_m2697143438(NULL /*static, unused*/, L_30, (BigInteger_t2902905090 *)NULL, /*hidden argument*/NULL);
if (!L_31)
{
goto IL_01a0;
}
}
{
BigInteger_t2902905090 * L_32 = __this->get_qInv_11();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_33 = BigInteger_op_Inequality_m2697143438(NULL /*static, unused*/, L_32, (BigInteger_t2902905090 *)NULL, /*hidden argument*/NULL);
if (!L_33)
{
goto IL_01a0;
}
}
{
int32_t L_34 = VirtFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 Mono.Security.Cryptography.RSAManaged::get_KeySize() */, __this);
V_2 = ((int32_t)((int32_t)L_34>>(int32_t)4));
BigInteger_t2902905090 * L_35 = __this->get_p_7();
int32_t L_36 = V_2;
ByteU5BU5D_t4116647657* L_37 = RSAManaged_GetPaddedValue_m2182626630(__this, L_35, L_36, /*hidden argument*/NULL);
(&V_0)->set_P_0(L_37);
BigInteger_t2902905090 * L_38 = __this->get_q_8();
int32_t L_39 = V_2;
ByteU5BU5D_t4116647657* L_40 = RSAManaged_GetPaddedValue_m2182626630(__this, L_38, L_39, /*hidden argument*/NULL);
(&V_0)->set_Q_1(L_40);
BigInteger_t2902905090 * L_41 = __this->get_dp_9();
int32_t L_42 = V_2;
ByteU5BU5D_t4116647657* L_43 = RSAManaged_GetPaddedValue_m2182626630(__this, L_41, L_42, /*hidden argument*/NULL);
(&V_0)->set_DP_3(L_43);
BigInteger_t2902905090 * L_44 = __this->get_dq_10();
int32_t L_45 = V_2;
ByteU5BU5D_t4116647657* L_46 = RSAManaged_GetPaddedValue_m2182626630(__this, L_44, L_45, /*hidden argument*/NULL);
(&V_0)->set_DQ_4(L_46);
BigInteger_t2902905090 * L_47 = __this->get_qInv_11();
int32_t L_48 = V_2;
ByteU5BU5D_t4116647657* L_49 = RSAManaged_GetPaddedValue_m2182626630(__this, L_47, L_48, /*hidden argument*/NULL);
(&V_0)->set_InverseQ_5(L_49);
}
IL_01a0:
{
RSAParameters_t1728406613 L_50 = V_0;
return L_50;
}
}
// System.Void Mono.Security.Cryptography.RSAManaged::ImportParameters(System.Security.Cryptography.RSAParameters)
extern "C" IL2CPP_METHOD_ATTR void RSAManaged_ImportParameters_m1117427048 (RSAManaged_t1757093820 * __this, RSAParameters_t1728406613 ___parameters0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RSAManaged_ImportParameters_m1117427048_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
BigInteger_t2902905090 * V_2 = NULL;
BigInteger_t2902905090 * V_3 = NULL;
BigInteger_t2902905090 * V_4 = NULL;
BigInteger_t2902905090 * V_5 = NULL;
int32_t G_B22_0 = 0;
RSAManaged_t1757093820 * G_B25_0 = NULL;
RSAManaged_t1757093820 * G_B23_0 = NULL;
RSAManaged_t1757093820 * G_B24_0 = NULL;
int32_t G_B26_0 = 0;
RSAManaged_t1757093820 * 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_m3520169047(NULL /*static, unused*/, _stringLiteral2597607271, /*hidden argument*/NULL);
ObjectDisposedException_t21392786 * L_2 = (ObjectDisposedException_t21392786 *)il2cpp_codegen_object_new(ObjectDisposedException_t21392786_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3603759869(L_2, L_1, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, RSAManaged_ImportParameters_m1117427048_RuntimeMethod_var);
}
IL_001b:
{
ByteU5BU5D_t4116647657* L_3 = (&___parameters0)->get_Exponent_7();
if (L_3)
{
goto IL_0037;
}
}
{
String_t* L_4 = Locale_GetText_m3520169047(NULL /*static, unused*/, _stringLiteral2383840146, /*hidden argument*/NULL);
CryptographicException_t248831461 * L_5 = (CryptographicException_t248831461 *)il2cpp_codegen_object_new(CryptographicException_t248831461_il2cpp_TypeInfo_var);
CryptographicException__ctor_m503735289(L_5, L_4, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, RSAManaged_ImportParameters_m1117427048_RuntimeMethod_var);
}
IL_0037:
{
ByteU5BU5D_t4116647657* L_6 = (&___parameters0)->get_Modulus_6();
if (L_6)
{
goto IL_0053;
}
}
{
String_t* L_7 = Locale_GetText_m3520169047(NULL /*static, unused*/, _stringLiteral3860822773, /*hidden argument*/NULL);
CryptographicException_t248831461 * L_8 = (CryptographicException_t248831461 *)il2cpp_codegen_object_new(CryptographicException_t248831461_il2cpp_TypeInfo_var);
CryptographicException__ctor_m503735289(L_8, L_7, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, NULL, RSAManaged_ImportParameters_m1117427048_RuntimeMethod_var);
}
IL_0053:
{
ByteU5BU5D_t4116647657* L_9 = (&___parameters0)->get_Exponent_7();
BigInteger_t2902905090 * L_10 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m2601366464(L_10, L_9, /*hidden argument*/NULL);
__this->set_e_13(L_10);
ByteU5BU5D_t4116647657* L_11 = (&___parameters0)->get_Modulus_6();
BigInteger_t2902905090 * L_12 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m2601366464(L_12, L_11, /*hidden argument*/NULL);
__this->set_n_12(L_12);
ByteU5BU5D_t4116647657* L_13 = (&___parameters0)->get_D_2();
if (!L_13)
{
goto IL_0095;
}
}
{
ByteU5BU5D_t4116647657* L_14 = (&___parameters0)->get_D_2();
BigInteger_t2902905090 * L_15 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m2601366464(L_15, L_14, /*hidden argument*/NULL);
__this->set_d_6(L_15);
}
IL_0095:
{
ByteU5BU5D_t4116647657* L_16 = (&___parameters0)->get_DP_3();
if (!L_16)
{
goto IL_00b3;
}
}
{
ByteU5BU5D_t4116647657* L_17 = (&___parameters0)->get_DP_3();
BigInteger_t2902905090 * L_18 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m2601366464(L_18, L_17, /*hidden argument*/NULL);
__this->set_dp_9(L_18);
}
IL_00b3:
{
ByteU5BU5D_t4116647657* L_19 = (&___parameters0)->get_DQ_4();
if (!L_19)
{
goto IL_00d1;
}
}
{
ByteU5BU5D_t4116647657* L_20 = (&___parameters0)->get_DQ_4();
BigInteger_t2902905090 * L_21 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m2601366464(L_21, L_20, /*hidden argument*/NULL);
__this->set_dq_10(L_21);
}
IL_00d1:
{
ByteU5BU5D_t4116647657* L_22 = (&___parameters0)->get_InverseQ_5();
if (!L_22)
{
goto IL_00ef;
}
}
{
ByteU5BU5D_t4116647657* L_23 = (&___parameters0)->get_InverseQ_5();
BigInteger_t2902905090 * L_24 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m2601366464(L_24, L_23, /*hidden argument*/NULL);
__this->set_qInv_11(L_24);
}
IL_00ef:
{
ByteU5BU5D_t4116647657* L_25 = (&___parameters0)->get_P_0();
if (!L_25)
{
goto IL_010d;
}
}
{
ByteU5BU5D_t4116647657* L_26 = (&___parameters0)->get_P_0();
BigInteger_t2902905090 * L_27 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m2601366464(L_27, L_26, /*hidden argument*/NULL);
__this->set_p_7(L_27);
}
IL_010d:
{
ByteU5BU5D_t4116647657* L_28 = (&___parameters0)->get_Q_1();
if (!L_28)
{
goto IL_012b;
}
}
{
ByteU5BU5D_t4116647657* L_29 = (&___parameters0)->get_Q_1();
BigInteger_t2902905090 * L_30 = (BigInteger_t2902905090 *)il2cpp_codegen_object_new(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger__ctor_m2601366464(L_30, L_29, /*hidden argument*/NULL);
__this->set_q_8(L_30);
}
IL_012b:
{
__this->set_keypairGenerated_4((bool)1);
BigInteger_t2902905090 * L_31 = __this->get_p_7();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_32 = BigInteger_op_Inequality_m2697143438(NULL /*static, unused*/, L_31, (BigInteger_t2902905090 *)NULL, /*hidden argument*/NULL);
if (!L_32)
{
goto IL_0162;
}
}
{
BigInteger_t2902905090 * L_33 = __this->get_q_8();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_34 = BigInteger_op_Inequality_m2697143438(NULL /*static, unused*/, L_33, (BigInteger_t2902905090 *)NULL, /*hidden argument*/NULL);
if (!L_34)
{
goto IL_0162;
}
}
{
BigInteger_t2902905090 * L_35 = __this->get_dp_9();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_36 = BigInteger_op_Inequality_m2697143438(NULL /*static, unused*/, L_35, (BigInteger_t2902905090 *)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_t2902905090 * L_38 = __this->get_dq_10();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_39 = BigInteger_op_Inequality_m2697143438(NULL /*static, unused*/, L_38, (BigInteger_t2902905090 *)NULL, /*hidden argument*/NULL);
G_B24_0 = G_B23_0;
if (!L_39)
{
G_B25_0 = G_B23_0;
goto IL_018a;
}
}
{
BigInteger_t2902905090 * L_40 = __this->get_qInv_11();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_41 = BigInteger_op_Inequality_m2697143438(NULL /*static, unused*/, L_40, (BigInteger_t2902905090 *)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_t2902905090 * L_43 = __this->get_n_12();
BigInteger_t2902905090 * L_44 = __this->get_p_7();
BigInteger_t2902905090 * L_45 = __this->get_q_8();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_46 = BigInteger_op_Multiply_m3683746602(NULL /*static, unused*/, L_44, L_45, /*hidden argument*/NULL);
bool L_47 = BigInteger_op_Equality_m1194739960(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_t2902905090 * L_49 = __this->get_p_7();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_50 = BigInteger_op_Implicit_m2547142909(NULL /*static, unused*/, 1, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_51 = BigInteger_op_Subtraction_m4245834512(NULL /*static, unused*/, L_49, L_50, /*hidden argument*/NULL);
V_2 = L_51;
BigInteger_t2902905090 * L_52 = __this->get_q_8();
BigInteger_t2902905090 * L_53 = BigInteger_op_Implicit_m2547142909(NULL /*static, unused*/, 1, /*hidden argument*/NULL);
BigInteger_t2902905090 * L_54 = BigInteger_op_Subtraction_m4245834512(NULL /*static, unused*/, L_52, L_53, /*hidden argument*/NULL);
V_3 = L_54;
BigInteger_t2902905090 * L_55 = V_2;
BigInteger_t2902905090 * L_56 = V_3;
BigInteger_t2902905090 * L_57 = BigInteger_op_Multiply_m3683746602(NULL /*static, unused*/, L_55, L_56, /*hidden argument*/NULL);
V_4 = L_57;
BigInteger_t2902905090 * L_58 = __this->get_e_13();
BigInteger_t2902905090 * L_59 = V_4;
BigInteger_t2902905090 * L_60 = BigInteger_ModInverse_m2426215562(L_58, L_59, /*hidden argument*/NULL);
V_5 = L_60;
BigInteger_t2902905090 * L_61 = __this->get_d_6();
BigInteger_t2902905090 * L_62 = V_5;
bool L_63 = BigInteger_op_Equality_m1194739960(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_t2902905090 * L_66 = __this->get_dp_9();
BigInteger_t2902905090 * L_67 = V_5;
BigInteger_t2902905090 * L_68 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_69 = BigInteger_op_Modulus_m2565477533(NULL /*static, unused*/, L_67, L_68, /*hidden argument*/NULL);
bool L_70 = BigInteger_op_Equality_m1194739960(NULL /*static, unused*/, L_66, L_69, /*hidden argument*/NULL);
if (!L_70)
{
goto IL_0263;
}
}
{
BigInteger_t2902905090 * L_71 = __this->get_dq_10();
BigInteger_t2902905090 * L_72 = V_5;
BigInteger_t2902905090 * L_73 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
BigInteger_t2902905090 * L_74 = BigInteger_op_Modulus_m2565477533(NULL /*static, unused*/, L_72, L_73, /*hidden argument*/NULL);
bool L_75 = BigInteger_op_Equality_m1194739960(NULL /*static, unused*/, L_71, L_74, /*hidden argument*/NULL);
if (!L_75)
{
goto IL_0263;
}
}
{
BigInteger_t2902905090 * L_76 = __this->get_qInv_11();
BigInteger_t2902905090 * L_77 = __this->get_q_8();
BigInteger_t2902905090 * L_78 = __this->get_p_7();
BigInteger_t2902905090 * L_79 = BigInteger_ModInverse_m2426215562(L_77, L_78, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_80 = BigInteger_op_Equality_m1194739960(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_m3520169047(NULL /*static, unused*/, _stringLiteral4201447376, /*hidden argument*/NULL);
CryptographicException_t248831461 * L_83 = (CryptographicException_t248831461 *)il2cpp_codegen_object_new(CryptographicException_t248831461_il2cpp_TypeInfo_var);
CryptographicException__ctor_m503735289(L_83, L_82, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_83, NULL, RSAManaged_ImportParameters_m1117427048_RuntimeMethod_var);
}
IL_027b:
{
return;
}
}
// System.Void Mono.Security.Cryptography.RSAManaged::Dispose(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void RSAManaged_Dispose_m2347279430 (RSAManaged_t1757093820 * __this, bool ___disposing0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RSAManaged_Dispose_m2347279430_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = __this->get_m_disposed_5();
if (L_0)
{
goto IL_0129;
}
}
{
BigInteger_t2902905090 * L_1 = __this->get_d_6();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_2 = BigInteger_op_Inequality_m2697143438(NULL /*static, unused*/, L_1, (BigInteger_t2902905090 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_002e;
}
}
{
BigInteger_t2902905090 * L_3 = __this->get_d_6();
BigInteger_Clear_m2995574218(L_3, /*hidden argument*/NULL);
__this->set_d_6((BigInteger_t2902905090 *)NULL);
}
IL_002e:
{
BigInteger_t2902905090 * L_4 = __this->get_p_7();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_5 = BigInteger_op_Inequality_m2697143438(NULL /*static, unused*/, L_4, (BigInteger_t2902905090 *)NULL, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_0051;
}
}
{
BigInteger_t2902905090 * L_6 = __this->get_p_7();
BigInteger_Clear_m2995574218(L_6, /*hidden argument*/NULL);
__this->set_p_7((BigInteger_t2902905090 *)NULL);
}
IL_0051:
{
BigInteger_t2902905090 * L_7 = __this->get_q_8();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_8 = BigInteger_op_Inequality_m2697143438(NULL /*static, unused*/, L_7, (BigInteger_t2902905090 *)NULL, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_0074;
}
}
{
BigInteger_t2902905090 * L_9 = __this->get_q_8();
BigInteger_Clear_m2995574218(L_9, /*hidden argument*/NULL);
__this->set_q_8((BigInteger_t2902905090 *)NULL);
}
IL_0074:
{
BigInteger_t2902905090 * L_10 = __this->get_dp_9();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_11 = BigInteger_op_Inequality_m2697143438(NULL /*static, unused*/, L_10, (BigInteger_t2902905090 *)NULL, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_0097;
}
}
{
BigInteger_t2902905090 * L_12 = __this->get_dp_9();
BigInteger_Clear_m2995574218(L_12, /*hidden argument*/NULL);
__this->set_dp_9((BigInteger_t2902905090 *)NULL);
}
IL_0097:
{
BigInteger_t2902905090 * L_13 = __this->get_dq_10();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_14 = BigInteger_op_Inequality_m2697143438(NULL /*static, unused*/, L_13, (BigInteger_t2902905090 *)NULL, /*hidden argument*/NULL);
if (!L_14)
{
goto IL_00ba;
}
}
{
BigInteger_t2902905090 * L_15 = __this->get_dq_10();
BigInteger_Clear_m2995574218(L_15, /*hidden argument*/NULL);
__this->set_dq_10((BigInteger_t2902905090 *)NULL);
}
IL_00ba:
{
BigInteger_t2902905090 * L_16 = __this->get_qInv_11();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_17 = BigInteger_op_Inequality_m2697143438(NULL /*static, unused*/, L_16, (BigInteger_t2902905090 *)NULL, /*hidden argument*/NULL);
if (!L_17)
{
goto IL_00dd;
}
}
{
BigInteger_t2902905090 * L_18 = __this->get_qInv_11();
BigInteger_Clear_m2995574218(L_18, /*hidden argument*/NULL);
__this->set_qInv_11((BigInteger_t2902905090 *)NULL);
}
IL_00dd:
{
bool L_19 = ___disposing0;
if (!L_19)
{
goto IL_0129;
}
}
{
BigInteger_t2902905090 * L_20 = __this->get_e_13();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_21 = BigInteger_op_Inequality_m2697143438(NULL /*static, unused*/, L_20, (BigInteger_t2902905090 *)NULL, /*hidden argument*/NULL);
if (!L_21)
{
goto IL_0106;
}
}
{
BigInteger_t2902905090 * L_22 = __this->get_e_13();
BigInteger_Clear_m2995574218(L_22, /*hidden argument*/NULL);
__this->set_e_13((BigInteger_t2902905090 *)NULL);
}
IL_0106:
{
BigInteger_t2902905090 * L_23 = __this->get_n_12();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t2902905090_il2cpp_TypeInfo_var);
bool L_24 = BigInteger_op_Inequality_m2697143438(NULL /*static, unused*/, L_23, (BigInteger_t2902905090 *)NULL, /*hidden argument*/NULL);
if (!L_24)
{
goto IL_0129;
}
}
{
BigInteger_t2902905090 * L_25 = __this->get_n_12();
BigInteger_Clear_m2995574218(L_25, /*hidden argument*/NULL);
__this->set_n_12((BigInteger_t2902905090 *)NULL);
}
IL_0129:
{
__this->set_m_disposed_5((bool)1);
return;
}
}
// System.String Mono.Security.Cryptography.RSAManaged::ToXmlString(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR String_t* RSAManaged_ToXmlString_m2369501989 (RSAManaged_t1757093820 * __this, bool ___includePrivateParameters0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RSAManaged_ToXmlString_m2369501989_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StringBuilder_t * V_0 = NULL;
RSAParameters_t1728406613 V_1;
memset(&V_1, 0, sizeof(V_1));
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
{
StringBuilder_t * L_0 = (StringBuilder_t *)il2cpp_codegen_object_new(StringBuilder_t_il2cpp_TypeInfo_var);
StringBuilder__ctor_m3121283359(L_0, /*hidden argument*/NULL);
V_0 = L_0;
bool L_1 = ___includePrivateParameters0;
RSAParameters_t1728406613 L_2 = VirtFuncInvoker1< RSAParameters_t1728406613 , 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_t * L_3 = V_0;
StringBuilder_Append_m1965104174(L_3, _stringLiteral2330884088, /*hidden argument*/NULL);
StringBuilder_t * L_4 = V_0;
StringBuilder_Append_m1965104174(L_4, _stringLiteral264464451, /*hidden argument*/NULL);
StringBuilder_t * L_5 = V_0;
ByteU5BU5D_t4116647657* L_6 = (&V_1)->get_Modulus_6();
IL2CPP_RUNTIME_CLASS_INIT(Convert_t2465617642_il2cpp_TypeInfo_var);
String_t* L_7 = Convert_ToBase64String_m3839334935(NULL /*static, unused*/, L_6, /*hidden argument*/NULL);
StringBuilder_Append_m1965104174(L_5, L_7, /*hidden argument*/NULL);
StringBuilder_t * L_8 = V_0;
StringBuilder_Append_m1965104174(L_8, _stringLiteral3087219758, /*hidden argument*/NULL);
StringBuilder_t * L_9 = V_0;
StringBuilder_Append_m1965104174(L_9, _stringLiteral4195570472, /*hidden argument*/NULL);
StringBuilder_t * L_10 = V_0;
ByteU5BU5D_t4116647657* L_11 = (&V_1)->get_Exponent_7();
String_t* L_12 = Convert_ToBase64String_m3839334935(NULL /*static, unused*/, L_11, /*hidden argument*/NULL);
StringBuilder_Append_m1965104174(L_10, L_12, /*hidden argument*/NULL);
StringBuilder_t * L_13 = V_0;
StringBuilder_Append_m1965104174(L_13, _stringLiteral3252161509, /*hidden argument*/NULL);
bool L_14 = ___includePrivateParameters0;
if (!L_14)
{
goto IL_01b4;
}
}
IL_0076:
{
ByteU5BU5D_t4116647657* L_15 = (&V_1)->get_P_0();
if (!L_15)
{
goto IL_00ad;
}
}
IL_0082:
{
StringBuilder_t * L_16 = V_0;
StringBuilder_Append_m1965104174(L_16, _stringLiteral1918135800, /*hidden argument*/NULL);
StringBuilder_t * L_17 = V_0;
ByteU5BU5D_t4116647657* L_18 = (&V_1)->get_P_0();
IL2CPP_RUNTIME_CLASS_INIT(Convert_t2465617642_il2cpp_TypeInfo_var);
String_t* L_19 = Convert_ToBase64String_m3839334935(NULL /*static, unused*/, L_18, /*hidden argument*/NULL);
StringBuilder_Append_m1965104174(L_17, L_19, /*hidden argument*/NULL);
StringBuilder_t * L_20 = V_0;
StringBuilder_Append_m1965104174(L_20, _stringLiteral417504526, /*hidden argument*/NULL);
}
IL_00ad:
{
ByteU5BU5D_t4116647657* L_21 = (&V_1)->get_Q_1();
if (!L_21)
{
goto IL_00e4;
}
}
IL_00b9:
{
StringBuilder_t * L_22 = V_0;
StringBuilder_Append_m1965104174(L_22, _stringLiteral1918070264, /*hidden argument*/NULL);
StringBuilder_t * L_23 = V_0;
ByteU5BU5D_t4116647657* L_24 = (&V_1)->get_Q_1();
IL2CPP_RUNTIME_CLASS_INIT(Convert_t2465617642_il2cpp_TypeInfo_var);
String_t* L_25 = Convert_ToBase64String_m3839334935(NULL /*static, unused*/, L_24, /*hidden argument*/NULL);
StringBuilder_Append_m1965104174(L_23, L_25, /*hidden argument*/NULL);
StringBuilder_t * L_26 = V_0;
StringBuilder_Append_m1965104174(L_26, _stringLiteral3146387881, /*hidden argument*/NULL);
}
IL_00e4:
{
ByteU5BU5D_t4116647657* L_27 = (&V_1)->get_DP_3();
if (!L_27)
{
goto IL_011b;
}
}
IL_00f0:
{
StringBuilder_t * L_28 = V_0;
StringBuilder_Append_m1965104174(L_28, _stringLiteral423468302, /*hidden argument*/NULL);
StringBuilder_t * L_29 = V_0;
ByteU5BU5D_t4116647657* L_30 = (&V_1)->get_DP_3();
IL2CPP_RUNTIME_CLASS_INIT(Convert_t2465617642_il2cpp_TypeInfo_var);
String_t* L_31 = Convert_ToBase64String_m3839334935(NULL /*static, unused*/, L_30, /*hidden argument*/NULL);
StringBuilder_Append_m1965104174(L_29, L_31, /*hidden argument*/NULL);
StringBuilder_t * L_32 = V_0;
StringBuilder_Append_m1965104174(L_32, _stringLiteral2921622622, /*hidden argument*/NULL);
}
IL_011b:
{
ByteU5BU5D_t4116647657* L_33 = (&V_1)->get_DQ_4();
if (!L_33)
{
goto IL_0152;
}
}
IL_0127:
{
StringBuilder_t * L_34 = V_0;
StringBuilder_Append_m1965104174(L_34, _stringLiteral3152351657, /*hidden argument*/NULL);
StringBuilder_t * L_35 = V_0;
ByteU5BU5D_t4116647657* L_36 = (&V_1)->get_DQ_4();
IL2CPP_RUNTIME_CLASS_INIT(Convert_t2465617642_il2cpp_TypeInfo_var);
String_t* L_37 = Convert_ToBase64String_m3839334935(NULL /*static, unused*/, L_36, /*hidden argument*/NULL);
StringBuilder_Append_m1965104174(L_35, L_37, /*hidden argument*/NULL);
StringBuilder_t * L_38 = V_0;
StringBuilder_Append_m1965104174(L_38, _stringLiteral582970462, /*hidden argument*/NULL);
}
IL_0152:
{
ByteU5BU5D_t4116647657* L_39 = (&V_1)->get_InverseQ_5();
if (!L_39)
{
goto IL_0189;
}
}
IL_015e:
{
StringBuilder_t * L_40 = V_0;
StringBuilder_Append_m1965104174(L_40, _stringLiteral939428175, /*hidden argument*/NULL);
StringBuilder_t * L_41 = V_0;
ByteU5BU5D_t4116647657* L_42 = (&V_1)->get_InverseQ_5();
IL2CPP_RUNTIME_CLASS_INIT(Convert_t2465617642_il2cpp_TypeInfo_var);
String_t* L_43 = Convert_ToBase64String_m3839334935(NULL /*static, unused*/, L_42, /*hidden argument*/NULL);
StringBuilder_Append_m1965104174(L_41, L_43, /*hidden argument*/NULL);
StringBuilder_t * L_44 = V_0;
StringBuilder_Append_m1965104174(L_44, _stringLiteral197188615, /*hidden argument*/NULL);
}
IL_0189:
{
StringBuilder_t * L_45 = V_0;
StringBuilder_Append_m1965104174(L_45, _stringLiteral1916825080, /*hidden argument*/NULL);
StringBuilder_t * L_46 = V_0;
ByteU5BU5D_t4116647657* L_47 = (&V_1)->get_D_2();
IL2CPP_RUNTIME_CLASS_INIT(Convert_t2465617642_il2cpp_TypeInfo_var);
String_t* L_48 = Convert_ToBase64String_m3839334935(NULL /*static, unused*/, L_47, /*hidden argument*/NULL);
StringBuilder_Append_m1965104174(L_46, L_48, /*hidden argument*/NULL);
StringBuilder_t * L_49 = V_0;
StringBuilder_Append_m1965104174(L_49, _stringLiteral3455564074, /*hidden argument*/NULL);
}
IL_01b4:
{
StringBuilder_t * L_50 = V_0;
StringBuilder_Append_m1965104174(L_50, _stringLiteral1114683495, /*hidden argument*/NULL);
goto IL_0299;
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (RuntimeObject_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_01c5;
throw e;
}
CATCH_01c5:
{ // begin catch(System.Object)
{
ByteU5BU5D_t4116647657* L_51 = (&V_1)->get_P_0();
if (!L_51)
{
goto IL_01e8;
}
}
IL_01d2:
{
ByteU5BU5D_t4116647657* L_52 = (&V_1)->get_P_0();
ByteU5BU5D_t4116647657* L_53 = (&V_1)->get_P_0();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_52, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_53)->max_length)))), /*hidden argument*/NULL);
}
IL_01e8:
{
ByteU5BU5D_t4116647657* L_54 = (&V_1)->get_Q_1();
if (!L_54)
{
goto IL_020a;
}
}
IL_01f4:
{
ByteU5BU5D_t4116647657* L_55 = (&V_1)->get_Q_1();
ByteU5BU5D_t4116647657* L_56 = (&V_1)->get_Q_1();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_55, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_56)->max_length)))), /*hidden argument*/NULL);
}
IL_020a:
{
ByteU5BU5D_t4116647657* L_57 = (&V_1)->get_DP_3();
if (!L_57)
{
goto IL_022c;
}
}
IL_0216:
{
ByteU5BU5D_t4116647657* L_58 = (&V_1)->get_DP_3();
ByteU5BU5D_t4116647657* L_59 = (&V_1)->get_DP_3();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_58, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_59)->max_length)))), /*hidden argument*/NULL);
}
IL_022c:
{
ByteU5BU5D_t4116647657* L_60 = (&V_1)->get_DQ_4();
if (!L_60)
{
goto IL_024e;
}
}
IL_0238:
{
ByteU5BU5D_t4116647657* L_61 = (&V_1)->get_DQ_4();
ByteU5BU5D_t4116647657* L_62 = (&V_1)->get_DQ_4();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_61, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_62)->max_length)))), /*hidden argument*/NULL);
}
IL_024e:
{
ByteU5BU5D_t4116647657* L_63 = (&V_1)->get_InverseQ_5();
if (!L_63)
{
goto IL_0270;
}
}
IL_025a:
{
ByteU5BU5D_t4116647657* L_64 = (&V_1)->get_InverseQ_5();
ByteU5BU5D_t4116647657* L_65 = (&V_1)->get_InverseQ_5();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_64, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_65)->max_length)))), /*hidden argument*/NULL);
}
IL_0270:
{
ByteU5BU5D_t4116647657* L_66 = (&V_1)->get_D_2();
if (!L_66)
{
goto IL_0292;
}
}
IL_027c:
{
ByteU5BU5D_t4116647657* L_67 = (&V_1)->get_D_2();
ByteU5BU5D_t4116647657* L_68 = (&V_1)->get_D_2();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_67, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_68)->max_length)))), /*hidden argument*/NULL);
}
IL_0292:
{
IL2CPP_RAISE_MANAGED_EXCEPTION(__exception_local, NULL, RSAManaged_ToXmlString_m2369501989_RuntimeMethod_var);
}
IL_0294:
{
goto IL_0299;
}
} // end catch (depth: 1)
IL_0299:
{
StringBuilder_t * L_69 = V_0;
String_t* L_70 = StringBuilder_ToString_m3317489284(L_69, /*hidden argument*/NULL);
return L_70;
}
}
// System.Byte[] Mono.Security.Cryptography.RSAManaged::GetPaddedValue(Mono.Math.BigInteger,System.Int32)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* RSAManaged_GetPaddedValue_m2182626630 (RSAManaged_t1757093820 * __this, BigInteger_t2902905090 * ___value0, int32_t ___length1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RSAManaged_GetPaddedValue_m2182626630_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_t4116647657* V_0 = NULL;
ByteU5BU5D_t4116647657* V_1 = NULL;
{
BigInteger_t2902905090 * L_0 = ___value0;
ByteU5BU5D_t4116647657* L_1 = BigInteger_GetBytes_m1259701831(L_0, /*hidden argument*/NULL);
V_0 = L_1;
ByteU5BU5D_t4116647657* L_2 = V_0;
int32_t L_3 = ___length1;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_2)->max_length))))) < ((int32_t)L_3)))
{
goto IL_0012;
}
}
{
ByteU5BU5D_t4116647657* L_4 = V_0;
return L_4;
}
IL_0012:
{
int32_t L_5 = ___length1;
ByteU5BU5D_t4116647657* L_6 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_5);
V_1 = L_6;
ByteU5BU5D_t4116647657* L_7 = V_0;
ByteU5BU5D_t4116647657* L_8 = V_1;
int32_t L_9 = ___length1;
ByteU5BU5D_t4116647657* L_10 = V_0;
ByteU5BU5D_t4116647657* L_11 = V_0;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, 0, (RuntimeArray *)(RuntimeArray *)L_8, ((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_10)->max_length)))))), (((int32_t)((int32_t)(((RuntimeArray *)L_11)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_12 = V_0;
ByteU5BU5D_t4116647657* L_13 = V_0;
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_12, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_13)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_14 = V_1;
return L_14;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Cryptography.RSAManaged/KeyGeneratedEventHandler::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void KeyGeneratedEventHandler__ctor_m4032730305 (KeyGeneratedEventHandler_t3064139578 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
__this->set_method_ptr_0(il2cpp_codegen_get_method_pointer((RuntimeMethod*)___method1));
__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" IL2CPP_METHOD_ATTR void KeyGeneratedEventHandler_Invoke_m99769071 (KeyGeneratedEventHandler_t3064139578 * __this, RuntimeObject * ___sender0, EventArgs_t3591816995 * ___e1, const RuntimeMethod* method)
{
if(__this->get_prev_9() != NULL)
{
KeyGeneratedEventHandler_Invoke_m99769071((KeyGeneratedEventHandler_t3064139578 *)__this->get_prev_9(), ___sender0, ___e1, method);
}
Il2CppMethodPointer targetMethodPointer = __this->get_method_ptr_0();
RuntimeMethod* targetMethod = (RuntimeMethod*)(__this->get_method_3());
RuntimeObject* targetThis = __this->get_m_target_2();
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
bool ___methodIsStatic = MethodIsStatic(targetMethod);
if (___methodIsStatic)
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 2)
{
// open
{
typedef void (*FunctionPointerType) (RuntimeObject *, RuntimeObject *, EventArgs_t3591816995 *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(NULL, ___sender0, ___e1, targetMethod);
}
}
else
{
// closed
{
typedef void (*FunctionPointerType) (RuntimeObject *, void*, RuntimeObject *, EventArgs_t3591816995 *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(NULL, targetThis, ___sender0, ___e1, targetMethod);
}
}
}
else
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 2)
{
// closed
if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
{
if (il2cpp_codegen_method_is_generic_instance(targetMethod))
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
GenericInterfaceActionInvoker2< RuntimeObject *, EventArgs_t3591816995 * >::Invoke(targetMethod, targetThis, ___sender0, ___e1);
else
GenericVirtActionInvoker2< RuntimeObject *, EventArgs_t3591816995 * >::Invoke(targetMethod, targetThis, ___sender0, ___e1);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
InterfaceActionInvoker2< RuntimeObject *, EventArgs_t3591816995 * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___sender0, ___e1);
else
VirtActionInvoker2< RuntimeObject *, EventArgs_t3591816995 * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___sender0, ___e1);
}
}
else
{
typedef void (*FunctionPointerType) (void*, RuntimeObject *, EventArgs_t3591816995 *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(targetThis, ___sender0, ___e1, targetMethod);
}
}
else
{
// open
if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
{
if (il2cpp_codegen_method_is_generic_instance(targetMethod))
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
GenericInterfaceActionInvoker1< EventArgs_t3591816995 * >::Invoke(targetMethod, ___sender0, ___e1);
else
GenericVirtActionInvoker1< EventArgs_t3591816995 * >::Invoke(targetMethod, ___sender0, ___e1);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
InterfaceActionInvoker1< EventArgs_t3591816995 * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), ___sender0, ___e1);
else
VirtActionInvoker1< EventArgs_t3591816995 * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), ___sender0, ___e1);
}
}
else
{
typedef void (*FunctionPointerType) (RuntimeObject *, EventArgs_t3591816995 *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(___sender0, ___e1, targetMethod);
}
}
}
}
// System.IAsyncResult Mono.Security.Cryptography.RSAManaged/KeyGeneratedEventHandler::BeginInvoke(System.Object,System.EventArgs,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* KeyGeneratedEventHandler_BeginInvoke_m3227934731 (KeyGeneratedEventHandler_t3064139578 * __this, RuntimeObject * ___sender0, EventArgs_t3591816995 * ___e1, AsyncCallback_t3962456242 * ___callback2, RuntimeObject * ___object3, const RuntimeMethod* method)
{
void *__d_args[3] = {0};
__d_args[0] = ___sender0;
__d_args[1] = ___e1;
return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback2, (RuntimeObject*)___object3);
}
// System.Void Mono.Security.Cryptography.RSAManaged/KeyGeneratedEventHandler::EndInvoke(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void KeyGeneratedEventHandler_EndInvoke_m2862962495 (KeyGeneratedEventHandler_t3064139578 * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
{
il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.PKCS7/ContentInfo::.ctor()
extern "C" IL2CPP_METHOD_ATTR void ContentInfo__ctor_m1955840786 (ContentInfo_t3218159896 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ContentInfo__ctor_m1955840786_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
ASN1_t2114160833 * L_0 = (ASN1_t2114160833 *)il2cpp_codegen_object_new(ASN1_t2114160833_il2cpp_TypeInfo_var);
ASN1__ctor_m1239252869(L_0, (uint8_t)((int32_t)160), /*hidden argument*/NULL);
__this->set_content_1(L_0);
return;
}
}
// System.Void Mono.Security.PKCS7/ContentInfo::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void ContentInfo__ctor_m2855743200 (ContentInfo_t3218159896 * __this, String_t* ___oid0, const RuntimeMethod* method)
{
{
ContentInfo__ctor_m1955840786(__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 "C" IL2CPP_METHOD_ATTR void ContentInfo__ctor_m2928874476 (ContentInfo_t3218159896 * __this, ByteU5BU5D_t4116647657* ___data0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ContentInfo__ctor_m2928874476_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_t4116647657* L_0 = ___data0;
ASN1_t2114160833 * L_1 = (ASN1_t2114160833 *)il2cpp_codegen_object_new(ASN1_t2114160833_il2cpp_TypeInfo_var);
ASN1__ctor_m1638893325(L_1, L_0, /*hidden argument*/NULL);
ContentInfo__ctor_m3397951412(__this, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.PKCS7/ContentInfo::.ctor(Mono.Security.ASN1)
extern "C" IL2CPP_METHOD_ATTR void ContentInfo__ctor_m3397951412 (ContentInfo_t3218159896 * __this, ASN1_t2114160833 * ___asn10, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ContentInfo__ctor_m3397951412_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
ASN1_t2114160833 * L_0 = ___asn10;
uint8_t L_1 = ASN1_get_Tag_m2789147236(L_0, /*hidden argument*/NULL);
if ((!(((uint32_t)L_1) == ((uint32_t)((int32_t)48)))))
{
goto IL_002b;
}
}
{
ASN1_t2114160833 * L_2 = ___asn10;
int32_t L_3 = ASN1_get_Count_m1789520042(L_2, /*hidden argument*/NULL);
if ((((int32_t)L_3) >= ((int32_t)1)))
{
goto IL_0036;
}
}
{
ASN1_t2114160833 * L_4 = ___asn10;
int32_t L_5 = ASN1_get_Count_m1789520042(L_4, /*hidden argument*/NULL);
if ((((int32_t)L_5) <= ((int32_t)2)))
{
goto IL_0036;
}
}
IL_002b:
{
ArgumentException_t132251570 * L_6 = (ArgumentException_t132251570 *)il2cpp_codegen_object_new(ArgumentException_t132251570_il2cpp_TypeInfo_var);
ArgumentException__ctor_m1312628991(L_6, _stringLiteral532208778, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, ContentInfo__ctor_m3397951412_RuntimeMethod_var);
}
IL_0036:
{
ASN1_t2114160833 * L_7 = ___asn10;
ASN1_t2114160833 * L_8 = ASN1_get_Item_m2255075813(L_7, 0, /*hidden argument*/NULL);
uint8_t L_9 = ASN1_get_Tag_m2789147236(L_8, /*hidden argument*/NULL);
if ((((int32_t)L_9) == ((int32_t)6)))
{
goto IL_0053;
}
}
{
ArgumentException_t132251570 * L_10 = (ArgumentException_t132251570 *)il2cpp_codegen_object_new(ArgumentException_t132251570_il2cpp_TypeInfo_var);
ArgumentException__ctor_m1312628991(L_10, _stringLiteral2231488616, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, NULL, ContentInfo__ctor_m3397951412_RuntimeMethod_var);
}
IL_0053:
{
ASN1_t2114160833 * L_11 = ___asn10;
ASN1_t2114160833 * L_12 = ASN1_get_Item_m2255075813(L_11, 0, /*hidden argument*/NULL);
String_t* L_13 = ASN1Convert_ToOid_m3847701408(NULL /*static, unused*/, L_12, /*hidden argument*/NULL);
__this->set_contentType_0(L_13);
ASN1_t2114160833 * L_14 = ___asn10;
int32_t L_15 = ASN1_get_Count_m1789520042(L_14, /*hidden argument*/NULL);
if ((((int32_t)L_15) <= ((int32_t)1)))
{
goto IL_009f;
}
}
{
ASN1_t2114160833 * L_16 = ___asn10;
ASN1_t2114160833 * L_17 = ASN1_get_Item_m2255075813(L_16, 1, /*hidden argument*/NULL);
uint8_t L_18 = ASN1_get_Tag_m2789147236(L_17, /*hidden argument*/NULL);
if ((((int32_t)L_18) == ((int32_t)((int32_t)160))))
{
goto IL_0092;
}
}
{
ArgumentException_t132251570 * L_19 = (ArgumentException_t132251570 *)il2cpp_codegen_object_new(ArgumentException_t132251570_il2cpp_TypeInfo_var);
ArgumentException__ctor_m1312628991(L_19, _stringLiteral825954302, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_19, NULL, ContentInfo__ctor_m3397951412_RuntimeMethod_var);
}
IL_0092:
{
ASN1_t2114160833 * L_20 = ___asn10;
ASN1_t2114160833 * L_21 = ASN1_get_Item_m2255075813(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" IL2CPP_METHOD_ATTR ASN1_t2114160833 * ContentInfo_get_ASN1_m2959326143 (ContentInfo_t3218159896 * __this, const RuntimeMethod* method)
{
{
ASN1_t2114160833 * L_0 = ContentInfo_GetASN1_m2535172199(__this, /*hidden argument*/NULL);
return L_0;
}
}
// Mono.Security.ASN1 Mono.Security.PKCS7/ContentInfo::get_Content()
extern "C" IL2CPP_METHOD_ATTR ASN1_t2114160833 * ContentInfo_get_Content_m4053224038 (ContentInfo_t3218159896 * __this, const RuntimeMethod* method)
{
{
ASN1_t2114160833 * L_0 = __this->get_content_1();
return L_0;
}
}
// System.Void Mono.Security.PKCS7/ContentInfo::set_Content(Mono.Security.ASN1)
extern "C" IL2CPP_METHOD_ATTR void ContentInfo_set_Content_m2581255245 (ContentInfo_t3218159896 * __this, ASN1_t2114160833 * ___value0, const RuntimeMethod* method)
{
{
ASN1_t2114160833 * L_0 = ___value0;
__this->set_content_1(L_0);
return;
}
}
// System.String Mono.Security.PKCS7/ContentInfo::get_ContentType()
extern "C" IL2CPP_METHOD_ATTR String_t* ContentInfo_get_ContentType_m4018261807 (ContentInfo_t3218159896 * __this, const RuntimeMethod* method)
{
{
String_t* L_0 = __this->get_contentType_0();
return L_0;
}
}
// System.Void Mono.Security.PKCS7/ContentInfo::set_ContentType(System.String)
extern "C" IL2CPP_METHOD_ATTR void ContentInfo_set_ContentType_m3848100294 (ContentInfo_t3218159896 * __this, String_t* ___value0, const RuntimeMethod* method)
{
{
String_t* L_0 = ___value0;
__this->set_contentType_0(L_0);
return;
}
}
// Mono.Security.ASN1 Mono.Security.PKCS7/ContentInfo::GetASN1()
extern "C" IL2CPP_METHOD_ATTR ASN1_t2114160833 * ContentInfo_GetASN1_m2535172199 (ContentInfo_t3218159896 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ContentInfo_GetASN1_m2535172199_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ASN1_t2114160833 * V_0 = NULL;
{
ASN1_t2114160833 * L_0 = (ASN1_t2114160833 *)il2cpp_codegen_object_new(ASN1_t2114160833_il2cpp_TypeInfo_var);
ASN1__ctor_m1239252869(L_0, (uint8_t)((int32_t)48), /*hidden argument*/NULL);
V_0 = L_0;
ASN1_t2114160833 * L_1 = V_0;
String_t* L_2 = __this->get_contentType_0();
ASN1_t2114160833 * L_3 = ASN1Convert_FromOid_m3844102704(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
ASN1_Add_m2431139999(L_1, L_3, /*hidden argument*/NULL);
ASN1_t2114160833 * L_4 = __this->get_content_1();
if (!L_4)
{
goto IL_0043;
}
}
{
ASN1_t2114160833 * L_5 = __this->get_content_1();
int32_t L_6 = ASN1_get_Count_m1789520042(L_5, /*hidden argument*/NULL);
if ((((int32_t)L_6) <= ((int32_t)0)))
{
goto IL_0043;
}
}
{
ASN1_t2114160833 * L_7 = V_0;
ASN1_t2114160833 * L_8 = __this->get_content_1();
ASN1_Add_m2431139999(L_7, L_8, /*hidden argument*/NULL);
}
IL_0043:
{
ASN1_t2114160833 * L_9 = V_0;
return L_9;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.PKCS7/EncryptedData::.ctor()
extern "C" IL2CPP_METHOD_ATTR void EncryptedData__ctor_m257803736 (EncryptedData_t3577548733 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
__this->set__version_0((uint8_t)0);
return;
}
}
// System.Void Mono.Security.PKCS7/EncryptedData::.ctor(Mono.Security.ASN1)
extern "C" IL2CPP_METHOD_ATTR void EncryptedData__ctor_m4001546383 (EncryptedData_t3577548733 * __this, ASN1_t2114160833 * ___asn10, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EncryptedData__ctor_m4001546383_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ASN1_t2114160833 * V_0 = NULL;
ASN1_t2114160833 * V_1 = NULL;
ASN1_t2114160833 * V_2 = NULL;
ASN1_t2114160833 * V_3 = NULL;
{
EncryptedData__ctor_m257803736(__this, /*hidden argument*/NULL);
ASN1_t2114160833 * L_0 = ___asn10;
uint8_t L_1 = ASN1_get_Tag_m2789147236(L_0, /*hidden argument*/NULL);
if ((!(((uint32_t)L_1) == ((uint32_t)((int32_t)48)))))
{
goto IL_001f;
}
}
{
ASN1_t2114160833 * L_2 = ___asn10;
int32_t L_3 = ASN1_get_Count_m1789520042(L_2, /*hidden argument*/NULL);
if ((((int32_t)L_3) >= ((int32_t)2)))
{
goto IL_002a;
}
}
IL_001f:
{
ArgumentException_t132251570 * L_4 = (ArgumentException_t132251570 *)il2cpp_codegen_object_new(ArgumentException_t132251570_il2cpp_TypeInfo_var);
ArgumentException__ctor_m1312628991(L_4, _stringLiteral2787816553, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, EncryptedData__ctor_m4001546383_RuntimeMethod_var);
}
IL_002a:
{
ASN1_t2114160833 * L_5 = ___asn10;
ASN1_t2114160833 * L_6 = ASN1_get_Item_m2255075813(L_5, 0, /*hidden argument*/NULL);
uint8_t L_7 = ASN1_get_Tag_m2789147236(L_6, /*hidden argument*/NULL);
if ((((int32_t)L_7) == ((int32_t)2)))
{
goto IL_0047;
}
}
{
ArgumentException_t132251570 * L_8 = (ArgumentException_t132251570 *)il2cpp_codegen_object_new(ArgumentException_t132251570_il2cpp_TypeInfo_var);
ArgumentException__ctor_m1312628991(L_8, _stringLiteral1110505755, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, NULL, EncryptedData__ctor_m4001546383_RuntimeMethod_var);
}
IL_0047:
{
ASN1_t2114160833 * L_9 = ___asn10;
ASN1_t2114160833 * L_10 = ASN1_get_Item_m2255075813(L_9, 0, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_11 = ASN1_get_Value_m63296490(L_10, /*hidden argument*/NULL);
int32_t L_12 = 0;
uint8_t L_13 = (L_11)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12));
__this->set__version_0(L_13);
ASN1_t2114160833 * L_14 = ___asn10;
ASN1_t2114160833 * L_15 = ASN1_get_Item_m2255075813(L_14, 1, /*hidden argument*/NULL);
V_0 = L_15;
ASN1_t2114160833 * L_16 = V_0;
uint8_t L_17 = ASN1_get_Tag_m2789147236(L_16, /*hidden argument*/NULL);
if ((((int32_t)L_17) == ((int32_t)((int32_t)48))))
{
goto IL_007b;
}
}
{
ArgumentException_t132251570 * L_18 = (ArgumentException_t132251570 *)il2cpp_codegen_object_new(ArgumentException_t132251570_il2cpp_TypeInfo_var);
ArgumentException__ctor_m1312628991(L_18, _stringLiteral3295482658, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_18, NULL, EncryptedData__ctor_m4001546383_RuntimeMethod_var);
}
IL_007b:
{
ASN1_t2114160833 * L_19 = V_0;
ASN1_t2114160833 * L_20 = ASN1_get_Item_m2255075813(L_19, 0, /*hidden argument*/NULL);
V_1 = L_20;
ASN1_t2114160833 * L_21 = V_1;
uint8_t L_22 = ASN1_get_Tag_m2789147236(L_21, /*hidden argument*/NULL);
if ((((int32_t)L_22) == ((int32_t)6)))
{
goto IL_009a;
}
}
{
ArgumentException_t132251570 * L_23 = (ArgumentException_t132251570 *)il2cpp_codegen_object_new(ArgumentException_t132251570_il2cpp_TypeInfo_var);
ArgumentException__ctor_m1312628991(L_23, _stringLiteral2103170127, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_23, NULL, EncryptedData__ctor_m4001546383_RuntimeMethod_var);
}
IL_009a:
{
ASN1_t2114160833 * L_24 = V_1;
String_t* L_25 = ASN1Convert_ToOid_m3847701408(NULL /*static, unused*/, L_24, /*hidden argument*/NULL);
ContentInfo_t3218159896 * L_26 = (ContentInfo_t3218159896 *)il2cpp_codegen_object_new(ContentInfo_t3218159896_il2cpp_TypeInfo_var);
ContentInfo__ctor_m2855743200(L_26, L_25, /*hidden argument*/NULL);
__this->set__content_1(L_26);
ASN1_t2114160833 * L_27 = V_0;
ASN1_t2114160833 * L_28 = ASN1_get_Item_m2255075813(L_27, 1, /*hidden argument*/NULL);
V_2 = L_28;
ASN1_t2114160833 * L_29 = V_2;
uint8_t L_30 = ASN1_get_Tag_m2789147236(L_29, /*hidden argument*/NULL);
if ((((int32_t)L_30) == ((int32_t)((int32_t)48))))
{
goto IL_00cb;
}
}
{
ArgumentException_t132251570 * L_31 = (ArgumentException_t132251570 *)il2cpp_codegen_object_new(ArgumentException_t132251570_il2cpp_TypeInfo_var);
ArgumentException__ctor_m1312628991(L_31, _stringLiteral3133584213, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_31, NULL, EncryptedData__ctor_m4001546383_RuntimeMethod_var);
}
IL_00cb:
{
ASN1_t2114160833 * L_32 = V_2;
ASN1_t2114160833 * L_33 = ASN1_get_Item_m2255075813(L_32, 0, /*hidden argument*/NULL);
String_t* L_34 = ASN1Convert_ToOid_m3847701408(NULL /*static, unused*/, L_33, /*hidden argument*/NULL);
ContentInfo_t3218159896 * L_35 = (ContentInfo_t3218159896 *)il2cpp_codegen_object_new(ContentInfo_t3218159896_il2cpp_TypeInfo_var);
ContentInfo__ctor_m2855743200(L_35, L_34, /*hidden argument*/NULL);
__this->set__encryptionAlgorithm_2(L_35);
ContentInfo_t3218159896 * L_36 = __this->get__encryptionAlgorithm_2();
ASN1_t2114160833 * L_37 = V_2;
ASN1_t2114160833 * L_38 = ASN1_get_Item_m2255075813(L_37, 1, /*hidden argument*/NULL);
ContentInfo_set_Content_m2581255245(L_36, L_38, /*hidden argument*/NULL);
ASN1_t2114160833 * L_39 = V_0;
ASN1_t2114160833 * L_40 = ASN1_get_Item_m2255075813(L_39, 2, /*hidden argument*/NULL);
V_3 = L_40;
ASN1_t2114160833 * L_41 = V_3;
uint8_t L_42 = ASN1_get_Tag_m2789147236(L_41, /*hidden argument*/NULL);
if ((((int32_t)L_42) == ((int32_t)((int32_t)128))))
{
goto IL_0117;
}
}
{
ArgumentException_t132251570 * L_43 = (ArgumentException_t132251570 *)il2cpp_codegen_object_new(ArgumentException_t132251570_il2cpp_TypeInfo_var);
ArgumentException__ctor_m1312628991(L_43, _stringLiteral3316324514, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_43, NULL, EncryptedData__ctor_m4001546383_RuntimeMethod_var);
}
IL_0117:
{
ASN1_t2114160833 * L_44 = V_3;
ByteU5BU5D_t4116647657* L_45 = ASN1_get_Value_m63296490(L_44, /*hidden argument*/NULL);
__this->set__encrypted_3(L_45);
return;
}
}
// Mono.Security.PKCS7/ContentInfo Mono.Security.PKCS7/EncryptedData::get_EncryptionAlgorithm()
extern "C" IL2CPP_METHOD_ATTR ContentInfo_t3218159896 * EncryptedData_get_EncryptionAlgorithm_m905084934 (EncryptedData_t3577548733 * __this, const RuntimeMethod* method)
{
{
ContentInfo_t3218159896 * L_0 = __this->get__encryptionAlgorithm_2();
return L_0;
}
}
// System.Byte[] Mono.Security.PKCS7/EncryptedData::get_EncryptedContent()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* EncryptedData_get_EncryptedContent_m3205649670 (EncryptedData_t3577548733 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EncryptedData_get_EncryptedContent_m3205649670_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_t4116647657* L_0 = __this->get__encrypted_3();
if (L_0)
{
goto IL_000d;
}
}
{
return (ByteU5BU5D_t4116647657*)NULL;
}
IL_000d:
{
ByteU5BU5D_t4116647657* L_1 = __this->get__encrypted_3();
RuntimeObject * L_2 = Array_Clone_m2672907798((RuntimeArray *)(RuntimeArray *)L_1, /*hidden argument*/NULL);
return ((ByteU5BU5D_t4116647657*)Castclass((RuntimeObject*)L_2, ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var));
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.Alert::.ctor(Mono.Security.Protocol.Tls.AlertDescription)
extern "C" IL2CPP_METHOD_ATTR void Alert__ctor_m3135936936 (Alert_t4059934885 * __this, uint8_t ___description0, const RuntimeMethod* method)
{
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
Alert_inferAlertLevel_m151204576(__this, /*hidden argument*/NULL);
uint8_t L_0 = ___description0;
__this->set_description_1(L_0);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Alert::.ctor(Mono.Security.Protocol.Tls.AlertLevel,Mono.Security.Protocol.Tls.AlertDescription)
extern "C" IL2CPP_METHOD_ATTR void Alert__ctor_m2879739792 (Alert_t4059934885 * __this, uint8_t ___level0, uint8_t ___description1, const RuntimeMethod* method)
{
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
uint8_t L_0 = ___level0;
__this->set_level_0(L_0);
uint8_t L_1 = ___description1;
__this->set_description_1(L_1);
return;
}
}
// Mono.Security.Protocol.Tls.AlertLevel Mono.Security.Protocol.Tls.Alert::get_Level()
extern "C" IL2CPP_METHOD_ATTR uint8_t Alert_get_Level_m4249630350 (Alert_t4059934885 * __this, const RuntimeMethod* method)
{
{
uint8_t L_0 = __this->get_level_0();
return L_0;
}
}
// Mono.Security.Protocol.Tls.AlertDescription Mono.Security.Protocol.Tls.Alert::get_Description()
extern "C" IL2CPP_METHOD_ATTR uint8_t Alert_get_Description_m3833114036 (Alert_t4059934885 * __this, const RuntimeMethod* method)
{
{
uint8_t L_0 = __this->get_description_1();
return L_0;
}
}
// System.Boolean Mono.Security.Protocol.Tls.Alert::get_IsWarning()
extern "C" IL2CPP_METHOD_ATTR bool Alert_get_IsWarning_m1365397992 (Alert_t4059934885 * __this, const RuntimeMethod* method)
{
int32_t G_B3_0 = 0;
{
uint8_t L_0 = __this->get_level_0();
if ((!(((uint32_t)L_0) == ((uint32_t)1))))
{
goto IL_0012;
}
}
{
G_B3_0 = 1;
goto IL_0013;
}
IL_0012:
{
G_B3_0 = 0;
}
IL_0013:
{
return (bool)G_B3_0;
}
}
// System.Boolean Mono.Security.Protocol.Tls.Alert::get_IsCloseNotify()
extern "C" IL2CPP_METHOD_ATTR bool Alert_get_IsCloseNotify_m3157384796 (Alert_t4059934885 * __this, const RuntimeMethod* method)
{
{
bool L_0 = Alert_get_IsWarning_m1365397992(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0018;
}
}
{
uint8_t L_1 = __this->get_description_1();
if (L_1)
{
goto IL_0018;
}
}
{
return (bool)1;
}
IL_0018:
{
return (bool)0;
}
}
// System.Void Mono.Security.Protocol.Tls.Alert::inferAlertLevel()
extern "C" IL2CPP_METHOD_ATTR void Alert_inferAlertLevel_m151204576 (Alert_t4059934885 * __this, const RuntimeMethod* method)
{
uint8_t V_0 = 0;
{
uint8_t L_0 = __this->get_description_1();
V_0 = L_0;
uint8_t L_1 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_1, (int32_t)((int32_t)40))))
{
case 0:
{
goto IL_00c9;
}
case 1:
{
goto IL_0064;
}
case 2:
{
goto IL_00c9;
}
case 3:
{
goto IL_00c9;
}
case 4:
{
goto IL_00c9;
}
case 5:
{
goto IL_00c9;
}
case 6:
{
goto IL_00c9;
}
case 7:
{
goto IL_00c9;
}
case 8:
{
goto IL_00c9;
}
case 9:
{
goto IL_00c9;
}
case 10:
{
goto IL_00c9;
}
case 11:
{
goto IL_00c9;
}
case 12:
{
goto IL_0064;
}
case 13:
{
goto IL_0064;
}
case 14:
{
goto IL_0064;
}
case 15:
{
goto IL_0064;
}
case 16:
{
goto IL_0064;
}
case 17:
{
goto IL_0064;
}
case 18:
{
goto IL_0064;
}
case 19:
{
goto IL_0064;
}
case 20:
{
goto IL_00c9;
}
}
}
IL_0064:
{
uint8_t L_2 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)((int32_t)20))))
{
case 0:
{
goto IL_00c9;
}
case 1:
{
goto IL_00c9;
}
case 2:
{
goto IL_00c9;
}
}
}
{
uint8_t L_3 = V_0;
if ((((int32_t)L_3) == ((int32_t)((int32_t)70))))
{
goto IL_00c9;
}
}
{
uint8_t L_4 = V_0;
if ((((int32_t)L_4) == ((int32_t)((int32_t)71))))
{
goto IL_00c9;
}
}
{
uint8_t L_5 = V_0;
if ((((int32_t)L_5) == ((int32_t)0)))
{
goto IL_00bd;
}
}
{
uint8_t L_6 = V_0;
if ((((int32_t)L_6) == ((int32_t)((int32_t)10))))
{
goto IL_00c9;
}
}
{
uint8_t L_7 = V_0;
if ((((int32_t)L_7) == ((int32_t)((int32_t)30))))
{
goto IL_00c9;
}
}
{
uint8_t L_8 = V_0;
if ((((int32_t)L_8) == ((int32_t)((int32_t)80))))
{
goto IL_00c9;
}
}
{
uint8_t L_9 = V_0;
if ((((int32_t)L_9) == ((int32_t)((int32_t)90))))
{
goto IL_00bd;
}
}
{
uint8_t L_10 = V_0;
if ((((int32_t)L_10) == ((int32_t)((int32_t)100))))
{
goto IL_00bd;
}
}
{
goto IL_00c9;
}
IL_00bd:
{
__this->set_level_0(1);
goto IL_00d5;
}
IL_00c9:
{
__this->set_level_0(2);
goto IL_00d5;
}
IL_00d5:
{
return;
}
}
// System.String Mono.Security.Protocol.Tls.Alert::GetAlertMessage(Mono.Security.Protocol.Tls.AlertDescription)
extern "C" IL2CPP_METHOD_ATTR String_t* Alert_GetAlertMessage_m1942367141 (RuntimeObject * __this /* static, unused */, uint8_t ___description0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Alert_GetAlertMessage_m1942367141_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
return _stringLiteral1867853257;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.CertificateSelectionCallback::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void CertificateSelectionCallback__ctor_m3437537928 (CertificateSelectionCallback_t3743405224 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
__this->set_method_ptr_0(il2cpp_codegen_get_method_pointer((RuntimeMethod*)___method1));
__this->set_method_3(___method1);
__this->set_m_target_2(___object0);
}
// System.Security.Cryptography.X509Certificates.X509Certificate Mono.Security.Protocol.Tls.CertificateSelectionCallback::Invoke(System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Cryptography.X509Certificates.X509Certificate,System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection)
extern "C" IL2CPP_METHOD_ATTR X509Certificate_t713131622 * CertificateSelectionCallback_Invoke_m3129973019 (CertificateSelectionCallback_t3743405224 * __this, X509CertificateCollection_t3399372417 * ___clientCertificates0, X509Certificate_t713131622 * ___serverCertificate1, String_t* ___targetHost2, X509CertificateCollection_t3399372417 * ___serverRequestedCertificates3, const RuntimeMethod* method)
{
X509Certificate_t713131622 * result = NULL;
if(__this->get_prev_9() != NULL)
{
CertificateSelectionCallback_Invoke_m3129973019((CertificateSelectionCallback_t3743405224 *)__this->get_prev_9(), ___clientCertificates0, ___serverCertificate1, ___targetHost2, ___serverRequestedCertificates3, method);
}
Il2CppMethodPointer targetMethodPointer = __this->get_method_ptr_0();
RuntimeMethod* targetMethod = (RuntimeMethod*)(__this->get_method_3());
RuntimeObject* targetThis = __this->get_m_target_2();
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
bool ___methodIsStatic = MethodIsStatic(targetMethod);
if (___methodIsStatic)
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 4)
{
// open
{
typedef X509Certificate_t713131622 * (*FunctionPointerType) (RuntimeObject *, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, String_t*, X509CertificateCollection_t3399372417 *, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(NULL, ___clientCertificates0, ___serverCertificate1, ___targetHost2, ___serverRequestedCertificates3, targetMethod);
}
}
else
{
// closed
{
typedef X509Certificate_t713131622 * (*FunctionPointerType) (RuntimeObject *, void*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, String_t*, X509CertificateCollection_t3399372417 *, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(NULL, targetThis, ___clientCertificates0, ___serverCertificate1, ___targetHost2, ___serverRequestedCertificates3, targetMethod);
}
}
}
else
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 4)
{
// closed
if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
{
if (il2cpp_codegen_method_is_generic_instance(targetMethod))
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = GenericInterfaceFuncInvoker4< X509Certificate_t713131622 *, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, String_t*, X509CertificateCollection_t3399372417 * >::Invoke(targetMethod, targetThis, ___clientCertificates0, ___serverCertificate1, ___targetHost2, ___serverRequestedCertificates3);
else
result = GenericVirtFuncInvoker4< X509Certificate_t713131622 *, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, String_t*, X509CertificateCollection_t3399372417 * >::Invoke(targetMethod, targetThis, ___clientCertificates0, ___serverCertificate1, ___targetHost2, ___serverRequestedCertificates3);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = InterfaceFuncInvoker4< X509Certificate_t713131622 *, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, String_t*, X509CertificateCollection_t3399372417 * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___clientCertificates0, ___serverCertificate1, ___targetHost2, ___serverRequestedCertificates3);
else
result = VirtFuncInvoker4< X509Certificate_t713131622 *, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, String_t*, X509CertificateCollection_t3399372417 * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___clientCertificates0, ___serverCertificate1, ___targetHost2, ___serverRequestedCertificates3);
}
}
else
{
typedef X509Certificate_t713131622 * (*FunctionPointerType) (void*, X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, String_t*, X509CertificateCollection_t3399372417 *, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(targetThis, ___clientCertificates0, ___serverCertificate1, ___targetHost2, ___serverRequestedCertificates3, targetMethod);
}
}
else
{
// open
if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
{
if (il2cpp_codegen_method_is_generic_instance(targetMethod))
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = GenericInterfaceFuncInvoker3< X509Certificate_t713131622 *, X509Certificate_t713131622 *, String_t*, X509CertificateCollection_t3399372417 * >::Invoke(targetMethod, ___clientCertificates0, ___serverCertificate1, ___targetHost2, ___serverRequestedCertificates3);
else
result = GenericVirtFuncInvoker3< X509Certificate_t713131622 *, X509Certificate_t713131622 *, String_t*, X509CertificateCollection_t3399372417 * >::Invoke(targetMethod, ___clientCertificates0, ___serverCertificate1, ___targetHost2, ___serverRequestedCertificates3);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = InterfaceFuncInvoker3< X509Certificate_t713131622 *, X509Certificate_t713131622 *, String_t*, X509CertificateCollection_t3399372417 * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), ___clientCertificates0, ___serverCertificate1, ___targetHost2, ___serverRequestedCertificates3);
else
result = VirtFuncInvoker3< X509Certificate_t713131622 *, X509Certificate_t713131622 *, String_t*, X509CertificateCollection_t3399372417 * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), ___clientCertificates0, ___serverCertificate1, ___targetHost2, ___serverRequestedCertificates3);
}
}
else
{
typedef X509Certificate_t713131622 * (*FunctionPointerType) (X509CertificateCollection_t3399372417 *, X509Certificate_t713131622 *, String_t*, X509CertificateCollection_t3399372417 *, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(___clientCertificates0, ___serverCertificate1, ___targetHost2, ___serverRequestedCertificates3, targetMethod);
}
}
}
return result;
}
// System.IAsyncResult Mono.Security.Protocol.Tls.CertificateSelectionCallback::BeginInvoke(System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Cryptography.X509Certificates.X509Certificate,System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* CertificateSelectionCallback_BeginInvoke_m598704794 (CertificateSelectionCallback_t3743405224 * __this, X509CertificateCollection_t3399372417 * ___clientCertificates0, X509Certificate_t713131622 * ___serverCertificate1, String_t* ___targetHost2, X509CertificateCollection_t3399372417 * ___serverRequestedCertificates3, AsyncCallback_t3962456242 * ___callback4, RuntimeObject * ___object5, const RuntimeMethod* method)
{
void *__d_args[5] = {0};
__d_args[0] = ___clientCertificates0;
__d_args[1] = ___serverCertificate1;
__d_args[2] = ___targetHost2;
__d_args[3] = ___serverRequestedCertificates3;
return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback4, (RuntimeObject*)___object5);
}
// System.Security.Cryptography.X509Certificates.X509Certificate Mono.Security.Protocol.Tls.CertificateSelectionCallback::EndInvoke(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR X509Certificate_t713131622 * CertificateSelectionCallback_EndInvoke_m916047629 (CertificateSelectionCallback_t3743405224 * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
{
RuntimeObject *__result = il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
return (X509Certificate_t713131622 *)__result;
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.CertificateValidationCallback::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void CertificateValidationCallback__ctor_m1962610296 (CertificateValidationCallback_t4091668218 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
__this->set_method_ptr_0(il2cpp_codegen_get_method_pointer((RuntimeMethod*)___method1));
__this->set_method_3(___method1);
__this->set_m_target_2(___object0);
}
// System.Boolean Mono.Security.Protocol.Tls.CertificateValidationCallback::Invoke(System.Security.Cryptography.X509Certificates.X509Certificate,System.Int32[])
extern "C" IL2CPP_METHOD_ATTR bool CertificateValidationCallback_Invoke_m1014111289 (CertificateValidationCallback_t4091668218 * __this, X509Certificate_t713131622 * ___certificate0, Int32U5BU5D_t385246372* ___certificateErrors1, const RuntimeMethod* method)
{
bool result = false;
if(__this->get_prev_9() != NULL)
{
CertificateValidationCallback_Invoke_m1014111289((CertificateValidationCallback_t4091668218 *)__this->get_prev_9(), ___certificate0, ___certificateErrors1, method);
}
Il2CppMethodPointer targetMethodPointer = __this->get_method_ptr_0();
RuntimeMethod* targetMethod = (RuntimeMethod*)(__this->get_method_3());
RuntimeObject* targetThis = __this->get_m_target_2();
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
bool ___methodIsStatic = MethodIsStatic(targetMethod);
if (___methodIsStatic)
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 2)
{
// open
{
typedef bool (*FunctionPointerType) (RuntimeObject *, X509Certificate_t713131622 *, Int32U5BU5D_t385246372*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(NULL, ___certificate0, ___certificateErrors1, targetMethod);
}
}
else
{
// closed
{
typedef bool (*FunctionPointerType) (RuntimeObject *, void*, X509Certificate_t713131622 *, Int32U5BU5D_t385246372*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(NULL, targetThis, ___certificate0, ___certificateErrors1, targetMethod);
}
}
}
else
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 2)
{
// closed
if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
{
if (il2cpp_codegen_method_is_generic_instance(targetMethod))
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = GenericInterfaceFuncInvoker2< bool, X509Certificate_t713131622 *, Int32U5BU5D_t385246372* >::Invoke(targetMethod, targetThis, ___certificate0, ___certificateErrors1);
else
result = GenericVirtFuncInvoker2< bool, X509Certificate_t713131622 *, Int32U5BU5D_t385246372* >::Invoke(targetMethod, targetThis, ___certificate0, ___certificateErrors1);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = InterfaceFuncInvoker2< bool, X509Certificate_t713131622 *, Int32U5BU5D_t385246372* >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___certificate0, ___certificateErrors1);
else
result = VirtFuncInvoker2< bool, X509Certificate_t713131622 *, Int32U5BU5D_t385246372* >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___certificate0, ___certificateErrors1);
}
}
else
{
typedef bool (*FunctionPointerType) (void*, X509Certificate_t713131622 *, Int32U5BU5D_t385246372*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(targetThis, ___certificate0, ___certificateErrors1, targetMethod);
}
}
else
{
// open
if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
{
if (il2cpp_codegen_method_is_generic_instance(targetMethod))
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = GenericInterfaceFuncInvoker1< bool, Int32U5BU5D_t385246372* >::Invoke(targetMethod, ___certificate0, ___certificateErrors1);
else
result = GenericVirtFuncInvoker1< bool, Int32U5BU5D_t385246372* >::Invoke(targetMethod, ___certificate0, ___certificateErrors1);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = InterfaceFuncInvoker1< bool, Int32U5BU5D_t385246372* >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), ___certificate0, ___certificateErrors1);
else
result = VirtFuncInvoker1< bool, Int32U5BU5D_t385246372* >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), ___certificate0, ___certificateErrors1);
}
}
else
{
typedef bool (*FunctionPointerType) (X509Certificate_t713131622 *, Int32U5BU5D_t385246372*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(___certificate0, ___certificateErrors1, targetMethod);
}
}
}
return result;
}
// System.IAsyncResult Mono.Security.Protocol.Tls.CertificateValidationCallback::BeginInvoke(System.Security.Cryptography.X509Certificates.X509Certificate,System.Int32[],System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* CertificateValidationCallback_BeginInvoke_m3301716879 (CertificateValidationCallback_t4091668218 * __this, X509Certificate_t713131622 * ___certificate0, Int32U5BU5D_t385246372* ___certificateErrors1, AsyncCallback_t3962456242 * ___callback2, RuntimeObject * ___object3, const RuntimeMethod* method)
{
void *__d_args[3] = {0};
__d_args[0] = ___certificate0;
__d_args[1] = ___certificateErrors1;
return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback2, (RuntimeObject*)___object3);
}
// System.Boolean Mono.Security.Protocol.Tls.CertificateValidationCallback::EndInvoke(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR bool CertificateValidationCallback_EndInvoke_m4224203910 (CertificateValidationCallback_t4091668218 * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
{
RuntimeObject *__result = il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
return *(bool*)UnBox ((RuntimeObject*)__result);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.CertificateValidationCallback2::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void CertificateValidationCallback2__ctor_m1685875113 (CertificateValidationCallback2_t1842476440 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
__this->set_method_ptr_0(il2cpp_codegen_get_method_pointer((RuntimeMethod*)___method1));
__this->set_method_3(___method1);
__this->set_m_target_2(___object0);
}
// Mono.Security.Protocol.Tls.ValidationResult Mono.Security.Protocol.Tls.CertificateValidationCallback2::Invoke(Mono.Security.X509.X509CertificateCollection)
extern "C" IL2CPP_METHOD_ATTR ValidationResult_t3834298736 * CertificateValidationCallback2_Invoke_m3381554834 (CertificateValidationCallback2_t1842476440 * __this, X509CertificateCollection_t1542168550 * ___collection0, const RuntimeMethod* method)
{
ValidationResult_t3834298736 * result = NULL;
if(__this->get_prev_9() != NULL)
{
CertificateValidationCallback2_Invoke_m3381554834((CertificateValidationCallback2_t1842476440 *)__this->get_prev_9(), ___collection0, method);
}
Il2CppMethodPointer targetMethodPointer = __this->get_method_ptr_0();
RuntimeMethod* targetMethod = (RuntimeMethod*)(__this->get_method_3());
RuntimeObject* targetThis = __this->get_m_target_2();
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
bool ___methodIsStatic = MethodIsStatic(targetMethod);
if (___methodIsStatic)
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 1)
{
// open
{
typedef ValidationResult_t3834298736 * (*FunctionPointerType) (RuntimeObject *, X509CertificateCollection_t1542168550 *, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(NULL, ___collection0, targetMethod);
}
}
else
{
// closed
{
typedef ValidationResult_t3834298736 * (*FunctionPointerType) (RuntimeObject *, void*, X509CertificateCollection_t1542168550 *, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(NULL, targetThis, ___collection0, targetMethod);
}
}
}
else
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 1)
{
// closed
if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
{
if (il2cpp_codegen_method_is_generic_instance(targetMethod))
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = GenericInterfaceFuncInvoker1< ValidationResult_t3834298736 *, X509CertificateCollection_t1542168550 * >::Invoke(targetMethod, targetThis, ___collection0);
else
result = GenericVirtFuncInvoker1< ValidationResult_t3834298736 *, X509CertificateCollection_t1542168550 * >::Invoke(targetMethod, targetThis, ___collection0);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = InterfaceFuncInvoker1< ValidationResult_t3834298736 *, X509CertificateCollection_t1542168550 * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___collection0);
else
result = VirtFuncInvoker1< ValidationResult_t3834298736 *, X509CertificateCollection_t1542168550 * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___collection0);
}
}
else
{
typedef ValidationResult_t3834298736 * (*FunctionPointerType) (void*, X509CertificateCollection_t1542168550 *, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(targetThis, ___collection0, targetMethod);
}
}
else
{
// open
if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
{
if (il2cpp_codegen_method_is_generic_instance(targetMethod))
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = GenericInterfaceFuncInvoker0< ValidationResult_t3834298736 * >::Invoke(targetMethod, ___collection0);
else
result = GenericVirtFuncInvoker0< ValidationResult_t3834298736 * >::Invoke(targetMethod, ___collection0);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = InterfaceFuncInvoker0< ValidationResult_t3834298736 * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), ___collection0);
else
result = VirtFuncInvoker0< ValidationResult_t3834298736 * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), ___collection0);
}
}
else
{
typedef ValidationResult_t3834298736 * (*FunctionPointerType) (X509CertificateCollection_t1542168550 *, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(___collection0, targetMethod);
}
}
}
return result;
}
// System.IAsyncResult Mono.Security.Protocol.Tls.CertificateValidationCallback2::BeginInvoke(Mono.Security.X509.X509CertificateCollection,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* CertificateValidationCallback2_BeginInvoke_m3360174801 (CertificateValidationCallback2_t1842476440 * __this, X509CertificateCollection_t1542168550 * ___collection0, AsyncCallback_t3962456242 * ___callback1, RuntimeObject * ___object2, const RuntimeMethod* method)
{
void *__d_args[2] = {0};
__d_args[0] = ___collection0;
return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback1, (RuntimeObject*)___object2);
}
// Mono.Security.Protocol.Tls.ValidationResult Mono.Security.Protocol.Tls.CertificateValidationCallback2::EndInvoke(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR ValidationResult_t3834298736 * CertificateValidationCallback2_EndInvoke_m2456956161 (CertificateValidationCallback2_t1842476440 * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
{
RuntimeObject *__result = il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
return (ValidationResult_t3834298736 *)__result;
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.CipherSuite::.ctor(System.Int16,System.String,Mono.Security.Protocol.Tls.CipherAlgorithmType,Mono.Security.Protocol.Tls.HashAlgorithmType,Mono.Security.Protocol.Tls.ExchangeAlgorithmType,System.Boolean,System.Boolean,System.Byte,System.Byte,System.Int16,System.Byte,System.Byte)
extern "C" IL2CPP_METHOD_ATTR void CipherSuite__ctor_m2440635082 (CipherSuite_t3414744575 * __this, int16_t ___code0, String_t* ___name1, int32_t ___cipherAlgorithmType2, int32_t ___hashAlgorithmType3, int32_t ___exchangeAlgorithmType4, bool ___exportable5, bool ___blockMode6, uint8_t ___keyMaterialSize7, uint8_t ___expandedKeyMaterialSize8, int16_t ___effectiveKeyBits9, uint8_t ___ivSize10, uint8_t ___blockSize11, const RuntimeMethod* method)
{
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
int16_t L_0 = ___code0;
__this->set_code_1(L_0);
String_t* L_1 = ___name1;
__this->set_name_2(L_1);
int32_t L_2 = ___cipherAlgorithmType2;
__this->set_cipherAlgorithmType_3(L_2);
int32_t L_3 = ___hashAlgorithmType3;
__this->set_hashAlgorithmType_4(L_3);
int32_t L_4 = ___exchangeAlgorithmType4;
__this->set_exchangeAlgorithmType_5(L_4);
bool L_5 = ___exportable5;
__this->set_isExportable_6(L_5);
bool L_6 = ___blockMode6;
if (!L_6)
{
goto IL_0041;
}
}
{
__this->set_cipherMode_7(1);
}
IL_0041:
{
uint8_t L_7 = ___keyMaterialSize7;
__this->set_keyMaterialSize_8(L_7);
uint8_t L_8 = ___expandedKeyMaterialSize8;
__this->set_expandedKeyMaterialSize_10(L_8);
int16_t L_9 = ___effectiveKeyBits9;
__this->set_effectiveKeyBits_11(L_9);
uint8_t L_10 = ___ivSize10;
__this->set_ivSize_12(L_10);
uint8_t L_11 = ___blockSize11;
__this->set_blockSize_13(L_11);
uint8_t L_12 = __this->get_keyMaterialSize_8();
int32_t L_13 = CipherSuite_get_HashSize_m4060916532(__this, /*hidden argument*/NULL);
uint8_t L_14 = __this->get_ivSize_12();
__this->set_keyBlockSize_9(((int32_t)((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)L_13)), (int32_t)L_14))<<(int32_t)1)));
return;
}
}
// System.Void Mono.Security.Protocol.Tls.CipherSuite::.cctor()
extern "C" IL2CPP_METHOD_ATTR void CipherSuite__cctor_m3668442490 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CipherSuite__cctor_m3668442490_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_t4116647657* L_0 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)0);
((CipherSuite_t3414744575_StaticFields*)il2cpp_codegen_static_fields_for(CipherSuite_t3414744575_il2cpp_TypeInfo_var))->set_EmptyArray_0(L_0);
return;
}
}
// System.Security.Cryptography.ICryptoTransform Mono.Security.Protocol.Tls.CipherSuite::get_EncryptionCipher()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* CipherSuite_get_EncryptionCipher_m3029637613 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method)
{
{
RuntimeObject* L_0 = __this->get_encryptionCipher_16();
return L_0;
}
}
// System.Security.Cryptography.ICryptoTransform Mono.Security.Protocol.Tls.CipherSuite::get_DecryptionCipher()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* CipherSuite_get_DecryptionCipher_m2839827488 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method)
{
{
RuntimeObject* L_0 = __this->get_decryptionCipher_18();
return L_0;
}
}
// System.Security.Cryptography.KeyedHashAlgorithm Mono.Security.Protocol.Tls.CipherSuite::get_ClientHMAC()
extern "C" IL2CPP_METHOD_ATTR KeyedHashAlgorithm_t112861511 * CipherSuite_get_ClientHMAC_m377589750 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method)
{
{
KeyedHashAlgorithm_t112861511 * L_0 = __this->get_clientHMAC_19();
return L_0;
}
}
// System.Security.Cryptography.KeyedHashAlgorithm Mono.Security.Protocol.Tls.CipherSuite::get_ServerHMAC()
extern "C" IL2CPP_METHOD_ATTR KeyedHashAlgorithm_t112861511 * CipherSuite_get_ServerHMAC_m714506854 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method)
{
{
KeyedHashAlgorithm_t112861511 * L_0 = __this->get_serverHMAC_20();
return L_0;
}
}
// Mono.Security.Protocol.Tls.CipherAlgorithmType Mono.Security.Protocol.Tls.CipherSuite::get_CipherAlgorithmType()
extern "C" IL2CPP_METHOD_ATTR int32_t CipherSuite_get_CipherAlgorithmType_m137858741 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_cipherAlgorithmType_3();
return L_0;
}
}
// System.String Mono.Security.Protocol.Tls.CipherSuite::get_HashAlgorithmName()
extern "C" IL2CPP_METHOD_ATTR String_t* CipherSuite_get_HashAlgorithmName_m3758129154 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CipherSuite_get_HashAlgorithmName_m3758129154_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
int32_t L_0 = __this->get_hashAlgorithmType_4();
V_0 = L_0;
int32_t L_1 = V_0;
switch (L_1)
{
case 0:
{
goto IL_001e;
}
case 1:
{
goto IL_002a;
}
case 2:
{
goto IL_0024;
}
}
}
{
goto IL_002a;
}
IL_001e:
{
return _stringLiteral3839139460;
}
IL_0024:
{
return _stringLiteral1144609714;
}
IL_002a:
{
return _stringLiteral2791739702;
}
}
// Mono.Security.Protocol.Tls.HashAlgorithmType Mono.Security.Protocol.Tls.CipherSuite::get_HashAlgorithmType()
extern "C" IL2CPP_METHOD_ATTR int32_t CipherSuite_get_HashAlgorithmType_m1029363505 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_hashAlgorithmType_4();
return L_0;
}
}
// System.Int32 Mono.Security.Protocol.Tls.CipherSuite::get_HashSize()
extern "C" IL2CPP_METHOD_ATTR int32_t CipherSuite_get_HashSize_m4060916532 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->get_hashAlgorithmType_4();
V_0 = L_0;
int32_t L_1 = V_0;
switch (L_1)
{
case 0:
{
goto IL_001e;
}
case 1:
{
goto IL_0024;
}
case 2:
{
goto IL_0021;
}
}
}
{
goto IL_0024;
}
IL_001e:
{
return ((int32_t)16);
}
IL_0021:
{
return ((int32_t)20);
}
IL_0024:
{
return 0;
}
}
// Mono.Security.Protocol.Tls.ExchangeAlgorithmType Mono.Security.Protocol.Tls.CipherSuite::get_ExchangeAlgorithmType()
extern "C" IL2CPP_METHOD_ATTR int32_t CipherSuite_get_ExchangeAlgorithmType_m1633709183 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_exchangeAlgorithmType_5();
return L_0;
}
}
// System.Security.Cryptography.CipherMode Mono.Security.Protocol.Tls.CipherSuite::get_CipherMode()
extern "C" IL2CPP_METHOD_ATTR int32_t CipherSuite_get_CipherMode_m425550365 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_cipherMode_7();
return L_0;
}
}
// System.Int16 Mono.Security.Protocol.Tls.CipherSuite::get_Code()
extern "C" IL2CPP_METHOD_ATTR int16_t CipherSuite_get_Code_m3847824475 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method)
{
{
int16_t L_0 = __this->get_code_1();
return L_0;
}
}
// System.String Mono.Security.Protocol.Tls.CipherSuite::get_Name()
extern "C" IL2CPP_METHOD_ATTR String_t* CipherSuite_get_Name_m1137568068 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method)
{
{
String_t* L_0 = __this->get_name_2();
return L_0;
}
}
// System.Boolean Mono.Security.Protocol.Tls.CipherSuite::get_IsExportable()
extern "C" IL2CPP_METHOD_ATTR bool CipherSuite_get_IsExportable_m677202963 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method)
{
{
bool L_0 = __this->get_isExportable_6();
return L_0;
}
}
// System.Byte Mono.Security.Protocol.Tls.CipherSuite::get_KeyMaterialSize()
extern "C" IL2CPP_METHOD_ATTR uint8_t CipherSuite_get_KeyMaterialSize_m3569550689 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method)
{
{
uint8_t L_0 = __this->get_keyMaterialSize_8();
return L_0;
}
}
// System.Int32 Mono.Security.Protocol.Tls.CipherSuite::get_KeyBlockSize()
extern "C" IL2CPP_METHOD_ATTR int32_t CipherSuite_get_KeyBlockSize_m519075451 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_keyBlockSize_9();
return L_0;
}
}
// System.Byte Mono.Security.Protocol.Tls.CipherSuite::get_ExpandedKeyMaterialSize()
extern "C" IL2CPP_METHOD_ATTR uint8_t CipherSuite_get_ExpandedKeyMaterialSize_m197590106 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method)
{
{
uint8_t L_0 = __this->get_expandedKeyMaterialSize_10();
return L_0;
}
}
// System.Int16 Mono.Security.Protocol.Tls.CipherSuite::get_EffectiveKeyBits()
extern "C" IL2CPP_METHOD_ATTR int16_t CipherSuite_get_EffectiveKeyBits_m2380229009 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method)
{
{
int16_t L_0 = __this->get_effectiveKeyBits_11();
return L_0;
}
}
// System.Byte Mono.Security.Protocol.Tls.CipherSuite::get_IvSize()
extern "C" IL2CPP_METHOD_ATTR uint8_t CipherSuite_get_IvSize_m630778063 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method)
{
{
uint8_t L_0 = __this->get_ivSize_12();
return L_0;
}
}
// Mono.Security.Protocol.Tls.Context Mono.Security.Protocol.Tls.CipherSuite::get_Context()
extern "C" IL2CPP_METHOD_ATTR Context_t3971234707 * CipherSuite_get_Context_m1621551997 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method)
{
{
Context_t3971234707 * L_0 = __this->get_context_14();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.CipherSuite::set_Context(Mono.Security.Protocol.Tls.Context)
extern "C" IL2CPP_METHOD_ATTR void CipherSuite_set_Context_m1978767807 (CipherSuite_t3414744575 * __this, Context_t3971234707 * ___value0, const RuntimeMethod* method)
{
{
Context_t3971234707 * L_0 = ___value0;
__this->set_context_14(L_0);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.CipherSuite::Write(System.Byte[],System.Int32,System.Int16)
extern "C" IL2CPP_METHOD_ATTR void CipherSuite_Write_m1172814058 (CipherSuite_t3414744575 * __this, ByteU5BU5D_t4116647657* ___array0, int32_t ___offset1, int16_t ___value2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CipherSuite_Write_m1172814058_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = ___offset1;
ByteU5BU5D_t4116647657* L_1 = ___array0;
if ((((int32_t)L_0) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_1)->max_length)))), (int32_t)2)))))
{
goto IL_0016;
}
}
{
ArgumentException_t132251570 * L_2 = (ArgumentException_t132251570 *)il2cpp_codegen_object_new(ArgumentException_t132251570_il2cpp_TypeInfo_var);
ArgumentException__ctor_m1312628991(L_2, _stringLiteral1082126080, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, CipherSuite_Write_m1172814058_RuntimeMethod_var);
}
IL_0016:
{
ByteU5BU5D_t4116647657* L_3 = ___array0;
int32_t L_4 = ___offset1;
int16_t L_5 = ___value2;
(L_3)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_4), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_5>>(int32_t)8))))));
ByteU5BU5D_t4116647657* L_6 = ___array0;
int32_t L_7 = ___offset1;
int16_t L_8 = ___value2;
(L_6)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)1))), (uint8_t)(((int32_t)((uint8_t)L_8))));
return;
}
}
// System.Void Mono.Security.Protocol.Tls.CipherSuite::Write(System.Byte[],System.Int32,System.UInt64)
extern "C" IL2CPP_METHOD_ATTR void CipherSuite_Write_m1841735015 (CipherSuite_t3414744575 * __this, ByteU5BU5D_t4116647657* ___array0, int32_t ___offset1, uint64_t ___value2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CipherSuite_Write_m1841735015_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = ___offset1;
ByteU5BU5D_t4116647657* L_1 = ___array0;
if ((((int32_t)L_0) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_1)->max_length)))), (int32_t)8)))))
{
goto IL_0016;
}
}
{
ArgumentException_t132251570 * L_2 = (ArgumentException_t132251570 *)il2cpp_codegen_object_new(ArgumentException_t132251570_il2cpp_TypeInfo_var);
ArgumentException__ctor_m1312628991(L_2, _stringLiteral1082126080, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, CipherSuite_Write_m1841735015_RuntimeMethod_var);
}
IL_0016:
{
ByteU5BU5D_t4116647657* L_3 = ___array0;
int32_t L_4 = ___offset1;
uint64_t L_5 = ___value2;
(L_3)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_4), (uint8_t)(((int32_t)((uint8_t)((int64_t)((uint64_t)L_5>>((int32_t)56)))))));
ByteU5BU5D_t4116647657* L_6 = ___array0;
int32_t L_7 = ___offset1;
uint64_t L_8 = ___value2;
(L_6)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)1))), (uint8_t)(((int32_t)((uint8_t)((int64_t)((uint64_t)L_8>>((int32_t)48)))))));
ByteU5BU5D_t4116647657* L_9 = ___array0;
int32_t L_10 = ___offset1;
uint64_t L_11 = ___value2;
(L_9)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)2))), (uint8_t)(((int32_t)((uint8_t)((int64_t)((uint64_t)L_11>>((int32_t)40)))))));
ByteU5BU5D_t4116647657* L_12 = ___array0;
int32_t L_13 = ___offset1;
uint64_t L_14 = ___value2;
(L_12)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)3))), (uint8_t)(((int32_t)((uint8_t)((int64_t)((uint64_t)L_14>>((int32_t)32)))))));
ByteU5BU5D_t4116647657* L_15 = ___array0;
int32_t L_16 = ___offset1;
uint64_t L_17 = ___value2;
(L_15)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)4))), (uint8_t)(((int32_t)((uint8_t)((int64_t)((uint64_t)L_17>>((int32_t)24)))))));
ByteU5BU5D_t4116647657* L_18 = ___array0;
int32_t L_19 = ___offset1;
uint64_t L_20 = ___value2;
(L_18)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_19, (int32_t)5))), (uint8_t)(((int32_t)((uint8_t)((int64_t)((uint64_t)L_20>>((int32_t)16)))))));
ByteU5BU5D_t4116647657* L_21 = ___array0;
int32_t L_22 = ___offset1;
uint64_t L_23 = ___value2;
(L_21)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_22, (int32_t)6))), (uint8_t)(((int32_t)((uint8_t)((int64_t)((uint64_t)L_23>>8))))));
ByteU5BU5D_t4116647657* L_24 = ___array0;
int32_t L_25 = ___offset1;
uint64_t L_26 = ___value2;
(L_24)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)7))), (uint8_t)(((int32_t)((uint8_t)L_26))));
return;
}
}
// System.Void Mono.Security.Protocol.Tls.CipherSuite::InitializeCipher()
extern "C" IL2CPP_METHOD_ATTR void CipherSuite_InitializeCipher_m2397698608 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method)
{
{
CipherSuite_createEncryptionCipher_m2533565116(__this, /*hidden argument*/NULL);
CipherSuite_createDecryptionCipher_m1176259509(__this, /*hidden argument*/NULL);
return;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.CipherSuite::EncryptRecord(System.Byte[],System.Byte[])
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* CipherSuite_EncryptRecord_m4196378593 (CipherSuite_t3414744575 * __this, ByteU5BU5D_t4116647657* ___fragment0, ByteU5BU5D_t4116647657* ___mac1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CipherSuite_EncryptRecord_m4196378593_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
ByteU5BU5D_t4116647657* V_2 = NULL;
int32_t V_3 = 0;
int32_t V_4 = 0;
{
ByteU5BU5D_t4116647657* L_0 = ___fragment0;
ByteU5BU5D_t4116647657* L_1 = ___mac1;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length)))), (int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_1)->max_length))))));
V_1 = 0;
int32_t L_2 = CipherSuite_get_CipherMode_m425550365(__this, /*hidden argument*/NULL);
if ((!(((uint32_t)L_2) == ((uint32_t)1))))
{
goto IL_003c;
}
}
{
int32_t L_3 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1));
uint8_t L_4 = __this->get_blockSize_13();
int32_t L_5 = V_0;
uint8_t L_6 = __this->get_blockSize_13();
V_1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)((int32_t)((int32_t)L_5%(int32_t)L_6))));
int32_t L_7 = V_1;
uint8_t L_8 = __this->get_blockSize_13();
if ((!(((uint32_t)L_7) == ((uint32_t)L_8))))
{
goto IL_0038;
}
}
{
V_1 = 0;
}
IL_0038:
{
int32_t L_9 = V_0;
int32_t L_10 = V_1;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)L_10));
}
IL_003c:
{
int32_t L_11 = V_0;
ByteU5BU5D_t4116647657* L_12 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_11);
V_2 = L_12;
ByteU5BU5D_t4116647657* L_13 = ___fragment0;
ByteU5BU5D_t4116647657* L_14 = V_2;
ByteU5BU5D_t4116647657* L_15 = ___fragment0;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_13, 0, (RuntimeArray *)(RuntimeArray *)L_14, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_15)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_16 = ___mac1;
ByteU5BU5D_t4116647657* L_17 = V_2;
ByteU5BU5D_t4116647657* L_18 = ___fragment0;
ByteU5BU5D_t4116647657* L_19 = ___mac1;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_16, 0, (RuntimeArray *)(RuntimeArray *)L_17, (((int32_t)((int32_t)(((RuntimeArray *)L_18)->max_length)))), (((int32_t)((int32_t)(((RuntimeArray *)L_19)->max_length)))), /*hidden argument*/NULL);
int32_t L_20 = V_1;
if ((((int32_t)L_20) <= ((int32_t)0)))
{
goto IL_008c;
}
}
{
ByteU5BU5D_t4116647657* L_21 = ___fragment0;
ByteU5BU5D_t4116647657* L_22 = ___mac1;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_21)->max_length)))), (int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_22)->max_length))))));
int32_t L_23 = V_3;
V_4 = L_23;
goto IL_0080;
}
IL_0074:
{
ByteU5BU5D_t4116647657* L_24 = V_2;
int32_t L_25 = V_4;
int32_t L_26 = V_1;
(L_24)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_25), (uint8_t)(((int32_t)((uint8_t)L_26))));
int32_t L_27 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add((int32_t)L_27, (int32_t)1));
}
IL_0080:
{
int32_t L_28 = V_4;
int32_t L_29 = V_3;
int32_t L_30 = V_1;
if ((((int32_t)L_28) < ((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)L_30)), (int32_t)1)))))
{
goto IL_0074;
}
}
IL_008c:
{
RuntimeObject* L_31 = CipherSuite_get_EncryptionCipher_m3029637613(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_32 = V_2;
ByteU5BU5D_t4116647657* L_33 = V_2;
ByteU5BU5D_t4116647657* L_34 = V_2;
InterfaceFuncInvoker5< int32_t, ByteU5BU5D_t4116647657*, int32_t, int32_t, ByteU5BU5D_t4116647657*, int32_t >::Invoke(1 /* System.Int32 System.Security.Cryptography.ICryptoTransform::TransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32) */, ICryptoTransform_t2733259762_il2cpp_TypeInfo_var, L_31, L_32, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_33)->max_length)))), L_34, 0);
ByteU5BU5D_t4116647657* L_35 = V_2;
return L_35;
}
}
// System.Void Mono.Security.Protocol.Tls.CipherSuite::DecryptRecord(System.Byte[],System.Byte[]&,System.Byte[]&)
extern "C" IL2CPP_METHOD_ATTR void CipherSuite_DecryptRecord_m1495386860 (CipherSuite_t3414744575 * __this, ByteU5BU5D_t4116647657* ___fragment0, ByteU5BU5D_t4116647657** ___dcrFragment1, ByteU5BU5D_t4116647657** ___dcrMAC2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CipherSuite_DecryptRecord_m1495386860_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
V_0 = 0;
V_1 = 0;
RuntimeObject* L_0 = CipherSuite_get_DecryptionCipher_m2839827488(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_1 = ___fragment0;
ByteU5BU5D_t4116647657* L_2 = ___fragment0;
ByteU5BU5D_t4116647657* L_3 = ___fragment0;
InterfaceFuncInvoker5< int32_t, ByteU5BU5D_t4116647657*, int32_t, int32_t, ByteU5BU5D_t4116647657*, int32_t >::Invoke(1 /* System.Int32 System.Security.Cryptography.ICryptoTransform::TransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32) */, ICryptoTransform_t2733259762_il2cpp_TypeInfo_var, L_0, L_1, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_2)->max_length)))), L_3, 0);
int32_t L_4 = CipherSuite_get_CipherMode_m425550365(__this, /*hidden argument*/NULL);
if ((!(((uint32_t)L_4) == ((uint32_t)1))))
{
goto IL_003f;
}
}
{
ByteU5BU5D_t4116647657* L_5 = ___fragment0;
ByteU5BU5D_t4116647657* L_6 = ___fragment0;
int32_t L_7 = ((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_6)->max_length)))), (int32_t)1));
uint8_t L_8 = (L_5)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7));
V_1 = L_8;
ByteU5BU5D_t4116647657* L_9 = ___fragment0;
int32_t L_10 = V_1;
int32_t L_11 = CipherSuite_get_HashSize_m4060916532(__this, /*hidden argument*/NULL);
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_9)->max_length)))), (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1)))), (int32_t)L_11));
goto IL_004a;
}
IL_003f:
{
ByteU5BU5D_t4116647657* L_12 = ___fragment0;
int32_t L_13 = CipherSuite_get_HashSize_m4060916532(__this, /*hidden argument*/NULL);
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_12)->max_length)))), (int32_t)L_13));
}
IL_004a:
{
ByteU5BU5D_t4116647657** L_14 = ___dcrFragment1;
int32_t L_15 = V_0;
ByteU5BU5D_t4116647657* L_16 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_15);
*((RuntimeObject **)(L_14)) = (RuntimeObject *)L_16;
Il2CppCodeGenWriteBarrier((RuntimeObject **)(L_14), (RuntimeObject *)L_16);
ByteU5BU5D_t4116647657** L_17 = ___dcrMAC2;
int32_t L_18 = CipherSuite_get_HashSize_m4060916532(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_19 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_18);
*((RuntimeObject **)(L_17)) = (RuntimeObject *)L_19;
Il2CppCodeGenWriteBarrier((RuntimeObject **)(L_17), (RuntimeObject *)L_19);
ByteU5BU5D_t4116647657* L_20 = ___fragment0;
ByteU5BU5D_t4116647657** L_21 = ___dcrFragment1;
ByteU5BU5D_t4116647657* L_22 = *((ByteU5BU5D_t4116647657**)L_21);
ByteU5BU5D_t4116647657** L_23 = ___dcrFragment1;
ByteU5BU5D_t4116647657* L_24 = *((ByteU5BU5D_t4116647657**)L_23);
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_20, 0, (RuntimeArray *)(RuntimeArray *)L_22, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_24)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_25 = ___fragment0;
ByteU5BU5D_t4116647657** L_26 = ___dcrFragment1;
ByteU5BU5D_t4116647657* L_27 = *((ByteU5BU5D_t4116647657**)L_26);
ByteU5BU5D_t4116647657** L_28 = ___dcrMAC2;
ByteU5BU5D_t4116647657* L_29 = *((ByteU5BU5D_t4116647657**)L_28);
ByteU5BU5D_t4116647657** L_30 = ___dcrMAC2;
ByteU5BU5D_t4116647657* L_31 = *((ByteU5BU5D_t4116647657**)L_30);
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_25, (((int32_t)((int32_t)(((RuntimeArray *)L_27)->max_length)))), (RuntimeArray *)(RuntimeArray *)L_29, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_31)->max_length)))), /*hidden argument*/NULL);
return;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.CipherSuite::CreatePremasterSecret()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* CipherSuite_CreatePremasterSecret_m4264566459 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CipherSuite_CreatePremasterSecret_m4264566459_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ClientContext_t2797401965 * V_0 = NULL;
ByteU5BU5D_t4116647657* V_1 = NULL;
{
Context_t3971234707 * L_0 = __this->get_context_14();
V_0 = ((ClientContext_t2797401965 *)CastclassClass((RuntimeObject*)L_0, ClientContext_t2797401965_il2cpp_TypeInfo_var));
Context_t3971234707 * L_1 = __this->get_context_14();
ByteU5BU5D_t4116647657* L_2 = Context_GetSecureRandomBytes_m3676009387(L_1, ((int32_t)48), /*hidden argument*/NULL);
V_1 = L_2;
ByteU5BU5D_t4116647657* L_3 = V_1;
ClientContext_t2797401965 * L_4 = V_0;
int16_t L_5 = ClientContext_get_ClientHelloProtocol_m1654639078(L_4, /*hidden argument*/NULL);
(L_3)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_5>>(int32_t)8))))));
ByteU5BU5D_t4116647657* L_6 = V_1;
ClientContext_t2797401965 * L_7 = V_0;
int16_t L_8 = ClientContext_get_ClientHelloProtocol_m1654639078(L_7, /*hidden argument*/NULL);
(L_6)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (uint8_t)(((int32_t)((uint8_t)L_8))));
ByteU5BU5D_t4116647657* L_9 = V_1;
return L_9;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.CipherSuite::PRF(System.Byte[],System.String,System.Byte[],System.Int32)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* CipherSuite_PRF_m2801806009 (CipherSuite_t3414744575 * __this, ByteU5BU5D_t4116647657* ___secret0, String_t* ___label1, ByteU5BU5D_t4116647657* ___data2, int32_t ___length3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CipherSuite_PRF_m2801806009_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
TlsStream_t2365453965 * V_1 = NULL;
ByteU5BU5D_t4116647657* V_2 = NULL;
ByteU5BU5D_t4116647657* V_3 = NULL;
ByteU5BU5D_t4116647657* V_4 = NULL;
ByteU5BU5D_t4116647657* V_5 = NULL;
ByteU5BU5D_t4116647657* V_6 = NULL;
ByteU5BU5D_t4116647657* V_7 = NULL;
int32_t V_8 = 0;
{
ByteU5BU5D_t4116647657* L_0 = ___secret0;
V_0 = ((int32_t)((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))))>>(int32_t)1));
ByteU5BU5D_t4116647657* L_1 = ___secret0;
if ((!(((uint32_t)((int32_t)((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_1)->max_length))))&(int32_t)1))) == ((uint32_t)1))))
{
goto IL_0015;
}
}
{
int32_t L_2 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1));
}
IL_0015:
{
TlsStream_t2365453965 * L_3 = (TlsStream_t2365453965 *)il2cpp_codegen_object_new(TlsStream_t2365453965_il2cpp_TypeInfo_var);
TlsStream__ctor_m787793111(L_3, /*hidden argument*/NULL);
V_1 = L_3;
TlsStream_t2365453965 * L_4 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(Encoding_t1523322056_il2cpp_TypeInfo_var);
Encoding_t1523322056 * L_5 = Encoding_get_ASCII_m3595602635(NULL /*static, unused*/, /*hidden argument*/NULL);
String_t* L_6 = ___label1;
ByteU5BU5D_t4116647657* L_7 = VirtFuncInvoker1< ByteU5BU5D_t4116647657*, String_t* >::Invoke(10 /* System.Byte[] System.Text.Encoding::GetBytes(System.String) */, L_5, L_6);
TlsStream_Write_m4133894341(L_4, L_7, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_8 = V_1;
ByteU5BU5D_t4116647657* L_9 = ___data2;
TlsStream_Write_m4133894341(L_8, L_9, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_10 = V_1;
ByteU5BU5D_t4116647657* L_11 = TlsStream_ToArray_m4177184296(L_10, /*hidden argument*/NULL);
V_2 = L_11;
TlsStream_t2365453965 * L_12 = V_1;
TlsStream_Reset_m369197964(L_12, /*hidden argument*/NULL);
int32_t L_13 = V_0;
ByteU5BU5D_t4116647657* L_14 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_13);
V_3 = L_14;
ByteU5BU5D_t4116647657* L_15 = ___secret0;
ByteU5BU5D_t4116647657* L_16 = V_3;
int32_t L_17 = V_0;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_15, 0, (RuntimeArray *)(RuntimeArray *)L_16, 0, L_17, /*hidden argument*/NULL);
int32_t L_18 = V_0;
ByteU5BU5D_t4116647657* L_19 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_18);
V_4 = L_19;
ByteU5BU5D_t4116647657* L_20 = ___secret0;
ByteU5BU5D_t4116647657* L_21 = ___secret0;
int32_t L_22 = V_0;
ByteU5BU5D_t4116647657* L_23 = V_4;
int32_t L_24 = V_0;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_20, ((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_21)->max_length)))), (int32_t)L_22)), (RuntimeArray *)(RuntimeArray *)L_23, 0, L_24, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_25 = V_3;
ByteU5BU5D_t4116647657* L_26 = V_2;
int32_t L_27 = ___length3;
ByteU5BU5D_t4116647657* L_28 = CipherSuite_Expand_m2729769226(__this, _stringLiteral3839139460, L_25, L_26, L_27, /*hidden argument*/NULL);
V_5 = L_28;
ByteU5BU5D_t4116647657* L_29 = V_4;
ByteU5BU5D_t4116647657* L_30 = V_2;
int32_t L_31 = ___length3;
ByteU5BU5D_t4116647657* L_32 = CipherSuite_Expand_m2729769226(__this, _stringLiteral1144609714, L_29, L_30, L_31, /*hidden argument*/NULL);
V_6 = L_32;
int32_t L_33 = ___length3;
ByteU5BU5D_t4116647657* L_34 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_33);
V_7 = L_34;
V_8 = 0;
goto IL_00b3;
}
IL_009c:
{
ByteU5BU5D_t4116647657* L_35 = V_7;
int32_t L_36 = V_8;
ByteU5BU5D_t4116647657* L_37 = V_5;
int32_t L_38 = V_8;
int32_t L_39 = L_38;
uint8_t L_40 = (L_37)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_39));
ByteU5BU5D_t4116647657* L_41 = V_6;
int32_t L_42 = V_8;
int32_t L_43 = L_42;
uint8_t L_44 = (L_41)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_43));
(L_35)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_36), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_40^(int32_t)L_44))))));
int32_t L_45 = V_8;
V_8 = ((int32_t)il2cpp_codegen_add((int32_t)L_45, (int32_t)1));
}
IL_00b3:
{
int32_t L_46 = V_8;
ByteU5BU5D_t4116647657* L_47 = V_7;
if ((((int32_t)L_46) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_47)->max_length)))))))
{
goto IL_009c;
}
}
{
ByteU5BU5D_t4116647657* L_48 = V_7;
return L_48;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.CipherSuite::Expand(System.String,System.Byte[],System.Byte[],System.Int32)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* CipherSuite_Expand_m2729769226 (CipherSuite_t3414744575 * __this, String_t* ___hashName0, ByteU5BU5D_t4116647657* ___secret1, ByteU5BU5D_t4116647657* ___seed2, int32_t ___length3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CipherSuite_Expand_m2729769226_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
HMAC_t3689525210 * V_2 = NULL;
TlsStream_t2365453965 * V_3 = NULL;
ByteU5BU5DU5BU5D_t457913172* V_4 = NULL;
int32_t V_5 = 0;
TlsStream_t2365453965 * V_6 = NULL;
ByteU5BU5D_t4116647657* V_7 = NULL;
int32_t G_B3_0 = 0;
{
String_t* L_0 = ___hashName0;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
bool L_1 = String_op_Equality_m920492651(NULL /*static, unused*/, L_0, _stringLiteral3839139460, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0017;
}
}
{
G_B3_0 = ((int32_t)16);
goto IL_0019;
}
IL_0017:
{
G_B3_0 = ((int32_t)20);
}
IL_0019:
{
V_0 = G_B3_0;
int32_t L_2 = ___length3;
int32_t L_3 = V_0;
V_1 = ((int32_t)((int32_t)L_2/(int32_t)L_3));
int32_t L_4 = ___length3;
int32_t L_5 = V_0;
if ((((int32_t)((int32_t)((int32_t)L_4%(int32_t)L_5))) <= ((int32_t)0)))
{
goto IL_002d;
}
}
{
int32_t L_6 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1));
}
IL_002d:
{
String_t* L_7 = ___hashName0;
ByteU5BU5D_t4116647657* L_8 = ___secret1;
HMAC_t3689525210 * L_9 = (HMAC_t3689525210 *)il2cpp_codegen_object_new(HMAC_t3689525210_il2cpp_TypeInfo_var);
HMAC__ctor_m775015853(L_9, L_7, L_8, /*hidden argument*/NULL);
V_2 = L_9;
TlsStream_t2365453965 * L_10 = (TlsStream_t2365453965 *)il2cpp_codegen_object_new(TlsStream_t2365453965_il2cpp_TypeInfo_var);
TlsStream__ctor_m787793111(L_10, /*hidden argument*/NULL);
V_3 = L_10;
int32_t L_11 = V_1;
ByteU5BU5DU5BU5D_t457913172* L_12 = (ByteU5BU5DU5BU5D_t457913172*)SZArrayNew(ByteU5BU5DU5BU5D_t457913172_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1)));
V_4 = L_12;
ByteU5BU5DU5BU5D_t457913172* L_13 = V_4;
ByteU5BU5D_t4116647657* L_14 = ___seed2;
ArrayElementTypeCheck (L_13, L_14);
(L_13)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (ByteU5BU5D_t4116647657*)L_14);
V_5 = 1;
goto IL_00c0;
}
IL_0052:
{
TlsStream_t2365453965 * L_15 = (TlsStream_t2365453965 *)il2cpp_codegen_object_new(TlsStream_t2365453965_il2cpp_TypeInfo_var);
TlsStream__ctor_m787793111(L_15, /*hidden argument*/NULL);
V_6 = L_15;
HMAC_t3689525210 * L_16 = V_2;
ByteU5BU5DU5BU5D_t457913172* L_17 = V_4;
int32_t L_18 = V_5;
int32_t L_19 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_18, (int32_t)1));
ByteU5BU5D_t4116647657* L_20 = (L_17)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_19));
ByteU5BU5DU5BU5D_t457913172* L_21 = V_4;
int32_t L_22 = V_5;
int32_t L_23 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_22, (int32_t)1));
ByteU5BU5D_t4116647657* L_24 = (L_21)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_23));
HashAlgorithm_TransformFinalBlock_m3005451348(L_16, L_20, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_24)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5DU5BU5D_t457913172* L_25 = V_4;
int32_t L_26 = V_5;
HMAC_t3689525210 * L_27 = V_2;
ByteU5BU5D_t4116647657* L_28 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(9 /* System.Byte[] System.Security.Cryptography.HashAlgorithm::get_Hash() */, L_27);
ArrayElementTypeCheck (L_25, L_28);
(L_25)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_26), (ByteU5BU5D_t4116647657*)L_28);
TlsStream_t2365453965 * L_29 = V_6;
ByteU5BU5DU5BU5D_t457913172* L_30 = V_4;
int32_t L_31 = V_5;
int32_t L_32 = L_31;
ByteU5BU5D_t4116647657* L_33 = (L_30)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_32));
TlsStream_Write_m4133894341(L_29, L_33, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_34 = V_6;
ByteU5BU5D_t4116647657* L_35 = ___seed2;
TlsStream_Write_m4133894341(L_34, L_35, /*hidden argument*/NULL);
HMAC_t3689525210 * L_36 = V_2;
TlsStream_t2365453965 * L_37 = V_6;
ByteU5BU5D_t4116647657* L_38 = TlsStream_ToArray_m4177184296(L_37, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_39 = V_6;
int64_t L_40 = VirtFuncInvoker0< int64_t >::Invoke(8 /* System.Int64 Mono.Security.Protocol.Tls.TlsStream::get_Length() */, L_39);
HashAlgorithm_TransformFinalBlock_m3005451348(L_36, L_38, 0, (((int32_t)((int32_t)L_40))), /*hidden argument*/NULL);
TlsStream_t2365453965 * L_41 = V_3;
HMAC_t3689525210 * L_42 = V_2;
ByteU5BU5D_t4116647657* L_43 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(9 /* System.Byte[] System.Security.Cryptography.HashAlgorithm::get_Hash() */, L_42);
TlsStream_Write_m4133894341(L_41, L_43, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_44 = V_6;
TlsStream_Reset_m369197964(L_44, /*hidden argument*/NULL);
int32_t L_45 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_45, (int32_t)1));
}
IL_00c0:
{
int32_t L_46 = V_5;
int32_t L_47 = V_1;
if ((((int32_t)L_46) <= ((int32_t)L_47)))
{
goto IL_0052;
}
}
{
int32_t L_48 = ___length3;
ByteU5BU5D_t4116647657* L_49 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_48);
V_7 = L_49;
TlsStream_t2365453965 * L_50 = V_3;
ByteU5BU5D_t4116647657* L_51 = TlsStream_ToArray_m4177184296(L_50, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_52 = V_7;
ByteU5BU5D_t4116647657* L_53 = V_7;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_51, 0, (RuntimeArray *)(RuntimeArray *)L_52, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_53)->max_length)))), /*hidden argument*/NULL);
TlsStream_t2365453965 * L_54 = V_3;
TlsStream_Reset_m369197964(L_54, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_55 = V_7;
return L_55;
}
}
// System.Void Mono.Security.Protocol.Tls.CipherSuite::createEncryptionCipher()
extern "C" IL2CPP_METHOD_ATTR void CipherSuite_createEncryptionCipher_m2533565116 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CipherSuite_createEncryptionCipher_m2533565116_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
int32_t L_0 = __this->get_cipherAlgorithmType_3();
V_0 = L_0;
int32_t L_1 = V_0;
switch (L_1)
{
case 0:
{
goto IL_002e;
}
case 1:
{
goto IL_007e;
}
case 2:
{
goto IL_003e;
}
case 3:
{
goto IL_004e;
}
case 4:
{
goto IL_006e;
}
case 5:
{
goto IL_007e;
}
case 6:
{
goto IL_005e;
}
}
}
{
goto IL_007e;
}
IL_002e:
{
IL2CPP_RUNTIME_CLASS_INIT(DES_t821106792_il2cpp_TypeInfo_var);
DES_t821106792 * L_2 = DES_Create_m1258183099(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_encryptionAlgorithm_15(L_2);
goto IL_007e;
}
IL_003e:
{
RC2_t3167825714 * L_3 = RC2_Create_m2516417038(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_encryptionAlgorithm_15(L_3);
goto IL_007e;
}
IL_004e:
{
ARC4Managed_t2641858452 * L_4 = (ARC4Managed_t2641858452 *)il2cpp_codegen_object_new(ARC4Managed_t2641858452_il2cpp_TypeInfo_var);
ARC4Managed__ctor_m2553537404(L_4, /*hidden argument*/NULL);
__this->set_encryptionAlgorithm_15(L_4);
goto IL_007e;
}
IL_005e:
{
TripleDES_t92303514 * L_5 = TripleDES_Create_m3761371613(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_encryptionAlgorithm_15(L_5);
goto IL_007e;
}
IL_006e:
{
Rijndael_t2986313634 * L_6 = Rijndael_Create_m3053077028(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_encryptionAlgorithm_15(L_6);
goto IL_007e;
}
IL_007e:
{
int32_t L_7 = __this->get_cipherMode_7();
if ((!(((uint32_t)L_7) == ((uint32_t)1))))
{
goto IL_00cd;
}
}
{
SymmetricAlgorithm_t4254223087 * L_8 = __this->get_encryptionAlgorithm_15();
int32_t L_9 = __this->get_cipherMode_7();
VirtActionInvoker1< int32_t >::Invoke(17 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_Mode(System.Security.Cryptography.CipherMode) */, L_8, L_9);
SymmetricAlgorithm_t4254223087 * L_10 = __this->get_encryptionAlgorithm_15();
VirtActionInvoker1< int32_t >::Invoke(19 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_Padding(System.Security.Cryptography.PaddingMode) */, L_10, 1);
SymmetricAlgorithm_t4254223087 * L_11 = __this->get_encryptionAlgorithm_15();
uint8_t L_12 = __this->get_expandedKeyMaterialSize_10();
VirtActionInvoker1< int32_t >::Invoke(14 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_KeySize(System.Int32) */, L_11, ((int32_t)il2cpp_codegen_multiply((int32_t)L_12, (int32_t)8)));
SymmetricAlgorithm_t4254223087 * L_13 = __this->get_encryptionAlgorithm_15();
uint8_t L_14 = __this->get_blockSize_13();
VirtActionInvoker1< int32_t >::Invoke(7 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_BlockSize(System.Int32) */, L_13, ((int32_t)il2cpp_codegen_multiply((int32_t)L_14, (int32_t)8)));
}
IL_00cd:
{
Context_t3971234707 * L_15 = __this->get_context_14();
if (!((ClientContext_t2797401965 *)IsInstClass((RuntimeObject*)L_15, ClientContext_t2797401965_il2cpp_TypeInfo_var)))
{
goto IL_010e;
}
}
{
SymmetricAlgorithm_t4254223087 * L_16 = __this->get_encryptionAlgorithm_15();
Context_t3971234707 * L_17 = __this->get_context_14();
ByteU5BU5D_t4116647657* L_18 = Context_get_ClientWriteKey_m3174706656(L_17, /*hidden argument*/NULL);
VirtActionInvoker1< ByteU5BU5D_t4116647657* >::Invoke(12 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_Key(System.Byte[]) */, L_16, L_18);
SymmetricAlgorithm_t4254223087 * L_19 = __this->get_encryptionAlgorithm_15();
Context_t3971234707 * L_20 = __this->get_context_14();
ByteU5BU5D_t4116647657* L_21 = Context_get_ClientWriteIV_m1729804632(L_20, /*hidden argument*/NULL);
VirtActionInvoker1< ByteU5BU5D_t4116647657* >::Invoke(10 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_IV(System.Byte[]) */, L_19, L_21);
goto IL_013a;
}
IL_010e:
{
SymmetricAlgorithm_t4254223087 * L_22 = __this->get_encryptionAlgorithm_15();
Context_t3971234707 * L_23 = __this->get_context_14();
ByteU5BU5D_t4116647657* L_24 = Context_get_ServerWriteKey_m2199131569(L_23, /*hidden argument*/NULL);
VirtActionInvoker1< ByteU5BU5D_t4116647657* >::Invoke(12 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_Key(System.Byte[]) */, L_22, L_24);
SymmetricAlgorithm_t4254223087 * L_25 = __this->get_encryptionAlgorithm_15();
Context_t3971234707 * L_26 = __this->get_context_14();
ByteU5BU5D_t4116647657* L_27 = Context_get_ServerWriteIV_m1839374659(L_26, /*hidden argument*/NULL);
VirtActionInvoker1< ByteU5BU5D_t4116647657* >::Invoke(10 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_IV(System.Byte[]) */, L_25, L_27);
}
IL_013a:
{
SymmetricAlgorithm_t4254223087 * L_28 = __this->get_encryptionAlgorithm_15();
RuntimeObject* L_29 = VirtFuncInvoker0< RuntimeObject* >::Invoke(22 /* System.Security.Cryptography.ICryptoTransform System.Security.Cryptography.SymmetricAlgorithm::CreateEncryptor() */, L_28);
__this->set_encryptionCipher_16(L_29);
Context_t3971234707 * L_30 = __this->get_context_14();
if (!((ClientContext_t2797401965 *)IsInstClass((RuntimeObject*)L_30, ClientContext_t2797401965_il2cpp_TypeInfo_var)))
{
goto IL_0181;
}
}
{
String_t* L_31 = CipherSuite_get_HashAlgorithmName_m3758129154(__this, /*hidden argument*/NULL);
Context_t3971234707 * L_32 = __this->get_context_14();
SecurityParameters_t2199972650 * L_33 = Context_get_Negotiating_m2044579817(L_32, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_34 = SecurityParameters_get_ClientWriteMAC_m225554750(L_33, /*hidden argument*/NULL);
HMAC_t3689525210 * L_35 = (HMAC_t3689525210 *)il2cpp_codegen_object_new(HMAC_t3689525210_il2cpp_TypeInfo_var);
HMAC__ctor_m775015853(L_35, L_31, L_34, /*hidden argument*/NULL);
__this->set_clientHMAC_19(L_35);
goto IL_01a2;
}
IL_0181:
{
String_t* L_36 = CipherSuite_get_HashAlgorithmName_m3758129154(__this, /*hidden argument*/NULL);
Context_t3971234707 * L_37 = __this->get_context_14();
SecurityParameters_t2199972650 * L_38 = Context_get_Negotiating_m2044579817(L_37, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_39 = SecurityParameters_get_ServerWriteMAC_m3430427271(L_38, /*hidden argument*/NULL);
HMAC_t3689525210 * L_40 = (HMAC_t3689525210 *)il2cpp_codegen_object_new(HMAC_t3689525210_il2cpp_TypeInfo_var);
HMAC__ctor_m775015853(L_40, L_36, L_39, /*hidden argument*/NULL);
__this->set_serverHMAC_20(L_40);
}
IL_01a2:
{
return;
}
}
// System.Void Mono.Security.Protocol.Tls.CipherSuite::createDecryptionCipher()
extern "C" IL2CPP_METHOD_ATTR void CipherSuite_createDecryptionCipher_m1176259509 (CipherSuite_t3414744575 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CipherSuite_createDecryptionCipher_m1176259509_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
int32_t L_0 = __this->get_cipherAlgorithmType_3();
V_0 = L_0;
int32_t L_1 = V_0;
switch (L_1)
{
case 0:
{
goto IL_002e;
}
case 1:
{
goto IL_007e;
}
case 2:
{
goto IL_003e;
}
case 3:
{
goto IL_004e;
}
case 4:
{
goto IL_006e;
}
case 5:
{
goto IL_007e;
}
case 6:
{
goto IL_005e;
}
}
}
{
goto IL_007e;
}
IL_002e:
{
IL2CPP_RUNTIME_CLASS_INIT(DES_t821106792_il2cpp_TypeInfo_var);
DES_t821106792 * L_2 = DES_Create_m1258183099(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_decryptionAlgorithm_17(L_2);
goto IL_007e;
}
IL_003e:
{
RC2_t3167825714 * L_3 = RC2_Create_m2516417038(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_decryptionAlgorithm_17(L_3);
goto IL_007e;
}
IL_004e:
{
ARC4Managed_t2641858452 * L_4 = (ARC4Managed_t2641858452 *)il2cpp_codegen_object_new(ARC4Managed_t2641858452_il2cpp_TypeInfo_var);
ARC4Managed__ctor_m2553537404(L_4, /*hidden argument*/NULL);
__this->set_decryptionAlgorithm_17(L_4);
goto IL_007e;
}
IL_005e:
{
TripleDES_t92303514 * L_5 = TripleDES_Create_m3761371613(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_decryptionAlgorithm_17(L_5);
goto IL_007e;
}
IL_006e:
{
Rijndael_t2986313634 * L_6 = Rijndael_Create_m3053077028(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_decryptionAlgorithm_17(L_6);
goto IL_007e;
}
IL_007e:
{
int32_t L_7 = __this->get_cipherMode_7();
if ((!(((uint32_t)L_7) == ((uint32_t)1))))
{
goto IL_00cd;
}
}
{
SymmetricAlgorithm_t4254223087 * L_8 = __this->get_decryptionAlgorithm_17();
int32_t L_9 = __this->get_cipherMode_7();
VirtActionInvoker1< int32_t >::Invoke(17 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_Mode(System.Security.Cryptography.CipherMode) */, L_8, L_9);
SymmetricAlgorithm_t4254223087 * L_10 = __this->get_decryptionAlgorithm_17();
VirtActionInvoker1< int32_t >::Invoke(19 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_Padding(System.Security.Cryptography.PaddingMode) */, L_10, 1);
SymmetricAlgorithm_t4254223087 * L_11 = __this->get_decryptionAlgorithm_17();
uint8_t L_12 = __this->get_expandedKeyMaterialSize_10();
VirtActionInvoker1< int32_t >::Invoke(14 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_KeySize(System.Int32) */, L_11, ((int32_t)il2cpp_codegen_multiply((int32_t)L_12, (int32_t)8)));
SymmetricAlgorithm_t4254223087 * L_13 = __this->get_decryptionAlgorithm_17();
uint8_t L_14 = __this->get_blockSize_13();
VirtActionInvoker1< int32_t >::Invoke(7 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_BlockSize(System.Int32) */, L_13, ((int32_t)il2cpp_codegen_multiply((int32_t)L_14, (int32_t)8)));
}
IL_00cd:
{
Context_t3971234707 * L_15 = __this->get_context_14();
if (!((ClientContext_t2797401965 *)IsInstClass((RuntimeObject*)L_15, ClientContext_t2797401965_il2cpp_TypeInfo_var)))
{
goto IL_010e;
}
}
{
SymmetricAlgorithm_t4254223087 * L_16 = __this->get_decryptionAlgorithm_17();
Context_t3971234707 * L_17 = __this->get_context_14();
ByteU5BU5D_t4116647657* L_18 = Context_get_ServerWriteKey_m2199131569(L_17, /*hidden argument*/NULL);
VirtActionInvoker1< ByteU5BU5D_t4116647657* >::Invoke(12 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_Key(System.Byte[]) */, L_16, L_18);
SymmetricAlgorithm_t4254223087 * L_19 = __this->get_decryptionAlgorithm_17();
Context_t3971234707 * L_20 = __this->get_context_14();
ByteU5BU5D_t4116647657* L_21 = Context_get_ServerWriteIV_m1839374659(L_20, /*hidden argument*/NULL);
VirtActionInvoker1< ByteU5BU5D_t4116647657* >::Invoke(10 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_IV(System.Byte[]) */, L_19, L_21);
goto IL_013a;
}
IL_010e:
{
SymmetricAlgorithm_t4254223087 * L_22 = __this->get_decryptionAlgorithm_17();
Context_t3971234707 * L_23 = __this->get_context_14();
ByteU5BU5D_t4116647657* L_24 = Context_get_ClientWriteKey_m3174706656(L_23, /*hidden argument*/NULL);
VirtActionInvoker1< ByteU5BU5D_t4116647657* >::Invoke(12 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_Key(System.Byte[]) */, L_22, L_24);
SymmetricAlgorithm_t4254223087 * L_25 = __this->get_decryptionAlgorithm_17();
Context_t3971234707 * L_26 = __this->get_context_14();
ByteU5BU5D_t4116647657* L_27 = Context_get_ClientWriteIV_m1729804632(L_26, /*hidden argument*/NULL);
VirtActionInvoker1< ByteU5BU5D_t4116647657* >::Invoke(10 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_IV(System.Byte[]) */, L_25, L_27);
}
IL_013a:
{
SymmetricAlgorithm_t4254223087 * L_28 = __this->get_decryptionAlgorithm_17();
RuntimeObject* L_29 = VirtFuncInvoker0< RuntimeObject* >::Invoke(20 /* System.Security.Cryptography.ICryptoTransform System.Security.Cryptography.SymmetricAlgorithm::CreateDecryptor() */, L_28);
__this->set_decryptionCipher_18(L_29);
Context_t3971234707 * L_30 = __this->get_context_14();
if (!((ClientContext_t2797401965 *)IsInstClass((RuntimeObject*)L_30, ClientContext_t2797401965_il2cpp_TypeInfo_var)))
{
goto IL_0181;
}
}
{
String_t* L_31 = CipherSuite_get_HashAlgorithmName_m3758129154(__this, /*hidden argument*/NULL);
Context_t3971234707 * L_32 = __this->get_context_14();
SecurityParameters_t2199972650 * L_33 = Context_get_Negotiating_m2044579817(L_32, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_34 = SecurityParameters_get_ServerWriteMAC_m3430427271(L_33, /*hidden argument*/NULL);
HMAC_t3689525210 * L_35 = (HMAC_t3689525210 *)il2cpp_codegen_object_new(HMAC_t3689525210_il2cpp_TypeInfo_var);
HMAC__ctor_m775015853(L_35, L_31, L_34, /*hidden argument*/NULL);
__this->set_serverHMAC_20(L_35);
goto IL_01a2;
}
IL_0181:
{
String_t* L_36 = CipherSuite_get_HashAlgorithmName_m3758129154(__this, /*hidden argument*/NULL);
Context_t3971234707 * L_37 = __this->get_context_14();
SecurityParameters_t2199972650 * L_38 = Context_get_Negotiating_m2044579817(L_37, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_39 = SecurityParameters_get_ClientWriteMAC_m225554750(L_38, /*hidden argument*/NULL);
HMAC_t3689525210 * L_40 = (HMAC_t3689525210 *)il2cpp_codegen_object_new(HMAC_t3689525210_il2cpp_TypeInfo_var);
HMAC__ctor_m775015853(L_40, L_36, L_39, /*hidden argument*/NULL);
__this->set_clientHMAC_19(L_40);
}
IL_01a2:
{
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.CipherSuiteCollection::.ctor(Mono.Security.Protocol.Tls.SecurityProtocolType)
extern "C" IL2CPP_METHOD_ATTR void CipherSuiteCollection__ctor_m384434353 (CipherSuiteCollection_t1129639304 * __this, int32_t ___protocol0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CipherSuiteCollection__ctor_m384434353_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
int32_t L_0 = ___protocol0;
__this->set_protocol_1(L_0);
ArrayList_t2718874744 * L_1 = (ArrayList_t2718874744 *)il2cpp_codegen_object_new(ArrayList_t2718874744_il2cpp_TypeInfo_var);
ArrayList__ctor_m4254721275(L_1, /*hidden argument*/NULL);
__this->set_cipherSuites_0(L_1);
return;
}
}
// System.Object Mono.Security.Protocol.Tls.CipherSuiteCollection::System.Collections.IList.get_Item(System.Int32)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * CipherSuiteCollection_System_Collections_IList_get_Item_m2175128671 (CipherSuiteCollection_t1129639304 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
CipherSuite_t3414744575 * L_1 = CipherSuiteCollection_get_Item_m4188309062(__this, L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Void Mono.Security.Protocol.Tls.CipherSuiteCollection::System.Collections.IList.set_Item(System.Int32,System.Object)
extern "C" IL2CPP_METHOD_ATTR void CipherSuiteCollection_System_Collections_IList_set_Item_m904255570 (CipherSuiteCollection_t1129639304 * __this, int32_t ___index0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CipherSuiteCollection_System_Collections_IList_set_Item_m904255570_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = ___index0;
RuntimeObject * L_1 = ___value1;
CipherSuiteCollection_set_Item_m2392524001(__this, L_0, ((CipherSuite_t3414744575 *)CastclassClass((RuntimeObject*)L_1, CipherSuite_t3414744575_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
return;
}
}
// System.Boolean Mono.Security.Protocol.Tls.CipherSuiteCollection::System.Collections.ICollection.get_IsSynchronized()
extern "C" IL2CPP_METHOD_ATTR bool CipherSuiteCollection_System_Collections_ICollection_get_IsSynchronized_m3953211662 (CipherSuiteCollection_t1129639304 * __this, const RuntimeMethod* method)
{
{
ArrayList_t2718874744 * L_0 = __this->get_cipherSuites_0();
bool L_1 = VirtFuncInvoker0< bool >::Invoke(28 /* System.Boolean System.Collections.ArrayList::get_IsSynchronized() */, L_0);
return L_1;
}
}
// System.Object Mono.Security.Protocol.Tls.CipherSuiteCollection::System.Collections.ICollection.get_SyncRoot()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * CipherSuiteCollection_System_Collections_ICollection_get_SyncRoot_m630394386 (CipherSuiteCollection_t1129639304 * __this, const RuntimeMethod* method)
{
{
ArrayList_t2718874744 * L_0 = __this->get_cipherSuites_0();
RuntimeObject * L_1 = VirtFuncInvoker0< RuntimeObject * >::Invoke(29 /* System.Object System.Collections.ArrayList::get_SyncRoot() */, L_0);
return L_1;
}
}
// System.Collections.IEnumerator Mono.Security.Protocol.Tls.CipherSuiteCollection::System.Collections.IEnumerable.GetEnumerator()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* CipherSuiteCollection_System_Collections_IEnumerable_GetEnumerator_m3240848888 (CipherSuiteCollection_t1129639304 * __this, const RuntimeMethod* method)
{
{
ArrayList_t2718874744 * L_0 = __this->get_cipherSuites_0();
RuntimeObject* L_1 = VirtFuncInvoker0< RuntimeObject* >::Invoke(43 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_0);
return L_1;
}
}
// System.Boolean Mono.Security.Protocol.Tls.CipherSuiteCollection::System.Collections.IList.Contains(System.Object)
extern "C" IL2CPP_METHOD_ATTR bool CipherSuiteCollection_System_Collections_IList_Contains_m1220133031 (CipherSuiteCollection_t1129639304 * __this, RuntimeObject * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CipherSuiteCollection_System_Collections_IList_Contains_m1220133031_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ArrayList_t2718874744 * L_0 = __this->get_cipherSuites_0();
RuntimeObject * L_1 = ___value0;
bool L_2 = VirtFuncInvoker1< bool, RuntimeObject * >::Invoke(32 /* System.Boolean System.Collections.ArrayList::Contains(System.Object) */, L_0, ((CipherSuite_t3414744575 *)IsInstClass((RuntimeObject*)L_1, CipherSuite_t3414744575_il2cpp_TypeInfo_var)));
return L_2;
}
}
// System.Int32 Mono.Security.Protocol.Tls.CipherSuiteCollection::System.Collections.IList.IndexOf(System.Object)
extern "C" IL2CPP_METHOD_ATTR int32_t CipherSuiteCollection_System_Collections_IList_IndexOf_m1361500977 (CipherSuiteCollection_t1129639304 * __this, RuntimeObject * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CipherSuiteCollection_System_Collections_IList_IndexOf_m1361500977_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ArrayList_t2718874744 * L_0 = __this->get_cipherSuites_0();
RuntimeObject * L_1 = ___value0;
int32_t L_2 = VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(33 /* System.Int32 System.Collections.ArrayList::IndexOf(System.Object) */, L_0, ((CipherSuite_t3414744575 *)IsInstClass((RuntimeObject*)L_1, CipherSuite_t3414744575_il2cpp_TypeInfo_var)));
return L_2;
}
}
// System.Void Mono.Security.Protocol.Tls.CipherSuiteCollection::System.Collections.IList.Insert(System.Int32,System.Object)
extern "C" IL2CPP_METHOD_ATTR void CipherSuiteCollection_System_Collections_IList_Insert_m1567261820 (CipherSuiteCollection_t1129639304 * __this, int32_t ___index0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CipherSuiteCollection_System_Collections_IList_Insert_m1567261820_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ArrayList_t2718874744 * L_0 = __this->get_cipherSuites_0();
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___value1;
VirtActionInvoker2< int32_t, RuntimeObject * >::Invoke(36 /* System.Void System.Collections.ArrayList::Insert(System.Int32,System.Object) */, L_0, L_1, ((CipherSuite_t3414744575 *)IsInstClass((RuntimeObject*)L_2, CipherSuite_t3414744575_il2cpp_TypeInfo_var)));
return;
}
}
// System.Void Mono.Security.Protocol.Tls.CipherSuiteCollection::System.Collections.IList.Remove(System.Object)
extern "C" IL2CPP_METHOD_ATTR void CipherSuiteCollection_System_Collections_IList_Remove_m2463347416 (CipherSuiteCollection_t1129639304 * __this, RuntimeObject * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CipherSuiteCollection_System_Collections_IList_Remove_m2463347416_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ArrayList_t2718874744 * L_0 = __this->get_cipherSuites_0();
RuntimeObject * L_1 = ___value0;
VirtActionInvoker1< RuntimeObject * >::Invoke(38 /* System.Void System.Collections.ArrayList::Remove(System.Object) */, L_0, ((CipherSuite_t3414744575 *)IsInstClass((RuntimeObject*)L_1, CipherSuite_t3414744575_il2cpp_TypeInfo_var)));
return;
}
}
// System.Void Mono.Security.Protocol.Tls.CipherSuiteCollection::System.Collections.IList.RemoveAt(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void CipherSuiteCollection_System_Collections_IList_RemoveAt_m2600067414 (CipherSuiteCollection_t1129639304 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
ArrayList_t2718874744 * L_0 = __this->get_cipherSuites_0();
int32_t L_1 = ___index0;
VirtActionInvoker1< int32_t >::Invoke(39 /* System.Void System.Collections.ArrayList::RemoveAt(System.Int32) */, L_0, L_1);
return;
}
}
// System.Int32 Mono.Security.Protocol.Tls.CipherSuiteCollection::System.Collections.IList.Add(System.Object)
extern "C" IL2CPP_METHOD_ATTR int32_t CipherSuiteCollection_System_Collections_IList_Add_m1178326810 (CipherSuiteCollection_t1129639304 * __this, RuntimeObject * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CipherSuiteCollection_System_Collections_IList_Add_m1178326810_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ArrayList_t2718874744 * L_0 = __this->get_cipherSuites_0();
RuntimeObject * L_1 = ___value0;
int32_t L_2 = VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_0, ((CipherSuite_t3414744575 *)IsInstClass((RuntimeObject*)L_1, CipherSuite_t3414744575_il2cpp_TypeInfo_var)));
return L_2;
}
}
// Mono.Security.Protocol.Tls.CipherSuite Mono.Security.Protocol.Tls.CipherSuiteCollection::get_Item(System.String)
extern "C" IL2CPP_METHOD_ATTR CipherSuite_t3414744575 * CipherSuiteCollection_get_Item_m2791953484 (CipherSuiteCollection_t1129639304 * __this, String_t* ___name0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CipherSuiteCollection_get_Item_m2791953484_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ArrayList_t2718874744 * L_0 = __this->get_cipherSuites_0();
String_t* L_1 = ___name0;
int32_t L_2 = CipherSuiteCollection_IndexOf_m2232557119(__this, L_1, /*hidden argument*/NULL);
RuntimeObject * L_3 = VirtFuncInvoker1< RuntimeObject *, int32_t >::Invoke(21 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_0, L_2);
return ((CipherSuite_t3414744575 *)CastclassClass((RuntimeObject*)L_3, CipherSuite_t3414744575_il2cpp_TypeInfo_var));
}
}
// Mono.Security.Protocol.Tls.CipherSuite Mono.Security.Protocol.Tls.CipherSuiteCollection::get_Item(System.Int32)
extern "C" IL2CPP_METHOD_ATTR CipherSuite_t3414744575 * CipherSuiteCollection_get_Item_m4188309062 (CipherSuiteCollection_t1129639304 * __this, int32_t ___index0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CipherSuiteCollection_get_Item_m4188309062_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ArrayList_t2718874744 * L_0 = __this->get_cipherSuites_0();
int32_t L_1 = ___index0;
RuntimeObject * L_2 = VirtFuncInvoker1< RuntimeObject *, int32_t >::Invoke(21 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_0, L_1);
return ((CipherSuite_t3414744575 *)CastclassClass((RuntimeObject*)L_2, CipherSuite_t3414744575_il2cpp_TypeInfo_var));
}
}
// System.Void Mono.Security.Protocol.Tls.CipherSuiteCollection::set_Item(System.Int32,Mono.Security.Protocol.Tls.CipherSuite)
extern "C" IL2CPP_METHOD_ATTR void CipherSuiteCollection_set_Item_m2392524001 (CipherSuiteCollection_t1129639304 * __this, int32_t ___index0, CipherSuite_t3414744575 * ___value1, const RuntimeMethod* method)
{
{
ArrayList_t2718874744 * L_0 = __this->get_cipherSuites_0();
int32_t L_1 = ___index0;
CipherSuite_t3414744575 * L_2 = ___value1;
VirtActionInvoker2< int32_t, RuntimeObject * >::Invoke(22 /* System.Void System.Collections.ArrayList::set_Item(System.Int32,System.Object) */, L_0, L_1, L_2);
return;
}
}
// Mono.Security.Protocol.Tls.CipherSuite Mono.Security.Protocol.Tls.CipherSuiteCollection::get_Item(System.Int16)
extern "C" IL2CPP_METHOD_ATTR CipherSuite_t3414744575 * CipherSuiteCollection_get_Item_m3790183696 (CipherSuiteCollection_t1129639304 * __this, int16_t ___code0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CipherSuiteCollection_get_Item_m3790183696_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ArrayList_t2718874744 * L_0 = __this->get_cipherSuites_0();
int16_t L_1 = ___code0;
int32_t L_2 = CipherSuiteCollection_IndexOf_m2770510321(__this, L_1, /*hidden argument*/NULL);
RuntimeObject * L_3 = VirtFuncInvoker1< RuntimeObject *, int32_t >::Invoke(21 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_0, L_2);
return ((CipherSuite_t3414744575 *)CastclassClass((RuntimeObject*)L_3, CipherSuite_t3414744575_il2cpp_TypeInfo_var));
}
}
// System.Int32 Mono.Security.Protocol.Tls.CipherSuiteCollection::get_Count()
extern "C" IL2CPP_METHOD_ATTR int32_t CipherSuiteCollection_get_Count_m4271692531 (CipherSuiteCollection_t1129639304 * __this, const RuntimeMethod* method)
{
{
ArrayList_t2718874744 * L_0 = __this->get_cipherSuites_0();
int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(23 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_0);
return L_1;
}
}
// System.Boolean Mono.Security.Protocol.Tls.CipherSuiteCollection::get_IsFixedSize()
extern "C" IL2CPP_METHOD_ATTR bool CipherSuiteCollection_get_IsFixedSize_m3127823890 (CipherSuiteCollection_t1129639304 * __this, const RuntimeMethod* method)
{
{
ArrayList_t2718874744 * L_0 = __this->get_cipherSuites_0();
bool L_1 = VirtFuncInvoker0< bool >::Invoke(26 /* System.Boolean System.Collections.ArrayList::get_IsFixedSize() */, L_0);
return L_1;
}
}
// System.Boolean Mono.Security.Protocol.Tls.CipherSuiteCollection::get_IsReadOnly()
extern "C" IL2CPP_METHOD_ATTR bool CipherSuiteCollection_get_IsReadOnly_m2263525365 (CipherSuiteCollection_t1129639304 * __this, const RuntimeMethod* method)
{
{
ArrayList_t2718874744 * L_0 = __this->get_cipherSuites_0();
bool L_1 = VirtFuncInvoker0< bool >::Invoke(27 /* System.Boolean System.Collections.ArrayList::get_IsReadOnly() */, L_0);
return L_1;
}
}
// System.Void Mono.Security.Protocol.Tls.CipherSuiteCollection::CopyTo(System.Array,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void CipherSuiteCollection_CopyTo_m3857518994 (CipherSuiteCollection_t1129639304 * __this, RuntimeArray * ___array0, int32_t ___index1, const RuntimeMethod* method)
{
{
ArrayList_t2718874744 * L_0 = __this->get_cipherSuites_0();
RuntimeArray * L_1 = ___array0;
int32_t L_2 = ___index1;
VirtActionInvoker2< RuntimeArray *, int32_t >::Invoke(41 /* System.Void System.Collections.ArrayList::CopyTo(System.Array,System.Int32) */, L_0, L_1, L_2);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.CipherSuiteCollection::Clear()
extern "C" IL2CPP_METHOD_ATTR void CipherSuiteCollection_Clear_m2642701260 (CipherSuiteCollection_t1129639304 * __this, const RuntimeMethod* method)
{
{
ArrayList_t2718874744 * L_0 = __this->get_cipherSuites_0();
VirtActionInvoker0::Invoke(31 /* System.Void System.Collections.ArrayList::Clear() */, L_0);
return;
}
}
// System.Int32 Mono.Security.Protocol.Tls.CipherSuiteCollection::IndexOf(System.String)
extern "C" IL2CPP_METHOD_ATTR int32_t CipherSuiteCollection_IndexOf_m2232557119 (CipherSuiteCollection_t1129639304 * __this, String_t* ___name0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CipherSuiteCollection_IndexOf_m2232557119_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
CipherSuite_t3414744575 * V_1 = NULL;
RuntimeObject* V_2 = NULL;
int32_t V_3 = 0;
RuntimeObject* V_4 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
{
V_0 = 0;
ArrayList_t2718874744 * L_0 = __this->get_cipherSuites_0();
RuntimeObject* L_1 = VirtFuncInvoker0< RuntimeObject* >::Invoke(43 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_0);
V_2 = L_1;
}
IL_000e:
try
{ // begin try (depth: 1)
{
goto IL_003c;
}
IL_0013:
{
RuntimeObject* L_2 = V_2;
RuntimeObject * L_3 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(0 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, L_2);
V_1 = ((CipherSuite_t3414744575 *)CastclassClass((RuntimeObject*)L_3, CipherSuite_t3414744575_il2cpp_TypeInfo_var));
CipherSuite_t3414744575 * L_4 = V_1;
String_t* L_5 = CipherSuite_get_Name_m1137568068(L_4, /*hidden argument*/NULL);
String_t* L_6 = ___name0;
bool L_7 = CipherSuiteCollection_cultureAwareCompare_m2072548979(__this, L_5, L_6, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_0038;
}
}
IL_0031:
{
int32_t L_8 = V_0;
V_3 = L_8;
IL2CPP_LEAVE(0x63, FINALLY_004c);
}
IL_0038:
{
int32_t L_9 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1));
}
IL_003c:
{
RuntimeObject* L_10 = V_2;
bool L_11 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, L_10);
if (L_11)
{
goto IL_0013;
}
}
IL_0047:
{
IL2CPP_LEAVE(0x61, FINALLY_004c);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_004c;
}
FINALLY_004c:
{ // begin finally (depth: 1)
{
RuntimeObject* L_12 = V_2;
V_4 = ((RuntimeObject*)IsInst((RuntimeObject*)L_12, IDisposable_t3640265483_il2cpp_TypeInfo_var));
RuntimeObject* L_13 = V_4;
if (L_13)
{
goto IL_0059;
}
}
IL_0058:
{
IL2CPP_END_FINALLY(76)
}
IL_0059:
{
RuntimeObject* L_14 = V_4;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, L_14);
IL2CPP_END_FINALLY(76)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(76)
{
IL2CPP_JUMP_TBL(0x63, IL_0063)
IL2CPP_JUMP_TBL(0x61, IL_0061)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0061:
{
return (-1);
}
IL_0063:
{
int32_t L_15 = V_3;
return L_15;
}
}
// System.Int32 Mono.Security.Protocol.Tls.CipherSuiteCollection::IndexOf(System.Int16)
extern "C" IL2CPP_METHOD_ATTR int32_t CipherSuiteCollection_IndexOf_m2770510321 (CipherSuiteCollection_t1129639304 * __this, int16_t ___code0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CipherSuiteCollection_IndexOf_m2770510321_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
CipherSuite_t3414744575 * V_1 = NULL;
RuntimeObject* V_2 = NULL;
int32_t V_3 = 0;
RuntimeObject* V_4 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
{
V_0 = 0;
ArrayList_t2718874744 * L_0 = __this->get_cipherSuites_0();
RuntimeObject* L_1 = VirtFuncInvoker0< RuntimeObject* >::Invoke(43 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_0);
V_2 = L_1;
}
IL_000e:
try
{ // begin try (depth: 1)
{
goto IL_0036;
}
IL_0013:
{
RuntimeObject* L_2 = V_2;
RuntimeObject * L_3 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(0 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, L_2);
V_1 = ((CipherSuite_t3414744575 *)CastclassClass((RuntimeObject*)L_3, CipherSuite_t3414744575_il2cpp_TypeInfo_var));
CipherSuite_t3414744575 * L_4 = V_1;
int16_t L_5 = CipherSuite_get_Code_m3847824475(L_4, /*hidden argument*/NULL);
int16_t L_6 = ___code0;
if ((!(((uint32_t)L_5) == ((uint32_t)L_6))))
{
goto IL_0032;
}
}
IL_002b:
{
int32_t L_7 = V_0;
V_3 = L_7;
IL2CPP_LEAVE(0x5D, FINALLY_0046);
}
IL_0032:
{
int32_t L_8 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1));
}
IL_0036:
{
RuntimeObject* L_9 = V_2;
bool L_10 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, L_9);
if (L_10)
{
goto IL_0013;
}
}
IL_0041:
{
IL2CPP_LEAVE(0x5B, FINALLY_0046);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0046;
}
FINALLY_0046:
{ // begin finally (depth: 1)
{
RuntimeObject* L_11 = V_2;
V_4 = ((RuntimeObject*)IsInst((RuntimeObject*)L_11, IDisposable_t3640265483_il2cpp_TypeInfo_var));
RuntimeObject* L_12 = V_4;
if (L_12)
{
goto IL_0053;
}
}
IL_0052:
{
IL2CPP_END_FINALLY(70)
}
IL_0053:
{
RuntimeObject* L_13 = V_4;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, L_13);
IL2CPP_END_FINALLY(70)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(70)
{
IL2CPP_JUMP_TBL(0x5D, IL_005d)
IL2CPP_JUMP_TBL(0x5B, IL_005b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_005b:
{
return (-1);
}
IL_005d:
{
int32_t L_14 = V_3;
return L_14;
}
}
// Mono.Security.Protocol.Tls.CipherSuite Mono.Security.Protocol.Tls.CipherSuiteCollection::Add(System.Int16,System.String,Mono.Security.Protocol.Tls.CipherAlgorithmType,Mono.Security.Protocol.Tls.HashAlgorithmType,Mono.Security.Protocol.Tls.ExchangeAlgorithmType,System.Boolean,System.Boolean,System.Byte,System.Byte,System.Int16,System.Byte,System.Byte)
extern "C" IL2CPP_METHOD_ATTR CipherSuite_t3414744575 * CipherSuiteCollection_Add_m2046232751 (CipherSuiteCollection_t1129639304 * __this, int16_t ___code0, String_t* ___name1, int32_t ___cipherType2, int32_t ___hashType3, int32_t ___exchangeType4, bool ___exportable5, bool ___blockMode6, uint8_t ___keyMaterialSize7, uint8_t ___expandedKeyMaterialSize8, int16_t ___effectiveKeyBytes9, uint8_t ___ivSize10, uint8_t ___blockSize11, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CipherSuiteCollection_Add_m2046232751_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
int32_t L_0 = __this->get_protocol_1();
V_0 = L_0;
int32_t L_1 = V_0;
if ((((int32_t)L_1) == ((int32_t)((int32_t)-1073741824))))
{
goto IL_0032;
}
}
{
int32_t L_2 = V_0;
if ((((int32_t)L_2) == ((int32_t)((int32_t)12))))
{
goto IL_0074;
}
}
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) == ((int32_t)((int32_t)48))))
{
goto IL_0053;
}
}
{
int32_t L_4 = V_0;
if ((((int32_t)L_4) == ((int32_t)((int32_t)192))))
{
goto IL_0032;
}
}
{
goto IL_0074;
}
IL_0032:
{
int16_t L_5 = ___code0;
String_t* L_6 = ___name1;
int32_t L_7 = ___cipherType2;
int32_t L_8 = ___hashType3;
int32_t L_9 = ___exchangeType4;
bool L_10 = ___exportable5;
bool L_11 = ___blockMode6;
uint8_t L_12 = ___keyMaterialSize7;
uint8_t L_13 = ___expandedKeyMaterialSize8;
int16_t L_14 = ___effectiveKeyBytes9;
uint8_t L_15 = ___ivSize10;
uint8_t L_16 = ___blockSize11;
TlsCipherSuite_t1545013223 * L_17 = (TlsCipherSuite_t1545013223 *)il2cpp_codegen_object_new(TlsCipherSuite_t1545013223_il2cpp_TypeInfo_var);
TlsCipherSuite__ctor_m3580955828(L_17, L_5, L_6, L_7, L_8, L_9, L_10, L_11, L_12, L_13, L_14, L_15, L_16, /*hidden argument*/NULL);
TlsCipherSuite_t1545013223 * L_18 = CipherSuiteCollection_add_m3005595589(__this, L_17, /*hidden argument*/NULL);
return L_18;
}
IL_0053:
{
int16_t L_19 = ___code0;
String_t* L_20 = ___name1;
int32_t L_21 = ___cipherType2;
int32_t L_22 = ___hashType3;
int32_t L_23 = ___exchangeType4;
bool L_24 = ___exportable5;
bool L_25 = ___blockMode6;
uint8_t L_26 = ___keyMaterialSize7;
uint8_t L_27 = ___expandedKeyMaterialSize8;
int16_t L_28 = ___effectiveKeyBytes9;
uint8_t L_29 = ___ivSize10;
uint8_t L_30 = ___blockSize11;
SslCipherSuite_t1981645747 * L_31 = (SslCipherSuite_t1981645747 *)il2cpp_codegen_object_new(SslCipherSuite_t1981645747_il2cpp_TypeInfo_var);
SslCipherSuite__ctor_m1470082018(L_31, L_19, L_20, L_21, L_22, L_23, L_24, L_25, L_26, L_27, L_28, L_29, L_30, /*hidden argument*/NULL);
SslCipherSuite_t1981645747 * L_32 = CipherSuiteCollection_add_m1422128145(__this, L_31, /*hidden argument*/NULL);
return L_32;
}
IL_0074:
{
NotSupportedException_t1314879016 * L_33 = (NotSupportedException_t1314879016 *)il2cpp_codegen_object_new(NotSupportedException_t1314879016_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m2494070935(L_33, _stringLiteral2024143041, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_33, NULL, CipherSuiteCollection_Add_m2046232751_RuntimeMethod_var);
}
}
// Mono.Security.Protocol.Tls.TlsCipherSuite Mono.Security.Protocol.Tls.CipherSuiteCollection::add(Mono.Security.Protocol.Tls.TlsCipherSuite)
extern "C" IL2CPP_METHOD_ATTR TlsCipherSuite_t1545013223 * CipherSuiteCollection_add_m3005595589 (CipherSuiteCollection_t1129639304 * __this, TlsCipherSuite_t1545013223 * ___cipherSuite0, const RuntimeMethod* method)
{
{
ArrayList_t2718874744 * L_0 = __this->get_cipherSuites_0();
TlsCipherSuite_t1545013223 * L_1 = ___cipherSuite0;
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_0, L_1);
TlsCipherSuite_t1545013223 * L_2 = ___cipherSuite0;
return L_2;
}
}
// Mono.Security.Protocol.Tls.SslCipherSuite Mono.Security.Protocol.Tls.CipherSuiteCollection::add(Mono.Security.Protocol.Tls.SslCipherSuite)
extern "C" IL2CPP_METHOD_ATTR SslCipherSuite_t1981645747 * CipherSuiteCollection_add_m1422128145 (CipherSuiteCollection_t1129639304 * __this, SslCipherSuite_t1981645747 * ___cipherSuite0, const RuntimeMethod* method)
{
{
ArrayList_t2718874744 * L_0 = __this->get_cipherSuites_0();
SslCipherSuite_t1981645747 * L_1 = ___cipherSuite0;
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_0, L_1);
SslCipherSuite_t1981645747 * L_2 = ___cipherSuite0;
return L_2;
}
}
// System.Boolean Mono.Security.Protocol.Tls.CipherSuiteCollection::cultureAwareCompare(System.String,System.String)
extern "C" IL2CPP_METHOD_ATTR bool CipherSuiteCollection_cultureAwareCompare_m2072548979 (CipherSuiteCollection_t1129639304 * __this, String_t* ___strA0, String_t* ___strB1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CipherSuiteCollection_cultureAwareCompare_m2072548979_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t G_B3_0 = 0;
{
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t4157843068_il2cpp_TypeInfo_var);
CultureInfo_t4157843068 * L_0 = CultureInfo_get_CurrentCulture_m1632690660(NULL /*static, unused*/, /*hidden argument*/NULL);
CompareInfo_t1092934962 * L_1 = VirtFuncInvoker0< CompareInfo_t1092934962 * >::Invoke(11 /* System.Globalization.CompareInfo System.Globalization.CultureInfo::get_CompareInfo() */, L_0);
String_t* L_2 = ___strA0;
String_t* L_3 = ___strB1;
int32_t L_4 = VirtFuncInvoker3< int32_t, String_t*, String_t*, int32_t >::Invoke(6 /* System.Int32 System.Globalization.CompareInfo::Compare(System.String,System.String,System.Globalization.CompareOptions) */, L_1, L_2, L_3, ((int32_t)25));
if (L_4)
{
goto IL_001e;
}
}
{
G_B3_0 = 1;
goto IL_001f;
}
IL_001e:
{
G_B3_0 = 0;
}
IL_001f:
{
return (bool)G_B3_0;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Mono.Security.Protocol.Tls.CipherSuiteCollection Mono.Security.Protocol.Tls.CipherSuiteFactory::GetSupportedCiphers(Mono.Security.Protocol.Tls.SecurityProtocolType)
extern "C" IL2CPP_METHOD_ATTR CipherSuiteCollection_t1129639304 * CipherSuiteFactory_GetSupportedCiphers_m3260014148 (RuntimeObject * __this /* static, unused */, int32_t ___protocol0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CipherSuiteFactory_GetSupportedCiphers_m3260014148_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
int32_t L_0 = ___protocol0;
V_0 = L_0;
int32_t L_1 = V_0;
if ((((int32_t)L_1) == ((int32_t)((int32_t)-1073741824))))
{
goto IL_002d;
}
}
{
int32_t L_2 = V_0;
if ((((int32_t)L_2) == ((int32_t)((int32_t)12))))
{
goto IL_0039;
}
}
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) == ((int32_t)((int32_t)48))))
{
goto IL_0033;
}
}
{
int32_t L_4 = V_0;
if ((((int32_t)L_4) == ((int32_t)((int32_t)192))))
{
goto IL_002d;
}
}
{
goto IL_0039;
}
IL_002d:
{
CipherSuiteCollection_t1129639304 * L_5 = CipherSuiteFactory_GetTls1SupportedCiphers_m3691819504(NULL /*static, unused*/, /*hidden argument*/NULL);
return L_5;
}
IL_0033:
{
CipherSuiteCollection_t1129639304 * L_6 = CipherSuiteFactory_GetSsl3SupportedCiphers_m3757358569(NULL /*static, unused*/, /*hidden argument*/NULL);
return L_6;
}
IL_0039:
{
NotSupportedException_t1314879016 * L_7 = (NotSupportedException_t1314879016 *)il2cpp_codegen_object_new(NotSupportedException_t1314879016_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m2494070935(L_7, _stringLiteral3034282783, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, NULL, CipherSuiteFactory_GetSupportedCiphers_m3260014148_RuntimeMethod_var);
}
}
// Mono.Security.Protocol.Tls.CipherSuiteCollection Mono.Security.Protocol.Tls.CipherSuiteFactory::GetTls1SupportedCiphers()
extern "C" IL2CPP_METHOD_ATTR CipherSuiteCollection_t1129639304 * CipherSuiteFactory_GetTls1SupportedCiphers_m3691819504 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CipherSuiteFactory_GetTls1SupportedCiphers_m3691819504_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
CipherSuiteCollection_t1129639304 * V_0 = NULL;
{
CipherSuiteCollection_t1129639304 * L_0 = (CipherSuiteCollection_t1129639304 *)il2cpp_codegen_object_new(CipherSuiteCollection_t1129639304_il2cpp_TypeInfo_var);
CipherSuiteCollection__ctor_m384434353(L_0, ((int32_t)192), /*hidden argument*/NULL);
V_0 = L_0;
CipherSuiteCollection_t1129639304 * L_1 = V_0;
CipherSuiteCollection_Add_m2046232751(L_1, (int16_t)((int32_t)53), _stringLiteral2728941485, 4, 2, 3, (bool)0, (bool)1, (uint8_t)((int32_t)32), (uint8_t)((int32_t)32), (int16_t)((int32_t)256), (uint8_t)((int32_t)16), (uint8_t)((int32_t)16), /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_2 = V_0;
CipherSuiteCollection_Add_m2046232751(L_2, (int16_t)((int32_t)47), _stringLiteral1174641524, 4, 2, 3, (bool)0, (bool)1, (uint8_t)((int32_t)16), (uint8_t)((int32_t)16), (int16_t)((int32_t)128), (uint8_t)((int32_t)16), (uint8_t)((int32_t)16), /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_3 = V_0;
CipherSuiteCollection_Add_m2046232751(L_3, (int16_t)((int32_t)10), _stringLiteral1749648451, 6, 2, 3, (bool)0, (bool)1, (uint8_t)((int32_t)24), (uint8_t)((int32_t)24), (int16_t)((int32_t)168), (uint8_t)8, (uint8_t)8, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_4 = V_0;
CipherSuiteCollection_Add_m2046232751(L_4, (int16_t)5, _stringLiteral2927991799, 3, 2, 3, (bool)0, (bool)0, (uint8_t)((int32_t)16), (uint8_t)((int32_t)16), (int16_t)((int32_t)128), (uint8_t)0, (uint8_t)0, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_5 = V_0;
CipherSuiteCollection_Add_m2046232751(L_5, (int16_t)4, _stringLiteral945956019, 3, 0, 3, (bool)0, (bool)0, (uint8_t)((int32_t)16), (uint8_t)((int32_t)16), (int16_t)((int32_t)128), (uint8_t)0, (uint8_t)0, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_6 = V_0;
CipherSuiteCollection_Add_m2046232751(L_6, (int16_t)((int32_t)9), _stringLiteral4284309600, 0, 2, 3, (bool)0, (bool)1, (uint8_t)8, (uint8_t)8, (int16_t)((int32_t)56), (uint8_t)8, (uint8_t)8, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_7 = V_0;
CipherSuiteCollection_Add_m2046232751(L_7, (int16_t)3, _stringLiteral3499506080, 3, 0, 3, (bool)1, (bool)0, (uint8_t)5, (uint8_t)((int32_t)16), (int16_t)((int32_t)40), (uint8_t)0, (uint8_t)0, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_8 = V_0;
CipherSuiteCollection_Add_m2046232751(L_8, (int16_t)6, _stringLiteral1938928454, 2, 0, 3, (bool)1, (bool)1, (uint8_t)5, (uint8_t)((int32_t)16), (int16_t)((int32_t)40), (uint8_t)8, (uint8_t)8, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_9 = V_0;
CipherSuiteCollection_Add_m2046232751(L_9, (int16_t)8, _stringLiteral1063943309, 0, 2, 3, (bool)1, (bool)1, (uint8_t)5, (uint8_t)8, (int16_t)((int32_t)40), (uint8_t)8, (uint8_t)8, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_10 = V_0;
CipherSuiteCollection_Add_m2046232751(L_10, (int16_t)((int32_t)96), _stringLiteral3486530047, 3, 0, 3, (bool)1, (bool)0, (uint8_t)7, (uint8_t)((int32_t)16), (int16_t)((int32_t)56), (uint8_t)0, (uint8_t)0, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_11 = V_0;
CipherSuiteCollection_Add_m2046232751(L_11, (int16_t)((int32_t)97), _stringLiteral1927525029, 2, 0, 3, (bool)1, (bool)1, (uint8_t)7, (uint8_t)((int32_t)16), (int16_t)((int32_t)56), (uint8_t)8, (uint8_t)8, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_12 = V_0;
CipherSuiteCollection_Add_m2046232751(L_12, (int16_t)((int32_t)98), _stringLiteral2791101299, 0, 2, 3, (bool)1, (bool)1, (uint8_t)8, (uint8_t)8, (int16_t)((int32_t)64), (uint8_t)8, (uint8_t)8, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_13 = V_0;
CipherSuiteCollection_Add_m2046232751(L_13, (int16_t)((int32_t)100), _stringLiteral2047228403, 3, 2, 3, (bool)1, (bool)0, (uint8_t)7, (uint8_t)((int32_t)16), (int16_t)((int32_t)56), (uint8_t)0, (uint8_t)0, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_14 = V_0;
return L_14;
}
}
// Mono.Security.Protocol.Tls.CipherSuiteCollection Mono.Security.Protocol.Tls.CipherSuiteFactory::GetSsl3SupportedCiphers()
extern "C" IL2CPP_METHOD_ATTR CipherSuiteCollection_t1129639304 * CipherSuiteFactory_GetSsl3SupportedCiphers_m3757358569 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CipherSuiteFactory_GetSsl3SupportedCiphers_m3757358569_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
CipherSuiteCollection_t1129639304 * V_0 = NULL;
{
CipherSuiteCollection_t1129639304 * L_0 = (CipherSuiteCollection_t1129639304 *)il2cpp_codegen_object_new(CipherSuiteCollection_t1129639304_il2cpp_TypeInfo_var);
CipherSuiteCollection__ctor_m384434353(L_0, ((int32_t)48), /*hidden argument*/NULL);
V_0 = L_0;
CipherSuiteCollection_t1129639304 * L_1 = V_0;
CipherSuiteCollection_Add_m2046232751(L_1, (int16_t)((int32_t)53), _stringLiteral3622179847, 4, 2, 3, (bool)0, (bool)1, (uint8_t)((int32_t)32), (uint8_t)((int32_t)32), (int16_t)((int32_t)256), (uint8_t)((int32_t)16), (uint8_t)((int32_t)16), /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_2 = V_0;
CipherSuiteCollection_Add_m2046232751(L_2, (int16_t)((int32_t)10), _stringLiteral3519915121, 6, 2, 3, (bool)0, (bool)1, (uint8_t)((int32_t)24), (uint8_t)((int32_t)24), (int16_t)((int32_t)168), (uint8_t)8, (uint8_t)8, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_3 = V_0;
CipherSuiteCollection_Add_m2046232751(L_3, (int16_t)5, _stringLiteral3746471772, 3, 2, 3, (bool)0, (bool)0, (uint8_t)((int32_t)16), (uint8_t)((int32_t)16), (int16_t)((int32_t)128), (uint8_t)0, (uint8_t)0, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_4 = V_0;
CipherSuiteCollection_Add_m2046232751(L_4, (int16_t)4, _stringLiteral1306161608, 3, 0, 3, (bool)0, (bool)0, (uint8_t)((int32_t)16), (uint8_t)((int32_t)16), (int16_t)((int32_t)128), (uint8_t)0, (uint8_t)0, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_5 = V_0;
CipherSuiteCollection_Add_m2046232751(L_5, (int16_t)((int32_t)9), _stringLiteral3387223069, 0, 2, 3, (bool)0, (bool)1, (uint8_t)8, (uint8_t)8, (int16_t)((int32_t)56), (uint8_t)8, (uint8_t)8, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_6 = V_0;
CipherSuiteCollection_Add_m2046232751(L_6, (int16_t)3, _stringLiteral123659953, 3, 0, 3, (bool)1, (bool)0, (uint8_t)5, (uint8_t)((int32_t)16), (int16_t)((int32_t)40), (uint8_t)0, (uint8_t)0, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_7 = V_0;
CipherSuiteCollection_Add_m2046232751(L_7, (int16_t)6, _stringLiteral2217280364, 2, 0, 3, (bool)1, (bool)1, (uint8_t)5, (uint8_t)((int32_t)16), (int16_t)((int32_t)40), (uint8_t)8, (uint8_t)8, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_8 = V_0;
CipherSuiteCollection_Add_m2046232751(L_8, (int16_t)8, _stringLiteral969659244, 0, 2, 3, (bool)1, (bool)1, (uint8_t)5, (uint8_t)8, (int16_t)((int32_t)40), (uint8_t)8, (uint8_t)8, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_9 = V_0;
CipherSuiteCollection_Add_m2046232751(L_9, (int16_t)((int32_t)96), _stringLiteral127985362, 3, 0, 3, (bool)1, (bool)0, (uint8_t)7, (uint8_t)((int32_t)16), (int16_t)((int32_t)56), (uint8_t)0, (uint8_t)0, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_10 = V_0;
CipherSuiteCollection_Add_m2046232751(L_10, (int16_t)((int32_t)97), _stringLiteral2198012883, 2, 0, 3, (bool)1, (bool)1, (uint8_t)7, (uint8_t)((int32_t)16), (int16_t)((int32_t)56), (uint8_t)8, (uint8_t)8, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_11 = V_0;
CipherSuiteCollection_Add_m2046232751(L_11, (int16_t)((int32_t)98), _stringLiteral1238132549, 0, 2, 3, (bool)1, (bool)1, (uint8_t)8, (uint8_t)8, (int16_t)((int32_t)64), (uint8_t)8, (uint8_t)8, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_12 = V_0;
CipherSuiteCollection_Add_m2046232751(L_12, (int16_t)((int32_t)100), _stringLiteral1282074326, 3, 2, 3, (bool)1, (bool)0, (uint8_t)7, (uint8_t)((int32_t)16), (int16_t)((int32_t)56), (uint8_t)0, (uint8_t)0, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_13 = V_0;
return L_13;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.ClientContext::.ctor(Mono.Security.Protocol.Tls.SslClientStream,Mono.Security.Protocol.Tls.SecurityProtocolType,System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection)
extern "C" IL2CPP_METHOD_ATTR void ClientContext__ctor_m3993227749 (ClientContext_t2797401965 * __this, SslClientStream_t3914624661 * ___stream0, int32_t ___securityProtocolType1, String_t* ___targetHost2, X509CertificateCollection_t3399372417 * ___clientCertificates3, const RuntimeMethod* method)
{
{
int32_t L_0 = ___securityProtocolType1;
Context__ctor_m1288667393(__this, L_0, /*hidden argument*/NULL);
SslClientStream_t3914624661 * L_1 = ___stream0;
__this->set_sslStream_30(L_1);
TlsClientSettings_t2486039503 * L_2 = Context_get_ClientSettings_m2874391194(__this, /*hidden argument*/NULL);
X509CertificateCollection_t3399372417 * L_3 = ___clientCertificates3;
TlsClientSettings_set_Certificates_m3887201895(L_2, L_3, /*hidden argument*/NULL);
TlsClientSettings_t2486039503 * L_4 = Context_get_ClientSettings_m2874391194(__this, /*hidden argument*/NULL);
String_t* L_5 = ___targetHost2;
TlsClientSettings_set_TargetHost_m3350021121(L_4, L_5, /*hidden argument*/NULL);
return;
}
}
// Mono.Security.Protocol.Tls.SslClientStream Mono.Security.Protocol.Tls.ClientContext::get_SslStream()
extern "C" IL2CPP_METHOD_ATTR SslClientStream_t3914624661 * ClientContext_get_SslStream_m1583577309 (ClientContext_t2797401965 * __this, const RuntimeMethod* method)
{
{
SslClientStream_t3914624661 * L_0 = __this->get_sslStream_30();
return L_0;
}
}
// System.Int16 Mono.Security.Protocol.Tls.ClientContext::get_ClientHelloProtocol()
extern "C" IL2CPP_METHOD_ATTR int16_t ClientContext_get_ClientHelloProtocol_m1654639078 (ClientContext_t2797401965 * __this, const RuntimeMethod* method)
{
{
int16_t L_0 = __this->get_clientHelloProtocol_31();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.ClientContext::set_ClientHelloProtocol(System.Int16)
extern "C" IL2CPP_METHOD_ATTR void ClientContext_set_ClientHelloProtocol_m4189379912 (ClientContext_t2797401965 * __this, int16_t ___value0, const RuntimeMethod* method)
{
{
int16_t L_0 = ___value0;
__this->set_clientHelloProtocol_31(L_0);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.ClientContext::Clear()
extern "C" IL2CPP_METHOD_ATTR void ClientContext_Clear_m1774063253 (ClientContext_t2797401965 * __this, const RuntimeMethod* method)
{
{
__this->set_clientHelloProtocol_31((int16_t)0);
Context_Clear_m2678836033(__this, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.ClientRecordProtocol::.ctor(System.IO.Stream,Mono.Security.Protocol.Tls.ClientContext)
extern "C" IL2CPP_METHOD_ATTR void ClientRecordProtocol__ctor_m2839844778 (ClientRecordProtocol_t2031137796 * __this, Stream_t1273022909 * ___innerStream0, ClientContext_t2797401965 * ___context1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ClientRecordProtocol__ctor_m2839844778_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Stream_t1273022909 * L_0 = ___innerStream0;
ClientContext_t2797401965 * L_1 = ___context1;
IL2CPP_RUNTIME_CLASS_INIT(RecordProtocol_t3759049701_il2cpp_TypeInfo_var);
RecordProtocol__ctor_m1695232390(__this, L_0, L_1, /*hidden argument*/NULL);
return;
}
}
// Mono.Security.Protocol.Tls.Handshake.HandshakeMessage Mono.Security.Protocol.Tls.ClientRecordProtocol::GetMessage(Mono.Security.Protocol.Tls.Handshake.HandshakeType)
extern "C" IL2CPP_METHOD_ATTR HandshakeMessage_t3696583168 * ClientRecordProtocol_GetMessage_m797000123 (ClientRecordProtocol_t2031137796 * __this, uint8_t ___type0, const RuntimeMethod* method)
{
HandshakeMessage_t3696583168 * V_0 = NULL;
{
uint8_t L_0 = ___type0;
HandshakeMessage_t3696583168 * L_1 = ClientRecordProtocol_createClientHandshakeMessage_m3325677558(__this, L_0, /*hidden argument*/NULL);
V_0 = L_1;
HandshakeMessage_t3696583168 * L_2 = V_0;
return L_2;
}
}
// System.Void Mono.Security.Protocol.Tls.ClientRecordProtocol::ProcessHandshakeMessage(Mono.Security.Protocol.Tls.TlsStream)
extern "C" IL2CPP_METHOD_ATTR void ClientRecordProtocol_ProcessHandshakeMessage_m1002991731 (ClientRecordProtocol_t2031137796 * __this, TlsStream_t2365453965 * ___handMsg0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ClientRecordProtocol_ProcessHandshakeMessage_m1002991731_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
uint8_t V_0 = 0;
HandshakeMessage_t3696583168 * V_1 = NULL;
int32_t V_2 = 0;
ByteU5BU5D_t4116647657* V_3 = NULL;
{
TlsStream_t2365453965 * L_0 = ___handMsg0;
uint8_t L_1 = TlsStream_ReadByte_m3396126844(L_0, /*hidden argument*/NULL);
V_0 = L_1;
V_1 = (HandshakeMessage_t3696583168 *)NULL;
TlsStream_t2365453965 * L_2 = ___handMsg0;
int32_t L_3 = TlsStream_ReadInt24_m3096782201(L_2, /*hidden argument*/NULL);
V_2 = L_3;
V_3 = (ByteU5BU5D_t4116647657*)NULL;
int32_t L_4 = V_2;
if ((((int32_t)L_4) <= ((int32_t)0)))
{
goto IL_002a;
}
}
{
int32_t L_5 = V_2;
ByteU5BU5D_t4116647657* L_6 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_5);
V_3 = L_6;
TlsStream_t2365453965 * L_7 = ___handMsg0;
ByteU5BU5D_t4116647657* L_8 = V_3;
int32_t L_9 = V_2;
VirtFuncInvoker3< int32_t, ByteU5BU5D_t4116647657*, int32_t, int32_t >::Invoke(14 /* System.Int32 Mono.Security.Protocol.Tls.TlsStream::Read(System.Byte[],System.Int32,System.Int32) */, L_7, L_8, 0, L_9);
}
IL_002a:
{
uint8_t L_10 = V_0;
ByteU5BU5D_t4116647657* L_11 = V_3;
HandshakeMessage_t3696583168 * L_12 = ClientRecordProtocol_createServerHandshakeMessage_m2804371400(__this, L_10, L_11, /*hidden argument*/NULL);
V_1 = L_12;
HandshakeMessage_t3696583168 * L_13 = V_1;
if (!L_13)
{
goto IL_003f;
}
}
{
HandshakeMessage_t3696583168 * L_14 = V_1;
HandshakeMessage_Process_m810828609(L_14, /*hidden argument*/NULL);
}
IL_003f:
{
Context_t3971234707 * L_15 = RecordProtocol_get_Context_m3273611300(__this, /*hidden argument*/NULL);
uint8_t L_16 = V_0;
Context_set_LastHandshakeMsg_m1770618067(L_15, L_16, /*hidden argument*/NULL);
HandshakeMessage_t3696583168 * L_17 = V_1;
if (!L_17)
{
goto IL_0095;
}
}
{
HandshakeMessage_t3696583168 * L_18 = V_1;
VirtActionInvoker0::Invoke(26 /* System.Void Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::Update() */, L_18);
Context_t3971234707 * L_19 = RecordProtocol_get_Context_m3273611300(__this, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_20 = Context_get_HandshakeMessages_m3655705111(L_19, /*hidden argument*/NULL);
uint8_t L_21 = V_0;
VirtActionInvoker1< uint8_t >::Invoke(19 /* System.Void System.IO.Stream::WriteByte(System.Byte) */, L_20, L_21);
Context_t3971234707 * L_22 = RecordProtocol_get_Context_m3273611300(__this, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_23 = Context_get_HandshakeMessages_m3655705111(L_22, /*hidden argument*/NULL);
int32_t L_24 = V_2;
TlsStream_WriteInt24_m58952549(L_23, L_24, /*hidden argument*/NULL);
int32_t L_25 = V_2;
if ((((int32_t)L_25) <= ((int32_t)0)))
{
goto IL_0095;
}
}
{
Context_t3971234707 * L_26 = RecordProtocol_get_Context_m3273611300(__this, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_27 = Context_get_HandshakeMessages_m3655705111(L_26, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_28 = V_3;
ByteU5BU5D_t4116647657* L_29 = V_3;
VirtActionInvoker3< ByteU5BU5D_t4116647657*, int32_t, int32_t >::Invoke(18 /* System.Void Mono.Security.Protocol.Tls.TlsStream::Write(System.Byte[],System.Int32,System.Int32) */, L_27, L_28, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_29)->max_length)))));
}
IL_0095:
{
return;
}
}
// Mono.Security.Protocol.Tls.Handshake.HandshakeMessage Mono.Security.Protocol.Tls.ClientRecordProtocol::createClientHandshakeMessage(Mono.Security.Protocol.Tls.Handshake.HandshakeType)
extern "C" IL2CPP_METHOD_ATTR HandshakeMessage_t3696583168 * ClientRecordProtocol_createClientHandshakeMessage_m3325677558 (ClientRecordProtocol_t2031137796 * __this, uint8_t ___type0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ClientRecordProtocol_createClientHandshakeMessage_m3325677558_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
uint8_t V_0 = 0;
{
uint8_t L_0 = ___type0;
V_0 = L_0;
uint8_t L_1 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_1, (int32_t)((int32_t)15))))
{
case 0:
{
goto IL_005b;
}
case 1:
{
goto IL_004f;
}
case 2:
{
goto IL_0023;
}
case 3:
{
goto IL_0023;
}
case 4:
{
goto IL_0023;
}
case 5:
{
goto IL_0067;
}
}
}
IL_0023:
{
uint8_t L_2 = V_0;
if ((((int32_t)L_2) == ((int32_t)1)))
{
goto IL_0037;
}
}
{
uint8_t L_3 = V_0;
if ((((int32_t)L_3) == ((int32_t)((int32_t)11))))
{
goto IL_0043;
}
}
{
goto IL_0073;
}
IL_0037:
{
Context_t3971234707 * L_4 = ((RecordProtocol_t3759049701 *)__this)->get_context_2();
TlsClientHello_t97965998 * L_5 = (TlsClientHello_t97965998 *)il2cpp_codegen_object_new(TlsClientHello_t97965998_il2cpp_TypeInfo_var);
TlsClientHello__ctor_m1986768336(L_5, L_4, /*hidden argument*/NULL);
return L_5;
}
IL_0043:
{
Context_t3971234707 * L_6 = ((RecordProtocol_t3759049701 *)__this)->get_context_2();
TlsClientCertificate_t3519510577 * L_7 = (TlsClientCertificate_t3519510577 *)il2cpp_codegen_object_new(TlsClientCertificate_t3519510577_il2cpp_TypeInfo_var);
TlsClientCertificate__ctor_m101524132(L_7, L_6, /*hidden argument*/NULL);
return L_7;
}
IL_004f:
{
Context_t3971234707 * L_8 = ((RecordProtocol_t3759049701 *)__this)->get_context_2();
TlsClientKeyExchange_t643923608 * L_9 = (TlsClientKeyExchange_t643923608 *)il2cpp_codegen_object_new(TlsClientKeyExchange_t643923608_il2cpp_TypeInfo_var);
TlsClientKeyExchange__ctor_m31786095(L_9, L_8, /*hidden argument*/NULL);
return L_9;
}
IL_005b:
{
Context_t3971234707 * L_10 = ((RecordProtocol_t3759049701 *)__this)->get_context_2();
TlsClientCertificateVerify_t1824902654 * L_11 = (TlsClientCertificateVerify_t1824902654 *)il2cpp_codegen_object_new(TlsClientCertificateVerify_t1824902654_il2cpp_TypeInfo_var);
TlsClientCertificateVerify__ctor_m1589614281(L_11, L_10, /*hidden argument*/NULL);
return L_11;
}
IL_0067:
{
Context_t3971234707 * L_12 = ((RecordProtocol_t3759049701 *)__this)->get_context_2();
TlsClientFinished_t2486981163 * L_13 = (TlsClientFinished_t2486981163 *)il2cpp_codegen_object_new(TlsClientFinished_t2486981163_il2cpp_TypeInfo_var);
TlsClientFinished__ctor_m399357014(L_13, L_12, /*hidden argument*/NULL);
return L_13;
}
IL_0073:
{
uint8_t L_14 = ___type0;
uint8_t L_15 = L_14;
RuntimeObject * L_16 = Box(HandshakeType_t3062346172_il2cpp_TypeInfo_var, &L_15);
String_t* L_17 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Enum::ToString() */, (Enum_t4135868527 *)L_16);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_18 = String_Concat_m3937257545(NULL /*static, unused*/, _stringLiteral1510332022, L_17, /*hidden argument*/NULL);
InvalidOperationException_t56020091 * L_19 = (InvalidOperationException_t56020091 *)il2cpp_codegen_object_new(InvalidOperationException_t56020091_il2cpp_TypeInfo_var);
InvalidOperationException__ctor_m237278729(L_19, L_18, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_19, NULL, ClientRecordProtocol_createClientHandshakeMessage_m3325677558_RuntimeMethod_var);
}
}
// Mono.Security.Protocol.Tls.Handshake.HandshakeMessage Mono.Security.Protocol.Tls.ClientRecordProtocol::createServerHandshakeMessage(Mono.Security.Protocol.Tls.Handshake.HandshakeType,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR HandshakeMessage_t3696583168 * ClientRecordProtocol_createServerHandshakeMessage_m2804371400 (ClientRecordProtocol_t2031137796 * __this, uint8_t ___type0, ByteU5BU5D_t4116647657* ___buffer1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ClientRecordProtocol_createServerHandshakeMessage_m2804371400_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ClientContext_t2797401965 * V_0 = NULL;
uint8_t V_1 = 0;
{
Context_t3971234707 * L_0 = ((RecordProtocol_t3759049701 *)__this)->get_context_2();
V_0 = ((ClientContext_t2797401965 *)CastclassClass((RuntimeObject*)L_0, ClientContext_t2797401965_il2cpp_TypeInfo_var));
uint8_t L_1 = ___type0;
V_1 = L_1;
uint8_t L_2 = V_1;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)((int32_t)11))))
{
case 0:
{
goto IL_0086;
}
case 1:
{
goto IL_0093;
}
case 2:
{
goto IL_00a0;
}
case 3:
{
goto IL_00ad;
}
case 4:
{
goto IL_003f;
}
case 5:
{
goto IL_003f;
}
case 6:
{
goto IL_003f;
}
case 7:
{
goto IL_003f;
}
case 8:
{
goto IL_003f;
}
case 9:
{
goto IL_00ba;
}
}
}
IL_003f:
{
uint8_t L_3 = V_1;
switch (L_3)
{
case 0:
{
goto IL_0056;
}
case 1:
{
goto IL_00c7;
}
case 2:
{
goto IL_0079;
}
}
}
{
goto IL_00c7;
}
IL_0056:
{
ClientContext_t2797401965 * L_4 = V_0;
int32_t L_5 = Context_get_HandshakeState_m2425796590(L_4, /*hidden argument*/NULL);
if ((((int32_t)L_5) == ((int32_t)1)))
{
goto IL_006e;
}
}
{
ClientContext_t2797401965 * L_6 = V_0;
Context_set_HandshakeState_m1329976135(L_6, 0, /*hidden argument*/NULL);
goto IL_0077;
}
IL_006e:
{
RecordProtocol_SendAlert_m2670098001(__this, 1, ((int32_t)100), /*hidden argument*/NULL);
}
IL_0077:
{
return (HandshakeMessage_t3696583168 *)NULL;
}
IL_0079:
{
Context_t3971234707 * L_7 = ((RecordProtocol_t3759049701 *)__this)->get_context_2();
ByteU5BU5D_t4116647657* L_8 = ___buffer1;
TlsServerHello_t3343859594 * L_9 = (TlsServerHello_t3343859594 *)il2cpp_codegen_object_new(TlsServerHello_t3343859594_il2cpp_TypeInfo_var);
TlsServerHello__ctor_m3887266572(L_9, L_7, L_8, /*hidden argument*/NULL);
return L_9;
}
IL_0086:
{
Context_t3971234707 * L_10 = ((RecordProtocol_t3759049701 *)__this)->get_context_2();
ByteU5BU5D_t4116647657* L_11 = ___buffer1;
TlsServerCertificate_t2716496392 * L_12 = (TlsServerCertificate_t2716496392 *)il2cpp_codegen_object_new(TlsServerCertificate_t2716496392_il2cpp_TypeInfo_var);
TlsServerCertificate__ctor_m389328097(L_12, L_10, L_11, /*hidden argument*/NULL);
return L_12;
}
IL_0093:
{
Context_t3971234707 * L_13 = ((RecordProtocol_t3759049701 *)__this)->get_context_2();
ByteU5BU5D_t4116647657* L_14 = ___buffer1;
TlsServerKeyExchange_t699469151 * L_15 = (TlsServerKeyExchange_t699469151 *)il2cpp_codegen_object_new(TlsServerKeyExchange_t699469151_il2cpp_TypeInfo_var);
TlsServerKeyExchange__ctor_m3572942737(L_15, L_13, L_14, /*hidden argument*/NULL);
return L_15;
}
IL_00a0:
{
Context_t3971234707 * L_16 = ((RecordProtocol_t3759049701 *)__this)->get_context_2();
ByteU5BU5D_t4116647657* L_17 = ___buffer1;
TlsServerCertificateRequest_t3690397592 * L_18 = (TlsServerCertificateRequest_t3690397592 *)il2cpp_codegen_object_new(TlsServerCertificateRequest_t3690397592_il2cpp_TypeInfo_var);
TlsServerCertificateRequest__ctor_m1334974076(L_18, L_16, L_17, /*hidden argument*/NULL);
return L_18;
}
IL_00ad:
{
Context_t3971234707 * L_19 = ((RecordProtocol_t3759049701 *)__this)->get_context_2();
ByteU5BU5D_t4116647657* L_20 = ___buffer1;
TlsServerHelloDone_t1850379324 * L_21 = (TlsServerHelloDone_t1850379324 *)il2cpp_codegen_object_new(TlsServerHelloDone_t1850379324_il2cpp_TypeInfo_var);
TlsServerHelloDone__ctor_m173627900(L_21, L_19, L_20, /*hidden argument*/NULL);
return L_21;
}
IL_00ba:
{
Context_t3971234707 * L_22 = ((RecordProtocol_t3759049701 *)__this)->get_context_2();
ByteU5BU5D_t4116647657* L_23 = ___buffer1;
TlsServerFinished_t3860330041 * L_24 = (TlsServerFinished_t3860330041 *)il2cpp_codegen_object_new(TlsServerFinished_t3860330041_il2cpp_TypeInfo_var);
TlsServerFinished__ctor_m1445633918(L_24, L_22, L_23, /*hidden argument*/NULL);
return L_24;
}
IL_00c7:
{
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t4157843068_il2cpp_TypeInfo_var);
CultureInfo_t4157843068 * L_25 = CultureInfo_get_CurrentUICulture_m959203371(NULL /*static, unused*/, /*hidden argument*/NULL);
ObjectU5BU5D_t2843939325* L_26 = (ObjectU5BU5D_t2843939325*)SZArrayNew(ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var, (uint32_t)1);
ObjectU5BU5D_t2843939325* L_27 = L_26;
uint8_t L_28 = ___type0;
uint8_t L_29 = L_28;
RuntimeObject * L_30 = Box(HandshakeType_t3062346172_il2cpp_TypeInfo_var, &L_29);
String_t* L_31 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Enum::ToString() */, (Enum_t4135868527 *)L_30);
ArrayElementTypeCheck (L_27, L_31);
(L_27)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_31);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_32 = String_Format_m1881875187(NULL /*static, unused*/, L_25, _stringLiteral54796683, L_27, /*hidden argument*/NULL);
TlsException_t3534743363 * L_33 = (TlsException_t3534743363 *)il2cpp_codegen_object_new(TlsException_t3534743363_il2cpp_TypeInfo_var);
TlsException__ctor_m3242533711(L_33, ((int32_t)10), L_32, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_33, NULL, ClientRecordProtocol_createServerHandshakeMessage_m2804371400_RuntimeMethod_var);
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.ClientSessionCache::.cctor()
extern "C" IL2CPP_METHOD_ATTR void ClientSessionCache__cctor_m1380704214 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ClientSessionCache__cctor_m1380704214_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Hashtable_t1853889766 * L_0 = (Hashtable_t1853889766 *)il2cpp_codegen_object_new(Hashtable_t1853889766_il2cpp_TypeInfo_var);
Hashtable__ctor_m1815022027(L_0, /*hidden argument*/NULL);
((ClientSessionCache_t2353595803_StaticFields*)il2cpp_codegen_static_fields_for(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var))->set_cache_0(L_0);
RuntimeObject * L_1 = (RuntimeObject *)il2cpp_codegen_object_new(RuntimeObject_il2cpp_TypeInfo_var);
Object__ctor_m297566312(L_1, /*hidden argument*/NULL);
((ClientSessionCache_t2353595803_StaticFields*)il2cpp_codegen_static_fields_for(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var))->set_locker_1(L_1);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.ClientSessionCache::Add(System.String,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void ClientSessionCache_Add_m964342678 (RuntimeObject * __this /* static, unused */, String_t* ___host0, ByteU5BU5D_t4116647657* ___id1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ClientSessionCache_Add_m964342678_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject * V_0 = NULL;
String_t* V_1 = NULL;
ClientSessionInfo_t1775821398 * V_2 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
{
IL2CPP_RUNTIME_CLASS_INIT(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var);
RuntimeObject * L_0 = ((ClientSessionCache_t2353595803_StaticFields*)il2cpp_codegen_static_fields_for(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var))->get_locker_1();
V_0 = L_0;
RuntimeObject * L_1 = V_0;
Monitor_Enter_m2249409497(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
}
IL_000c:
try
{ // begin try (depth: 1)
{
ByteU5BU5D_t4116647657* L_2 = ___id1;
IL2CPP_RUNTIME_CLASS_INIT(BitConverter_t3118986983_il2cpp_TypeInfo_var);
String_t* L_3 = BitConverter_ToString_m3464863163(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
V_1 = L_3;
IL2CPP_RUNTIME_CLASS_INIT(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var);
Hashtable_t1853889766 * L_4 = ((ClientSessionCache_t2353595803_StaticFields*)il2cpp_codegen_static_fields_for(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var))->get_cache_0();
String_t* L_5 = V_1;
RuntimeObject * L_6 = VirtFuncInvoker1< RuntimeObject *, RuntimeObject * >::Invoke(22 /* System.Object System.Collections.Hashtable::get_Item(System.Object) */, L_4, L_5);
V_2 = ((ClientSessionInfo_t1775821398 *)CastclassClass((RuntimeObject*)L_6, ClientSessionInfo_t1775821398_il2cpp_TypeInfo_var));
ClientSessionInfo_t1775821398 * L_7 = V_2;
if (L_7)
{
goto IL_0041;
}
}
IL_002a:
{
IL2CPP_RUNTIME_CLASS_INIT(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var);
Hashtable_t1853889766 * L_8 = ((ClientSessionCache_t2353595803_StaticFields*)il2cpp_codegen_static_fields_for(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var))->get_cache_0();
String_t* L_9 = V_1;
String_t* L_10 = ___host0;
ByteU5BU5D_t4116647657* L_11 = ___id1;
ClientSessionInfo_t1775821398 * L_12 = (ClientSessionInfo_t1775821398 *)il2cpp_codegen_object_new(ClientSessionInfo_t1775821398_il2cpp_TypeInfo_var);
ClientSessionInfo__ctor_m2436192270(L_12, L_10, L_11, /*hidden argument*/NULL);
VirtActionInvoker2< RuntimeObject *, RuntimeObject * >::Invoke(25 /* System.Void System.Collections.Hashtable::Add(System.Object,System.Object) */, L_8, L_9, L_12);
goto IL_0080;
}
IL_0041:
{
ClientSessionInfo_t1775821398 * L_13 = V_2;
String_t* L_14 = ClientSessionInfo_get_HostName_m2118440995(L_13, /*hidden argument*/NULL);
String_t* L_15 = ___host0;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
bool L_16 = String_op_Equality_m920492651(NULL /*static, unused*/, L_14, L_15, /*hidden argument*/NULL);
if (!L_16)
{
goto IL_005d;
}
}
IL_0052:
{
ClientSessionInfo_t1775821398 * L_17 = V_2;
ClientSessionInfo_KeepAlive_m1020179566(L_17, /*hidden argument*/NULL);
goto IL_0080;
}
IL_005d:
{
ClientSessionInfo_t1775821398 * L_18 = V_2;
ClientSessionInfo_Dispose_m1535509451(L_18, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var);
Hashtable_t1853889766 * L_19 = ((ClientSessionCache_t2353595803_StaticFields*)il2cpp_codegen_static_fields_for(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var))->get_cache_0();
String_t* L_20 = V_1;
VirtActionInvoker1< RuntimeObject * >::Invoke(29 /* System.Void System.Collections.Hashtable::Remove(System.Object) */, L_19, L_20);
Hashtable_t1853889766 * L_21 = ((ClientSessionCache_t2353595803_StaticFields*)il2cpp_codegen_static_fields_for(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var))->get_cache_0();
String_t* L_22 = V_1;
String_t* L_23 = ___host0;
ByteU5BU5D_t4116647657* L_24 = ___id1;
ClientSessionInfo_t1775821398 * L_25 = (ClientSessionInfo_t1775821398 *)il2cpp_codegen_object_new(ClientSessionInfo_t1775821398_il2cpp_TypeInfo_var);
ClientSessionInfo__ctor_m2436192270(L_25, L_23, L_24, /*hidden argument*/NULL);
VirtActionInvoker2< RuntimeObject *, RuntimeObject * >::Invoke(25 /* System.Void System.Collections.Hashtable::Add(System.Object,System.Object) */, L_21, L_22, L_25);
}
IL_0080:
{
IL2CPP_LEAVE(0x8C, FINALLY_0085);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0085;
}
FINALLY_0085:
{ // begin finally (depth: 1)
RuntimeObject * L_26 = V_0;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_26, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(133)
} // end finally (depth: 1)
IL2CPP_CLEANUP(133)
{
IL2CPP_JUMP_TBL(0x8C, IL_008c)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_008c:
{
return;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.ClientSessionCache::FromHost(System.String)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* ClientSessionCache_FromHost_m273325760 (RuntimeObject * __this /* static, unused */, String_t* ___host0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ClientSessionCache_FromHost_m273325760_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject * V_0 = NULL;
ClientSessionInfo_t1775821398 * V_1 = NULL;
RuntimeObject* V_2 = NULL;
ByteU5BU5D_t4116647657* V_3 = NULL;
RuntimeObject* V_4 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
{
IL2CPP_RUNTIME_CLASS_INIT(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var);
RuntimeObject * L_0 = ((ClientSessionCache_t2353595803_StaticFields*)il2cpp_codegen_static_fields_for(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var))->get_locker_1();
V_0 = L_0;
RuntimeObject * L_1 = V_0;
Monitor_Enter_m2249409497(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
}
IL_000c:
try
{ // begin try (depth: 1)
{
IL2CPP_RUNTIME_CLASS_INIT(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var);
Hashtable_t1853889766 * L_2 = ((ClientSessionCache_t2353595803_StaticFields*)il2cpp_codegen_static_fields_for(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var))->get_cache_0();
RuntimeObject* L_3 = VirtFuncInvoker0< RuntimeObject* >::Invoke(21 /* System.Collections.ICollection System.Collections.Hashtable::get_Values() */, L_2);
RuntimeObject* L_4 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.IEnumerator System.Collections.IEnumerable::GetEnumerator() */, IEnumerable_t1941168011_il2cpp_TypeInfo_var, L_3);
V_2 = L_4;
}
IL_001c:
try
{ // begin try (depth: 2)
{
goto IL_005b;
}
IL_0021:
{
RuntimeObject* L_5 = V_2;
RuntimeObject * L_6 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(0 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, L_5);
V_1 = ((ClientSessionInfo_t1775821398 *)CastclassClass((RuntimeObject*)L_6, ClientSessionInfo_t1775821398_il2cpp_TypeInfo_var));
ClientSessionInfo_t1775821398 * L_7 = V_1;
String_t* L_8 = ClientSessionInfo_get_HostName_m2118440995(L_7, /*hidden argument*/NULL);
String_t* L_9 = ___host0;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
bool L_10 = String_op_Equality_m920492651(NULL /*static, unused*/, L_8, L_9, /*hidden argument*/NULL);
if (!L_10)
{
goto IL_005b;
}
}
IL_003e:
{
ClientSessionInfo_t1775821398 * L_11 = V_1;
bool L_12 = ClientSessionInfo_get_Valid_m1260893789(L_11, /*hidden argument*/NULL);
if (!L_12)
{
goto IL_005b;
}
}
IL_0049:
{
ClientSessionInfo_t1775821398 * L_13 = V_1;
ClientSessionInfo_KeepAlive_m1020179566(L_13, /*hidden argument*/NULL);
ClientSessionInfo_t1775821398 * L_14 = V_1;
ByteU5BU5D_t4116647657* L_15 = ClientSessionInfo_get_Id_m2119140021(L_14, /*hidden argument*/NULL);
V_3 = L_15;
IL2CPP_LEAVE(0x93, FINALLY_006b);
}
IL_005b:
{
RuntimeObject* L_16 = V_2;
bool L_17 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, L_16);
if (L_17)
{
goto IL_0021;
}
}
IL_0066:
{
IL2CPP_LEAVE(0x80, FINALLY_006b);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_006b;
}
FINALLY_006b:
{ // begin finally (depth: 2)
{
RuntimeObject* L_18 = V_2;
V_4 = ((RuntimeObject*)IsInst((RuntimeObject*)L_18, IDisposable_t3640265483_il2cpp_TypeInfo_var));
RuntimeObject* L_19 = V_4;
if (L_19)
{
goto IL_0078;
}
}
IL_0077:
{
IL2CPP_END_FINALLY(107)
}
IL_0078:
{
RuntimeObject* L_20 = V_4;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, L_20);
IL2CPP_END_FINALLY(107)
}
} // end finally (depth: 2)
IL2CPP_CLEANUP(107)
{
IL2CPP_END_CLEANUP(0x93, FINALLY_008c);
IL2CPP_JUMP_TBL(0x80, IL_0080)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0080:
{
V_3 = (ByteU5BU5D_t4116647657*)NULL;
IL2CPP_LEAVE(0x93, FINALLY_008c);
}
IL_0087:
{
; // IL_0087: leave IL_0093
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_008c;
}
FINALLY_008c:
{ // begin finally (depth: 1)
RuntimeObject * L_21 = V_0;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_21, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(140)
} // end finally (depth: 1)
IL2CPP_CLEANUP(140)
{
IL2CPP_JUMP_TBL(0x93, IL_0093)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0093:
{
ByteU5BU5D_t4116647657* L_22 = V_3;
return L_22;
}
}
// Mono.Security.Protocol.Tls.ClientSessionInfo Mono.Security.Protocol.Tls.ClientSessionCache::FromContext(Mono.Security.Protocol.Tls.Context,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR ClientSessionInfo_t1775821398 * ClientSessionCache_FromContext_m343076119 (RuntimeObject * __this /* static, unused */, Context_t3971234707 * ___context0, bool ___checkValidity1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ClientSessionCache_FromContext_m343076119_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_t4116647657* V_0 = NULL;
String_t* V_1 = NULL;
ClientSessionInfo_t1775821398 * V_2 = NULL;
{
Context_t3971234707 * L_0 = ___context0;
if (L_0)
{
goto IL_0008;
}
}
{
return (ClientSessionInfo_t1775821398 *)NULL;
}
IL_0008:
{
Context_t3971234707 * L_1 = ___context0;
ByteU5BU5D_t4116647657* L_2 = Context_get_SessionId_m1086671147(L_1, /*hidden argument*/NULL);
V_0 = L_2;
ByteU5BU5D_t4116647657* L_3 = V_0;
if (!L_3)
{
goto IL_001d;
}
}
{
ByteU5BU5D_t4116647657* L_4 = V_0;
if ((((int32_t)((int32_t)(((RuntimeArray *)L_4)->max_length)))))
{
goto IL_001f;
}
}
IL_001d:
{
return (ClientSessionInfo_t1775821398 *)NULL;
}
IL_001f:
{
ByteU5BU5D_t4116647657* L_5 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(BitConverter_t3118986983_il2cpp_TypeInfo_var);
String_t* L_6 = BitConverter_ToString_m3464863163(NULL /*static, unused*/, L_5, /*hidden argument*/NULL);
V_1 = L_6;
IL2CPP_RUNTIME_CLASS_INIT(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var);
Hashtable_t1853889766 * L_7 = ((ClientSessionCache_t2353595803_StaticFields*)il2cpp_codegen_static_fields_for(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var))->get_cache_0();
String_t* L_8 = V_1;
RuntimeObject * L_9 = VirtFuncInvoker1< RuntimeObject *, RuntimeObject * >::Invoke(22 /* System.Object System.Collections.Hashtable::get_Item(System.Object) */, L_7, L_8);
V_2 = ((ClientSessionInfo_t1775821398 *)CastclassClass((RuntimeObject*)L_9, ClientSessionInfo_t1775821398_il2cpp_TypeInfo_var));
ClientSessionInfo_t1775821398 * L_10 = V_2;
if (L_10)
{
goto IL_003f;
}
}
{
return (ClientSessionInfo_t1775821398 *)NULL;
}
IL_003f:
{
Context_t3971234707 * L_11 = ___context0;
TlsClientSettings_t2486039503 * L_12 = Context_get_ClientSettings_m2874391194(L_11, /*hidden argument*/NULL);
String_t* L_13 = TlsClientSettings_get_TargetHost_m2463481414(L_12, /*hidden argument*/NULL);
ClientSessionInfo_t1775821398 * L_14 = V_2;
String_t* L_15 = ClientSessionInfo_get_HostName_m2118440995(L_14, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
bool L_16 = String_op_Inequality_m215368492(NULL /*static, unused*/, L_13, L_15, /*hidden argument*/NULL);
if (!L_16)
{
goto IL_005c;
}
}
{
return (ClientSessionInfo_t1775821398 *)NULL;
}
IL_005c:
{
bool L_17 = ___checkValidity1;
if (!L_17)
{
goto IL_0080;
}
}
{
ClientSessionInfo_t1775821398 * L_18 = V_2;
bool L_19 = ClientSessionInfo_get_Valid_m1260893789(L_18, /*hidden argument*/NULL);
if (L_19)
{
goto IL_0080;
}
}
{
ClientSessionInfo_t1775821398 * L_20 = V_2;
ClientSessionInfo_Dispose_m1535509451(L_20, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var);
Hashtable_t1853889766 * L_21 = ((ClientSessionCache_t2353595803_StaticFields*)il2cpp_codegen_static_fields_for(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var))->get_cache_0();
String_t* L_22 = V_1;
VirtActionInvoker1< RuntimeObject * >::Invoke(29 /* System.Void System.Collections.Hashtable::Remove(System.Object) */, L_21, L_22);
return (ClientSessionInfo_t1775821398 *)NULL;
}
IL_0080:
{
ClientSessionInfo_t1775821398 * L_23 = V_2;
return L_23;
}
}
// System.Boolean Mono.Security.Protocol.Tls.ClientSessionCache::SetContextInCache(Mono.Security.Protocol.Tls.Context)
extern "C" IL2CPP_METHOD_ATTR bool ClientSessionCache_SetContextInCache_m2875733100 (RuntimeObject * __this /* static, unused */, Context_t3971234707 * ___context0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ClientSessionCache_SetContextInCache_m2875733100_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject * V_0 = NULL;
ClientSessionInfo_t1775821398 * V_1 = NULL;
bool V_2 = false;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
{
IL2CPP_RUNTIME_CLASS_INIT(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var);
RuntimeObject * L_0 = ((ClientSessionCache_t2353595803_StaticFields*)il2cpp_codegen_static_fields_for(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var))->get_locker_1();
V_0 = L_0;
RuntimeObject * L_1 = V_0;
Monitor_Enter_m2249409497(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
}
IL_000c:
try
{ // begin try (depth: 1)
{
Context_t3971234707 * L_2 = ___context0;
IL2CPP_RUNTIME_CLASS_INIT(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var);
ClientSessionInfo_t1775821398 * L_3 = ClientSessionCache_FromContext_m343076119(NULL /*static, unused*/, L_2, (bool)0, /*hidden argument*/NULL);
V_1 = L_3;
ClientSessionInfo_t1775821398 * L_4 = V_1;
if (L_4)
{
goto IL_0021;
}
}
IL_001a:
{
V_2 = (bool)0;
IL2CPP_LEAVE(0x41, FINALLY_003a);
}
IL_0021:
{
ClientSessionInfo_t1775821398 * L_5 = V_1;
Context_t3971234707 * L_6 = ___context0;
ClientSessionInfo_GetContext_m1679628259(L_5, L_6, /*hidden argument*/NULL);
ClientSessionInfo_t1775821398 * L_7 = V_1;
ClientSessionInfo_KeepAlive_m1020179566(L_7, /*hidden argument*/NULL);
V_2 = (bool)1;
IL2CPP_LEAVE(0x41, FINALLY_003a);
}
IL_0035:
{
; // IL_0035: leave IL_0041
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_003a;
}
FINALLY_003a:
{ // begin finally (depth: 1)
RuntimeObject * L_8 = V_0;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_8, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(58)
} // end finally (depth: 1)
IL2CPP_CLEANUP(58)
{
IL2CPP_JUMP_TBL(0x41, IL_0041)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0041:
{
bool L_9 = V_2;
return L_9;
}
}
// System.Boolean Mono.Security.Protocol.Tls.ClientSessionCache::SetContextFromCache(Mono.Security.Protocol.Tls.Context)
extern "C" IL2CPP_METHOD_ATTR bool ClientSessionCache_SetContextFromCache_m3781380849 (RuntimeObject * __this /* static, unused */, Context_t3971234707 * ___context0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ClientSessionCache_SetContextFromCache_m3781380849_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject * V_0 = NULL;
ClientSessionInfo_t1775821398 * V_1 = NULL;
bool V_2 = false;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
{
IL2CPP_RUNTIME_CLASS_INIT(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var);
RuntimeObject * L_0 = ((ClientSessionCache_t2353595803_StaticFields*)il2cpp_codegen_static_fields_for(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var))->get_locker_1();
V_0 = L_0;
RuntimeObject * L_1 = V_0;
Monitor_Enter_m2249409497(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
}
IL_000c:
try
{ // begin try (depth: 1)
{
Context_t3971234707 * L_2 = ___context0;
IL2CPP_RUNTIME_CLASS_INIT(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var);
ClientSessionInfo_t1775821398 * L_3 = ClientSessionCache_FromContext_m343076119(NULL /*static, unused*/, L_2, (bool)1, /*hidden argument*/NULL);
V_1 = L_3;
ClientSessionInfo_t1775821398 * L_4 = V_1;
if (L_4)
{
goto IL_0021;
}
}
IL_001a:
{
V_2 = (bool)0;
IL2CPP_LEAVE(0x41, FINALLY_003a);
}
IL_0021:
{
ClientSessionInfo_t1775821398 * L_5 = V_1;
Context_t3971234707 * L_6 = ___context0;
ClientSessionInfo_SetContext_m2115875186(L_5, L_6, /*hidden argument*/NULL);
ClientSessionInfo_t1775821398 * L_7 = V_1;
ClientSessionInfo_KeepAlive_m1020179566(L_7, /*hidden argument*/NULL);
V_2 = (bool)1;
IL2CPP_LEAVE(0x41, FINALLY_003a);
}
IL_0035:
{
; // IL_0035: leave IL_0041
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_003a;
}
FINALLY_003a:
{ // begin finally (depth: 1)
RuntimeObject * L_8 = V_0;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_8, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(58)
} // end finally (depth: 1)
IL2CPP_CLEANUP(58)
{
IL2CPP_JUMP_TBL(0x41, IL_0041)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0041:
{
bool L_9 = V_2;
return L_9;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.ClientSessionInfo::.ctor(System.String,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void ClientSessionInfo__ctor_m2436192270 (ClientSessionInfo_t1775821398 * __this, String_t* ___hostname0, ByteU5BU5D_t4116647657* ___id1, const RuntimeMethod* method)
{
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
String_t* L_0 = ___hostname0;
__this->set_host_3(L_0);
ByteU5BU5D_t4116647657* L_1 = ___id1;
__this->set_sid_4(L_1);
ClientSessionInfo_KeepAlive_m1020179566(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.ClientSessionInfo::.cctor()
extern "C" IL2CPP_METHOD_ATTR void ClientSessionInfo__cctor_m1143076802 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ClientSessionInfo__cctor_m1143076802_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
{
String_t* L_0 = Environment_GetEnvironmentVariable_m394552009(NULL /*static, unused*/, _stringLiteral1601143795, /*hidden argument*/NULL);
V_0 = L_0;
String_t* L_1 = V_0;
if (L_1)
{
goto IL_0020;
}
}
{
((ClientSessionInfo_t1775821398_StaticFields*)il2cpp_codegen_static_fields_for(ClientSessionInfo_t1775821398_il2cpp_TypeInfo_var))->set_ValidityInterval_0(((int32_t)180));
goto IL_0040;
}
IL_0020:
try
{ // begin try (depth: 1)
String_t* L_2 = V_0;
int32_t L_3 = Int32_Parse_m1033611559(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
((ClientSessionInfo_t1775821398_StaticFields*)il2cpp_codegen_static_fields_for(ClientSessionInfo_t1775821398_il2cpp_TypeInfo_var))->set_ValidityInterval_0(L_3);
goto IL_0040;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (RuntimeObject_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0030;
throw e;
}
CATCH_0030:
{ // begin catch(System.Object)
((ClientSessionInfo_t1775821398_StaticFields*)il2cpp_codegen_static_fields_for(ClientSessionInfo_t1775821398_il2cpp_TypeInfo_var))->set_ValidityInterval_0(((int32_t)180));
goto IL_0040;
} // end catch (depth: 1)
IL_0040:
{
return;
}
}
// System.Void Mono.Security.Protocol.Tls.ClientSessionInfo::Finalize()
extern "C" IL2CPP_METHOD_ATTR void ClientSessionInfo_Finalize_m2165787049 (ClientSessionInfo_t1775821398 * __this, const RuntimeMethod* method)
{
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
IL_0000:
try
{ // begin try (depth: 1)
ClientSessionInfo_Dispose_m3253728296(__this, (bool)0, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x13, FINALLY_000c);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000c;
}
FINALLY_000c:
{ // begin finally (depth: 1)
Object_Finalize_m3076187857(__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_t *)
}
IL_0013:
{
return;
}
}
// System.String Mono.Security.Protocol.Tls.ClientSessionInfo::get_HostName()
extern "C" IL2CPP_METHOD_ATTR String_t* ClientSessionInfo_get_HostName_m2118440995 (ClientSessionInfo_t1775821398 * __this, const RuntimeMethod* method)
{
{
String_t* L_0 = __this->get_host_3();
return L_0;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.ClientSessionInfo::get_Id()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* ClientSessionInfo_get_Id_m2119140021 (ClientSessionInfo_t1775821398 * __this, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = __this->get_sid_4();
return L_0;
}
}
// System.Boolean Mono.Security.Protocol.Tls.ClientSessionInfo::get_Valid()
extern "C" IL2CPP_METHOD_ATTR bool ClientSessionInfo_get_Valid_m1260893789 (ClientSessionInfo_t1775821398 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ClientSessionInfo_get_Valid_m1260893789_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t G_B3_0 = 0;
{
ByteU5BU5D_t4116647657* L_0 = __this->get_masterSecret_5();
if (!L_0)
{
goto IL_001d;
}
}
{
DateTime_t3738529785 L_1 = __this->get_validuntil_2();
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t3738529785_il2cpp_TypeInfo_var);
DateTime_t3738529785 L_2 = DateTime_get_UtcNow_m1393945741(NULL /*static, unused*/, /*hidden argument*/NULL);
bool L_3 = DateTime_op_GreaterThan_m3768590082(NULL /*static, unused*/, L_1, L_2, /*hidden argument*/NULL);
G_B3_0 = ((int32_t)(L_3));
goto IL_001e;
}
IL_001d:
{
G_B3_0 = 0;
}
IL_001e:
{
return (bool)G_B3_0;
}
}
// System.Void Mono.Security.Protocol.Tls.ClientSessionInfo::GetContext(Mono.Security.Protocol.Tls.Context)
extern "C" IL2CPP_METHOD_ATTR void ClientSessionInfo_GetContext_m1679628259 (ClientSessionInfo_t1775821398 * __this, Context_t3971234707 * ___context0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ClientSessionInfo_GetContext_m1679628259_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ClientSessionInfo_CheckDisposed_m1172439856(__this, /*hidden argument*/NULL);
Context_t3971234707 * L_0 = ___context0;
ByteU5BU5D_t4116647657* L_1 = Context_get_MasterSecret_m676083615(L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0027;
}
}
{
Context_t3971234707 * L_2 = ___context0;
ByteU5BU5D_t4116647657* L_3 = Context_get_MasterSecret_m676083615(L_2, /*hidden argument*/NULL);
RuntimeObject * L_4 = Array_Clone_m2672907798((RuntimeArray *)(RuntimeArray *)L_3, /*hidden argument*/NULL);
__this->set_masterSecret_5(((ByteU5BU5D_t4116647657*)Castclass((RuntimeObject*)L_4, ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var)));
}
IL_0027:
{
return;
}
}
// System.Void Mono.Security.Protocol.Tls.ClientSessionInfo::SetContext(Mono.Security.Protocol.Tls.Context)
extern "C" IL2CPP_METHOD_ATTR void ClientSessionInfo_SetContext_m2115875186 (ClientSessionInfo_t1775821398 * __this, Context_t3971234707 * ___context0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ClientSessionInfo_SetContext_m2115875186_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ClientSessionInfo_CheckDisposed_m1172439856(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_0 = __this->get_masterSecret_5();
if (!L_0)
{
goto IL_0027;
}
}
{
Context_t3971234707 * L_1 = ___context0;
ByteU5BU5D_t4116647657* L_2 = __this->get_masterSecret_5();
RuntimeObject * L_3 = Array_Clone_m2672907798((RuntimeArray *)(RuntimeArray *)L_2, /*hidden argument*/NULL);
Context_set_MasterSecret_m3419105191(L_1, ((ByteU5BU5D_t4116647657*)Castclass((RuntimeObject*)L_3, ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
}
IL_0027:
{
return;
}
}
// System.Void Mono.Security.Protocol.Tls.ClientSessionInfo::KeepAlive()
extern "C" IL2CPP_METHOD_ATTR void ClientSessionInfo_KeepAlive_m1020179566 (ClientSessionInfo_t1775821398 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ClientSessionInfo_KeepAlive_m1020179566_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
DateTime_t3738529785 V_0;
memset(&V_0, 0, sizeof(V_0));
{
ClientSessionInfo_CheckDisposed_m1172439856(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t3738529785_il2cpp_TypeInfo_var);
DateTime_t3738529785 L_0 = DateTime_get_UtcNow_m1393945741(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = L_0;
IL2CPP_RUNTIME_CLASS_INIT(ClientSessionInfo_t1775821398_il2cpp_TypeInfo_var);
int32_t L_1 = ((ClientSessionInfo_t1775821398_StaticFields*)il2cpp_codegen_static_fields_for(ClientSessionInfo_t1775821398_il2cpp_TypeInfo_var))->get_ValidityInterval_0();
DateTime_t3738529785 L_2 = DateTime_AddSeconds_m332574389((DateTime_t3738529785 *)(&V_0), (((double)((double)L_1))), /*hidden argument*/NULL);
__this->set_validuntil_2(L_2);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.ClientSessionInfo::Dispose()
extern "C" IL2CPP_METHOD_ATTR void ClientSessionInfo_Dispose_m1535509451 (ClientSessionInfo_t1775821398 * __this, const RuntimeMethod* method)
{
{
ClientSessionInfo_Dispose_m3253728296(__this, (bool)1, /*hidden argument*/NULL);
GC_SuppressFinalize_m1177400158(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.ClientSessionInfo::Dispose(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void ClientSessionInfo_Dispose_m3253728296 (ClientSessionInfo_t1775821398 * __this, bool ___disposing0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ClientSessionInfo_Dispose_m3253728296_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = __this->get_disposed_1();
if (L_0)
{
goto IL_004a;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t3738529785_il2cpp_TypeInfo_var);
DateTime_t3738529785 L_1 = ((DateTime_t3738529785_StaticFields*)il2cpp_codegen_static_fields_for(DateTime_t3738529785_il2cpp_TypeInfo_var))->get_MinValue_3();
__this->set_validuntil_2(L_1);
__this->set_host_3((String_t*)NULL);
__this->set_sid_4((ByteU5BU5D_t4116647657*)NULL);
ByteU5BU5D_t4116647657* L_2 = __this->get_masterSecret_5();
if (!L_2)
{
goto IL_004a;
}
}
{
ByteU5BU5D_t4116647657* L_3 = __this->get_masterSecret_5();
ByteU5BU5D_t4116647657* L_4 = __this->get_masterSecret_5();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_3, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_4)->max_length)))), /*hidden argument*/NULL);
__this->set_masterSecret_5((ByteU5BU5D_t4116647657*)NULL);
}
IL_004a:
{
__this->set_disposed_1((bool)1);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.ClientSessionInfo::CheckDisposed()
extern "C" IL2CPP_METHOD_ATTR void ClientSessionInfo_CheckDisposed_m1172439856 (ClientSessionInfo_t1775821398 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ClientSessionInfo_CheckDisposed_m1172439856_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
{
bool L_0 = __this->get_disposed_1();
if (!L_0)
{
goto IL_001d;
}
}
{
String_t* L_1 = Locale_GetText_m3520169047(NULL /*static, unused*/, _stringLiteral3430462705, /*hidden argument*/NULL);
V_0 = L_1;
String_t* L_2 = V_0;
ObjectDisposedException_t21392786 * L_3 = (ObjectDisposedException_t21392786 *)il2cpp_codegen_object_new(ObjectDisposedException_t21392786_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m3603759869(L_3, L_2, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, ClientSessionInfo_CheckDisposed_m1172439856_RuntimeMethod_var);
}
IL_001d:
{
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.Context::.ctor(Mono.Security.Protocol.Tls.SecurityProtocolType)
extern "C" IL2CPP_METHOD_ATTR void Context__ctor_m1288667393 (Context_t3971234707 * __this, int32_t ___securityProtocolType0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Context__ctor_m1288667393_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
int32_t L_0 = ___securityProtocolType0;
Context_set_SecurityProtocol_m2833661610(__this, L_0, /*hidden argument*/NULL);
__this->set_compressionMethod_2(0);
TlsServerSettings_t4144396432 * L_1 = (TlsServerSettings_t4144396432 *)il2cpp_codegen_object_new(TlsServerSettings_t4144396432_il2cpp_TypeInfo_var);
TlsServerSettings__ctor_m373357120(L_1, /*hidden argument*/NULL);
__this->set_serverSettings_3(L_1);
TlsClientSettings_t2486039503 * L_2 = (TlsClientSettings_t2486039503 *)il2cpp_codegen_object_new(TlsClientSettings_t2486039503_il2cpp_TypeInfo_var);
TlsClientSettings__ctor_m3220697265(L_2, /*hidden argument*/NULL);
__this->set_clientSettings_4(L_2);
TlsStream_t2365453965 * L_3 = (TlsStream_t2365453965 *)il2cpp_codegen_object_new(TlsStream_t2365453965_il2cpp_TypeInfo_var);
TlsStream__ctor_m787793111(L_3, /*hidden argument*/NULL);
__this->set_handshakeMessages_27(L_3);
__this->set_sessionId_1((ByteU5BU5D_t4116647657*)NULL);
__this->set_handshakeState_11(0);
RandomNumberGenerator_t386037858 * L_4 = RandomNumberGenerator_Create_m4162970280(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_random_28(L_4);
return;
}
}
// System.Boolean Mono.Security.Protocol.Tls.Context::get_AbbreviatedHandshake()
extern "C" IL2CPP_METHOD_ATTR bool Context_get_AbbreviatedHandshake_m3907920227 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
{
bool L_0 = __this->get_abbreviatedHandshake_12();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.Context::set_AbbreviatedHandshake(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Context_set_AbbreviatedHandshake_m827173393 (Context_t3971234707 * __this, bool ___value0, const RuntimeMethod* method)
{
{
bool L_0 = ___value0;
__this->set_abbreviatedHandshake_12(L_0);
return;
}
}
// System.Boolean Mono.Security.Protocol.Tls.Context::get_ProtocolNegotiated()
extern "C" IL2CPP_METHOD_ATTR bool Context_get_ProtocolNegotiated_m4220412840 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
{
bool L_0 = __this->get_protocolNegotiated_15();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.Context::set_ProtocolNegotiated(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Context_set_ProtocolNegotiated_m2904861662 (Context_t3971234707 * __this, bool ___value0, const RuntimeMethod* method)
{
{
bool L_0 = ___value0;
__this->set_protocolNegotiated_15(L_0);
return;
}
}
// Mono.Security.Protocol.Tls.SecurityProtocolType Mono.Security.Protocol.Tls.Context::get_SecurityProtocol()
extern "C" IL2CPP_METHOD_ATTR int32_t Context_get_SecurityProtocol_m3228286292 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Context_get_SecurityProtocol_m3228286292_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = __this->get_securityProtocol_0();
if ((((int32_t)((int32_t)((int32_t)L_0&(int32_t)((int32_t)192)))) == ((int32_t)((int32_t)192))))
{
goto IL_002c;
}
}
{
int32_t L_1 = __this->get_securityProtocol_0();
if ((!(((uint32_t)((int32_t)((int32_t)L_1&(int32_t)((int32_t)-1073741824)))) == ((uint32_t)((int32_t)-1073741824)))))
{
goto IL_0032;
}
}
IL_002c:
{
return (int32_t)(((int32_t)192));
}
IL_0032:
{
int32_t L_2 = __this->get_securityProtocol_0();
if ((!(((uint32_t)((int32_t)((int32_t)L_2&(int32_t)((int32_t)48)))) == ((uint32_t)((int32_t)48)))))
{
goto IL_0045;
}
}
{
return (int32_t)(((int32_t)48));
}
IL_0045:
{
NotSupportedException_t1314879016 * L_3 = (NotSupportedException_t1314879016 *)il2cpp_codegen_object_new(NotSupportedException_t1314879016_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m2494070935(L_3, _stringLiteral3034282783, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, Context_get_SecurityProtocol_m3228286292_RuntimeMethod_var);
}
}
// System.Void Mono.Security.Protocol.Tls.Context::set_SecurityProtocol(Mono.Security.Protocol.Tls.SecurityProtocolType)
extern "C" IL2CPP_METHOD_ATTR void Context_set_SecurityProtocol_m2833661610 (Context_t3971234707 * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___value0;
__this->set_securityProtocol_0(L_0);
return;
}
}
// Mono.Security.Protocol.Tls.SecurityProtocolType Mono.Security.Protocol.Tls.Context::get_SecurityProtocolFlags()
extern "C" IL2CPP_METHOD_ATTR int32_t Context_get_SecurityProtocolFlags_m2022471746 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_securityProtocol_0();
return L_0;
}
}
// System.Int16 Mono.Security.Protocol.Tls.Context::get_Protocol()
extern "C" IL2CPP_METHOD_ATTR int16_t Context_get_Protocol_m1078422015 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Context_get_Protocol_m1078422015_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
int32_t L_0 = Context_get_SecurityProtocol_m3228286292(__this, /*hidden argument*/NULL);
V_0 = L_0;
int32_t L_1 = V_0;
if ((((int32_t)L_1) == ((int32_t)((int32_t)-1073741824))))
{
goto IL_0032;
}
}
{
int32_t L_2 = V_0;
if ((((int32_t)L_2) == ((int32_t)((int32_t)12))))
{
goto IL_003e;
}
}
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) == ((int32_t)((int32_t)48))))
{
goto IL_0038;
}
}
{
int32_t L_4 = V_0;
if ((((int32_t)L_4) == ((int32_t)((int32_t)192))))
{
goto IL_0032;
}
}
{
goto IL_003e;
}
IL_0032:
{
return (int16_t)((int32_t)769);
}
IL_0038:
{
return (int16_t)((int32_t)768);
}
IL_003e:
{
NotSupportedException_t1314879016 * L_5 = (NotSupportedException_t1314879016 *)il2cpp_codegen_object_new(NotSupportedException_t1314879016_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m2494070935(L_5, _stringLiteral3034282783, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, Context_get_Protocol_m1078422015_RuntimeMethod_var);
}
}
// System.Byte[] Mono.Security.Protocol.Tls.Context::get_SessionId()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* Context_get_SessionId_m1086671147 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = __this->get_sessionId_1();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.Context::set_SessionId(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void Context_set_SessionId_m942328427 (Context_t3971234707 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = ___value0;
__this->set_sessionId_1(L_0);
return;
}
}
// Mono.Security.Protocol.Tls.SecurityCompressionType Mono.Security.Protocol.Tls.Context::get_CompressionMethod()
extern "C" IL2CPP_METHOD_ATTR int32_t Context_get_CompressionMethod_m2647114016 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_compressionMethod_2();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.Context::set_CompressionMethod(Mono.Security.Protocol.Tls.SecurityCompressionType)
extern "C" IL2CPP_METHOD_ATTR void Context_set_CompressionMethod_m2054483993 (Context_t3971234707 * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___value0;
__this->set_compressionMethod_2(L_0);
return;
}
}
// Mono.Security.Protocol.Tls.TlsServerSettings Mono.Security.Protocol.Tls.Context::get_ServerSettings()
extern "C" IL2CPP_METHOD_ATTR TlsServerSettings_t4144396432 * Context_get_ServerSettings_m1982578801 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
{
TlsServerSettings_t4144396432 * L_0 = __this->get_serverSettings_3();
return L_0;
}
}
// Mono.Security.Protocol.Tls.TlsClientSettings Mono.Security.Protocol.Tls.Context::get_ClientSettings()
extern "C" IL2CPP_METHOD_ATTR TlsClientSettings_t2486039503 * Context_get_ClientSettings_m2874391194 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
{
TlsClientSettings_t2486039503 * L_0 = __this->get_clientSettings_4();
return L_0;
}
}
// Mono.Security.Protocol.Tls.Handshake.HandshakeType Mono.Security.Protocol.Tls.Context::get_LastHandshakeMsg()
extern "C" IL2CPP_METHOD_ATTR uint8_t Context_get_LastHandshakeMsg_m2730646725 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
{
uint8_t L_0 = __this->get_lastHandshakeMsg_10();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.Context::set_LastHandshakeMsg(Mono.Security.Protocol.Tls.Handshake.HandshakeType)
extern "C" IL2CPP_METHOD_ATTR void Context_set_LastHandshakeMsg_m1770618067 (Context_t3971234707 * __this, uint8_t ___value0, const RuntimeMethod* method)
{
{
uint8_t L_0 = ___value0;
__this->set_lastHandshakeMsg_10(L_0);
return;
}
}
// Mono.Security.Protocol.Tls.HandshakeState Mono.Security.Protocol.Tls.Context::get_HandshakeState()
extern "C" IL2CPP_METHOD_ATTR int32_t Context_get_HandshakeState_m2425796590 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_handshakeState_11();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.Context::set_HandshakeState(Mono.Security.Protocol.Tls.HandshakeState)
extern "C" IL2CPP_METHOD_ATTR void Context_set_HandshakeState_m1329976135 (Context_t3971234707 * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___value0;
__this->set_handshakeState_11(L_0);
return;
}
}
// System.Boolean Mono.Security.Protocol.Tls.Context::get_ReceivedConnectionEnd()
extern "C" IL2CPP_METHOD_ATTR bool Context_get_ReceivedConnectionEnd_m4011125537 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
{
bool L_0 = __this->get_receivedConnectionEnd_13();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.Context::set_ReceivedConnectionEnd(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Context_set_ReceivedConnectionEnd_m911334662 (Context_t3971234707 * __this, bool ___value0, const RuntimeMethod* method)
{
{
bool L_0 = ___value0;
__this->set_receivedConnectionEnd_13(L_0);
return;
}
}
// System.Boolean Mono.Security.Protocol.Tls.Context::get_SentConnectionEnd()
extern "C" IL2CPP_METHOD_ATTR bool Context_get_SentConnectionEnd_m963812869 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
{
bool L_0 = __this->get_sentConnectionEnd_14();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.Context::set_SentConnectionEnd(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Context_set_SentConnectionEnd_m1367645582 (Context_t3971234707 * __this, bool ___value0, const RuntimeMethod* method)
{
{
bool L_0 = ___value0;
__this->set_sentConnectionEnd_14(L_0);
return;
}
}
// Mono.Security.Protocol.Tls.CipherSuiteCollection Mono.Security.Protocol.Tls.Context::get_SupportedCiphers()
extern "C" IL2CPP_METHOD_ATTR CipherSuiteCollection_t1129639304 * Context_get_SupportedCiphers_m1883682196 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
{
CipherSuiteCollection_t1129639304 * L_0 = __this->get_supportedCiphers_9();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.Context::set_SupportedCiphers(Mono.Security.Protocol.Tls.CipherSuiteCollection)
extern "C" IL2CPP_METHOD_ATTR void Context_set_SupportedCiphers_m4238648387 (Context_t3971234707 * __this, CipherSuiteCollection_t1129639304 * ___value0, const RuntimeMethod* method)
{
{
CipherSuiteCollection_t1129639304 * L_0 = ___value0;
__this->set_supportedCiphers_9(L_0);
return;
}
}
// Mono.Security.Protocol.Tls.TlsStream Mono.Security.Protocol.Tls.Context::get_HandshakeMessages()
extern "C" IL2CPP_METHOD_ATTR TlsStream_t2365453965 * Context_get_HandshakeMessages_m3655705111 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
{
TlsStream_t2365453965 * L_0 = __this->get_handshakeMessages_27();
return L_0;
}
}
// System.UInt64 Mono.Security.Protocol.Tls.Context::get_WriteSequenceNumber()
extern "C" IL2CPP_METHOD_ATTR uint64_t Context_get_WriteSequenceNumber_m1115956887 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
{
uint64_t L_0 = __this->get_writeSequenceNumber_16();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.Context::set_WriteSequenceNumber(System.UInt64)
extern "C" IL2CPP_METHOD_ATTR void Context_set_WriteSequenceNumber_m942577065 (Context_t3971234707 * __this, uint64_t ___value0, const RuntimeMethod* method)
{
{
uint64_t L_0 = ___value0;
__this->set_writeSequenceNumber_16(L_0);
return;
}
}
// System.UInt64 Mono.Security.Protocol.Tls.Context::get_ReadSequenceNumber()
extern "C" IL2CPP_METHOD_ATTR uint64_t Context_get_ReadSequenceNumber_m3883329199 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
{
uint64_t L_0 = __this->get_readSequenceNumber_17();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.Context::set_ReadSequenceNumber(System.UInt64)
extern "C" IL2CPP_METHOD_ATTR void Context_set_ReadSequenceNumber_m2154909392 (Context_t3971234707 * __this, uint64_t ___value0, const RuntimeMethod* method)
{
{
uint64_t L_0 = ___value0;
__this->set_readSequenceNumber_17(L_0);
return;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.Context::get_ClientRandom()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* Context_get_ClientRandom_m1437588520 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = __this->get_clientRandom_18();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.Context::set_ClientRandom(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void Context_set_ClientRandom_m2974454575 (Context_t3971234707 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = ___value0;
__this->set_clientRandom_18(L_0);
return;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.Context::get_ServerRandom()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* Context_get_ServerRandom_m2710024742 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = __this->get_serverRandom_19();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.Context::set_ServerRandom(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void Context_set_ServerRandom_m2929894009 (Context_t3971234707 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = ___value0;
__this->set_serverRandom_19(L_0);
return;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.Context::get_RandomCS()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* Context_get_RandomCS_m1367948315 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = __this->get_randomCS_20();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.Context::set_RandomCS(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void Context_set_RandomCS_m2687068745 (Context_t3971234707 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = ___value0;
__this->set_randomCS_20(L_0);
return;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.Context::get_RandomSC()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* Context_get_RandomSC_m1891758699 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = __this->get_randomSC_21();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.Context::set_RandomSC(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void Context_set_RandomSC_m2364786761 (Context_t3971234707 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = ___value0;
__this->set_randomSC_21(L_0);
return;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.Context::get_MasterSecret()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* Context_get_MasterSecret_m676083615 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = __this->get_masterSecret_22();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.Context::set_MasterSecret(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void Context_set_MasterSecret_m3419105191 (Context_t3971234707 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = ___value0;
__this->set_masterSecret_22(L_0);
return;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.Context::get_ClientWriteKey()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* Context_get_ClientWriteKey_m3174706656 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = __this->get_clientWriteKey_23();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.Context::set_ClientWriteKey(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void Context_set_ClientWriteKey_m1601425248 (Context_t3971234707 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = ___value0;
__this->set_clientWriteKey_23(L_0);
return;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.Context::get_ServerWriteKey()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* Context_get_ServerWriteKey_m2199131569 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = __this->get_serverWriteKey_24();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.Context::set_ServerWriteKey(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void Context_set_ServerWriteKey_m3347272648 (Context_t3971234707 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = ___value0;
__this->set_serverWriteKey_24(L_0);
return;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.Context::get_ClientWriteIV()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* Context_get_ClientWriteIV_m1729804632 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = __this->get_clientWriteIV_25();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.Context::set_ClientWriteIV(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void Context_set_ClientWriteIV_m3405909624 (Context_t3971234707 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = ___value0;
__this->set_clientWriteIV_25(L_0);
return;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.Context::get_ServerWriteIV()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* Context_get_ServerWriteIV_m1839374659 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = __this->get_serverWriteIV_26();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.Context::set_ServerWriteIV(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void Context_set_ServerWriteIV_m1007123427 (Context_t3971234707 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = ___value0;
__this->set_serverWriteIV_26(L_0);
return;
}
}
// Mono.Security.Protocol.Tls.RecordProtocol Mono.Security.Protocol.Tls.Context::get_RecordProtocol()
extern "C" IL2CPP_METHOD_ATTR RecordProtocol_t3759049701 * Context_get_RecordProtocol_m2261754827 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
{
RecordProtocol_t3759049701 * L_0 = __this->get_recordProtocol_29();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.Context::set_RecordProtocol(Mono.Security.Protocol.Tls.RecordProtocol)
extern "C" IL2CPP_METHOD_ATTR void Context_set_RecordProtocol_m3067654641 (Context_t3971234707 * __this, RecordProtocol_t3759049701 * ___value0, const RuntimeMethod* method)
{
{
RecordProtocol_t3759049701 * L_0 = ___value0;
__this->set_recordProtocol_29(L_0);
return;
}
}
// System.Int32 Mono.Security.Protocol.Tls.Context::GetUnixTime()
extern "C" IL2CPP_METHOD_ATTR int32_t Context_GetUnixTime_m3811151335 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Context_GetUnixTime_m3811151335_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
DateTime_t3738529785 V_0;
memset(&V_0, 0, sizeof(V_0));
{
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t3738529785_il2cpp_TypeInfo_var);
DateTime_t3738529785 L_0 = DateTime_get_UtcNow_m1393945741(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = L_0;
int64_t L_1 = DateTime_get_Ticks_m1550640881((DateTime_t3738529785 *)(&V_0), /*hidden argument*/NULL);
return (((int32_t)((int32_t)((int64_t)((int64_t)((int64_t)il2cpp_codegen_subtract((int64_t)L_1, (int64_t)((int64_t)621355968000000000LL)))/(int64_t)(((int64_t)((int64_t)((int32_t)10000000)))))))));
}
}
// System.Byte[] Mono.Security.Protocol.Tls.Context::GetSecureRandomBytes(System.Int32)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* Context_GetSecureRandomBytes_m3676009387 (Context_t3971234707 * __this, int32_t ___count0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Context_GetSecureRandomBytes_m3676009387_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_t4116647657* V_0 = NULL;
{
int32_t L_0 = ___count0;
ByteU5BU5D_t4116647657* L_1 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_0);
V_0 = L_1;
RandomNumberGenerator_t386037858 * L_2 = __this->get_random_28();
ByteU5BU5D_t4116647657* L_3 = V_0;
VirtActionInvoker1< ByteU5BU5D_t4116647657* >::Invoke(5 /* System.Void System.Security.Cryptography.RandomNumberGenerator::GetNonZeroBytes(System.Byte[]) */, L_2, L_3);
ByteU5BU5D_t4116647657* L_4 = V_0;
return L_4;
}
}
// System.Void Mono.Security.Protocol.Tls.Context::Clear()
extern "C" IL2CPP_METHOD_ATTR void Context_Clear_m2678836033 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Context_Clear_m2678836033_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
__this->set_compressionMethod_2(0);
TlsServerSettings_t4144396432 * L_0 = (TlsServerSettings_t4144396432 *)il2cpp_codegen_object_new(TlsServerSettings_t4144396432_il2cpp_TypeInfo_var);
TlsServerSettings__ctor_m373357120(L_0, /*hidden argument*/NULL);
__this->set_serverSettings_3(L_0);
TlsClientSettings_t2486039503 * L_1 = (TlsClientSettings_t2486039503 *)il2cpp_codegen_object_new(TlsClientSettings_t2486039503_il2cpp_TypeInfo_var);
TlsClientSettings__ctor_m3220697265(L_1, /*hidden argument*/NULL);
__this->set_clientSettings_4(L_1);
TlsStream_t2365453965 * L_2 = (TlsStream_t2365453965 *)il2cpp_codegen_object_new(TlsStream_t2365453965_il2cpp_TypeInfo_var);
TlsStream__ctor_m787793111(L_2, /*hidden argument*/NULL);
__this->set_handshakeMessages_27(L_2);
__this->set_sessionId_1((ByteU5BU5D_t4116647657*)NULL);
__this->set_handshakeState_11(0);
VirtActionInvoker0::Invoke(5 /* System.Void Mono.Security.Protocol.Tls.Context::ClearKeyInfo() */, __this);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Context::ClearKeyInfo()
extern "C" IL2CPP_METHOD_ATTR void Context_ClearKeyInfo_m1155154290 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = __this->get_masterSecret_22();
if (!L_0)
{
goto IL_0026;
}
}
{
ByteU5BU5D_t4116647657* L_1 = __this->get_masterSecret_22();
ByteU5BU5D_t4116647657* L_2 = __this->get_masterSecret_22();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_2)->max_length)))), /*hidden argument*/NULL);
__this->set_masterSecret_22((ByteU5BU5D_t4116647657*)NULL);
}
IL_0026:
{
ByteU5BU5D_t4116647657* L_3 = __this->get_clientRandom_18();
if (!L_3)
{
goto IL_004c;
}
}
{
ByteU5BU5D_t4116647657* L_4 = __this->get_clientRandom_18();
ByteU5BU5D_t4116647657* L_5 = __this->get_clientRandom_18();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_4, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_5)->max_length)))), /*hidden argument*/NULL);
__this->set_clientRandom_18((ByteU5BU5D_t4116647657*)NULL);
}
IL_004c:
{
ByteU5BU5D_t4116647657* L_6 = __this->get_serverRandom_19();
if (!L_6)
{
goto IL_0072;
}
}
{
ByteU5BU5D_t4116647657* L_7 = __this->get_serverRandom_19();
ByteU5BU5D_t4116647657* L_8 = __this->get_serverRandom_19();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_8)->max_length)))), /*hidden argument*/NULL);
__this->set_serverRandom_19((ByteU5BU5D_t4116647657*)NULL);
}
IL_0072:
{
ByteU5BU5D_t4116647657* L_9 = __this->get_randomCS_20();
if (!L_9)
{
goto IL_0098;
}
}
{
ByteU5BU5D_t4116647657* L_10 = __this->get_randomCS_20();
ByteU5BU5D_t4116647657* L_11 = __this->get_randomCS_20();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_10, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_11)->max_length)))), /*hidden argument*/NULL);
__this->set_randomCS_20((ByteU5BU5D_t4116647657*)NULL);
}
IL_0098:
{
ByteU5BU5D_t4116647657* L_12 = __this->get_randomSC_21();
if (!L_12)
{
goto IL_00be;
}
}
{
ByteU5BU5D_t4116647657* L_13 = __this->get_randomSC_21();
ByteU5BU5D_t4116647657* L_14 = __this->get_randomSC_21();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_13, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_14)->max_length)))), /*hidden argument*/NULL);
__this->set_randomSC_21((ByteU5BU5D_t4116647657*)NULL);
}
IL_00be:
{
ByteU5BU5D_t4116647657* L_15 = __this->get_clientWriteKey_23();
if (!L_15)
{
goto IL_00e4;
}
}
{
ByteU5BU5D_t4116647657* L_16 = __this->get_clientWriteKey_23();
ByteU5BU5D_t4116647657* L_17 = __this->get_clientWriteKey_23();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_16, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_17)->max_length)))), /*hidden argument*/NULL);
__this->set_clientWriteKey_23((ByteU5BU5D_t4116647657*)NULL);
}
IL_00e4:
{
ByteU5BU5D_t4116647657* L_18 = __this->get_clientWriteIV_25();
if (!L_18)
{
goto IL_010a;
}
}
{
ByteU5BU5D_t4116647657* L_19 = __this->get_clientWriteIV_25();
ByteU5BU5D_t4116647657* L_20 = __this->get_clientWriteIV_25();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_19, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_20)->max_length)))), /*hidden argument*/NULL);
__this->set_clientWriteIV_25((ByteU5BU5D_t4116647657*)NULL);
}
IL_010a:
{
ByteU5BU5D_t4116647657* L_21 = __this->get_serverWriteKey_24();
if (!L_21)
{
goto IL_0130;
}
}
{
ByteU5BU5D_t4116647657* L_22 = __this->get_serverWriteKey_24();
ByteU5BU5D_t4116647657* L_23 = __this->get_serverWriteKey_24();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_22, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_23)->max_length)))), /*hidden argument*/NULL);
__this->set_serverWriteKey_24((ByteU5BU5D_t4116647657*)NULL);
}
IL_0130:
{
ByteU5BU5D_t4116647657* L_24 = __this->get_serverWriteIV_26();
if (!L_24)
{
goto IL_0156;
}
}
{
ByteU5BU5D_t4116647657* L_25 = __this->get_serverWriteIV_26();
ByteU5BU5D_t4116647657* L_26 = __this->get_serverWriteIV_26();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_25, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_26)->max_length)))), /*hidden argument*/NULL);
__this->set_serverWriteIV_26((ByteU5BU5D_t4116647657*)NULL);
}
IL_0156:
{
TlsStream_t2365453965 * L_27 = __this->get_handshakeMessages_27();
TlsStream_Reset_m369197964(L_27, /*hidden argument*/NULL);
int32_t L_28 = __this->get_securityProtocol_0();
if ((((int32_t)L_28) == ((int32_t)((int32_t)48))))
{
goto IL_016e;
}
}
IL_016e:
{
return;
}
}
// Mono.Security.Protocol.Tls.SecurityProtocolType Mono.Security.Protocol.Tls.Context::DecodeProtocolCode(System.Int16)
extern "C" IL2CPP_METHOD_ATTR int32_t Context_DecodeProtocolCode_m2249547310 (Context_t3971234707 * __this, int16_t ___code0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Context_DecodeProtocolCode_m2249547310_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int16_t V_0 = 0;
{
int16_t L_0 = ___code0;
V_0 = L_0;
int16_t L_1 = V_0;
if ((((int32_t)L_1) == ((int32_t)((int32_t)768))))
{
goto IL_0023;
}
}
{
int16_t L_2 = V_0;
if ((((int32_t)L_2) == ((int32_t)((int32_t)769))))
{
goto IL_001d;
}
}
{
goto IL_0026;
}
IL_001d:
{
return (int32_t)(((int32_t)192));
}
IL_0023:
{
return (int32_t)(((int32_t)48));
}
IL_0026:
{
NotSupportedException_t1314879016 * L_3 = (NotSupportedException_t1314879016 *)il2cpp_codegen_object_new(NotSupportedException_t1314879016_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m2494070935(L_3, _stringLiteral3034282783, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, Context_DecodeProtocolCode_m2249547310_RuntimeMethod_var);
}
}
// System.Void Mono.Security.Protocol.Tls.Context::ChangeProtocol(System.Int16)
extern "C" IL2CPP_METHOD_ATTR void Context_ChangeProtocol_m2412635871 (Context_t3971234707 * __this, int16_t ___protocol0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Context_ChangeProtocol_m2412635871_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
int16_t L_0 = ___protocol0;
int32_t L_1 = Context_DecodeProtocolCode_m2249547310(__this, L_0, /*hidden argument*/NULL);
V_0 = L_1;
int32_t L_2 = V_0;
int32_t L_3 = Context_get_SecurityProtocolFlags_m2022471746(__this, /*hidden argument*/NULL);
int32_t L_4 = V_0;
if ((((int32_t)((int32_t)((int32_t)L_2&(int32_t)L_3))) == ((int32_t)L_4)))
{
goto IL_002c;
}
}
{
int32_t L_5 = Context_get_SecurityProtocolFlags_m2022471746(__this, /*hidden argument*/NULL);
if ((!(((uint32_t)((int32_t)((int32_t)L_5&(int32_t)((int32_t)-1073741824)))) == ((uint32_t)((int32_t)-1073741824)))))
{
goto IL_0056;
}
}
IL_002c:
{
int32_t L_6 = V_0;
Context_set_SecurityProtocol_m2833661610(__this, L_6, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_7 = Context_get_SupportedCiphers_m1883682196(__this, /*hidden argument*/NULL);
CipherSuiteCollection_Clear_m2642701260(L_7, /*hidden argument*/NULL);
Context_set_SupportedCiphers_m4238648387(__this, (CipherSuiteCollection_t1129639304 *)NULL, /*hidden argument*/NULL);
int32_t L_8 = V_0;
CipherSuiteCollection_t1129639304 * L_9 = CipherSuiteFactory_GetSupportedCiphers_m3260014148(NULL /*static, unused*/, L_8, /*hidden argument*/NULL);
Context_set_SupportedCiphers_m4238648387(__this, L_9, /*hidden argument*/NULL);
goto IL_0063;
}
IL_0056:
{
TlsException_t3534743363 * L_10 = (TlsException_t3534743363 *)il2cpp_codegen_object_new(TlsException_t3534743363_il2cpp_TypeInfo_var);
TlsException__ctor_m3242533711(L_10, ((int32_t)70), _stringLiteral193405814, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, NULL, Context_ChangeProtocol_m2412635871_RuntimeMethod_var);
}
IL_0063:
{
return;
}
}
// Mono.Security.Protocol.Tls.SecurityParameters Mono.Security.Protocol.Tls.Context::get_Current()
extern "C" IL2CPP_METHOD_ATTR SecurityParameters_t2199972650 * Context_get_Current_m2853615040 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Context_get_Current_m2853615040_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
SecurityParameters_t2199972650 * L_0 = __this->get_current_5();
if (L_0)
{
goto IL_0016;
}
}
{
SecurityParameters_t2199972650 * L_1 = (SecurityParameters_t2199972650 *)il2cpp_codegen_object_new(SecurityParameters_t2199972650_il2cpp_TypeInfo_var);
SecurityParameters__ctor_m3952189175(L_1, /*hidden argument*/NULL);
__this->set_current_5(L_1);
}
IL_0016:
{
SecurityParameters_t2199972650 * L_2 = __this->get_current_5();
CipherSuite_t3414744575 * L_3 = SecurityParameters_get_Cipher_m108846204(L_2, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_0037;
}
}
{
SecurityParameters_t2199972650 * L_4 = __this->get_current_5();
CipherSuite_t3414744575 * L_5 = SecurityParameters_get_Cipher_m108846204(L_4, /*hidden argument*/NULL);
CipherSuite_set_Context_m1978767807(L_5, __this, /*hidden argument*/NULL);
}
IL_0037:
{
SecurityParameters_t2199972650 * L_6 = __this->get_current_5();
return L_6;
}
}
// Mono.Security.Protocol.Tls.SecurityParameters Mono.Security.Protocol.Tls.Context::get_Negotiating()
extern "C" IL2CPP_METHOD_ATTR SecurityParameters_t2199972650 * Context_get_Negotiating_m2044579817 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Context_get_Negotiating_m2044579817_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
SecurityParameters_t2199972650 * L_0 = __this->get_negotiating_6();
if (L_0)
{
goto IL_0016;
}
}
{
SecurityParameters_t2199972650 * L_1 = (SecurityParameters_t2199972650 *)il2cpp_codegen_object_new(SecurityParameters_t2199972650_il2cpp_TypeInfo_var);
SecurityParameters__ctor_m3952189175(L_1, /*hidden argument*/NULL);
__this->set_negotiating_6(L_1);
}
IL_0016:
{
SecurityParameters_t2199972650 * L_2 = __this->get_negotiating_6();
CipherSuite_t3414744575 * L_3 = SecurityParameters_get_Cipher_m108846204(L_2, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_0037;
}
}
{
SecurityParameters_t2199972650 * L_4 = __this->get_negotiating_6();
CipherSuite_t3414744575 * L_5 = SecurityParameters_get_Cipher_m108846204(L_4, /*hidden argument*/NULL);
CipherSuite_set_Context_m1978767807(L_5, __this, /*hidden argument*/NULL);
}
IL_0037:
{
SecurityParameters_t2199972650 * L_6 = __this->get_negotiating_6();
return L_6;
}
}
// Mono.Security.Protocol.Tls.SecurityParameters Mono.Security.Protocol.Tls.Context::get_Read()
extern "C" IL2CPP_METHOD_ATTR SecurityParameters_t2199972650 * Context_get_Read_m4172356735 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
{
SecurityParameters_t2199972650 * L_0 = __this->get_read_7();
return L_0;
}
}
// Mono.Security.Protocol.Tls.SecurityParameters Mono.Security.Protocol.Tls.Context::get_Write()
extern "C" IL2CPP_METHOD_ATTR SecurityParameters_t2199972650 * Context_get_Write_m1564343513 (Context_t3971234707 * __this, const RuntimeMethod* method)
{
{
SecurityParameters_t2199972650 * L_0 = __this->get_write_8();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.Context::StartSwitchingSecurityParameters(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Context_StartSwitchingSecurityParameters_m28285865 (Context_t3971234707 * __this, bool ___client0, const RuntimeMethod* method)
{
{
bool L_0 = ___client0;
if (!L_0)
{
goto IL_0023;
}
}
{
SecurityParameters_t2199972650 * L_1 = __this->get_negotiating_6();
__this->set_write_8(L_1);
SecurityParameters_t2199972650 * L_2 = __this->get_current_5();
__this->set_read_7(L_2);
goto IL_003b;
}
IL_0023:
{
SecurityParameters_t2199972650 * L_3 = __this->get_negotiating_6();
__this->set_read_7(L_3);
SecurityParameters_t2199972650 * L_4 = __this->get_current_5();
__this->set_write_8(L_4);
}
IL_003b:
{
SecurityParameters_t2199972650 * L_5 = __this->get_negotiating_6();
__this->set_current_5(L_5);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Context::EndSwitchingSecurityParameters(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Context_EndSwitchingSecurityParameters_m4148956166 (Context_t3971234707 * __this, bool ___client0, const RuntimeMethod* method)
{
SecurityParameters_t2199972650 * V_0 = NULL;
{
bool L_0 = ___client0;
if (!L_0)
{
goto IL_001e;
}
}
{
SecurityParameters_t2199972650 * L_1 = __this->get_read_7();
V_0 = L_1;
SecurityParameters_t2199972650 * L_2 = __this->get_current_5();
__this->set_read_7(L_2);
goto IL_0031;
}
IL_001e:
{
SecurityParameters_t2199972650 * L_3 = __this->get_write_8();
V_0 = L_3;
SecurityParameters_t2199972650 * L_4 = __this->get_current_5();
__this->set_write_8(L_4);
}
IL_0031:
{
SecurityParameters_t2199972650 * L_5 = V_0;
if (!L_5)
{
goto IL_003d;
}
}
{
SecurityParameters_t2199972650 * L_6 = V_0;
SecurityParameters_Clear_m680574382(L_6, /*hidden argument*/NULL);
}
IL_003d:
{
SecurityParameters_t2199972650 * L_7 = V_0;
__this->set_negotiating_6(L_7);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientCertificate::.ctor(Mono.Security.Protocol.Tls.Context)
extern "C" IL2CPP_METHOD_ATTR void TlsClientCertificate__ctor_m101524132 (TlsClientCertificate_t3519510577 * __this, Context_t3971234707 * ___context0, const RuntimeMethod* method)
{
{
Context_t3971234707 * L_0 = ___context0;
HandshakeMessage__ctor_m2692487706(__this, L_0, ((int32_t)11), /*hidden argument*/NULL);
return;
}
}
// System.Security.Cryptography.X509Certificates.X509Certificate Mono.Security.Protocol.Tls.Handshake.Client.TlsClientCertificate::get_ClientCertificate()
extern "C" IL2CPP_METHOD_ATTR X509Certificate_t713131622 * TlsClientCertificate_get_ClientCertificate_m1637836254 (TlsClientCertificate_t3519510577 * __this, const RuntimeMethod* method)
{
{
bool L_0 = __this->get_clientCertSelected_9();
if (L_0)
{
goto IL_0018;
}
}
{
TlsClientCertificate_GetClientCertificate_m566867090(__this, /*hidden argument*/NULL);
__this->set_clientCertSelected_9((bool)1);
}
IL_0018:
{
X509Certificate_t713131622 * L_1 = __this->get_clientCert_10();
return L_1;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientCertificate::Update()
extern "C" IL2CPP_METHOD_ATTR void TlsClientCertificate_Update_m1882970209 (TlsClientCertificate_t3519510577 * __this, const RuntimeMethod* method)
{
{
HandshakeMessage_Update_m2417837686(__this, /*hidden argument*/NULL);
TlsStream_Reset_m369197964(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientCertificate::GetClientCertificate()
extern "C" IL2CPP_METHOD_ATTR void TlsClientCertificate_GetClientCertificate_m566867090 (TlsClientCertificate_t3519510577 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsClientCertificate_GetClientCertificate_m566867090_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ClientContext_t2797401965 * V_0 = NULL;
{
Context_t3971234707 * L_0 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
V_0 = ((ClientContext_t2797401965 *)CastclassClass((RuntimeObject*)L_0, ClientContext_t2797401965_il2cpp_TypeInfo_var));
ClientContext_t2797401965 * L_1 = V_0;
TlsClientSettings_t2486039503 * L_2 = Context_get_ClientSettings_m2874391194(L_1, /*hidden argument*/NULL);
X509CertificateCollection_t3399372417 * L_3 = TlsClientSettings_get_Certificates_m2671943654(L_2, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_0084;
}
}
{
ClientContext_t2797401965 * L_4 = V_0;
TlsClientSettings_t2486039503 * L_5 = Context_get_ClientSettings_m2874391194(L_4, /*hidden argument*/NULL);
X509CertificateCollection_t3399372417 * L_6 = TlsClientSettings_get_Certificates_m2671943654(L_5, /*hidden argument*/NULL);
int32_t L_7 = CollectionBase_get_Count_m1708965601(L_6, /*hidden argument*/NULL);
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_0084;
}
}
{
ClientContext_t2797401965 * L_8 = V_0;
SslClientStream_t3914624661 * L_9 = ClientContext_get_SslStream_m1583577309(L_8, /*hidden argument*/NULL);
Context_t3971234707 * L_10 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
TlsClientSettings_t2486039503 * L_11 = Context_get_ClientSettings_m2874391194(L_10, /*hidden argument*/NULL);
X509CertificateCollection_t3399372417 * L_12 = TlsClientSettings_get_Certificates_m2671943654(L_11, /*hidden argument*/NULL);
Context_t3971234707 * L_13 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
TlsServerSettings_t4144396432 * L_14 = Context_get_ServerSettings_m1982578801(L_13, /*hidden argument*/NULL);
X509CertificateCollection_t1542168550 * L_15 = TlsServerSettings_get_Certificates_m3981837031(L_14, /*hidden argument*/NULL);
X509Certificate_t489243025 * L_16 = X509CertificateCollection_get_Item_m3285563224(L_15, 0, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_17 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(12 /* System.Byte[] Mono.Security.X509.X509Certificate::get_RawData() */, L_16);
X509Certificate_t713131622 * L_18 = (X509Certificate_t713131622 *)il2cpp_codegen_object_new(X509Certificate_t713131622_il2cpp_TypeInfo_var);
X509Certificate__ctor_m1413707489(L_18, L_17, /*hidden argument*/NULL);
Context_t3971234707 * L_19 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
TlsClientSettings_t2486039503 * L_20 = Context_get_ClientSettings_m2874391194(L_19, /*hidden argument*/NULL);
String_t* L_21 = TlsClientSettings_get_TargetHost_m2463481414(L_20, /*hidden argument*/NULL);
X509Certificate_t713131622 * L_22 = SslClientStream_RaiseClientCertificateSelection_m3936211295(L_9, L_12, L_18, L_21, (X509CertificateCollection_t3399372417 *)NULL, /*hidden argument*/NULL);
__this->set_clientCert_10(L_22);
}
IL_0084:
{
ClientContext_t2797401965 * L_23 = V_0;
TlsClientSettings_t2486039503 * L_24 = Context_get_ClientSettings_m2874391194(L_23, /*hidden argument*/NULL);
X509Certificate_t713131622 * L_25 = __this->get_clientCert_10();
TlsClientSettings_set_ClientCertificate_m3374228612(L_24, L_25, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientCertificate::SendCertificates()
extern "C" IL2CPP_METHOD_ATTR void TlsClientCertificate_SendCertificates_m1965594186 (TlsClientCertificate_t3519510577 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsClientCertificate_SendCertificates_m1965594186_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TlsStream_t2365453965 * V_0 = NULL;
X509Certificate_t713131622 * V_1 = NULL;
ByteU5BU5D_t4116647657* V_2 = NULL;
{
TlsStream_t2365453965 * L_0 = (TlsStream_t2365453965 *)il2cpp_codegen_object_new(TlsStream_t2365453965_il2cpp_TypeInfo_var);
TlsStream__ctor_m787793111(L_0, /*hidden argument*/NULL);
V_0 = L_0;
X509Certificate_t713131622 * L_1 = TlsClientCertificate_get_ClientCertificate_m1637836254(__this, /*hidden argument*/NULL);
V_1 = L_1;
goto IL_0031;
}
IL_0012:
{
X509Certificate_t713131622 * L_2 = V_1;
ByteU5BU5D_t4116647657* L_3 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(14 /* System.Byte[] System.Security.Cryptography.X509Certificates.X509Certificate::GetRawCertData() */, L_2);
V_2 = L_3;
TlsStream_t2365453965 * L_4 = V_0;
ByteU5BU5D_t4116647657* L_5 = V_2;
TlsStream_WriteInt24_m58952549(L_4, (((int32_t)((int32_t)(((RuntimeArray *)L_5)->max_length)))), /*hidden argument*/NULL);
TlsStream_t2365453965 * L_6 = V_0;
ByteU5BU5D_t4116647657* L_7 = V_2;
TlsStream_Write_m4133894341(L_6, L_7, /*hidden argument*/NULL);
X509Certificate_t713131622 * L_8 = V_1;
X509Certificate_t713131622 * L_9 = TlsClientCertificate_FindParentCertificate_m3844441401(__this, L_8, /*hidden argument*/NULL);
V_1 = L_9;
}
IL_0031:
{
X509Certificate_t713131622 * L_10 = V_1;
if (L_10)
{
goto IL_0012;
}
}
{
TlsStream_t2365453965 * L_11 = V_0;
int64_t L_12 = VirtFuncInvoker0< int64_t >::Invoke(8 /* System.Int64 Mono.Security.Protocol.Tls.TlsStream::get_Length() */, L_11);
TlsStream_WriteInt24_m58952549(__this, (((int32_t)((int32_t)L_12))), /*hidden argument*/NULL);
TlsStream_t2365453965 * L_13 = V_0;
ByteU5BU5D_t4116647657* L_14 = TlsStream_ToArray_m4177184296(L_13, /*hidden argument*/NULL);
TlsStream_Write_m4133894341(__this, L_14, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientCertificate::ProcessAsSsl3()
extern "C" IL2CPP_METHOD_ATTR void TlsClientCertificate_ProcessAsSsl3_m3265529850 (TlsClientCertificate_t3519510577 * __this, const RuntimeMethod* method)
{
{
X509Certificate_t713131622 * L_0 = TlsClientCertificate_get_ClientCertificate_m1637836254(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0016;
}
}
{
TlsClientCertificate_SendCertificates_m1965594186(__this, /*hidden argument*/NULL);
goto IL_0016;
}
IL_0016:
{
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientCertificate::ProcessAsTls1()
extern "C" IL2CPP_METHOD_ATTR void TlsClientCertificate_ProcessAsTls1_m3232146441 (TlsClientCertificate_t3519510577 * __this, const RuntimeMethod* method)
{
{
X509Certificate_t713131622 * L_0 = TlsClientCertificate_get_ClientCertificate_m1637836254(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0016;
}
}
{
TlsClientCertificate_SendCertificates_m1965594186(__this, /*hidden argument*/NULL);
goto IL_001d;
}
IL_0016:
{
TlsStream_WriteInt24_m58952549(__this, 0, /*hidden argument*/NULL);
}
IL_001d:
{
return;
}
}
// System.Security.Cryptography.X509Certificates.X509Certificate Mono.Security.Protocol.Tls.Handshake.Client.TlsClientCertificate::FindParentCertificate(System.Security.Cryptography.X509Certificates.X509Certificate)
extern "C" IL2CPP_METHOD_ATTR X509Certificate_t713131622 * TlsClientCertificate_FindParentCertificate_m3844441401 (TlsClientCertificate_t3519510577 * __this, X509Certificate_t713131622 * ___cert0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsClientCertificate_FindParentCertificate_m3844441401_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
X509Certificate_t713131622 * V_0 = NULL;
X509CertificateEnumerator_t855273292 * V_1 = NULL;
X509Certificate_t713131622 * V_2 = NULL;
RuntimeObject* V_3 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
{
X509Certificate_t713131622 * L_0 = ___cert0;
String_t* L_1 = VirtFuncInvoker0< String_t* >::Invoke(12 /* System.String System.Security.Cryptography.X509Certificates.X509Certificate::GetName() */, L_0);
X509Certificate_t713131622 * L_2 = ___cert0;
String_t* L_3 = VirtFuncInvoker0< String_t* >::Invoke(11 /* System.String System.Security.Cryptography.X509Certificates.X509Certificate::GetIssuerName() */, L_2);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
bool L_4 = String_op_Equality_m920492651(NULL /*static, unused*/, L_1, L_3, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_0018;
}
}
{
return (X509Certificate_t713131622 *)NULL;
}
IL_0018:
{
Context_t3971234707 * L_5 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
TlsClientSettings_t2486039503 * L_6 = Context_get_ClientSettings_m2874391194(L_5, /*hidden argument*/NULL);
X509CertificateCollection_t3399372417 * L_7 = TlsClientSettings_get_Certificates_m2671943654(L_6, /*hidden argument*/NULL);
X509CertificateEnumerator_t855273292 * L_8 = X509CertificateCollection_GetEnumerator_m1686475779(L_7, /*hidden argument*/NULL);
V_1 = L_8;
}
IL_002e:
try
{ // begin try (depth: 1)
{
goto IL_0057;
}
IL_0033:
{
X509CertificateEnumerator_t855273292 * L_9 = V_1;
X509Certificate_t713131622 * L_10 = X509CertificateEnumerator_get_Current_m364341970(L_9, /*hidden argument*/NULL);
V_0 = L_10;
X509Certificate_t713131622 * L_11 = ___cert0;
String_t* L_12 = VirtFuncInvoker0< String_t* >::Invoke(12 /* System.String System.Security.Cryptography.X509Certificates.X509Certificate::GetName() */, L_11);
X509Certificate_t713131622 * L_13 = ___cert0;
String_t* L_14 = VirtFuncInvoker0< String_t* >::Invoke(11 /* System.String System.Security.Cryptography.X509Certificates.X509Certificate::GetIssuerName() */, L_13);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
bool L_15 = String_op_Equality_m920492651(NULL /*static, unused*/, L_12, L_14, /*hidden argument*/NULL);
if (!L_15)
{
goto IL_0057;
}
}
IL_0050:
{
X509Certificate_t713131622 * L_16 = V_0;
V_2 = L_16;
IL2CPP_LEAVE(0x7B, FINALLY_0067);
}
IL_0057:
{
X509CertificateEnumerator_t855273292 * L_17 = V_1;
bool L_18 = X509CertificateEnumerator_MoveNext_m1557350766(L_17, /*hidden argument*/NULL);
if (L_18)
{
goto IL_0033;
}
}
IL_0062:
{
IL2CPP_LEAVE(0x79, FINALLY_0067);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0067;
}
FINALLY_0067:
{ // begin finally (depth: 1)
{
X509CertificateEnumerator_t855273292 * L_19 = V_1;
V_3 = ((RuntimeObject*)IsInst((RuntimeObject*)L_19, IDisposable_t3640265483_il2cpp_TypeInfo_var));
RuntimeObject* L_20 = V_3;
if (L_20)
{
goto IL_0072;
}
}
IL_0071:
{
IL2CPP_END_FINALLY(103)
}
IL_0072:
{
RuntimeObject* L_21 = V_3;
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, L_21);
IL2CPP_END_FINALLY(103)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(103)
{
IL2CPP_JUMP_TBL(0x7B, IL_007b)
IL2CPP_JUMP_TBL(0x79, IL_0079)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0079:
{
return (X509Certificate_t713131622 *)NULL;
}
IL_007b:
{
X509Certificate_t713131622 * L_22 = V_2;
return L_22;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientCertificateVerify::.ctor(Mono.Security.Protocol.Tls.Context)
extern "C" IL2CPP_METHOD_ATTR void TlsClientCertificateVerify__ctor_m1589614281 (TlsClientCertificateVerify_t1824902654 * __this, Context_t3971234707 * ___context0, const RuntimeMethod* method)
{
{
Context_t3971234707 * L_0 = ___context0;
HandshakeMessage__ctor_m2692487706(__this, L_0, ((int32_t)15), /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientCertificateVerify::Update()
extern "C" IL2CPP_METHOD_ATTR void TlsClientCertificateVerify_Update_m3046208881 (TlsClientCertificateVerify_t1824902654 * __this, const RuntimeMethod* method)
{
{
HandshakeMessage_Update_m2417837686(__this, /*hidden argument*/NULL);
TlsStream_Reset_m369197964(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientCertificateVerify::ProcessAsSsl3()
extern "C" IL2CPP_METHOD_ATTR void TlsClientCertificateVerify_ProcessAsSsl3_m1125097704 (TlsClientCertificateVerify_t1824902654 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsClientCertificateVerify_ProcessAsSsl3_m1125097704_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
AsymmetricAlgorithm_t932037087 * V_0 = NULL;
ClientContext_t2797401965 * V_1 = NULL;
SslHandshakeHash_t2107581772 * V_2 = NULL;
ByteU5BU5D_t4116647657* V_3 = NULL;
RSA_t2385438082 * V_4 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
{
V_0 = (AsymmetricAlgorithm_t932037087 *)NULL;
Context_t3971234707 * L_0 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
V_1 = ((ClientContext_t2797401965 *)CastclassClass((RuntimeObject*)L_0, ClientContext_t2797401965_il2cpp_TypeInfo_var));
ClientContext_t2797401965 * L_1 = V_1;
SslClientStream_t3914624661 * L_2 = ClientContext_get_SslStream_m1583577309(L_1, /*hidden argument*/NULL);
ClientContext_t2797401965 * L_3 = V_1;
TlsClientSettings_t2486039503 * L_4 = Context_get_ClientSettings_m2874391194(L_3, /*hidden argument*/NULL);
X509Certificate_t713131622 * L_5 = TlsClientSettings_get_ClientCertificate_m3139459118(L_4, /*hidden argument*/NULL);
ClientContext_t2797401965 * L_6 = V_1;
TlsClientSettings_t2486039503 * L_7 = Context_get_ClientSettings_m2874391194(L_6, /*hidden argument*/NULL);
String_t* L_8 = TlsClientSettings_get_TargetHost_m2463481414(L_7, /*hidden argument*/NULL);
AsymmetricAlgorithm_t932037087 * L_9 = SslClientStream_RaisePrivateKeySelection_m3394190501(L_2, L_5, L_8, /*hidden argument*/NULL);
V_0 = L_9;
AsymmetricAlgorithm_t932037087 * L_10 = V_0;
if (L_10)
{
goto IL_0043;
}
}
{
TlsException_t3534743363 * L_11 = (TlsException_t3534743363 *)il2cpp_codegen_object_new(TlsException_t3534743363_il2cpp_TypeInfo_var);
TlsException__ctor_m3242533711(L_11, ((int32_t)90), _stringLiteral1280642964, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_11, NULL, TlsClientCertificateVerify_ProcessAsSsl3_m1125097704_RuntimeMethod_var);
}
IL_0043:
{
ClientContext_t2797401965 * L_12 = V_1;
ByteU5BU5D_t4116647657* L_13 = Context_get_MasterSecret_m676083615(L_12, /*hidden argument*/NULL);
SslHandshakeHash_t2107581772 * L_14 = (SslHandshakeHash_t2107581772 *)il2cpp_codegen_object_new(SslHandshakeHash_t2107581772_il2cpp_TypeInfo_var);
SslHandshakeHash__ctor_m4169387017(L_14, L_13, /*hidden argument*/NULL);
V_2 = L_14;
SslHandshakeHash_t2107581772 * L_15 = V_2;
ClientContext_t2797401965 * L_16 = V_1;
TlsStream_t2365453965 * L_17 = Context_get_HandshakeMessages_m3655705111(L_16, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_18 = TlsStream_ToArray_m4177184296(L_17, /*hidden argument*/NULL);
ClientContext_t2797401965 * L_19 = V_1;
TlsStream_t2365453965 * L_20 = Context_get_HandshakeMessages_m3655705111(L_19, /*hidden argument*/NULL);
int64_t L_21 = VirtFuncInvoker0< int64_t >::Invoke(8 /* System.Int64 Mono.Security.Protocol.Tls.TlsStream::get_Length() */, L_20);
HashAlgorithm_TransformFinalBlock_m3005451348(L_15, L_18, 0, (((int32_t)((int32_t)L_21))), /*hidden argument*/NULL);
V_3 = (ByteU5BU5D_t4116647657*)NULL;
AsymmetricAlgorithm_t932037087 * L_22 = V_0;
if (((RSACryptoServiceProvider_t2683512874 *)IsInstSealed((RuntimeObject*)L_22, RSACryptoServiceProvider_t2683512874_il2cpp_TypeInfo_var)))
{
goto IL_0093;
}
}
IL_007b:
try
{ // begin try (depth: 1)
SslHandshakeHash_t2107581772 * L_23 = V_2;
AsymmetricAlgorithm_t932037087 * L_24 = V_0;
ByteU5BU5D_t4116647657* L_25 = SslHandshakeHash_CreateSignature_m1634235041(L_23, ((RSA_t2385438082 *)CastclassClass((RuntimeObject*)L_24, RSA_t2385438082_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
V_3 = L_25;
goto IL_0093;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (NotImplementedException_t3489357830_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_008d;
throw e;
}
CATCH_008d:
{ // begin catch(System.NotImplementedException)
goto IL_0093;
} // end catch (depth: 1)
IL_0093:
{
ByteU5BU5D_t4116647657* L_26 = V_3;
if (L_26)
{
goto IL_00b0;
}
}
{
AsymmetricAlgorithm_t932037087 * L_27 = V_0;
RSA_t2385438082 * L_28 = TlsClientCertificateVerify_getClientCertRSA_m1205662940(__this, ((RSA_t2385438082 *)CastclassClass((RuntimeObject*)L_27, RSA_t2385438082_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
V_4 = L_28;
SslHandshakeHash_t2107581772 * L_29 = V_2;
RSA_t2385438082 * L_30 = V_4;
ByteU5BU5D_t4116647657* L_31 = SslHandshakeHash_CreateSignature_m1634235041(L_29, L_30, /*hidden argument*/NULL);
V_3 = L_31;
}
IL_00b0:
{
ByteU5BU5D_t4116647657* L_32 = V_3;
TlsStream_Write_m1412844442(__this, (((int16_t)((int16_t)(((int32_t)((int32_t)(((RuntimeArray *)L_32)->max_length))))))), /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_33 = V_3;
ByteU5BU5D_t4116647657* L_34 = V_3;
VirtActionInvoker3< ByteU5BU5D_t4116647657*, int32_t, int32_t >::Invoke(18 /* System.Void Mono.Security.Protocol.Tls.TlsStream::Write(System.Byte[],System.Int32,System.Int32) */, __this, L_33, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_34)->max_length)))));
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientCertificateVerify::ProcessAsTls1()
extern "C" IL2CPP_METHOD_ATTR void TlsClientCertificateVerify_ProcessAsTls1_m1051495755 (TlsClientCertificateVerify_t1824902654 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsClientCertificateVerify_ProcessAsTls1_m1051495755_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
AsymmetricAlgorithm_t932037087 * V_0 = NULL;
ClientContext_t2797401965 * V_1 = NULL;
MD5SHA1_t723838944 * V_2 = NULL;
ByteU5BU5D_t4116647657* V_3 = NULL;
RSA_t2385438082 * V_4 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
{
V_0 = (AsymmetricAlgorithm_t932037087 *)NULL;
Context_t3971234707 * L_0 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
V_1 = ((ClientContext_t2797401965 *)CastclassClass((RuntimeObject*)L_0, ClientContext_t2797401965_il2cpp_TypeInfo_var));
ClientContext_t2797401965 * L_1 = V_1;
SslClientStream_t3914624661 * L_2 = ClientContext_get_SslStream_m1583577309(L_1, /*hidden argument*/NULL);
ClientContext_t2797401965 * L_3 = V_1;
TlsClientSettings_t2486039503 * L_4 = Context_get_ClientSettings_m2874391194(L_3, /*hidden argument*/NULL);
X509Certificate_t713131622 * L_5 = TlsClientSettings_get_ClientCertificate_m3139459118(L_4, /*hidden argument*/NULL);
ClientContext_t2797401965 * L_6 = V_1;
TlsClientSettings_t2486039503 * L_7 = Context_get_ClientSettings_m2874391194(L_6, /*hidden argument*/NULL);
String_t* L_8 = TlsClientSettings_get_TargetHost_m2463481414(L_7, /*hidden argument*/NULL);
AsymmetricAlgorithm_t932037087 * L_9 = SslClientStream_RaisePrivateKeySelection_m3394190501(L_2, L_5, L_8, /*hidden argument*/NULL);
V_0 = L_9;
AsymmetricAlgorithm_t932037087 * L_10 = V_0;
if (L_10)
{
goto IL_0043;
}
}
{
TlsException_t3534743363 * L_11 = (TlsException_t3534743363 *)il2cpp_codegen_object_new(TlsException_t3534743363_il2cpp_TypeInfo_var);
TlsException__ctor_m3242533711(L_11, ((int32_t)90), _stringLiteral1280642964, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_11, NULL, TlsClientCertificateVerify_ProcessAsTls1_m1051495755_RuntimeMethod_var);
}
IL_0043:
{
MD5SHA1_t723838944 * L_12 = (MD5SHA1_t723838944 *)il2cpp_codegen_object_new(MD5SHA1_t723838944_il2cpp_TypeInfo_var);
MD5SHA1__ctor_m4081016482(L_12, /*hidden argument*/NULL);
V_2 = L_12;
MD5SHA1_t723838944 * L_13 = V_2;
ClientContext_t2797401965 * L_14 = V_1;
TlsStream_t2365453965 * L_15 = Context_get_HandshakeMessages_m3655705111(L_14, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_16 = TlsStream_ToArray_m4177184296(L_15, /*hidden argument*/NULL);
ClientContext_t2797401965 * L_17 = V_1;
TlsStream_t2365453965 * L_18 = Context_get_HandshakeMessages_m3655705111(L_17, /*hidden argument*/NULL);
int64_t L_19 = VirtFuncInvoker0< int64_t >::Invoke(8 /* System.Int64 Mono.Security.Protocol.Tls.TlsStream::get_Length() */, L_18);
HashAlgorithm_ComputeHash_m2044824070(L_13, L_16, 0, (((int32_t)((int32_t)L_19))), /*hidden argument*/NULL);
V_3 = (ByteU5BU5D_t4116647657*)NULL;
AsymmetricAlgorithm_t932037087 * L_20 = V_0;
if (((RSACryptoServiceProvider_t2683512874 *)IsInstSealed((RuntimeObject*)L_20, RSACryptoServiceProvider_t2683512874_il2cpp_TypeInfo_var)))
{
goto IL_008d;
}
}
IL_0075:
try
{ // begin try (depth: 1)
MD5SHA1_t723838944 * L_21 = V_2;
AsymmetricAlgorithm_t932037087 * L_22 = V_0;
ByteU5BU5D_t4116647657* L_23 = MD5SHA1_CreateSignature_m3583449066(L_21, ((RSA_t2385438082 *)CastclassClass((RuntimeObject*)L_22, RSA_t2385438082_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
V_3 = L_23;
goto IL_008d;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (NotImplementedException_t3489357830_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0087;
throw e;
}
CATCH_0087:
{ // begin catch(System.NotImplementedException)
goto IL_008d;
} // end catch (depth: 1)
IL_008d:
{
ByteU5BU5D_t4116647657* L_24 = V_3;
if (L_24)
{
goto IL_00aa;
}
}
{
AsymmetricAlgorithm_t932037087 * L_25 = V_0;
RSA_t2385438082 * L_26 = TlsClientCertificateVerify_getClientCertRSA_m1205662940(__this, ((RSA_t2385438082 *)CastclassClass((RuntimeObject*)L_25, RSA_t2385438082_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
V_4 = L_26;
MD5SHA1_t723838944 * L_27 = V_2;
RSA_t2385438082 * L_28 = V_4;
ByteU5BU5D_t4116647657* L_29 = MD5SHA1_CreateSignature_m3583449066(L_27, L_28, /*hidden argument*/NULL);
V_3 = L_29;
}
IL_00aa:
{
ByteU5BU5D_t4116647657* L_30 = V_3;
TlsStream_Write_m1412844442(__this, (((int16_t)((int16_t)(((int32_t)((int32_t)(((RuntimeArray *)L_30)->max_length))))))), /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_31 = V_3;
ByteU5BU5D_t4116647657* L_32 = V_3;
VirtActionInvoker3< ByteU5BU5D_t4116647657*, int32_t, int32_t >::Invoke(18 /* System.Void Mono.Security.Protocol.Tls.TlsStream::Write(System.Byte[],System.Int32,System.Int32) */, __this, L_31, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_32)->max_length)))));
return;
}
}
// System.Security.Cryptography.RSA Mono.Security.Protocol.Tls.Handshake.Client.TlsClientCertificateVerify::getClientCertRSA(System.Security.Cryptography.RSA)
extern "C" IL2CPP_METHOD_ATTR RSA_t2385438082 * TlsClientCertificateVerify_getClientCertRSA_m1205662940 (TlsClientCertificateVerify_t1824902654 * __this, RSA_t2385438082 * ___privKey0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsClientCertificateVerify_getClientCertRSA_m1205662940_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RSAParameters_t1728406613 V_0;
memset(&V_0, 0, sizeof(V_0));
RSAParameters_t1728406613 V_1;
memset(&V_1, 0, sizeof(V_1));
ASN1_t2114160833 * V_2 = NULL;
ASN1_t2114160833 * V_3 = NULL;
ASN1_t2114160833 * V_4 = NULL;
int32_t V_5 = 0;
RSAManaged_t1757093820 * V_6 = NULL;
{
il2cpp_codegen_initobj((&V_0), sizeof(RSAParameters_t1728406613 ));
RSA_t2385438082 * L_0 = ___privKey0;
RSAParameters_t1728406613 L_1 = VirtFuncInvoker1< RSAParameters_t1728406613 , bool >::Invoke(12 /* System.Security.Cryptography.RSAParameters System.Security.Cryptography.RSA::ExportParameters(System.Boolean) */, L_0, (bool)1);
V_1 = L_1;
Context_t3971234707 * L_2 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
TlsClientSettings_t2486039503 * L_3 = Context_get_ClientSettings_m2874391194(L_2, /*hidden argument*/NULL);
X509CertificateCollection_t3399372417 * L_4 = TlsClientSettings_get_Certificates_m2671943654(L_3, /*hidden argument*/NULL);
X509Certificate_t713131622 * L_5 = X509CertificateCollection_get_Item_m1177942658(L_4, 0, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_6 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(13 /* System.Byte[] System.Security.Cryptography.X509Certificates.X509Certificate::GetPublicKey() */, L_5);
ASN1_t2114160833 * L_7 = (ASN1_t2114160833 *)il2cpp_codegen_object_new(ASN1_t2114160833_il2cpp_TypeInfo_var);
ASN1__ctor_m1638893325(L_7, L_6, /*hidden argument*/NULL);
V_2 = L_7;
ASN1_t2114160833 * L_8 = V_2;
ASN1_t2114160833 * L_9 = ASN1_get_Item_m2255075813(L_8, 0, /*hidden argument*/NULL);
V_3 = L_9;
ASN1_t2114160833 * L_10 = V_3;
if (!L_10)
{
goto IL_004b;
}
}
{
ASN1_t2114160833 * L_11 = V_3;
uint8_t L_12 = ASN1_get_Tag_m2789147236(L_11, /*hidden argument*/NULL);
if ((((int32_t)L_12) == ((int32_t)2)))
{
goto IL_004d;
}
}
IL_004b:
{
return (RSA_t2385438082 *)NULL;
}
IL_004d:
{
ASN1_t2114160833 * L_13 = V_2;
ASN1_t2114160833 * L_14 = ASN1_get_Item_m2255075813(L_13, 1, /*hidden argument*/NULL);
V_4 = L_14;
ASN1_t2114160833 * L_15 = V_4;
uint8_t L_16 = ASN1_get_Tag_m2789147236(L_15, /*hidden argument*/NULL);
if ((((int32_t)L_16) == ((int32_t)2)))
{
goto IL_0065;
}
}
{
return (RSA_t2385438082 *)NULL;
}
IL_0065:
{
ASN1_t2114160833 * L_17 = V_3;
ByteU5BU5D_t4116647657* L_18 = ASN1_get_Value_m63296490(L_17, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_19 = TlsClientCertificateVerify_getUnsignedBigInteger_m3003216819(__this, L_18, /*hidden argument*/NULL);
(&V_0)->set_Modulus_6(L_19);
ASN1_t2114160833 * L_20 = V_4;
ByteU5BU5D_t4116647657* L_21 = ASN1_get_Value_m63296490(L_20, /*hidden argument*/NULL);
(&V_0)->set_Exponent_7(L_21);
ByteU5BU5D_t4116647657* L_22 = (&V_1)->get_D_2();
(&V_0)->set_D_2(L_22);
ByteU5BU5D_t4116647657* L_23 = (&V_1)->get_DP_3();
(&V_0)->set_DP_3(L_23);
ByteU5BU5D_t4116647657* L_24 = (&V_1)->get_DQ_4();
(&V_0)->set_DQ_4(L_24);
ByteU5BU5D_t4116647657* L_25 = (&V_1)->get_InverseQ_5();
(&V_0)->set_InverseQ_5(L_25);
ByteU5BU5D_t4116647657* L_26 = (&V_1)->get_P_0();
(&V_0)->set_P_0(L_26);
ByteU5BU5D_t4116647657* L_27 = (&V_1)->get_Q_1();
(&V_0)->set_Q_1(L_27);
ByteU5BU5D_t4116647657* L_28 = (&V_0)->get_Modulus_6();
V_5 = ((int32_t)((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_28)->max_length))))<<(int32_t)3));
int32_t L_29 = V_5;
RSAManaged_t1757093820 * L_30 = (RSAManaged_t1757093820 *)il2cpp_codegen_object_new(RSAManaged_t1757093820_il2cpp_TypeInfo_var);
RSAManaged__ctor_m350841446(L_30, L_29, /*hidden argument*/NULL);
V_6 = L_30;
RSAManaged_t1757093820 * L_31 = V_6;
RSAParameters_t1728406613 L_32 = V_0;
VirtActionInvoker1< RSAParameters_t1728406613 >::Invoke(13 /* System.Void Mono.Security.Cryptography.RSAManaged::ImportParameters(System.Security.Cryptography.RSAParameters) */, L_31, L_32);
RSAManaged_t1757093820 * L_33 = V_6;
return L_33;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.Handshake.Client.TlsClientCertificateVerify::getUnsignedBigInteger(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* TlsClientCertificateVerify_getUnsignedBigInteger_m3003216819 (TlsClientCertificateVerify_t1824902654 * __this, ByteU5BU5D_t4116647657* ___integer0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsClientCertificateVerify_getUnsignedBigInteger_m3003216819_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
ByteU5BU5D_t4116647657* V_1 = NULL;
{
ByteU5BU5D_t4116647657* L_0 = ___integer0;
int32_t L_1 = 0;
uint8_t L_2 = (L_0)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_1));
if (L_2)
{
goto IL_0021;
}
}
{
ByteU5BU5D_t4116647657* L_3 = ___integer0;
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length)))), (int32_t)1));
int32_t L_4 = V_0;
ByteU5BU5D_t4116647657* L_5 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_4);
V_1 = L_5;
ByteU5BU5D_t4116647657* L_6 = ___integer0;
ByteU5BU5D_t4116647657* L_7 = V_1;
int32_t L_8 = V_0;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_6, 1, (RuntimeArray *)(RuntimeArray *)L_7, 0, L_8, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_9 = V_1;
return L_9;
}
IL_0021:
{
ByteU5BU5D_t4116647657* L_10 = ___integer0;
return L_10;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientFinished::.ctor(Mono.Security.Protocol.Tls.Context)
extern "C" IL2CPP_METHOD_ATTR void TlsClientFinished__ctor_m399357014 (TlsClientFinished_t2486981163 * __this, Context_t3971234707 * ___context0, const RuntimeMethod* method)
{
{
Context_t3971234707 * L_0 = ___context0;
HandshakeMessage__ctor_m2692487706(__this, L_0, ((int32_t)20), /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientFinished::.cctor()
extern "C" IL2CPP_METHOD_ATTR void TlsClientFinished__cctor_m1023921005 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsClientFinished__cctor_m1023921005_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_t4116647657* L_0 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)4);
ByteU5BU5D_t4116647657* L_1 = L_0;
RuntimeFieldHandle_t1871169219 L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t3057255363____U24U24fieldU2D21_13_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m3117905507(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
((TlsClientFinished_t2486981163_StaticFields*)il2cpp_codegen_static_fields_for(TlsClientFinished_t2486981163_il2cpp_TypeInfo_var))->set_Ssl3Marker_9(L_1);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientFinished::Update()
extern "C" IL2CPP_METHOD_ATTR void TlsClientFinished_Update_m2408925771 (TlsClientFinished_t2486981163 * __this, const RuntimeMethod* method)
{
{
HandshakeMessage_Update_m2417837686(__this, /*hidden argument*/NULL);
TlsStream_Reset_m369197964(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientFinished::ProcessAsSsl3()
extern "C" IL2CPP_METHOD_ATTR void TlsClientFinished_ProcessAsSsl3_m3094597606 (TlsClientFinished_t2486981163 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsClientFinished_ProcessAsSsl3_m3094597606_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
HashAlgorithm_t1432317219 * V_0 = NULL;
ByteU5BU5D_t4116647657* V_1 = NULL;
{
Context_t3971234707 * L_0 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_1 = Context_get_MasterSecret_m676083615(L_0, /*hidden argument*/NULL);
SslHandshakeHash_t2107581772 * L_2 = (SslHandshakeHash_t2107581772 *)il2cpp_codegen_object_new(SslHandshakeHash_t2107581772_il2cpp_TypeInfo_var);
SslHandshakeHash__ctor_m4169387017(L_2, L_1, /*hidden argument*/NULL);
V_0 = L_2;
Context_t3971234707 * L_3 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_4 = Context_get_HandshakeMessages_m3655705111(L_3, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_5 = TlsStream_ToArray_m4177184296(L_4, /*hidden argument*/NULL);
V_1 = L_5;
HashAlgorithm_t1432317219 * L_6 = V_0;
ByteU5BU5D_t4116647657* L_7 = V_1;
ByteU5BU5D_t4116647657* L_8 = V_1;
ByteU5BU5D_t4116647657* L_9 = V_1;
HashAlgorithm_TransformBlock_m4006041779(L_6, L_7, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_8)->max_length)))), L_9, 0, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_10 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(TlsClientFinished_t2486981163_il2cpp_TypeInfo_var);
ByteU5BU5D_t4116647657* L_11 = ((TlsClientFinished_t2486981163_StaticFields*)il2cpp_codegen_static_fields_for(TlsClientFinished_t2486981163_il2cpp_TypeInfo_var))->get_Ssl3Marker_9();
ByteU5BU5D_t4116647657* L_12 = ((TlsClientFinished_t2486981163_StaticFields*)il2cpp_codegen_static_fields_for(TlsClientFinished_t2486981163_il2cpp_TypeInfo_var))->get_Ssl3Marker_9();
ByteU5BU5D_t4116647657* L_13 = ((TlsClientFinished_t2486981163_StaticFields*)il2cpp_codegen_static_fields_for(TlsClientFinished_t2486981163_il2cpp_TypeInfo_var))->get_Ssl3Marker_9();
HashAlgorithm_TransformBlock_m4006041779(L_10, L_11, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_12)->max_length)))), L_13, 0, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_14 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(CipherSuite_t3414744575_il2cpp_TypeInfo_var);
ByteU5BU5D_t4116647657* L_15 = ((CipherSuite_t3414744575_StaticFields*)il2cpp_codegen_static_fields_for(CipherSuite_t3414744575_il2cpp_TypeInfo_var))->get_EmptyArray_0();
HashAlgorithm_TransformFinalBlock_m3005451348(L_14, L_15, 0, 0, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_16 = V_0;
ByteU5BU5D_t4116647657* L_17 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(9 /* System.Byte[] System.Security.Cryptography.HashAlgorithm::get_Hash() */, L_16);
TlsStream_Write_m4133894341(__this, L_17, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientFinished::ProcessAsTls1()
extern "C" IL2CPP_METHOD_ATTR void TlsClientFinished_ProcessAsTls1_m2429863130 (TlsClientFinished_t2486981163 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsClientFinished_ProcessAsTls1_m2429863130_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
HashAlgorithm_t1432317219 * V_0 = NULL;
ByteU5BU5D_t4116647657* V_1 = NULL;
ByteU5BU5D_t4116647657* V_2 = NULL;
{
MD5SHA1_t723838944 * L_0 = (MD5SHA1_t723838944 *)il2cpp_codegen_object_new(MD5SHA1_t723838944_il2cpp_TypeInfo_var);
MD5SHA1__ctor_m4081016482(L_0, /*hidden argument*/NULL);
V_0 = L_0;
Context_t3971234707 * L_1 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_2 = Context_get_HandshakeMessages_m3655705111(L_1, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_3 = TlsStream_ToArray_m4177184296(L_2, /*hidden argument*/NULL);
V_1 = L_3;
HashAlgorithm_t1432317219 * L_4 = V_0;
ByteU5BU5D_t4116647657* L_5 = V_1;
ByteU5BU5D_t4116647657* L_6 = V_1;
ByteU5BU5D_t4116647657* L_7 = HashAlgorithm_ComputeHash_m2044824070(L_4, L_5, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_6)->max_length)))), /*hidden argument*/NULL);
V_2 = L_7;
Context_t3971234707 * L_8 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
SecurityParameters_t2199972650 * L_9 = Context_get_Write_m1564343513(L_8, /*hidden argument*/NULL);
CipherSuite_t3414744575 * L_10 = SecurityParameters_get_Cipher_m108846204(L_9, /*hidden argument*/NULL);
Context_t3971234707 * L_11 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_12 = Context_get_MasterSecret_m676083615(L_11, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_13 = V_2;
ByteU5BU5D_t4116647657* L_14 = CipherSuite_PRF_m2801806009(L_10, L_12, _stringLiteral548517185, L_13, ((int32_t)12), /*hidden argument*/NULL);
TlsStream_Write_m4133894341(__this, L_14, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientHello::.ctor(Mono.Security.Protocol.Tls.Context)
extern "C" IL2CPP_METHOD_ATTR void TlsClientHello__ctor_m1986768336 (TlsClientHello_t97965998 * __this, Context_t3971234707 * ___context0, const RuntimeMethod* method)
{
{
Context_t3971234707 * L_0 = ___context0;
HandshakeMessage__ctor_m2692487706(__this, L_0, 1, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientHello::Update()
extern "C" IL2CPP_METHOD_ATTR void TlsClientHello_Update_m3773127362 (TlsClientHello_t97965998 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsClientHello_Update_m3773127362_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ClientContext_t2797401965 * V_0 = NULL;
{
Context_t3971234707 * L_0 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
V_0 = ((ClientContext_t2797401965 *)CastclassClass((RuntimeObject*)L_0, ClientContext_t2797401965_il2cpp_TypeInfo_var));
HandshakeMessage_Update_m2417837686(__this, /*hidden argument*/NULL);
ClientContext_t2797401965 * L_1 = V_0;
ByteU5BU5D_t4116647657* L_2 = __this->get_random_9();
Context_set_ClientRandom_m2974454575(L_1, L_2, /*hidden argument*/NULL);
ClientContext_t2797401965 * L_3 = V_0;
Context_t3971234707 * L_4 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
int16_t L_5 = Context_get_Protocol_m1078422015(L_4, /*hidden argument*/NULL);
ClientContext_set_ClientHelloProtocol_m4189379912(L_3, L_5, /*hidden argument*/NULL);
__this->set_random_9((ByteU5BU5D_t4116647657*)NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientHello::ProcessAsSsl3()
extern "C" IL2CPP_METHOD_ATTR void TlsClientHello_ProcessAsSsl3_m3427133094 (TlsClientHello_t97965998 * __this, const RuntimeMethod* method)
{
{
VirtActionInvoker0::Invoke(24 /* System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientHello::ProcessAsTls1() */, __this);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientHello::ProcessAsTls1()
extern "C" IL2CPP_METHOD_ATTR void TlsClientHello_ProcessAsTls1_m2549285167 (TlsClientHello_t97965998 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsClientHello_ProcessAsTls1_m2549285167_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TlsStream_t2365453965 * V_0 = NULL;
int32_t V_1 = 0;
{
Context_t3971234707 * L_0 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
int16_t L_1 = Context_get_Protocol_m1078422015(L_0, /*hidden argument*/NULL);
TlsStream_Write_m1412844442(__this, L_1, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_2 = (TlsStream_t2365453965 *)il2cpp_codegen_object_new(TlsStream_t2365453965_il2cpp_TypeInfo_var);
TlsStream__ctor_m787793111(L_2, /*hidden argument*/NULL);
V_0 = L_2;
TlsStream_t2365453965 * L_3 = V_0;
Context_t3971234707 * L_4 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
int32_t L_5 = Context_GetUnixTime_m3811151335(L_4, /*hidden argument*/NULL);
TlsStream_Write_m1413106584(L_3, L_5, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_6 = V_0;
Context_t3971234707 * L_7 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_8 = Context_GetSecureRandomBytes_m3676009387(L_7, ((int32_t)28), /*hidden argument*/NULL);
TlsStream_Write_m4133894341(L_6, L_8, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_9 = V_0;
ByteU5BU5D_t4116647657* L_10 = TlsStream_ToArray_m4177184296(L_9, /*hidden argument*/NULL);
__this->set_random_9(L_10);
TlsStream_t2365453965 * L_11 = V_0;
TlsStream_Reset_m369197964(L_11, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_12 = __this->get_random_9();
TlsStream_Write_m4133894341(__this, L_12, /*hidden argument*/NULL);
Context_t3971234707 * L_13 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
Context_t3971234707 * L_14 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
TlsClientSettings_t2486039503 * L_15 = Context_get_ClientSettings_m2874391194(L_14, /*hidden argument*/NULL);
String_t* L_16 = TlsClientSettings_get_TargetHost_m2463481414(L_15, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var);
ByteU5BU5D_t4116647657* L_17 = ClientSessionCache_FromHost_m273325760(NULL /*static, unused*/, L_16, /*hidden argument*/NULL);
Context_set_SessionId_m942328427(L_13, L_17, /*hidden argument*/NULL);
Context_t3971234707 * L_18 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_19 = Context_get_SessionId_m1086671147(L_18, /*hidden argument*/NULL);
if (!L_19)
{
goto IL_00c6;
}
}
{
Context_t3971234707 * L_20 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_21 = Context_get_SessionId_m1086671147(L_20, /*hidden argument*/NULL);
TlsStream_Write_m4246040664(__this, (uint8_t)(((int32_t)((uint8_t)(((int32_t)((int32_t)(((RuntimeArray *)L_21)->max_length))))))), /*hidden argument*/NULL);
Context_t3971234707 * L_22 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_23 = Context_get_SessionId_m1086671147(L_22, /*hidden argument*/NULL);
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_23)->max_length))))) <= ((int32_t)0)))
{
goto IL_00c1;
}
}
{
Context_t3971234707 * L_24 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_25 = Context_get_SessionId_m1086671147(L_24, /*hidden argument*/NULL);
TlsStream_Write_m4133894341(__this, L_25, /*hidden argument*/NULL);
}
IL_00c1:
{
goto IL_00cd;
}
IL_00c6:
{
TlsStream_Write_m4246040664(__this, (uint8_t)0, /*hidden argument*/NULL);
}
IL_00cd:
{
Context_t3971234707 * L_26 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_27 = Context_get_SupportedCiphers_m1883682196(L_26, /*hidden argument*/NULL);
int32_t L_28 = CipherSuiteCollection_get_Count_m4271692531(L_27, /*hidden argument*/NULL);
TlsStream_Write_m1412844442(__this, (((int16_t)((int16_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_28, (int32_t)2))))), /*hidden argument*/NULL);
V_1 = 0;
goto IL_010d;
}
IL_00ed:
{
Context_t3971234707 * L_29 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_30 = Context_get_SupportedCiphers_m1883682196(L_29, /*hidden argument*/NULL);
int32_t L_31 = V_1;
CipherSuite_t3414744575 * L_32 = CipherSuiteCollection_get_Item_m4188309062(L_30, L_31, /*hidden argument*/NULL);
int16_t L_33 = CipherSuite_get_Code_m3847824475(L_32, /*hidden argument*/NULL);
TlsStream_Write_m1412844442(__this, L_33, /*hidden argument*/NULL);
int32_t L_34 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_34, (int32_t)1));
}
IL_010d:
{
int32_t L_35 = V_1;
Context_t3971234707 * L_36 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_37 = Context_get_SupportedCiphers_m1883682196(L_36, /*hidden argument*/NULL);
int32_t L_38 = CipherSuiteCollection_get_Count_m4271692531(L_37, /*hidden argument*/NULL);
if ((((int32_t)L_35) < ((int32_t)L_38)))
{
goto IL_00ed;
}
}
{
TlsStream_Write_m4246040664(__this, (uint8_t)1, /*hidden argument*/NULL);
Context_t3971234707 * L_39 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
int32_t L_40 = Context_get_CompressionMethod_m2647114016(L_39, /*hidden argument*/NULL);
TlsStream_Write_m4246040664(__this, (uint8_t)(((int32_t)((uint8_t)L_40))), /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientKeyExchange::.ctor(Mono.Security.Protocol.Tls.Context)
extern "C" IL2CPP_METHOD_ATTR void TlsClientKeyExchange__ctor_m31786095 (TlsClientKeyExchange_t643923608 * __this, Context_t3971234707 * ___context0, const RuntimeMethod* method)
{
{
Context_t3971234707 * L_0 = ___context0;
HandshakeMessage__ctor_m2692487706(__this, L_0, ((int32_t)16), /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientKeyExchange::ProcessAsSsl3()
extern "C" IL2CPP_METHOD_ATTR void TlsClientKeyExchange_ProcessAsSsl3_m2576462374 (TlsClientKeyExchange_t643923608 * __this, const RuntimeMethod* method)
{
{
TlsClientKeyExchange_ProcessCommon_m2327374157(__this, (bool)0, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientKeyExchange::ProcessAsTls1()
extern "C" IL2CPP_METHOD_ATTR void TlsClientKeyExchange_ProcessAsTls1_m338960549 (TlsClientKeyExchange_t643923608 * __this, const RuntimeMethod* method)
{
{
TlsClientKeyExchange_ProcessCommon_m2327374157(__this, (bool)1, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsClientKeyExchange::ProcessCommon(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void TlsClientKeyExchange_ProcessCommon_m2327374157 (TlsClientKeyExchange_t643923608 * __this, bool ___sendLength0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsClientKeyExchange_ProcessCommon_m2327374157_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_t4116647657* V_0 = NULL;
RSA_t2385438082 * V_1 = NULL;
RSAPKCS1KeyExchangeFormatter_t2761096101 * V_2 = NULL;
ByteU5BU5D_t4116647657* V_3 = NULL;
{
Context_t3971234707 * L_0 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
SecurityParameters_t2199972650 * L_1 = Context_get_Negotiating_m2044579817(L_0, /*hidden argument*/NULL);
CipherSuite_t3414744575 * L_2 = SecurityParameters_get_Cipher_m108846204(L_1, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_3 = CipherSuite_CreatePremasterSecret_m4264566459(L_2, /*hidden argument*/NULL);
V_0 = L_3;
V_1 = (RSA_t2385438082 *)NULL;
Context_t3971234707 * L_4 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
TlsServerSettings_t4144396432 * L_5 = Context_get_ServerSettings_m1982578801(L_4, /*hidden argument*/NULL);
bool L_6 = TlsServerSettings_get_ServerKeyExchange_m691183033(L_5, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_004e;
}
}
{
RSAManaged_t1757093820 * L_7 = (RSAManaged_t1757093820 *)il2cpp_codegen_object_new(RSAManaged_t1757093820_il2cpp_TypeInfo_var);
RSAManaged__ctor_m3504773110(L_7, /*hidden argument*/NULL);
V_1 = L_7;
RSA_t2385438082 * L_8 = V_1;
Context_t3971234707 * L_9 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
TlsServerSettings_t4144396432 * L_10 = Context_get_ServerSettings_m1982578801(L_9, /*hidden argument*/NULL);
RSAParameters_t1728406613 L_11 = TlsServerSettings_get_RsaParameters_m2264301690(L_10, /*hidden argument*/NULL);
VirtActionInvoker1< RSAParameters_t1728406613 >::Invoke(13 /* System.Void System.Security.Cryptography.RSA::ImportParameters(System.Security.Cryptography.RSAParameters) */, L_8, L_11);
goto IL_005f;
}
IL_004e:
{
Context_t3971234707 * L_12 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
TlsServerSettings_t4144396432 * L_13 = Context_get_ServerSettings_m1982578801(L_12, /*hidden argument*/NULL);
RSA_t2385438082 * L_14 = TlsServerSettings_get_CertificateRSA_m597274968(L_13, /*hidden argument*/NULL);
V_1 = L_14;
}
IL_005f:
{
RSA_t2385438082 * L_15 = V_1;
RSAPKCS1KeyExchangeFormatter_t2761096101 * L_16 = (RSAPKCS1KeyExchangeFormatter_t2761096101 *)il2cpp_codegen_object_new(RSAPKCS1KeyExchangeFormatter_t2761096101_il2cpp_TypeInfo_var);
RSAPKCS1KeyExchangeFormatter__ctor_m1170240343(L_16, L_15, /*hidden argument*/NULL);
V_2 = L_16;
RSAPKCS1KeyExchangeFormatter_t2761096101 * L_17 = V_2;
ByteU5BU5D_t4116647657* L_18 = V_0;
ByteU5BU5D_t4116647657* L_19 = VirtFuncInvoker1< ByteU5BU5D_t4116647657*, ByteU5BU5D_t4116647657* >::Invoke(4 /* System.Byte[] System.Security.Cryptography.RSAPKCS1KeyExchangeFormatter::CreateKeyExchange(System.Byte[]) */, L_17, L_18);
V_3 = L_19;
bool L_20 = ___sendLength0;
if (!L_20)
{
goto IL_007e;
}
}
{
ByteU5BU5D_t4116647657* L_21 = V_3;
TlsStream_Write_m1412844442(__this, (((int16_t)((int16_t)(((int32_t)((int32_t)(((RuntimeArray *)L_21)->max_length))))))), /*hidden argument*/NULL);
}
IL_007e:
{
ByteU5BU5D_t4116647657* L_22 = V_3;
TlsStream_Write_m4133894341(__this, L_22, /*hidden argument*/NULL);
Context_t3971234707 * L_23 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
SecurityParameters_t2199972650 * L_24 = Context_get_Negotiating_m2044579817(L_23, /*hidden argument*/NULL);
CipherSuite_t3414744575 * L_25 = SecurityParameters_get_Cipher_m108846204(L_24, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_26 = V_0;
VirtActionInvoker1< ByteU5BU5D_t4116647657* >::Invoke(6 /* System.Void Mono.Security.Protocol.Tls.CipherSuite::ComputeMasterSecret(System.Byte[]) */, L_25, L_26);
Context_t3971234707 * L_27 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
SecurityParameters_t2199972650 * L_28 = Context_get_Negotiating_m2044579817(L_27, /*hidden argument*/NULL);
CipherSuite_t3414744575 * L_29 = SecurityParameters_get_Cipher_m108846204(L_28, /*hidden argument*/NULL);
VirtActionInvoker0::Invoke(7 /* System.Void Mono.Security.Protocol.Tls.CipherSuite::ComputeKeys() */, L_29);
RSA_t2385438082 * L_30 = V_1;
AsymmetricAlgorithm_Clear_m1528825448(L_30, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate::.ctor(Mono.Security.Protocol.Tls.Context,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void TlsServerCertificate__ctor_m389328097 (TlsServerCertificate_t2716496392 * __this, Context_t3971234707 * ___context0, ByteU5BU5D_t4116647657* ___buffer1, const RuntimeMethod* method)
{
{
Context_t3971234707 * L_0 = ___context0;
ByteU5BU5D_t4116647657* L_1 = ___buffer1;
HandshakeMessage__ctor_m1555296807(__this, L_0, ((int32_t)11), L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate::Update()
extern "C" IL2CPP_METHOD_ATTR void TlsServerCertificate_Update_m3204893479 (TlsServerCertificate_t2716496392 * __this, const RuntimeMethod* method)
{
{
HandshakeMessage_Update_m2417837686(__this, /*hidden argument*/NULL);
Context_t3971234707 * L_0 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
TlsServerSettings_t4144396432 * L_1 = Context_get_ServerSettings_m1982578801(L_0, /*hidden argument*/NULL);
X509CertificateCollection_t1542168550 * L_2 = __this->get_certificates_9();
TlsServerSettings_set_Certificates_m3313375596(L_1, L_2, /*hidden argument*/NULL);
Context_t3971234707 * L_3 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
TlsServerSettings_t4144396432 * L_4 = Context_get_ServerSettings_m1982578801(L_3, /*hidden argument*/NULL);
TlsServerSettings_UpdateCertificateRSA_m3985265846(L_4, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate::ProcessAsSsl3()
extern "C" IL2CPP_METHOD_ATTR void TlsServerCertificate_ProcessAsSsl3_m1306583193 (TlsServerCertificate_t2716496392 * __this, const RuntimeMethod* method)
{
{
VirtActionInvoker0::Invoke(24 /* System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate::ProcessAsTls1() */, __this);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate::ProcessAsTls1()
extern "C" IL2CPP_METHOD_ATTR void TlsServerCertificate_ProcessAsTls1_m819212276 (TlsServerCertificate_t2716496392 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsServerCertificate_ProcessAsTls1_m819212276_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
ByteU5BU5D_t4116647657* V_3 = NULL;
X509Certificate_t489243025 * V_4 = NULL;
{
X509CertificateCollection_t1542168550 * L_0 = (X509CertificateCollection_t1542168550 *)il2cpp_codegen_object_new(X509CertificateCollection_t1542168550_il2cpp_TypeInfo_var);
X509CertificateCollection__ctor_m2066277891(L_0, /*hidden argument*/NULL);
__this->set_certificates_9(L_0);
V_0 = 0;
int32_t L_1 = TlsStream_ReadInt24_m3096782201(__this, /*hidden argument*/NULL);
V_1 = L_1;
goto IL_004d;
}
IL_0019:
{
int32_t L_2 = TlsStream_ReadInt24_m3096782201(__this, /*hidden argument*/NULL);
V_2 = L_2;
int32_t L_3 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)3));
int32_t L_4 = V_2;
if ((((int32_t)L_4) <= ((int32_t)0)))
{
goto IL_004d;
}
}
{
int32_t L_5 = V_2;
ByteU5BU5D_t4116647657* L_6 = TlsStream_ReadBytes_m2334803179(__this, L_5, /*hidden argument*/NULL);
V_3 = L_6;
ByteU5BU5D_t4116647657* L_7 = V_3;
X509Certificate_t489243025 * L_8 = (X509Certificate_t489243025 *)il2cpp_codegen_object_new(X509Certificate_t489243025_il2cpp_TypeInfo_var);
X509Certificate__ctor_m553243489(L_8, L_7, /*hidden argument*/NULL);
V_4 = L_8;
X509CertificateCollection_t1542168550 * L_9 = __this->get_certificates_9();
X509Certificate_t489243025 * L_10 = V_4;
X509CertificateCollection_Add_m2277657976(L_9, L_10, /*hidden argument*/NULL);
int32_t L_11 = V_0;
int32_t L_12 = V_2;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12));
}
IL_004d:
{
int32_t L_13 = V_0;
int32_t L_14 = V_1;
if ((((int32_t)L_13) < ((int32_t)L_14)))
{
goto IL_0019;
}
}
{
X509CertificateCollection_t1542168550 * L_15 = __this->get_certificates_9();
TlsServerCertificate_validateCertificates_m4242999387(__this, L_15, /*hidden argument*/NULL);
return;
}
}
// System.Boolean Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate::checkCertificateUsage(Mono.Security.X509.X509Certificate)
extern "C" IL2CPP_METHOD_ATTR bool TlsServerCertificate_checkCertificateUsage_m2152016773 (TlsServerCertificate_t2716496392 * __this, X509Certificate_t489243025 * ___cert0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsServerCertificate_checkCertificateUsage_m2152016773_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ClientContext_t2797401965 * V_0 = NULL;
int32_t V_1 = 0;
KeyUsageExtension_t1795615912 * V_2 = NULL;
ExtendedKeyUsageExtension_t3929363080 * V_3 = NULL;
X509Extension_t3173393653 * V_4 = NULL;
NetscapeCertTypeExtension_t1524296876 * V_5 = NULL;
int32_t V_6 = 0;
int32_t G_B19_0 = 0;
int32_t G_B26_0 = 0;
{
Context_t3971234707 * L_0 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
V_0 = ((ClientContext_t2797401965 *)CastclassClass((RuntimeObject*)L_0, ClientContext_t2797401965_il2cpp_TypeInfo_var));
X509Certificate_t489243025 * L_1 = ___cert0;
int32_t L_2 = X509Certificate_get_Version_m3419034307(L_1, /*hidden argument*/NULL);
if ((((int32_t)L_2) >= ((int32_t)3)))
{
goto IL_001a;
}
}
{
return (bool)1;
}
IL_001a:
{
V_1 = 0;
ClientContext_t2797401965 * L_3 = V_0;
SecurityParameters_t2199972650 * L_4 = Context_get_Negotiating_m2044579817(L_3, /*hidden argument*/NULL);
CipherSuite_t3414744575 * L_5 = SecurityParameters_get_Cipher_m108846204(L_4, /*hidden argument*/NULL);
int32_t L_6 = CipherSuite_get_ExchangeAlgorithmType_m1633709183(L_5, /*hidden argument*/NULL);
V_6 = L_6;
int32_t L_7 = V_6;
switch (L_7)
{
case 0:
{
goto IL_0061;
}
case 1:
{
goto IL_0068;
}
case 2:
{
goto IL_006a;
}
case 3:
{
goto IL_0059;
}
case 4:
{
goto IL_004e;
}
}
}
{
goto IL_006a;
}
IL_004e:
{
V_1 = ((int32_t)128);
goto IL_006a;
}
IL_0059:
{
V_1 = ((int32_t)32);
goto IL_006a;
}
IL_0061:
{
V_1 = 8;
goto IL_006a;
}
IL_0068:
{
return (bool)0;
}
IL_006a:
{
V_2 = (KeyUsageExtension_t1795615912 *)NULL;
V_3 = (ExtendedKeyUsageExtension_t3929363080 *)NULL;
X509Certificate_t489243025 * L_8 = ___cert0;
X509ExtensionCollection_t609554709 * L_9 = X509Certificate_get_Extensions_m2532937142(L_8, /*hidden argument*/NULL);
X509Extension_t3173393653 * L_10 = X509ExtensionCollection_get_Item_m4249795832(L_9, _stringLiteral1004423982, /*hidden argument*/NULL);
V_4 = L_10;
X509Extension_t3173393653 * L_11 = V_4;
if (!L_11)
{
goto IL_008f;
}
}
{
X509Extension_t3173393653 * L_12 = V_4;
KeyUsageExtension_t1795615912 * L_13 = (KeyUsageExtension_t1795615912 *)il2cpp_codegen_object_new(KeyUsageExtension_t1795615912_il2cpp_TypeInfo_var);
KeyUsageExtension__ctor_m3414452076(L_13, L_12, /*hidden argument*/NULL);
V_2 = L_13;
}
IL_008f:
{
X509Certificate_t489243025 * L_14 = ___cert0;
X509ExtensionCollection_t609554709 * L_15 = X509Certificate_get_Extensions_m2532937142(L_14, /*hidden argument*/NULL);
X509Extension_t3173393653 * L_16 = X509ExtensionCollection_get_Item_m4249795832(L_15, _stringLiteral1386761008, /*hidden argument*/NULL);
V_4 = L_16;
X509Extension_t3173393653 * L_17 = V_4;
if (!L_17)
{
goto IL_00b0;
}
}
{
X509Extension_t3173393653 * L_18 = V_4;
ExtendedKeyUsageExtension_t3929363080 * L_19 = (ExtendedKeyUsageExtension_t3929363080 *)il2cpp_codegen_object_new(ExtendedKeyUsageExtension_t3929363080_il2cpp_TypeInfo_var);
ExtendedKeyUsageExtension__ctor_m3228998638(L_19, L_18, /*hidden argument*/NULL);
V_3 = L_19;
}
IL_00b0:
{
KeyUsageExtension_t1795615912 * L_20 = V_2;
if (!L_20)
{
goto IL_00f3;
}
}
{
ExtendedKeyUsageExtension_t3929363080 * L_21 = V_3;
if (!L_21)
{
goto IL_00f3;
}
}
{
KeyUsageExtension_t1795615912 * L_22 = V_2;
int32_t L_23 = V_1;
bool L_24 = KeyUsageExtension_Support_m3508856672(L_22, L_23, /*hidden argument*/NULL);
if (L_24)
{
goto IL_00ca;
}
}
{
return (bool)0;
}
IL_00ca:
{
ExtendedKeyUsageExtension_t3929363080 * L_25 = V_3;
ArrayList_t2718874744 * L_26 = ExtendedKeyUsageExtension_get_KeyPurpose_m187586919(L_25, /*hidden argument*/NULL);
bool L_27 = VirtFuncInvoker1< bool, RuntimeObject * >::Invoke(32 /* System.Boolean System.Collections.ArrayList::Contains(System.Object) */, L_26, _stringLiteral1948411844);
if (L_27)
{
goto IL_00f1;
}
}
{
ExtendedKeyUsageExtension_t3929363080 * L_28 = V_3;
ArrayList_t2718874744 * L_29 = ExtendedKeyUsageExtension_get_KeyPurpose_m187586919(L_28, /*hidden argument*/NULL);
bool L_30 = VirtFuncInvoker1< bool, RuntimeObject * >::Invoke(32 /* System.Boolean System.Collections.ArrayList::Contains(System.Object) */, L_29, _stringLiteral116715971);
G_B19_0 = ((int32_t)(L_30));
goto IL_00f2;
}
IL_00f1:
{
G_B19_0 = 1;
}
IL_00f2:
{
return (bool)G_B19_0;
}
IL_00f3:
{
KeyUsageExtension_t1795615912 * L_31 = V_2;
if (!L_31)
{
goto IL_0101;
}
}
{
KeyUsageExtension_t1795615912 * L_32 = V_2;
int32_t L_33 = V_1;
bool L_34 = KeyUsageExtension_Support_m3508856672(L_32, L_33, /*hidden argument*/NULL);
return L_34;
}
IL_0101:
{
ExtendedKeyUsageExtension_t3929363080 * L_35 = V_3;
if (!L_35)
{
goto IL_0130;
}
}
{
ExtendedKeyUsageExtension_t3929363080 * L_36 = V_3;
ArrayList_t2718874744 * L_37 = ExtendedKeyUsageExtension_get_KeyPurpose_m187586919(L_36, /*hidden argument*/NULL);
bool L_38 = VirtFuncInvoker1< bool, RuntimeObject * >::Invoke(32 /* System.Boolean System.Collections.ArrayList::Contains(System.Object) */, L_37, _stringLiteral1948411844);
if (L_38)
{
goto IL_012e;
}
}
{
ExtendedKeyUsageExtension_t3929363080 * L_39 = V_3;
ArrayList_t2718874744 * L_40 = ExtendedKeyUsageExtension_get_KeyPurpose_m187586919(L_39, /*hidden argument*/NULL);
bool L_41 = VirtFuncInvoker1< bool, RuntimeObject * >::Invoke(32 /* System.Boolean System.Collections.ArrayList::Contains(System.Object) */, L_40, _stringLiteral116715971);
G_B26_0 = ((int32_t)(L_41));
goto IL_012f;
}
IL_012e:
{
G_B26_0 = 1;
}
IL_012f:
{
return (bool)G_B26_0;
}
IL_0130:
{
X509Certificate_t489243025 * L_42 = ___cert0;
X509ExtensionCollection_t609554709 * L_43 = X509Certificate_get_Extensions_m2532937142(L_42, /*hidden argument*/NULL);
X509Extension_t3173393653 * L_44 = X509ExtensionCollection_get_Item_m4249795832(L_43, _stringLiteral4008398740, /*hidden argument*/NULL);
V_4 = L_44;
X509Extension_t3173393653 * L_45 = V_4;
if (!L_45)
{
goto IL_015c;
}
}
{
X509Extension_t3173393653 * L_46 = V_4;
NetscapeCertTypeExtension_t1524296876 * L_47 = (NetscapeCertTypeExtension_t1524296876 *)il2cpp_codegen_object_new(NetscapeCertTypeExtension_t1524296876_il2cpp_TypeInfo_var);
NetscapeCertTypeExtension__ctor_m323882095(L_47, L_46, /*hidden argument*/NULL);
V_5 = L_47;
NetscapeCertTypeExtension_t1524296876 * L_48 = V_5;
bool L_49 = NetscapeCertTypeExtension_Support_m3981181230(L_48, ((int32_t)64), /*hidden argument*/NULL);
return L_49;
}
IL_015c:
{
return (bool)1;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate::validateCertificates(Mono.Security.X509.X509CertificateCollection)
extern "C" IL2CPP_METHOD_ATTR void TlsServerCertificate_validateCertificates_m4242999387 (TlsServerCertificate_t2716496392 * __this, X509CertificateCollection_t1542168550 * ___certificates0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsServerCertificate_validateCertificates_m4242999387_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ClientContext_t2797401965 * V_0 = NULL;
uint8_t V_1 = 0;
ValidationResult_t3834298736 * V_2 = NULL;
int64_t V_3 = 0;
String_t* V_4 = NULL;
X509Certificate_t489243025 * V_5 = NULL;
X509Certificate_t713131622 * V_6 = NULL;
ArrayList_t2718874744 * V_7 = NULL;
X509CertificateCollection_t1542168550 * V_8 = NULL;
X509Chain_t863783600 * V_9 = NULL;
bool V_10 = false;
Int32U5BU5D_t385246372* V_11 = NULL;
int64_t V_12 = 0;
int32_t V_13 = 0;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
{
Context_t3971234707 * L_0 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
V_0 = ((ClientContext_t2797401965 *)CastclassClass((RuntimeObject*)L_0, ClientContext_t2797401965_il2cpp_TypeInfo_var));
V_1 = ((int32_t)42);
ClientContext_t2797401965 * L_1 = V_0;
SslClientStream_t3914624661 * L_2 = ClientContext_get_SslStream_m1583577309(L_1, /*hidden argument*/NULL);
bool L_3 = VirtFuncInvoker0< bool >::Invoke(29 /* System.Boolean Mono.Security.Protocol.Tls.SslClientStream::get_HaveRemoteValidation2Callback() */, L_2);
if (!L_3)
{
goto IL_00b4;
}
}
{
ClientContext_t2797401965 * L_4 = V_0;
SslClientStream_t3914624661 * L_5 = ClientContext_get_SslStream_m1583577309(L_4, /*hidden argument*/NULL);
X509CertificateCollection_t1542168550 * L_6 = ___certificates0;
ValidationResult_t3834298736 * L_7 = VirtFuncInvoker1< ValidationResult_t3834298736 *, X509CertificateCollection_t1542168550 * >::Invoke(32 /* Mono.Security.Protocol.Tls.ValidationResult Mono.Security.Protocol.Tls.SslClientStream::RaiseServerCertificateValidation2(Mono.Security.X509.X509CertificateCollection) */, L_5, L_6);
V_2 = L_7;
ValidationResult_t3834298736 * L_8 = V_2;
bool L_9 = ValidationResult_get_Trusted_m2108852505(L_8, /*hidden argument*/NULL);
if (!L_9)
{
goto IL_0038;
}
}
{
return;
}
IL_0038:
{
ValidationResult_t3834298736 * L_10 = V_2;
int32_t L_11 = ValidationResult_get_ErrorCode_m1533688152(L_10, /*hidden argument*/NULL);
V_3 = (((int64_t)((int64_t)L_11)));
int64_t L_12 = V_3;
V_12 = L_12;
int64_t L_13 = V_12;
if ((((int64_t)L_13) == ((int64_t)(((int64_t)((uint64_t)(((uint32_t)((uint32_t)((int32_t)-2146762487))))))))))
{
goto IL_007f;
}
}
{
int64_t L_14 = V_12;
if ((((int64_t)L_14) == ((int64_t)(((int64_t)((uint64_t)(((uint32_t)((uint32_t)((int32_t)-2146762486))))))))))
{
goto IL_0077;
}
}
{
int64_t L_15 = V_12;
if ((((int64_t)L_15) == ((int64_t)(((int64_t)((uint64_t)(((uint32_t)((uint32_t)((int32_t)-2146762495))))))))))
{
goto IL_006f;
}
}
{
goto IL_0087;
}
IL_006f:
{
V_1 = ((int32_t)45);
goto IL_008f;
}
IL_0077:
{
V_1 = ((int32_t)48);
goto IL_008f;
}
IL_007f:
{
V_1 = ((int32_t)48);
goto IL_008f;
}
IL_0087:
{
V_1 = ((int32_t)46);
goto IL_008f;
}
IL_008f:
{
int64_t L_16 = V_3;
int64_t L_17 = L_16;
RuntimeObject * L_18 = Box(Int64_t3736567304_il2cpp_TypeInfo_var, &L_17);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_19 = String_Format_m2844511972(NULL /*static, unused*/, _stringLiteral75338978, L_18, /*hidden argument*/NULL);
V_4 = L_19;
uint8_t L_20 = V_1;
String_t* L_21 = V_4;
String_t* L_22 = String_Concat_m3937257545(NULL /*static, unused*/, _stringLiteral3757118627, L_21, /*hidden argument*/NULL);
TlsException_t3534743363 * L_23 = (TlsException_t3534743363 *)il2cpp_codegen_object_new(TlsException_t3534743363_il2cpp_TypeInfo_var);
TlsException__ctor_m3242533711(L_23, L_20, L_22, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_23, NULL, TlsServerCertificate_validateCertificates_m4242999387_RuntimeMethod_var);
}
IL_00b4:
{
X509CertificateCollection_t1542168550 * L_24 = ___certificates0;
X509Certificate_t489243025 * L_25 = X509CertificateCollection_get_Item_m3285563224(L_24, 0, /*hidden argument*/NULL);
V_5 = L_25;
X509Certificate_t489243025 * L_26 = V_5;
ByteU5BU5D_t4116647657* L_27 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(12 /* System.Byte[] Mono.Security.X509.X509Certificate::get_RawData() */, L_26);
X509Certificate_t713131622 * L_28 = (X509Certificate_t713131622 *)il2cpp_codegen_object_new(X509Certificate_t713131622_il2cpp_TypeInfo_var);
X509Certificate__ctor_m1413707489(L_28, L_27, /*hidden argument*/NULL);
V_6 = L_28;
ArrayList_t2718874744 * L_29 = (ArrayList_t2718874744 *)il2cpp_codegen_object_new(ArrayList_t2718874744_il2cpp_TypeInfo_var);
ArrayList__ctor_m4254721275(L_29, /*hidden argument*/NULL);
V_7 = L_29;
X509Certificate_t489243025 * L_30 = V_5;
bool L_31 = TlsServerCertificate_checkCertificateUsage_m2152016773(__this, L_30, /*hidden argument*/NULL);
if (L_31)
{
goto IL_00f1;
}
}
{
ArrayList_t2718874744 * L_32 = V_7;
int32_t L_33 = ((int32_t)-2146762490);
RuntimeObject * L_34 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_33);
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_32, L_34);
}
IL_00f1:
{
X509Certificate_t489243025 * L_35 = V_5;
bool L_36 = TlsServerCertificate_checkServerIdentity_m2801575130(__this, L_35, /*hidden argument*/NULL);
if (L_36)
{
goto IL_0110;
}
}
{
ArrayList_t2718874744 * L_37 = V_7;
int32_t L_38 = ((int32_t)-2146762481);
RuntimeObject * L_39 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_38);
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_37, L_39);
}
IL_0110:
{
X509CertificateCollection_t1542168550 * L_40 = ___certificates0;
X509CertificateCollection_t1542168550 * L_41 = (X509CertificateCollection_t1542168550 *)il2cpp_codegen_object_new(X509CertificateCollection_t1542168550_il2cpp_TypeInfo_var);
X509CertificateCollection__ctor_m3467061452(L_41, L_40, /*hidden argument*/NULL);
V_8 = L_41;
X509CertificateCollection_t1542168550 * L_42 = V_8;
X509Certificate_t489243025 * L_43 = V_5;
X509CertificateCollection_Remove_m2199606504(L_42, L_43, /*hidden argument*/NULL);
X509CertificateCollection_t1542168550 * L_44 = V_8;
X509Chain_t863783600 * L_45 = (X509Chain_t863783600 *)il2cpp_codegen_object_new(X509Chain_t863783600_il2cpp_TypeInfo_var);
X509Chain__ctor_m1084071882(L_45, L_44, /*hidden argument*/NULL);
V_9 = L_45;
V_10 = (bool)0;
}
IL_012d:
try
{ // begin try (depth: 1)
X509Chain_t863783600 * L_46 = V_9;
X509Certificate_t489243025 * L_47 = V_5;
bool L_48 = X509Chain_Build_m2469702749(L_46, L_47, /*hidden argument*/NULL);
V_10 = L_48;
goto IL_0146;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (Exception_t_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_013d;
throw e;
}
CATCH_013d:
{ // begin catch(System.Exception)
V_10 = (bool)0;
goto IL_0146;
} // end catch (depth: 1)
IL_0146:
{
bool L_49 = V_10;
if (L_49)
{
goto IL_0243;
}
}
{
X509Chain_t863783600 * L_50 = V_9;
int32_t L_51 = X509Chain_get_Status_m348797749(L_50, /*hidden argument*/NULL);
V_13 = L_51;
int32_t L_52 = V_13;
if ((((int32_t)L_52) == ((int32_t)1)))
{
goto IL_01d9;
}
}
{
int32_t L_53 = V_13;
if ((((int32_t)L_53) == ((int32_t)2)))
{
goto IL_01c2;
}
}
{
int32_t L_54 = V_13;
if ((((int32_t)L_54) == ((int32_t)8)))
{
goto IL_01ab;
}
}
{
int32_t L_55 = V_13;
if ((((int32_t)L_55) == ((int32_t)((int32_t)32))))
{
goto IL_020d;
}
}
{
int32_t L_56 = V_13;
if ((((int32_t)L_56) == ((int32_t)((int32_t)1024))))
{
goto IL_0194;
}
}
{
int32_t L_57 = V_13;
if ((((int32_t)L_57) == ((int32_t)((int32_t)65536))))
{
goto IL_01f3;
}
}
{
goto IL_0227;
}
IL_0194:
{
ArrayList_t2718874744 * L_58 = V_7;
int32_t L_59 = ((int32_t)-2146869223);
RuntimeObject * L_60 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_59);
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_58, L_60);
goto IL_0243;
}
IL_01ab:
{
ArrayList_t2718874744 * L_61 = V_7;
int32_t L_62 = ((int32_t)-2146869232);
RuntimeObject * L_63 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_62);
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_61, L_63);
goto IL_0243;
}
IL_01c2:
{
ArrayList_t2718874744 * L_64 = V_7;
int32_t L_65 = ((int32_t)-2146762494);
RuntimeObject * L_66 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_65);
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_64, L_66);
goto IL_0243;
}
IL_01d9:
{
V_1 = ((int32_t)45);
ArrayList_t2718874744 * L_67 = V_7;
int32_t L_68 = ((int32_t)-2146762495);
RuntimeObject * L_69 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_68);
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_67, L_69);
goto IL_0243;
}
IL_01f3:
{
V_1 = ((int32_t)48);
ArrayList_t2718874744 * L_70 = V_7;
int32_t L_71 = ((int32_t)-2146762486);
RuntimeObject * L_72 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_71);
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_70, L_72);
goto IL_0243;
}
IL_020d:
{
V_1 = ((int32_t)48);
ArrayList_t2718874744 * L_73 = V_7;
int32_t L_74 = ((int32_t)-2146762487);
RuntimeObject * L_75 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_74);
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_73, L_75);
goto IL_0243;
}
IL_0227:
{
V_1 = ((int32_t)46);
ArrayList_t2718874744 * L_76 = V_7;
X509Chain_t863783600 * L_77 = V_9;
int32_t L_78 = X509Chain_get_Status_m348797749(L_77, /*hidden argument*/NULL);
int32_t L_79 = ((int32_t)L_78);
RuntimeObject * L_80 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_79);
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(30 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_76, L_80);
goto IL_0243;
}
IL_0243:
{
ArrayList_t2718874744 * L_81 = V_7;
RuntimeTypeHandle_t3027515415 L_82 = { reinterpret_cast<intptr_t> (Int32_t2950945753_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_83 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, L_82, /*hidden argument*/NULL);
RuntimeArray * L_84 = VirtFuncInvoker1< RuntimeArray *, Type_t * >::Invoke(48 /* System.Array System.Collections.ArrayList::ToArray(System.Type) */, L_81, L_83);
V_11 = ((Int32U5BU5D_t385246372*)Castclass((RuntimeObject*)L_84, Int32U5BU5D_t385246372_il2cpp_TypeInfo_var));
ClientContext_t2797401965 * L_85 = V_0;
SslClientStream_t3914624661 * L_86 = ClientContext_get_SslStream_m1583577309(L_85, /*hidden argument*/NULL);
X509Certificate_t713131622 * L_87 = V_6;
Int32U5BU5D_t385246372* L_88 = V_11;
bool L_89 = VirtFuncInvoker2< bool, X509Certificate_t713131622 *, Int32U5BU5D_t385246372* >::Invoke(31 /* System.Boolean Mono.Security.Protocol.Tls.SslClientStream::RaiseServerCertificateValidation(System.Security.Cryptography.X509Certificates.X509Certificate,System.Int32[]) */, L_86, L_87, L_88);
if (L_89)
{
goto IL_027b;
}
}
{
uint8_t L_90 = V_1;
TlsException_t3534743363 * L_91 = (TlsException_t3534743363 *)il2cpp_codegen_object_new(TlsException_t3534743363_il2cpp_TypeInfo_var);
TlsException__ctor_m3242533711(L_91, L_90, _stringLiteral2975569484, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_91, NULL, TlsServerCertificate_validateCertificates_m4242999387_RuntimeMethod_var);
}
IL_027b:
{
return;
}
}
// System.Boolean Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate::checkServerIdentity(Mono.Security.X509.X509Certificate)
extern "C" IL2CPP_METHOD_ATTR bool TlsServerCertificate_checkServerIdentity_m2801575130 (TlsServerCertificate_t2716496392 * __this, X509Certificate_t489243025 * ___cert0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsServerCertificate_checkServerIdentity_m2801575130_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ClientContext_t2797401965 * V_0 = NULL;
String_t* V_1 = NULL;
X509Extension_t3173393653 * V_2 = NULL;
SubjectAltNameExtension_t1536937677 * V_3 = NULL;
String_t* V_4 = NULL;
StringU5BU5D_t1281789340* V_5 = NULL;
int32_t V_6 = 0;
String_t* V_7 = NULL;
StringU5BU5D_t1281789340* V_8 = NULL;
int32_t V_9 = 0;
{
Context_t3971234707 * L_0 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
V_0 = ((ClientContext_t2797401965 *)CastclassClass((RuntimeObject*)L_0, ClientContext_t2797401965_il2cpp_TypeInfo_var));
ClientContext_t2797401965 * L_1 = V_0;
TlsClientSettings_t2486039503 * L_2 = Context_get_ClientSettings_m2874391194(L_1, /*hidden argument*/NULL);
String_t* L_3 = TlsClientSettings_get_TargetHost_m2463481414(L_2, /*hidden argument*/NULL);
V_1 = L_3;
X509Certificate_t489243025 * L_4 = ___cert0;
X509ExtensionCollection_t609554709 * L_5 = X509Certificate_get_Extensions_m2532937142(L_4, /*hidden argument*/NULL);
X509Extension_t3173393653 * L_6 = X509ExtensionCollection_get_Item_m4249795832(L_5, _stringLiteral1004423984, /*hidden argument*/NULL);
V_2 = L_6;
X509Extension_t3173393653 * L_7 = V_2;
if (!L_7)
{
goto IL_00a4;
}
}
{
X509Extension_t3173393653 * L_8 = V_2;
SubjectAltNameExtension_t1536937677 * L_9 = (SubjectAltNameExtension_t1536937677 *)il2cpp_codegen_object_new(SubjectAltNameExtension_t1536937677_il2cpp_TypeInfo_var);
SubjectAltNameExtension__ctor_m1991362362(L_9, L_8, /*hidden argument*/NULL);
V_3 = L_9;
SubjectAltNameExtension_t1536937677 * L_10 = V_3;
StringU5BU5D_t1281789340* L_11 = SubjectAltNameExtension_get_DNSNames_m2346000460(L_10, /*hidden argument*/NULL);
V_5 = L_11;
V_6 = 0;
goto IL_0062;
}
IL_0046:
{
StringU5BU5D_t1281789340* L_12 = V_5;
int32_t L_13 = V_6;
int32_t L_14 = L_13;
String_t* L_15 = (L_12)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_14));
V_4 = L_15;
String_t* L_16 = V_1;
String_t* L_17 = V_4;
bool L_18 = TlsServerCertificate_Match_m2996121276(NULL /*static, unused*/, L_16, L_17, /*hidden argument*/NULL);
if (!L_18)
{
goto IL_005c;
}
}
{
return (bool)1;
}
IL_005c:
{
int32_t L_19 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add((int32_t)L_19, (int32_t)1));
}
IL_0062:
{
int32_t L_20 = V_6;
StringU5BU5D_t1281789340* L_21 = V_5;
if ((((int32_t)L_20) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_21)->max_length)))))))
{
goto IL_0046;
}
}
{
SubjectAltNameExtension_t1536937677 * L_22 = V_3;
StringU5BU5D_t1281789340* L_23 = SubjectAltNameExtension_get_IPAddresses_m1641002124(L_22, /*hidden argument*/NULL);
V_8 = L_23;
V_9 = 0;
goto IL_0099;
}
IL_007d:
{
StringU5BU5D_t1281789340* L_24 = V_8;
int32_t L_25 = V_9;
int32_t L_26 = L_25;
String_t* L_27 = (L_24)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_26));
V_7 = L_27;
String_t* L_28 = V_7;
String_t* L_29 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
bool L_30 = String_op_Equality_m920492651(NULL /*static, unused*/, L_28, L_29, /*hidden argument*/NULL);
if (!L_30)
{
goto IL_0093;
}
}
{
return (bool)1;
}
IL_0093:
{
int32_t L_31 = V_9;
V_9 = ((int32_t)il2cpp_codegen_add((int32_t)L_31, (int32_t)1));
}
IL_0099:
{
int32_t L_32 = V_9;
StringU5BU5D_t1281789340* L_33 = V_8;
if ((((int32_t)L_32) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_33)->max_length)))))))
{
goto IL_007d;
}
}
IL_00a4:
{
X509Certificate_t489243025 * L_34 = ___cert0;
String_t* L_35 = VirtFuncInvoker0< String_t* >::Invoke(16 /* System.String Mono.Security.X509.X509Certificate::get_SubjectName() */, L_34);
bool L_36 = TlsServerCertificate_checkDomainName_m2543190336(__this, L_35, /*hidden argument*/NULL);
return L_36;
}
}
// System.Boolean Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate::checkDomainName(System.String)
extern "C" IL2CPP_METHOD_ATTR bool TlsServerCertificate_checkDomainName_m2543190336 (TlsServerCertificate_t2716496392 * __this, String_t* ___subjectName0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsServerCertificate_checkDomainName_m2543190336_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ClientContext_t2797401965 * V_0 = NULL;
String_t* V_1 = NULL;
Regex_t3657309853 * V_2 = NULL;
MatchCollection_t1395363720 * V_3 = NULL;
{
Context_t3971234707 * L_0 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
V_0 = ((ClientContext_t2797401965 *)CastclassClass((RuntimeObject*)L_0, ClientContext_t2797401965_il2cpp_TypeInfo_var));
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_1 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_2();
V_1 = L_1;
Regex_t3657309853 * L_2 = (Regex_t3657309853 *)il2cpp_codegen_object_new(Regex_t3657309853_il2cpp_TypeInfo_var);
Regex__ctor_m3948448025(L_2, _stringLiteral4107337270, /*hidden argument*/NULL);
V_2 = L_2;
Regex_t3657309853 * L_3 = V_2;
String_t* L_4 = ___subjectName0;
MatchCollection_t1395363720 * L_5 = Regex_Matches_m979395559(L_3, L_4, /*hidden argument*/NULL);
V_3 = L_5;
MatchCollection_t1395363720 * L_6 = V_3;
int32_t L_7 = MatchCollection_get_Count_m1586545784(L_6, /*hidden argument*/NULL);
if ((!(((uint32_t)L_7) == ((uint32_t)1))))
{
goto IL_005f;
}
}
{
MatchCollection_t1395363720 * L_8 = V_3;
Match_t3408321083 * L_9 = VirtFuncInvoker1< Match_t3408321083 *, int32_t >::Invoke(9 /* System.Text.RegularExpressions.Match System.Text.RegularExpressions.MatchCollection::get_Item(System.Int32) */, L_8, 0);
bool L_10 = Group_get_Success_m3823591889(L_9, /*hidden argument*/NULL);
if (!L_10)
{
goto IL_005f;
}
}
{
MatchCollection_t1395363720 * L_11 = V_3;
Match_t3408321083 * L_12 = VirtFuncInvoker1< Match_t3408321083 *, int32_t >::Invoke(9 /* System.Text.RegularExpressions.Match System.Text.RegularExpressions.MatchCollection::get_Item(System.Int32) */, L_11, 0);
GroupCollection_t69770484 * L_13 = VirtFuncInvoker0< GroupCollection_t69770484 * >::Invoke(4 /* System.Text.RegularExpressions.GroupCollection System.Text.RegularExpressions.Match::get_Groups() */, L_12);
Group_t2468205786 * L_14 = GroupCollection_get_Item_m723682197(L_13, 1, /*hidden argument*/NULL);
String_t* L_15 = Capture_get_Value_m3919646039(L_14, /*hidden argument*/NULL);
String_t* L_16 = String_ToString_m838249115(L_15, /*hidden argument*/NULL);
V_1 = L_16;
}
IL_005f:
{
ClientContext_t2797401965 * L_17 = V_0;
TlsClientSettings_t2486039503 * L_18 = Context_get_ClientSettings_m2874391194(L_17, /*hidden argument*/NULL);
String_t* L_19 = TlsClientSettings_get_TargetHost_m2463481414(L_18, /*hidden argument*/NULL);
String_t* L_20 = V_1;
bool L_21 = TlsServerCertificate_Match_m2996121276(NULL /*static, unused*/, L_19, L_20, /*hidden argument*/NULL);
return L_21;
}
}
// System.Boolean Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate::Match(System.String,System.String)
extern "C" IL2CPP_METHOD_ATTR bool TlsServerCertificate_Match_m2996121276 (RuntimeObject * __this /* static, unused */, String_t* ___hostname0, String_t* ___pattern1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsServerCertificate_Match_m2996121276_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
String_t* V_2 = NULL;
int32_t V_3 = 0;
int32_t V_4 = 0;
String_t* V_5 = NULL;
int32_t G_B15_0 = 0;
{
String_t* L_0 = ___pattern1;
int32_t L_1 = String_IndexOf_m363431711(L_0, ((int32_t)42), /*hidden argument*/NULL);
V_0 = L_1;
int32_t L_2 = V_0;
if ((!(((uint32_t)L_2) == ((uint32_t)(-1)))))
{
goto IL_0021;
}
}
{
String_t* L_3 = ___hostname0;
String_t* L_4 = ___pattern1;
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t4157843068_il2cpp_TypeInfo_var);
CultureInfo_t4157843068 * L_5 = CultureInfo_get_InvariantCulture_m3532445182(NULL /*static, unused*/, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
int32_t L_6 = String_Compare_m1293271421(NULL /*static, unused*/, L_3, L_4, (bool)1, L_5, /*hidden argument*/NULL);
return (bool)((((int32_t)L_6) == ((int32_t)0))? 1 : 0);
}
IL_0021:
{
int32_t L_7 = V_0;
String_t* L_8 = ___pattern1;
int32_t L_9 = String_get_Length_m3847582255(L_8, /*hidden argument*/NULL);
if ((((int32_t)L_7) == ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)1)))))
{
goto IL_0041;
}
}
{
String_t* L_10 = ___pattern1;
int32_t L_11 = V_0;
Il2CppChar L_12 = String_get_Chars_m2986988803(L_10, ((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1)), /*hidden argument*/NULL);
if ((((int32_t)L_12) == ((int32_t)((int32_t)46))))
{
goto IL_0041;
}
}
{
return (bool)0;
}
IL_0041:
{
String_t* L_13 = ___pattern1;
int32_t L_14 = V_0;
int32_t L_15 = String_IndexOf_m2466398549(L_13, ((int32_t)42), ((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1)), /*hidden argument*/NULL);
V_1 = L_15;
int32_t L_16 = V_1;
if ((((int32_t)L_16) == ((int32_t)(-1))))
{
goto IL_0056;
}
}
{
return (bool)0;
}
IL_0056:
{
String_t* L_17 = ___pattern1;
int32_t L_18 = V_0;
String_t* L_19 = String_Substring_m2848979100(L_17, ((int32_t)il2cpp_codegen_add((int32_t)L_18, (int32_t)1)), /*hidden argument*/NULL);
V_2 = L_19;
String_t* L_20 = ___hostname0;
int32_t L_21 = String_get_Length_m3847582255(L_20, /*hidden argument*/NULL);
String_t* L_22 = V_2;
int32_t L_23 = String_get_Length_m3847582255(L_22, /*hidden argument*/NULL);
V_3 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_21, (int32_t)L_23));
int32_t L_24 = V_3;
if ((((int32_t)L_24) > ((int32_t)0)))
{
goto IL_0077;
}
}
{
return (bool)0;
}
IL_0077:
{
String_t* L_25 = ___hostname0;
int32_t L_26 = V_3;
String_t* L_27 = V_2;
String_t* L_28 = V_2;
int32_t L_29 = String_get_Length_m3847582255(L_28, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t4157843068_il2cpp_TypeInfo_var);
CultureInfo_t4157843068 * L_30 = CultureInfo_get_InvariantCulture_m3532445182(NULL /*static, unused*/, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
int32_t L_31 = String_Compare_m945110377(NULL /*static, unused*/, L_25, L_26, L_27, 0, L_29, (bool)1, L_30, /*hidden argument*/NULL);
if (!L_31)
{
goto IL_0093;
}
}
{
return (bool)0;
}
IL_0093:
{
int32_t L_32 = V_0;
if (L_32)
{
goto IL_00c3;
}
}
{
String_t* L_33 = ___hostname0;
int32_t L_34 = String_IndexOf_m363431711(L_33, ((int32_t)46), /*hidden argument*/NULL);
V_4 = L_34;
int32_t L_35 = V_4;
if ((((int32_t)L_35) == ((int32_t)(-1))))
{
goto IL_00c1;
}
}
{
int32_t L_36 = V_4;
String_t* L_37 = ___hostname0;
int32_t L_38 = String_get_Length_m3847582255(L_37, /*hidden argument*/NULL);
String_t* L_39 = V_2;
int32_t L_40 = String_get_Length_m3847582255(L_39, /*hidden argument*/NULL);
G_B15_0 = ((((int32_t)((((int32_t)L_36) < ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)L_40))))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_00c2;
}
IL_00c1:
{
G_B15_0 = 1;
}
IL_00c2:
{
return (bool)G_B15_0;
}
IL_00c3:
{
String_t* L_41 = ___pattern1;
int32_t L_42 = V_0;
String_t* L_43 = String_Substring_m1610150815(L_41, 0, L_42, /*hidden argument*/NULL);
V_5 = L_43;
String_t* L_44 = ___hostname0;
String_t* L_45 = V_5;
String_t* L_46 = V_5;
int32_t L_47 = String_get_Length_m3847582255(L_46, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t4157843068_il2cpp_TypeInfo_var);
CultureInfo_t4157843068 * L_48 = CultureInfo_get_InvariantCulture_m3532445182(NULL /*static, unused*/, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
int32_t L_49 = String_Compare_m945110377(NULL /*static, unused*/, L_44, 0, L_45, 0, L_47, (bool)1, L_48, /*hidden argument*/NULL);
return (bool)((((int32_t)L_49) == ((int32_t)0))? 1 : 0);
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificateRequest::.ctor(Mono.Security.Protocol.Tls.Context,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void TlsServerCertificateRequest__ctor_m1334974076 (TlsServerCertificateRequest_t3690397592 * __this, Context_t3971234707 * ___context0, ByteU5BU5D_t4116647657* ___buffer1, const RuntimeMethod* method)
{
{
Context_t3971234707 * L_0 = ___context0;
ByteU5BU5D_t4116647657* L_1 = ___buffer1;
HandshakeMessage__ctor_m1555296807(__this, L_0, ((int32_t)13), L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificateRequest::Update()
extern "C" IL2CPP_METHOD_ATTR void TlsServerCertificateRequest_Update_m2763887540 (TlsServerCertificateRequest_t3690397592 * __this, const RuntimeMethod* method)
{
{
HandshakeMessage_Update_m2417837686(__this, /*hidden argument*/NULL);
Context_t3971234707 * L_0 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
TlsServerSettings_t4144396432 * L_1 = Context_get_ServerSettings_m1982578801(L_0, /*hidden argument*/NULL);
ClientCertificateTypeU5BU5D_t4253920197* L_2 = __this->get_certificateTypes_9();
TlsServerSettings_set_CertificateTypes_m2047242411(L_1, L_2, /*hidden argument*/NULL);
Context_t3971234707 * L_3 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
TlsServerSettings_t4144396432 * L_4 = Context_get_ServerSettings_m1982578801(L_3, /*hidden argument*/NULL);
StringU5BU5D_t1281789340* L_5 = __this->get_distinguisedNames_10();
TlsServerSettings_set_DistinguisedNames_m787752700(L_4, L_5, /*hidden argument*/NULL);
Context_t3971234707 * L_6 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
TlsServerSettings_t4144396432 * L_7 = Context_get_ServerSettings_m1982578801(L_6, /*hidden argument*/NULL);
TlsServerSettings_set_CertificateRequest_m1039729760(L_7, (bool)1, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificateRequest::ProcessAsSsl3()
extern "C" IL2CPP_METHOD_ATTR void TlsServerCertificateRequest_ProcessAsSsl3_m1084200341 (TlsServerCertificateRequest_t3690397592 * __this, const RuntimeMethod* method)
{
{
VirtActionInvoker0::Invoke(24 /* System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificateRequest::ProcessAsTls1() */, __this);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificateRequest::ProcessAsTls1()
extern "C" IL2CPP_METHOD_ATTR void TlsServerCertificateRequest_ProcessAsTls1_m3214041063 (TlsServerCertificateRequest_t3690397592 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsServerCertificateRequest_ProcessAsTls1_m3214041063_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
ASN1_t2114160833 * V_2 = NULL;
int32_t V_3 = 0;
ASN1_t2114160833 * V_4 = NULL;
{
uint8_t L_0 = TlsStream_ReadByte_m3396126844(__this, /*hidden argument*/NULL);
V_0 = L_0;
int32_t L_1 = V_0;
ClientCertificateTypeU5BU5D_t4253920197* L_2 = (ClientCertificateTypeU5BU5D_t4253920197*)SZArrayNew(ClientCertificateTypeU5BU5D_t4253920197_il2cpp_TypeInfo_var, (uint32_t)L_1);
__this->set_certificateTypes_9(L_2);
V_1 = 0;
goto IL_002c;
}
IL_001a:
{
ClientCertificateTypeU5BU5D_t4253920197* L_3 = __this->get_certificateTypes_9();
int32_t L_4 = V_1;
uint8_t L_5 = TlsStream_ReadByte_m3396126844(__this, /*hidden argument*/NULL);
(L_3)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_4), (int32_t)L_5);
int32_t L_6 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1));
}
IL_002c:
{
int32_t L_7 = V_1;
int32_t L_8 = V_0;
if ((((int32_t)L_7) < ((int32_t)L_8)))
{
goto IL_001a;
}
}
{
int16_t L_9 = TlsStream_ReadInt16_m1728211431(__this, /*hidden argument*/NULL);
if (!L_9)
{
goto IL_00aa;
}
}
{
int16_t L_10 = TlsStream_ReadInt16_m1728211431(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_11 = TlsStream_ReadBytes_m2334803179(__this, L_10, /*hidden argument*/NULL);
ASN1_t2114160833 * L_12 = (ASN1_t2114160833 *)il2cpp_codegen_object_new(ASN1_t2114160833_il2cpp_TypeInfo_var);
ASN1__ctor_m1638893325(L_12, L_11, /*hidden argument*/NULL);
V_2 = L_12;
ASN1_t2114160833 * L_13 = V_2;
int32_t L_14 = ASN1_get_Count_m1789520042(L_13, /*hidden argument*/NULL);
StringU5BU5D_t1281789340* L_15 = (StringU5BU5D_t1281789340*)SZArrayNew(StringU5BU5D_t1281789340_il2cpp_TypeInfo_var, (uint32_t)L_14);
__this->set_distinguisedNames_10(L_15);
V_3 = 0;
goto IL_009e;
}
IL_0068:
{
ASN1_t2114160833 * L_16 = V_2;
int32_t L_17 = V_3;
ASN1_t2114160833 * L_18 = ASN1_get_Item_m2255075813(L_16, L_17, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_19 = ASN1_get_Value_m63296490(L_18, /*hidden argument*/NULL);
ASN1_t2114160833 * L_20 = (ASN1_t2114160833 *)il2cpp_codegen_object_new(ASN1_t2114160833_il2cpp_TypeInfo_var);
ASN1__ctor_m1638893325(L_20, L_19, /*hidden argument*/NULL);
V_4 = L_20;
StringU5BU5D_t1281789340* L_21 = __this->get_distinguisedNames_10();
int32_t L_22 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(Encoding_t1523322056_il2cpp_TypeInfo_var);
Encoding_t1523322056 * L_23 = Encoding_get_UTF8_m1008486739(NULL /*static, unused*/, /*hidden argument*/NULL);
ASN1_t2114160833 * L_24 = V_4;
ASN1_t2114160833 * L_25 = ASN1_get_Item_m2255075813(L_24, 1, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_26 = ASN1_get_Value_m63296490(L_25, /*hidden argument*/NULL);
String_t* L_27 = VirtFuncInvoker1< String_t*, ByteU5BU5D_t4116647657* >::Invoke(22 /* System.String System.Text.Encoding::GetString(System.Byte[]) */, L_23, L_26);
ArrayElementTypeCheck (L_21, L_27);
(L_21)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_22), (String_t*)L_27);
int32_t L_28 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_28, (int32_t)1));
}
IL_009e:
{
int32_t L_29 = V_3;
ASN1_t2114160833 * L_30 = V_2;
int32_t L_31 = ASN1_get_Count_m1789520042(L_30, /*hidden argument*/NULL);
if ((((int32_t)L_29) < ((int32_t)L_31)))
{
goto IL_0068;
}
}
IL_00aa:
{
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerFinished::.ctor(Mono.Security.Protocol.Tls.Context,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void TlsServerFinished__ctor_m1445633918 (TlsServerFinished_t3860330041 * __this, Context_t3971234707 * ___context0, ByteU5BU5D_t4116647657* ___buffer1, const RuntimeMethod* method)
{
{
Context_t3971234707 * L_0 = ___context0;
ByteU5BU5D_t4116647657* L_1 = ___buffer1;
HandshakeMessage__ctor_m1555296807(__this, L_0, ((int32_t)20), L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerFinished::.cctor()
extern "C" IL2CPP_METHOD_ATTR void TlsServerFinished__cctor_m3102699406 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsServerFinished__cctor_m3102699406_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_t4116647657* L_0 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)4);
ByteU5BU5D_t4116647657* L_1 = L_0;
RuntimeFieldHandle_t1871169219 L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t3057255363____U24U24fieldU2D22_14_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m3117905507(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
((TlsServerFinished_t3860330041_StaticFields*)il2cpp_codegen_static_fields_for(TlsServerFinished_t3860330041_il2cpp_TypeInfo_var))->set_Ssl3Marker_9(L_1);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerFinished::Update()
extern "C" IL2CPP_METHOD_ATTR void TlsServerFinished_Update_m4073404386 (TlsServerFinished_t3860330041 * __this, const RuntimeMethod* method)
{
{
HandshakeMessage_Update_m2417837686(__this, /*hidden argument*/NULL);
Context_t3971234707 * L_0 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
Context_set_HandshakeState_m1329976135(L_0, 2, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerFinished::ProcessAsSsl3()
extern "C" IL2CPP_METHOD_ATTR void TlsServerFinished_ProcessAsSsl3_m2791932180 (TlsServerFinished_t3860330041 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsServerFinished_ProcessAsSsl3_m2791932180_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
HashAlgorithm_t1432317219 * V_0 = NULL;
ByteU5BU5D_t4116647657* V_1 = NULL;
ByteU5BU5D_t4116647657* V_2 = NULL;
ByteU5BU5D_t4116647657* V_3 = NULL;
{
Context_t3971234707 * L_0 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_1 = Context_get_MasterSecret_m676083615(L_0, /*hidden argument*/NULL);
SslHandshakeHash_t2107581772 * L_2 = (SslHandshakeHash_t2107581772 *)il2cpp_codegen_object_new(SslHandshakeHash_t2107581772_il2cpp_TypeInfo_var);
SslHandshakeHash__ctor_m4169387017(L_2, L_1, /*hidden argument*/NULL);
V_0 = L_2;
Context_t3971234707 * L_3 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_4 = Context_get_HandshakeMessages_m3655705111(L_3, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_5 = TlsStream_ToArray_m4177184296(L_4, /*hidden argument*/NULL);
V_1 = L_5;
HashAlgorithm_t1432317219 * L_6 = V_0;
ByteU5BU5D_t4116647657* L_7 = V_1;
ByteU5BU5D_t4116647657* L_8 = V_1;
ByteU5BU5D_t4116647657* L_9 = V_1;
HashAlgorithm_TransformBlock_m4006041779(L_6, L_7, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_8)->max_length)))), L_9, 0, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_10 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(TlsServerFinished_t3860330041_il2cpp_TypeInfo_var);
ByteU5BU5D_t4116647657* L_11 = ((TlsServerFinished_t3860330041_StaticFields*)il2cpp_codegen_static_fields_for(TlsServerFinished_t3860330041_il2cpp_TypeInfo_var))->get_Ssl3Marker_9();
ByteU5BU5D_t4116647657* L_12 = ((TlsServerFinished_t3860330041_StaticFields*)il2cpp_codegen_static_fields_for(TlsServerFinished_t3860330041_il2cpp_TypeInfo_var))->get_Ssl3Marker_9();
ByteU5BU5D_t4116647657* L_13 = ((TlsServerFinished_t3860330041_StaticFields*)il2cpp_codegen_static_fields_for(TlsServerFinished_t3860330041_il2cpp_TypeInfo_var))->get_Ssl3Marker_9();
HashAlgorithm_TransformBlock_m4006041779(L_10, L_11, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_12)->max_length)))), L_13, 0, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_14 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(CipherSuite_t3414744575_il2cpp_TypeInfo_var);
ByteU5BU5D_t4116647657* L_15 = ((CipherSuite_t3414744575_StaticFields*)il2cpp_codegen_static_fields_for(CipherSuite_t3414744575_il2cpp_TypeInfo_var))->get_EmptyArray_0();
HashAlgorithm_TransformFinalBlock_m3005451348(L_14, L_15, 0, 0, /*hidden argument*/NULL);
int64_t L_16 = VirtFuncInvoker0< int64_t >::Invoke(8 /* System.Int64 Mono.Security.Protocol.Tls.TlsStream::get_Length() */, __this);
ByteU5BU5D_t4116647657* L_17 = TlsStream_ReadBytes_m2334803179(__this, (((int32_t)((int32_t)L_16))), /*hidden argument*/NULL);
V_2 = L_17;
HashAlgorithm_t1432317219 * L_18 = V_0;
ByteU5BU5D_t4116647657* L_19 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(9 /* System.Byte[] System.Security.Cryptography.HashAlgorithm::get_Hash() */, L_18);
V_3 = L_19;
ByteU5BU5D_t4116647657* L_20 = V_3;
ByteU5BU5D_t4116647657* L_21 = V_2;
bool L_22 = HandshakeMessage_Compare_m2214647946(NULL /*static, unused*/, L_20, L_21, /*hidden argument*/NULL);
if (L_22)
{
goto IL_0086;
}
}
{
TlsException_t3534743363 * L_23 = (TlsException_t3534743363 *)il2cpp_codegen_object_new(TlsException_t3534743363_il2cpp_TypeInfo_var);
TlsException__ctor_m3242533711(L_23, ((int32_t)71), _stringLiteral1609408204, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_23, NULL, TlsServerFinished_ProcessAsSsl3_m2791932180_RuntimeMethod_var);
}
IL_0086:
{
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerFinished::ProcessAsTls1()
extern "C" IL2CPP_METHOD_ATTR void TlsServerFinished_ProcessAsTls1_m173877572 (TlsServerFinished_t3860330041 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsServerFinished_ProcessAsTls1_m173877572_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_t4116647657* V_0 = NULL;
HashAlgorithm_t1432317219 * V_1 = NULL;
ByteU5BU5D_t4116647657* V_2 = NULL;
ByteU5BU5D_t4116647657* V_3 = NULL;
ByteU5BU5D_t4116647657* V_4 = NULL;
{
int64_t L_0 = VirtFuncInvoker0< int64_t >::Invoke(8 /* System.Int64 Mono.Security.Protocol.Tls.TlsStream::get_Length() */, __this);
ByteU5BU5D_t4116647657* L_1 = TlsStream_ReadBytes_m2334803179(__this, (((int32_t)((int32_t)L_0))), /*hidden argument*/NULL);
V_0 = L_1;
MD5SHA1_t723838944 * L_2 = (MD5SHA1_t723838944 *)il2cpp_codegen_object_new(MD5SHA1_t723838944_il2cpp_TypeInfo_var);
MD5SHA1__ctor_m4081016482(L_2, /*hidden argument*/NULL);
V_1 = L_2;
Context_t3971234707 * L_3 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_4 = Context_get_HandshakeMessages_m3655705111(L_3, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_5 = TlsStream_ToArray_m4177184296(L_4, /*hidden argument*/NULL);
V_2 = L_5;
HashAlgorithm_t1432317219 * L_6 = V_1;
ByteU5BU5D_t4116647657* L_7 = V_2;
ByteU5BU5D_t4116647657* L_8 = V_2;
ByteU5BU5D_t4116647657* L_9 = HashAlgorithm_ComputeHash_m2044824070(L_6, L_7, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_8)->max_length)))), /*hidden argument*/NULL);
V_3 = L_9;
Context_t3971234707 * L_10 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
SecurityParameters_t2199972650 * L_11 = Context_get_Current_m2853615040(L_10, /*hidden argument*/NULL);
CipherSuite_t3414744575 * L_12 = SecurityParameters_get_Cipher_m108846204(L_11, /*hidden argument*/NULL);
Context_t3971234707 * L_13 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_14 = Context_get_MasterSecret_m676083615(L_13, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_15 = V_3;
ByteU5BU5D_t4116647657* L_16 = CipherSuite_PRF_m2801806009(L_12, L_14, _stringLiteral4133402427, L_15, ((int32_t)12), /*hidden argument*/NULL);
V_4 = L_16;
ByteU5BU5D_t4116647657* L_17 = V_4;
ByteU5BU5D_t4116647657* L_18 = V_0;
bool L_19 = HandshakeMessage_Compare_m2214647946(NULL /*static, unused*/, L_17, L_18, /*hidden argument*/NULL);
if (L_19)
{
goto IL_0073;
}
}
{
TlsException_t3534743363 * L_20 = (TlsException_t3534743363 *)il2cpp_codegen_object_new(TlsException_t3534743363_il2cpp_TypeInfo_var);
TlsException__ctor_m3652817735(L_20, _stringLiteral1609408204, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_20, NULL, TlsServerFinished_ProcessAsTls1_m173877572_RuntimeMethod_var);
}
IL_0073:
{
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerHello::.ctor(Mono.Security.Protocol.Tls.Context,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void TlsServerHello__ctor_m3887266572 (TlsServerHello_t3343859594 * __this, Context_t3971234707 * ___context0, ByteU5BU5D_t4116647657* ___buffer1, const RuntimeMethod* method)
{
{
Context_t3971234707 * L_0 = ___context0;
ByteU5BU5D_t4116647657* L_1 = ___buffer1;
HandshakeMessage__ctor_m1555296807(__this, L_0, 2, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerHello::Update()
extern "C" IL2CPP_METHOD_ATTR void TlsServerHello_Update_m3935081401 (TlsServerHello_t3343859594 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsServerHello_Update_m3935081401_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
ByteU5BU5D_t4116647657* V_3 = NULL;
ByteU5BU5D_t4116647657* V_4 = NULL;
{
HandshakeMessage_Update_m2417837686(__this, /*hidden argument*/NULL);
Context_t3971234707 * L_0 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_1 = __this->get_sessionId_11();
Context_set_SessionId_m942328427(L_0, L_1, /*hidden argument*/NULL);
Context_t3971234707 * L_2 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_3 = __this->get_random_10();
Context_set_ServerRandom_m2929894009(L_2, L_3, /*hidden argument*/NULL);
Context_t3971234707 * L_4 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
SecurityParameters_t2199972650 * L_5 = Context_get_Negotiating_m2044579817(L_4, /*hidden argument*/NULL);
CipherSuite_t3414744575 * L_6 = __this->get_cipherSuite_12();
SecurityParameters_set_Cipher_m588445085(L_5, L_6, /*hidden argument*/NULL);
Context_t3971234707 * L_7 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
int32_t L_8 = __this->get_compressionMethod_9();
Context_set_CompressionMethod_m2054483993(L_7, L_8, /*hidden argument*/NULL);
Context_t3971234707 * L_9 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
Context_set_ProtocolNegotiated_m2904861662(L_9, (bool)1, /*hidden argument*/NULL);
Context_t3971234707 * L_10 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_11 = Context_get_ClientRandom_m1437588520(L_10, /*hidden argument*/NULL);
V_0 = (((int32_t)((int32_t)(((RuntimeArray *)L_11)->max_length))));
Context_t3971234707 * L_12 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_13 = Context_get_ServerRandom_m2710024742(L_12, /*hidden argument*/NULL);
V_1 = (((int32_t)((int32_t)(((RuntimeArray *)L_13)->max_length))));
int32_t L_14 = V_0;
int32_t L_15 = V_1;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)L_15));
int32_t L_16 = V_2;
ByteU5BU5D_t4116647657* L_17 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_16);
V_3 = L_17;
Context_t3971234707 * L_18 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_19 = Context_get_ClientRandom_m1437588520(L_18, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_20 = V_3;
int32_t L_21 = V_0;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_19, 0, (RuntimeArray *)(RuntimeArray *)L_20, 0, L_21, /*hidden argument*/NULL);
Context_t3971234707 * L_22 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_23 = Context_get_ServerRandom_m2710024742(L_22, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_24 = V_3;
int32_t L_25 = V_0;
int32_t L_26 = V_1;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_23, 0, (RuntimeArray *)(RuntimeArray *)L_24, L_25, L_26, /*hidden argument*/NULL);
Context_t3971234707 * L_27 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_28 = V_3;
Context_set_RandomCS_m2687068745(L_27, L_28, /*hidden argument*/NULL);
int32_t L_29 = V_2;
ByteU5BU5D_t4116647657* L_30 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_29);
V_4 = L_30;
Context_t3971234707 * L_31 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_32 = Context_get_ServerRandom_m2710024742(L_31, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_33 = V_4;
int32_t L_34 = V_1;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_32, 0, (RuntimeArray *)(RuntimeArray *)L_33, 0, L_34, /*hidden argument*/NULL);
Context_t3971234707 * L_35 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_36 = Context_get_ClientRandom_m1437588520(L_35, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_37 = V_4;
int32_t L_38 = V_1;
int32_t L_39 = V_0;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_36, 0, (RuntimeArray *)(RuntimeArray *)L_37, L_38, L_39, /*hidden argument*/NULL);
Context_t3971234707 * L_40 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_41 = V_4;
Context_set_RandomSC_m2364786761(L_40, L_41, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerHello::ProcessAsSsl3()
extern "C" IL2CPP_METHOD_ATTR void TlsServerHello_ProcessAsSsl3_m3146647238 (TlsServerHello_t3343859594 * __this, const RuntimeMethod* method)
{
{
VirtActionInvoker0::Invoke(24 /* System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerHello::ProcessAsTls1() */, __this);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerHello::ProcessAsTls1()
extern "C" IL2CPP_METHOD_ATTR void TlsServerHello_ProcessAsTls1_m3844152353 (TlsServerHello_t3343859594 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsServerHello_ProcessAsTls1_m3844152353_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int16_t V_1 = 0;
{
int16_t L_0 = TlsStream_ReadInt16_m1728211431(__this, /*hidden argument*/NULL);
TlsServerHello_processProtocol_m3969427189(__this, L_0, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_1 = TlsStream_ReadBytes_m2334803179(__this, ((int32_t)32), /*hidden argument*/NULL);
__this->set_random_10(L_1);
uint8_t L_2 = TlsStream_ReadByte_m3396126844(__this, /*hidden argument*/NULL);
V_0 = L_2;
int32_t L_3 = V_0;
if ((((int32_t)L_3) <= ((int32_t)0)))
{
goto IL_0076;
}
}
{
int32_t L_4 = V_0;
ByteU5BU5D_t4116647657* L_5 = TlsStream_ReadBytes_m2334803179(__this, L_4, /*hidden argument*/NULL);
__this->set_sessionId_11(L_5);
Context_t3971234707 * L_6 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
TlsClientSettings_t2486039503 * L_7 = Context_get_ClientSettings_m2874391194(L_6, /*hidden argument*/NULL);
String_t* L_8 = TlsClientSettings_get_TargetHost_m2463481414(L_7, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_9 = __this->get_sessionId_11();
IL2CPP_RUNTIME_CLASS_INIT(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var);
ClientSessionCache_Add_m964342678(NULL /*static, unused*/, L_8, L_9, /*hidden argument*/NULL);
Context_t3971234707 * L_10 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_11 = __this->get_sessionId_11();
Context_t3971234707 * L_12 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_13 = Context_get_SessionId_m1086671147(L_12, /*hidden argument*/NULL);
bool L_14 = HandshakeMessage_Compare_m2214647946(NULL /*static, unused*/, L_11, L_13, /*hidden argument*/NULL);
Context_set_AbbreviatedHandshake_m827173393(L_10, L_14, /*hidden argument*/NULL);
goto IL_0082;
}
IL_0076:
{
Context_t3971234707 * L_15 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
Context_set_AbbreviatedHandshake_m827173393(L_15, (bool)0, /*hidden argument*/NULL);
}
IL_0082:
{
int16_t L_16 = TlsStream_ReadInt16_m1728211431(__this, /*hidden argument*/NULL);
V_1 = L_16;
Context_t3971234707 * L_17 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_18 = Context_get_SupportedCiphers_m1883682196(L_17, /*hidden argument*/NULL);
int16_t L_19 = V_1;
int32_t L_20 = CipherSuiteCollection_IndexOf_m2770510321(L_18, L_19, /*hidden argument*/NULL);
if ((!(((uint32_t)L_20) == ((uint32_t)(-1)))))
{
goto IL_00ad;
}
}
{
TlsException_t3534743363 * L_21 = (TlsException_t3534743363 *)il2cpp_codegen_object_new(TlsException_t3534743363_il2cpp_TypeInfo_var);
TlsException__ctor_m3242533711(L_21, ((int32_t)71), _stringLiteral340085282, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_21, NULL, TlsServerHello_ProcessAsTls1_m3844152353_RuntimeMethod_var);
}
IL_00ad:
{
Context_t3971234707 * L_22 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_23 = Context_get_SupportedCiphers_m1883682196(L_22, /*hidden argument*/NULL);
int16_t L_24 = V_1;
CipherSuite_t3414744575 * L_25 = CipherSuiteCollection_get_Item_m3790183696(L_23, L_24, /*hidden argument*/NULL);
__this->set_cipherSuite_12(L_25);
uint8_t L_26 = TlsStream_ReadByte_m3396126844(__this, /*hidden argument*/NULL);
__this->set_compressionMethod_9(L_26);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerHello::processProtocol(System.Int16)
extern "C" IL2CPP_METHOD_ATTR void TlsServerHello_processProtocol_m3969427189 (TlsServerHello_t3343859594 * __this, int16_t ___protocol0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsServerHello_processProtocol_m3969427189_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
Context_t3971234707 * L_0 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
int16_t L_1 = ___protocol0;
int32_t L_2 = Context_DecodeProtocolCode_m2249547310(L_0, L_1, /*hidden argument*/NULL);
V_0 = L_2;
int32_t L_3 = V_0;
Context_t3971234707 * L_4 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
int32_t L_5 = Context_get_SecurityProtocolFlags_m2022471746(L_4, /*hidden argument*/NULL);
int32_t L_6 = V_0;
if ((((int32_t)((int32_t)((int32_t)L_3&(int32_t)L_5))) == ((int32_t)L_6)))
{
goto IL_003b;
}
}
{
Context_t3971234707 * L_7 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
int32_t L_8 = Context_get_SecurityProtocolFlags_m2022471746(L_7, /*hidden argument*/NULL);
if ((!(((uint32_t)((int32_t)((int32_t)L_8&(int32_t)((int32_t)-1073741824)))) == ((uint32_t)((int32_t)-1073741824)))))
{
goto IL_0079;
}
}
IL_003b:
{
Context_t3971234707 * L_9 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
int32_t L_10 = V_0;
Context_set_SecurityProtocol_m2833661610(L_9, L_10, /*hidden argument*/NULL);
Context_t3971234707 * L_11 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_12 = Context_get_SupportedCiphers_m1883682196(L_11, /*hidden argument*/NULL);
CipherSuiteCollection_Clear_m2642701260(L_12, /*hidden argument*/NULL);
Context_t3971234707 * L_13 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
Context_set_SupportedCiphers_m4238648387(L_13, (CipherSuiteCollection_t1129639304 *)NULL, /*hidden argument*/NULL);
Context_t3971234707 * L_14 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
int32_t L_15 = V_0;
CipherSuiteCollection_t1129639304 * L_16 = CipherSuiteFactory_GetSupportedCiphers_m3260014148(NULL /*static, unused*/, L_15, /*hidden argument*/NULL);
Context_set_SupportedCiphers_m4238648387(L_14, L_16, /*hidden argument*/NULL);
goto IL_0086;
}
IL_0079:
{
TlsException_t3534743363 * L_17 = (TlsException_t3534743363 *)il2cpp_codegen_object_new(TlsException_t3534743363_il2cpp_TypeInfo_var);
TlsException__ctor_m3242533711(L_17, ((int32_t)70), _stringLiteral193405814, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_17, NULL, TlsServerHello_processProtocol_m3969427189_RuntimeMethod_var);
}
IL_0086:
{
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerHelloDone::.ctor(Mono.Security.Protocol.Tls.Context,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void TlsServerHelloDone__ctor_m173627900 (TlsServerHelloDone_t1850379324 * __this, Context_t3971234707 * ___context0, ByteU5BU5D_t4116647657* ___buffer1, const RuntimeMethod* method)
{
{
Context_t3971234707 * L_0 = ___context0;
ByteU5BU5D_t4116647657* L_1 = ___buffer1;
HandshakeMessage__ctor_m1555296807(__this, L_0, ((int32_t)14), L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerHelloDone::ProcessAsSsl3()
extern "C" IL2CPP_METHOD_ATTR void TlsServerHelloDone_ProcessAsSsl3_m3042614798 (TlsServerHelloDone_t1850379324 * __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerHelloDone::ProcessAsTls1()
extern "C" IL2CPP_METHOD_ATTR void TlsServerHelloDone_ProcessAsTls1_m952337401 (TlsServerHelloDone_t1850379324 * __this, const RuntimeMethod* method)
{
{
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerKeyExchange::.ctor(Mono.Security.Protocol.Tls.Context,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void TlsServerKeyExchange__ctor_m3572942737 (TlsServerKeyExchange_t699469151 * __this, Context_t3971234707 * ___context0, ByteU5BU5D_t4116647657* ___buffer1, const RuntimeMethod* method)
{
{
Context_t3971234707 * L_0 = ___context0;
ByteU5BU5D_t4116647657* L_1 = ___buffer1;
HandshakeMessage__ctor_m1555296807(__this, L_0, ((int32_t)12), L_1, /*hidden argument*/NULL);
TlsServerKeyExchange_verifySignature_m3412856769(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerKeyExchange::Update()
extern "C" IL2CPP_METHOD_ATTR void TlsServerKeyExchange_Update_m453798279 (TlsServerKeyExchange_t699469151 * __this, const RuntimeMethod* method)
{
{
HandshakeMessage_Update_m2417837686(__this, /*hidden argument*/NULL);
Context_t3971234707 * L_0 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
TlsServerSettings_t4144396432 * L_1 = Context_get_ServerSettings_m1982578801(L_0, /*hidden argument*/NULL);
TlsServerSettings_set_ServerKeyExchange_m3302765325(L_1, (bool)1, /*hidden argument*/NULL);
Context_t3971234707 * L_2 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
TlsServerSettings_t4144396432 * L_3 = Context_get_ServerSettings_m1982578801(L_2, /*hidden argument*/NULL);
RSAParameters_t1728406613 L_4 = __this->get_rsaParams_9();
TlsServerSettings_set_RsaParameters_m853026166(L_3, L_4, /*hidden argument*/NULL);
Context_t3971234707 * L_5 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
TlsServerSettings_t4144396432 * L_6 = Context_get_ServerSettings_m1982578801(L_5, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_7 = __this->get_signedParams_10();
TlsServerSettings_set_SignedParams_m3618693098(L_6, L_7, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerKeyExchange::ProcessAsSsl3()
extern "C" IL2CPP_METHOD_ATTR void TlsServerKeyExchange_ProcessAsSsl3_m2880115419 (TlsServerKeyExchange_t699469151 * __this, const RuntimeMethod* method)
{
{
VirtActionInvoker0::Invoke(24 /* System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerKeyExchange::ProcessAsTls1() */, __this);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerKeyExchange::ProcessAsTls1()
extern "C" IL2CPP_METHOD_ATTR void TlsServerKeyExchange_ProcessAsTls1_m49623614 (TlsServerKeyExchange_t699469151 * __this, const RuntimeMethod* method)
{
RSAParameters_t1728406613 V_0;
memset(&V_0, 0, sizeof(V_0));
{
il2cpp_codegen_initobj((&V_0), sizeof(RSAParameters_t1728406613 ));
RSAParameters_t1728406613 L_0 = V_0;
__this->set_rsaParams_9(L_0);
RSAParameters_t1728406613 * L_1 = __this->get_address_of_rsaParams_9();
int16_t L_2 = TlsStream_ReadInt16_m1728211431(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_3 = TlsStream_ReadBytes_m2334803179(__this, L_2, /*hidden argument*/NULL);
L_1->set_Modulus_6(L_3);
RSAParameters_t1728406613 * L_4 = __this->get_address_of_rsaParams_9();
int16_t L_5 = TlsStream_ReadInt16_m1728211431(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_6 = TlsStream_ReadBytes_m2334803179(__this, L_5, /*hidden argument*/NULL);
L_4->set_Exponent_7(L_6);
int16_t L_7 = TlsStream_ReadInt16_m1728211431(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_8 = TlsStream_ReadBytes_m2334803179(__this, L_7, /*hidden argument*/NULL);
__this->set_signedParams_10(L_8);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.Client.TlsServerKeyExchange::verifySignature()
extern "C" IL2CPP_METHOD_ATTR void TlsServerKeyExchange_verifySignature_m3412856769 (TlsServerKeyExchange_t699469151 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsServerKeyExchange_verifySignature_m3412856769_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
MD5SHA1_t723838944 * V_0 = NULL;
int32_t V_1 = 0;
TlsStream_t2365453965 * V_2 = NULL;
bool V_3 = false;
{
MD5SHA1_t723838944 * L_0 = (MD5SHA1_t723838944 *)il2cpp_codegen_object_new(MD5SHA1_t723838944_il2cpp_TypeInfo_var);
MD5SHA1__ctor_m4081016482(L_0, /*hidden argument*/NULL);
V_0 = L_0;
RSAParameters_t1728406613 * L_1 = __this->get_address_of_rsaParams_9();
ByteU5BU5D_t4116647657* L_2 = L_1->get_Modulus_6();
RSAParameters_t1728406613 * L_3 = __this->get_address_of_rsaParams_9();
ByteU5BU5D_t4116647657* L_4 = L_3->get_Exponent_7();
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_2)->max_length)))), (int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_4)->max_length)))))), (int32_t)4));
TlsStream_t2365453965 * L_5 = (TlsStream_t2365453965 *)il2cpp_codegen_object_new(TlsStream_t2365453965_il2cpp_TypeInfo_var);
TlsStream__ctor_m787793111(L_5, /*hidden argument*/NULL);
V_2 = L_5;
TlsStream_t2365453965 * L_6 = V_2;
Context_t3971234707 * L_7 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_8 = Context_get_RandomCS_m1367948315(L_7, /*hidden argument*/NULL);
TlsStream_Write_m4133894341(L_6, L_8, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_9 = V_2;
ByteU5BU5D_t4116647657* L_10 = TlsStream_ToArray_m4177184296(__this, /*hidden argument*/NULL);
int32_t L_11 = V_1;
VirtActionInvoker3< ByteU5BU5D_t4116647657*, int32_t, int32_t >::Invoke(18 /* System.Void Mono.Security.Protocol.Tls.TlsStream::Write(System.Byte[],System.Int32,System.Int32) */, L_9, L_10, 0, L_11);
MD5SHA1_t723838944 * L_12 = V_0;
TlsStream_t2365453965 * L_13 = V_2;
ByteU5BU5D_t4116647657* L_14 = TlsStream_ToArray_m4177184296(L_13, /*hidden argument*/NULL);
HashAlgorithm_ComputeHash_m2825542963(L_12, L_14, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_15 = V_2;
TlsStream_Reset_m369197964(L_15, /*hidden argument*/NULL);
MD5SHA1_t723838944 * L_16 = V_0;
Context_t3971234707 * L_17 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
TlsServerSettings_t4144396432 * L_18 = Context_get_ServerSettings_m1982578801(L_17, /*hidden argument*/NULL);
RSA_t2385438082 * L_19 = TlsServerSettings_get_CertificateRSA_m597274968(L_18, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_20 = __this->get_signedParams_10();
bool L_21 = MD5SHA1_VerifySignature_m915115209(L_16, L_19, L_20, /*hidden argument*/NULL);
V_3 = L_21;
bool L_22 = V_3;
if (L_22)
{
goto IL_008c;
}
}
{
TlsException_t3534743363 * L_23 = (TlsException_t3534743363 *)il2cpp_codegen_object_new(TlsException_t3534743363_il2cpp_TypeInfo_var);
TlsException__ctor_m3242533711(L_23, ((int32_t)50), _stringLiteral1827280598, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_23, NULL, TlsServerKeyExchange_verifySignature_m3412856769_RuntimeMethod_var);
}
IL_008c:
{
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::.ctor(Mono.Security.Protocol.Tls.Context,Mono.Security.Protocol.Tls.Handshake.HandshakeType)
extern "C" IL2CPP_METHOD_ATTR void HandshakeMessage__ctor_m2692487706 (HandshakeMessage_t3696583168 * __this, Context_t3971234707 * ___context0, uint8_t ___handshakeType1, const RuntimeMethod* method)
{
{
Context_t3971234707 * L_0 = ___context0;
uint8_t L_1 = ___handshakeType1;
HandshakeMessage__ctor_m1353615444(__this, L_0, L_1, ((int32_t)22), /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::.ctor(Mono.Security.Protocol.Tls.Context,Mono.Security.Protocol.Tls.Handshake.HandshakeType,Mono.Security.Protocol.Tls.ContentType)
extern "C" IL2CPP_METHOD_ATTR void HandshakeMessage__ctor_m1353615444 (HandshakeMessage_t3696583168 * __this, Context_t3971234707 * ___context0, uint8_t ___handshakeType1, uint8_t ___contentType2, const RuntimeMethod* method)
{
{
TlsStream__ctor_m787793111(__this, /*hidden argument*/NULL);
Context_t3971234707 * L_0 = ___context0;
__this->set_context_5(L_0);
uint8_t L_1 = ___handshakeType1;
__this->set_handshakeType_6(L_1);
uint8_t L_2 = ___contentType2;
__this->set_contentType_7(L_2);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::.ctor(Mono.Security.Protocol.Tls.Context,Mono.Security.Protocol.Tls.Handshake.HandshakeType,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void HandshakeMessage__ctor_m1555296807 (HandshakeMessage_t3696583168 * __this, Context_t3971234707 * ___context0, uint8_t ___handshakeType1, ByteU5BU5D_t4116647657* ___data2, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = ___data2;
TlsStream__ctor_m277557575(__this, L_0, /*hidden argument*/NULL);
Context_t3971234707 * L_1 = ___context0;
__this->set_context_5(L_1);
uint8_t L_2 = ___handshakeType1;
__this->set_handshakeType_6(L_2);
return;
}
}
// Mono.Security.Protocol.Tls.Context Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::get_Context()
extern "C" IL2CPP_METHOD_ATTR Context_t3971234707 * HandshakeMessage_get_Context_m3036797856 (HandshakeMessage_t3696583168 * __this, const RuntimeMethod* method)
{
{
Context_t3971234707 * L_0 = __this->get_context_5();
return L_0;
}
}
// Mono.Security.Protocol.Tls.Handshake.HandshakeType Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::get_HandshakeType()
extern "C" IL2CPP_METHOD_ATTR uint8_t HandshakeMessage_get_HandshakeType_m478242308 (HandshakeMessage_t3696583168 * __this, const RuntimeMethod* method)
{
{
uint8_t L_0 = __this->get_handshakeType_6();
return L_0;
}
}
// Mono.Security.Protocol.Tls.ContentType Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::get_ContentType()
extern "C" IL2CPP_METHOD_ATTR uint8_t HandshakeMessage_get_ContentType_m1693718190 (HandshakeMessage_t3696583168 * __this, const RuntimeMethod* method)
{
{
uint8_t L_0 = __this->get_contentType_7();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::Process()
extern "C" IL2CPP_METHOD_ATTR void HandshakeMessage_Process_m810828609 (HandshakeMessage_t3696583168 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (HandshakeMessage_Process_m810828609_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
Context_t3971234707 * L_0 = HandshakeMessage_get_Context_m3036797856(__this, /*hidden argument*/NULL);
int32_t L_1 = Context_get_SecurityProtocol_m3228286292(L_0, /*hidden argument*/NULL);
V_0 = L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) == ((int32_t)((int32_t)-1073741824))))
{
goto IL_0037;
}
}
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) == ((int32_t)((int32_t)12))))
{
goto IL_004d;
}
}
{
int32_t L_4 = V_0;
if ((((int32_t)L_4) == ((int32_t)((int32_t)48))))
{
goto IL_0042;
}
}
{
int32_t L_5 = V_0;
if ((((int32_t)L_5) == ((int32_t)((int32_t)192))))
{
goto IL_0037;
}
}
{
goto IL_004d;
}
IL_0037:
{
VirtActionInvoker0::Invoke(24 /* System.Void Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::ProcessAsTls1() */, __this);
goto IL_0058;
}
IL_0042:
{
VirtActionInvoker0::Invoke(25 /* System.Void Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::ProcessAsSsl3() */, __this);
goto IL_0058;
}
IL_004d:
{
NotSupportedException_t1314879016 * L_6 = (NotSupportedException_t1314879016 *)il2cpp_codegen_object_new(NotSupportedException_t1314879016_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m2494070935(L_6, _stringLiteral3034282783, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, HandshakeMessage_Process_m810828609_RuntimeMethod_var);
}
IL_0058:
{
return;
}
}
// System.Void Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::Update()
extern "C" IL2CPP_METHOD_ATTR void HandshakeMessage_Update_m2417837686 (HandshakeMessage_t3696583168 * __this, const RuntimeMethod* method)
{
{
bool L_0 = VirtFuncInvoker0< bool >::Invoke(7 /* System.Boolean Mono.Security.Protocol.Tls.TlsStream::get_CanWrite() */, __this);
if (!L_0)
{
goto IL_0045;
}
}
{
ByteU5BU5D_t4116647657* L_1 = __this->get_cache_8();
if (L_1)
{
goto IL_0022;
}
}
{
ByteU5BU5D_t4116647657* L_2 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(27 /* System.Byte[] Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::EncodeMessage() */, __this);
__this->set_cache_8(L_2);
}
IL_0022:
{
Context_t3971234707 * L_3 = __this->get_context_5();
TlsStream_t2365453965 * L_4 = Context_get_HandshakeMessages_m3655705111(L_3, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_5 = __this->get_cache_8();
TlsStream_Write_m4133894341(L_4, L_5, /*hidden argument*/NULL);
TlsStream_Reset_m369197964(__this, /*hidden argument*/NULL);
__this->set_cache_8((ByteU5BU5D_t4116647657*)NULL);
}
IL_0045:
{
return;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::EncodeMessage()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* HandshakeMessage_EncodeMessage_m3919107786 (HandshakeMessage_t3696583168 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (HandshakeMessage_EncodeMessage_m3919107786_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_t4116647657* V_0 = NULL;
int32_t V_1 = 0;
{
__this->set_cache_8((ByteU5BU5D_t4116647657*)NULL);
bool L_0 = VirtFuncInvoker0< bool >::Invoke(7 /* System.Boolean Mono.Security.Protocol.Tls.TlsStream::get_CanWrite() */, __this);
if (!L_0)
{
goto IL_006b;
}
}
{
ByteU5BU5D_t4116647657* L_1 = TlsStream_ToArray_m4177184296(__this, /*hidden argument*/NULL);
V_0 = L_1;
ByteU5BU5D_t4116647657* L_2 = V_0;
V_1 = (((int32_t)((int32_t)(((RuntimeArray *)L_2)->max_length))));
int32_t L_3 = V_1;
ByteU5BU5D_t4116647657* L_4 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add((int32_t)4, (int32_t)L_3)));
__this->set_cache_8(L_4);
ByteU5BU5D_t4116647657* L_5 = __this->get_cache_8();
uint8_t L_6 = HandshakeMessage_get_HandshakeType_m478242308(__this, /*hidden argument*/NULL);
(L_5)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (uint8_t)L_6);
ByteU5BU5D_t4116647657* L_7 = __this->get_cache_8();
int32_t L_8 = V_1;
(L_7)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_8>>(int32_t)((int32_t)16)))))));
ByteU5BU5D_t4116647657* L_9 = __this->get_cache_8();
int32_t L_10 = V_1;
(L_9)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_10>>(int32_t)8))))));
ByteU5BU5D_t4116647657* L_11 = __this->get_cache_8();
int32_t L_12 = V_1;
(L_11)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(3), (uint8_t)(((int32_t)((uint8_t)L_12))));
ByteU5BU5D_t4116647657* L_13 = V_0;
ByteU5BU5D_t4116647657* L_14 = __this->get_cache_8();
int32_t L_15 = V_1;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_13, 0, (RuntimeArray *)(RuntimeArray *)L_14, 4, L_15, /*hidden argument*/NULL);
}
IL_006b:
{
ByteU5BU5D_t4116647657* L_16 = __this->get_cache_8();
return L_16;
}
}
// System.Boolean Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::Compare(System.Byte[],System.Byte[])
extern "C" IL2CPP_METHOD_ATTR bool HandshakeMessage_Compare_m2214647946 (RuntimeObject * __this /* static, unused */, ByteU5BU5D_t4116647657* ___buffer10, ByteU5BU5D_t4116647657* ___buffer21, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
ByteU5BU5D_t4116647657* L_0 = ___buffer10;
if (!L_0)
{
goto IL_000c;
}
}
{
ByteU5BU5D_t4116647657* L_1 = ___buffer21;
if (L_1)
{
goto IL_000e;
}
}
IL_000c:
{
return (bool)0;
}
IL_000e:
{
ByteU5BU5D_t4116647657* L_2 = ___buffer10;
ByteU5BU5D_t4116647657* L_3 = ___buffer21;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_2)->max_length))))) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length)))))))
{
goto IL_001b;
}
}
{
return (bool)0;
}
IL_001b:
{
V_0 = 0;
goto IL_0033;
}
IL_0022:
{
ByteU5BU5D_t4116647657* L_4 = ___buffer10;
int32_t L_5 = V_0;
int32_t L_6 = L_5;
uint8_t L_7 = (L_4)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_6));
ByteU5BU5D_t4116647657* L_8 = ___buffer21;
int32_t L_9 = V_0;
int32_t L_10 = L_9;
uint8_t L_11 = (L_8)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_10));
if ((((int32_t)L_7) == ((int32_t)L_11)))
{
goto IL_002f;
}
}
{
return (bool)0;
}
IL_002f:
{
int32_t L_12 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
}
IL_0033:
{
int32_t L_13 = V_0;
ByteU5BU5D_t4116647657* L_14 = ___buffer10;
if ((((int32_t)L_13) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_14)->max_length)))))))
{
goto IL_0022;
}
}
{
return (bool)1;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.HttpsClientStream::.ctor(System.IO.Stream,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Net.HttpWebRequest,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void HttpsClientStream__ctor_m3125726871 (HttpsClientStream_t1160552561 * __this, Stream_t1273022909 * ___stream0, X509CertificateCollection_t3399372417 * ___clientCertificates1, HttpWebRequest_t1669436515 * ___request2, ByteU5BU5D_t4116647657* ___buffer3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (HttpsClientStream__ctor_m3125726871_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
HttpsClientStream_t1160552561 * G_B4_0 = NULL;
HttpsClientStream_t1160552561 * G_B3_0 = NULL;
HttpsClientStream_t1160552561 * G_B6_0 = NULL;
HttpsClientStream_t1160552561 * G_B5_0 = NULL;
{
Stream_t1273022909 * L_0 = ___stream0;
HttpWebRequest_t1669436515 * L_1 = ___request2;
Uri_t100236324 * L_2 = HttpWebRequest_get_Address_m1609525404(L_1, /*hidden argument*/NULL);
String_t* L_3 = Uri_get_Host_m42857288(L_2, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(ServicePointManager_t170559685_il2cpp_TypeInfo_var);
int32_t L_4 = ServicePointManager_get_SecurityProtocol_m4259357356(NULL /*static, unused*/, /*hidden argument*/NULL);
X509CertificateCollection_t3399372417 * L_5 = ___clientCertificates1;
SslClientStream__ctor_m3351906728(__this, L_0, L_3, (bool)0, L_4, L_5, /*hidden argument*/NULL);
HttpWebRequest_t1669436515 * L_6 = ___request2;
__this->set__request_20(L_6);
__this->set__status_21(0);
ByteU5BU5D_t4116647657* L_7 = ___buffer3;
if (!L_7)
{
goto IL_0040;
}
}
{
Stream_t1273022909 * L_8 = SslClientStream_get_InputBuffer_m4092356391(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_9 = ___buffer3;
ByteU5BU5D_t4116647657* L_10 = ___buffer3;
VirtActionInvoker3< ByteU5BU5D_t4116647657*, int32_t, int32_t >::Invoke(18 /* System.Void System.IO.Stream::Write(System.Byte[],System.Int32,System.Int32) */, L_8, L_9, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_10)->max_length)))));
}
IL_0040:
{
IL2CPP_RUNTIME_CLASS_INIT(ServicePointManager_t170559685_il2cpp_TypeInfo_var);
bool L_11 = ServicePointManager_get_CheckCertificateRevocationList_m1716454075(NULL /*static, unused*/, /*hidden argument*/NULL);
SslStreamBase_set_CheckCertRevocationStatus_m912861213(__this, L_11, /*hidden argument*/NULL);
CertificateSelectionCallback_t3743405224 * L_12 = ((HttpsClientStream_t1160552561_StaticFields*)il2cpp_codegen_static_fields_for(HttpsClientStream_t1160552561_il2cpp_TypeInfo_var))->get_U3CU3Ef__amU24cache2_22();
G_B3_0 = __this;
if (L_12)
{
G_B4_0 = __this;
goto IL_0064;
}
}
{
intptr_t L_13 = (intptr_t)HttpsClientStream_U3CHttpsClientStreamU3Em__0_m2058474197_RuntimeMethod_var;
CertificateSelectionCallback_t3743405224 * L_14 = (CertificateSelectionCallback_t3743405224 *)il2cpp_codegen_object_new(CertificateSelectionCallback_t3743405224_il2cpp_TypeInfo_var);
CertificateSelectionCallback__ctor_m3437537928(L_14, NULL, L_13, /*hidden argument*/NULL);
((HttpsClientStream_t1160552561_StaticFields*)il2cpp_codegen_static_fields_for(HttpsClientStream_t1160552561_il2cpp_TypeInfo_var))->set_U3CU3Ef__amU24cache2_22(L_14);
G_B4_0 = G_B3_0;
}
IL_0064:
{
CertificateSelectionCallback_t3743405224 * L_15 = ((HttpsClientStream_t1160552561_StaticFields*)il2cpp_codegen_static_fields_for(HttpsClientStream_t1160552561_il2cpp_TypeInfo_var))->get_U3CU3Ef__amU24cache2_22();
SslClientStream_add_ClientCertSelection_m1387948363(G_B4_0, L_15, /*hidden argument*/NULL);
PrivateKeySelectionCallback_t3240194217 * L_16 = ((HttpsClientStream_t1160552561_StaticFields*)il2cpp_codegen_static_fields_for(HttpsClientStream_t1160552561_il2cpp_TypeInfo_var))->get_U3CU3Ef__amU24cache3_23();
G_B5_0 = __this;
if (L_16)
{
G_B6_0 = __this;
goto IL_0087;
}
}
{
intptr_t L_17 = (intptr_t)HttpsClientStream_U3CHttpsClientStreamU3Em__1_m1202173386_RuntimeMethod_var;
PrivateKeySelectionCallback_t3240194217 * L_18 = (PrivateKeySelectionCallback_t3240194217 *)il2cpp_codegen_object_new(PrivateKeySelectionCallback_t3240194217_il2cpp_TypeInfo_var);
PrivateKeySelectionCallback__ctor_m265141085(L_18, NULL, L_17, /*hidden argument*/NULL);
((HttpsClientStream_t1160552561_StaticFields*)il2cpp_codegen_static_fields_for(HttpsClientStream_t1160552561_il2cpp_TypeInfo_var))->set_U3CU3Ef__amU24cache3_23(L_18);
G_B6_0 = G_B5_0;
}
IL_0087:
{
PrivateKeySelectionCallback_t3240194217 * L_19 = ((HttpsClientStream_t1160552561_StaticFields*)il2cpp_codegen_static_fields_for(HttpsClientStream_t1160552561_il2cpp_TypeInfo_var))->get_U3CU3Ef__amU24cache3_23();
SslClientStream_add_PrivateKeySelection_m1663125063(G_B6_0, L_19, /*hidden argument*/NULL);
return;
}
}
// System.Boolean Mono.Security.Protocol.Tls.HttpsClientStream::get_TrustFailure()
extern "C" IL2CPP_METHOD_ATTR bool HttpsClientStream_get_TrustFailure_m1151901888 (HttpsClientStream_t1160552561 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->get__status_21();
V_0 = L_0;
int32_t L_1 = V_0;
if ((((int32_t)L_1) == ((int32_t)((int32_t)-2146762487))))
{
goto IL_0022;
}
}
{
int32_t L_2 = V_0;
if ((((int32_t)L_2) == ((int32_t)((int32_t)-2146762486))))
{
goto IL_0022;
}
}
{
goto IL_0024;
}
IL_0022:
{
return (bool)1;
}
IL_0024:
{
return (bool)0;
}
}
// System.Boolean Mono.Security.Protocol.Tls.HttpsClientStream::RaiseServerCertificateValidation(System.Security.Cryptography.X509Certificates.X509Certificate,System.Int32[])
extern "C" IL2CPP_METHOD_ATTR bool HttpsClientStream_RaiseServerCertificateValidation_m3782467213 (HttpsClientStream_t1160552561 * __this, X509Certificate_t713131622 * ___certificate0, Int32U5BU5D_t385246372* ___certificateErrors1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (HttpsClientStream_RaiseServerCertificateValidation_m3782467213_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
ServicePoint_t2786966844 * V_1 = NULL;
bool V_2 = false;
RemoteCertificateValidationCallback_t3014364904 * V_3 = NULL;
int32_t V_4 = 0;
int32_t V_5 = 0;
Int32U5BU5D_t385246372* V_6 = NULL;
int32_t V_7 = 0;
X509Certificate2_t714049126 * V_8 = NULL;
X509Chain_t194917408 * V_9 = NULL;
HttpsClientStream_t1160552561 * G_B2_0 = NULL;
HttpsClientStream_t1160552561 * G_B1_0 = NULL;
int32_t G_B3_0 = 0;
HttpsClientStream_t1160552561 * G_B3_1 = NULL;
{
Int32U5BU5D_t385246372* L_0 = ___certificateErrors1;
V_0 = (bool)((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))))) > ((int32_t)0))? 1 : 0);
bool L_1 = V_0;
G_B1_0 = __this;
if (!L_1)
{
G_B2_0 = __this;
goto IL_0016;
}
}
{
Int32U5BU5D_t385246372* L_2 = ___certificateErrors1;
int32_t L_3 = 0;
int32_t L_4 = (L_2)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3));
G_B3_0 = L_4;
G_B3_1 = G_B1_0;
goto IL_0017;
}
IL_0016:
{
G_B3_0 = 0;
G_B3_1 = G_B2_0;
}
IL_0017:
{
G_B3_1->set__status_21(G_B3_0);
IL2CPP_RUNTIME_CLASS_INIT(ServicePointManager_t170559685_il2cpp_TypeInfo_var);
RuntimeObject* L_5 = ServicePointManager_get_CertificatePolicy_m1966679142(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_0055;
}
}
{
HttpWebRequest_t1669436515 * L_6 = __this->get__request_20();
ServicePoint_t2786966844 * L_7 = HttpWebRequest_get_ServicePoint_m1080482337(L_6, /*hidden argument*/NULL);
V_1 = L_7;
IL2CPP_RUNTIME_CLASS_INIT(ServicePointManager_t170559685_il2cpp_TypeInfo_var);
RuntimeObject* L_8 = ServicePointManager_get_CertificatePolicy_m1966679142(NULL /*static, unused*/, /*hidden argument*/NULL);
ServicePoint_t2786966844 * L_9 = V_1;
X509Certificate_t713131622 * L_10 = ___certificate0;
HttpWebRequest_t1669436515 * L_11 = __this->get__request_20();
int32_t L_12 = __this->get__status_21();
bool L_13 = InterfaceFuncInvoker4< bool, ServicePoint_t2786966844 *, X509Certificate_t713131622 *, WebRequest_t1939381076 *, int32_t >::Invoke(0 /* System.Boolean System.Net.ICertificatePolicy::CheckValidationResult(System.Net.ServicePoint,System.Security.Cryptography.X509Certificates.X509Certificate,System.Net.WebRequest,System.Int32) */, ICertificatePolicy_t2970473191_il2cpp_TypeInfo_var, L_8, L_9, L_10, L_11, L_12);
V_2 = L_13;
bool L_14 = V_2;
if (L_14)
{
goto IL_0053;
}
}
{
return (bool)0;
}
IL_0053:
{
V_0 = (bool)1;
}
IL_0055:
{
bool L_15 = VirtFuncInvoker0< bool >::Invoke(29 /* System.Boolean Mono.Security.Protocol.Tls.SslClientStream::get_HaveRemoteValidation2Callback() */, __this);
if (!L_15)
{
goto IL_0062;
}
}
{
bool L_16 = V_0;
return L_16;
}
IL_0062:
{
IL2CPP_RUNTIME_CLASS_INIT(ServicePointManager_t170559685_il2cpp_TypeInfo_var);
RemoteCertificateValidationCallback_t3014364904 * L_17 = ServicePointManager_get_ServerCertificateValidationCallback_m984921647(NULL /*static, unused*/, /*hidden argument*/NULL);
V_3 = L_17;
RemoteCertificateValidationCallback_t3014364904 * L_18 = V_3;
if (!L_18)
{
goto IL_0103;
}
}
{
V_4 = 0;
Int32U5BU5D_t385246372* L_19 = ___certificateErrors1;
V_6 = L_19;
V_7 = 0;
goto IL_00bd;
}
IL_007c:
{
Int32U5BU5D_t385246372* L_20 = V_6;
int32_t L_21 = V_7;
int32_t L_22 = L_21;
int32_t L_23 = (L_20)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_22));
V_5 = L_23;
int32_t L_24 = V_5;
if ((!(((uint32_t)L_24) == ((uint32_t)((int32_t)-2146762490)))))
{
goto IL_009a;
}
}
{
int32_t L_25 = V_4;
V_4 = ((int32_t)((int32_t)L_25|(int32_t)1));
goto IL_00b7;
}
IL_009a:
{
int32_t L_26 = V_5;
if ((!(((uint32_t)L_26) == ((uint32_t)((int32_t)-2146762481)))))
{
goto IL_00b1;
}
}
{
int32_t L_27 = V_4;
V_4 = ((int32_t)((int32_t)L_27|(int32_t)2));
goto IL_00b7;
}
IL_00b1:
{
int32_t L_28 = V_4;
V_4 = ((int32_t)((int32_t)L_28|(int32_t)4));
}
IL_00b7:
{
int32_t L_29 = V_7;
V_7 = ((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
}
IL_00bd:
{
int32_t L_30 = V_7;
Int32U5BU5D_t385246372* L_31 = V_6;
if ((((int32_t)L_30) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_31)->max_length)))))))
{
goto IL_007c;
}
}
{
X509Certificate_t713131622 * L_32 = ___certificate0;
ByteU5BU5D_t4116647657* L_33 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(14 /* System.Byte[] System.Security.Cryptography.X509Certificates.X509Certificate::GetRawCertData() */, L_32);
X509Certificate2_t714049126 * L_34 = (X509Certificate2_t714049126 *)il2cpp_codegen_object_new(X509Certificate2_t714049126_il2cpp_TypeInfo_var);
X509Certificate2__ctor_m2370196240(L_34, L_33, /*hidden argument*/NULL);
V_8 = L_34;
X509Chain_t194917408 * L_35 = (X509Chain_t194917408 *)il2cpp_codegen_object_new(X509Chain_t194917408_il2cpp_TypeInfo_var);
X509Chain__ctor_m2878811474(L_35, /*hidden argument*/NULL);
V_9 = L_35;
X509Chain_t194917408 * L_36 = V_9;
X509Certificate2_t714049126 * L_37 = V_8;
bool L_38 = X509Chain_Build_m1705729171(L_36, L_37, /*hidden argument*/NULL);
if (L_38)
{
goto IL_00f0;
}
}
{
int32_t L_39 = V_4;
V_4 = ((int32_t)((int32_t)L_39|(int32_t)4));
}
IL_00f0:
{
RemoteCertificateValidationCallback_t3014364904 * L_40 = V_3;
HttpWebRequest_t1669436515 * L_41 = __this->get__request_20();
X509Certificate2_t714049126 * L_42 = V_8;
X509Chain_t194917408 * L_43 = V_9;
int32_t L_44 = V_4;
bool L_45 = RemoteCertificateValidationCallback_Invoke_m727898444(L_40, L_41, L_42, L_43, L_44, /*hidden argument*/NULL);
return L_45;
}
IL_0103:
{
bool L_46 = V_0;
return L_46;
}
}
// System.Security.Cryptography.X509Certificates.X509Certificate Mono.Security.Protocol.Tls.HttpsClientStream::<HttpsClientStream>m__0(System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Cryptography.X509Certificates.X509Certificate,System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection)
extern "C" IL2CPP_METHOD_ATTR X509Certificate_t713131622 * HttpsClientStream_U3CHttpsClientStreamU3Em__0_m2058474197 (RuntimeObject * __this /* static, unused */, X509CertificateCollection_t3399372417 * ___clientCerts0, X509Certificate_t713131622 * ___serverCertificate1, String_t* ___targetHost2, X509CertificateCollection_t3399372417 * ___serverRequestedCertificates3, const RuntimeMethod* method)
{
X509Certificate_t713131622 * G_B4_0 = NULL;
{
X509CertificateCollection_t3399372417 * L_0 = ___clientCerts0;
if (!L_0)
{
goto IL_0011;
}
}
{
X509CertificateCollection_t3399372417 * L_1 = ___clientCerts0;
int32_t L_2 = CollectionBase_get_Count_m1708965601(L_1, /*hidden argument*/NULL);
if (L_2)
{
goto IL_0017;
}
}
IL_0011:
{
G_B4_0 = ((X509Certificate_t713131622 *)(NULL));
goto IL_001e;
}
IL_0017:
{
X509CertificateCollection_t3399372417 * L_3 = ___clientCerts0;
X509Certificate_t713131622 * L_4 = X509CertificateCollection_get_Item_m1177942658(L_3, 0, /*hidden argument*/NULL);
G_B4_0 = L_4;
}
IL_001e:
{
return G_B4_0;
}
}
// System.Security.Cryptography.AsymmetricAlgorithm Mono.Security.Protocol.Tls.HttpsClientStream::<HttpsClientStream>m__1(System.Security.Cryptography.X509Certificates.X509Certificate,System.String)
extern "C" IL2CPP_METHOD_ATTR AsymmetricAlgorithm_t932037087 * HttpsClientStream_U3CHttpsClientStreamU3Em__1_m1202173386 (RuntimeObject * __this /* static, unused */, X509Certificate_t713131622 * ___certificate0, String_t* ___targetHost1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (HttpsClientStream_U3CHttpsClientStreamU3Em__1_m1202173386_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
X509Certificate2_t714049126 * V_0 = NULL;
AsymmetricAlgorithm_t932037087 * G_B3_0 = NULL;
{
X509Certificate_t713131622 * L_0 = ___certificate0;
V_0 = ((X509Certificate2_t714049126 *)IsInstClass((RuntimeObject*)L_0, X509Certificate2_t714049126_il2cpp_TypeInfo_var));
X509Certificate2_t714049126 * L_1 = V_0;
if (L_1)
{
goto IL_0013;
}
}
{
G_B3_0 = ((AsymmetricAlgorithm_t932037087 *)(NULL));
goto IL_0019;
}
IL_0013:
{
X509Certificate2_t714049126 * L_2 = V_0;
AsymmetricAlgorithm_t932037087 * L_3 = X509Certificate2_get_PrivateKey_m450647294(L_2, /*hidden argument*/NULL);
G_B3_0 = L_3;
}
IL_0019:
{
return G_B3_0;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.PrivateKeySelectionCallback::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void PrivateKeySelectionCallback__ctor_m265141085 (PrivateKeySelectionCallback_t3240194217 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
__this->set_method_ptr_0(il2cpp_codegen_get_method_pointer((RuntimeMethod*)___method1));
__this->set_method_3(___method1);
__this->set_m_target_2(___object0);
}
// System.Security.Cryptography.AsymmetricAlgorithm Mono.Security.Protocol.Tls.PrivateKeySelectionCallback::Invoke(System.Security.Cryptography.X509Certificates.X509Certificate,System.String)
extern "C" IL2CPP_METHOD_ATTR AsymmetricAlgorithm_t932037087 * PrivateKeySelectionCallback_Invoke_m921844982 (PrivateKeySelectionCallback_t3240194217 * __this, X509Certificate_t713131622 * ___certificate0, String_t* ___targetHost1, const RuntimeMethod* method)
{
AsymmetricAlgorithm_t932037087 * result = NULL;
if(__this->get_prev_9() != NULL)
{
PrivateKeySelectionCallback_Invoke_m921844982((PrivateKeySelectionCallback_t3240194217 *)__this->get_prev_9(), ___certificate0, ___targetHost1, method);
}
Il2CppMethodPointer targetMethodPointer = __this->get_method_ptr_0();
RuntimeMethod* targetMethod = (RuntimeMethod*)(__this->get_method_3());
RuntimeObject* targetThis = __this->get_m_target_2();
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
bool ___methodIsStatic = MethodIsStatic(targetMethod);
if (___methodIsStatic)
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 2)
{
// open
{
typedef AsymmetricAlgorithm_t932037087 * (*FunctionPointerType) (RuntimeObject *, X509Certificate_t713131622 *, String_t*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(NULL, ___certificate0, ___targetHost1, targetMethod);
}
}
else
{
// closed
{
typedef AsymmetricAlgorithm_t932037087 * (*FunctionPointerType) (RuntimeObject *, void*, X509Certificate_t713131622 *, String_t*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(NULL, targetThis, ___certificate0, ___targetHost1, targetMethod);
}
}
}
else
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 2)
{
// closed
if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
{
if (il2cpp_codegen_method_is_generic_instance(targetMethod))
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = GenericInterfaceFuncInvoker2< AsymmetricAlgorithm_t932037087 *, X509Certificate_t713131622 *, String_t* >::Invoke(targetMethod, targetThis, ___certificate0, ___targetHost1);
else
result = GenericVirtFuncInvoker2< AsymmetricAlgorithm_t932037087 *, X509Certificate_t713131622 *, String_t* >::Invoke(targetMethod, targetThis, ___certificate0, ___targetHost1);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = InterfaceFuncInvoker2< AsymmetricAlgorithm_t932037087 *, X509Certificate_t713131622 *, String_t* >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___certificate0, ___targetHost1);
else
result = VirtFuncInvoker2< AsymmetricAlgorithm_t932037087 *, X509Certificate_t713131622 *, String_t* >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___certificate0, ___targetHost1);
}
}
else
{
typedef AsymmetricAlgorithm_t932037087 * (*FunctionPointerType) (void*, X509Certificate_t713131622 *, String_t*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(targetThis, ___certificate0, ___targetHost1, targetMethod);
}
}
else
{
// open
if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
{
if (il2cpp_codegen_method_is_generic_instance(targetMethod))
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = GenericInterfaceFuncInvoker1< AsymmetricAlgorithm_t932037087 *, String_t* >::Invoke(targetMethod, ___certificate0, ___targetHost1);
else
result = GenericVirtFuncInvoker1< AsymmetricAlgorithm_t932037087 *, String_t* >::Invoke(targetMethod, ___certificate0, ___targetHost1);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = InterfaceFuncInvoker1< AsymmetricAlgorithm_t932037087 *, String_t* >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), ___certificate0, ___targetHost1);
else
result = VirtFuncInvoker1< AsymmetricAlgorithm_t932037087 *, String_t* >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), ___certificate0, ___targetHost1);
}
}
else
{
typedef AsymmetricAlgorithm_t932037087 * (*FunctionPointerType) (X509Certificate_t713131622 *, String_t*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(___certificate0, ___targetHost1, targetMethod);
}
}
}
return result;
}
// System.IAsyncResult Mono.Security.Protocol.Tls.PrivateKeySelectionCallback::BeginInvoke(System.Security.Cryptography.X509Certificates.X509Certificate,System.String,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* PrivateKeySelectionCallback_BeginInvoke_m2814232473 (PrivateKeySelectionCallback_t3240194217 * __this, X509Certificate_t713131622 * ___certificate0, String_t* ___targetHost1, AsyncCallback_t3962456242 * ___callback2, RuntimeObject * ___object3, const RuntimeMethod* method)
{
void *__d_args[3] = {0};
__d_args[0] = ___certificate0;
__d_args[1] = ___targetHost1;
return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback2, (RuntimeObject*)___object3);
}
// System.Security.Cryptography.AsymmetricAlgorithm Mono.Security.Protocol.Tls.PrivateKeySelectionCallback::EndInvoke(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR AsymmetricAlgorithm_t932037087 * PrivateKeySelectionCallback_EndInvoke_m2229365437 (PrivateKeySelectionCallback_t3240194217 * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
{
RuntimeObject *__result = il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
return (AsymmetricAlgorithm_t932037087 *)__result;
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.RSASslSignatureDeformatter::.ctor(System.Security.Cryptography.AsymmetricAlgorithm)
extern "C" IL2CPP_METHOD_ATTR void RSASslSignatureDeformatter__ctor_m4026549112 (RSASslSignatureDeformatter_t3558097625 * __this, AsymmetricAlgorithm_t932037087 * ___key0, const RuntimeMethod* method)
{
{
AsymmetricSignatureDeformatter__ctor_m88114807(__this, /*hidden argument*/NULL);
AsymmetricAlgorithm_t932037087 * L_0 = ___key0;
VirtActionInvoker1< AsymmetricAlgorithm_t932037087 * >::Invoke(5 /* System.Void Mono.Security.Protocol.Tls.RSASslSignatureDeformatter::SetKey(System.Security.Cryptography.AsymmetricAlgorithm) */, __this, L_0);
return;
}
}
// System.Boolean Mono.Security.Protocol.Tls.RSASslSignatureDeformatter::VerifySignature(System.Byte[],System.Byte[])
extern "C" IL2CPP_METHOD_ATTR bool RSASslSignatureDeformatter_VerifySignature_m1061897602 (RSASslSignatureDeformatter_t3558097625 * __this, ByteU5BU5D_t4116647657* ___rgbHash0, ByteU5BU5D_t4116647657* ___rgbSignature1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RSASslSignatureDeformatter_VerifySignature_m1061897602_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RSA_t2385438082 * L_0 = __this->get_key_0();
if (L_0)
{
goto IL_0016;
}
}
{
CryptographicUnexpectedOperationException_t2790575154 * L_1 = (CryptographicUnexpectedOperationException_t2790575154 *)il2cpp_codegen_object_new(CryptographicUnexpectedOperationException_t2790575154_il2cpp_TypeInfo_var);
CryptographicUnexpectedOperationException__ctor_m2381988196(L_1, _stringLiteral961554175, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, RSASslSignatureDeformatter_VerifySignature_m1061897602_RuntimeMethod_var);
}
IL_0016:
{
HashAlgorithm_t1432317219 * L_2 = __this->get_hash_1();
if (L_2)
{
goto IL_002c;
}
}
{
CryptographicUnexpectedOperationException_t2790575154 * L_3 = (CryptographicUnexpectedOperationException_t2790575154 *)il2cpp_codegen_object_new(CryptographicUnexpectedOperationException_t2790575154_il2cpp_TypeInfo_var);
CryptographicUnexpectedOperationException__ctor_m2381988196(L_3, _stringLiteral476027131, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, RSASslSignatureDeformatter_VerifySignature_m1061897602_RuntimeMethod_var);
}
IL_002c:
{
ByteU5BU5D_t4116647657* L_4 = ___rgbHash0;
if (L_4)
{
goto IL_003d;
}
}
{
ArgumentNullException_t1615371798 * L_5 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_5, _stringLiteral475316319, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, RSASslSignatureDeformatter_VerifySignature_m1061897602_RuntimeMethod_var);
}
IL_003d:
{
RSA_t2385438082 * L_6 = __this->get_key_0();
HashAlgorithm_t1432317219 * L_7 = __this->get_hash_1();
ByteU5BU5D_t4116647657* L_8 = ___rgbHash0;
ByteU5BU5D_t4116647657* L_9 = ___rgbSignature1;
IL2CPP_RUNTIME_CLASS_INIT(PKCS1_t1505584677_il2cpp_TypeInfo_var);
bool L_10 = PKCS1_Verify_v15_m4192025173(NULL /*static, unused*/, L_6, L_7, L_8, L_9, /*hidden argument*/NULL);
return L_10;
}
}
// System.Void Mono.Security.Protocol.Tls.RSASslSignatureDeformatter::SetHashAlgorithm(System.String)
extern "C" IL2CPP_METHOD_ATTR void RSASslSignatureDeformatter_SetHashAlgorithm_m895570787 (RSASslSignatureDeformatter_t3558097625 * __this, String_t* ___strName0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RSASslSignatureDeformatter_SetHashAlgorithm_m895570787_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
Dictionary_2_t2736202052 * V_1 = NULL;
int32_t V_2 = 0;
{
String_t* L_0 = ___strName0;
V_0 = L_0;
String_t* L_1 = V_0;
if (!L_1)
{
goto IL_0058;
}
}
{
Dictionary_2_t2736202052 * L_2 = ((RSASslSignatureDeformatter_t3558097625_StaticFields*)il2cpp_codegen_static_fields_for(RSASslSignatureDeformatter_t3558097625_il2cpp_TypeInfo_var))->get_U3CU3Ef__switchU24map15_2();
if (L_2)
{
goto IL_002b;
}
}
{
Dictionary_2_t2736202052 * L_3 = (Dictionary_2_t2736202052 *)il2cpp_codegen_object_new(Dictionary_2_t2736202052_il2cpp_TypeInfo_var);
Dictionary_2__ctor_m2392909825(L_3, 1, /*hidden argument*/Dictionary_2__ctor_m2392909825_RuntimeMethod_var);
V_1 = L_3;
Dictionary_2_t2736202052 * L_4 = V_1;
Dictionary_2_Add_m282647386(L_4, _stringLiteral1361554341, 0, /*hidden argument*/Dictionary_2_Add_m282647386_RuntimeMethod_var);
Dictionary_2_t2736202052 * L_5 = V_1;
((RSASslSignatureDeformatter_t3558097625_StaticFields*)il2cpp_codegen_static_fields_for(RSASslSignatureDeformatter_t3558097625_il2cpp_TypeInfo_var))->set_U3CU3Ef__switchU24map15_2(L_5);
}
IL_002b:
{
Dictionary_2_t2736202052 * L_6 = ((RSASslSignatureDeformatter_t3558097625_StaticFields*)il2cpp_codegen_static_fields_for(RSASslSignatureDeformatter_t3558097625_il2cpp_TypeInfo_var))->get_U3CU3Ef__switchU24map15_2();
String_t* L_7 = V_0;
bool L_8 = Dictionary_2_TryGetValue_m1013208020(L_6, L_7, (int32_t*)(&V_2), /*hidden argument*/Dictionary_2_TryGetValue_m1013208020_RuntimeMethod_var);
if (!L_8)
{
goto IL_0058;
}
}
{
int32_t L_9 = V_2;
if (!L_9)
{
goto IL_0048;
}
}
{
goto IL_0058;
}
IL_0048:
{
MD5SHA1_t723838944 * L_10 = (MD5SHA1_t723838944 *)il2cpp_codegen_object_new(MD5SHA1_t723838944_il2cpp_TypeInfo_var);
MD5SHA1__ctor_m4081016482(L_10, /*hidden argument*/NULL);
__this->set_hash_1(L_10);
goto IL_0069;
}
IL_0058:
{
String_t* L_11 = ___strName0;
HashAlgorithm_t1432317219 * L_12 = HashAlgorithm_Create_m644612360(NULL /*static, unused*/, L_11, /*hidden argument*/NULL);
__this->set_hash_1(L_12);
goto IL_0069;
}
IL_0069:
{
return;
}
}
// System.Void Mono.Security.Protocol.Tls.RSASslSignatureDeformatter::SetKey(System.Security.Cryptography.AsymmetricAlgorithm)
extern "C" IL2CPP_METHOD_ATTR void RSASslSignatureDeformatter_SetKey_m2204705853 (RSASslSignatureDeformatter_t3558097625 * __this, AsymmetricAlgorithm_t932037087 * ___key0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RSASslSignatureDeformatter_SetKey_m2204705853_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
AsymmetricAlgorithm_t932037087 * L_0 = ___key0;
if (((RSA_t2385438082 *)IsInstClass((RuntimeObject*)L_0, RSA_t2385438082_il2cpp_TypeInfo_var)))
{
goto IL_0016;
}
}
{
ArgumentException_t132251570 * L_1 = (ArgumentException_t132251570 *)il2cpp_codegen_object_new(ArgumentException_t132251570_il2cpp_TypeInfo_var);
ArgumentException__ctor_m1312628991(L_1, _stringLiteral1827055184, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, RSASslSignatureDeformatter_SetKey_m2204705853_RuntimeMethod_var);
}
IL_0016:
{
AsymmetricAlgorithm_t932037087 * L_2 = ___key0;
__this->set_key_0(((RSA_t2385438082 *)IsInstClass((RuntimeObject*)L_2, RSA_t2385438082_il2cpp_TypeInfo_var)));
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.RSASslSignatureFormatter::.ctor(System.Security.Cryptography.AsymmetricAlgorithm)
extern "C" IL2CPP_METHOD_ATTR void RSASslSignatureFormatter__ctor_m1299283008 (RSASslSignatureFormatter_t2709678514 * __this, AsymmetricAlgorithm_t932037087 * ___key0, const RuntimeMethod* method)
{
{
AsymmetricSignatureFormatter__ctor_m3278494933(__this, /*hidden argument*/NULL);
AsymmetricAlgorithm_t932037087 * L_0 = ___key0;
VirtActionInvoker1< AsymmetricAlgorithm_t932037087 * >::Invoke(5 /* System.Void Mono.Security.Protocol.Tls.RSASslSignatureFormatter::SetKey(System.Security.Cryptography.AsymmetricAlgorithm) */, __this, L_0);
return;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.RSASslSignatureFormatter::CreateSignature(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* RSASslSignatureFormatter_CreateSignature_m2614788251 (RSASslSignatureFormatter_t2709678514 * __this, ByteU5BU5D_t4116647657* ___rgbHash0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RSASslSignatureFormatter_CreateSignature_m2614788251_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RSA_t2385438082 * L_0 = __this->get_key_0();
if (L_0)
{
goto IL_0016;
}
}
{
CryptographicUnexpectedOperationException_t2790575154 * L_1 = (CryptographicUnexpectedOperationException_t2790575154 *)il2cpp_codegen_object_new(CryptographicUnexpectedOperationException_t2790575154_il2cpp_TypeInfo_var);
CryptographicUnexpectedOperationException__ctor_m2381988196(L_1, _stringLiteral961554175, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, RSASslSignatureFormatter_CreateSignature_m2614788251_RuntimeMethod_var);
}
IL_0016:
{
HashAlgorithm_t1432317219 * L_2 = __this->get_hash_1();
if (L_2)
{
goto IL_002c;
}
}
{
CryptographicUnexpectedOperationException_t2790575154 * L_3 = (CryptographicUnexpectedOperationException_t2790575154 *)il2cpp_codegen_object_new(CryptographicUnexpectedOperationException_t2790575154_il2cpp_TypeInfo_var);
CryptographicUnexpectedOperationException__ctor_m2381988196(L_3, _stringLiteral476027131, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, RSASslSignatureFormatter_CreateSignature_m2614788251_RuntimeMethod_var);
}
IL_002c:
{
ByteU5BU5D_t4116647657* L_4 = ___rgbHash0;
if (L_4)
{
goto IL_003d;
}
}
{
ArgumentNullException_t1615371798 * L_5 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_5, _stringLiteral475316319, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, RSASslSignatureFormatter_CreateSignature_m2614788251_RuntimeMethod_var);
}
IL_003d:
{
RSA_t2385438082 * L_6 = __this->get_key_0();
HashAlgorithm_t1432317219 * L_7 = __this->get_hash_1();
ByteU5BU5D_t4116647657* L_8 = ___rgbHash0;
IL2CPP_RUNTIME_CLASS_INIT(PKCS1_t1505584677_il2cpp_TypeInfo_var);
ByteU5BU5D_t4116647657* L_9 = PKCS1_Sign_v15_m3459793192(NULL /*static, unused*/, L_6, L_7, L_8, /*hidden argument*/NULL);
return L_9;
}
}
// System.Void Mono.Security.Protocol.Tls.RSASslSignatureFormatter::SetHashAlgorithm(System.String)
extern "C" IL2CPP_METHOD_ATTR void RSASslSignatureFormatter_SetHashAlgorithm_m3864232300 (RSASslSignatureFormatter_t2709678514 * __this, String_t* ___strName0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RSASslSignatureFormatter_SetHashAlgorithm_m3864232300_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
Dictionary_2_t2736202052 * V_1 = NULL;
int32_t V_2 = 0;
{
String_t* L_0 = ___strName0;
V_0 = L_0;
String_t* L_1 = V_0;
if (!L_1)
{
goto IL_0058;
}
}
{
Dictionary_2_t2736202052 * L_2 = ((RSASslSignatureFormatter_t2709678514_StaticFields*)il2cpp_codegen_static_fields_for(RSASslSignatureFormatter_t2709678514_il2cpp_TypeInfo_var))->get_U3CU3Ef__switchU24map16_2();
if (L_2)
{
goto IL_002b;
}
}
{
Dictionary_2_t2736202052 * L_3 = (Dictionary_2_t2736202052 *)il2cpp_codegen_object_new(Dictionary_2_t2736202052_il2cpp_TypeInfo_var);
Dictionary_2__ctor_m2392909825(L_3, 1, /*hidden argument*/Dictionary_2__ctor_m2392909825_RuntimeMethod_var);
V_1 = L_3;
Dictionary_2_t2736202052 * L_4 = V_1;
Dictionary_2_Add_m282647386(L_4, _stringLiteral1361554341, 0, /*hidden argument*/Dictionary_2_Add_m282647386_RuntimeMethod_var);
Dictionary_2_t2736202052 * L_5 = V_1;
((RSASslSignatureFormatter_t2709678514_StaticFields*)il2cpp_codegen_static_fields_for(RSASslSignatureFormatter_t2709678514_il2cpp_TypeInfo_var))->set_U3CU3Ef__switchU24map16_2(L_5);
}
IL_002b:
{
Dictionary_2_t2736202052 * L_6 = ((RSASslSignatureFormatter_t2709678514_StaticFields*)il2cpp_codegen_static_fields_for(RSASslSignatureFormatter_t2709678514_il2cpp_TypeInfo_var))->get_U3CU3Ef__switchU24map16_2();
String_t* L_7 = V_0;
bool L_8 = Dictionary_2_TryGetValue_m1013208020(L_6, L_7, (int32_t*)(&V_2), /*hidden argument*/Dictionary_2_TryGetValue_m1013208020_RuntimeMethod_var);
if (!L_8)
{
goto IL_0058;
}
}
{
int32_t L_9 = V_2;
if (!L_9)
{
goto IL_0048;
}
}
{
goto IL_0058;
}
IL_0048:
{
MD5SHA1_t723838944 * L_10 = (MD5SHA1_t723838944 *)il2cpp_codegen_object_new(MD5SHA1_t723838944_il2cpp_TypeInfo_var);
MD5SHA1__ctor_m4081016482(L_10, /*hidden argument*/NULL);
__this->set_hash_1(L_10);
goto IL_0069;
}
IL_0058:
{
String_t* L_11 = ___strName0;
HashAlgorithm_t1432317219 * L_12 = HashAlgorithm_Create_m644612360(NULL /*static, unused*/, L_11, /*hidden argument*/NULL);
__this->set_hash_1(L_12);
goto IL_0069;
}
IL_0069:
{
return;
}
}
// System.Void Mono.Security.Protocol.Tls.RSASslSignatureFormatter::SetKey(System.Security.Cryptography.AsymmetricAlgorithm)
extern "C" IL2CPP_METHOD_ATTR void RSASslSignatureFormatter_SetKey_m979790541 (RSASslSignatureFormatter_t2709678514 * __this, AsymmetricAlgorithm_t932037087 * ___key0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RSASslSignatureFormatter_SetKey_m979790541_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
AsymmetricAlgorithm_t932037087 * L_0 = ___key0;
if (((RSA_t2385438082 *)IsInstClass((RuntimeObject*)L_0, RSA_t2385438082_il2cpp_TypeInfo_var)))
{
goto IL_0016;
}
}
{
ArgumentException_t132251570 * L_1 = (ArgumentException_t132251570 *)il2cpp_codegen_object_new(ArgumentException_t132251570_il2cpp_TypeInfo_var);
ArgumentException__ctor_m1312628991(L_1, _stringLiteral1827055184, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, RSASslSignatureFormatter_SetKey_m979790541_RuntimeMethod_var);
}
IL_0016:
{
AsymmetricAlgorithm_t932037087 * L_2 = ___key0;
__this->set_key_0(((RSA_t2385438082 *)IsInstClass((RuntimeObject*)L_2, RSA_t2385438082_il2cpp_TypeInfo_var)));
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.RecordProtocol::.ctor(System.IO.Stream,Mono.Security.Protocol.Tls.Context)
extern "C" IL2CPP_METHOD_ATTR void RecordProtocol__ctor_m1695232390 (RecordProtocol_t3759049701 * __this, Stream_t1273022909 * ___innerStream0, Context_t3971234707 * ___context1, const RuntimeMethod* method)
{
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
Stream_t1273022909 * L_0 = ___innerStream0;
__this->set_innerStream_1(L_0);
Context_t3971234707 * L_1 = ___context1;
__this->set_context_2(L_1);
Context_t3971234707 * L_2 = __this->get_context_2();
Context_set_RecordProtocol_m3067654641(L_2, __this, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.RecordProtocol::.cctor()
extern "C" IL2CPP_METHOD_ATTR void RecordProtocol__cctor_m1280873827 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RecordProtocol__cctor_m1280873827_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ManualResetEvent_t451242010 * L_0 = (ManualResetEvent_t451242010 *)il2cpp_codegen_object_new(ManualResetEvent_t451242010_il2cpp_TypeInfo_var);
ManualResetEvent__ctor_m4010886457(L_0, (bool)1, /*hidden argument*/NULL);
((RecordProtocol_t3759049701_StaticFields*)il2cpp_codegen_static_fields_for(RecordProtocol_t3759049701_il2cpp_TypeInfo_var))->set_record_processing_0(L_0);
return;
}
}
// Mono.Security.Protocol.Tls.Context Mono.Security.Protocol.Tls.RecordProtocol::get_Context()
extern "C" IL2CPP_METHOD_ATTR Context_t3971234707 * RecordProtocol_get_Context_m3273611300 (RecordProtocol_t3759049701 * __this, const RuntimeMethod* method)
{
{
Context_t3971234707 * L_0 = __this->get_context_2();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.RecordProtocol::SendRecord(Mono.Security.Protocol.Tls.Handshake.HandshakeType)
extern "C" IL2CPP_METHOD_ATTR void RecordProtocol_SendRecord_m515492272 (RecordProtocol_t3759049701 * __this, uint8_t ___type0, const RuntimeMethod* method)
{
RuntimeObject* V_0 = NULL;
{
uint8_t L_0 = ___type0;
RuntimeObject* L_1 = RecordProtocol_BeginSendRecord_m615249746(__this, L_0, (AsyncCallback_t3962456242 *)NULL, NULL, /*hidden argument*/NULL);
V_0 = L_1;
RuntimeObject* L_2 = V_0;
RecordProtocol_EndSendRecord_m4264777321(__this, L_2, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.RecordProtocol::ProcessChangeCipherSpec()
extern "C" IL2CPP_METHOD_ATTR void RecordProtocol_ProcessChangeCipherSpec_m15839975 (RecordProtocol_t3759049701 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RecordProtocol_ProcessChangeCipherSpec_m15839975_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Context_t3971234707 * V_0 = NULL;
{
Context_t3971234707 * L_0 = RecordProtocol_get_Context_m3273611300(__this, /*hidden argument*/NULL);
V_0 = L_0;
Context_t3971234707 * L_1 = V_0;
Context_set_ReadSequenceNumber_m2154909392(L_1, (((int64_t)((int64_t)0))), /*hidden argument*/NULL);
Context_t3971234707 * L_2 = V_0;
if (!((ClientContext_t2797401965 *)IsInstClass((RuntimeObject*)L_2, ClientContext_t2797401965_il2cpp_TypeInfo_var)))
{
goto IL_0026;
}
}
{
Context_t3971234707 * L_3 = V_0;
Context_EndSwitchingSecurityParameters_m4148956166(L_3, (bool)1, /*hidden argument*/NULL);
goto IL_002d;
}
IL_0026:
{
Context_t3971234707 * L_4 = V_0;
Context_StartSwitchingSecurityParameters_m28285865(L_4, (bool)0, /*hidden argument*/NULL);
}
IL_002d:
{
return;
}
}
// Mono.Security.Protocol.Tls.Handshake.HandshakeMessage Mono.Security.Protocol.Tls.RecordProtocol::GetMessage(Mono.Security.Protocol.Tls.Handshake.HandshakeType)
extern "C" IL2CPP_METHOD_ATTR HandshakeMessage_t3696583168 * RecordProtocol_GetMessage_m2086135164 (RecordProtocol_t3759049701 * __this, uint8_t ___type0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RecordProtocol_GetMessage_m2086135164_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
NotSupportedException_t1314879016 * L_0 = (NotSupportedException_t1314879016 *)il2cpp_codegen_object_new(NotSupportedException_t1314879016_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m2730133172(L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, NULL, RecordProtocol_GetMessage_m2086135164_RuntimeMethod_var);
}
}
// System.IAsyncResult Mono.Security.Protocol.Tls.RecordProtocol::BeginReceiveRecord(System.IO.Stream,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* RecordProtocol_BeginReceiveRecord_m295321170 (RecordProtocol_t3759049701 * __this, Stream_t1273022909 * ___record0, AsyncCallback_t3962456242 * ___callback1, RuntimeObject * ___state2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RecordProtocol_BeginReceiveRecord_m295321170_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_t4116647657* V_0 = NULL;
ReceiveRecordAsyncResult_t3680907657 * V_1 = NULL;
{
Context_t3971234707 * L_0 = __this->get_context_2();
bool L_1 = Context_get_ReceivedConnectionEnd_m4011125537(L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_001d;
}
}
{
TlsException_t3534743363 * L_2 = (TlsException_t3534743363 *)il2cpp_codegen_object_new(TlsException_t3534743363_il2cpp_TypeInfo_var);
TlsException__ctor_m3242533711(L_2, ((int32_t)80), _stringLiteral1410188538, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, RecordProtocol_BeginReceiveRecord_m295321170_RuntimeMethod_var);
}
IL_001d:
{
IL2CPP_RUNTIME_CLASS_INIT(RecordProtocol_t3759049701_il2cpp_TypeInfo_var);
ManualResetEvent_t451242010 * L_3 = ((RecordProtocol_t3759049701_StaticFields*)il2cpp_codegen_static_fields_for(RecordProtocol_t3759049701_il2cpp_TypeInfo_var))->get_record_processing_0();
EventWaitHandle_Reset_m3348053200(L_3, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_4 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)1);
V_0 = L_4;
AsyncCallback_t3962456242 * L_5 = ___callback1;
RuntimeObject * L_6 = ___state2;
ByteU5BU5D_t4116647657* L_7 = V_0;
Stream_t1273022909 * L_8 = ___record0;
ReceiveRecordAsyncResult_t3680907657 * L_9 = (ReceiveRecordAsyncResult_t3680907657 *)il2cpp_codegen_object_new(ReceiveRecordAsyncResult_t3680907657_il2cpp_TypeInfo_var);
ReceiveRecordAsyncResult__ctor_m277637112(L_9, L_5, L_6, L_7, L_8, /*hidden argument*/NULL);
V_1 = L_9;
Stream_t1273022909 * L_10 = ___record0;
ReceiveRecordAsyncResult_t3680907657 * L_11 = V_1;
ByteU5BU5D_t4116647657* L_12 = ReceiveRecordAsyncResult_get_InitialBuffer_m2924495696(L_11, /*hidden argument*/NULL);
ReceiveRecordAsyncResult_t3680907657 * L_13 = V_1;
ByteU5BU5D_t4116647657* L_14 = ReceiveRecordAsyncResult_get_InitialBuffer_m2924495696(L_13, /*hidden argument*/NULL);
intptr_t L_15 = (intptr_t)RecordProtocol_InternalReceiveRecordCallback_m1713318629_RuntimeMethod_var;
AsyncCallback_t3962456242 * L_16 = (AsyncCallback_t3962456242 *)il2cpp_codegen_object_new(AsyncCallback_t3962456242_il2cpp_TypeInfo_var);
AsyncCallback__ctor_m530647953(L_16, __this, L_15, /*hidden argument*/NULL);
ReceiveRecordAsyncResult_t3680907657 * L_17 = V_1;
VirtFuncInvoker5< RuntimeObject*, ByteU5BU5D_t4116647657*, int32_t, int32_t, AsyncCallback_t3962456242 *, RuntimeObject * >::Invoke(20 /* System.IAsyncResult System.IO.Stream::BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object) */, L_10, L_12, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_14)->max_length)))), L_16, L_17);
ReceiveRecordAsyncResult_t3680907657 * L_18 = V_1;
return L_18;
}
}
// System.Void Mono.Security.Protocol.Tls.RecordProtocol::InternalReceiveRecordCallback(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void RecordProtocol_InternalReceiveRecordCallback_m1713318629 (RecordProtocol_t3759049701 * __this, RuntimeObject* ___asyncResult0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RecordProtocol_InternalReceiveRecordCallback_m1713318629_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ReceiveRecordAsyncResult_t3680907657 * V_0 = NULL;
Stream_t1273022909 * V_1 = NULL;
int32_t V_2 = 0;
int32_t V_3 = 0;
uint8_t V_4 = 0;
ByteU5BU5D_t4116647657* V_5 = NULL;
TlsStream_t2365453965 * V_6 = NULL;
Exception_t * V_7 = NULL;
uint8_t V_8 = 0;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject* L_0 = ___asyncResult0;
RuntimeObject * L_1 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(0 /* System.Object System.IAsyncResult::get_AsyncState() */, IAsyncResult_t767004451_il2cpp_TypeInfo_var, L_0);
V_0 = ((ReceiveRecordAsyncResult_t3680907657 *)IsInstClass((RuntimeObject*)L_1, ReceiveRecordAsyncResult_t3680907657_il2cpp_TypeInfo_var));
ReceiveRecordAsyncResult_t3680907657 * L_2 = V_0;
Stream_t1273022909 * L_3 = ReceiveRecordAsyncResult_get_Record_m223479150(L_2, /*hidden argument*/NULL);
V_1 = L_3;
}
IL_0013:
try
{ // begin try (depth: 1)
{
ReceiveRecordAsyncResult_t3680907657 * L_4 = V_0;
Stream_t1273022909 * L_5 = ReceiveRecordAsyncResult_get_Record_m223479150(L_4, /*hidden argument*/NULL);
RuntimeObject* L_6 = ___asyncResult0;
int32_t L_7 = VirtFuncInvoker1< int32_t, RuntimeObject* >::Invoke(22 /* System.Int32 System.IO.Stream::EndRead(System.IAsyncResult) */, L_5, L_6);
V_2 = L_7;
int32_t L_8 = V_2;
if (L_8)
{
goto IL_0032;
}
}
IL_0026:
{
ReceiveRecordAsyncResult_t3680907657 * L_9 = V_0;
ReceiveRecordAsyncResult_SetComplete_m464469214(L_9, (ByteU5BU5D_t4116647657*)(ByteU5BU5D_t4116647657*)NULL, /*hidden argument*/NULL);
goto IL_0180;
}
IL_0032:
{
ReceiveRecordAsyncResult_t3680907657 * L_10 = V_0;
ByteU5BU5D_t4116647657* L_11 = ReceiveRecordAsyncResult_get_InitialBuffer_m2924495696(L_10, /*hidden argument*/NULL);
int32_t L_12 = 0;
uint8_t L_13 = (L_11)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12));
V_3 = L_13;
Context_t3971234707 * L_14 = __this->get_context_2();
Context_set_LastHandshakeMsg_m1770618067(L_14, 1, /*hidden argument*/NULL);
int32_t L_15 = V_3;
V_4 = (((int32_t)((uint8_t)L_15)));
int32_t L_16 = V_3;
Stream_t1273022909 * L_17 = V_1;
ByteU5BU5D_t4116647657* L_18 = RecordProtocol_ReadRecordBuffer_m180543381(__this, L_16, L_17, /*hidden argument*/NULL);
V_5 = L_18;
ByteU5BU5D_t4116647657* L_19 = V_5;
if (L_19)
{
goto IL_0068;
}
}
IL_005c:
{
ReceiveRecordAsyncResult_t3680907657 * L_20 = V_0;
ReceiveRecordAsyncResult_SetComplete_m464469214(L_20, (ByteU5BU5D_t4116647657*)(ByteU5BU5D_t4116647657*)NULL, /*hidden argument*/NULL);
goto IL_0180;
}
IL_0068:
{
uint8_t L_21 = V_4;
if ((!(((uint32_t)L_21) == ((uint32_t)((int32_t)21)))))
{
goto IL_0080;
}
}
IL_0071:
{
ByteU5BU5D_t4116647657* L_22 = V_5;
if ((!(((uint32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_22)->max_length))))) == ((uint32_t)2))))
{
goto IL_0080;
}
}
IL_007b:
{
goto IL_00b1;
}
IL_0080:
{
Context_t3971234707 * L_23 = RecordProtocol_get_Context_m3273611300(__this, /*hidden argument*/NULL);
SecurityParameters_t2199972650 * L_24 = Context_get_Read_m4172356735(L_23, /*hidden argument*/NULL);
if (!L_24)
{
goto IL_00b1;
}
}
IL_0090:
{
Context_t3971234707 * L_25 = RecordProtocol_get_Context_m3273611300(__this, /*hidden argument*/NULL);
SecurityParameters_t2199972650 * L_26 = Context_get_Read_m4172356735(L_25, /*hidden argument*/NULL);
CipherSuite_t3414744575 * L_27 = SecurityParameters_get_Cipher_m108846204(L_26, /*hidden argument*/NULL);
if (!L_27)
{
goto IL_00b1;
}
}
IL_00a5:
{
uint8_t L_28 = V_4;
ByteU5BU5D_t4116647657* L_29 = V_5;
ByteU5BU5D_t4116647657* L_30 = RecordProtocol_decryptRecordFragment_m66623237(__this, L_28, L_29, /*hidden argument*/NULL);
V_5 = L_30;
}
IL_00b1:
{
uint8_t L_31 = V_4;
V_8 = L_31;
uint8_t L_32 = V_8;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_32, (int32_t)((int32_t)20))))
{
case 0:
{
goto IL_0109;
}
case 1:
{
goto IL_00e0;
}
case 2:
{
goto IL_0119;
}
case 3:
{
goto IL_0114;
}
}
}
IL_00cf:
{
uint8_t L_33 = V_8;
if ((((int32_t)L_33) == ((int32_t)((int32_t)128))))
{
goto IL_0140;
}
}
IL_00db:
{
goto IL_0157;
}
IL_00e0:
{
ByteU5BU5D_t4116647657* L_34 = V_5;
int32_t L_35 = 0;
uint8_t L_36 = (L_34)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_35));
ByteU5BU5D_t4116647657* L_37 = V_5;
int32_t L_38 = 1;
uint8_t L_39 = (L_37)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_38));
RecordProtocol_ProcessAlert_m1036912531(__this, L_36, L_39, /*hidden argument*/NULL);
Stream_t1273022909 * L_40 = V_1;
bool L_41 = VirtFuncInvoker0< bool >::Invoke(6 /* System.Boolean System.IO.Stream::get_CanSeek() */, L_40);
if (!L_41)
{
goto IL_0101;
}
}
IL_00f9:
{
Stream_t1273022909 * L_42 = V_1;
VirtActionInvoker1< int64_t >::Invoke(17 /* System.Void System.IO.Stream::SetLength(System.Int64) */, L_42, (((int64_t)((int64_t)0))));
}
IL_0101:
{
V_5 = (ByteU5BU5D_t4116647657*)NULL;
goto IL_0164;
}
IL_0109:
{
VirtActionInvoker0::Invoke(6 /* System.Void Mono.Security.Protocol.Tls.RecordProtocol::ProcessChangeCipherSpec() */, __this);
goto IL_0164;
}
IL_0114:
{
goto IL_0164;
}
IL_0119:
{
ByteU5BU5D_t4116647657* L_43 = V_5;
TlsStream_t2365453965 * L_44 = (TlsStream_t2365453965 *)il2cpp_codegen_object_new(TlsStream_t2365453965_il2cpp_TypeInfo_var);
TlsStream__ctor_m277557575(L_44, L_43, /*hidden argument*/NULL);
V_6 = L_44;
goto IL_012f;
}
IL_0127:
{
TlsStream_t2365453965 * L_45 = V_6;
VirtActionInvoker1< TlsStream_t2365453965 * >::Invoke(5 /* System.Void Mono.Security.Protocol.Tls.RecordProtocol::ProcessHandshakeMessage(Mono.Security.Protocol.Tls.TlsStream) */, __this, L_45);
}
IL_012f:
{
TlsStream_t2365453965 * L_46 = V_6;
bool L_47 = TlsStream_get_EOF_m953226442(L_46, /*hidden argument*/NULL);
if (!L_47)
{
goto IL_0127;
}
}
IL_013b:
{
goto IL_0164;
}
IL_0140:
{
Context_t3971234707 * L_48 = __this->get_context_2();
TlsStream_t2365453965 * L_49 = Context_get_HandshakeMessages_m3655705111(L_48, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_50 = V_5;
TlsStream_Write_m4133894341(L_49, L_50, /*hidden argument*/NULL);
goto IL_0164;
}
IL_0157:
{
TlsException_t3534743363 * L_51 = (TlsException_t3534743363 *)il2cpp_codegen_object_new(TlsException_t3534743363_il2cpp_TypeInfo_var);
TlsException__ctor_m3242533711(L_51, ((int32_t)10), _stringLiteral2295937935, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_51, NULL, RecordProtocol_InternalReceiveRecordCallback_m1713318629_RuntimeMethod_var);
}
IL_0164:
{
ReceiveRecordAsyncResult_t3680907657 * L_52 = V_0;
ByteU5BU5D_t4116647657* L_53 = V_5;
ReceiveRecordAsyncResult_SetComplete_m464469214(L_52, L_53, /*hidden argument*/NULL);
goto IL_0180;
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (Exception_t_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0171;
throw e;
}
CATCH_0171:
{ // begin catch(System.Exception)
V_7 = ((Exception_t *)__exception_local);
ReceiveRecordAsyncResult_t3680907657 * L_54 = V_0;
Exception_t * L_55 = V_7;
ReceiveRecordAsyncResult_SetComplete_m1568733499(L_54, L_55, /*hidden argument*/NULL);
goto IL_0180;
} // end catch (depth: 1)
IL_0180:
{
return;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.RecordProtocol::EndReceiveRecord(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* RecordProtocol_EndReceiveRecord_m1872541318 (RecordProtocol_t3759049701 * __this, RuntimeObject* ___asyncResult0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RecordProtocol_EndReceiveRecord_m1872541318_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ReceiveRecordAsyncResult_t3680907657 * V_0 = NULL;
ByteU5BU5D_t4116647657* V_1 = NULL;
{
RuntimeObject* L_0 = ___asyncResult0;
V_0 = ((ReceiveRecordAsyncResult_t3680907657 *)IsInstClass((RuntimeObject*)L_0, ReceiveRecordAsyncResult_t3680907657_il2cpp_TypeInfo_var));
ReceiveRecordAsyncResult_t3680907657 * L_1 = V_0;
if (L_1)
{
goto IL_0018;
}
}
{
ArgumentException_t132251570 * L_2 = (ArgumentException_t132251570 *)il2cpp_codegen_object_new(ArgumentException_t132251570_il2cpp_TypeInfo_var);
ArgumentException__ctor_m1312628991(L_2, _stringLiteral1889458120, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, RecordProtocol_EndReceiveRecord_m1872541318_RuntimeMethod_var);
}
IL_0018:
{
ReceiveRecordAsyncResult_t3680907657 * L_3 = V_0;
bool L_4 = ReceiveRecordAsyncResult_get_IsCompleted_m1918259948(L_3, /*hidden argument*/NULL);
if (L_4)
{
goto IL_002f;
}
}
{
ReceiveRecordAsyncResult_t3680907657 * L_5 = V_0;
WaitHandle_t1743403487 * L_6 = ReceiveRecordAsyncResult_get_AsyncWaitHandle_m1781023438(L_5, /*hidden argument*/NULL);
VirtFuncInvoker0< bool >::Invoke(10 /* System.Boolean System.Threading.WaitHandle::WaitOne() */, L_6);
}
IL_002f:
{
ReceiveRecordAsyncResult_t3680907657 * L_7 = V_0;
bool L_8 = ReceiveRecordAsyncResult_get_CompletedWithError_m2856009536(L_7, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_0041;
}
}
{
ReceiveRecordAsyncResult_t3680907657 * L_9 = V_0;
Exception_t * L_10 = ReceiveRecordAsyncResult_get_AsyncException_m631453737(L_9, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, NULL, RecordProtocol_EndReceiveRecord_m1872541318_RuntimeMethod_var);
}
IL_0041:
{
ReceiveRecordAsyncResult_t3680907657 * L_11 = V_0;
ByteU5BU5D_t4116647657* L_12 = ReceiveRecordAsyncResult_get_ResultingBuffer_m1839161335(L_11, /*hidden argument*/NULL);
V_1 = L_12;
IL2CPP_RUNTIME_CLASS_INIT(RecordProtocol_t3759049701_il2cpp_TypeInfo_var);
ManualResetEvent_t451242010 * L_13 = ((RecordProtocol_t3759049701_StaticFields*)il2cpp_codegen_static_fields_for(RecordProtocol_t3759049701_il2cpp_TypeInfo_var))->get_record_processing_0();
EventWaitHandle_Set_m2445193251(L_13, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_14 = V_1;
return L_14;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.RecordProtocol::ReceiveRecord(System.IO.Stream)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* RecordProtocol_ReceiveRecord_m3797641756 (RecordProtocol_t3759049701 * __this, Stream_t1273022909 * ___record0, const RuntimeMethod* method)
{
RuntimeObject* V_0 = NULL;
{
Stream_t1273022909 * L_0 = ___record0;
RuntimeObject* L_1 = RecordProtocol_BeginReceiveRecord_m295321170(__this, L_0, (AsyncCallback_t3962456242 *)NULL, NULL, /*hidden argument*/NULL);
V_0 = L_1;
RuntimeObject* L_2 = V_0;
ByteU5BU5D_t4116647657* L_3 = RecordProtocol_EndReceiveRecord_m1872541318(__this, L_2, /*hidden argument*/NULL);
return L_3;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.RecordProtocol::ReadRecordBuffer(System.Int32,System.IO.Stream)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* RecordProtocol_ReadRecordBuffer_m180543381 (RecordProtocol_t3759049701 * __this, int32_t ___contentType0, Stream_t1273022909 * ___record1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RecordProtocol_ReadRecordBuffer_m180543381_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
int32_t L_0 = ___contentType0;
V_0 = L_0;
int32_t L_1 = V_0;
if ((((int32_t)L_1) == ((int32_t)((int32_t)128))))
{
goto IL_0012;
}
}
{
goto IL_001a;
}
IL_0012:
{
Stream_t1273022909 * L_2 = ___record1;
ByteU5BU5D_t4116647657* L_3 = RecordProtocol_ReadClientHelloV2_m4052496367(__this, L_2, /*hidden argument*/NULL);
return L_3;
}
IL_001a:
{
RuntimeTypeHandle_t3027515415 L_4 = { reinterpret_cast<intptr_t> (ContentType_t2602934270_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, L_4, /*hidden argument*/NULL);
int32_t L_6 = ___contentType0;
uint8_t L_7 = ((uint8_t)(((int32_t)((uint8_t)L_6))));
RuntimeObject * L_8 = Box(ContentType_t2602934270_il2cpp_TypeInfo_var, &L_7);
IL2CPP_RUNTIME_CLASS_INIT(Enum_t4135868527_il2cpp_TypeInfo_var);
bool L_9 = Enum_IsDefined_m1442314461(NULL /*static, unused*/, L_5, L_8, /*hidden argument*/NULL);
if (L_9)
{
goto IL_003d;
}
}
{
TlsException_t3534743363 * L_10 = (TlsException_t3534743363 *)il2cpp_codegen_object_new(TlsException_t3534743363_il2cpp_TypeInfo_var);
TlsException__ctor_m818940807(L_10, ((int32_t)50), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, NULL, RecordProtocol_ReadRecordBuffer_m180543381_RuntimeMethod_var);
}
IL_003d:
{
Stream_t1273022909 * L_11 = ___record1;
ByteU5BU5D_t4116647657* L_12 = RecordProtocol_ReadStandardRecordBuffer_m3738063864(__this, L_11, /*hidden argument*/NULL);
return L_12;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.RecordProtocol::ReadClientHelloV2(System.IO.Stream)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* RecordProtocol_ReadClientHelloV2_m4052496367 (RecordProtocol_t3759049701 * __this, Stream_t1273022909 * ___record0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RecordProtocol_ReadClientHelloV2_m4052496367_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
ByteU5BU5D_t4116647657* V_1 = NULL;
int32_t V_2 = 0;
int32_t V_3 = 0;
int32_t V_4 = 0;
int32_t V_5 = 0;
int32_t V_6 = 0;
int32_t V_7 = 0;
ByteU5BU5D_t4116647657* V_8 = NULL;
ByteU5BU5D_t4116647657* V_9 = NULL;
ByteU5BU5D_t4116647657* V_10 = NULL;
int32_t G_B8_0 = 0;
{
Stream_t1273022909 * L_0 = ___record0;
int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(15 /* System.Int32 System.IO.Stream::ReadByte() */, L_0);
V_0 = L_1;
Stream_t1273022909 * L_2 = ___record0;
bool L_3 = VirtFuncInvoker0< bool >::Invoke(6 /* System.Boolean System.IO.Stream::get_CanSeek() */, L_2);
if (!L_3)
{
goto IL_0023;
}
}
{
int32_t L_4 = V_0;
Stream_t1273022909 * L_5 = ___record0;
int64_t L_6 = VirtFuncInvoker0< int64_t >::Invoke(8 /* System.Int64 System.IO.Stream::get_Length() */, L_5);
if ((((int64_t)(((int64_t)((int64_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)))))) <= ((int64_t)L_6)))
{
goto IL_0023;
}
}
{
return (ByteU5BU5D_t4116647657*)NULL;
}
IL_0023:
{
int32_t L_7 = V_0;
ByteU5BU5D_t4116647657* L_8 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_7);
V_1 = L_8;
Stream_t1273022909 * L_9 = ___record0;
ByteU5BU5D_t4116647657* L_10 = V_1;
int32_t L_11 = V_0;
VirtFuncInvoker3< int32_t, ByteU5BU5D_t4116647657*, int32_t, int32_t >::Invoke(14 /* System.Int32 System.IO.Stream::Read(System.Byte[],System.Int32,System.Int32) */, L_9, L_10, 0, L_11);
ByteU5BU5D_t4116647657* L_12 = V_1;
int32_t L_13 = 0;
uint8_t L_14 = (L_12)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_13));
V_2 = L_14;
int32_t L_15 = V_2;
if ((((int32_t)L_15) == ((int32_t)1)))
{
goto IL_0047;
}
}
{
TlsException_t3534743363 * L_16 = (TlsException_t3534743363 *)il2cpp_codegen_object_new(TlsException_t3534743363_il2cpp_TypeInfo_var);
TlsException__ctor_m818940807(L_16, ((int32_t)50), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_16, NULL, RecordProtocol_ReadClientHelloV2_m4052496367_RuntimeMethod_var);
}
IL_0047:
{
ByteU5BU5D_t4116647657* L_17 = V_1;
int32_t L_18 = 1;
uint8_t L_19 = (L_17)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_18));
ByteU5BU5D_t4116647657* L_20 = V_1;
int32_t L_21 = 2;
uint8_t L_22 = (L_20)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_21));
V_3 = ((int32_t)((int32_t)((int32_t)((int32_t)L_19<<(int32_t)8))|(int32_t)L_22));
ByteU5BU5D_t4116647657* L_23 = V_1;
int32_t L_24 = 3;
uint8_t L_25 = (L_23)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_24));
ByteU5BU5D_t4116647657* L_26 = V_1;
int32_t L_27 = 4;
uint8_t L_28 = (L_26)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_27));
V_4 = ((int32_t)((int32_t)((int32_t)((int32_t)L_25<<(int32_t)8))|(int32_t)L_28));
ByteU5BU5D_t4116647657* L_29 = V_1;
int32_t L_30 = 5;
uint8_t L_31 = (L_29)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_30));
ByteU5BU5D_t4116647657* L_32 = V_1;
int32_t L_33 = 6;
uint8_t L_34 = (L_32)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_33));
V_5 = ((int32_t)((int32_t)((int32_t)((int32_t)L_31<<(int32_t)8))|(int32_t)L_34));
ByteU5BU5D_t4116647657* L_35 = V_1;
int32_t L_36 = 7;
uint8_t L_37 = (L_35)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_36));
ByteU5BU5D_t4116647657* L_38 = V_1;
int32_t L_39 = 8;
uint8_t L_40 = (L_38)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_39));
V_6 = ((int32_t)((int32_t)((int32_t)((int32_t)L_37<<(int32_t)8))|(int32_t)L_40));
int32_t L_41 = V_6;
if ((((int32_t)L_41) <= ((int32_t)((int32_t)32))))
{
goto IL_0082;
}
}
{
G_B8_0 = ((int32_t)32);
goto IL_0084;
}
IL_0082:
{
int32_t L_42 = V_6;
G_B8_0 = L_42;
}
IL_0084:
{
V_7 = G_B8_0;
int32_t L_43 = V_4;
ByteU5BU5D_t4116647657* L_44 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_43);
V_8 = L_44;
ByteU5BU5D_t4116647657* L_45 = V_1;
ByteU5BU5D_t4116647657* L_46 = V_8;
int32_t L_47 = V_4;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_45, ((int32_t)9), (RuntimeArray *)(RuntimeArray *)L_46, 0, L_47, /*hidden argument*/NULL);
int32_t L_48 = V_5;
ByteU5BU5D_t4116647657* L_49 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_48);
V_9 = L_49;
ByteU5BU5D_t4116647657* L_50 = V_1;
int32_t L_51 = V_4;
ByteU5BU5D_t4116647657* L_52 = V_9;
int32_t L_53 = V_5;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_50, ((int32_t)il2cpp_codegen_add((int32_t)((int32_t)9), (int32_t)L_51)), (RuntimeArray *)(RuntimeArray *)L_52, 0, L_53, /*hidden argument*/NULL);
int32_t L_54 = V_6;
ByteU5BU5D_t4116647657* L_55 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_54);
V_10 = L_55;
ByteU5BU5D_t4116647657* L_56 = V_1;
int32_t L_57 = V_4;
int32_t L_58 = V_5;
ByteU5BU5D_t4116647657* L_59 = V_10;
int32_t L_60 = V_6;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_56, ((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)9), (int32_t)L_57)), (int32_t)L_58)), (RuntimeArray *)(RuntimeArray *)L_59, 0, L_60, /*hidden argument*/NULL);
int32_t L_61 = V_6;
if ((((int32_t)L_61) < ((int32_t)((int32_t)16))))
{
goto IL_00ea;
}
}
{
int32_t L_62 = V_4;
if (!L_62)
{
goto IL_00ea;
}
}
{
int32_t L_63 = V_4;
if (!((int32_t)((int32_t)L_63%(int32_t)3)))
{
goto IL_00f2;
}
}
IL_00ea:
{
TlsException_t3534743363 * L_64 = (TlsException_t3534743363 *)il2cpp_codegen_object_new(TlsException_t3534743363_il2cpp_TypeInfo_var);
TlsException__ctor_m818940807(L_64, ((int32_t)50), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_64, NULL, RecordProtocol_ReadClientHelloV2_m4052496367_RuntimeMethod_var);
}
IL_00f2:
{
ByteU5BU5D_t4116647657* L_65 = V_9;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_65)->max_length))))) <= ((int32_t)0)))
{
goto IL_0109;
}
}
{
Context_t3971234707 * L_66 = __this->get_context_2();
ByteU5BU5D_t4116647657* L_67 = V_9;
Context_set_SessionId_m942328427(L_66, L_67, /*hidden argument*/NULL);
}
IL_0109:
{
Context_t3971234707 * L_68 = RecordProtocol_get_Context_m3273611300(__this, /*hidden argument*/NULL);
int32_t L_69 = V_3;
Context_ChangeProtocol_m2412635871(L_68, (((int16_t)((int16_t)L_69))), /*hidden argument*/NULL);
Context_t3971234707 * L_70 = RecordProtocol_get_Context_m3273611300(__this, /*hidden argument*/NULL);
int32_t L_71 = Context_get_SecurityProtocol_m3228286292(L_70, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_72 = V_8;
RecordProtocol_ProcessCipherSpecV2Buffer_m487045483(__this, L_71, L_72, /*hidden argument*/NULL);
Context_t3971234707 * L_73 = __this->get_context_2();
ByteU5BU5D_t4116647657* L_74 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)32));
Context_set_ClientRandom_m2974454575(L_73, L_74, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_75 = V_10;
ByteU5BU5D_t4116647657* L_76 = V_10;
int32_t L_77 = V_7;
Context_t3971234707 * L_78 = __this->get_context_2();
ByteU5BU5D_t4116647657* L_79 = Context_get_ClientRandom_m1437588520(L_78, /*hidden argument*/NULL);
int32_t L_80 = V_7;
int32_t L_81 = V_7;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_75, ((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_76)->max_length)))), (int32_t)L_77)), (RuntimeArray *)(RuntimeArray *)L_79, ((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)32), (int32_t)L_80)), L_81, /*hidden argument*/NULL);
Context_t3971234707 * L_82 = __this->get_context_2();
Context_set_LastHandshakeMsg_m1770618067(L_82, 1, /*hidden argument*/NULL);
Context_t3971234707 * L_83 = __this->get_context_2();
Context_set_ProtocolNegotiated_m2904861662(L_83, (bool)1, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_84 = V_1;
return L_84;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.RecordProtocol::ReadStandardRecordBuffer(System.IO.Stream)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* RecordProtocol_ReadStandardRecordBuffer_m3738063864 (RecordProtocol_t3759049701 * __this, Stream_t1273022909 * ___record0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RecordProtocol_ReadStandardRecordBuffer_m3738063864_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_t4116647657* V_0 = NULL;
int16_t V_1 = 0;
int16_t V_2 = 0;
int32_t V_3 = 0;
ByteU5BU5D_t4116647657* V_4 = NULL;
int32_t V_5 = 0;
{
ByteU5BU5D_t4116647657* L_0 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)4);
V_0 = L_0;
Stream_t1273022909 * L_1 = ___record0;
ByteU5BU5D_t4116647657* L_2 = V_0;
int32_t L_3 = VirtFuncInvoker3< int32_t, ByteU5BU5D_t4116647657*, int32_t, int32_t >::Invoke(14 /* System.Int32 System.IO.Stream::Read(System.Byte[],System.Int32,System.Int32) */, L_1, L_2, 0, 4);
if ((((int32_t)L_3) == ((int32_t)4)))
{
goto IL_0021;
}
}
{
TlsException_t3534743363 * L_4 = (TlsException_t3534743363 *)il2cpp_codegen_object_new(TlsException_t3534743363_il2cpp_TypeInfo_var);
TlsException__ctor_m3652817735(L_4, _stringLiteral2898472053, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, RecordProtocol_ReadStandardRecordBuffer_m3738063864_RuntimeMethod_var);
}
IL_0021:
{
ByteU5BU5D_t4116647657* L_5 = V_0;
int32_t L_6 = 0;
uint8_t L_7 = (L_5)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_6));
ByteU5BU5D_t4116647657* L_8 = V_0;
int32_t L_9 = 1;
uint8_t L_10 = (L_8)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_9));
V_1 = (((int16_t)((int16_t)((int32_t)((int32_t)((int32_t)((int32_t)L_7<<(int32_t)8))|(int32_t)L_10)))));
ByteU5BU5D_t4116647657* L_11 = V_0;
int32_t L_12 = 2;
uint8_t L_13 = (L_11)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12));
ByteU5BU5D_t4116647657* L_14 = V_0;
int32_t L_15 = 3;
uint8_t L_16 = (L_14)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_15));
V_2 = (((int16_t)((int16_t)((int32_t)((int32_t)((int32_t)((int32_t)L_13<<(int32_t)8))|(int32_t)L_16)))));
Stream_t1273022909 * L_17 = ___record0;
bool L_18 = VirtFuncInvoker0< bool >::Invoke(6 /* System.Boolean System.IO.Stream::get_CanSeek() */, L_17);
if (!L_18)
{
goto IL_0053;
}
}
{
int16_t L_19 = V_2;
Stream_t1273022909 * L_20 = ___record0;
int64_t L_21 = VirtFuncInvoker0< int64_t >::Invoke(8 /* System.Int64 System.IO.Stream::get_Length() */, L_20);
if ((((int64_t)(((int64_t)((int64_t)((int32_t)il2cpp_codegen_add((int32_t)L_19, (int32_t)5)))))) <= ((int64_t)L_21)))
{
goto IL_0053;
}
}
{
return (ByteU5BU5D_t4116647657*)NULL;
}
IL_0053:
{
V_3 = 0;
int16_t L_22 = V_2;
ByteU5BU5D_t4116647657* L_23 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_22);
V_4 = L_23;
goto IL_008b;
}
IL_0062:
{
Stream_t1273022909 * L_24 = ___record0;
ByteU5BU5D_t4116647657* L_25 = V_4;
int32_t L_26 = V_3;
ByteU5BU5D_t4116647657* L_27 = V_4;
int32_t L_28 = V_3;
int32_t L_29 = VirtFuncInvoker3< int32_t, ByteU5BU5D_t4116647657*, int32_t, int32_t >::Invoke(14 /* System.Int32 System.IO.Stream::Read(System.Byte[],System.Int32,System.Int32) */, L_24, L_25, L_26, ((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_27)->max_length)))), (int32_t)L_28)));
V_5 = L_29;
int32_t L_30 = V_5;
if (L_30)
{
goto IL_0086;
}
}
{
TlsException_t3534743363 * L_31 = (TlsException_t3534743363 *)il2cpp_codegen_object_new(TlsException_t3534743363_il2cpp_TypeInfo_var);
TlsException__ctor_m3242533711(L_31, 0, _stringLiteral951479879, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_31, NULL, RecordProtocol_ReadStandardRecordBuffer_m3738063864_RuntimeMethod_var);
}
IL_0086:
{
int32_t L_32 = V_3;
int32_t L_33 = V_5;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_32, (int32_t)L_33));
}
IL_008b:
{
int32_t L_34 = V_3;
int16_t L_35 = V_2;
if ((!(((uint32_t)L_34) == ((uint32_t)L_35))))
{
goto IL_0062;
}
}
{
int16_t L_36 = V_1;
Context_t3971234707 * L_37 = __this->get_context_2();
int16_t L_38 = Context_get_Protocol_m1078422015(L_37, /*hidden argument*/NULL);
if ((((int32_t)L_36) == ((int32_t)L_38)))
{
goto IL_00c0;
}
}
{
Context_t3971234707 * L_39 = __this->get_context_2();
bool L_40 = Context_get_ProtocolNegotiated_m4220412840(L_39, /*hidden argument*/NULL);
if (!L_40)
{
goto IL_00c0;
}
}
{
TlsException_t3534743363 * L_41 = (TlsException_t3534743363 *)il2cpp_codegen_object_new(TlsException_t3534743363_il2cpp_TypeInfo_var);
TlsException__ctor_m3242533711(L_41, ((int32_t)70), _stringLiteral3786540042, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_41, NULL, RecordProtocol_ReadStandardRecordBuffer_m3738063864_RuntimeMethod_var);
}
IL_00c0:
{
ByteU5BU5D_t4116647657* L_42 = V_4;
return L_42;
}
}
// System.Void Mono.Security.Protocol.Tls.RecordProtocol::ProcessAlert(Mono.Security.Protocol.Tls.AlertLevel,Mono.Security.Protocol.Tls.AlertDescription)
extern "C" IL2CPP_METHOD_ATTR void RecordProtocol_ProcessAlert_m1036912531 (RecordProtocol_t3759049701 * __this, uint8_t ___alertLevel0, uint8_t ___alertDesc1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RecordProtocol_ProcessAlert_m1036912531_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
uint8_t V_0 = 0;
uint8_t V_1 = 0;
{
uint8_t L_0 = ___alertLevel0;
V_0 = L_0;
uint8_t L_1 = V_0;
if ((((int32_t)L_1) == ((int32_t)1)))
{
goto IL_001d;
}
}
{
uint8_t L_2 = V_0;
if ((((int32_t)L_2) == ((int32_t)2)))
{
goto IL_0015;
}
}
{
goto IL_001d;
}
IL_0015:
{
uint8_t L_3 = ___alertLevel0;
uint8_t L_4 = ___alertDesc1;
TlsException_t3534743363 * L_5 = (TlsException_t3534743363 *)il2cpp_codegen_object_new(TlsException_t3534743363_il2cpp_TypeInfo_var);
TlsException__ctor_m596254082(L_5, L_3, L_4, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, RecordProtocol_ProcessAlert_m1036912531_RuntimeMethod_var);
}
IL_001d:
{
uint8_t L_6 = ___alertDesc1;
V_1 = L_6;
uint8_t L_7 = V_1;
if ((((int32_t)L_7) == ((int32_t)0)))
{
goto IL_002b;
}
}
{
goto IL_003c;
}
IL_002b:
{
Context_t3971234707 * L_8 = __this->get_context_2();
Context_set_ReceivedConnectionEnd_m911334662(L_8, (bool)1, /*hidden argument*/NULL);
goto IL_003c;
}
IL_003c:
{
goto IL_0041;
}
IL_0041:
{
return;
}
}
// System.Void Mono.Security.Protocol.Tls.RecordProtocol::SendAlert(Mono.Security.Protocol.Tls.AlertDescription)
extern "C" IL2CPP_METHOD_ATTR void RecordProtocol_SendAlert_m1931708341 (RecordProtocol_t3759049701 * __this, uint8_t ___description0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RecordProtocol_SendAlert_m1931708341_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
uint8_t L_0 = ___description0;
Alert_t4059934885 * L_1 = (Alert_t4059934885 *)il2cpp_codegen_object_new(Alert_t4059934885_il2cpp_TypeInfo_var);
Alert__ctor_m3135936936(L_1, L_0, /*hidden argument*/NULL);
RecordProtocol_SendAlert_m3736432480(__this, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.RecordProtocol::SendAlert(Mono.Security.Protocol.Tls.AlertLevel,Mono.Security.Protocol.Tls.AlertDescription)
extern "C" IL2CPP_METHOD_ATTR void RecordProtocol_SendAlert_m2670098001 (RecordProtocol_t3759049701 * __this, uint8_t ___level0, uint8_t ___description1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RecordProtocol_SendAlert_m2670098001_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
uint8_t L_0 = ___level0;
uint8_t L_1 = ___description1;
Alert_t4059934885 * L_2 = (Alert_t4059934885 *)il2cpp_codegen_object_new(Alert_t4059934885_il2cpp_TypeInfo_var);
Alert__ctor_m2879739792(L_2, L_0, L_1, /*hidden argument*/NULL);
RecordProtocol_SendAlert_m3736432480(__this, L_2, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.RecordProtocol::SendAlert(Mono.Security.Protocol.Tls.Alert)
extern "C" IL2CPP_METHOD_ATTR void RecordProtocol_SendAlert_m3736432480 (RecordProtocol_t3759049701 * __this, Alert_t4059934885 * ___alert0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RecordProtocol_SendAlert_m3736432480_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
uint8_t V_0 = 0;
uint8_t V_1 = 0;
bool V_2 = false;
{
Alert_t4059934885 * L_0 = ___alert0;
if (L_0)
{
goto IL_0012;
}
}
{
V_0 = 2;
V_1 = ((int32_t)80);
V_2 = (bool)1;
goto IL_0027;
}
IL_0012:
{
Alert_t4059934885 * L_1 = ___alert0;
uint8_t L_2 = Alert_get_Level_m4249630350(L_1, /*hidden argument*/NULL);
V_0 = L_2;
Alert_t4059934885 * L_3 = ___alert0;
uint8_t L_4 = Alert_get_Description_m3833114036(L_3, /*hidden argument*/NULL);
V_1 = L_4;
Alert_t4059934885 * L_5 = ___alert0;
bool L_6 = Alert_get_IsCloseNotify_m3157384796(L_5, /*hidden argument*/NULL);
V_2 = L_6;
}
IL_0027:
{
ByteU5BU5D_t4116647657* L_7 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)2);
ByteU5BU5D_t4116647657* L_8 = L_7;
uint8_t L_9 = V_0;
(L_8)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (uint8_t)L_9);
ByteU5BU5D_t4116647657* L_10 = L_8;
uint8_t L_11 = V_1;
(L_10)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (uint8_t)L_11);
RecordProtocol_SendRecord_m927045752(__this, ((int32_t)21), L_10, /*hidden argument*/NULL);
bool L_12 = V_2;
if (!L_12)
{
goto IL_004f;
}
}
{
Context_t3971234707 * L_13 = __this->get_context_2();
Context_set_SentConnectionEnd_m1367645582(L_13, (bool)1, /*hidden argument*/NULL);
}
IL_004f:
{
return;
}
}
// System.Void Mono.Security.Protocol.Tls.RecordProtocol::SendChangeCipherSpec()
extern "C" IL2CPP_METHOD_ATTR void RecordProtocol_SendChangeCipherSpec_m464005157 (RecordProtocol_t3759049701 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RecordProtocol_SendChangeCipherSpec_m464005157_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Context_t3971234707 * V_0 = NULL;
{
ByteU5BU5D_t4116647657* L_0 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)1);
ByteU5BU5D_t4116647657* L_1 = L_0;
(L_1)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (uint8_t)1);
RecordProtocol_SendRecord_m927045752(__this, ((int32_t)20), L_1, /*hidden argument*/NULL);
Context_t3971234707 * L_2 = __this->get_context_2();
V_0 = L_2;
Context_t3971234707 * L_3 = V_0;
Context_set_WriteSequenceNumber_m942577065(L_3, (((int64_t)((int64_t)0))), /*hidden argument*/NULL);
Context_t3971234707 * L_4 = V_0;
if (!((ClientContext_t2797401965 *)IsInstClass((RuntimeObject*)L_4, ClientContext_t2797401965_il2cpp_TypeInfo_var)))
{
goto IL_0038;
}
}
{
Context_t3971234707 * L_5 = V_0;
Context_StartSwitchingSecurityParameters_m28285865(L_5, (bool)1, /*hidden argument*/NULL);
goto IL_003f;
}
IL_0038:
{
Context_t3971234707 * L_6 = V_0;
Context_EndSwitchingSecurityParameters_m4148956166(L_6, (bool)0, /*hidden argument*/NULL);
}
IL_003f:
{
return;
}
}
// System.IAsyncResult Mono.Security.Protocol.Tls.RecordProtocol::BeginSendRecord(Mono.Security.Protocol.Tls.Handshake.HandshakeType,System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* RecordProtocol_BeginSendRecord_m615249746 (RecordProtocol_t3759049701 * __this, uint8_t ___handshakeType0, AsyncCallback_t3962456242 * ___callback1, RuntimeObject * ___state2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RecordProtocol_BeginSendRecord_m615249746_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
HandshakeMessage_t3696583168 * V_0 = NULL;
SendRecordAsyncResult_t3718352467 * V_1 = NULL;
{
uint8_t L_0 = ___handshakeType0;
HandshakeMessage_t3696583168 * L_1 = VirtFuncInvoker1< HandshakeMessage_t3696583168 *, uint8_t >::Invoke(7 /* Mono.Security.Protocol.Tls.Handshake.HandshakeMessage Mono.Security.Protocol.Tls.RecordProtocol::GetMessage(Mono.Security.Protocol.Tls.Handshake.HandshakeType) */, __this, L_0);
V_0 = L_1;
HandshakeMessage_t3696583168 * L_2 = V_0;
HandshakeMessage_Process_m810828609(L_2, /*hidden argument*/NULL);
AsyncCallback_t3962456242 * L_3 = ___callback1;
RuntimeObject * L_4 = ___state2;
HandshakeMessage_t3696583168 * L_5 = V_0;
SendRecordAsyncResult_t3718352467 * L_6 = (SendRecordAsyncResult_t3718352467 *)il2cpp_codegen_object_new(SendRecordAsyncResult_t3718352467_il2cpp_TypeInfo_var);
SendRecordAsyncResult__ctor_m425551707(L_6, L_3, L_4, L_5, /*hidden argument*/NULL);
V_1 = L_6;
HandshakeMessage_t3696583168 * L_7 = V_0;
uint8_t L_8 = HandshakeMessage_get_ContentType_m1693718190(L_7, /*hidden argument*/NULL);
HandshakeMessage_t3696583168 * L_9 = V_0;
ByteU5BU5D_t4116647657* L_10 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(27 /* System.Byte[] Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::EncodeMessage() */, L_9);
intptr_t L_11 = (intptr_t)RecordProtocol_InternalSendRecordCallback_m682661965_RuntimeMethod_var;
AsyncCallback_t3962456242 * L_12 = (AsyncCallback_t3962456242 *)il2cpp_codegen_object_new(AsyncCallback_t3962456242_il2cpp_TypeInfo_var);
AsyncCallback__ctor_m530647953(L_12, __this, L_11, /*hidden argument*/NULL);
SendRecordAsyncResult_t3718352467 * L_13 = V_1;
RecordProtocol_BeginSendRecord_m3926976520(__this, L_8, L_10, L_12, L_13, /*hidden argument*/NULL);
SendRecordAsyncResult_t3718352467 * L_14 = V_1;
return L_14;
}
}
// System.Void Mono.Security.Protocol.Tls.RecordProtocol::InternalSendRecordCallback(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void RecordProtocol_InternalSendRecordCallback_m682661965 (RecordProtocol_t3759049701 * __this, RuntimeObject* ___ar0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RecordProtocol_InternalSendRecordCallback_m682661965_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
SendRecordAsyncResult_t3718352467 * V_0 = NULL;
Exception_t * V_1 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject* L_0 = ___ar0;
RuntimeObject * L_1 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(0 /* System.Object System.IAsyncResult::get_AsyncState() */, IAsyncResult_t767004451_il2cpp_TypeInfo_var, L_0);
V_0 = ((SendRecordAsyncResult_t3718352467 *)IsInstClass((RuntimeObject*)L_1, SendRecordAsyncResult_t3718352467_il2cpp_TypeInfo_var));
}
IL_000c:
try
{ // begin try (depth: 1)
RuntimeObject* L_2 = ___ar0;
RecordProtocol_EndSendRecord_m4264777321(__this, L_2, /*hidden argument*/NULL);
SendRecordAsyncResult_t3718352467 * L_3 = V_0;
HandshakeMessage_t3696583168 * L_4 = SendRecordAsyncResult_get_Message_m1204240861(L_3, /*hidden argument*/NULL);
VirtActionInvoker0::Invoke(26 /* System.Void Mono.Security.Protocol.Tls.Handshake.HandshakeMessage::Update() */, L_4);
SendRecordAsyncResult_t3718352467 * L_5 = V_0;
HandshakeMessage_t3696583168 * L_6 = SendRecordAsyncResult_get_Message_m1204240861(L_5, /*hidden argument*/NULL);
TlsStream_Reset_m369197964(L_6, /*hidden argument*/NULL);
SendRecordAsyncResult_t3718352467 * L_7 = V_0;
SendRecordAsyncResult_SetComplete_m170417386(L_7, /*hidden argument*/NULL);
goto IL_0041;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (Exception_t_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0034;
throw e;
}
CATCH_0034:
{ // begin catch(System.Exception)
V_1 = ((Exception_t *)__exception_local);
SendRecordAsyncResult_t3718352467 * L_8 = V_0;
Exception_t * L_9 = V_1;
SendRecordAsyncResult_SetComplete_m153213906(L_8, L_9, /*hidden argument*/NULL);
goto IL_0041;
} // end catch (depth: 1)
IL_0041:
{
return;
}
}
// System.IAsyncResult Mono.Security.Protocol.Tls.RecordProtocol::BeginSendRecord(Mono.Security.Protocol.Tls.ContentType,System.Byte[],System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* RecordProtocol_BeginSendRecord_m3926976520 (RecordProtocol_t3759049701 * __this, uint8_t ___contentType0, ByteU5BU5D_t4116647657* ___recordData1, AsyncCallback_t3962456242 * ___callback2, RuntimeObject * ___state3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RecordProtocol_BeginSendRecord_m3926976520_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_t4116647657* V_0 = NULL;
{
Context_t3971234707 * L_0 = __this->get_context_2();
bool L_1 = Context_get_SentConnectionEnd_m963812869(L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_001d;
}
}
{
TlsException_t3534743363 * L_2 = (TlsException_t3534743363 *)il2cpp_codegen_object_new(TlsException_t3534743363_il2cpp_TypeInfo_var);
TlsException__ctor_m3242533711(L_2, ((int32_t)80), _stringLiteral1410188538, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, RecordProtocol_BeginSendRecord_m3926976520_RuntimeMethod_var);
}
IL_001d:
{
uint8_t L_3 = ___contentType0;
ByteU5BU5D_t4116647657* L_4 = ___recordData1;
ByteU5BU5D_t4116647657* L_5 = RecordProtocol_EncodeRecord_m164201598(__this, L_3, L_4, /*hidden argument*/NULL);
V_0 = L_5;
Stream_t1273022909 * L_6 = __this->get_innerStream_1();
ByteU5BU5D_t4116647657* L_7 = V_0;
ByteU5BU5D_t4116647657* L_8 = V_0;
AsyncCallback_t3962456242 * L_9 = ___callback2;
RuntimeObject * L_10 = ___state3;
RuntimeObject* L_11 = VirtFuncInvoker5< RuntimeObject*, ByteU5BU5D_t4116647657*, int32_t, int32_t, AsyncCallback_t3962456242 *, RuntimeObject * >::Invoke(21 /* System.IAsyncResult System.IO.Stream::BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object) */, L_6, L_7, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_8)->max_length)))), L_9, L_10);
return L_11;
}
}
// System.Void Mono.Security.Protocol.Tls.RecordProtocol::EndSendRecord(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void RecordProtocol_EndSendRecord_m4264777321 (RecordProtocol_t3759049701 * __this, RuntimeObject* ___asyncResult0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RecordProtocol_EndSendRecord_m4264777321_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
SendRecordAsyncResult_t3718352467 * V_0 = NULL;
{
RuntimeObject* L_0 = ___asyncResult0;
if (!((SendRecordAsyncResult_t3718352467 *)IsInstClass((RuntimeObject*)L_0, SendRecordAsyncResult_t3718352467_il2cpp_TypeInfo_var)))
{
goto IL_0040;
}
}
{
RuntimeObject* L_1 = ___asyncResult0;
V_0 = ((SendRecordAsyncResult_t3718352467 *)IsInstClass((RuntimeObject*)L_1, SendRecordAsyncResult_t3718352467_il2cpp_TypeInfo_var));
SendRecordAsyncResult_t3718352467 * L_2 = V_0;
bool L_3 = SendRecordAsyncResult_get_IsCompleted_m3929307031(L_2, /*hidden argument*/NULL);
if (L_3)
{
goto IL_0029;
}
}
{
SendRecordAsyncResult_t3718352467 * L_4 = V_0;
WaitHandle_t1743403487 * L_5 = SendRecordAsyncResult_get_AsyncWaitHandle_m1466641472(L_4, /*hidden argument*/NULL);
VirtFuncInvoker0< bool >::Invoke(10 /* System.Boolean System.Threading.WaitHandle::WaitOne() */, L_5);
}
IL_0029:
{
SendRecordAsyncResult_t3718352467 * L_6 = V_0;
bool L_7 = SendRecordAsyncResult_get_CompletedWithError_m3232037803(L_6, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_003b;
}
}
{
SendRecordAsyncResult_t3718352467 * L_8 = V_0;
Exception_t * L_9 = SendRecordAsyncResult_get_AsyncException_m3556917569(L_8, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_9, NULL, RecordProtocol_EndSendRecord_m4264777321_RuntimeMethod_var);
}
IL_003b:
{
goto IL_004c;
}
IL_0040:
{
Stream_t1273022909 * L_10 = __this->get_innerStream_1();
RuntimeObject* L_11 = ___asyncResult0;
VirtActionInvoker1< RuntimeObject* >::Invoke(23 /* System.Void System.IO.Stream::EndWrite(System.IAsyncResult) */, L_10, L_11);
}
IL_004c:
{
return;
}
}
// System.Void Mono.Security.Protocol.Tls.RecordProtocol::SendRecord(Mono.Security.Protocol.Tls.ContentType,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void RecordProtocol_SendRecord_m927045752 (RecordProtocol_t3759049701 * __this, uint8_t ___contentType0, ByteU5BU5D_t4116647657* ___recordData1, const RuntimeMethod* method)
{
RuntimeObject* V_0 = NULL;
{
uint8_t L_0 = ___contentType0;
ByteU5BU5D_t4116647657* L_1 = ___recordData1;
RuntimeObject* L_2 = RecordProtocol_BeginSendRecord_m3926976520(__this, L_0, L_1, (AsyncCallback_t3962456242 *)NULL, NULL, /*hidden argument*/NULL);
V_0 = L_2;
RuntimeObject* L_3 = V_0;
RecordProtocol_EndSendRecord_m4264777321(__this, L_3, /*hidden argument*/NULL);
return;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.RecordProtocol::EncodeRecord(Mono.Security.Protocol.Tls.ContentType,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* RecordProtocol_EncodeRecord_m164201598 (RecordProtocol_t3759049701 * __this, uint8_t ___contentType0, ByteU5BU5D_t4116647657* ___recordData1, const RuntimeMethod* method)
{
{
uint8_t L_0 = ___contentType0;
ByteU5BU5D_t4116647657* L_1 = ___recordData1;
ByteU5BU5D_t4116647657* L_2 = ___recordData1;
ByteU5BU5D_t4116647657* L_3 = RecordProtocol_EncodeRecord_m3312835762(__this, L_0, L_1, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_2)->max_length)))), /*hidden argument*/NULL);
return L_3;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.RecordProtocol::EncodeRecord(Mono.Security.Protocol.Tls.ContentType,System.Byte[],System.Int32,System.Int32)
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* RecordProtocol_EncodeRecord_m3312835762 (RecordProtocol_t3759049701 * __this, uint8_t ___contentType0, ByteU5BU5D_t4116647657* ___recordData1, int32_t ___offset2, int32_t ___count3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RecordProtocol_EncodeRecord_m3312835762_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TlsStream_t2365453965 * V_0 = NULL;
int32_t V_1 = 0;
int16_t V_2 = 0;
ByteU5BU5D_t4116647657* V_3 = NULL;
{
Context_t3971234707 * L_0 = __this->get_context_2();
bool L_1 = Context_get_SentConnectionEnd_m963812869(L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_001d;
}
}
{
TlsException_t3534743363 * L_2 = (TlsException_t3534743363 *)il2cpp_codegen_object_new(TlsException_t3534743363_il2cpp_TypeInfo_var);
TlsException__ctor_m3242533711(L_2, ((int32_t)80), _stringLiteral1410188538, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, RecordProtocol_EncodeRecord_m3312835762_RuntimeMethod_var);
}
IL_001d:
{
TlsStream_t2365453965 * L_3 = (TlsStream_t2365453965 *)il2cpp_codegen_object_new(TlsStream_t2365453965_il2cpp_TypeInfo_var);
TlsStream__ctor_m787793111(L_3, /*hidden argument*/NULL);
V_0 = L_3;
int32_t L_4 = ___offset2;
V_1 = L_4;
goto IL_00bb;
}
IL_002a:
{
V_2 = (int16_t)0;
int32_t L_5 = ___count3;
int32_t L_6 = ___offset2;
int32_t L_7 = V_1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)L_6)), (int32_t)L_7))) <= ((int32_t)((int32_t)16384))))
{
goto IL_0047;
}
}
{
V_2 = (int16_t)((int32_t)16384);
goto IL_004f;
}
IL_0047:
{
int32_t L_8 = ___count3;
int32_t L_9 = ___offset2;
int32_t L_10 = V_1;
V_2 = (((int16_t)((int16_t)((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9)), (int32_t)L_10)))));
}
IL_004f:
{
int16_t L_11 = V_2;
ByteU5BU5D_t4116647657* L_12 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_11);
V_3 = L_12;
ByteU5BU5D_t4116647657* L_13 = ___recordData1;
int32_t L_14 = V_1;
ByteU5BU5D_t4116647657* L_15 = V_3;
int16_t L_16 = V_2;
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_13, L_14, (RuntimeArray *)(RuntimeArray *)L_15, 0, L_16, /*hidden argument*/NULL);
Context_t3971234707 * L_17 = RecordProtocol_get_Context_m3273611300(__this, /*hidden argument*/NULL);
SecurityParameters_t2199972650 * L_18 = Context_get_Write_m1564343513(L_17, /*hidden argument*/NULL);
if (!L_18)
{
goto IL_008e;
}
}
{
Context_t3971234707 * L_19 = RecordProtocol_get_Context_m3273611300(__this, /*hidden argument*/NULL);
SecurityParameters_t2199972650 * L_20 = Context_get_Write_m1564343513(L_19, /*hidden argument*/NULL);
CipherSuite_t3414744575 * L_21 = SecurityParameters_get_Cipher_m108846204(L_20, /*hidden argument*/NULL);
if (!L_21)
{
goto IL_008e;
}
}
{
uint8_t L_22 = ___contentType0;
ByteU5BU5D_t4116647657* L_23 = V_3;
ByteU5BU5D_t4116647657* L_24 = RecordProtocol_encryptRecordFragment_m710101985(__this, L_22, L_23, /*hidden argument*/NULL);
V_3 = L_24;
}
IL_008e:
{
TlsStream_t2365453965 * L_25 = V_0;
uint8_t L_26 = ___contentType0;
TlsStream_Write_m4246040664(L_25, L_26, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_27 = V_0;
Context_t3971234707 * L_28 = __this->get_context_2();
int16_t L_29 = Context_get_Protocol_m1078422015(L_28, /*hidden argument*/NULL);
TlsStream_Write_m1412844442(L_27, L_29, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_30 = V_0;
ByteU5BU5D_t4116647657* L_31 = V_3;
TlsStream_Write_m1412844442(L_30, (((int16_t)((int16_t)(((int32_t)((int32_t)(((RuntimeArray *)L_31)->max_length))))))), /*hidden argument*/NULL);
TlsStream_t2365453965 * L_32 = V_0;
ByteU5BU5D_t4116647657* L_33 = V_3;
TlsStream_Write_m4133894341(L_32, L_33, /*hidden argument*/NULL);
int32_t L_34 = V_1;
int16_t L_35 = V_2;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_34, (int32_t)L_35));
}
IL_00bb:
{
int32_t L_36 = V_1;
int32_t L_37 = ___offset2;
int32_t L_38 = ___count3;
if ((((int32_t)L_36) < ((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_37, (int32_t)L_38)))))
{
goto IL_002a;
}
}
{
TlsStream_t2365453965 * L_39 = V_0;
ByteU5BU5D_t4116647657* L_40 = TlsStream_ToArray_m4177184296(L_39, /*hidden argument*/NULL);
return L_40;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.RecordProtocol::encryptRecordFragment(Mono.Security.Protocol.Tls.ContentType,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* RecordProtocol_encryptRecordFragment_m710101985 (RecordProtocol_t3759049701 * __this, uint8_t ___contentType0, ByteU5BU5D_t4116647657* ___fragment1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RecordProtocol_encryptRecordFragment_m710101985_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_t4116647657* V_0 = NULL;
ByteU5BU5D_t4116647657* V_1 = NULL;
{
V_0 = (ByteU5BU5D_t4116647657*)NULL;
Context_t3971234707 * L_0 = RecordProtocol_get_Context_m3273611300(__this, /*hidden argument*/NULL);
if (!((ClientContext_t2797401965 *)IsInstClass((RuntimeObject*)L_0, ClientContext_t2797401965_il2cpp_TypeInfo_var)))
{
goto IL_002f;
}
}
{
Context_t3971234707 * L_1 = __this->get_context_2();
SecurityParameters_t2199972650 * L_2 = Context_get_Write_m1564343513(L_1, /*hidden argument*/NULL);
CipherSuite_t3414744575 * L_3 = SecurityParameters_get_Cipher_m108846204(L_2, /*hidden argument*/NULL);
uint8_t L_4 = ___contentType0;
ByteU5BU5D_t4116647657* L_5 = ___fragment1;
ByteU5BU5D_t4116647657* L_6 = VirtFuncInvoker2< ByteU5BU5D_t4116647657*, uint8_t, ByteU5BU5D_t4116647657* >::Invoke(4 /* System.Byte[] Mono.Security.Protocol.Tls.CipherSuite::ComputeClientRecordMAC(Mono.Security.Protocol.Tls.ContentType,System.Byte[]) */, L_3, L_4, L_5);
V_0 = L_6;
goto IL_0047;
}
IL_002f:
{
Context_t3971234707 * L_7 = __this->get_context_2();
SecurityParameters_t2199972650 * L_8 = Context_get_Write_m1564343513(L_7, /*hidden argument*/NULL);
CipherSuite_t3414744575 * L_9 = SecurityParameters_get_Cipher_m108846204(L_8, /*hidden argument*/NULL);
uint8_t L_10 = ___contentType0;
ByteU5BU5D_t4116647657* L_11 = ___fragment1;
ByteU5BU5D_t4116647657* L_12 = VirtFuncInvoker2< ByteU5BU5D_t4116647657*, uint8_t, ByteU5BU5D_t4116647657* >::Invoke(5 /* System.Byte[] Mono.Security.Protocol.Tls.CipherSuite::ComputeServerRecordMAC(Mono.Security.Protocol.Tls.ContentType,System.Byte[]) */, L_9, L_10, L_11);
V_0 = L_12;
}
IL_0047:
{
Context_t3971234707 * L_13 = __this->get_context_2();
SecurityParameters_t2199972650 * L_14 = Context_get_Write_m1564343513(L_13, /*hidden argument*/NULL);
CipherSuite_t3414744575 * L_15 = SecurityParameters_get_Cipher_m108846204(L_14, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_16 = ___fragment1;
ByteU5BU5D_t4116647657* L_17 = V_0;
ByteU5BU5D_t4116647657* L_18 = CipherSuite_EncryptRecord_m4196378593(L_15, L_16, L_17, /*hidden argument*/NULL);
V_1 = L_18;
Context_t3971234707 * L_19 = __this->get_context_2();
Context_t3971234707 * L_20 = L_19;
uint64_t L_21 = Context_get_WriteSequenceNumber_m1115956887(L_20, /*hidden argument*/NULL);
Context_set_WriteSequenceNumber_m942577065(L_20, ((int64_t)il2cpp_codegen_add((int64_t)L_21, (int64_t)(((int64_t)((int64_t)1))))), /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_22 = V_1;
return L_22;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.RecordProtocol::decryptRecordFragment(Mono.Security.Protocol.Tls.ContentType,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* RecordProtocol_decryptRecordFragment_m66623237 (RecordProtocol_t3759049701 * __this, uint8_t ___contentType0, ByteU5BU5D_t4116647657* ___fragment1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RecordProtocol_decryptRecordFragment_m66623237_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_t4116647657* V_0 = NULL;
ByteU5BU5D_t4116647657* V_1 = NULL;
ByteU5BU5D_t4116647657* V_2 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
{
V_0 = (ByteU5BU5D_t4116647657*)NULL;
V_1 = (ByteU5BU5D_t4116647657*)NULL;
}
IL_0004:
try
{ // begin try (depth: 1)
Context_t3971234707 * L_0 = __this->get_context_2();
SecurityParameters_t2199972650 * L_1 = Context_get_Read_m4172356735(L_0, /*hidden argument*/NULL);
CipherSuite_t3414744575 * L_2 = SecurityParameters_get_Cipher_m108846204(L_1, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_3 = ___fragment1;
CipherSuite_DecryptRecord_m1495386860(L_2, L_3, (ByteU5BU5D_t4116647657**)(&V_0), (ByteU5BU5D_t4116647657**)(&V_1), /*hidden argument*/NULL);
goto IL_004d;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (RuntimeObject_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0023;
throw e;
}
CATCH_0023:
{ // begin catch(System.Object)
{
Context_t3971234707 * L_4 = __this->get_context_2();
if (!((ServerContext_t3848440993 *)IsInstClass((RuntimeObject*)L_4, ServerContext_t3848440993_il2cpp_TypeInfo_var)))
{
goto IL_0046;
}
}
IL_0034:
{
Context_t3971234707 * L_5 = RecordProtocol_get_Context_m3273611300(__this, /*hidden argument*/NULL);
RecordProtocol_t3759049701 * L_6 = Context_get_RecordProtocol_m2261754827(L_5, /*hidden argument*/NULL);
RecordProtocol_SendAlert_m1931708341(L_6, ((int32_t)21), /*hidden argument*/NULL);
}
IL_0046:
{
IL2CPP_RAISE_MANAGED_EXCEPTION(__exception_local, NULL, RecordProtocol_decryptRecordFragment_m66623237_RuntimeMethod_var);
}
IL_0048:
{
goto IL_004d;
}
} // end catch (depth: 1)
IL_004d:
{
V_2 = (ByteU5BU5D_t4116647657*)NULL;
Context_t3971234707 * L_7 = RecordProtocol_get_Context_m3273611300(__this, /*hidden argument*/NULL);
if (!((ClientContext_t2797401965 *)IsInstClass((RuntimeObject*)L_7, ClientContext_t2797401965_il2cpp_TypeInfo_var)))
{
goto IL_007c;
}
}
{
Context_t3971234707 * L_8 = __this->get_context_2();
SecurityParameters_t2199972650 * L_9 = Context_get_Read_m4172356735(L_8, /*hidden argument*/NULL);
CipherSuite_t3414744575 * L_10 = SecurityParameters_get_Cipher_m108846204(L_9, /*hidden argument*/NULL);
uint8_t L_11 = ___contentType0;
ByteU5BU5D_t4116647657* L_12 = V_0;
ByteU5BU5D_t4116647657* L_13 = VirtFuncInvoker2< ByteU5BU5D_t4116647657*, uint8_t, ByteU5BU5D_t4116647657* >::Invoke(5 /* System.Byte[] Mono.Security.Protocol.Tls.CipherSuite::ComputeServerRecordMAC(Mono.Security.Protocol.Tls.ContentType,System.Byte[]) */, L_10, L_11, L_12);
V_2 = L_13;
goto IL_0094;
}
IL_007c:
{
Context_t3971234707 * L_14 = __this->get_context_2();
SecurityParameters_t2199972650 * L_15 = Context_get_Read_m4172356735(L_14, /*hidden argument*/NULL);
CipherSuite_t3414744575 * L_16 = SecurityParameters_get_Cipher_m108846204(L_15, /*hidden argument*/NULL);
uint8_t L_17 = ___contentType0;
ByteU5BU5D_t4116647657* L_18 = V_0;
ByteU5BU5D_t4116647657* L_19 = VirtFuncInvoker2< ByteU5BU5D_t4116647657*, uint8_t, ByteU5BU5D_t4116647657* >::Invoke(4 /* System.Byte[] Mono.Security.Protocol.Tls.CipherSuite::ComputeClientRecordMAC(Mono.Security.Protocol.Tls.ContentType,System.Byte[]) */, L_16, L_17, L_18);
V_2 = L_19;
}
IL_0094:
{
ByteU5BU5D_t4116647657* L_20 = V_2;
ByteU5BU5D_t4116647657* L_21 = V_1;
bool L_22 = RecordProtocol_Compare_m4182754688(__this, L_20, L_21, /*hidden argument*/NULL);
if (L_22)
{
goto IL_00ae;
}
}
{
TlsException_t3534743363 * L_23 = (TlsException_t3534743363 *)il2cpp_codegen_object_new(TlsException_t3534743363_il2cpp_TypeInfo_var);
TlsException__ctor_m3242533711(L_23, ((int32_t)20), _stringLiteral3971508554, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_23, NULL, RecordProtocol_decryptRecordFragment_m66623237_RuntimeMethod_var);
}
IL_00ae:
{
Context_t3971234707 * L_24 = __this->get_context_2();
Context_t3971234707 * L_25 = L_24;
uint64_t L_26 = Context_get_ReadSequenceNumber_m3883329199(L_25, /*hidden argument*/NULL);
Context_set_ReadSequenceNumber_m2154909392(L_25, ((int64_t)il2cpp_codegen_add((int64_t)L_26, (int64_t)(((int64_t)((int64_t)1))))), /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_27 = V_0;
return L_27;
}
}
// System.Boolean Mono.Security.Protocol.Tls.RecordProtocol::Compare(System.Byte[],System.Byte[])
extern "C" IL2CPP_METHOD_ATTR bool RecordProtocol_Compare_m4182754688 (RecordProtocol_t3759049701 * __this, ByteU5BU5D_t4116647657* ___array10, ByteU5BU5D_t4116647657* ___array21, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
ByteU5BU5D_t4116647657* L_0 = ___array10;
if (L_0)
{
goto IL_000b;
}
}
{
ByteU5BU5D_t4116647657* L_1 = ___array21;
return (bool)((((RuntimeObject*)(ByteU5BU5D_t4116647657*)L_1) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
}
IL_000b:
{
ByteU5BU5D_t4116647657* L_2 = ___array21;
if (L_2)
{
goto IL_0013;
}
}
{
return (bool)0;
}
IL_0013:
{
ByteU5BU5D_t4116647657* L_3 = ___array10;
ByteU5BU5D_t4116647657* L_4 = ___array21;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length))))) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_4)->max_length)))))))
{
goto IL_0020;
}
}
{
return (bool)0;
}
IL_0020:
{
V_0 = 0;
goto IL_0038;
}
IL_0027:
{
ByteU5BU5D_t4116647657* L_5 = ___array10;
int32_t L_6 = V_0;
int32_t L_7 = L_6;
uint8_t L_8 = (L_5)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7));
ByteU5BU5D_t4116647657* L_9 = ___array21;
int32_t L_10 = V_0;
int32_t L_11 = L_10;
uint8_t L_12 = (L_9)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_11));
if ((((int32_t)L_8) == ((int32_t)L_12)))
{
goto IL_0034;
}
}
{
return (bool)0;
}
IL_0034:
{
int32_t L_13 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
}
IL_0038:
{
int32_t L_14 = V_0;
ByteU5BU5D_t4116647657* L_15 = ___array10;
if ((((int32_t)L_14) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_15)->max_length)))))))
{
goto IL_0027;
}
}
{
return (bool)1;
}
}
// System.Void Mono.Security.Protocol.Tls.RecordProtocol::ProcessCipherSpecV2Buffer(Mono.Security.Protocol.Tls.SecurityProtocolType,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void RecordProtocol_ProcessCipherSpecV2Buffer_m487045483 (RecordProtocol_t3759049701 * __this, int32_t ___protocol0, ByteU5BU5D_t4116647657* ___buffer1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RecordProtocol_ProcessCipherSpecV2Buffer_m487045483_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TlsStream_t2365453965 * V_0 = NULL;
String_t* V_1 = NULL;
uint8_t V_2 = 0x0;
int16_t V_3 = 0;
int32_t V_4 = 0;
ByteU5BU5D_t4116647657* V_5 = NULL;
int32_t V_6 = 0;
CipherSuite_t3414744575 * V_7 = NULL;
String_t* G_B3_0 = NULL;
{
ByteU5BU5D_t4116647657* L_0 = ___buffer1;
TlsStream_t2365453965 * L_1 = (TlsStream_t2365453965 *)il2cpp_codegen_object_new(TlsStream_t2365453965_il2cpp_TypeInfo_var);
TlsStream__ctor_m277557575(L_1, L_0, /*hidden argument*/NULL);
V_0 = L_1;
int32_t L_2 = ___protocol0;
if ((!(((uint32_t)L_2) == ((uint32_t)((int32_t)48)))))
{
goto IL_0019;
}
}
{
G_B3_0 = _stringLiteral1940067499;
goto IL_001e;
}
IL_0019:
{
G_B3_0 = _stringLiteral3149331255;
}
IL_001e:
{
V_1 = G_B3_0;
goto IL_00e2;
}
IL_0024:
{
TlsStream_t2365453965 * L_3 = V_0;
uint8_t L_4 = TlsStream_ReadByte_m3396126844(L_3, /*hidden argument*/NULL);
V_2 = L_4;
uint8_t L_5 = V_2;
if (L_5)
{
goto IL_007f;
}
}
{
TlsStream_t2365453965 * L_6 = V_0;
int16_t L_7 = TlsStream_ReadInt16_m1728211431(L_6, /*hidden argument*/NULL);
V_3 = L_7;
Context_t3971234707 * L_8 = RecordProtocol_get_Context_m3273611300(__this, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_9 = Context_get_SupportedCiphers_m1883682196(L_8, /*hidden argument*/NULL);
int16_t L_10 = V_3;
int32_t L_11 = CipherSuiteCollection_IndexOf_m2770510321(L_9, L_10, /*hidden argument*/NULL);
V_4 = L_11;
int32_t L_12 = V_4;
if ((((int32_t)L_12) == ((int32_t)(-1))))
{
goto IL_007a;
}
}
{
Context_t3971234707 * L_13 = RecordProtocol_get_Context_m3273611300(__this, /*hidden argument*/NULL);
SecurityParameters_t2199972650 * L_14 = Context_get_Negotiating_m2044579817(L_13, /*hidden argument*/NULL);
Context_t3971234707 * L_15 = RecordProtocol_get_Context_m3273611300(__this, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_16 = Context_get_SupportedCiphers_m1883682196(L_15, /*hidden argument*/NULL);
int32_t L_17 = V_4;
CipherSuite_t3414744575 * L_18 = CipherSuiteCollection_get_Item_m4188309062(L_16, L_17, /*hidden argument*/NULL);
SecurityParameters_set_Cipher_m588445085(L_14, L_18, /*hidden argument*/NULL);
goto IL_00f3;
}
IL_007a:
{
goto IL_00e2;
}
IL_007f:
{
ByteU5BU5D_t4116647657* L_19 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)2);
V_5 = L_19;
TlsStream_t2365453965 * L_20 = V_0;
ByteU5BU5D_t4116647657* L_21 = V_5;
ByteU5BU5D_t4116647657* L_22 = V_5;
VirtFuncInvoker3< int32_t, ByteU5BU5D_t4116647657*, int32_t, int32_t >::Invoke(14 /* System.Int32 Mono.Security.Protocol.Tls.TlsStream::Read(System.Byte[],System.Int32,System.Int32) */, L_20, L_21, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_22)->max_length)))));
uint8_t L_23 = V_2;
ByteU5BU5D_t4116647657* L_24 = V_5;
int32_t L_25 = 0;
uint8_t L_26 = (L_24)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_25));
ByteU5BU5D_t4116647657* L_27 = V_5;
int32_t L_28 = 1;
uint8_t L_29 = (L_27)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_28));
V_6 = ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_23&(int32_t)((int32_t)255)))<<(int32_t)((int32_t)16)))|(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_26&(int32_t)((int32_t)255)))<<(int32_t)8))))|(int32_t)((int32_t)((int32_t)L_29&(int32_t)((int32_t)255)))));
String_t* L_30 = V_1;
int32_t L_31 = V_6;
CipherSuite_t3414744575 * L_32 = RecordProtocol_MapV2CipherCode_m4087331414(__this, L_30, L_31, /*hidden argument*/NULL);
V_7 = L_32;
CipherSuite_t3414744575 * L_33 = V_7;
if (!L_33)
{
goto IL_00e2;
}
}
{
Context_t3971234707 * L_34 = RecordProtocol_get_Context_m3273611300(__this, /*hidden argument*/NULL);
SecurityParameters_t2199972650 * L_35 = Context_get_Negotiating_m2044579817(L_34, /*hidden argument*/NULL);
CipherSuite_t3414744575 * L_36 = V_7;
SecurityParameters_set_Cipher_m588445085(L_35, L_36, /*hidden argument*/NULL);
goto IL_00f3;
}
IL_00e2:
{
TlsStream_t2365453965 * L_37 = V_0;
int64_t L_38 = VirtFuncInvoker0< int64_t >::Invoke(9 /* System.Int64 Mono.Security.Protocol.Tls.TlsStream::get_Position() */, L_37);
TlsStream_t2365453965 * L_39 = V_0;
int64_t L_40 = VirtFuncInvoker0< int64_t >::Invoke(8 /* System.Int64 Mono.Security.Protocol.Tls.TlsStream::get_Length() */, L_39);
if ((((int64_t)L_38) < ((int64_t)L_40)))
{
goto IL_0024;
}
}
IL_00f3:
{
Context_t3971234707 * L_41 = RecordProtocol_get_Context_m3273611300(__this, /*hidden argument*/NULL);
SecurityParameters_t2199972650 * L_42 = Context_get_Negotiating_m2044579817(L_41, /*hidden argument*/NULL);
if (L_42)
{
goto IL_0110;
}
}
{
TlsException_t3534743363 * L_43 = (TlsException_t3534743363 *)il2cpp_codegen_object_new(TlsException_t3534743363_il2cpp_TypeInfo_var);
TlsException__ctor_m3242533711(L_43, ((int32_t)71), _stringLiteral82125824, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_43, NULL, RecordProtocol_ProcessCipherSpecV2Buffer_m487045483_RuntimeMethod_var);
}
IL_0110:
{
return;
}
}
// Mono.Security.Protocol.Tls.CipherSuite Mono.Security.Protocol.Tls.RecordProtocol::MapV2CipherCode(System.String,System.Int32)
extern "C" IL2CPP_METHOD_ATTR CipherSuite_t3414744575 * RecordProtocol_MapV2CipherCode_m4087331414 (RecordProtocol_t3759049701 * __this, String_t* ___prefix0, int32_t ___code1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RecordProtocol_MapV2CipherCode_m4087331414_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
CipherSuite_t3414744575 * V_1 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
IL_0000:
try
{ // begin try (depth: 1)
{
int32_t L_0 = ___code1;
V_0 = L_0;
int32_t L_1 = V_0;
if ((((int32_t)L_1) == ((int32_t)((int32_t)65664))))
{
goto IL_0054;
}
}
IL_000d:
{
int32_t L_2 = V_0;
if ((((int32_t)L_2) == ((int32_t)((int32_t)131200))))
{
goto IL_0075;
}
}
IL_0018:
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) == ((int32_t)((int32_t)196736))))
{
goto IL_0096;
}
}
IL_0023:
{
int32_t L_4 = V_0;
if ((((int32_t)L_4) == ((int32_t)((int32_t)262272))))
{
goto IL_00b7;
}
}
IL_002e:
{
int32_t L_5 = V_0;
if ((((int32_t)L_5) == ((int32_t)((int32_t)327808))))
{
goto IL_00d8;
}
}
IL_0039:
{
int32_t L_6 = V_0;
if ((((int32_t)L_6) == ((int32_t)((int32_t)393280))))
{
goto IL_00df;
}
}
IL_0044:
{
int32_t L_7 = V_0;
if ((((int32_t)L_7) == ((int32_t)((int32_t)458944))))
{
goto IL_00e6;
}
}
IL_004f:
{
goto IL_00ed;
}
IL_0054:
{
Context_t3971234707 * L_8 = RecordProtocol_get_Context_m3273611300(__this, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_9 = Context_get_SupportedCiphers_m1883682196(L_8, /*hidden argument*/NULL);
String_t* L_10 = ___prefix0;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_11 = String_Concat_m3937257545(NULL /*static, unused*/, L_10, _stringLiteral151588389, /*hidden argument*/NULL);
CipherSuite_t3414744575 * L_12 = CipherSuiteCollection_get_Item_m2791953484(L_9, L_11, /*hidden argument*/NULL);
V_1 = L_12;
goto IL_0106;
}
IL_0075:
{
Context_t3971234707 * L_13 = RecordProtocol_get_Context_m3273611300(__this, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_14 = Context_get_SupportedCiphers_m1883682196(L_13, /*hidden argument*/NULL);
String_t* L_15 = ___prefix0;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_16 = String_Concat_m3937257545(NULL /*static, unused*/, L_15, _stringLiteral1565675654, /*hidden argument*/NULL);
CipherSuite_t3414744575 * L_17 = CipherSuiteCollection_get_Item_m2791953484(L_14, L_16, /*hidden argument*/NULL);
V_1 = L_17;
goto IL_0106;
}
IL_0096:
{
Context_t3971234707 * L_18 = RecordProtocol_get_Context_m3273611300(__this, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_19 = Context_get_SupportedCiphers_m1883682196(L_18, /*hidden argument*/NULL);
String_t* L_20 = ___prefix0;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_21 = String_Concat_m3937257545(NULL /*static, unused*/, L_20, _stringLiteral243541289, /*hidden argument*/NULL);
CipherSuite_t3414744575 * L_22 = CipherSuiteCollection_get_Item_m2791953484(L_19, L_21, /*hidden argument*/NULL);
V_1 = L_22;
goto IL_0106;
}
IL_00b7:
{
Context_t3971234707 * L_23 = RecordProtocol_get_Context_m3273611300(__this, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_24 = Context_get_SupportedCiphers_m1883682196(L_23, /*hidden argument*/NULL);
String_t* L_25 = ___prefix0;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_26 = String_Concat_m3937257545(NULL /*static, unused*/, L_25, _stringLiteral243541289, /*hidden argument*/NULL);
CipherSuite_t3414744575 * L_27 = CipherSuiteCollection_get_Item_m2791953484(L_24, L_26, /*hidden argument*/NULL);
V_1 = L_27;
goto IL_0106;
}
IL_00d8:
{
V_1 = (CipherSuite_t3414744575 *)NULL;
goto IL_0106;
}
IL_00df:
{
V_1 = (CipherSuite_t3414744575 *)NULL;
goto IL_0106;
}
IL_00e6:
{
V_1 = (CipherSuite_t3414744575 *)NULL;
goto IL_0106;
}
IL_00ed:
{
V_1 = (CipherSuite_t3414744575 *)NULL;
goto IL_0106;
}
IL_00f4:
{
; // IL_00f4: leave IL_0106
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (RuntimeObject_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_00f9;
throw e;
}
CATCH_00f9:
{ // begin catch(System.Object)
{
V_1 = (CipherSuite_t3414744575 *)NULL;
goto IL_0106;
}
IL_0101:
{
; // IL_0101: leave IL_0106
}
} // end catch (depth: 1)
IL_0106:
{
CipherSuite_t3414744575 * L_28 = V_1;
return L_28;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::.ctor(System.AsyncCallback,System.Object,System.Byte[],System.IO.Stream)
extern "C" IL2CPP_METHOD_ATTR void ReceiveRecordAsyncResult__ctor_m277637112 (ReceiveRecordAsyncResult_t3680907657 * __this, AsyncCallback_t3962456242 * ___userCallback0, RuntimeObject * ___userState1, ByteU5BU5D_t4116647657* ___initialBuffer2, Stream_t1273022909 * ___record3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ReceiveRecordAsyncResult__ctor_m277637112_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RuntimeObject * L_0 = (RuntimeObject *)il2cpp_codegen_object_new(RuntimeObject_il2cpp_TypeInfo_var);
Object__ctor_m297566312(L_0, /*hidden argument*/NULL);
__this->set_locker_0(L_0);
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
AsyncCallback_t3962456242 * L_1 = ___userCallback0;
__this->set__userCallback_1(L_1);
RuntimeObject * L_2 = ___userState1;
__this->set__userState_2(L_2);
ByteU5BU5D_t4116647657* L_3 = ___initialBuffer2;
__this->set__initialBuffer_8(L_3);
Stream_t1273022909 * L_4 = ___record3;
__this->set__record_6(L_4);
return;
}
}
// System.IO.Stream Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::get_Record()
extern "C" IL2CPP_METHOD_ATTR Stream_t1273022909 * ReceiveRecordAsyncResult_get_Record_m223479150 (ReceiveRecordAsyncResult_t3680907657 * __this, const RuntimeMethod* method)
{
{
Stream_t1273022909 * L_0 = __this->get__record_6();
return L_0;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::get_ResultingBuffer()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* ReceiveRecordAsyncResult_get_ResultingBuffer_m1839161335 (ReceiveRecordAsyncResult_t3680907657 * __this, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = __this->get__resultingBuffer_5();
return L_0;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::get_InitialBuffer()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* ReceiveRecordAsyncResult_get_InitialBuffer_m2924495696 (ReceiveRecordAsyncResult_t3680907657 * __this, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = __this->get__initialBuffer_8();
return L_0;
}
}
// System.Object Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::get_AsyncState()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * ReceiveRecordAsyncResult_get_AsyncState_m431861941 (ReceiveRecordAsyncResult_t3680907657 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->get__userState_2();
return L_0;
}
}
// System.Exception Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::get_AsyncException()
extern "C" IL2CPP_METHOD_ATTR Exception_t * ReceiveRecordAsyncResult_get_AsyncException_m631453737 (ReceiveRecordAsyncResult_t3680907657 * __this, const RuntimeMethod* method)
{
{
Exception_t * L_0 = __this->get__asyncException_3();
return L_0;
}
}
// System.Boolean Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::get_CompletedWithError()
extern "C" IL2CPP_METHOD_ATTR bool ReceiveRecordAsyncResult_get_CompletedWithError_m2856009536 (ReceiveRecordAsyncResult_t3680907657 * __this, const RuntimeMethod* method)
{
{
bool L_0 = ReceiveRecordAsyncResult_get_IsCompleted_m1918259948(__this, /*hidden argument*/NULL);
if (L_0)
{
goto IL_000d;
}
}
{
return (bool)0;
}
IL_000d:
{
Exception_t * L_1 = __this->get__asyncException_3();
return (bool)((((int32_t)((((RuntimeObject*)(RuntimeObject *)NULL) == ((RuntimeObject*)(Exception_t *)L_1))? 1 : 0)) == ((int32_t)0))? 1 : 0);
}
}
// System.Threading.WaitHandle Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::get_AsyncWaitHandle()
extern "C" IL2CPP_METHOD_ATTR WaitHandle_t1743403487 * ReceiveRecordAsyncResult_get_AsyncWaitHandle_m1781023438 (ReceiveRecordAsyncResult_t3680907657 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ReceiveRecordAsyncResult_get_AsyncWaitHandle_m1781023438_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject * V_0 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = __this->get_locker_0();
V_0 = L_0;
RuntimeObject * L_1 = V_0;
Monitor_Enter_m2249409497(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
}
IL_000d:
try
{ // begin try (depth: 1)
{
ManualResetEvent_t451242010 * L_2 = __this->get_handle_4();
if (L_2)
{
goto IL_0029;
}
}
IL_0018:
{
bool L_3 = __this->get_completed_7();
ManualResetEvent_t451242010 * L_4 = (ManualResetEvent_t451242010 *)il2cpp_codegen_object_new(ManualResetEvent_t451242010_il2cpp_TypeInfo_var);
ManualResetEvent__ctor_m4010886457(L_4, L_3, /*hidden argument*/NULL);
__this->set_handle_4(L_4);
}
IL_0029:
{
IL2CPP_LEAVE(0x35, FINALLY_002e);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_002e;
}
FINALLY_002e:
{ // begin finally (depth: 1)
RuntimeObject * L_5 = V_0;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_5, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(46)
} // end finally (depth: 1)
IL2CPP_CLEANUP(46)
{
IL2CPP_JUMP_TBL(0x35, IL_0035)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0035:
{
ManualResetEvent_t451242010 * L_6 = __this->get_handle_4();
return L_6;
}
}
// System.Boolean Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::get_IsCompleted()
extern "C" IL2CPP_METHOD_ATTR bool ReceiveRecordAsyncResult_get_IsCompleted_m1918259948 (ReceiveRecordAsyncResult_t3680907657 * __this, const RuntimeMethod* method)
{
RuntimeObject * V_0 = NULL;
bool V_1 = false;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = __this->get_locker_0();
V_0 = L_0;
RuntimeObject * L_1 = V_0;
Monitor_Enter_m2249409497(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
}
IL_000d:
try
{ // begin try (depth: 1)
{
bool L_2 = __this->get_completed_7();
V_1 = L_2;
IL2CPP_LEAVE(0x25, FINALLY_001e);
}
IL_0019:
{
; // IL_0019: leave IL_0025
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_001e;
}
FINALLY_001e:
{ // begin finally (depth: 1)
RuntimeObject * L_3 = V_0;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_3, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(30)
} // end finally (depth: 1)
IL2CPP_CLEANUP(30)
{
IL2CPP_JUMP_TBL(0x25, IL_0025)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0025:
{
bool L_4 = V_1;
return L_4;
}
}
// System.Void Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::SetComplete(System.Exception,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void ReceiveRecordAsyncResult_SetComplete_m1372905673 (ReceiveRecordAsyncResult_t3680907657 * __this, Exception_t * ___ex0, ByteU5BU5D_t4116647657* ___resultingBuffer1, const RuntimeMethod* method)
{
RuntimeObject * V_0 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = __this->get_locker_0();
V_0 = L_0;
RuntimeObject * L_1 = V_0;
Monitor_Enter_m2249409497(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
}
IL_000d:
try
{ // begin try (depth: 1)
{
bool L_2 = __this->get_completed_7();
if (!L_2)
{
goto IL_001d;
}
}
IL_0018:
{
IL2CPP_LEAVE(0x6F, FINALLY_0068);
}
IL_001d:
{
__this->set_completed_7((bool)1);
Exception_t * L_3 = ___ex0;
__this->set__asyncException_3(L_3);
ByteU5BU5D_t4116647657* L_4 = ___resultingBuffer1;
__this->set__resultingBuffer_5(L_4);
ManualResetEvent_t451242010 * L_5 = __this->get_handle_4();
if (!L_5)
{
goto IL_0049;
}
}
IL_003d:
{
ManualResetEvent_t451242010 * L_6 = __this->get_handle_4();
EventWaitHandle_Set_m2445193251(L_6, /*hidden argument*/NULL);
}
IL_0049:
{
AsyncCallback_t3962456242 * L_7 = __this->get__userCallback_1();
if (!L_7)
{
goto IL_0063;
}
}
IL_0054:
{
AsyncCallback_t3962456242 * L_8 = __this->get__userCallback_1();
AsyncCallback_BeginInvoke_m2710486612(L_8, __this, (AsyncCallback_t3962456242 *)NULL, NULL, /*hidden argument*/NULL);
}
IL_0063:
{
IL2CPP_LEAVE(0x6F, FINALLY_0068);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0068;
}
FINALLY_0068:
{ // begin finally (depth: 1)
RuntimeObject * L_9 = V_0;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_9, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(104)
} // end finally (depth: 1)
IL2CPP_CLEANUP(104)
{
IL2CPP_JUMP_TBL(0x6F, IL_006f)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_006f:
{
return;
}
}
// System.Void Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::SetComplete(System.Exception)
extern "C" IL2CPP_METHOD_ATTR void ReceiveRecordAsyncResult_SetComplete_m1568733499 (ReceiveRecordAsyncResult_t3680907657 * __this, Exception_t * ___ex0, const RuntimeMethod* method)
{
{
Exception_t * L_0 = ___ex0;
ReceiveRecordAsyncResult_SetComplete_m1372905673(__this, L_0, (ByteU5BU5D_t4116647657*)(ByteU5BU5D_t4116647657*)NULL, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.RecordProtocol/ReceiveRecordAsyncResult::SetComplete(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void ReceiveRecordAsyncResult_SetComplete_m464469214 (ReceiveRecordAsyncResult_t3680907657 * __this, ByteU5BU5D_t4116647657* ___resultingBuffer0, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = ___resultingBuffer0;
ReceiveRecordAsyncResult_SetComplete_m1372905673(__this, (Exception_t *)NULL, L_0, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.RecordProtocol/SendRecordAsyncResult::.ctor(System.AsyncCallback,System.Object,Mono.Security.Protocol.Tls.Handshake.HandshakeMessage)
extern "C" IL2CPP_METHOD_ATTR void SendRecordAsyncResult__ctor_m425551707 (SendRecordAsyncResult_t3718352467 * __this, AsyncCallback_t3962456242 * ___userCallback0, RuntimeObject * ___userState1, HandshakeMessage_t3696583168 * ___message2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SendRecordAsyncResult__ctor_m425551707_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RuntimeObject * L_0 = (RuntimeObject *)il2cpp_codegen_object_new(RuntimeObject_il2cpp_TypeInfo_var);
Object__ctor_m297566312(L_0, /*hidden argument*/NULL);
__this->set_locker_0(L_0);
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
AsyncCallback_t3962456242 * L_1 = ___userCallback0;
__this->set__userCallback_1(L_1);
RuntimeObject * L_2 = ___userState1;
__this->set__userState_2(L_2);
HandshakeMessage_t3696583168 * L_3 = ___message2;
__this->set__message_5(L_3);
return;
}
}
// Mono.Security.Protocol.Tls.Handshake.HandshakeMessage Mono.Security.Protocol.Tls.RecordProtocol/SendRecordAsyncResult::get_Message()
extern "C" IL2CPP_METHOD_ATTR HandshakeMessage_t3696583168 * SendRecordAsyncResult_get_Message_m1204240861 (SendRecordAsyncResult_t3718352467 * __this, const RuntimeMethod* method)
{
{
HandshakeMessage_t3696583168 * L_0 = __this->get__message_5();
return L_0;
}
}
// System.Object Mono.Security.Protocol.Tls.RecordProtocol/SendRecordAsyncResult::get_AsyncState()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * SendRecordAsyncResult_get_AsyncState_m4196194494 (SendRecordAsyncResult_t3718352467 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->get__userState_2();
return L_0;
}
}
// System.Exception Mono.Security.Protocol.Tls.RecordProtocol/SendRecordAsyncResult::get_AsyncException()
extern "C" IL2CPP_METHOD_ATTR Exception_t * SendRecordAsyncResult_get_AsyncException_m3556917569 (SendRecordAsyncResult_t3718352467 * __this, const RuntimeMethod* method)
{
{
Exception_t * L_0 = __this->get__asyncException_3();
return L_0;
}
}
// System.Boolean Mono.Security.Protocol.Tls.RecordProtocol/SendRecordAsyncResult::get_CompletedWithError()
extern "C" IL2CPP_METHOD_ATTR bool SendRecordAsyncResult_get_CompletedWithError_m3232037803 (SendRecordAsyncResult_t3718352467 * __this, const RuntimeMethod* method)
{
{
bool L_0 = SendRecordAsyncResult_get_IsCompleted_m3929307031(__this, /*hidden argument*/NULL);
if (L_0)
{
goto IL_000d;
}
}
{
return (bool)0;
}
IL_000d:
{
Exception_t * L_1 = __this->get__asyncException_3();
return (bool)((((int32_t)((((RuntimeObject*)(RuntimeObject *)NULL) == ((RuntimeObject*)(Exception_t *)L_1))? 1 : 0)) == ((int32_t)0))? 1 : 0);
}
}
// System.Threading.WaitHandle Mono.Security.Protocol.Tls.RecordProtocol/SendRecordAsyncResult::get_AsyncWaitHandle()
extern "C" IL2CPP_METHOD_ATTR WaitHandle_t1743403487 * SendRecordAsyncResult_get_AsyncWaitHandle_m1466641472 (SendRecordAsyncResult_t3718352467 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SendRecordAsyncResult_get_AsyncWaitHandle_m1466641472_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject * V_0 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = __this->get_locker_0();
V_0 = L_0;
RuntimeObject * L_1 = V_0;
Monitor_Enter_m2249409497(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
}
IL_000d:
try
{ // begin try (depth: 1)
{
ManualResetEvent_t451242010 * L_2 = __this->get_handle_4();
if (L_2)
{
goto IL_0029;
}
}
IL_0018:
{
bool L_3 = __this->get_completed_6();
ManualResetEvent_t451242010 * L_4 = (ManualResetEvent_t451242010 *)il2cpp_codegen_object_new(ManualResetEvent_t451242010_il2cpp_TypeInfo_var);
ManualResetEvent__ctor_m4010886457(L_4, L_3, /*hidden argument*/NULL);
__this->set_handle_4(L_4);
}
IL_0029:
{
IL2CPP_LEAVE(0x35, FINALLY_002e);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_002e;
}
FINALLY_002e:
{ // begin finally (depth: 1)
RuntimeObject * L_5 = V_0;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_5, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(46)
} // end finally (depth: 1)
IL2CPP_CLEANUP(46)
{
IL2CPP_JUMP_TBL(0x35, IL_0035)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0035:
{
ManualResetEvent_t451242010 * L_6 = __this->get_handle_4();
return L_6;
}
}
// System.Boolean Mono.Security.Protocol.Tls.RecordProtocol/SendRecordAsyncResult::get_IsCompleted()
extern "C" IL2CPP_METHOD_ATTR bool SendRecordAsyncResult_get_IsCompleted_m3929307031 (SendRecordAsyncResult_t3718352467 * __this, const RuntimeMethod* method)
{
RuntimeObject * V_0 = NULL;
bool V_1 = false;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = __this->get_locker_0();
V_0 = L_0;
RuntimeObject * L_1 = V_0;
Monitor_Enter_m2249409497(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
}
IL_000d:
try
{ // begin try (depth: 1)
{
bool L_2 = __this->get_completed_6();
V_1 = L_2;
IL2CPP_LEAVE(0x25, FINALLY_001e);
}
IL_0019:
{
; // IL_0019: leave IL_0025
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_001e;
}
FINALLY_001e:
{ // begin finally (depth: 1)
RuntimeObject * L_3 = V_0;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_3, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(30)
} // end finally (depth: 1)
IL2CPP_CLEANUP(30)
{
IL2CPP_JUMP_TBL(0x25, IL_0025)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0025:
{
bool L_4 = V_1;
return L_4;
}
}
// System.Void Mono.Security.Protocol.Tls.RecordProtocol/SendRecordAsyncResult::SetComplete(System.Exception)
extern "C" IL2CPP_METHOD_ATTR void SendRecordAsyncResult_SetComplete_m153213906 (SendRecordAsyncResult_t3718352467 * __this, Exception_t * ___ex0, const RuntimeMethod* method)
{
RuntimeObject * V_0 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = __this->get_locker_0();
V_0 = L_0;
RuntimeObject * L_1 = V_0;
Monitor_Enter_m2249409497(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
}
IL_000d:
try
{ // begin try (depth: 1)
{
bool L_2 = __this->get_completed_6();
if (!L_2)
{
goto IL_001d;
}
}
IL_0018:
{
IL2CPP_LEAVE(0x68, FINALLY_0061);
}
IL_001d:
{
__this->set_completed_6((bool)1);
ManualResetEvent_t451242010 * L_3 = __this->get_handle_4();
if (!L_3)
{
goto IL_003b;
}
}
IL_002f:
{
ManualResetEvent_t451242010 * L_4 = __this->get_handle_4();
EventWaitHandle_Set_m2445193251(L_4, /*hidden argument*/NULL);
}
IL_003b:
{
AsyncCallback_t3962456242 * L_5 = __this->get__userCallback_1();
if (!L_5)
{
goto IL_0055;
}
}
IL_0046:
{
AsyncCallback_t3962456242 * L_6 = __this->get__userCallback_1();
AsyncCallback_BeginInvoke_m2710486612(L_6, __this, (AsyncCallback_t3962456242 *)NULL, NULL, /*hidden argument*/NULL);
}
IL_0055:
{
Exception_t * L_7 = ___ex0;
__this->set__asyncException_3(L_7);
IL2CPP_LEAVE(0x68, FINALLY_0061);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0061;
}
FINALLY_0061:
{ // begin finally (depth: 1)
RuntimeObject * L_8 = V_0;
Monitor_Exit_m3585316909(NULL /*static, unused*/, L_8, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(97)
} // end finally (depth: 1)
IL2CPP_CLEANUP(97)
{
IL2CPP_JUMP_TBL(0x68, IL_0068)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0068:
{
return;
}
}
// System.Void Mono.Security.Protocol.Tls.RecordProtocol/SendRecordAsyncResult::SetComplete()
extern "C" IL2CPP_METHOD_ATTR void SendRecordAsyncResult_SetComplete_m170417386 (SendRecordAsyncResult_t3718352467 * __this, const RuntimeMethod* method)
{
{
SendRecordAsyncResult_SetComplete_m153213906(__this, (Exception_t *)NULL, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.SecurityParameters::.ctor()
extern "C" IL2CPP_METHOD_ATTR void SecurityParameters__ctor_m3952189175 (SecurityParameters_t2199972650 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
return;
}
}
// Mono.Security.Protocol.Tls.CipherSuite Mono.Security.Protocol.Tls.SecurityParameters::get_Cipher()
extern "C" IL2CPP_METHOD_ATTR CipherSuite_t3414744575 * SecurityParameters_get_Cipher_m108846204 (SecurityParameters_t2199972650 * __this, const RuntimeMethod* method)
{
{
CipherSuite_t3414744575 * L_0 = __this->get_cipher_0();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.SecurityParameters::set_Cipher(Mono.Security.Protocol.Tls.CipherSuite)
extern "C" IL2CPP_METHOD_ATTR void SecurityParameters_set_Cipher_m588445085 (SecurityParameters_t2199972650 * __this, CipherSuite_t3414744575 * ___value0, const RuntimeMethod* method)
{
{
CipherSuite_t3414744575 * L_0 = ___value0;
__this->set_cipher_0(L_0);
return;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.SecurityParameters::get_ClientWriteMAC()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* SecurityParameters_get_ClientWriteMAC_m225554750 (SecurityParameters_t2199972650 * __this, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = __this->get_clientWriteMAC_1();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.SecurityParameters::set_ClientWriteMAC(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void SecurityParameters_set_ClientWriteMAC_m2984527188 (SecurityParameters_t2199972650 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = ___value0;
__this->set_clientWriteMAC_1(L_0);
return;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.SecurityParameters::get_ServerWriteMAC()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* SecurityParameters_get_ServerWriteMAC_m3430427271 (SecurityParameters_t2199972650 * __this, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = __this->get_serverWriteMAC_2();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.SecurityParameters::set_ServerWriteMAC(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void SecurityParameters_set_ServerWriteMAC_m3003817350 (SecurityParameters_t2199972650 * __this, ByteU5BU5D_t4116647657* ___value0, const RuntimeMethod* method)
{
{
ByteU5BU5D_t4116647657* L_0 = ___value0;
__this->set_serverWriteMAC_2(L_0);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.SecurityParameters::Clear()
extern "C" IL2CPP_METHOD_ATTR void SecurityParameters_Clear_m680574382 (SecurityParameters_t2199972650 * __this, const RuntimeMethod* method)
{
{
__this->set_cipher_0((CipherSuite_t3414744575 *)NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.SslCipherSuite::.ctor(System.Int16,System.String,Mono.Security.Protocol.Tls.CipherAlgorithmType,Mono.Security.Protocol.Tls.HashAlgorithmType,Mono.Security.Protocol.Tls.ExchangeAlgorithmType,System.Boolean,System.Boolean,System.Byte,System.Byte,System.Int16,System.Byte,System.Byte)
extern "C" IL2CPP_METHOD_ATTR void SslCipherSuite__ctor_m1470082018 (SslCipherSuite_t1981645747 * __this, int16_t ___code0, String_t* ___name1, int32_t ___cipherAlgorithmType2, int32_t ___hashAlgorithmType3, int32_t ___exchangeAlgorithmType4, bool ___exportable5, bool ___blockMode6, uint8_t ___keyMaterialSize7, uint8_t ___expandedKeyMaterialSize8, int16_t ___effectiveKeyBytes9, uint8_t ___ivSize10, uint8_t ___blockSize11, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslCipherSuite__ctor_m1470082018_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t G_B3_0 = 0;
{
int16_t L_0 = ___code0;
String_t* L_1 = ___name1;
int32_t L_2 = ___cipherAlgorithmType2;
int32_t L_3 = ___hashAlgorithmType3;
int32_t L_4 = ___exchangeAlgorithmType4;
bool L_5 = ___exportable5;
bool L_6 = ___blockMode6;
uint8_t L_7 = ___keyMaterialSize7;
uint8_t L_8 = ___expandedKeyMaterialSize8;
int16_t L_9 = ___effectiveKeyBytes9;
uint8_t L_10 = ___ivSize10;
uint8_t L_11 = ___blockSize11;
IL2CPP_RUNTIME_CLASS_INIT(CipherSuite_t3414744575_il2cpp_TypeInfo_var);
CipherSuite__ctor_m2440635082(__this, L_0, L_1, L_2, L_3, L_4, L_5, L_6, L_7, L_8, L_9, L_10, L_11, /*hidden argument*/NULL);
int32_t L_12 = ___hashAlgorithmType3;
if (L_12)
{
goto IL_0029;
}
}
{
G_B3_0 = ((int32_t)48);
goto IL_002b;
}
IL_0029:
{
G_B3_0 = ((int32_t)40);
}
IL_002b:
{
V_0 = G_B3_0;
int32_t L_13 = V_0;
ByteU5BU5D_t4116647657* L_14 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_13);
__this->set_pad1_21(L_14);
int32_t L_15 = V_0;
ByteU5BU5D_t4116647657* L_16 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_15);
__this->set_pad2_22(L_16);
V_1 = 0;
goto IL_0063;
}
IL_004b:
{
ByteU5BU5D_t4116647657* L_17 = __this->get_pad1_21();
int32_t L_18 = V_1;
(L_17)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_18), (uint8_t)((int32_t)54));
ByteU5BU5D_t4116647657* L_19 = __this->get_pad2_22();
int32_t L_20 = V_1;
(L_19)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_20), (uint8_t)((int32_t)92));
int32_t L_21 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_21, (int32_t)1));
}
IL_0063:
{
int32_t L_22 = V_1;
int32_t L_23 = V_0;
if ((((int32_t)L_22) < ((int32_t)L_23)))
{
goto IL_004b;
}
}
{
return;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.SslCipherSuite::ComputeServerRecordMAC(Mono.Security.Protocol.Tls.ContentType,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* SslCipherSuite_ComputeServerRecordMAC_m1297079805 (SslCipherSuite_t1981645747 * __this, uint8_t ___contentType0, ByteU5BU5D_t4116647657* ___fragment1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslCipherSuite_ComputeServerRecordMAC_m1297079805_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
HashAlgorithm_t1432317219 * V_0 = NULL;
ByteU5BU5D_t4116647657* V_1 = NULL;
uint64_t V_2 = 0;
ByteU5BU5D_t4116647657* V_3 = NULL;
uint64_t G_B5_0 = 0;
{
String_t* L_0 = CipherSuite_get_HashAlgorithmName_m3758129154(__this, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_1 = HashAlgorithm_Create_m644612360(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
V_0 = L_1;
Context_t3971234707 * L_2 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
SecurityParameters_t2199972650 * L_3 = Context_get_Read_m4172356735(L_2, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_4 = SecurityParameters_get_ServerWriteMAC_m3430427271(L_3, /*hidden argument*/NULL);
V_1 = L_4;
HashAlgorithm_t1432317219 * L_5 = V_0;
ByteU5BU5D_t4116647657* L_6 = V_1;
ByteU5BU5D_t4116647657* L_7 = V_1;
ByteU5BU5D_t4116647657* L_8 = V_1;
HashAlgorithm_TransformBlock_m4006041779(L_5, L_6, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_7)->max_length)))), L_8, 0, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_9 = V_0;
ByteU5BU5D_t4116647657* L_10 = __this->get_pad1_21();
ByteU5BU5D_t4116647657* L_11 = __this->get_pad1_21();
ByteU5BU5D_t4116647657* L_12 = __this->get_pad1_21();
HashAlgorithm_TransformBlock_m4006041779(L_9, L_10, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_11)->max_length)))), L_12, 0, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_13 = __this->get_header_23();
if (L_13)
{
goto IL_0060;
}
}
{
ByteU5BU5D_t4116647657* L_14 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)11));
__this->set_header_23(L_14);
}
IL_0060:
{
Context_t3971234707 * L_15 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
if (!((ClientContext_t2797401965 *)IsInstClass((RuntimeObject*)L_15, ClientContext_t2797401965_il2cpp_TypeInfo_var)))
{
goto IL_0080;
}
}
{
Context_t3971234707 * L_16 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
uint64_t L_17 = Context_get_ReadSequenceNumber_m3883329199(L_16, /*hidden argument*/NULL);
G_B5_0 = L_17;
goto IL_008b;
}
IL_0080:
{
Context_t3971234707 * L_18 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
uint64_t L_19 = Context_get_WriteSequenceNumber_m1115956887(L_18, /*hidden argument*/NULL);
G_B5_0 = L_19;
}
IL_008b:
{
V_2 = G_B5_0;
ByteU5BU5D_t4116647657* L_20 = __this->get_header_23();
uint64_t L_21 = V_2;
CipherSuite_Write_m1841735015(__this, L_20, 0, L_21, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_22 = __this->get_header_23();
uint8_t L_23 = ___contentType0;
(L_22)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(8), (uint8_t)L_23);
ByteU5BU5D_t4116647657* L_24 = __this->get_header_23();
ByteU5BU5D_t4116647657* L_25 = ___fragment1;
CipherSuite_Write_m1172814058(__this, L_24, ((int32_t)9), (((int16_t)((int16_t)(((int32_t)((int32_t)(((RuntimeArray *)L_25)->max_length))))))), /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_26 = V_0;
ByteU5BU5D_t4116647657* L_27 = __this->get_header_23();
ByteU5BU5D_t4116647657* L_28 = __this->get_header_23();
ByteU5BU5D_t4116647657* L_29 = __this->get_header_23();
HashAlgorithm_TransformBlock_m4006041779(L_26, L_27, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_28)->max_length)))), L_29, 0, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_30 = V_0;
ByteU5BU5D_t4116647657* L_31 = ___fragment1;
ByteU5BU5D_t4116647657* L_32 = ___fragment1;
ByteU5BU5D_t4116647657* L_33 = ___fragment1;
HashAlgorithm_TransformBlock_m4006041779(L_30, L_31, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_32)->max_length)))), L_33, 0, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_34 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(CipherSuite_t3414744575_il2cpp_TypeInfo_var);
ByteU5BU5D_t4116647657* L_35 = ((CipherSuite_t3414744575_StaticFields*)il2cpp_codegen_static_fields_for(CipherSuite_t3414744575_il2cpp_TypeInfo_var))->get_EmptyArray_0();
HashAlgorithm_TransformFinalBlock_m3005451348(L_34, L_35, 0, 0, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_36 = V_0;
ByteU5BU5D_t4116647657* L_37 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(9 /* System.Byte[] System.Security.Cryptography.HashAlgorithm::get_Hash() */, L_36);
V_3 = L_37;
HashAlgorithm_t1432317219 * L_38 = V_0;
VirtActionInvoker0::Invoke(13 /* System.Void System.Security.Cryptography.HashAlgorithm::Initialize() */, L_38);
HashAlgorithm_t1432317219 * L_39 = V_0;
ByteU5BU5D_t4116647657* L_40 = V_1;
ByteU5BU5D_t4116647657* L_41 = V_1;
ByteU5BU5D_t4116647657* L_42 = V_1;
HashAlgorithm_TransformBlock_m4006041779(L_39, L_40, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_41)->max_length)))), L_42, 0, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_43 = V_0;
ByteU5BU5D_t4116647657* L_44 = __this->get_pad2_22();
ByteU5BU5D_t4116647657* L_45 = __this->get_pad2_22();
ByteU5BU5D_t4116647657* L_46 = __this->get_pad2_22();
HashAlgorithm_TransformBlock_m4006041779(L_43, L_44, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_45)->max_length)))), L_46, 0, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_47 = V_0;
ByteU5BU5D_t4116647657* L_48 = V_3;
ByteU5BU5D_t4116647657* L_49 = V_3;
ByteU5BU5D_t4116647657* L_50 = V_3;
HashAlgorithm_TransformBlock_m4006041779(L_47, L_48, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_49)->max_length)))), L_50, 0, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_51 = V_0;
ByteU5BU5D_t4116647657* L_52 = ((CipherSuite_t3414744575_StaticFields*)il2cpp_codegen_static_fields_for(CipherSuite_t3414744575_il2cpp_TypeInfo_var))->get_EmptyArray_0();
HashAlgorithm_TransformFinalBlock_m3005451348(L_51, L_52, 0, 0, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_53 = V_0;
ByteU5BU5D_t4116647657* L_54 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(9 /* System.Byte[] System.Security.Cryptography.HashAlgorithm::get_Hash() */, L_53);
return L_54;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.SslCipherSuite::ComputeClientRecordMAC(Mono.Security.Protocol.Tls.ContentType,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* SslCipherSuite_ComputeClientRecordMAC_m3756410489 (SslCipherSuite_t1981645747 * __this, uint8_t ___contentType0, ByteU5BU5D_t4116647657* ___fragment1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslCipherSuite_ComputeClientRecordMAC_m3756410489_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
HashAlgorithm_t1432317219 * V_0 = NULL;
ByteU5BU5D_t4116647657* V_1 = NULL;
uint64_t V_2 = 0;
ByteU5BU5D_t4116647657* V_3 = NULL;
uint64_t G_B5_0 = 0;
{
String_t* L_0 = CipherSuite_get_HashAlgorithmName_m3758129154(__this, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_1 = HashAlgorithm_Create_m644612360(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
V_0 = L_1;
Context_t3971234707 * L_2 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
SecurityParameters_t2199972650 * L_3 = Context_get_Current_m2853615040(L_2, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_4 = SecurityParameters_get_ClientWriteMAC_m225554750(L_3, /*hidden argument*/NULL);
V_1 = L_4;
HashAlgorithm_t1432317219 * L_5 = V_0;
ByteU5BU5D_t4116647657* L_6 = V_1;
ByteU5BU5D_t4116647657* L_7 = V_1;
ByteU5BU5D_t4116647657* L_8 = V_1;
HashAlgorithm_TransformBlock_m4006041779(L_5, L_6, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_7)->max_length)))), L_8, 0, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_9 = V_0;
ByteU5BU5D_t4116647657* L_10 = __this->get_pad1_21();
ByteU5BU5D_t4116647657* L_11 = __this->get_pad1_21();
ByteU5BU5D_t4116647657* L_12 = __this->get_pad1_21();
HashAlgorithm_TransformBlock_m4006041779(L_9, L_10, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_11)->max_length)))), L_12, 0, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_13 = __this->get_header_23();
if (L_13)
{
goto IL_0060;
}
}
{
ByteU5BU5D_t4116647657* L_14 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)((int32_t)11));
__this->set_header_23(L_14);
}
IL_0060:
{
Context_t3971234707 * L_15 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
if (!((ClientContext_t2797401965 *)IsInstClass((RuntimeObject*)L_15, ClientContext_t2797401965_il2cpp_TypeInfo_var)))
{
goto IL_0080;
}
}
{
Context_t3971234707 * L_16 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
uint64_t L_17 = Context_get_WriteSequenceNumber_m1115956887(L_16, /*hidden argument*/NULL);
G_B5_0 = L_17;
goto IL_008b;
}
IL_0080:
{
Context_t3971234707 * L_18 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
uint64_t L_19 = Context_get_ReadSequenceNumber_m3883329199(L_18, /*hidden argument*/NULL);
G_B5_0 = L_19;
}
IL_008b:
{
V_2 = G_B5_0;
ByteU5BU5D_t4116647657* L_20 = __this->get_header_23();
uint64_t L_21 = V_2;
CipherSuite_Write_m1841735015(__this, L_20, 0, L_21, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_22 = __this->get_header_23();
uint8_t L_23 = ___contentType0;
(L_22)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(8), (uint8_t)L_23);
ByteU5BU5D_t4116647657* L_24 = __this->get_header_23();
ByteU5BU5D_t4116647657* L_25 = ___fragment1;
CipherSuite_Write_m1172814058(__this, L_24, ((int32_t)9), (((int16_t)((int16_t)(((int32_t)((int32_t)(((RuntimeArray *)L_25)->max_length))))))), /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_26 = V_0;
ByteU5BU5D_t4116647657* L_27 = __this->get_header_23();
ByteU5BU5D_t4116647657* L_28 = __this->get_header_23();
ByteU5BU5D_t4116647657* L_29 = __this->get_header_23();
HashAlgorithm_TransformBlock_m4006041779(L_26, L_27, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_28)->max_length)))), L_29, 0, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_30 = V_0;
ByteU5BU5D_t4116647657* L_31 = ___fragment1;
ByteU5BU5D_t4116647657* L_32 = ___fragment1;
ByteU5BU5D_t4116647657* L_33 = ___fragment1;
HashAlgorithm_TransformBlock_m4006041779(L_30, L_31, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_32)->max_length)))), L_33, 0, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_34 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(CipherSuite_t3414744575_il2cpp_TypeInfo_var);
ByteU5BU5D_t4116647657* L_35 = ((CipherSuite_t3414744575_StaticFields*)il2cpp_codegen_static_fields_for(CipherSuite_t3414744575_il2cpp_TypeInfo_var))->get_EmptyArray_0();
HashAlgorithm_TransformFinalBlock_m3005451348(L_34, L_35, 0, 0, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_36 = V_0;
ByteU5BU5D_t4116647657* L_37 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(9 /* System.Byte[] System.Security.Cryptography.HashAlgorithm::get_Hash() */, L_36);
V_3 = L_37;
HashAlgorithm_t1432317219 * L_38 = V_0;
VirtActionInvoker0::Invoke(13 /* System.Void System.Security.Cryptography.HashAlgorithm::Initialize() */, L_38);
HashAlgorithm_t1432317219 * L_39 = V_0;
ByteU5BU5D_t4116647657* L_40 = V_1;
ByteU5BU5D_t4116647657* L_41 = V_1;
ByteU5BU5D_t4116647657* L_42 = V_1;
HashAlgorithm_TransformBlock_m4006041779(L_39, L_40, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_41)->max_length)))), L_42, 0, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_43 = V_0;
ByteU5BU5D_t4116647657* L_44 = __this->get_pad2_22();
ByteU5BU5D_t4116647657* L_45 = __this->get_pad2_22();
ByteU5BU5D_t4116647657* L_46 = __this->get_pad2_22();
HashAlgorithm_TransformBlock_m4006041779(L_43, L_44, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_45)->max_length)))), L_46, 0, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_47 = V_0;
ByteU5BU5D_t4116647657* L_48 = V_3;
ByteU5BU5D_t4116647657* L_49 = V_3;
ByteU5BU5D_t4116647657* L_50 = V_3;
HashAlgorithm_TransformBlock_m4006041779(L_47, L_48, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_49)->max_length)))), L_50, 0, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_51 = V_0;
ByteU5BU5D_t4116647657* L_52 = ((CipherSuite_t3414744575_StaticFields*)il2cpp_codegen_static_fields_for(CipherSuite_t3414744575_il2cpp_TypeInfo_var))->get_EmptyArray_0();
HashAlgorithm_TransformFinalBlock_m3005451348(L_51, L_52, 0, 0, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_53 = V_0;
ByteU5BU5D_t4116647657* L_54 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(9 /* System.Byte[] System.Security.Cryptography.HashAlgorithm::get_Hash() */, L_53);
return L_54;
}
}
// System.Void Mono.Security.Protocol.Tls.SslCipherSuite::ComputeMasterSecret(System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void SslCipherSuite_ComputeMasterSecret_m3963626850 (SslCipherSuite_t1981645747 * __this, ByteU5BU5D_t4116647657* ___preMasterSecret0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslCipherSuite_ComputeMasterSecret_m3963626850_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TlsStream_t2365453965 * V_0 = NULL;
{
TlsStream_t2365453965 * L_0 = (TlsStream_t2365453965 *)il2cpp_codegen_object_new(TlsStream_t2365453965_il2cpp_TypeInfo_var);
TlsStream__ctor_m787793111(L_0, /*hidden argument*/NULL);
V_0 = L_0;
TlsStream_t2365453965 * L_1 = V_0;
ByteU5BU5D_t4116647657* L_2 = ___preMasterSecret0;
Context_t3971234707 * L_3 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_4 = Context_get_RandomCS_m1367948315(L_3, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_5 = SslCipherSuite_prf_m922878400(__this, L_2, _stringLiteral3452614623, L_4, /*hidden argument*/NULL);
TlsStream_Write_m4133894341(L_1, L_5, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_6 = V_0;
ByteU5BU5D_t4116647657* L_7 = ___preMasterSecret0;
Context_t3971234707 * L_8 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_9 = Context_get_RandomCS_m1367948315(L_8, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_10 = SslCipherSuite_prf_m922878400(__this, L_7, _stringLiteral3456677854, L_9, /*hidden argument*/NULL);
TlsStream_Write_m4133894341(L_6, L_10, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_11 = V_0;
ByteU5BU5D_t4116647657* L_12 = ___preMasterSecret0;
Context_t3971234707 * L_13 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_14 = Context_get_RandomCS_m1367948315(L_13, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_15 = SslCipherSuite_prf_m922878400(__this, L_12, _stringLiteral3409069272, L_14, /*hidden argument*/NULL);
TlsStream_Write_m4133894341(L_11, L_15, /*hidden argument*/NULL);
Context_t3971234707 * L_16 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_17 = V_0;
ByteU5BU5D_t4116647657* L_18 = TlsStream_ToArray_m4177184296(L_17, /*hidden argument*/NULL);
Context_set_MasterSecret_m3419105191(L_16, L_18, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.SslCipherSuite::ComputeKeys()
extern "C" IL2CPP_METHOD_ATTR void SslCipherSuite_ComputeKeys_m661027754 (SslCipherSuite_t1981645747 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslCipherSuite_ComputeKeys_m661027754_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TlsStream_t2365453965 * V_0 = NULL;
Il2CppChar V_1 = 0x0;
int32_t V_2 = 0;
String_t* V_3 = NULL;
int32_t V_4 = 0;
ByteU5BU5D_t4116647657* V_5 = NULL;
int32_t V_6 = 0;
TlsStream_t2365453965 * V_7 = NULL;
HashAlgorithm_t1432317219 * V_8 = NULL;
int32_t V_9 = 0;
ByteU5BU5D_t4116647657* V_10 = NULL;
ByteU5BU5D_t4116647657* V_11 = NULL;
ByteU5BU5D_t4116647657* V_12 = NULL;
int32_t G_B7_0 = 0;
{
TlsStream_t2365453965 * L_0 = (TlsStream_t2365453965 *)il2cpp_codegen_object_new(TlsStream_t2365453965_il2cpp_TypeInfo_var);
TlsStream__ctor_m787793111(L_0, /*hidden argument*/NULL);
V_0 = L_0;
V_1 = ((int32_t)65);
V_2 = 1;
goto IL_00a3;
}
IL_0010:
{
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_1 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_2();
V_3 = L_1;
V_4 = 0;
goto IL_0032;
}
IL_001e:
{
String_t* L_2 = V_3;
String_t* L_3 = Char_ToString_m3588025615((Il2CppChar*)(&V_1), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_4 = String_Concat_m3937257545(NULL /*static, unused*/, L_2, L_3, /*hidden argument*/NULL);
V_3 = L_4;
int32_t L_5 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0032:
{
int32_t L_6 = V_4;
int32_t L_7 = V_2;
if ((((int32_t)L_6) < ((int32_t)L_7)))
{
goto IL_001e;
}
}
{
Context_t3971234707 * L_8 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_9 = Context_get_MasterSecret_m676083615(L_8, /*hidden argument*/NULL);
String_t* L_10 = V_3;
String_t* L_11 = String_ToString_m838249115(L_10, /*hidden argument*/NULL);
Context_t3971234707 * L_12 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_13 = Context_get_RandomSC_m1891758699(L_12, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_14 = SslCipherSuite_prf_m922878400(__this, L_9, L_11, L_13, /*hidden argument*/NULL);
V_5 = L_14;
TlsStream_t2365453965 * L_15 = V_0;
int64_t L_16 = VirtFuncInvoker0< int64_t >::Invoke(8 /* System.Int64 Mono.Security.Protocol.Tls.TlsStream::get_Length() */, L_15);
ByteU5BU5D_t4116647657* L_17 = V_5;
int32_t L_18 = CipherSuite_get_KeyBlockSize_m519075451(__this, /*hidden argument*/NULL);
if ((((int64_t)((int64_t)il2cpp_codegen_add((int64_t)L_16, (int64_t)(((int64_t)((int64_t)(((int32_t)((int32_t)(((RuntimeArray *)L_17)->max_length)))))))))) <= ((int64_t)(((int64_t)((int64_t)L_18))))))
{
goto IL_0089;
}
}
{
int32_t L_19 = CipherSuite_get_KeyBlockSize_m519075451(__this, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_20 = V_0;
int64_t L_21 = VirtFuncInvoker0< int64_t >::Invoke(8 /* System.Int64 Mono.Security.Protocol.Tls.TlsStream::get_Length() */, L_20);
G_B7_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_19, (int32_t)(((int32_t)((int32_t)L_21)))));
goto IL_008d;
}
IL_0089:
{
ByteU5BU5D_t4116647657* L_22 = V_5;
G_B7_0 = (((int32_t)((int32_t)(((RuntimeArray *)L_22)->max_length))));
}
IL_008d:
{
V_6 = G_B7_0;
TlsStream_t2365453965 * L_23 = V_0;
ByteU5BU5D_t4116647657* L_24 = V_5;
int32_t L_25 = V_6;
VirtActionInvoker3< ByteU5BU5D_t4116647657*, int32_t, int32_t >::Invoke(18 /* System.Void Mono.Security.Protocol.Tls.TlsStream::Write(System.Byte[],System.Int32,System.Int32) */, L_23, L_24, 0, L_25);
Il2CppChar L_26 = V_1;
V_1 = (((int32_t)((uint16_t)((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1)))));
int32_t L_27 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_27, (int32_t)1));
}
IL_00a3:
{
TlsStream_t2365453965 * L_28 = V_0;
int64_t L_29 = VirtFuncInvoker0< int64_t >::Invoke(8 /* System.Int64 Mono.Security.Protocol.Tls.TlsStream::get_Length() */, L_28);
int32_t L_30 = CipherSuite_get_KeyBlockSize_m519075451(__this, /*hidden argument*/NULL);
if ((((int64_t)L_29) < ((int64_t)(((int64_t)((int64_t)L_30))))))
{
goto IL_0010;
}
}
{
TlsStream_t2365453965 * L_31 = V_0;
ByteU5BU5D_t4116647657* L_32 = TlsStream_ToArray_m4177184296(L_31, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_33 = (TlsStream_t2365453965 *)il2cpp_codegen_object_new(TlsStream_t2365453965_il2cpp_TypeInfo_var);
TlsStream__ctor_m277557575(L_33, L_32, /*hidden argument*/NULL);
V_7 = L_33;
Context_t3971234707 * L_34 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
SecurityParameters_t2199972650 * L_35 = Context_get_Negotiating_m2044579817(L_34, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_36 = V_7;
int32_t L_37 = CipherSuite_get_HashSize_m4060916532(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_38 = TlsStream_ReadBytes_m2334803179(L_36, L_37, /*hidden argument*/NULL);
SecurityParameters_set_ClientWriteMAC_m2984527188(L_35, L_38, /*hidden argument*/NULL);
Context_t3971234707 * L_39 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
SecurityParameters_t2199972650 * L_40 = Context_get_Negotiating_m2044579817(L_39, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_41 = V_7;
int32_t L_42 = CipherSuite_get_HashSize_m4060916532(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_43 = TlsStream_ReadBytes_m2334803179(L_41, L_42, /*hidden argument*/NULL);
SecurityParameters_set_ServerWriteMAC_m3003817350(L_40, L_43, /*hidden argument*/NULL);
Context_t3971234707 * L_44 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_45 = V_7;
uint8_t L_46 = CipherSuite_get_KeyMaterialSize_m3569550689(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_47 = TlsStream_ReadBytes_m2334803179(L_45, L_46, /*hidden argument*/NULL);
Context_set_ClientWriteKey_m1601425248(L_44, L_47, /*hidden argument*/NULL);
Context_t3971234707 * L_48 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_49 = V_7;
uint8_t L_50 = CipherSuite_get_KeyMaterialSize_m3569550689(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_51 = TlsStream_ReadBytes_m2334803179(L_49, L_50, /*hidden argument*/NULL);
Context_set_ServerWriteKey_m3347272648(L_48, L_51, /*hidden argument*/NULL);
bool L_52 = CipherSuite_get_IsExportable_m677202963(__this, /*hidden argument*/NULL);
if (L_52)
{
goto IL_019c;
}
}
{
uint8_t L_53 = CipherSuite_get_IvSize_m630778063(__this, /*hidden argument*/NULL);
if (!L_53)
{
goto IL_0177;
}
}
{
Context_t3971234707 * L_54 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_55 = V_7;
uint8_t L_56 = CipherSuite_get_IvSize_m630778063(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_57 = TlsStream_ReadBytes_m2334803179(L_55, L_56, /*hidden argument*/NULL);
Context_set_ClientWriteIV_m3405909624(L_54, L_57, /*hidden argument*/NULL);
Context_t3971234707 * L_58 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_59 = V_7;
uint8_t L_60 = CipherSuite_get_IvSize_m630778063(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_61 = TlsStream_ReadBytes_m2334803179(L_59, L_60, /*hidden argument*/NULL);
Context_set_ServerWriteIV_m1007123427(L_58, L_61, /*hidden argument*/NULL);
goto IL_0197;
}
IL_0177:
{
Context_t3971234707 * L_62 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(CipherSuite_t3414744575_il2cpp_TypeInfo_var);
ByteU5BU5D_t4116647657* L_63 = ((CipherSuite_t3414744575_StaticFields*)il2cpp_codegen_static_fields_for(CipherSuite_t3414744575_il2cpp_TypeInfo_var))->get_EmptyArray_0();
Context_set_ClientWriteIV_m3405909624(L_62, L_63, /*hidden argument*/NULL);
Context_t3971234707 * L_64 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_65 = ((CipherSuite_t3414744575_StaticFields*)il2cpp_codegen_static_fields_for(CipherSuite_t3414744575_il2cpp_TypeInfo_var))->get_EmptyArray_0();
Context_set_ServerWriteIV_m1007123427(L_64, L_65, /*hidden argument*/NULL);
}
IL_0197:
{
goto IL_038b;
}
IL_019c:
{
MD5_t3177620429 * L_66 = MD5_Create_m3522414168(NULL /*static, unused*/, /*hidden argument*/NULL);
V_8 = L_66;
HashAlgorithm_t1432317219 * L_67 = V_8;
int32_t L_68 = VirtFuncInvoker0< int32_t >::Invoke(12 /* System.Int32 System.Security.Cryptography.HashAlgorithm::get_HashSize() */, L_67);
V_9 = ((int32_t)((int32_t)L_68>>(int32_t)3));
int32_t L_69 = V_9;
ByteU5BU5D_t4116647657* L_70 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_69);
V_10 = L_70;
HashAlgorithm_t1432317219 * L_71 = V_8;
Context_t3971234707 * L_72 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_73 = Context_get_ClientWriteKey_m3174706656(L_72, /*hidden argument*/NULL);
Context_t3971234707 * L_74 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_75 = Context_get_ClientWriteKey_m3174706656(L_74, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_76 = V_10;
HashAlgorithm_TransformBlock_m4006041779(L_71, L_73, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_75)->max_length)))), L_76, 0, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_77 = V_8;
Context_t3971234707 * L_78 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_79 = Context_get_RandomCS_m1367948315(L_78, /*hidden argument*/NULL);
Context_t3971234707 * L_80 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_81 = Context_get_RandomCS_m1367948315(L_80, /*hidden argument*/NULL);
HashAlgorithm_TransformFinalBlock_m3005451348(L_77, L_79, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_81)->max_length)))), /*hidden argument*/NULL);
uint8_t L_82 = CipherSuite_get_ExpandedKeyMaterialSize_m197590106(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_83 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_82);
V_11 = L_83;
HashAlgorithm_t1432317219 * L_84 = V_8;
ByteU5BU5D_t4116647657* L_85 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(9 /* System.Byte[] System.Security.Cryptography.HashAlgorithm::get_Hash() */, L_84);
ByteU5BU5D_t4116647657* L_86 = V_11;
uint8_t L_87 = CipherSuite_get_ExpandedKeyMaterialSize_m197590106(__this, /*hidden argument*/NULL);
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_85, 0, (RuntimeArray *)(RuntimeArray *)L_86, 0, L_87, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_88 = V_8;
VirtActionInvoker0::Invoke(13 /* System.Void System.Security.Cryptography.HashAlgorithm::Initialize() */, L_88);
HashAlgorithm_t1432317219 * L_89 = V_8;
Context_t3971234707 * L_90 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_91 = Context_get_ServerWriteKey_m2199131569(L_90, /*hidden argument*/NULL);
Context_t3971234707 * L_92 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_93 = Context_get_ServerWriteKey_m2199131569(L_92, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_94 = V_10;
HashAlgorithm_TransformBlock_m4006041779(L_89, L_91, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_93)->max_length)))), L_94, 0, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_95 = V_8;
Context_t3971234707 * L_96 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_97 = Context_get_RandomSC_m1891758699(L_96, /*hidden argument*/NULL);
Context_t3971234707 * L_98 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_99 = Context_get_RandomSC_m1891758699(L_98, /*hidden argument*/NULL);
HashAlgorithm_TransformFinalBlock_m3005451348(L_95, L_97, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_99)->max_length)))), /*hidden argument*/NULL);
uint8_t L_100 = CipherSuite_get_ExpandedKeyMaterialSize_m197590106(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_101 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_100);
V_12 = L_101;
HashAlgorithm_t1432317219 * L_102 = V_8;
ByteU5BU5D_t4116647657* L_103 = VirtFuncInvoker0< ByteU5BU5D_t4116647657* >::Invoke(9 /* System.Byte[] System.Security.Cryptography.HashAlgorithm::get_Hash() */, L_102);
ByteU5BU5D_t4116647657* L_104 = V_12;
uint8_t L_105 = CipherSuite_get_ExpandedKeyMaterialSize_m197590106(__this, /*hidden argument*/NULL);
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_103, 0, (RuntimeArray *)(RuntimeArray *)L_104, 0, L_105, /*hidden argument*/NULL);
Context_t3971234707 * L_106 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_107 = V_11;
Context_set_ClientWriteKey_m1601425248(L_106, L_107, /*hidden argument*/NULL);
Context_t3971234707 * L_108 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_109 = V_12;
Context_set_ServerWriteKey_m3347272648(L_108, L_109, /*hidden argument*/NULL);
uint8_t L_110 = CipherSuite_get_IvSize_m630778063(__this, /*hidden argument*/NULL);
if ((((int32_t)L_110) <= ((int32_t)0)))
{
goto IL_036b;
}
}
{
HashAlgorithm_t1432317219 * L_111 = V_8;
VirtActionInvoker0::Invoke(13 /* System.Void System.Security.Cryptography.HashAlgorithm::Initialize() */, L_111);
HashAlgorithm_t1432317219 * L_112 = V_8;
Context_t3971234707 * L_113 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_114 = Context_get_RandomCS_m1367948315(L_113, /*hidden argument*/NULL);
Context_t3971234707 * L_115 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_116 = Context_get_RandomCS_m1367948315(L_115, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_117 = HashAlgorithm_ComputeHash_m2044824070(L_112, L_114, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_116)->max_length)))), /*hidden argument*/NULL);
V_10 = L_117;
Context_t3971234707 * L_118 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
uint8_t L_119 = CipherSuite_get_IvSize_m630778063(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_120 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_119);
Context_set_ClientWriteIV_m3405909624(L_118, L_120, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_121 = V_10;
Context_t3971234707 * L_122 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_123 = Context_get_ClientWriteIV_m1729804632(L_122, /*hidden argument*/NULL);
uint8_t L_124 = CipherSuite_get_IvSize_m630778063(__this, /*hidden argument*/NULL);
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_121, 0, (RuntimeArray *)(RuntimeArray *)L_123, 0, L_124, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_125 = V_8;
VirtActionInvoker0::Invoke(13 /* System.Void System.Security.Cryptography.HashAlgorithm::Initialize() */, L_125);
HashAlgorithm_t1432317219 * L_126 = V_8;
Context_t3971234707 * L_127 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_128 = Context_get_RandomSC_m1891758699(L_127, /*hidden argument*/NULL);
Context_t3971234707 * L_129 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_130 = Context_get_RandomSC_m1891758699(L_129, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_131 = HashAlgorithm_ComputeHash_m2044824070(L_126, L_128, 0, (((int32_t)((int32_t)(((RuntimeArray *)L_130)->max_length)))), /*hidden argument*/NULL);
V_10 = L_131;
Context_t3971234707 * L_132 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
uint8_t L_133 = CipherSuite_get_IvSize_m630778063(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_134 = (ByteU5BU5D_t4116647657*)SZArrayNew(ByteU5BU5D_t4116647657_il2cpp_TypeInfo_var, (uint32_t)L_133);
Context_set_ServerWriteIV_m1007123427(L_132, L_134, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_135 = V_10;
Context_t3971234707 * L_136 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_137 = Context_get_ServerWriteIV_m1839374659(L_136, /*hidden argument*/NULL);
uint8_t L_138 = CipherSuite_get_IvSize_m630778063(__this, /*hidden argument*/NULL);
Buffer_BlockCopy_m2884209081(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_135, 0, (RuntimeArray *)(RuntimeArray *)L_137, 0, L_138, /*hidden argument*/NULL);
goto IL_038b;
}
IL_036b:
{
Context_t3971234707 * L_139 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(CipherSuite_t3414744575_il2cpp_TypeInfo_var);
ByteU5BU5D_t4116647657* L_140 = ((CipherSuite_t3414744575_StaticFields*)il2cpp_codegen_static_fields_for(CipherSuite_t3414744575_il2cpp_TypeInfo_var))->get_EmptyArray_0();
Context_set_ClientWriteIV_m3405909624(L_139, L_140, /*hidden argument*/NULL);
Context_t3971234707 * L_141 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_142 = ((CipherSuite_t3414744575_StaticFields*)il2cpp_codegen_static_fields_for(CipherSuite_t3414744575_il2cpp_TypeInfo_var))->get_EmptyArray_0();
Context_set_ServerWriteIV_m1007123427(L_141, L_142, /*hidden argument*/NULL);
}
IL_038b:
{
Context_t3971234707 * L_143 = CipherSuite_get_Context_m1621551997(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var);
ClientSessionCache_SetContextInCache_m2875733100(NULL /*static, unused*/, L_143, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_144 = V_7;
TlsStream_Reset_m369197964(L_144, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_145 = V_0;
TlsStream_Reset_m369197964(L_145, /*hidden argument*/NULL);
return;
}
}
// System.Byte[] Mono.Security.Protocol.Tls.SslCipherSuite::prf(System.Byte[],System.String,System.Byte[])
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* SslCipherSuite_prf_m922878400 (SslCipherSuite_t1981645747 * __this, ByteU5BU5D_t4116647657* ___secret0, String_t* ___label1, ByteU5BU5D_t4116647657* ___random2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslCipherSuite_prf_m922878400_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
HashAlgorithm_t1432317219 * V_0 = NULL;
HashAlgorithm_t1432317219 * V_1 = NULL;
TlsStream_t2365453965 * V_2 = NULL;
ByteU5BU5D_t4116647657* V_3 = NULL;
ByteU5BU5D_t4116647657* V_4 = NULL;
{
MD5_t3177620429 * L_0 = MD5_Create_m3522414168(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = L_0;
SHA1_t1803193667 * L_1 = SHA1_Create_m1390871308(NULL /*static, unused*/, /*hidden argument*/NULL);
V_1 = L_1;
TlsStream_t2365453965 * L_2 = (TlsStream_t2365453965 *)il2cpp_codegen_object_new(TlsStream_t2365453965_il2cpp_TypeInfo_var);
TlsStream__ctor_m787793111(L_2, /*hidden argument*/NULL);
V_2 = L_2;
TlsStream_t2365453965 * L_3 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(Encoding_t1523322056_il2cpp_TypeInfo_var);
Encoding_t1523322056 * L_4 = Encoding_get_ASCII_m3595602635(NULL /*static, unused*/, /*hidden argument*/NULL);
String_t* L_5 = ___label1;
ByteU5BU5D_t4116647657* L_6 = VirtFuncInvoker1< ByteU5BU5D_t4116647657*, String_t* >::Invoke(10 /* System.Byte[] System.Text.Encoding::GetBytes(System.String) */, L_4, L_5);
TlsStream_Write_m4133894341(L_3, L_6, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_7 = V_2;
ByteU5BU5D_t4116647657* L_8 = ___secret0;
TlsStream_Write_m4133894341(L_7, L_8, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_9 = V_2;
ByteU5BU5D_t4116647657* L_10 = ___random2;
TlsStream_Write_m4133894341(L_9, L_10, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_11 = V_1;
TlsStream_t2365453965 * L_12 = V_2;
ByteU5BU5D_t4116647657* L_13 = TlsStream_ToArray_m4177184296(L_12, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_14 = V_2;
int64_t L_15 = VirtFuncInvoker0< int64_t >::Invoke(8 /* System.Int64 Mono.Security.Protocol.Tls.TlsStream::get_Length() */, L_14);
ByteU5BU5D_t4116647657* L_16 = HashAlgorithm_ComputeHash_m2044824070(L_11, L_13, 0, (((int32_t)((int32_t)L_15))), /*hidden argument*/NULL);
V_3 = L_16;
TlsStream_t2365453965 * L_17 = V_2;
TlsStream_Reset_m369197964(L_17, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_18 = V_2;
ByteU5BU5D_t4116647657* L_19 = ___secret0;
TlsStream_Write_m4133894341(L_18, L_19, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_20 = V_2;
ByteU5BU5D_t4116647657* L_21 = V_3;
TlsStream_Write_m4133894341(L_20, L_21, /*hidden argument*/NULL);
HashAlgorithm_t1432317219 * L_22 = V_0;
TlsStream_t2365453965 * L_23 = V_2;
ByteU5BU5D_t4116647657* L_24 = TlsStream_ToArray_m4177184296(L_23, /*hidden argument*/NULL);
TlsStream_t2365453965 * L_25 = V_2;
int64_t L_26 = VirtFuncInvoker0< int64_t >::Invoke(8 /* System.Int64 Mono.Security.Protocol.Tls.TlsStream::get_Length() */, L_25);
ByteU5BU5D_t4116647657* L_27 = HashAlgorithm_ComputeHash_m2044824070(L_22, L_24, 0, (((int32_t)((int32_t)L_26))), /*hidden argument*/NULL);
V_4 = L_27;
TlsStream_t2365453965 * L_28 = V_2;
TlsStream_Reset_m369197964(L_28, /*hidden argument*/NULL);
ByteU5BU5D_t4116647657* L_29 = V_4;
return L_29;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Mono.Security.Protocol.Tls.SslClientStream::.ctor(System.IO.Stream,System.String,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void SslClientStream__ctor_m2402546929 (SslClientStream_t3914624661 * __this, Stream_t1273022909 * ___stream0, String_t* ___targetHost1, bool ___ownsStream2, const RuntimeMethod* method)
{
{
Stream_t1273022909 * L_0 = ___stream0;
String_t* L_1 = ___targetHost1;
bool L_2 = ___ownsStream2;
SslClientStream__ctor_m3351906728(__this, L_0, L_1, L_2, ((int32_t)-1073741824), (X509CertificateCollection_t3399372417 *)NULL, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.SslClientStream::.ctor(System.IO.Stream,System.String,System.Security.Cryptography.X509Certificates.X509Certificate)
extern "C" IL2CPP_METHOD_ATTR void SslClientStream__ctor_m4190306291 (SslClientStream_t3914624661 * __this, Stream_t1273022909 * ___stream0, String_t* ___targetHost1, X509Certificate_t713131622 * ___clientCertificate2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslClientStream__ctor_m4190306291_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Stream_t1273022909 * L_0 = ___stream0;
String_t* L_1 = ___targetHost1;
X509CertificateU5BU5D_t3145106755* L_2 = (X509CertificateU5BU5D_t3145106755*)SZArrayNew(X509CertificateU5BU5D_t3145106755_il2cpp_TypeInfo_var, (uint32_t)1);
X509CertificateU5BU5D_t3145106755* L_3 = L_2;
X509Certificate_t713131622 * L_4 = ___clientCertificate2;
ArrayElementTypeCheck (L_3, L_4);
(L_3)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (X509Certificate_t713131622 *)L_4);
X509CertificateCollection_t3399372417 * L_5 = (X509CertificateCollection_t3399372417 *)il2cpp_codegen_object_new(X509CertificateCollection_t3399372417_il2cpp_TypeInfo_var);
X509CertificateCollection__ctor_m3178797723(L_5, L_3, /*hidden argument*/NULL);
SslClientStream__ctor_m3351906728(__this, L_0, L_1, (bool)0, ((int32_t)-1073741824), L_5, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.SslClientStream::.ctor(System.IO.Stream,System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection)
extern "C" IL2CPP_METHOD_ATTR void SslClientStream__ctor_m3745813135 (SslClientStream_t3914624661 * __this, Stream_t1273022909 * ___stream0, String_t* ___targetHost1, X509CertificateCollection_t3399372417 * ___clientCertificates2, const RuntimeMethod* method)
{
{
Stream_t1273022909 * L_0 = ___stream0;
String_t* L_1 = ___targetHost1;
X509CertificateCollection_t3399372417 * L_2 = ___clientCertificates2;
SslClientStream__ctor_m3351906728(__this, L_0, L_1, (bool)0, ((int32_t)-1073741824), L_2, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.SslClientStream::.ctor(System.IO.Stream,System.String,System.Boolean,Mono.Security.Protocol.Tls.SecurityProtocolType)
extern "C" IL2CPP_METHOD_ATTR void SslClientStream__ctor_m3478574780 (SslClientStream_t3914624661 * __this, Stream_t1273022909 * ___stream0, String_t* ___targetHost1, bool ___ownsStream2, int32_t ___securityProtocolType3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslClientStream__ctor_m3478574780_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Stream_t1273022909 * L_0 = ___stream0;
String_t* L_1 = ___targetHost1;
bool L_2 = ___ownsStream2;
int32_t L_3 = ___securityProtocolType3;
X509CertificateCollection_t3399372417 * L_4 = (X509CertificateCollection_t3399372417 *)il2cpp_codegen_object_new(X509CertificateCollection_t3399372417_il2cpp_TypeInfo_var);
X509CertificateCollection__ctor_m147081211(L_4, /*hidden argument*/NULL);
SslClientStream__ctor_m3351906728(__this, L_0, L_1, L_2, L_3, L_4, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.SslClientStream::.ctor(System.IO.Stream,System.String,System.Boolean,Mono.Security.Protocol.Tls.SecurityProtocolType,System.Security.Cryptography.X509Certificates.X509CertificateCollection)
extern "C" IL2CPP_METHOD_ATTR void SslClientStream__ctor_m3351906728 (SslClientStream_t3914624661 * __this, Stream_t1273022909 * ___stream0, String_t* ___targetHost1, bool ___ownsStream2, int32_t ___securityProtocolType3, X509CertificateCollection_t3399372417 * ___clientCertificates4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslClientStream__ctor_m3351906728_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Stream_t1273022909 * L_0 = ___stream0;
bool L_1 = ___ownsStream2;
IL2CPP_RUNTIME_CLASS_INIT(SslStreamBase_t1667413407_il2cpp_TypeInfo_var);
SslStreamBase__ctor_m3009266308(__this, L_0, L_1, /*hidden argument*/NULL);
String_t* L_2 = ___targetHost1;
if (!L_2)
{
goto IL_0019;
}
}
{
String_t* L_3 = ___targetHost1;
int32_t L_4 = String_get_Length_m3847582255(L_3, /*hidden argument*/NULL);
if (L_4)
{
goto IL_0024;
}
}
IL_0019:
{
ArgumentNullException_t1615371798 * L_5 = (ArgumentNullException_t1615371798 *)il2cpp_codegen_object_new(ArgumentNullException_t1615371798_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_m1170824041(L_5, _stringLiteral2252787185, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, SslClientStream__ctor_m3351906728_RuntimeMethod_var);
}
IL_0024:
{
int32_t L_6 = ___securityProtocolType3;
String_t* L_7 = ___targetHost1;
X509CertificateCollection_t3399372417 * L_8 = ___clientCertificates4;
ClientContext_t2797401965 * L_9 = (ClientContext_t2797401965 *)il2cpp_codegen_object_new(ClientContext_t2797401965_il2cpp_TypeInfo_var);
ClientContext__ctor_m3993227749(L_9, __this, L_6, L_7, L_8, /*hidden argument*/NULL);
((SslStreamBase_t1667413407 *)__this)->set_context_5(L_9);
Stream_t1273022909 * L_10 = ((SslStreamBase_t1667413407 *)__this)->get_innerStream_3();
Context_t3971234707 * L_11 = ((SslStreamBase_t1667413407 *)__this)->get_context_5();
ClientRecordProtocol_t2031137796 * L_12 = (ClientRecordProtocol_t2031137796 *)il2cpp_codegen_object_new(ClientRecordProtocol_t2031137796_il2cpp_TypeInfo_var);
ClientRecordProtocol__ctor_m2839844778(L_12, L_10, ((ClientContext_t2797401965 *)CastclassClass((RuntimeObject*)L_11, ClientContext_t2797401965_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
((SslStreamBase_t1667413407 *)__this)->set_protocol_6(L_12);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.SslClientStream::add_ServerCertValidation(Mono.Security.Protocol.Tls.CertificateValidationCallback)
extern "C" IL2CPP_METHOD_ATTR void SslClientStream_add_ServerCertValidation_m2218216724 (SslClientStream_t3914624661 * __this, CertificateValidationCallback_t4091668218 * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslClientStream_add_ServerCertValidation_m2218216724_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
CertificateValidationCallback_t4091668218 * L_0 = __this->get_ServerCertValidation_16();
CertificateValidationCallback_t4091668218 * L_1 = ___value0;
Delegate_t1188392813 * L_2 = Delegate_Combine_m1859655160(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
__this->set_ServerCertValidation_16(((CertificateValidationCallback_t4091668218 *)CastclassSealed((RuntimeObject*)L_2, CertificateValidationCallback_t4091668218_il2cpp_TypeInfo_var)));
return;
}
}
// System.Void Mono.Security.Protocol.Tls.SslClientStream::remove_ServerCertValidation(Mono.Security.Protocol.Tls.CertificateValidationCallback)
extern "C" IL2CPP_METHOD_ATTR void SslClientStream_remove_ServerCertValidation_m1143339871 (SslClientStream_t3914624661 * __this, CertificateValidationCallback_t4091668218 * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslClientStream_remove_ServerCertValidation_m1143339871_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
CertificateValidationCallback_t4091668218 * L_0 = __this->get_ServerCertValidation_16();
CertificateValidationCallback_t4091668218 * L_1 = ___value0;
Delegate_t1188392813 * L_2 = Delegate_Remove_m334097152(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
__this->set_ServerCertValidation_16(((CertificateValidationCallback_t4091668218 *)CastclassSealed((RuntimeObject*)L_2, CertificateValidationCallback_t4091668218_il2cpp_TypeInfo_var)));
return;
}
}
// System.Void Mono.Security.Protocol.Tls.SslClientStream::add_ClientCertSelection(Mono.Security.Protocol.Tls.CertificateSelectionCallback)
extern "C" IL2CPP_METHOD_ATTR void SslClientStream_add_ClientCertSelection_m1387948363 (SslClientStream_t3914624661 * __this, CertificateSelectionCallback_t3743405224 * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslClientStream_add_ClientCertSelection_m1387948363_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
CertificateSelectionCallback_t3743405224 * L_0 = __this->get_ClientCertSelection_17();
CertificateSelectionCallback_t3743405224 * L_1 = ___value0;
Delegate_t1188392813 * L_2 = Delegate_Combine_m1859655160(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
__this->set_ClientCertSelection_17(((CertificateSelectionCallback_t3743405224 *)CastclassSealed((RuntimeObject*)L_2, CertificateSelectionCallback_t3743405224_il2cpp_TypeInfo_var)));
return;
}
}
// System.Void Mono.Security.Protocol.Tls.SslClientStream::remove_ClientCertSelection(Mono.Security.Protocol.Tls.CertificateSelectionCallback)
extern "C" IL2CPP_METHOD_ATTR void SslClientStream_remove_ClientCertSelection_m24681826 (SslClientStream_t3914624661 * __this, CertificateSelectionCallback_t3743405224 * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslClientStream_remove_ClientCertSelection_m24681826_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
CertificateSelectionCallback_t3743405224 * L_0 = __this->get_ClientCertSelection_17();
CertificateSelectionCallback_t3743405224 * L_1 = ___value0;
Delegate_t1188392813 * L_2 = Delegate_Remove_m334097152(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
__this->set_ClientCertSelection_17(((CertificateSelectionCallback_t3743405224 *)CastclassSealed((RuntimeObject*)L_2, CertificateSelectionCallback_t3743405224_il2cpp_TypeInfo_var)));
return;
}
}
// System.Void Mono.Security.Protocol.Tls.SslClientStream::add_PrivateKeySelection(Mono.Security.Protocol.Tls.PrivateKeySelectionCallback)
extern "C" IL2CPP_METHOD_ATTR void SslClientStream_add_PrivateKeySelection_m1663125063 (SslClientStream_t3914624661 * __this, PrivateKeySelectionCallback_t3240194217 * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslClientStream_add_PrivateKeySelection_m1663125063_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
PrivateKeySelectionCallback_t3240194217 * L_0 = __this->get_PrivateKeySelection_18();
PrivateKeySelectionCallback_t3240194217 * L_1 = ___value0;
Delegate_t1188392813 * L_2 = Delegate_Combine_m1859655160(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
__this->set_PrivateKeySelection_18(((PrivateKeySelectionCallback_t3240194217 *)CastclassSealed((RuntimeObject*)L_2, PrivateKeySelectionCallback_t3240194217_il2cpp_TypeInfo_var)));
return;
}
}
// System.Void Mono.Security.Protocol.Tls.SslClientStream::remove_PrivateKeySelection(Mono.Security.Protocol.Tls.PrivateKeySelectionCallback)
extern "C" IL2CPP_METHOD_ATTR void SslClientStream_remove_PrivateKeySelection_m3637735463 (SslClientStream_t3914624661 * __this, PrivateKeySelectionCallback_t3240194217 * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslClientStream_remove_PrivateKeySelection_m3637735463_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
PrivateKeySelectionCallback_t3240194217 * L_0 = __this->get_PrivateKeySelection_18();
PrivateKeySelectionCallback_t3240194217 * L_1 = ___value0;
Delegate_t1188392813 * L_2 = Delegate_Remove_m334097152(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
__this->set_PrivateKeySelection_18(((PrivateKeySelectionCallback_t3240194217 *)CastclassSealed((RuntimeObject*)L_2, PrivateKeySelectionCallback_t3240194217_il2cpp_TypeInfo_var)));
return;
}
}
// System.Void Mono.Security.Protocol.Tls.SslClientStream::add_ServerCertValidation2(Mono.Security.Protocol.Tls.CertificateValidationCallback2)
extern "C" IL2CPP_METHOD_ATTR void SslClientStream_add_ServerCertValidation2_m3943665702 (SslClientStream_t3914624661 * __this, CertificateValidationCallback2_t1842476440 * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslClientStream_add_ServerCertValidation2_m3943665702_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
CertificateValidationCallback2_t1842476440 * L_0 = __this->get_ServerCertValidation2_19();
CertificateValidationCallback2_t1842476440 * L_1 = ___value0;
Delegate_t1188392813 * L_2 = Delegate_Combine_m1859655160(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
__this->set_ServerCertValidation2_19(((CertificateValidationCallback2_t1842476440 *)CastclassSealed((RuntimeObject*)L_2, CertificateValidationCallback2_t1842476440_il2cpp_TypeInfo_var)));
return;
}
}
// System.Void Mono.Security.Protocol.Tls.SslClientStream::remove_ServerCertValidation2(Mono.Security.Protocol.Tls.CertificateValidationCallback2)
extern "C" IL2CPP_METHOD_ATTR void SslClientStream_remove_ServerCertValidation2_m4151895043 (SslClientStream_t3914624661 * __this, CertificateValidationCallback2_t1842476440 * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslClientStream_remove_ServerCertValidation2_m4151895043_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
CertificateValidationCallback2_t1842476440 * L_0 = __this->get_ServerCertValidation2_19();
CertificateValidationCallback2_t1842476440 * L_1 = ___value0;
Delegate_t1188392813 * L_2 = Delegate_Remove_m334097152(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
__this->set_ServerCertValidation2_19(((CertificateValidationCallback2_t1842476440 *)CastclassSealed((RuntimeObject*)L_2, CertificateValidationCallback2_t1842476440_il2cpp_TypeInfo_var)));
return;
}
}
// System.IO.Stream Mono.Security.Protocol.Tls.SslClientStream::get_InputBuffer()
extern "C" IL2CPP_METHOD_ATTR Stream_t1273022909 * SslClientStream_get_InputBuffer_m4092356391 (SslClientStream_t3914624661 * __this, const RuntimeMethod* method)
{
{
MemoryStream_t94973147 * L_0 = ((SslStreamBase_t1667413407 *)__this)->get_inputBuffer_4();
return L_0;
}
}
// System.Security.Cryptography.X509Certificates.X509CertificateCollection Mono.Security.Protocol.Tls.SslClientStream::get_ClientCertificates()
extern "C" IL2CPP_METHOD_ATTR X509CertificateCollection_t3399372417 * SslClientStream_get_ClientCertificates_m998716871 (SslClientStream_t3914624661 * __this, const RuntimeMethod* method)
{
{
Context_t3971234707 * L_0 = ((SslStreamBase_t1667413407 *)__this)->get_context_5();
TlsClientSettings_t2486039503 * L_1 = Context_get_ClientSettings_m2874391194(L_0, /*hidden argument*/NULL);
X509CertificateCollection_t3399372417 * L_2 = TlsClientSettings_get_Certificates_m2671943654(L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.Security.Cryptography.X509Certificates.X509Certificate Mono.Security.Protocol.Tls.SslClientStream::get_SelectedClientCertificate()
extern "C" IL2CPP_METHOD_ATTR X509Certificate_t713131622 * SslClientStream_get_SelectedClientCertificate_m2941927287 (SslClientStream_t3914624661 * __this, const RuntimeMethod* method)
{
{
Context_t3971234707 * L_0 = ((SslStreamBase_t1667413407 *)__this)->get_context_5();
TlsClientSettings_t2486039503 * L_1 = Context_get_ClientSettings_m2874391194(L_0, /*hidden argument*/NULL);
X509Certificate_t713131622 * L_2 = TlsClientSettings_get_ClientCertificate_m3139459118(L_1, /*hidden argument*/NULL);
return L_2;
}
}
// Mono.Security.Protocol.Tls.CertificateValidationCallback Mono.Security.Protocol.Tls.SslClientStream::get_ServerCertValidationDelegate()
extern "C" IL2CPP_METHOD_ATTR CertificateValidationCallback_t4091668218 * SslClientStream_get_ServerCertValidationDelegate_m2765155187 (SslClientStream_t3914624661 * __this, const RuntimeMethod* method)
{
{
CertificateValidationCallback_t4091668218 * L_0 = __this->get_ServerCertValidation_16();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.SslClientStream::set_ServerCertValidationDelegate(Mono.Security.Protocol.Tls.CertificateValidationCallback)
extern "C" IL2CPP_METHOD_ATTR void SslClientStream_set_ServerCertValidationDelegate_m466396564 (SslClientStream_t3914624661 * __this, CertificateValidationCallback_t4091668218 * ___value0, const RuntimeMethod* method)
{
{
CertificateValidationCallback_t4091668218 * L_0 = ___value0;
__this->set_ServerCertValidation_16(L_0);
return;
}
}
// Mono.Security.Protocol.Tls.CertificateSelectionCallback Mono.Security.Protocol.Tls.SslClientStream::get_ClientCertSelectionDelegate()
extern "C" IL2CPP_METHOD_ATTR CertificateSelectionCallback_t3743405224 * SslClientStream_get_ClientCertSelectionDelegate_m473995521 (SslClientStream_t3914624661 * __this, const RuntimeMethod* method)
{
{
CertificateSelectionCallback_t3743405224 * L_0 = __this->get_ClientCertSelection_17();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.SslClientStream::set_ClientCertSelectionDelegate(Mono.Security.Protocol.Tls.CertificateSelectionCallback)
extern "C" IL2CPP_METHOD_ATTR void SslClientStream_set_ClientCertSelectionDelegate_m1261530976 (SslClientStream_t3914624661 * __this, CertificateSelectionCallback_t3743405224 * ___value0, const RuntimeMethod* method)
{
{
CertificateSelectionCallback_t3743405224 * L_0 = ___value0;
__this->set_ClientCertSelection_17(L_0);
return;
}
}
// Mono.Security.Protocol.Tls.PrivateKeySelectionCallback Mono.Security.Protocol.Tls.SslClientStream::get_PrivateKeyCertSelectionDelegate()
extern "C" IL2CPP_METHOD_ATTR PrivateKeySelectionCallback_t3240194217 * SslClientStream_get_PrivateKeyCertSelectionDelegate_m3868652817 (SslClientStream_t3914624661 * __this, const RuntimeMethod* method)
{
{
PrivateKeySelectionCallback_t3240194217 * L_0 = __this->get_PrivateKeySelection_18();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Tls.SslClientStream::set_PrivateKeyCertSelectionDelegate(Mono.Security.Protocol.Tls.PrivateKeySelectionCallback)
extern "C" IL2CPP_METHOD_ATTR void SslClientStream_set_PrivateKeyCertSelectionDelegate_m4100936974 (SslClientStream_t3914624661 * __this, PrivateKeySelectionCallback_t3240194217 * ___value0, const RuntimeMethod* method)
{
{
PrivateKeySelectionCallback_t3240194217 * L_0 = ___value0;
__this->set_PrivateKeySelection_18(L_0);
return;
}
}
// System.Void Mono.Security.Protocol.Tls.SslClientStream::Finalize()
extern "C" IL2CPP_METHOD_ATTR void SslClientStream_Finalize_m1251363641 (SslClientStream_t3914624661 * __this, const RuntimeMethod* method)
{
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
IL_0000:
try
{ // begin try (depth: 1)
SslStreamBase_Dispose_m3190415328(__this, (bool)0, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x13, FINALLY_000c);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000c;
}
FINALLY_000c:
{ // begin finally (depth: 1)
SslStreamBase_Finalize_m3260913635(__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_t *)
}
IL_0013:
{
return;
}
}
// System.Void Mono.Security.Protocol.Tls.SslClientStream::Dispose(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void SslClientStream_Dispose_m232031134 (SslClientStream_t3914624661 * __this, bool ___disposing0, const RuntimeMethod* method)
{
{
bool L_0 = ___disposing0;
SslStreamBase_Dispose_m3190415328(__this, L_0, /*hidden argument*/NULL);
bool L_1 = ___disposing0;
if (!L_1)
{
goto IL_0029;
}
}
{
__this->set_ServerCertValidation_16((CertificateValidationCallback_t4091668218 *)NULL);
__this->set_ClientCertSelection_17((CertificateSelectionCallback_t3743405224 *)NULL);
__this->set_PrivateKeySelection_18((PrivateKeySelectionCallback_t3240194217 *)NULL);
__this->set_ServerCertValidation2_19((CertificateValidationCallback2_t1842476440 *)NULL);
}
IL_0029:
{
return;
}
}
// System.IAsyncResult Mono.Security.Protocol.Tls.SslClientStream::OnBeginNegotiateHandshake(System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* SslClientStream_OnBeginNegotiateHandshake_m3734240069 (SslClientStream_t3914624661 * __this, AsyncCallback_t3962456242 * ___callback0, RuntimeObject * ___state1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslClientStream_OnBeginNegotiateHandshake_m3734240069_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TlsException_t3534743363 * V_0 = NULL;
Exception_t * V_1 = NULL;
RuntimeObject* V_2 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = -1;
NO_UNUSED_WARNING (__leave_target);
IL_0000:
try
{ // begin try (depth: 1)
{
Context_t3971234707 * L_0 = ((SslStreamBase_t1667413407 *)__this)->get_context_5();
int32_t L_1 = Context_get_HandshakeState_m2425796590(L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_001b;
}
}
IL_0010:
{
Context_t3971234707 * L_2 = ((SslStreamBase_t1667413407 *)__this)->get_context_5();
VirtActionInvoker0::Invoke(4 /* System.Void Mono.Security.Protocol.Tls.Context::Clear() */, L_2);
}
IL_001b:
{
Context_t3971234707 * L_3 = ((SslStreamBase_t1667413407 *)__this)->get_context_5();
Context_t3971234707 * L_4 = ((SslStreamBase_t1667413407 *)__this)->get_context_5();
int32_t L_5 = Context_get_SecurityProtocol_m3228286292(L_4, /*hidden argument*/NULL);
CipherSuiteCollection_t1129639304 * L_6 = CipherSuiteFactory_GetSupportedCiphers_m3260014148(NULL /*static, unused*/, L_5, /*hidden argument*/NULL);
Context_set_SupportedCiphers_m4238648387(L_3, L_6, /*hidden argument*/NULL);
Context_t3971234707 * L_7 = ((SslStreamBase_t1667413407 *)__this)->get_context_5();
Context_set_HandshakeState_m1329976135(L_7, 1, /*hidden argument*/NULL);
RecordProtocol_t3759049701 * L_8 = ((SslStreamBase_t1667413407 *)__this)->get_protocol_6();
AsyncCallback_t3962456242 * L_9 = ___callback0;
RuntimeObject * L_10 = ___state1;
RuntimeObject* L_11 = RecordProtocol_BeginSendRecord_m615249746(L_8, 1, L_9, L_10, /*hidden argument*/NULL);
V_2 = L_11;
goto IL_009d;
}
IL_0056:
{
; // IL_0056: leave IL_009d
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (TlsException_t3534743363_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_005b;
if(il2cpp_codegen_class_is_assignable_from (Exception_t_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_007e;
throw e;
}
CATCH_005b:
{ // begin catch(Mono.Security.Protocol.Tls.TlsException)
{
V_0 = ((TlsException_t3534743363 *)__exception_local);
RecordProtocol_t3759049701 * L_12 = ((SslStreamBase_t1667413407 *)__this)->get_protocol_6();
TlsException_t3534743363 * L_13 = V_0;
Alert_t4059934885 * L_14 = TlsException_get_Alert_m1206526559(L_13, /*hidden argument*/NULL);
RecordProtocol_SendAlert_m3736432480(L_12, L_14, /*hidden argument*/NULL);
TlsException_t3534743363 * L_15 = V_0;
IOException_t4088381929 * L_16 = (IOException_t4088381929 *)il2cpp_codegen_object_new(IOException_t4088381929_il2cpp_TypeInfo_var);
IOException__ctor_m3246761956(L_16, _stringLiteral1867853257, L_15, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_16, NULL, SslClientStream_OnBeginNegotiateHandshake_m3734240069_RuntimeMethod_var);
}
IL_0079:
{
goto IL_009d;
}
} // end catch (depth: 1)
CATCH_007e:
{ // begin catch(System.Exception)
{
V_1 = ((Exception_t *)__exception_local);
RecordProtocol_t3759049701 * L_17 = ((SslStreamBase_t1667413407 *)__this)->get_protocol_6();
RecordProtocol_SendAlert_m1931708341(L_17, ((int32_t)80), /*hidden argument*/NULL);
Exception_t * L_18 = V_1;
IOException_t4088381929 * L_19 = (IOException_t4088381929 *)il2cpp_codegen_object_new(IOException_t4088381929_il2cpp_TypeInfo_var);
IOException__ctor_m3246761956(L_19, _stringLiteral1867853257, L_18, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_19, NULL, SslClientStream_OnBeginNegotiateHandshake_m3734240069_RuntimeMethod_var);
}
IL_0098:
{
goto IL_009d;
}
} // end catch (depth: 1)
IL_009d:
{
RuntimeObject* L_20 = V_2;
return L_20;
}
}
// System.Void Mono.Security.Protocol.Tls.SslClientStream::SafeReceiveRecord(System.IO.Stream)
extern "C" IL2CPP_METHOD_ATTR void SslClientStream_SafeReceiveRecord_m2217679740 (SslClientStream_t3914624661 * __this, Stream_t1273022909 * ___s0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslClientStream_SafeReceiveRecord_m2217679740_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_t4116647657* V_0 = NULL;
{
RecordProtocol_t3759049701 * L_0 = ((SslStreamBase_t1667413407 *)__this)->get_protocol_6();
Stream_t1273022909 * L_1 = ___s0;
ByteU5BU5D_t4116647657* L_2 = RecordProtocol_ReceiveRecord_m3797641756(L_0, L_1, /*hidden argument*/NULL);
V_0 = L_2;
ByteU5BU5D_t4116647657* L_3 = V_0;
if (!L_3)
{
goto IL_001b;
}
}
{
ByteU5BU5D_t4116647657* L_4 = V_0;
if ((((int32_t)((int32_t)(((RuntimeArray *)L_4)->max_length)))))
{
goto IL_0028;
}
}
IL_001b:
{
TlsException_t3534743363 * L_5 = (TlsException_t3534743363 *)il2cpp_codegen_object_new(TlsException_t3534743363_il2cpp_TypeInfo_var);
TlsException__ctor_m3242533711(L_5, ((int32_t)40), _stringLiteral1381488752, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, SslClientStream_SafeReceiveRecord_m2217679740_RuntimeMethod_var);
}
IL_0028:
{
return;
}
}
// System.Void Mono.Security.Protocol.Tls.SslClientStream::OnNegotiateHandshakeCallback(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void SslClientStream_OnNegotiateHandshakeCallback_m4211921295 (SslClientStream_t3914624661 * __this, RuntimeObject* ___asyncResult0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SslClientStream_OnNegotiateHandshakeCallback_m4211921295_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
int32_t G_B14_0 = 0;
{
RecordProtocol_t3759049701 * L_0 = ((SslStreamBase_t1667413407 *)__this)->get_protocol_6();
RuntimeObject* L_1 = ___asyncResult0;
RecordProtocol_EndSendRecord_m4264777321(L_0, L_1, /*hidden argument*/NULL);
goto IL_0043;
}
IL_0011:
{
Stream_t1273022909 * L_2 = ((SslStreamBase_t1667413407 *)__this)->get_innerStream_3();
SslClientStream_SafeReceiveRecord_m2217679740(__this, L_2, /*hidden argument*/NULL);
Context_t3971234707 * L_3 = ((SslStreamBase_t1667413407 *)__this)->get_context_5();
bool L_4 = Context_get_AbbreviatedHandshake_m3907920227(L_3, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_0043;
}
}
{
Context_t3971234707 * L_5 = ((SslStreamBase_t1667413407 *)__this)->get_context_5();
uint8_t L_6 = Context_get_LastHandshakeMsg_m2730646725(L_5, /*hidden argument*/NULL);
if ((!(((uint32_t)L_6) == ((uint32_t)2))))
{
goto IL_0043;
}
}
{
goto IL_0055;
}
IL_0043:
{
Context_t3971234707 * L_7 = ((SslStreamBase_t1667413407 *)__this)->get_context_5();
uint8_t L_8 = Context_get_LastHandshakeMsg_m2730646725(L_7, /*hidden argument*/NULL);
if ((!(((uint32_t)L_8) == ((uint32_t)((int32_t)14)))))
{
goto IL_0011;
}
}
IL_0055:
{
Context_t3971234707 * L_9 = ((SslStreamBase_t1667413407 *)__this)->get_context_5();
bool L_10 = Context_get_AbbreviatedHandshake_m3907920227(L_9, /*hidden argument*/NULL);
if (!L_10)
{
goto IL_00da;
}
}
{
Context_t3971234707 * L_11 = ((SslStreamBase_t1667413407 *)__this)->get_context_5();
IL2CPP_RUNTIME_CLASS_INIT(ClientSessionCache_t2353595803_il2cpp_TypeInfo_var);
ClientSessionCache_SetContextFromCache_m3781380849(NULL /*static, unused*/, L_11, /*hidden argument*/NULL);
Context_t3971234707 * L_12 = ((SslStreamBase_t1667413407 *)__this)->get_context_5();
SecurityParameters_t2199972650 * L_13 = Context_get_Negotiating_m2044579817(L_12, /*hidden argument*/NULL);
CipherSuite_t3414744575 * L_14 = SecurityParameters_get_Cipher_m108846204(L_13, /*hidden argument*/NULL);
VirtActionInvoker0::Invoke(7 /* System.Void Mono.Security.Protocol.Tls.CipherSuite::ComputeKeys() */, L_14);
Context_t3971234707 * L_15 = ((SslStreamBase_t1667413407 *)__this)->get_context_5();
SecurityParameters_t2199972650 * L_16 = Context_get_Negotiating_m2044579817(L_15, /*hidden argument*/NULL);
CipherSuite_t3414744575 * L_17 = SecurityParameters_get_Cipher_m108846204(L_16, /*hidden argument*/NULL);
CipherSuite_InitializeCipher_m2397698608(L_17, /*hidden argument*/NULL);
RecordProtocol_t3759049701 * L_18 = ((SslStreamBase_t1667413407 *)__this)->get_protocol_6();
RecordProtocol_SendChangeCipherSpec_m464005157(L_18, /*hidden argument*/NULL);
goto IL_00b7;
}
IL_00ab:
{
Stream_t1273022909 * L_19 = ((SslStreamBase_t1667413407 *)__this)->get_innerStream_3();
SslClientStream_SafeReceiveRecord_m2217679740(__this, L_19, /*hidden argument*/NULL);
}
IL_00b7:
{
Context_t3971234707 * L_20 = ((SslStreamBase_t1667413407 *)__this)->get_context_5();
int32_t L_21 = Context_get_HandshakeState_m2425796590(L_20, /*hidden argument*/NULL);
if ((!(((uint32_t)L_21) == ((uint32_t)2))))
{
goto IL_00ab;
}
}
{
RecordProtocol_t3759049701 * L_22 = ((SslStreamBase_t1667413407 *)__this)->get_protocol_6();
VirtActionInvoker1< uint8_t >::Invoke(4 /* System.Void Mono.Security.Protocol.Tls.RecordProtocol::SendRecord(Mono.Security.Protocol.Tls.Handshake.HandshakeType) */, L_22, ((int32_t)20));
goto IL_01c5;
}
IL_00da:
{
Context_t3971234707 * L_23 = ((SslStreamBase_t1667413407 *)__this)->get_context_5();
TlsServerSettings_t4144396432 * L_24 = Context_get_ServerSettings_m1982578801(L_23, /*hidden argument*/NULL);
bool L_25 = TlsServerSettings_get_CertificateRequest_m842655670(L_24, /*hidden argument*/NULL);
V_0 = L_25;
Context_t3971234707 * L_26 = ((SslStreamBase_t1667413407 *)__this)->get_context_5();
int32_t L_27 = Context_get_SecurityProtocol_m3228286292(L_26, /*hidden argument*/NULL);
if ((!(((uint32_t)L_27) == ((uint32_t)((int32_t)48)))))
{
goto IL_012e;
}
}
{
Context_t3971234707 * L_28 = ((SslStreamBase_t1667413407 *)__this)->get_context_5();
TlsClientSettings_t2486039503 * L_29 = Context_get_ClientSettings_m2874391194(L_28, /*hidden argument*/NULL);
X509CertificateCollection_t3399372417 * L_30 = TlsClientSettings_get_Certificates_m2671943654(L_29, /*hidden argument*/NULL);
if (!L_30)
{
goto IL_012c;
}
}
{
Context_t3971234707 * L_31 = ((SslStreamBase_t1667413407 *)__this)->get_context_5();
TlsClientSettings_t2486039503 * L_32 = Context_get_ClientSettings_m2874391194(L_31, /*hidden argument*/NULL);
X509CertificateCollection_t3399372417 * L_33 = TlsClientSettings_get_Certificates_m2671943654(L_32, /*hidden argument*/NULL);
int32_t L_34 = CollectionBase_get_Count_m1708965601(L_33, /*hidden argument*/NULL);
G_B14_0 = ((((int32_t)L_34) > ((int32_t)0))? 1 : 0);
goto IL_012d;
}
IL_012c:
{
G_B14_0 = 0;
}
IL_012d:
{
V_0 = (bool)G_B14_0;
}
IL_012e:
{
bool L_35 = V_0;
if (!L_35)
{
goto IL_0141;
}
}
{
RecordProtocol_t3759049701 * L_36 = ((SslStreamBase_t1667413407 *)__this)->get_protocol_6();
VirtActionInvoker1< uint8_t >::Invoke(4 /* System.Void Mono.Security.Protocol.Tls.RecordProtocol::SendRecord(Mono.Security.Protocol.Tls.Handshake.HandshakeType) */, L_36, ((int32_t)11));
}
IL_0141:
{
RecordProtocol_t3759049701 * L_37 = ((SslStreamBase_t1667413407 *)__this)->get_protocol_6();
VirtActionInvoker1< uint8_t >::Invoke(4 /* System.Void Mono.Security.Protocol.Tls.RecordProtocol::SendRecord(Mono.Security.Protocol.Tls.Handshake.HandshakeType) */, L_37, ((int32_t)16));
Context_t3971234707 * L_38 = ((SslStreamBase_t1667413407 *)__this)->get_context_5();
SecurityParameters_t2199972650 * L_39 = Context_get_Negotiating_m2044579817(L_38, /*hidden argument*/NULL);
CipherSuite_t3414744575 * L_40 = SecurityParameters_get_Cipher_m108846204(L_39, /*hidden argument*/NULL);
CipherSuite_InitializeCipher_m2397698608(L_40, /*hidden argument*/NULL);
bool L_41 = V_0;
if (!L_41)
{
goto IL_018b;
}
}
{
Context_t3971234707 * L_42 = ((SslStreamBase_t1667413407 *)__this)->get_context_5();
TlsClientSettings_t2486039503 * L_43 = Context_get_ClientSettings_m2874391194(L_42, /*hidden argument*/NULL);
X509Certificate_t713131622 * L_44 = TlsClientSettings_get_ClientCertificate_m3139459118(L_43, /*hidden argument*/NULL);
if (!L_44)
{
goto IL_018b;
}
}
{
RecordProtocol_t3759049701 * L_45 = ((SslStreamBase_t1667413407 *)__this)->get_protocol_6();
VirtActionInvoker1< uint8_t >::Invoke(4 /* System.Void Mono.Security.Protocol.Tls.RecordProtocol::SendRecord(Mono.Security.Protocol.Tls.Handshake.HandshakeType) */, L_45, ((int32_t)15));
}
IL_018b:
{
RecordProtocol_t3759049701 * L_46 = ((SslStreamBase_t1667413407 *)__this)->get_protocol_6();
RecordProtocol_SendChangeCipherSpec_m464005157(L_46, /*hidden argument*/NULL);
RecordProtocol_t3759049701 * L_47 = ((SslStreamBase_t1667413407 *)__this)->get_protocol_6();
VirtActionInvoker1< uint8_t >::Invoke(4 /* System.Void Mono.Security.Protocol.Tls.RecordProtocol::SendRecord(Mono.Security.Protocol.Tls.Handshake.HandshakeType) */, L_47, ((int32_t)20));
goto IL_01b4;
}
IL_01a8:
{
Stream_t1273022909 * L_48 = ((SslStreamBase_t1667413407 *)__this)->get_innerStream_3();
SslClientStream_SafeReceiveRecord_m2217679740(__this, L_48, /*hidden argument*/NULL);
}
IL_01b4:
{
Context_t3971234707 * L_49 = ((SslStreamBase_t1667413407 *)__this)->get_context_5();
int32_t L_50 = Context_get_HandshakeState_m2425796590(L_49, /*hidden argument*/NULL);
if ((!(((uint32_t)L_50) == ((uint32_t)2))))
{
goto IL_01a8;
}
}
IL_01c5:
{
Context_t3971234707 * L_51 = ((SslStreamBase_t1667413407 *)__this)->get_context_5();
TlsStream_t2365453965 * L_52 = Context_get_HandshakeMessages_m3655705111(L_51, /*hidden argument*/NULL);
TlsStream_Reset_m369197964(L_52, /*hidden argument*/NULL);
Context_t3971234707 * L_53 = ((SslStreamBase_t1667413407 *)__this)->get_context_5();
VirtActionInvoker0::Invoke(5 /* System.Void Mono.Security.Protocol.Tls.Context::ClearKeyInfo() */, L_53);
return;
}
}
// System.Security.Cryptography.X509Certificates.X509Certificate Mono.Security.Protocol.Tls.SslClientStream::OnLocalCertificateSelection(System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Cryptography.X509Certificates.X509Certificate,System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection)
extern "C" IL2CPP_METHOD_ATTR X509Certificate_t713131622 * SslClientStream_OnLocalCertificateSelection_m205226847 (SslClientStream_t3914624661 * __this, X509CertificateCollection_t3399372417 * ___clientCertificates0, X509Certificate_t713131622 * ___serverCertificate1, String_t* ___targetHost2, X509CertificateCollection_t3399372417 * ___serverRequestedCertificates3, const RuntimeMethod* method)
{
{
CertificateSelectionCallback_t3743405224 * L_0 = __this->get_ClientCertSelection_17();
if (!L_0)
{
goto IL_001c;
}
}
{
CertificateSelectionCallback_t3743405224 * L_1 = __this->get_ClientCertSelection_17();
X509CertificateCollection_t3399372417 * L_2 = ___clientCertificates0;
X509Certificate_t713131622 * L_3 = ___serverCertificate1;
String_t* L_4 = ___targetHost2;
X509CertificateCollection_t3399372417 * L_5 = ___serverRequestedCertificates3;
X509Certificate_t713131622 * L_6 = CertificateSelectionCallback_Invoke_m3129973019(L_1, L_2, L_3, L_4, L_5, /*hidden argument*/NULL);
return L_6;
}
IL_001c:
{
return (X509Certificate_t713131622 *)NULL;
}
}
// System.Boolean Mono.Security.Protocol.Tls.SslClientStream::get_HaveRemoteValidation2Callback()
extern "C" IL2CPP_METHOD_ATTR bool SslClientStream_get_HaveRemoteValidation2Callback_m2858953511 (SslClientStream_t3914624661 * __this, const RuntimeMethod* method)
{
{
CertificateValidationCallback2_t1842476440 * L_0 = __this->get_ServerCertValidation2_19();
return (bool)((((int32_t)((((RuntimeObject*)(CertificateValidationCallback2_t1842476440 *)L_0) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0)) == ((int32_t)0))? 1 : 0);
}
}
// Mono.Security.Protocol.Tls.ValidationResult Mono.Security.Protocol.Tls.SslClientStream::OnRemoteCertificateValidation2(Mono.Security.X509.X509CertificateCollection)
extern "C" IL2CPP_METHOD_ATTR ValidationResult_t3834298736 * SslClientStream_OnRemoteCertificateValidation2_m2342781980 (SslClientStream_t3914624661 * __this, X509CertificateCollection_t1542168550 * ___collection0, const RuntimeMethod* method)
{
CertificateValidationCallback2_t1842476440 * V_0 = NULL;
{
CertificateValidationCallback2_t1842476440 * L_0 = __this->get_ServerCertValidation2_19();
V_0 = L_0;
CertificateValidationCallback2_t1842476440 * L_1 = V_0;
if (!L_1)
{
goto IL_0015;
}
}
{
CertificateValidationCallback2_t1842476440 * L_2 = V_0;
X509CertificateCollection_t1542168550 * L_3 = ___collection0;
ValidationResult_t3834298736 * L_4 = CertificateValidationCallback2_Invoke_m3381554834(L_2, L_3, /*hidden argument*/NULL);
return L_4;
}
IL_0015:
{
return (ValidationResult_t3834298736 *)NULL;
}
}
// System.Boolean Mono.Security.Protocol.Tls.SslClientStream::OnRemoteCertificateValidation(System.Security.Cryptography.X509Certificates.X509Certificate,System.Int32[])
extern "C" IL2CPP_METHOD_ATTR bool SslClientStream_OnRemoteCertificateValidation_m2343517080 (SslClientStream_t3914624661 * __this, X509Certificate_t713131622 * ___certificate0, Int32U5BU5D_t385246372* ___errors1, const RuntimeMethod* method)
{
int32_t G_B5_0 = 0;
{
CertificateValidationCallback_t4091668218 * L_0 = __this->get_ServerCertValidation_16();
if (!L_0)
{
goto IL_0019;
}
}
{
CertificateValidationCallback_t4091668218 * L_1 = __this->get_ServerCertValidation_16();
X509Certificate_t713131622 * L_2 = ___certificate0;
Int32U5BU5D_t385246372* L_3 = ___errors1;
bool L_4 = CertificateValidationCallback_Invoke_m1014111289(L_1, L_2, L_3, /*hidden argument*/NULL);
return L_4;
}
IL_0019:
{
Int32U5BU5D_t385246372* L_5 = ___errors1;
if (!L_5)
{
goto IL_0027;
}
}
{
Int32U5BU5D_t385246372* L_6 = ___errors1;
G_B5_0 = ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_6)->max_length))))) == ((int32_t)0))? 1 : 0);
goto IL_0028;
}
IL_0027:
{
G_B5_0 = 0;
}
IL_0028:
{
return (bool)G_B5_0;
}
}
// System.Boolean Mono.Security.Protocol.Tls.SslClientStream::RaiseServerCertificateValidation(System.Security.Cryptography.X509Certificates.X509Certificate,System.Int32[])
extern "C" IL2CPP_METHOD_ATTR bool SslClientStream_RaiseServerCertificateValidation_m3477149273 (SslClientStream_t3914624661 * __this, X509Certificate_t713131622 * ___certificate0, Int32U5BU5D_t385246372* ___certificateErrors1, const RuntimeMethod* method)
{
{
X509Certificate_t713131622 * L_0 = ___certificate0;
Int32U5BU5D_t385246372* L_1 = ___certificateErrors1;
bool L_2 = SslStreamBase_RaiseRemoteCertificateValidation_m944390272(__this, L_0, L_1, /*hidden argument*/NULL);
return L_2;
}
}
// Mono.Security.Protocol.Tls.ValidationResult Mono.Security.Protocol.Tls.SslClientStream::RaiseServerCertificateValidation2(Mono.Security.X509.X509CertificateCollection)
extern "C" IL2CPP_METHOD_ATTR ValidationResult_t3834298736 * SslClientStream_RaiseServerCertificateValidation2_m2589974695 (SslClientStream_t3914624661 * __this, X509CertificateCollection_t1542168550 * ___collection0, const RuntimeMethod* method)
{
{
X509CertificateCollection_t1542168550 * L_0 = ___collection0;
ValidationResult_t3834298736 * L_1 = SslStreamBase_RaiseRemoteCertificateValidation2_m2908038766(__this, L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Security.Cryptography.X509Certificates.X509Certificate Mono.Security.Protocol.Tls.SslClientStream::RaiseClientCertificateSelection(System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Cryptography.X509Certificates.X509Certificate,System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection)
extern "C" IL2CPP_METHOD_ATTR X509Certificate_t713131622 * SslClientStream_RaiseClientCertificateSelection_m3936211295 (SslClientStream_t3914624661 * __this, X509CertificateCollection_t3399372417 * ___clientCertificates0, X509Certificate_t713131622 * ___serverCertificate1, String_t* ___targetHost2, X509CertificateCollection_t3399372417 * ___serverRequestedCertificates3, const RuntimeMethod* method)
{
{
X509CertificateCollection_t3399372417 * L_0 = ___clientCertificates0;
X509Certificate_t713131622 * L_1 = ___serverCertificate1;
String_t* L_2 = ___targetHost2;
X509CertificateCollection_t3399372417 * L_3 = ___serverRequestedCertificates3;
X509Certificate_t713131622 * L_4 = SslStreamBase_RaiseLocalCertificateSelection_m980106471(__this, L_0, L_1, L_2, L_3, /*hidden argument*/NULL);
return L_4;
}
}
// System.Security.Cryptography.AsymmetricAlgorithm Mono.Security.Protocol.Tls.SslClientStream::OnLocalPrivateKeySelection(System.Security.Cryptography.X509Certificates.X509Certificate,System.String)
extern "C" IL2CPP_METHOD_ATTR AsymmetricAlgorithm_t932037087 * SslClientStream_OnLocalPrivateKeySelection_m1934775249 (SslClientStream_t3914624661 * __this, X509Certificate_t713131622 * ___certificate0, String_t* ___targetHost1, const RuntimeMethod* method)
{
{
PrivateKeySelectionCallback_t3240194217 * L_0 = __this->get_PrivateKeySelection_18();
if (!L_0)
{
goto IL_0019;
}
}
{
PrivateKeySelectionCallback_t3240194217 * L_1 = __this->get_PrivateKeySelection_18();
X509Certificate_t713131622 * L_2 = ___certificate0;
String_t* L_3 = ___targetHost1;
AsymmetricAlgorithm_t932037087 * L_4 = PrivateKeySelectionCallback_Invoke_m921844982(L_1, L_2, L_3, /*hidden argument*/NULL);
return L_4;
}
IL_0019:
{
return (AsymmetricAlgorithm_t932037087 *)NULL;
}
}
// System.Security.Cryptography.AsymmetricAlgorithm Mono.Security.Protocol.Tls.SslClientStream::RaisePrivateKeySelection(System.Security.Cryptography.X509Certificates.X509Certificate,System.String)
extern "C" IL2CPP_METHOD_ATTR AsymmetricAlgorithm_t932037087 * SslClientStream_RaisePrivateKeySelection_m3394190501 (SslClientStream_t3914624661 * __this, X509Certificate_t713131622 * ___certificate0, String_t* ___targetHost1, const RuntimeMethod* method)
{
{
X509Certificate_t713131622 * L_0 = ___certificate0;
String_t* L_1 = ___targetHost1;
AsymmetricAlgorithm_t932037087 * L_2 = SslStreamBase_RaiseLocalPrivateKeySelection_m4112368540(__this, L_0, L_1, /*hidden argument*/NULL);
return L_2;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
| [
"duncan.westerdijk@quicknet.nl"
] | duncan.westerdijk@quicknet.nl |
f346f64cbeadb4c7a9b4e5913dcb82b9d923e0f7 | 633ae1a2eb5151143dbe3744eb7fe70ba1112812 | /Chip-8/src/main.cpp | ad419783433c3b16aedbb8d8e16c07d8ad8e98f0 | [
"MIT"
] | permissive | MehTheHedgehog/Chiper8 | ff6118892082e91f47ef3155d93d36be215c4619 | 65cd16684e3edadb78dc27a32fa0dbe34cb1d46a | refs/heads/master | 2021-01-01T16:31:39.488061 | 2017-07-21T22:21:38 | 2017-07-21T22:21:38 | 97,849,987 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,433 | cpp | #include <string>
#include <tclap/CmdLine.h>
#include "SubSystem\Emulator.hpp"
int main(int argc, char** argv)
{
bool isDebug = false;
std::string strFileName;
//Parsing Command line arguments
try {
TCLAP::CmdLine cmd("Chip-8 emulator", ' ', "0.0.1a");
TCLAP::UnlabeledValueArg<std::string> fileArg("file", "Patch to executable Chip-8 file", true, "", "path_to_file", cmd);
TCLAP::SwitchArg dbgArg("d", "debug", "Display debug information about running program", cmd);
cmd.parse(argc, argv);
strFileName = fileArg.getValue();
isDebug = dbgArg.getValue();
}
catch (TCLAP::ArgException &e) {
std::cerr << "Exception while parsing args: " << e.error() << " for arg " << e.argId() << std::endl;
return 1;
}
FILE* progFile;
fopen_s(&progFile, strFileName.c_str(), "rb");
if (progFile == NULL) {
std::cerr << "Cannot open file!" << std::endl;
return 2;
}
fseek(progFile, 0, SEEK_END);
if (ftell(progFile) > 0xFFF - 0x200)
return 3;
unsigned char* buffer;
unsigned __int8 byteSize = ftell(progFile);
rewind(progFile);
// allocate memory to contain the whole file:
buffer = (unsigned char*)malloc(sizeof(char)*byteSize);
if (buffer == NULL) { fputs("Memory error", stderr); exit(2); }
// copy the file into the buffer:
fread(buffer, 1, byteSize, progFile);
Emulator Chip8Emu;
Chip8Emu.setRAM(0x200, buffer, byteSize);
Chip8Emu.run();
// terminate
fclose(progFile);
free(buffer);
} | [
"mehthehedgehog@gmail.com"
] | mehthehedgehog@gmail.com |
9a87325c2c7c2703065440d75efc42e720bfeba2 | 4c0e956ba72bd9aeffae22ae4db32036a1c33a9e | /La_Library/demo43_41.cpp | 6349903686b079313e8d37254eeb2905812b4f85 | [] | no_license | dzylikecode/La_Library | 277650a3be19263acb9f5e83d86710498d5c884e | e46d126890bc1feb33ecac343588e096b478b525 | refs/heads/master | 2023-07-30T17:03:37.076898 | 2021-09-05T03:10:45 | 2021-09-05T03:10:45 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 9,360 | cpp |
/*
***************************************************************************************
* 程 序:
*
* 作 者: LaDzy
*
* 邮 箱: mathbewithcode@gmail.com
*
* 编译环境: Visual Studio 2019
*
* 创建时间: 2021/08/31 9:14:54
* 最后修改:
*
* 简 介:
*
***************************************************************************************
*/
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <conio.h>
#include <iostream>
#include "La_Windows.h"
#include "La_WinGDI.h"
#include "La_GameBox.h"
#include "La_Graphic.h"
#include "La_GraphicEx.h"
#include "La_Input.h"
#include "La_Audio.h"
#include "La_3D.h"
#include "La_Master.h"
using namespace std;
const int SCREEN_WIDTH = 800;
const int SCREEN_HEIGHT = 600;
FRAMECounter fpsSet;
GAMEBox gameBox;
using namespace AUDIO;
using namespace GDI;
using namespace GRAPHIC;
using namespace INPUT_;
KEYBOARD keyboard;
#define WINDOW_WIDTH SCREEN_WIDTH
#define WINDOW_HEIGHT SCREEN_HEIGHT
// defines for the game universe
#define UNIVERSE_RADIUS 4000
#define POINT_SIZE 200
#define NUM_POINTS_X (2*UNIVERSE_RADIUS/POINT_SIZE)
#define NUM_POINTS_Z (2*UNIVERSE_RADIUS/POINT_SIZE)
#define NUM_POINTS (NUM_POINTS_X*NUM_POINTS_Z)
// defines for objects
#define NUM_TOWERS 64 // 96
#define NUM_TANKS 32 // 24
#define TANK_SPEED 15
// initialize camera position and direction
VECTOR4D cam_pos = { 0,40,0 };
VECTOR4D cam_target = { 0,0,0 };
VECTOR4D cam_dir = { 0,0,0 };
// all your initialization code goes here...
VECTOR4D vscale = { 1.0,1.0,1.0 },
vpos = { 0,0,0 },
vrot = { 0,0,0 };
CAM4DV1 cam; // the single camera
OBJECT4DV1 obj_tower, // used to hold the master tower
obj_tank, // used to hold the master tank
obj_marker, // the ground marker
obj_player; // the player object
VECTOR4D towers[NUM_TOWERS],
tanks[NUM_TANKS];
RENDERLIST4DV1 rend_list; // the render list
void StartUp(void)
{
TSTRING path = TEXT("F:\\Git_WorkSpace\\La_Library\\La_Library\\Resource\\demo41\\");
// initialize the camera with 90 FOV, normalized coordinates
cam.set(
CAM_MODEL_EULER, // the euler model
cam_pos, // initial camera position
cam_dir, // initial camera angles
&cam_target, // no target
200.0, // near and far clipping planes
12000.0,
120.0, // field of view in degrees
WINDOW_WIDTH, // size of final screen viewport
WINDOW_HEIGHT);
LoadPLG(obj_tank, path + TEXT("tank3.plg"), vpos, VECTOR4D(0.75, 0.75, 0.75), vrot);
LoadPLG(obj_player, path + TEXT("tank2.plg"), vpos, VECTOR4D(0.75, 0.75, 0.75), vrot);
LoadPLG(obj_tower, path + TEXT("tower1.plg"), vpos, VECTOR4D(1.0, 2.0, 1.0), vrot);
LoadPLG(obj_marker, path + TEXT("marker1.plg"), vpos, VECTOR4D(3.0, 3.0, 3.0), vrot);
// position the tanks
for (int index = 0; index < NUM_TANKS; index++)
{
// randomly position the tanks
tanks[index].x = RAND_RANGE(-UNIVERSE_RADIUS, UNIVERSE_RADIUS);
tanks[index].y = 0; // obj_tank.max_radius;
tanks[index].z = RAND_RANGE(-UNIVERSE_RADIUS, UNIVERSE_RADIUS);
tanks[index].w = RAND_RANGE(0, 360);
}
// position the towers
for (int index = 0; index < NUM_TOWERS; index++)
{
// randomly position the tower
towers[index].x = RAND_RANGE(-UNIVERSE_RADIUS, UNIVERSE_RADIUS);
towers[index].y = 0; // obj_tower.max_radius;
towers[index].z = RAND_RANGE(-UNIVERSE_RADIUS, UNIVERSE_RADIUS);
}
keyboard.create();
fpsSet.set(30);
}
void GameBody(void)
{
if (KEY_DOWN(VK_ESCAPE))
gameBox.exitFromGameBody();
graphicOut.fillColor();
keyboard.read();
static MATRIX4X4 mrot; // general rotation matrix
// these are used to create a circling camera
static float view_angle = 0;
static float camera_distance = 6000;
static VECTOR4D pos = { 0,0,0 };
static float tank_speed;
static float turning = 0;
char work_string[256]; // temp string
// game logic here...
// draw the sky
DrawRectangle(0, 0, WINDOW_WIDTH - 1, WINDOW_HEIGHT / 2, RGB_DX(0, 140, 192));
// draw the ground
DrawRectangle(0, WINDOW_HEIGHT / 2, WINDOW_WIDTH - 1, WINDOW_HEIGHT - 1, RGB_DX(103, 62, 3));
// reset the render list
Reset(rend_list);
// allow user to move camera
// turbo
if (keyboard[DIK_SPACE]) tank_speed = 5 * TANK_SPEED;
else tank_speed = TANK_SPEED;
// forward/backward
if (keyboard[DIK_UP])
{
// move forward
cam.pos.x += tank_speed * SinFast(cam.dir.y);
cam.pos.z += tank_speed * CosFast(cam.dir.y);
}
if (keyboard[DIK_DOWN])
{
// move backward
cam.pos.x -= tank_speed * SinFast(cam.dir.y);
cam.pos.z -= tank_speed * CosFast(cam.dir.y);
}
// rotate
if (keyboard[DIK_RIGHT])
{
cam.dir.y += 3;
// add a little turn to object
if ((turning += 2) > 15)
turning = 15;
}
if (keyboard[DIK_LEFT])
{
cam.dir.y -= 3;
// add a little turn to object
if ((turning -= 2) < -15)
turning = -15;
}
else // center heading again
{
if (turning > 0)
turning -= 1;
else if (turning < 0)
turning += 1;
}
// generate camera matrix
BuildEuler(cam, CAM_ROT_SEQ_ZYX);
// insert the player into the world
// reset the object (this only matters for backface and object removal)
Reset(obj_player);
// set position of tank
obj_player.world_pos.x = cam.pos.x + 300 * SinFast(cam.dir.y);
obj_player.world_pos.y = cam.pos.y - 70;
obj_player.world_pos.z = cam.pos.z + 300 * CosFast(cam.dir.y);
// generate rotation matrix around y axis
BuildXYZRotation(0, cam.dir.y + turning, 0, mrot);
// rotate the local coords of the object
Transform(obj_player, mrot, TRANSFORM_LOCAL_TO_TRANS);
// perform world transform
ModelToWorld(obj_player, TRANSFORM_TRANS_ONLY);
// insert the object into render list
Insert2(rend_list, obj_player, 0, 0);
// insert the tanks in the world
for (int index = 0; index < NUM_TANKS; index++)
{
// reset the object (this only matters for backface and object removal)
Reset(obj_tank);
// generate rotation matrix around y axis
BuildXYZRotation(0, tanks[index].w, 0, mrot);
// rotate the local coords of the object
Transform(obj_tank, mrot, TRANSFORM_LOCAL_TO_TRANS);
// set position of tank
obj_tank.world_pos.x = tanks[index].x;
obj_tank.world_pos.y = tanks[index].y;
obj_tank.world_pos.z = tanks[index].z;
// attempt to cull object
if (!Cull(obj_tank, cam, CULL_OBJECT_XYZ_PLANES))
{
// if we get here then the object is visible at this world position
// so we can insert it into the rendering list
// perform local/model to world transform
ModelToWorld(obj_tank, TRANSFORM_TRANS_ONLY);
// insert the object into render list
Insert2(rend_list, obj_tank, 0, 0);
}
}
// insert the towers in the world
for (int index = 0; index < NUM_TOWERS; index++)
{
// reset the object (this only matters for backface and object removal)
Reset(obj_tower);
// set position of tower
obj_tower.world_pos.x = towers[index].x;
obj_tower.world_pos.y = towers[index].y;
obj_tower.world_pos.z = towers[index].z;
// attempt to cull object
if (!Cull(obj_tower, cam, CULL_OBJECT_XYZ_PLANES))
{
// if we get here then the object is visible at this world position
// so we can insert it into the rendering list
// perform local/model to world transform
ModelToWorld(obj_tower);
// insert the object into render list
Insert2(rend_list, obj_tower, 0, 0);
}
}
// insert the ground markers into the world
for (int index_x = 0; index_x < NUM_POINTS_X; index_x++)
for (int index_z = 0; index_z < NUM_POINTS_Z; index_z++)
{
// reset the object (this only matters for backface and object removal)
Reset(obj_marker);
// set position of tower
obj_marker.world_pos.x = RAND_RANGE(-10, 10) - UNIVERSE_RADIUS + index_x * POINT_SIZE;
obj_marker.world_pos.y = obj_marker.max_radius;
obj_marker.world_pos.z = RAND_RANGE(-10, 10) - UNIVERSE_RADIUS + index_z * POINT_SIZE;
// attempt to cull object
if (!Cull(obj_marker, cam, CULL_OBJECT_XYZ_PLANES))
{
// if we get here then the object is visible at this world position
// so we can insert it into the rendering list
// perform local/model to world transform
ModelToWorld(obj_marker);
// insert the object into render list
Insert2(rend_list, obj_marker, 0, 0);
}
}
// remove backfaces
RemoveBackfaces(rend_list, cam);
// apply world to camera transform
WorldToCamera(rend_list, cam);
// apply camera to perspective transformation
CameraToPerspective(rend_list, cam);
// apply screen transform
PerspectiveToScreen(rend_list, cam);
sprintf(work_string, "pos:[%f, %f, %f] heading:[%f] elev:[%f]",
cam.pos.x, cam.pos.y, cam.pos.z, cam.dir.y, cam.dir.x);
gPrintf(0, WINDOW_HEIGHT - 20, RGB(0, 255, 0), AToT(work_string));
// draw instructions
gPrintf(0, 0, RGB(0, 255, 0), TEXT("Press ESC to exit. Press Arrow Keys to Move. Space for TURBO."));
BeginDrawOn();
// render the object
DrawSolid(rend_list);
EndDrawOn();
fpsSet.adjust();
gPrintf(0, 0, RED_GDI, TEXT("%d"), fpsSet.get());
Flush();
}
void GameClose()
{
}
int main(int argc, char* argv[])
{
//gameBox.setWndMode(false, true);
gameBox.create(SCREEN_WIDTH, SCREEN_HEIGHT, TEXT("键盘控制移动"));
gameBox.setGameStart(StartUp);
gameBox.setGameBody(GameBody);
gameBox.setGameEnd(GameClose);
gameBox.startCommuication();
return argc;
}
| [
"1494977853@qq.com"
] | 1494977853@qq.com |
c8a8311151ccfa752ff7fbfc0bab0768eeeb5c21 | 3ad968797a01a4e4b9a87e2200eeb3fb47bf269a | /MFC CodeGuru/splitter/SplitterTog_source/SplitFrame.h | bf10ac6006fbf65faed545935c9aaa9069ac9ad5 | [] | no_license | LittleDrogon/MFC-Examples | 403641a1ae9b90e67fe242da3af6d9285698f10b | 1d8b5d19033409cd89da3aba3ec1695802c89a7a | refs/heads/main | 2023-03-20T22:53:02.590825 | 2020-12-31T09:56:37 | 2020-12-31T09:56:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,133 | h | #if ! defined( __SPLITFRAME_H__ )
#define __SPLITFRAME_H__
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
/*
** Author: Guy Gascoigne - Piggford
** Internet: guy@wyrdrune.com
**
** You can use this source in any way you like as long as you don't try to sell it.
**
** Any attempt to sell this in source code form must have the permission
** of the original author. You can produce commercial executables with
** this source, but you may not sell it.
**
** Copyright, 1994-98 Guy Gascoigne - Piggford
**
*/
#include "TogSplitterWnd.h"
class CSplitFrame : public CMDIChildWnd
{
BOOL m_bInitialOrientation;
CSize m_splitSizes[2];
CTogSplitterWnd m_wndSplitter;
CRuntimeClass * m_pView1;
CRuntimeClass * m_pView2;
protected: // create from serialization / derivation only
CSplitFrame( CRuntimeClass * pView1, CRuntimeClass * pView2 );
DECLARE_DYNAMIC(CSplitFrame)
// Attributes
public:
BOOL BarIsHorizontal() const { return m_wndSplitter.BarIsHorizontal(); }
void SetInitialOrienation( BOOL bHoriz );
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSplitFrame)
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CSplitFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected: // control bar embedded members
void MakeSplitSizes( BOOL horizBar, CSize & sz1, CSize & sz2 );
// Generated message map functions
protected:
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
void viewSomeView( int iView );
CSize ReadCachedSize( BOOL horizBar );
void CacheSize();
//{{AFX_MSG(CSplitFrame)
afx_msg void OnToggleSplitter();
afx_msg void OnUpdateToggleSplitter(CCmdUI* pCmdUI);
afx_msg void OnViewBoth();
afx_msg void OnViewFirstView();
afx_msg void OnViewSecondView();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif //__SPLITFRAME_H__
| [
"pkedpekr@gmail.com"
] | pkedpekr@gmail.com |
07ee6988fb7b86e6fe9fb410facdd09df33dab39 | ab1712d65f8510a705a1f28064e4d3fc5a48cf64 | /SDK/SoT_WildRoseDefinition_classes.hpp | b8e743efd863e1aabd134859c109397f3b243e65 | [] | no_license | zk2013/SoT-SDK | 577f4e26ba969c3fa21a9191a210afc116a11dba | 04eb22c1c31aaa4d5cf822b0a816786c99e3ea2f | refs/heads/master | 2020-05-29T20:06:57.165354 | 2019-05-29T16:46:51 | 2019-05-29T16:46:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,063 | hpp | #pragma once
// Sea of Thieves (2.0) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_WildRoseDefinition_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass WildRoseDefinition.WildRoseDefinition_C
// 0x0148 (0x0170 - 0x0028)
class UWildRoseDefinition_C : public UTaleQuestDefinition
{
public:
struct FDS_WildRoseDefinition Definition; // 0x0028(0x0110) (Edit, BlueprintVisible)
class UQuestBookPageBundle* InitialBundle; // 0x0138(0x0008) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
class UQuestBookPageBundle* FinalBundle; // 0x0140(0x0008) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
class UAISpawner* Spawner; // 0x0148(0x0008) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
class UQuestBookPageBundle* DeathNote; // 0x0150(0x0008) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
class UQuestBookPageBundle* OurMemories; // 0x0158(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
TArray<class UAISpawner*> RookeEncounterSpawners; // 0x0160(0x0010) (Edit, BlueprintVisible, ZeroConstructor)
static UClass* StaticClass()
{
static auto ptr = UObject::FindObject<UClass>(_xor_("BlueprintGeneratedClass WildRoseDefinition.WildRoseDefinition_C"));
return ptr;
}
void GetIslandForActor(TAssetPtr<class AActor> Actor, struct FName* Name);
};
}
#ifdef _MSC_VER
#pragma pack(pop)
#endif
| [
"igromanru@yahoo.de"
] | igromanru@yahoo.de |
d967e9ce296f1e9863ada34d4923e275531e31aa | 9ce1f0f2652f81903f31452451bfd17ae6873623 | /Code/Tools/FBuild/FBuildCore/FBuild.cpp | 8f51ef7c788f1489e9edf36fcc2bc2d3508e4aa3 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive"
] | permissive | missmah/fastbuild | 7044b4f62b696956dbd1651b12262aa0bd052e06 | 310dcff973cf8e6902b2608cf72dbf928fe89e9c | refs/heads/master | 2021-01-19T16:50:38.890910 | 2017-04-14T19:27:44 | 2017-04-14T19:27:44 | 88,291,891 | 1 | 2 | null | 2019-10-30T04:37:30 | 2017-04-14T18:17:37 | C++ | UTF-8 | C++ | false | false | 21,962 | cpp | // FBuild - the main application
//------------------------------------------------------------------------------
// Includes
//------------------------------------------------------------------------------
#include "Tools/FBuild/FBuildCore/PrecompiledHeader.h"
#include "FBuild.h"
#include "FLog.h"
#include "BFF/BFFMacros.h"
#include "BFF/BFFParser.h"
#include "BFF/Functions/Function.h"
#include "Cache/ICache.h"
#include "Cache/Cache.h"
#include "Cache/CachePlugin.h"
#include "Graph/Node.h"
#include "Graph/NodeGraph.h"
#include "Graph/NodeProxy.h"
#include "Helpers/Report.h"
#include "Protocol/Client.h"
#include "Protocol/Protocol.h"
#include "WorkerPool/JobQueue.h"
#include "WorkerPool/WorkerThread.h"
#include "Core/Env/Assert.h"
#include "Core/Env/Env.h"
#include "Core/Env/Types.h"
#include "Core/FileIO/FileIO.h"
#include "Core/FileIO/FileStream.h"
#include "Core/FileIO/MemoryStream.h"
#include "Core/Math/xxHash.h"
#include "Core/Mem/SmallBlockAllocator.h"
#include "Core/Process/SystemMutex.h"
#include "Core/Profile/Profile.h"
#include "Core/Strings/AStackString.h"
#include "Core/Tracing/Tracing.h"
#include <stdio.h>
#include <time.h>
//#define DEBUG_CRT_MEMORY_USAGE // Uncomment this for (very slow) detailed mem checks
#ifdef DEBUG_CRT_MEMORY_USAGE
#include <crtdbg.h>
#endif
// Static
//------------------------------------------------------------------------------
/*static*/ bool FBuild::s_StopBuild( false );
// CONSTRUCTOR - FBuild
//------------------------------------------------------------------------------
FBuild::FBuild( const FBuildOptions & options )
: m_DependencyGraph( nullptr )
, m_JobQueue( nullptr )
, m_Client( nullptr )
, m_Cache( nullptr )
, m_LastProgressOutputTime( 0.0f )
, m_LastProgressCalcTime( 0.0f )
, m_SmoothedProgressCurrent( 0.0f )
, m_SmoothedProgressTarget( 0.0f )
, m_WorkerList( 0, true )
, m_EnvironmentString( nullptr )
, m_EnvironmentStringSize( 0 )
, m_ImportedEnvironmentVars( 0, true )
{
#ifdef DEBUG_CRT_MEMORY_USAGE
_CrtSetDbgFlag( _CRTDBG_ALLOC_MEM_DF |
_CRTDBG_CHECK_ALWAYS_DF | //_CRTDBG_CHECK_EVERY_16_DF |
_CRTDBG_CHECK_CRT_DF |
_CRTDBG_DELAY_FREE_MEM_DF |
_CRTDBG_LEAK_CHECK_DF );
#endif
m_Macros = FNEW( BFFMacros() );
// store all user provided options
m_Options = options;
// track the old working dir to restore if modified (mainly for unit tests)
VERIFY( FileIO::GetCurrentDir( m_OldWorkingDir ) );
// check for cache environment variable to use as default
AStackString<> cachePath;
if ( Env::GetEnvVariable( "FASTBUILD_CACHE_PATH", cachePath ) )
{
if ( cachePath.IsEmpty() == false )
{
SetCachePath( cachePath );
}
}
// poke options where required
FLog::SetShowInfo( m_Options.m_ShowInfo );
FLog::SetShowErrors( m_Options.m_ShowErrors );
FLog::SetShowProgress( m_Options.m_ShowProgress );
FLog::SetMonitorEnabled( m_Options.m_EnableMonitor );
Function::Create();
}
// DESTRUCTOR
//------------------------------------------------------------------------------
FBuild::~FBuild()
{
PROFILE_FUNCTION
Function::Destroy();
FDELETE m_Macros;
FDELETE m_DependencyGraph;
FDELETE m_Client;
FREE( m_EnvironmentString );
if ( m_Cache )
{
m_Cache->Shutdown();
FDELETE m_Cache;
}
// restore the old working dir to restore
ASSERT( !m_OldWorkingDir.IsEmpty() );
if ( !FileIO::SetCurrentDir( m_OldWorkingDir ) )
{
FLOG_ERROR( "Failed to restore working dir: '%s' (error: %u)", m_OldWorkingDir.Get(), Env::GetLastErr() );
}
}
// Initialize
//------------------------------------------------------------------------------
bool FBuild::Initialize( const char * nodeGraphDBFile )
{
PROFILE_FUNCTION
// handle working dir
if ( !FileIO::SetCurrentDir( m_Options.GetWorkingDir() ) )
{
FLOG_ERROR( "Failed to set working dir: '%s' (error: %u)", m_Options.GetWorkingDir().Get(), Env::GetLastErr() );
return false;
}
const char * bffFile = m_Options.m_ConfigFile.IsEmpty() ? GetDefaultBFFFileName()
: m_Options.m_ConfigFile.Get();
if ( nodeGraphDBFile != nullptr )
{
m_DependencyGraphFile = nodeGraphDBFile;
}
else
{
m_DependencyGraphFile = bffFile;
if ( m_DependencyGraphFile.EndsWithI( ".bff" ) )
{
m_DependencyGraphFile.SetLength( m_DependencyGraphFile.GetLength() - 4 );
}
m_DependencyGraphFile += ".fdb";
}
SmallBlockAllocator::SetSingleThreadedMode( true );
m_DependencyGraph = NodeGraph::Initialize( bffFile, m_DependencyGraphFile.Get() );
SmallBlockAllocator::SetSingleThreadedMode( false );
if ( m_DependencyGraph == nullptr )
{
return false;
}
// if the cache is enabled, make sure the path is set and accessible
if ( m_Options.m_UseCacheRead || m_Options.m_UseCacheWrite )
{
if ( !m_CachePluginDLL.IsEmpty() )
{
m_Cache = FNEW( CachePlugin( m_CachePluginDLL ) );
}
else
{
m_Cache = FNEW( Cache() );
}
if ( m_Cache->Init( m_CachePath ) == false )
{
m_Options.m_UseCacheRead = false;
m_Options.m_UseCacheWrite = false;
}
}
//
// create the connection management system if we might need it
if ( m_Options.m_AllowDistributed )
{
Array< AString > workers;
if ( m_WorkerList.IsEmpty() )
{
// check for workers through brokerage
// TODO:C This could be moved out of the main code path
m_WorkerBrokerage.FindWorkers( workers );
}
else
{
workers = m_WorkerList;
}
if ( workers.IsEmpty() )
{
FLOG_WARN( "No workers available - Distributed compilation disabled" );
m_Options.m_AllowDistributed = false;
}
else
{
OUTPUT( "Distributed Compilation : %u Workers in pool\n", workers.GetSize() );
m_Client = FNEW( Client( workers ) );
}
}
return true;
}
// Build
//------------------------------------------------------------------------------
bool FBuild::Build( const AString & target )
{
ASSERT( !target.IsEmpty() );
Array< AString > targets( 1, false );
targets.Append( target );
return Build( targets );
}
// Build
//------------------------------------------------------------------------------
bool FBuild::Build( const Array< AString > & targets )
{
ASSERT( !targets.IsEmpty() );
// Get the nodes for all the targets
const size_t numTargets = targets.GetSize();
Dependencies nodes( numTargets, 0 );
for ( size_t i=0; i<numTargets; ++i )
{
const AString & target = targets[ i ];
// get the node being requested (search for exact match, to find aliases etc first)
Node * node = m_DependencyGraph->FindNodeInternal( target );
if ( node == nullptr )
{
// failed to find the node, try looking for a fully pathed equivalent
node = m_DependencyGraph->FindNode( target );
}
if ( node == nullptr )
{
FLOG_ERROR( "Unknown build target '%s'", target.Get() );
// Gets the 5 targets with minimal distance to user input
Array< NodeGraph::NodeWithDistance > nearestNodes( 5, false );
m_DependencyGraph->FindNearestNodesInternal( target, nearestNodes, 0xFFFFFFFF );
if ( false == nearestNodes.IsEmpty() )
{
FLOG_WARN( "Did you mean one of these ?" );
const size_t count = nearestNodes.GetSize();
for ( size_t j = 0 ; j < count ; ++j )
FLOG_WARN( " %s", nearestNodes[j].m_Node->GetName().Get() );
}
return false;
}
nodes.Append( Dependency( node ) );
}
// create a temporary node, not hooked into the DB
NodeProxy proxy( AStackString< 32 >( "*proxy*" ) );
proxy.m_StaticDependencies = nodes;
// build all targets in one sweep
bool result = Build( &proxy );
// output per-target results
for ( size_t i=0; i<targets.GetSize(); ++i )
{
bool nodeResult = ( nodes[ i ].GetNode()->GetState() == Node::UP_TO_DATE );
OUTPUT( "FBuild: %s: %s\n", nodeResult ? "OK" : "Error: BUILD FAILED", targets[ i ].Get() );
}
return result;
}
// SaveDependencyGraph
//------------------------------------------------------------------------------
bool FBuild::SaveDependencyGraph( const char * nodeGraphDBFile ) const
{
ASSERT( nodeGraphDBFile != nullptr );
PROFILE_FUNCTION
FLOG_INFO( "Saving DepGraph '%s'", nodeGraphDBFile );
Timer t;
// serialize into memory first
MemoryStream memoryStream( 32 * 1024 * 1024, 8 * 1024 * 1024 );
m_DependencyGraph->Save( memoryStream, nodeGraphDBFile );
// We'll save to a tmp file first
AStackString<> tmpFileName( nodeGraphDBFile );
tmpFileName += ".tmp";
// Ensure output dir exists where we'll save the DB
const char * lastSlash = tmpFileName.FindLast( '/' );
lastSlash = lastSlash ? lastSlash : tmpFileName.FindLast( '\\' );
if ( lastSlash )
{
AStackString<> pathOnly( tmpFileName.Get(), lastSlash );
if ( FileIO::EnsurePathExists( pathOnly ) == false )
{
FLOG_ERROR( "Failed to create directory for DepGraph saving '%s'", pathOnly.Get() );
return false;
}
}
// try to open the file
FileStream fileStream;
if ( fileStream.Open( tmpFileName.Get(), FileStream::WRITE_ONLY ) == false )
{
// failing to open the dep graph for saving is a serious problem
FLOG_ERROR( "Failed to open DepGraph for saving '%s'", nodeGraphDBFile );
return false;
}
// write in-memory serialized data to disk
if ( fileStream.Write( memoryStream.GetData(), memoryStream.GetSize() ) != memoryStream.GetSize() )
{
FLOG_ERROR( "Saving DepGraph FAILED!" );
return false;
}
fileStream.Close();
// rename tmp file
if ( FileIO::FileMove( tmpFileName, AStackString<>( nodeGraphDBFile ) ) == false )
{
FLOG_ERROR( "Failed to rename temp DB file '%s' (%i)", tmpFileName.Get(), Env::GetLastErr() );
return false;
}
FLOG_INFO( "Saving DepGraph Complete in %2.3fs", t.GetElapsed() );
return true;
}
// SaveDependencyGraph
//------------------------------------------------------------------------------
void FBuild::SaveDependencyGraph( IOStream & stream, const char* nodeGraphDBFile ) const
{
m_DependencyGraph->Save( stream, nodeGraphDBFile );
}
// Build
//------------------------------------------------------------------------------
bool FBuild::Build( Node * nodeToBuild )
{
ASSERT( nodeToBuild );
s_StopBuild = false; // allow multiple runs in same process
// create worker threads
m_JobQueue = FNEW( JobQueue( m_Options.m_NumWorkerThreads ) );
m_Timer.Start();
m_LastProgressOutputTime = 0.0f;
m_LastProgressCalcTime = 0.0f;
m_SmoothedProgressCurrent = 0.0f;
m_SmoothedProgressTarget = 0.0f;
FLog::StartBuild();
// create worker dir for main thread build case
if ( m_Options.m_NumWorkerThreads == 0 )
{
WorkerThread::CreateThreadLocalTmpDir();
}
bool stopping( false );
// keep doing build passes until completed/failed
for ( ;; )
{
// process completed jobs
m_JobQueue->FinalizeCompletedJobs( *m_DependencyGraph );
if ( !stopping )
{
// do a sweep of the graph to create more jobs
m_DependencyGraph->DoBuildPass( nodeToBuild );
}
if ( m_Options.m_NumWorkerThreads == 0 )
{
// no local threads - do build directly
WorkerThread::Update();
}
bool complete = ( nodeToBuild->GetState() == Node::UP_TO_DATE ) ||
( nodeToBuild->GetState() == Node::FAILED );
if ( s_StopBuild || complete )
{
if ( stopping == false )
{
// free the network distribution system (if there is one)
FDELETE m_Client;
m_Client = nullptr;
// wait for workers to exit. Can still be building even though we've failed:
// - only 1 failed node propagating up to root while others are not yet complete
// - aborted build, so workers can be incomplete
m_JobQueue->SignalStopWorkers();
stopping = true;
}
}
if ( !stopping )
{
if ( m_Options.m_WrapperChild )
{
SystemMutex wrapperMutex( m_Options.GetMainProcessMutexName().Get() );
if ( wrapperMutex.TryLock() )
{
// parent process has terminated
s_StopBuild = true;
}
}
}
// completely stopped?
if ( stopping && m_JobQueue->HaveWorkersStopped() )
{
break;
}
// Wait until more work to process or time has elapsed
m_JobQueue->MainThreadWait( 500 );
// update progress
UpdateBuildStatus( nodeToBuild );
}
// wrap up/free any jobs that come from the last build pass
m_JobQueue->FinalizeCompletedJobs( *m_DependencyGraph );
FDELETE m_JobQueue;
m_JobQueue = nullptr;
FLog::StopBuild();
// even if the build has failed, we can still save the graph.
// This is desireable because:
// - it will save parsing the bff next time
// - it will record the items that did build, so they won't build again
if ( m_Options.m_SaveDBOnCompletion )
{
SaveDependencyGraph( m_DependencyGraphFile.Get() );
}
// TODO:C Move this into BuildStats
float timeTaken = m_Timer.GetElapsed();
m_BuildStats.m_TotalBuildTime = timeTaken;
m_BuildStats.OnBuildStop( nodeToBuild );
return ( nodeToBuild->GetState() == Node::UP_TO_DATE );
}
// SetEnvironmentString
//------------------------------------------------------------------------------
void FBuild::SetEnvironmentString( const char * envString, uint32_t size, const AString & libEnvVar )
{
FREE( m_EnvironmentString );
m_EnvironmentString = (char *)ALLOC( size + 1 );
m_EnvironmentStringSize = size;
AString::Copy( envString, m_EnvironmentString, size );
m_LibEnvVar = libEnvVar;
}
// ImportEnvironmentVar
//------------------------------------------------------------------------------
bool FBuild::ImportEnvironmentVar( const char * name, bool optional, AString & value, uint32_t & hash )
{
// check if system environment contains the variable
if ( Env::GetEnvVariable( name, value ) == false )
{
if ( !optional )
{
FLOG_ERROR( "Could not import environment variable '%s'", name );
return false;
}
// set the hash to the "missing variable" value of 0
hash = 0;
}
else
{
// compute hash value for actual value
hash = xxHash::Calc32( value );
}
// check if the environment var was already imported
const EnvironmentVarAndHash * it = m_ImportedEnvironmentVars.Begin();
const EnvironmentVarAndHash * const end = m_ImportedEnvironmentVars.End();
while ( it < end )
{
if ( it->GetName() == name )
{
// check if imported environment changed since last import
if ( it->GetHash() != hash )
{
FLOG_ERROR( "Overwriting imported environment variable '%s' with a different value = '%s'",
name, value.Get() );
return false;
}
// skip registration when already imported with same hash value
return true;
}
it++;
}
// import new variable name with its hash value
const EnvironmentVarAndHash var( name, hash );
m_ImportedEnvironmentVars.Append( var );
return true;
}
// GetLibEnvVar
//------------------------------------------------------------------------------
void FBuild::GetLibEnvVar( AString & value ) const
{
// has environment been overridden in BFF?
if ( m_EnvironmentString )
{
// use overridden LIB path (which maybe empty)
value = m_LibEnvVar;
}
else
{
// use real environment LIB path
Env::GetEnvVariable( "LIB", value );
}
}
// OnBuildError
//------------------------------------------------------------------------------
/*static*/ void FBuild::OnBuildError()
{
if ( FBuild::Get().GetOptions().m_StopOnFirstError )
{
s_StopBuild = true;
}
}
// UpdateBuildStatus
//------------------------------------------------------------------------------
void FBuild::UpdateBuildStatus( const Node * node )
{
PROFILE_FUNCTION
if ( FBuild::Get().GetOptions().m_ShowProgress == false )
{
if ( FBuild::Get().GetOptions().m_EnableMonitor == false )
{
return;
}
}
const float OUTPUT_FREQUENCY( 1.0f );
const float CALC_FREQUENCY( 5.0f );
float timeNow = m_Timer.GetElapsed();
bool doUpdate = ( ( timeNow - m_LastProgressOutputTime ) >= OUTPUT_FREQUENCY );
if ( doUpdate == false )
{
return;
}
// recalculate progress estimate?
if ( ( timeNow - m_LastProgressCalcTime ) >= CALC_FREQUENCY )
{
PROFILE_SECTION( "CalcPogress" )
FBuildStats & bs = m_BuildStats;
bs.m_NodeTimeProgressms = 0;
bs.m_NodeTimeTotalms = 0;
m_DependencyGraph->UpdateBuildStatus( node, bs.m_NodeTimeProgressms, bs.m_NodeTimeTotalms );
m_LastProgressCalcTime = m_Timer.GetElapsed();
// calculate percentage
float doneRatio = (float)( (double)bs.m_NodeTimeProgressms / (double)bs.m_NodeTimeTotalms );
// don't allow it to reach 100% (handles rounding inaccuracies)
float donePerc = Math::Min< float >( doneRatio * 100.0f, 99.9f );
// don't allow progress to go backwards
m_SmoothedProgressTarget = Math::Max< float >( donePerc, m_SmoothedProgressTarget );
}
m_SmoothedProgressCurrent = ( 0.5f * m_SmoothedProgressCurrent ) + ( m_SmoothedProgressTarget * 0.5f );
// get node counts
uint32_t numJobs = 0;
uint32_t numJobsActive = 0;
uint32_t numJobsDist = 0;
uint32_t numJobsDistActive = 0;
if ( JobQueue::IsValid() )
{
JobQueue::Get().GetJobStats( numJobs, numJobsActive, numJobsDist, numJobsDistActive );
}
if ( FBuild::Get().GetOptions().m_ShowProgress )
{
FLog::OutputProgress( timeNow, m_SmoothedProgressCurrent, numJobs, numJobsActive, numJobsDist, numJobsDistActive );
}
FLOG_MONITOR( "PROGRESS_STATUS %f \n", m_SmoothedProgressCurrent );
m_LastProgressOutputTime = timeNow;
}
// GetDefaultBFFFileName
//------------------------------------------------------------------------------
/*static*/ const char * FBuild::GetDefaultBFFFileName()
{
return "fbuild.bff";
}
// SetCachePath
//------------------------------------------------------------------------------
void FBuild::SetCachePath( const AString & path )
{
m_CachePath = path;
}
// GetCacheFileName
//------------------------------------------------------------------------------
void FBuild::GetCacheFileName( uint64_t keyA, uint32_t keyB, uint64_t keyC, uint64_t keyD, AString & path ) const
{
// cache version - bump if cache format is changed
static const int cacheVersion( 8 );
// format example: 2377DE32AB045A2D_FED872A1_AB62FEAA23498AAC-32A2B04375A2D7DE.7
path.Format( "%016llX_%08X_%016llX-%016llX.%u", keyA, keyB, keyC, keyD, cacheVersion );
}
// DisplayTargetList
//------------------------------------------------------------------------------
void FBuild::DisplayTargetList() const
{
OUTPUT( "FBuild: List of available targets\n" );
const size_t totalNodes = m_DependencyGraph->GetNodeCount();
for ( size_t i = 0; i < totalNodes; ++i )
{
Node * node = m_DependencyGraph->GetNodeByIndex( i );
bool displayName = false;
switch ( node->GetType() )
{
case Node::PROXY_NODE: ASSERT( false ); break;
case Node::COPY_FILE_NODE: break;
case Node::DIRECTORY_LIST_NODE: break;
case Node::EXEC_NODE: break;
case Node::FILE_NODE: break;
case Node::LIBRARY_NODE: break;
case Node::OBJECT_NODE: break;
case Node::ALIAS_NODE: displayName = true; break;
case Node::EXE_NODE: break;
case Node::CS_NODE: break;
case Node::UNITY_NODE: displayName = true; break;
case Node::TEST_NODE: break;
case Node::COMPILER_NODE: break;
case Node::DLL_NODE: break;
case Node::VCXPROJECT_NODE: break;
case Node::OBJECT_LIST_NODE: displayName = true; break;
case Node::COPY_DIR_NODE: break;
case Node::SLN_NODE: break;
case Node::REMOVE_DIR_NODE: break;
case Node::XCODEPROJECT_NODE: break;
case Node::NUM_NODE_TYPES: ASSERT( false ); break;
}
if ( displayName )
{
OUTPUT( "\t%s\n", node->GetName().Get() );
}
}
}
//------------------------------------------------------------------------------
| [
"franta.fulin@gmail.com"
] | franta.fulin@gmail.com |
d06d9d02dc25da3358c879f29b2b36551d71ba3c | 700bd6fb0f9eb2ec1d23ff39b069e5a3d7b26576 | /src/main.cpp | de74a6ea27d02346a50680020c25fa2823cd48ee | [] | no_license | iniwap/LeapMotion-SmallGame-With-OF | 6da32e0099cb8572ef51eba119cdd09c1214edd1 | c5fb0c97d4685c7cbeb4550d2ce33d36d584e3b9 | refs/heads/master | 2021-01-23T07:27:12.846640 | 2013-11-29T15:23:39 | 2013-11-29T15:23:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 413 | cpp | #include "ofMain.h"
#include "gameApp.h"
#include "ofAppGlutWindow.h"
//========================================================================
int main( ){
ofAppGlutWindow window;
ofSetupOpenGL(&window, 800,600, OF_WINDOW); // <-------- setup the GL context
// this kicks off the running of my app
// can be OF_WINDOW or OF_FULLSCREEN
// pass in width and height too:
ofRunApp( new gameApp());
}
| [
"iafun@iafuns-MacBook-Pro.local"
] | iafun@iafuns-MacBook-Pro.local |
def54fb831d8465aeb9d3f285236390c775cb212 | 13b25f161cc1f878c8aaa6e4635c20678068759f | /cplusplus_learning/rcf_client_learning/demo_client.cpp | aa4b7040febb591da6d00e883977e739ffd44887 | [] | no_license | JayL323/cpluspluslearning | d3df70859020e5758a68c1e74102f0dadba1b4e0 | 8f7912791bb15d6dd8019e42687f088c5270f94f | refs/heads/master | 2022-03-26T23:13:26.239058 | 2020-01-01T13:04:16 | 2020-01-01T13:05:06 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,012 | cpp | #include<iostream>
#include<iterator>
#include<RCF/RCF.hpp>
#include"demo_interface.h"
int main()
{
RCF::RcfInit rcfInit;
std::string ip = "127.0.0.1";
int port = 50001;
std::cout << "将要连接到" << ip << ":" << port << "\n";
std::vector<std::string> v;
v.push_back("one");
v.push_back("two");
v.push_back("three");
try
{
std::cout << "Before\n";
std::copy(v.begin(), v.end(), std::ostream_iterator<std::string>(std::cout, "\n"));
//RcfClient<I_DemoService>(RCF::TcpEndpoint(ip, port)).Reverse(v);
//RcfClient<I_DemoService> client = RcfClient<I_DemoService>(RCF::TcpEndpoint(ip,
// port));
RcfClient<I_DemoService> client((RCF::TcpEndpoint(ip,port)));
client.Reverse(v);
std::cout << "After\n";
std::copy(v.begin(), v.end(), std::ostream_iterator<std::string>(std::cout, "\n"));
}
catch (const RCF::Exception& e)
{
std::cout << "get exception\n";
std::cout << e.getErrorMessage();
}
std::cout << "按任意键退出\n";
std::cin.get();
return 0;
} | [
"942296928@qq.com"
] | 942296928@qq.com |
b5883035081eeeaf6a7d682e3a0aebdd2052ee70 | 2f10f807d3307b83293a521da600c02623cdda82 | /deps/boost/win/debug/include/boost/process/detail/windows/locale.hpp | da78bf0dd96785885ea645fdc9b3a5c7a89a1476 | [] | no_license | xpierrohk/dpt-rp1-cpp | 2ca4e377628363c3e9d41f88c8cbccc0fc2f1a1e | 643d053983fce3e6b099e2d3c9ab8387d0ea5a75 | refs/heads/master | 2021-05-23T08:19:48.823198 | 2019-07-26T17:35:28 | 2019-07-26T17:35:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | hpp | version https://git-lfs.github.com/spec/v1
oid sha256:70e4104c44c9ba6d080542f5bc81dbcdd1a77212c9e0d719105ca80ade49495d
size 3154
| [
"YLiLarry@gmail.com"
] | YLiLarry@gmail.com |
86c98c5a5047ab3e0626b58aa26bfd5f3605e144 | 21aa7d1dbf2b6ae0582797b653090d0fb13d4da0 | /common/include/common/ConsoleLogger.h | 94143f554b7eb1fc22d6a8f27b06c8426da73daf | [
"MIT",
"LicenseRef-scancode-unknown",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | define-private-public/SpvGenTwo | 3b4e66a7ffb0732a8b3d28cedb11a1430ac4c767 | 5ff86437a0548134e7a3173f97edbefb5bedf7c3 | refs/heads/master | 2022-11-27T11:20:01.073015 | 2020-07-30T13:56:09 | 2020-07-30T13:56:09 | 284,812,481 | 0 | 0 | MIT | 2020-08-03T21:37:30 | 2020-08-03T21:37:29 | null | UTF-8 | C++ | false | false | 345 | h | #pragma once
#include "spvgentwo/Logger.h"
namespace spvgentwo
{
class ConsoleLogger : public ILogger
{
public:
ConsoleLogger();
ConsoleLogger(const ConsoleLogger&) = delete;
ConsoleLogger(ConsoleLogger&&) = delete;
private:
static void LogImpl(ILogger* _pInstance, LogLevel _level, const char* _pFormat, ...);
};
} // !spvgentwo | [
"fwahlster@outlook.com"
] | fwahlster@outlook.com |
780021fc00970191d05fbc233e8c2baf8e05fd4d | f7d8dfb897e4ab2a6b2b769ab16e3093d7ff7dc1 | /main.cpp | 9233a2beb76ecd6ebff21d9aa14ad63fb2628ee2 | [] | no_license | Rogan003/SwimmingCareerSimulatorDemo | 228a85a0f4e63921ed087752b64bfd3993956ab5 | 3c41b31a2df75a858cc9b4c298d8d89b6262d716 | refs/heads/master | 2021-04-11T19:22:59.596928 | 2020-12-18T11:39:11 | 2020-12-18T11:39:11 | 249,046,687 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,347 | cpp | #include <iostream>
#include <cmath>
#include <ctime>
#include <cstdlib>
#include <list>
using namespace std;
enum drzava{Egipat,Jamajka,Srbija,Hrvatska,Svajcarska,Austrija,Italija,Rusija,Nemacka,Brazil,Australija,Kanada,Kina,VelikaBritanija,Japan,SAD};
enum Marka{TYR,Speedo,Arena};
#include "drzava.hpp"
#include "trener.hpp"
#include "bazen.hpp"
#include "oprema.hpp"
#include "uprava.hpp"
#include "plivaci.hpp"
#include "klub.hpp"
#include "porodica.hpp"
#include "drustvo.hpp"
#include "slobodnovreme.hpp"
#include "spavanje.hpp"
#include "opustanje.hpp"
#include "ljubav.hpp"
#include "zivot.hpp"
#include "tipicnaoprema.hpp"
#include "licnaoprema.hpp"
#include "treninzi.hpp"
#include "vodenitrening.hpp"
#include "teretana.hpp"
#include "suvi.hpp"
#include "trenazniproces.hpp"
#include "plivac.hpp"
int main()
{
srand(time(NULL));
int nedelja=1,mesec=1,godina=2020,jacina,izbor,ss=0,brtakm[2],d1[10],d2[10],d3[10],d4[10],dolaz;
int br[3]={0,0,0};
char l;
string ime,prezime;
int godine;
float rezultat,wrez=20.91,rez1=70.00,m[4],r[4];
string provera;
Plivac p1("","",0,0);
cout<<"Zdravo! Unesite ime, prezime i godine plivaca: ";
cin>>p1;
cout<<"Da li ste nekad ranije bili plivac? Unesite jednostavno da ili ne: ";
cin>>provera;
if(provera=="da"){
cout<<"Unesite rezultat koji ste imali: ";
cin>>rezultat;
}
else
rezultat=64.5;
if(rezultat==64.5)
p1.setPocetniRez(rezultat);
else
p1.setPocetniRez(rezultat+20);
p1.setBRez(rezultat);
bool odustajanje=false;
Plivac p2("Protivnik","Jedan",p1.getGodine(),rezultat-5);
Plivac p3("Protivnik","Dva",p1.getGodine(),rezultat-5);
Plivac p4("Protivnik","Tri",p1.getGodine(),rezultat-5);
system("cls");
do{
cout<<"Nedelja: "<<nedelja<<" Mesec: "<<mesec<<" Godina: "<<godina<<"("<<p1.getGodine()<<" godina)"<<endl;
if(nedelja==1 && mesec==1){
cout<<"Da li zelite da dodate bazen: ";
string rec;
cin>>rec;
if(rec=="da"){
cout<<"Unesite udaljenost: ";
int udalj;
cin>>udalj;
float us=(rand()%400+100)/100.00;
p1.dodajBazen(us,udalj);
}
cout<<"Unesite redni broj bazena na kom zelite da trenirate sl godine: ";
int baz;
cin>>baz;
bool pomocnaprom=false;
while(!pomocnaprom){
pomocnaprom=p1.izaberBazen(baz);
if(pomocnaprom==false){
cout<<"Nepostojeci redni broj bazena! Pokusajte ponovo: "<<endl;
cout<<"Unesite redni broj bazena na kom zelite da trenirate sl godine: ";
cin>>baz;
}
}
cout<<"Unesite koju opremu zelite da kupite(redom karbon,naocare,kapa,mrezica)(0-nista, 1-TYR, 2-Speedo, 3-Arena): ";
cin>>p1.getOprema();
cout<<"Koliko takmicenja zelite da imate ove godine: ";
cin>>brtakm[0];
cout<<"Koliko njih ce biti ekstremno bitno: ";
cin>>brtakm[1];
}
if(brtakm[1]>brtakm[0])
brtakm[1]=brtakm[0];
int i=0;
if(mesec!=1 || nedelja!=1)
i=2;
for(;i<2;++i){
if(brtakm[0]==0){
brtakm[1]=0;
break;
}
for(i=0;i<brtakm[0];++i){
cout<<i+1<<". mesec takmicenja: ";
cin>>d1[i];
cout<<"Nedelja: ";
cin>>d2[i];
}
if(brtakm[1]==0)
break;
for(i=0;i<brtakm[1];++i){
int v[brtakm[1]];
cout<<"Koja takmicenja ce biti bitna: ";
cin>>v[i];
d3[i]=d1[v[i]-1];
d4[i]=d2[v[i]-1];
}
}
cout<<"Takmicenja su u:"<<endl;
for(i=0;i<brtakm[0];++i){
cout<<d1[i]<<". mesec "<<d2[i]<<". nedelja"<<endl;
}
cout<<"Bitna su u:"<<endl;
for(i=0;i<brtakm[1];++i){
cout<<d3[i]<<". mesec "<<d4[i]<<". nedelja"<<endl;
}
cout<<"Unesite koliko jako zelite da trenirate(sve od 0-5(0-odmor), prvo voda, izbor teretana ili suvi, pa jacina tamo 0-5): ";
cin>>p1.getTrening();
int pom1=rand()%10;
if(pom1==0)
p2.odmaraj();
else if(pom1<=2)
p2.vodaTreniraj1();
else if(pom1==3)
p2.vodaTreniraj2();
else if(pom1==4)
p2.vodaTreniraj3();
else if(pom1<=6)
p2.vodaTreniraj4();
else
p2.vodaTreniraj5();
if(pom1!=0){
pom1=rand()%10+1;
if(pom1%2==0){
if(pom1==2)
p2.teretanaTreniraj1();
if(pom1==4)
p2.teretanaTreniraj2();
if(pom1==6)
p2.teretanaTreniraj3();
if(pom1==8)
p2.teretanaTreniraj4();
else
p2.teretanaTreniraj5();
}
if(pom1%2==1){
if(pom1==1)
p2.suviTreniraj1();
if(pom1==3)
p2.suviTreniraj2();
if(pom1==5)
p2.suviTreniraj3();
if(pom1==7)
p2.suviTreniraj4();
else
p2.suviTreniraj5();
}
}
pom1=rand()%10;
if(pom1==0)
p3.odmaraj();
else if(pom1<=2)
p3.vodaTreniraj1();
else if(pom1==3)
p3.vodaTreniraj2();
else if(pom1==4)
p3.vodaTreniraj3();
else if(pom1<=6)
p3.vodaTreniraj4();
else
p3.vodaTreniraj5();
if(pom1!=0){
pom1=rand()%10+1;
if(pom1%2==0){
if(pom1==2)
p3.teretanaTreniraj1();
if(pom1==4)
p3.teretanaTreniraj2();
if(pom1==6)
p3.teretanaTreniraj3();
if(pom1==8)
p3.teretanaTreniraj4();
else
p3.teretanaTreniraj5();
}
if(pom1%2==1){
if(pom1==1)
p3.suviTreniraj1();
if(pom1==3)
p3.suviTreniraj2();
if(pom1==5)
p3.suviTreniraj3();
if(pom1==7)
p3.suviTreniraj4();
else
p3.suviTreniraj5();
}
}
pom1=rand()%10;
if(pom1==0)
p4.odmaraj();
else if(pom1<=2)
p4.vodaTreniraj1();
else if(pom1==3)
p4.vodaTreniraj2();
else if(pom1==4)
p4.vodaTreniraj3();
else if(pom1<=6)
p4.vodaTreniraj4();
else
p4.vodaTreniraj5();
if(pom1!=0){
pom1=rand()%10+1;
if(pom1%2==0){
if(pom1==2)
p4.teretanaTreniraj1();
if(pom1==4)
p4.teretanaTreniraj2();
if(pom1==6)
p4.teretanaTreniraj3();
if(pom1==8)
p4.teretanaTreniraj4();
else
p4.teretanaTreniraj5();
}
if(pom1%2==1){
if(pom1==1)
p4.suviTreniraj1();
if(pom1==3)
p4.suviTreniraj2();
if(pom1==5)
p4.suviTreniraj3();
if(pom1==7)
p4.suviTreniraj4();
else
p4.suviTreniraj5();
}
}
for(i=0;i<brtakm[0];++i){
if(mesec==d1[i] && nedelja==d2[i]){
cout<<"Vreme je za takmicenje!"<<endl;
bool bitnost=false;
for(int sklj=0;sklj<brtakm[1];++sklj)
if(mesec==d3[sklj] && nedelja==d4[sklj])
bitnost=true;
float pom=p1.getRezultat(bitnost,true);
int pl=0;
int je=0;
int j;
m[3]=pom;
m[0]=p2.getRezultat(bitnost,false);
m[1]=p3.getRezultat(bitnost,false);
m[2]=p4.getRezultat(bitnost,false);
for(je=0;je<4;++je){
r[je]=600;
for(j=0;j<4;++j){
if(m[j]<r[je]){
for(int p=0;p<4;++p){
if(m[j]==r[p]){
++pl;
}
}
if(pl==0)
r[je]=m[j];
}
pl=0;
}
}
for(j=0;j<4;++j){
cout<<j+1<<". mesto: "<<r[j]<<endl;
if(r[j]<wrez){
cout<<"OVO JE NOVI SVETSKI REKORD!!"<<endl;
wrez=r[j];
}
if(r[j]==m[3]){
cout<<"--Ovo je tvoj rezultat!"<<endl;
if(pom<p1.getBRez()){
cout<<"--Novi najbolji rezultat!"<<endl;
p1.setBRez(pom);
}
if(j!=3)
br[j]+=1;
}
}
cout<<"Pritisnite bilo sta da nastavimo: ";
cin>>l;
}
}
++nedelja;
if(nedelja==5){
mesec++;
nedelja=1;
}
if(mesec==13){
dolaz=p1.getDolaznost();
p1.godisnji(2);
mesec=1;
godina++;
cout<<"Da li zelite da odustanete? Napisite da da odustanete: ";
string pr;
cin>>pr;
if(pr=="da")
odustajanje=true;
else{
cout<<"Da li zelite da promenite trenera?: ";
string pomm;
cin>>pomm;
if(pomm=="da"){
cout<<"Unesite 1 za novog trenera, a 2 za vec postojeceg: ";
int brojtr;
cin>>brojtr;
string imeTrenera;
cout<<"Unesite ime trenera: ";
cin>>imeTrenera;
if(brojtr==1){
float nes=(rand()%400+100)/100.00;
p1.dodajTrenera(imeTrenera,nes);
}
bool pomoc=false;
while(!pomoc){
pomoc=p1.izaberiTrenera(imeTrenera);
if(!pomoc){
cout<<"Nepostojeci trener! Izaberite ponovo: "<<endl;
cout<<"Unesite ime trenera: ";
cin>>imeTrenera;
}
}
}
}
p1.povecajGodine();
}
system("cls");
}while(odustajanje==false);
p1.setDolaznost(dolaz);
cout<<"Svaka cast na vasoj plivackoj karijeri!"<<endl;
Plivac p5=p1;
if(p1!=p2 && p1!=p3 && p1!=p4 && p1==p5)
cout<<"Bili ste jedinstven plivac!"<<endl;
if(p1>p2 && p1>p3 && p1>p4)
cout<<"Bili ste najbolji plivac!"<<endl;
else{
int pomocna=1;
if(p1<p2)
pomocna++;
if(p1<p3)
pomocna++;
if(p1<p4)
pomocna++;
cout<<"Bili ste "<<pomocna<<". plivac!"<<endl;
}
cout<<"Vas najbolji rezultat: "<<p1.getBRez()<<endl;
cout<<"Zlatne medalje: "<<br[0]<<" Srebrne medalje: "<<br[1]<<" Bronzane medalje: "<<br[2]<<endl;
cout<<p1;
return 0;
}
| [
"roganovic.veselin@jjzmaj.edu.rs"
] | roganovic.veselin@jjzmaj.edu.rs |
fa72dd4ce48cf6fde1a6bcc772eab33f17bfd3b2 | c84629bf7158041eb5309f11cf5c678f116081b4 | /backUp/!_SHADER_GALLERY_noIndices/_SHADERS/velvet/velvet_INIT.cpp | 54e93413f74dc7f73145266c7743e94e85e287b4 | [] | no_license | marcclintdion/iOS_WIN3 | ce6358be75900a143f6639057c1d96b5e3f546b3 | d339cfab929534903abbdc6043ac0280ff68e558 | refs/heads/master | 2016-09-06T05:54:23.058832 | 2015-09-16T07:37:12 | 2015-09-16T07:37:12 | 42,571,722 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,335 | cpp | #ifdef __APPLE__
#import <OpenGLES/ES2/gl.h>
#import <OpenGLES/ES2/glext.h>
#endif
//===============================================================================================
velvet_SHADER = glCreateProgram();
//---------------------------------------------------------------------
const GLchar *vertexSource_velvet =
" #define highp \n"
" uniform highp vec4 light_POSITION_01; \n"
" uniform mat4 mvpMatrix; \n"
" uniform mat4 lightMatrix; \n"
" attribute vec4 position; \n"
" attribute vec2 texture; \n"
" varying highp vec4 lightPosition_PASS; \n"
" varying highp vec2 varTexcoord; \n"
" varying highp vec4 diffuse; \n"
" varying highp vec4 ambient; \n"
" varying highp vec4 ambientGlobal; \n"
" varying highp float dist; \n"
" highp vec4 ecPos; \n"
" highp vec3 aux; \n"
" void main() \n"
" { \n"
" ecPos = mvpMatrix * position; \n"
" aux = vec3(light_POSITION_01 - ecPos); \n"
" dist = length(aux); \n"
" diffuse = vec4( 1.00, 1.0, 1.00, 1.0) * vec4(1.0, 48.6, 1.0, 1.0); \n"
" ambient = vec4(-1.75, -1.75, 0.0, 1.0) * vec4(1.1, 26.1, 1.1, 1.0); \n"
" ambientGlobal = vec4(-1.75, -1.75, 0.0, 1.0); \n"
" lightPosition_PASS = normalize(lightMatrix * light_POSITION_01); \n"
" varTexcoord = texture; \n"
" gl_Position = mvpMatrix * position; \n"
" }\n";
//---------------------------------------------------------------------
velvet_SHADER_VERTEX = glCreateShader(GL_VERTEX_SHADER);
glShaderSource(velvet_SHADER_VERTEX, 1, &vertexSource_velvet, NULL);
glCompileShader(velvet_SHADER_VERTEX);
//---------------------------------------------------------------------
const GLchar *fragmentSource_velvet =
" #ifdef GL_ES \n"
" #else \n"
" #define highp \n"
" #endif \n"
" uniform sampler2D Texture1; \n"
" uniform sampler2D NormalMap; \n"
" uniform highp float shininess; \n"
" uniform highp float attenuation; \n"
" varying highp vec4 lightPosition_PASS; \n"
" varying highp vec2 varTexcoord; \n"
" highp float NdotL1; \n"
" highp vec3 normal; \n"
" highp vec3 NormalTex; \n"
" varying highp vec4 diffuse; \n"
" varying highp vec4 ambient; \n"
" varying highp vec4 ambientGlobal; \n"
" varying highp float dist; \n"
" highp float att; \n"
" highp vec4 color; \n"
" void main() \n"
" { \n"
" NormalTex = texture2D(NormalMap, varTexcoord).xyz; \n"
" NormalTex = (NormalTex - 0.5); \n"
" normal = normalize(NormalTex); \n"
" NdotL1 = dot(normal, lightPosition_PASS.xyz); \n"
" att = 1.0 / attenuation; \n"
" color = ambientGlobal + (att * (diffuse + ambient)); \n"
" color += vec4(-0.60, -11.0, 0.60, 1.0) * pow(NdotL1, 13.84); \n"
" color -= vec4(1.0, 1.0,1.0, 1.0) * pow(NdotL1, shininess); \n"
" gl_FragColor = texture2D(Texture1, varTexcoord.st) *color * NdotL1 * 2.0; \n"
" }\n";
//---------------------------------------------------------------------
velvet_SHADER_FRAGMENT = glCreateShader(GL_FRAGMENT_SHADER);
glShaderSource(velvet_SHADER_FRAGMENT, 1, &fragmentSource_velvet, NULL);
glCompileShader(velvet_SHADER_FRAGMENT);
//------------------------------------------------
glAttachShader(velvet_SHADER, velvet_SHADER_VERTEX);
glAttachShader(velvet_SHADER, velvet_SHADER_FRAGMENT);
//------------------------------------------------
glBindAttribLocation(velvet_SHADER, 0, "position");
glBindAttribLocation(velvet_SHADER, 1, "normal");
glBindAttribLocation(velvet_SHADER, 2, "texture");
//------------------------------------------------
glLinkProgram(velvet_SHADER);
//------------------------------------------------
#ifdef __APPLE__
glDetachShader(velvet_SHADER, velvet_SHADER_VERTEX);
glDetachShader(velvet_SHADER, velvet_SHADER_FRAGMENT);
#endif
//------------------------------------------------
glDeleteShader(velvet_SHADER_VERTEX);
glDeleteShader(velvet_SHADER_FRAGMENT);
//------------------------------------------------------------------------------------------------------------//___LOAD_UNIFORMS
UNIFORM_MODELVIEWPROJ_velvet = glGetUniformLocation(velvet_SHADER, "mvpMatrix");
UNIFORM_LIGHT_MATRIX_velvet = glGetUniformLocation(velvet_SHADER, "lightMatrix");
UNIFORM_LIGHT_POSITION_01_velvet = glGetUniformLocation(velvet_SHADER, "light_POSITION_01");
UNIFORM_SHININESS_velvet = glGetUniformLocation(velvet_SHADER, "shininess");
UNIFORM_ATTENUATION_velvet = glGetUniformLocation(velvet_SHADER, "attenuation");
UNIFORM_TEXTURE_DOT3_velvet = glGetUniformLocation(velvet_SHADER, "NormalMap");
UNIFORM_TEXTURE_velvet = glGetUniformLocation(velvet_SHADER, "Texture1");
| [
"marcclintdion@Marcs-iMac.local"
] | marcclintdion@Marcs-iMac.local |
b1938f62740a3f9a2853d1547de65b7300f4dc68 | f1ac5501fd36e4e420dfbc912890b4c848e4acc3 | /src/script/serverchecker.cpp | 9be7932a7dd5634e391cccadecd47644ba55270a | [] | no_license | whojan/KomodoOcean | 20ca84ea11ed791c407bed17b155134b640796e8 | f604a95d848222af07db0005c33dc4852b5203a3 | refs/heads/master | 2022-08-07T13:10:15.341628 | 2019-06-14T17:27:57 | 2019-06-14T17:27:57 | 274,690,003 | 1 | 0 | null | 2020-06-24T14:28:50 | 2020-06-24T14:28:49 | null | UTF-8 | C++ | false | false | 3,897 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "serverchecker.h"
#include "script/cc.h"
#include "cc/eval.h"
#include "pubkey.h"
#include "random.h"
#include "uint256.h"
#include "util.h"
#undef __cpuid
#include <boost/thread.hpp>
#include <boost/tuple/tuple_comparison.hpp>
namespace {
/**
* Valid signature cache, to avoid doing expensive ECDSA signature checking
* twice for every transaction (once when accepted into memory pool, and
* again when accepted into the block chain)
*/
class CSignatureCache
{
private:
//! sigdata_type is (signature hash, signature, public key):
typedef boost::tuple<uint256, std::vector<unsigned char>, CPubKey> sigdata_type;
std::set< sigdata_type> setValid;
boost::shared_mutex cs_serverchecker;
public:
bool
Get(const uint256 &hash, const std::vector<unsigned char>& vchSig, const CPubKey& pubKey)
{
boost::shared_lock<boost::shared_mutex> lock(cs_serverchecker);
sigdata_type k(hash, vchSig, pubKey);
std::set<sigdata_type>::iterator mi = setValid.find(k);
if (mi != setValid.end())
return true;
return false;
}
void Set(const uint256 &hash, const std::vector<unsigned char>& vchSig, const CPubKey& pubKey)
{
// DoS prevention: limit cache size to less than 10MB
// (~200 bytes per cache entry times 50,000 entries)
// Since there can be no more than 20,000 signature operations per block
// 50,000 is a reasonable default.
int64_t nMaxCacheSize = GetArg("-maxservercheckersize", 50000);
if (nMaxCacheSize <= 0) return;
boost::unique_lock<boost::shared_mutex> lock(cs_serverchecker);
while (static_cast<int64_t>(setValid.size()) > nMaxCacheSize)
{
// Evict a random entry. Random because that helps
// foil would-be DoS attackers who might try to pre-generate
// and re-use a set of valid signatures just-slightly-greater
// than our cache size.
uint256 randomHash = GetRandHash();
std::vector<unsigned char> unused;
std::set<sigdata_type>::iterator it =
setValid.lower_bound(sigdata_type(randomHash, unused, unused));
if (it == setValid.end())
it = setValid.begin();
setValid.erase(*it);
}
sigdata_type k(hash, vchSig, pubKey);
setValid.insert(k);
}
};
}
bool ServerTransactionSignatureChecker::VerifySignature(const std::vector<unsigned char>& vchSig, const CPubKey& pubkey, const uint256& sighash) const
{
static CSignatureCache signatureCache;
if (signatureCache.Get(sighash, vchSig, pubkey))
return true;
if (!TransactionSignatureChecker::VerifySignature(vchSig, pubkey, sighash))
return false;
if (store)
signatureCache.Set(sighash, vchSig, pubkey);
return true;
}
/*
* The reason that these functions are here is that the what used to be the
* CachingTransactionSignatureChecker, now the ServerTransactionSignatureChecker,
* is an entry point that the server uses to validate signatures and which is not
* included as part of bitcoin common libs. Since Crypto-Condtions eval methods
* may call server code (GetTransaction etc), the best way to get it to run this
* code without pulling the whole bitcoin server code into bitcoin common was
* using this class. Thus it has been renamed to ServerTransactionSignatureChecker.
*/
int ServerTransactionSignatureChecker::CheckEvalCondition(const CC *cond) const
{
//LogPrintf("call RunCCeval from ServerTransactionSignatureChecker::CheckEvalCondition\n");
return RunCCEval(cond, *txTo, nIn);
}
| [
"ip_gpu@mail.ru"
] | ip_gpu@mail.ru |
10cbeb320b3df4a6572a5fa4430aab306363449a | c2fb6846d5b932928854cfd194d95c79c723f04c | /4rth_Sem_c++_backup/Amlyan/shit/arka.cpp | f24511a7e641de93ef0c21860f97c049ea65a80d | [
"MIT"
] | permissive | Jimut123/code-backup | ef90ccec9fb6483bb6dae0aa6a1f1cc2b8802d59 | 8d4c16b9e960d352a7775786ea60290b29b30143 | refs/heads/master | 2022-12-07T04:10:59.604922 | 2021-04-28T10:22:19 | 2021-04-28T10:22:19 | 156,666,404 | 9 | 5 | MIT | 2022-12-02T20:27:22 | 2018-11-08T07:22:48 | Jupyter Notebook | UTF-8 | C++ | false | false | 319 | cpp | #include<iostream>
#include<cmath>
using namespace std;
int main()
{
int i,size = 20,pow=1,j;
float sum = 0,den;
for(i=0;i<20;i++)
{
cout<<1<<"/"<<(i+1)<<"*"<<3<<"^"<<i<<" + ";
pow=1;
for(j=1;j<=i;j++)
pow=pow*3;
den = (i+1)*pow;
sum = sum + 1/den;
}
cout<<"Sum = "<<sum<<endl;
return 0;
}
| [
"jimutbahanpal@yahoo.com"
] | jimutbahanpal@yahoo.com |
237f461adbe2e62bd6bc2eb39a490f2d7f8e96c7 | 1bf1d70e40faa87d458942abf9fc7b0856476efc | /uri/2374.2.cpp | 3d06c7443f2b24e715f116c408007696897ba148 | [] | no_license | lilianefreitas/competitive-programming-questions | 418bfe9c60b30c1e21e5332862b45ff36b6f12aa | fe832f68b9cd89514a6b3888219db01cc8c93877 | refs/heads/master | 2023-03-29T21:48:37.156877 | 2021-03-28T07:38:45 | 2021-03-28T07:38:45 | 267,492,757 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 387 | cpp | #include <bits/stdc++.h>
using namespace std;
// N = pressão desejada pelo motorista
// M = pressão lida pela bomba
int N, M;
int main() {
// pegar as entradas
scanf("%d%d", &N, &M);
// diferença entre a pressao desejada e a lida
int diferenca = N - M;
// imprimindo a diferença
// colocar barra N apos o %d
printf("%d", diferenca);
return 0;
}
| [
"alunalilianefreitas@gmail.com"
] | alunalilianefreitas@gmail.com |
afa3ba926bc6a429b4d3d29dbc84898a68b18500 | 8f3ef878f138146a9df34440103d45607afeb48e | /Qt/Canvas/MainWindow.h | f19fa6f91c9a0665a5f9cca8a84124db1ae17b77 | [] | no_license | afester/CodeSamples | aa67a8d6f5c451dc92131a8722f301d026f5a894 | 10a2675f77e779d793d63e973672548aa263597b | refs/heads/main | 2023-01-05T06:45:52.130668 | 2022-12-23T21:36:36 | 2022-12-23T21:36:36 | 8,028,224 | 10 | 11 | null | 2022-10-02T18:53:29 | 2013-02-05T11:57:35 | Java | UTF-8 | C++ | false | false | 633 | h | /**
* This work is licensed under the Creative Commons Attribution 3.0 Unported
* License. To view a copy of this license, visit
* http://creativecommons.org/licenses/by/3.0/ or send a letter to Creative
* Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA.
*/
#include <QMainWindow>
class Ui_MainWindow;
class Canvas;
class MainWindow : public QMainWindow {
Q_OBJECT
public:
MainWindow(QWidget* parent);
~MainWindow();
Ui_MainWindow* ui;
Canvas* canvas;
public slots:
void actionPrint();
void actionLine();
void actionCircle();
void actionRectangle();
};
| [
"Andreas.Fester@gmx.de"
] | Andreas.Fester@gmx.de |
9fec39404899b69d0d269079355c32fd27ffdf6b | f3bdc5713fcbf31a5098e5c6bc7b536f63be1609 | /GameEngine/src/EventDispatcher.cpp | 2b63008d33ece7a180eeafe5f87e985f3f783aad | [] | no_license | leonardo98/GameEngine | 1cceaf0f6dc8bc66d9d1862f8523b8199ef54356 | 2f3c218437434c05afe9eaac0900c3ff46ff7055 | refs/heads/master | 2020-04-05T22:56:53.009769 | 2015-07-16T14:59:07 | 2015-07-16T14:59:07 | 33,198,384 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,319 | cpp | #include "EventDispatcher.h"
#include "Event.h"
namespace oxygine
{
EventDispatcher::EventDispatcher():_lastID(0), _listeners(0)
{
}
EventDispatcher::~EventDispatcher()
{
__doCheck();
delete _listeners;
}
int EventDispatcher::addEventListener(eventType et, EventCallback cb)
{
__doCheck();
if (!_listeners)
_listeners = new listeners;
_lastID++;
/*
#ifdef OX_DEBUG
for (listeners::iterator i = _listeners->begin(); i != _listeners->end(); ++i)
{
const listener& ls = *i;
if (ls.type == et && cb == ls.cb)
{
OX_ASSERT(!"you are already added this event listener");
}
}
#endif
*/
listener ls;
ls.type = et;
ls.cb = cb;
ls.id = _lastID;
_listeners->push_back(ls);
return ls.id;
}
void EventDispatcher::removeEventListener(int id)
{
__doCheck();
OX_ASSERT(_listeners);
if (!_listeners)
return;
for (size_t size = _listeners->size(), i = 0; i != size; ++i)
{
const listener &ls = _listeners->at(i);
if (ls.id == id)
{
_listeners->erase(_listeners->begin() + i);
break;
}
}
}
void EventDispatcher::removeEventListener(eventType et, EventCallback cb)
{
__doCheck();
//OX_ASSERT(_listeners);
if (!_listeners)
return;
for (size_t size = _listeners->size(), i = 0; i != size; ++i)
{
const listener& ls = _listeners->at(i);
if (ls.type == et && cb == ls.cb)
{
_listeners->erase(_listeners->begin() + i);
break;
//OX_ASSERT(hasEventListeners(et, cb) == false);
//--i;
}
}
}
bool EventDispatcher::hasEventListeners(void *CallbackThis)
{
__doCheck();
if (!_listeners)
return false;
for (size_t size = _listeners->size(), i = 0; i != size; ++i)
{
const listener& ls = _listeners->at(i);
if (ls.cb.p_this == CallbackThis)
return true;
}
return false;
}
bool EventDispatcher::hasEventListeners(eventType et, EventCallback cb)
{
__doCheck();
if (!_listeners)
return false;
for (size_t size = _listeners->size(), i = 0; i != size; ++i)
{
const listener& ls = _listeners->at(i);
if (ls.type == et && cb == ls.cb)
return true;
}
return false;
}
void EventDispatcher::removeEventListeners(void *CallbackThis)
{
__doCheck();
if (!_listeners)
return;
for (size_t i = 0; i < _listeners->size(); ++i)
{
const listener& ls = _listeners->at(i);
if (ls.cb.p_this == CallbackThis)
{
_listeners->erase(_listeners->begin() + i);
//OX_ASSERT(hasEventListeners(CallbackThis) == false);
--i;
}
}
}
void EventDispatcher::removeAllEventListeners()
{
delete _listeners;
_listeners = 0;
}
void EventDispatcher::dispatchEvent(Event *event)
{
__doCheck();
if (!_listeners)
return;
size_t size = _listeners->size();
listenerbase* copy = (listenerbase*)alloca(sizeof(listenerbase) * size);
size_t num = 0;
for (size_t i = 0; i != size; ++i)
{
listener& ls = _listeners->at(i);
if (ls.type != event->type)
continue;
new(copy + num) listenerbase(ls);
++num;
}
for (size_t i = 0; i != num; ++i)
{
listenerbase& ls = copy[i];
event->currentTarget = this;
ls.cb(event);
if (event->stopsImmediatePropagation)
break;
}
for (size_t i = 0; i != num; ++i)
{
listenerbase& ls = copy[i];
ls.~listenerbase();
}
}
} | [
"am98pln@gmail.com"
] | am98pln@gmail.com |
9b9e1cd87852e72f62111137e22d054e1b1fddba | 45d87d819c13793102d01696dfde50619e14f243 | /src/visualization.h | 5488e4312da8d2cc5f32bfcc27f33f8169ab86a3 | [] | no_license | paraficial/perlin_noise_marching_cubes | aef77a75df024e6e0f28d09c52d63be1be6057dc | 33894becac715bb561afc18667d5bdbaaf30d47f | refs/heads/master | 2020-12-26T18:17:31.284278 | 2020-02-03T11:46:58 | 2020-02-03T11:46:58 | 237,593,565 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 446 | h | #ifndef VISUALIZATION_H
#define VISUALIZATION_H
#include <SDL2/SDL.h>
#include <glm/glm.hpp>
class Mesh;
class Shader;
class Visualization
{
public:
Visualization(int width, int height);
int init(int width, int height);
void loop(Mesh *mesh, Shader *shader, float angle);
private:
SDL_Window *window;
SDL_GLContext context;
glm::mat4 projection, view, model, mvp;
float m_angle = 0.0f;
};
#endif // VISUALIZATION_H
| [
"gregor.wiese@gmx.de"
] | gregor.wiese@gmx.de |
670f419a089b0fc0015986991832c21ac74b99c9 | f180cdea1a82e9656c793a667081783029378b8e | /Derivator/sources/tree_dot_converter.cpp | 9367b89d5c18e6e9c81597050632eb853ae3a301 | [] | no_license | uberpup/industrial-programming-course | 21a09b600ac1c18c70c6669a2e615e103d48e171 | 50dec017ca2eb883e6af882c39dfe0418ea43ae4 | refs/heads/master | 2020-07-26T07:32:57.699106 | 2020-01-04T14:26:45 | 2020-01-04T14:26:45 | 208,578,669 | 0 | 0 | null | 2020-01-04T14:26:46 | 2019-09-15T10:41:06 | C++ | UTF-8 | C++ | false | false | 1,708 | cpp | #include "tree_dot_converter.h"
TreeDotConverter::TreeDotConverter(std::string filename) :
filename(std::move(filename)) {}
TreeDotConverter::~TreeDotConverter() {}
void TreeDotConverter::PrintTree(const Derivator& derivator) {
file = std::fopen(filename.c_str(), "w");
fprintf(file, "%s\n", "digraph G {");
assert(derivator.root_ != nullptr);
if (derivator.root_->func == 0) {
fprintf(file, "node%zu [label = root];\n", derivator.root_.get());
} else {
fprintf(file, "node%zu [label = \"%s\"];\n", derivator.root_.get(),
FUNC_NAMES[derivator.root_->func].c_str());
}
Traverse(derivator.root_);
fprintf(file, "\n%s", "}");
fclose(file);
}
void TreeDotConverter::Print(const std::shared_ptr<Derivator::Node>& current_node,
const std::shared_ptr<Derivator::Node>& parent) {
fprintf(file, "node%zu [label = \"", current_node.get());
if (!current_node->is_const || current_node->func > 0) {
fprintf(file, "%s\"]\n", FUNC_NAMES[current_node->func].c_str());
} else {
fprintf(file, "%d\"]\n", current_node->value);
}
fprintf(file, "node%zu -> node%zu;\n", parent.get(), current_node.get());
fflush(file);
}
void TreeDotConverter::Traverse(const std::shared_ptr<Derivator::Node>& current_node) {
if (current_node->left != nullptr) {
Print(current_node->left, current_node);
Traverse(current_node->left);
}
if (current_node->right != nullptr) {
Print(current_node->right, current_node);
Traverse(current_node->right);
}
if (current_node->left == nullptr && current_node->right == nullptr) {
return;
}
} | [
"tochilin.vn@phystech.edu"
] | tochilin.vn@phystech.edu |
9bf34289e7ab442b22cb72c6c1dac21db7cbcfc9 | 33d33eb0a459f8fd5f3fbd5f3e2ff95cbb804f64 | /40.combination-sum-ii.73403291.ac.cpp | 816fb5c08882b1450e8bafb4564b6f8412c7ab7e | [] | no_license | wszk1992/LeetCode-Survival-Notes | 7b4b7c9b1a5b7251b8053111510e2cefa06a0390 | 01f01330964f5c2269116038d0dde0370576f1e4 | refs/heads/master | 2021-01-01T17:59:32.945290 | 2017-09-15T17:57:40 | 2017-09-15T17:57:40 | 98,215,658 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 860 | cpp | class Solution {
public:
vector<vector<int>> combinationSum2(vector<int>& candidates, int target) {
vector<vector<int>> res;
vector<int> cmb;
sort(candidates.begin(), candidates.end());
combinationSumHelper(res, cmb, candidates, target, 0);
return res;
}
void combinationSumHelper(vector<vector<int>>& res, vector<int>& cmb, vector<int>& candidates, int target, int k) {
if(target == 0) {
res.push_back(cmb);
return;
}
for(int i = k; i < candidates.size() && candidates[i] <= target; i++) {
if(i == k || candidates[i] != candidates[i - 1]) {
cmb.push_back(candidates[i]);
combinationSumHelper(res, cmb, candidates, target - candidates[i], i + 1);
cmb.pop_back();
}
}
}
}; | [
"wszk1992@gmail.com"
] | wszk1992@gmail.com |
37483ecc07f364f97236e6750815fa8e88668ace | 558b75f4715273ebb01e36e0b92446130c1a5c08 | /engine/src/qlcfixturedefcache.h | 316d75eeddec94822f159857ffb16069cb0f2af5 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | sbenejam/qlcplus | c5c83efe36830dcd75d41b3fba50944dc22019e1 | 2f2197ff086f2441d755c03f7d67c11f72ad21df | refs/heads/master | 2023-08-25T09:06:57.397956 | 2023-08-17T16:02:42 | 2023-08-17T16:02:42 | 502,436,497 | 0 | 0 | Apache-2.0 | 2022-06-11T19:17:52 | 2022-06-11T19:17:51 | null | UTF-8 | C++ | false | false | 5,715 | h | /*
Q Light Controller
qlcfixturedefcache.h
Copyright (c) Heikki Junnila
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.txt
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
#ifndef QLCFIXTUREDEFCACHE_H
#define QLCFIXTUREDEFCACHE_H
#include <QStringList>
#include <QString>
#include <QMap>
#include <QDir>
class QXmlStreamReader;
class QLCFixtureDef;
/** @addtogroup engine Engine
* @{
*/
/**
* QLCFixtureDefCache is a cache of fixture definitions that are currently
* available to the application. Application can get a list of available
* manufacturer names with QLCFixturedefCache::manufacturers() and subsequently
* all models for a particular manufacturer with QLCFixtureDefCache::models().
*
* The internal structure is a two-tier map (m_models), with the first tier
* containing manufacturer names as the keys for the first map. The value of
* each key is another map (the second-tier) whose keys are model names. The
* value for each model name entry in the second-tier map is the actual
* QLCFixtureDef instance.
*
* Multiple manufacturer & model combinations are discarded.
*
* Because this component is meant to be used only on the application side,
* the returned fixture definitions are const, preventing any modifications to
* the definitions. Modifying the definitions would also screw up the mapping
* since they are made only during addFixtureDef() based on the definitions'
* manufacturer() & model() data.
*/
class QLCFixtureDefCache
{
public:
/**
* Create a new fixture definition cache instance.
*/
QLCFixtureDefCache();
/**
* Destroy a fixture definition cache instance.
*/
~QLCFixtureDefCache();
/**
* Get a fixture definition by its manufacturer and model. Only
* const methods can be accessed for returned fixture definitions.
*
* @param manufacturer The fixture definition's manufacturer
* @param model The fixture definition's model
* @return A matching fixture definition or NULL if not found
*/
QLCFixtureDef* fixtureDef(const QString& manufacturer,
const QString& model) const;
/**
* Get a list of available manufacturer names.
*/
QStringList manufacturers() const;
/**
* Get a list of available model names for the given manufacturer.
*/
QStringList models(const QString& manufacturer) const;
/** Get a complete map of the available fixtures as:
* manufacturer, <model, isUser>
*/
QMap<QString, QMap<QString, bool> > fixtureCache() const;
/**
* Add a fixture definition to the model map.
*
* @param fixtureDef The fixture definition to add
* @return true, if $fixtureDef was added, otherwise false
*/
bool addFixtureDef(QLCFixtureDef* fixtureDef);
/**
* Store a fixture in the fixtures user data folder
* if a fixture with the same name already exists, it
* will be overwritten
*
* @param filename the target fixture file name
* @param data the content of a fixture XML data
* @return
*/
bool storeFixtureDef(QString filename, QString data);
/**
* Load fixture definitions from the given path. Ignores duplicates.
* Returns true even if $fixturePath doesn't contain any fixtures,
* if it is still accessible (and exists).
*
* @param dir The directory to load definitions from.
* @return true, if the path could be accessed, otherwise false.
*/
bool load(const QDir& dir);
/**
* Load all the fixture information found for the given manufacturer.
*
* @param doc reference to the XML loader
* @param manufacturer used to elapse the fixture file name relative path
* @return the number of fixtures found
*/
int loadMapManufacturer(QXmlStreamReader *doc, QString manufacturer);
/**
* Load a map of hardcoded fixture definitions that represent
* the minimum information to cache a fixture when it is required
*
* @param dir The directory to load definitions from.
* @return true, if the path could be accessed, otherwise false.
*/
bool loadMap(const QDir& dir);
/**
* Cleans the contents of the fixture definition cache, deleting
* all fixture definitions.
*/
void clear();
/**
* Get the default system fixture definition directory that contains
* installed fixture definitions. The location varies greatly between
* platforms.
*
* @return System fixture definition directory
*/
static QDir systemDefinitionDirectory();
/**
* Get the user's own default fixture definition directory that is used to
* save custom fixture definitions. The location varies greatly between
* platforms.
*
* @return User fixture definition directory
*/
static QDir userDefinitionDirectory();
/** Load a QLC native fixture definition from the file specified in $path */
bool loadQXF(const QString& path, bool isUser = false);
/** Load an Avolites D4 fixture definition from the file specified in $path */
bool loadD4(const QString& path);
private:
QString m_mapAbsolutePath;
QList <QLCFixtureDef*> m_defs;
};
/** @} */
#endif
| [
"massimocallegari@yahoo.it"
] | massimocallegari@yahoo.it |
24bcf3591d31761d3deb26c0b8d3405372b36d91 | 5c41d1e2eb0f4a73c939b061657045363d4e667c | /src/graph/timing_internal_graph.cpp | 5b1326afcfec4c1f9f8c52ffe9ca20263a378369 | [] | no_license | me2x/iNARK | 93d2f2179466d6fd7c509e1789057fd39407db58 | f59dcfdedbe0306ebb814aaf6d26d3a6b0ec1096 | refs/heads/master | 2020-05-21T12:27:42.023362 | 2017-04-04T14:21:58 | 2017-04-04T14:21:58 | 47,130,570 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,971 | cpp | #include "timing_internal_graph.hpp"
#include "custom_visitors.hpp"
timing_internal_graph::timing_internal_graph()
{
ig = Timing_Graph();
}
void timing_internal_graph::build_graph(std::shared_ptr<Source_Graph> g){
std::cout<<"print called"<<std::endl;
PRINT_DEBUG("print called");
ig.clear();
std::pair<vertex_iter, vertex_iter> vp;
for (vp = boost::vertices(*g); vp.first != vp.second; ++vp.first)
{
PRINT_DEBUG("timing graph construction: vertex loop, layer is: "+boost::lexical_cast<std::string>((*g)[*vp.first].get_layer()) +" and name is: "+boost::lexical_cast<std::string>((*g)[*vp.first].get_name()));
(*g)[*vp.first].explode_component_timing(ig,components_map);
}
PRINT_DEBUG("components map size is: "+boost::lexical_cast<std::string>(components_map.size()));
edge_iter ei, ei_end;
for (boost::tie(ei, ei_end) = boost::edges(*g); ei != ei_end; ++ei)
{
timing_edge_t e; bool b;
vertex_t old_graph_source,old_graph_target;
old_graph_source = boost::source(*ei,*g);
old_graph_target = boost::target(*ei,*g);
timing_vertex_t new_source, new_target;
PRINT_DEBUG("the source component is: "+(*g)[old_graph_source].get_name()+" and its port is: "+boost::lexical_cast<std::string>((*g)[*ei].from_port));
PRINT_DEBUG("the target component is: "+(*g)[old_graph_target].get_name()+" and its port is: "+boost::lexical_cast<std::string>((*g)[*ei].to_port));
PRINT_DEBUG("the case is: "+boost::lexical_cast<std::string>((*g)[old_graph_source].get_layer()+(*g)[old_graph_target].get_layer()));
//mancano 4 to 5: da moltiplicare.
//all edges are in 1:1 between the physical graph to the internal representation, exept the edges from l4 to l5.
//OS to processor have to be multiplied
//task to os has to be fixed. to port dovrebbe mappare allo scheduler slot. ed infatti funziona.
//for that layer i have to build one edge for each new resource to the physical component
//!((*g)[old_graph_source].get_layer() != PHYSICAL && (*g)[old_graph_target].get_layer() == PHYSICAL)&& !((*g)[old_graph_source].get_layer() == PHYSICAL && (*g)[old_graph_target].get_layer() != PHYSICAL)
//fai con uno switch su somma layers. caso base: edges 1:1
//cases: 0 func to func, 1 func to task, 2 tast to task, 3 task to os, 4 os to os, 5 os to processor, 6 resource to resource, 7 resource to physical
switch((*g)[old_graph_source].get_layer()+(*g)[old_graph_target].get_layer())
{
case 0:
case 2:
case 6:
case 8:
{
if (components_map.count((*g)[old_graph_source].get_name()) != 0)
{
new_source = get_node_reference(components_map.at((*g)[old_graph_source].get_name()).at((*g)[*ei].from_port !=NO_PORT? (*g)[*ei].from_port:1)); //pos 1 se non specificato serve per prendere componenti unici che sono stati in qualche modo toccati nella funzione di explode.
}
else
{
new_source = get_node_reference((*g)[old_graph_source].get_name());
}
if (components_map.count((*g)[old_graph_target].get_name()) != 0)
{
new_target = get_node_reference(components_map.at((*g)[old_graph_target].get_name()).at((*g)[*ei].to_port !=NO_PORT? (*g)[*ei].to_port:1));
}
else
{
new_target = get_node_reference((*g)[old_graph_target].get_name());
}
boost::tie(e,b) = boost::add_edge(new_source,new_target,ig);
break;
}
case 1:
{
if (components_map.count((*g)[old_graph_source].get_name()) != 0)
{
new_source = get_node_reference(components_map.at((*g)[old_graph_source].get_name()).at((*g)[*ei].from_port !=NO_PORT? (*g)[*ei].from_port:1)); //pos 1 se non specificato serve per prendere componenti unici che sono stati in qualche modo toccati nella funzione di explode.
}
else
{
new_source = get_node_reference((*g)[old_graph_source].get_name());
}
if (components_map.count((*g)[old_graph_target].get_name()) != 0)
{
new_target = get_node_reference(components_map.at((*g)[old_graph_target].get_name()).at((*g)[*ei].to_port !=NO_PORT? (*g)[*ei].to_port:1));
}
else
{
new_target = get_node_reference((*g)[old_graph_target].get_name());
}
boost::tie(e,b) = boost::add_edge(new_source,new_target,ig);
boost::tie(e,b) = boost::add_edge(new_target,new_source,ig);
break;
}
case 3:
{
//devo recuperare priority dallo scheduler slot del to component.
//back edges have already been inserted in the previous graph. have to be handled here so if source is the controller layer component have to be handled too.
if ((*g)[old_graph_target].get_layer() == Layer::CONTROLLER)
{
std::shared_ptr<Third_Level_Vertex> vtx = ((*g)[old_graph_target]).get_shared_ptr_l3();
switch (vtx->OS_scheduler_type)
{
case ROUND_ROBIN:
{
//no name changes.
new_source = get_node_reference((*g)[old_graph_source].get_name());
new_target = get_node_reference((*g)[old_graph_target].get_name());
boost::tie(e,b) = boost::add_edge(new_source,new_target,ig);
boost::tie(e,b) = boost::add_edge(new_target,new_source,ig);
break;
}
case PRIORITY:
{
//get slot, read priority, get correct component: 0 for no priority, 1 for mission critical, 2 for safety critical.
int pr = vtx->priority_slots->at((*g)[*ei].to_port).pr;
new_source = get_node_reference((*g)[old_graph_source].get_name());
new_target = get_node_reference(components_map.at((*g)[old_graph_target].get_name()).at(pr));
boost::tie(e,b) = boost::add_edge(new_source,new_target,ig);
boost::tie(e,b) = boost::add_edge(new_target,new_source,ig);
break;
}
case TDMA:
{
new_source = get_node_reference((*g)[old_graph_source].get_name());
new_target = get_node_reference(components_map.at((*g)[old_graph_target].get_name()).at((*g)[*ei].to_port));
boost::tie(e,b) = boost::add_edge(new_source,new_target,ig);
boost::tie(e,b) = boost::add_edge(new_target,new_source,ig);
break;
}
default:
{
throw std::runtime_error("Error in input: priority handling error");
}
}
}
else if ((*g)[old_graph_source].get_layer() == Layer::CONTROLLER)
{
std::shared_ptr<Third_Level_Vertex> vtx = ((*g)[old_graph_source]).get_shared_ptr_l3();
switch (vtx->OS_scheduler_type)
{
case ROUND_ROBIN:
{
//no name changes.
new_source = get_node_reference((*g)[old_graph_source].get_name());
new_target = get_node_reference((*g)[old_graph_target].get_name());
boost::tie(e,b) = boost::add_edge(new_source,new_target,ig);
boost::tie(e,b) = boost::add_edge(new_target,new_source,ig);
break;
}
case PRIORITY:
{
//get slot, read priority, get correct component: 0 for no priority, 1 for mission critical, 2 for safety critical.
int pr = vtx->priority_slots->at((*g)[*ei].from_port).pr;
PRINT_DEBUG("the priority of port "+boost::lexical_cast<std::string>((*g)[*ei].from_port)+"is"+boost::lexical_cast<std::string>(pr));
new_target = get_node_reference((*g)[old_graph_target].get_name());
new_source = get_node_reference(components_map.at((*g)[old_graph_source].get_name()).at(pr));
boost::tie(e,b) = boost::add_edge(new_source,new_target,ig);
boost::tie(e,b) = boost::add_edge(new_target,new_source,ig);
break;
}
case TDMA:
{
new_target = get_node_reference((*g)[old_graph_target].get_name());
new_source = get_node_reference(components_map.at((*g)[old_graph_source].get_name()).at((*g)[*ei].from_port));
boost::tie(e,b) = boost::add_edge(new_source,new_target,ig);
boost::tie(e,b) = boost::add_edge(new_target,new_source,ig);
break;
}
default:
{
throw std::runtime_error("Error in input: priority handling error");
}
}
}
else
throw std::runtime_error("Error in input: OS not involved");
break;
}
case 4: //all to all. è un po' overkill ma non dovrebbe creare dipendenze supplementari. aggiunge un sacco di edges e non so se ciò possa rallentare esplorazione.
{
PRINT_DEBUG("edge creation: inside switch, case 4");
if (components_map.count((*g)[old_graph_source].get_name()) != 0)
{
if (components_map.count((*g)[old_graph_target].get_name()) != 0)
{
//doppio for
for (std::map<int,std::string>::iterator many_to_one = components_map.at((*g)[old_graph_source].get_name()).begin();many_to_one != components_map.at((*g)[old_graph_source].get_name()).end();++many_to_one)
{
for (std::map<int,std::string>::iterator one_to_many_iter = components_map.at((*g)[old_graph_target].get_name()).begin();one_to_many_iter != components_map.at((*g)[old_graph_target].get_name()).end();++one_to_many_iter)
{
new_source = get_node_reference((*many_to_one).second);
new_target = get_node_reference((*one_to_many_iter).second);
boost::tie(e,b) = boost::add_edge(new_source,new_target,ig);
}
}
}
else
{
//singolo for
for (std::map<int,std::string>::iterator many_to_one = components_map.at((*g)[old_graph_source].get_name()).begin();many_to_one != components_map.at((*g)[old_graph_source].get_name()).end();++many_to_one)
{
new_target = get_node_reference((*g)[old_graph_target].get_name());
new_source = get_node_reference((*many_to_one).second);
boost::tie(e,b) = boost::add_edge(new_source,new_target,ig);
}
}
}
else
{
if (components_map.count((*g)[old_graph_target].get_name()) != 0)
{
//singolo for
for (std::map<int,std::string>::iterator one_to_many_iter = components_map.at((*g)[old_graph_target].get_name()).begin();one_to_many_iter != components_map.at((*g)[old_graph_target].get_name()).end();++one_to_many_iter)
{
new_source = get_node_reference((*g)[old_graph_source].get_name());
new_target = get_node_reference((*one_to_many_iter).second);
boost::tie(e,b) = boost::add_edge(new_source,new_target,ig);
}
}
else
{
//niente for
boost::tie(e,b) = boost::add_edge(get_node_reference((*g)[old_graph_source].get_name()),get_node_reference((*g)[old_graph_target].get_name()),ig);
}
}
break;
}
case 5:
{
PRINT_DEBUG("edge creation: inside switch, case 5");
bool l4_is_source = (*g)[old_graph_source].get_layer() == RESOURCE;
if (components_map.count((*g)[l4_is_source?old_graph_target:old_graph_source].get_name()) != 0)
{
PRINT_DEBUG("edge creation: inside switch, case 5, if branch");
for (std::map<int,std::string>::iterator l3_to_l4_iter = components_map.at((*g)[l4_is_source?old_graph_target:old_graph_source].get_name()).begin();l3_to_l4_iter != components_map.at((*g)[l4_is_source?old_graph_target:old_graph_source].get_name()).end();++l3_to_l4_iter)
{
PRINT_DEBUG("edge creation: components map at: "+(*g)[l4_is_source?old_graph_target:old_graph_source].get_name()+ " size is: "+boost::lexical_cast<std::string>(components_map.at((*g)[l4_is_source?old_graph_target:old_graph_source].get_name()).size()));
new_source = get_node_reference(l4_is_source? (*g)[old_graph_source].get_name()+"$$1" : (*l3_to_l4_iter).second);
if (l4_is_source)
{
PRINT_DEBUG("edge creation: old graph source name is: "+(*g)[old_graph_source].get_name() +"but the retrieved node is: "+ig[new_source].name);
//PRINT_DEBUG("the result of get node reference is: "+ boost::lexical_cast<std::string>(get_node_reference((*g)[old_graph_source].get_name())));
}
new_target = get_node_reference(l4_is_source? (*l3_to_l4_iter).second:(*g)[old_graph_target].get_name()+"$$1"); //the $$1 is added only to processors.
PRINT_DEBUG("edge creation: source node is: "+ig[new_source].name+ "while old graph source is: "+(*g)[old_graph_source].get_name()+" and target is: "+ig[new_target].name+" while old graph target is: "+(*g)[old_graph_target].get_name());
boost::tie(e,b) = boost::add_edge(new_source,new_target,ig);
boost::tie(e,b) = boost::add_edge(new_target,new_source,ig);
}
}
else
{
PRINT_DEBUG("edge creation: inside switch, case 5, else branch");
bool l4_is_source = (*g)[old_graph_source].get_layer() == RESOURCE;
new_source = get_node_reference((*g)[old_graph_source].get_name()+(l4_is_source?"$$1":""));
new_target = get_node_reference((*g)[old_graph_target].get_name()+(l4_is_source?"":"$$1"));
boost::tie(e,b) = boost::add_edge(new_source,new_target,ig);
boost::tie(e,b) = boost::add_edge(new_target,new_source,ig);
}
break;
}
case 7:
{
bool l4_is_source = (*g)[old_graph_source].get_layer() == RESOURCE;
for (std::map<int,std::string>::iterator l4_to_l5_iter = components_map.at((*g)[l4_is_source?old_graph_source:old_graph_target].get_name()).begin();l4_to_l5_iter != components_map.at((*g)[l4_is_source?old_graph_source:old_graph_target].get_name()).end();++l4_to_l5_iter)
{
PRINT_DEBUG("components map at: "+(*g)[l4_is_source?old_graph_source:old_graph_target].get_name()+ " size is: "+boost::lexical_cast<std::string>(components_map.at((*g)[l4_is_source?old_graph_source:old_graph_target].get_name()).size()));
new_source = get_node_reference(l4_is_source? (*l4_to_l5_iter).second:(*g)[old_graph_source].get_name() );
new_target = get_node_reference(l4_is_source? (*g)[old_graph_target].get_name() : (*l4_to_l5_iter).second);
boost::tie(e,b) = boost::add_edge(new_source,new_target,ig);
boost::tie(e,b) = boost::add_edge(new_target,new_source,ig);
}
break;
}
default:
{
PRINT_DEBUG("edge transformation in default case that should never be reached");
throw std::runtime_error("edge transformation in default case that should never be reached");
break;
}
}
PRINT_DEBUG("edge creation end");
}
std::ofstream myfile2;
myfile2.open ("/home/emanuele/Documents/tmp_graph/aaaedged.dot");
boost::write_graphviz(myfile2, ig,make_vertex_writer(boost::get(&Timing_Node::layer, ig),boost::get (&Timing_Node::name, ig)));
myfile2.close();
//search for master tasks.
//preparation: get processors
std::pair<timing_vertex_iter, timing_vertex_iter> tvp;
std::vector <timing_vertex_t> processor_vertex_t;
for (tvp = vertices(ig); tvp.first != tvp.second; ++tvp.first)
{
if(ig[*tvp.first].type == PROCESSOR)
{
processor_vertex_t.push_back(*tvp.first);
}
}
//search tasks for every processor
boost::filtered_graph<Timing_Graph,true_edge_predicate<Timing_Graph>,task_search_filter_c> task_per_processor_fg (ig,true_edge_predicate<Timing_Graph>(ig),task_search_filter_c(ig));
masters_task_research_visitor::colormap map = get(boost::vertex_color, task_per_processor_fg);
std::pair<boost::filtered_graph<Timing_Graph,true_edge_predicate<Timing_Graph>,task_search_filter_c>::vertex_iterator, boost::filtered_graph<Timing_Graph,true_edge_predicate<Timing_Graph>,task_search_filter_c>::vertex_iterator> processor_to_task_f_vp;
std::map<timing_vertex_t, std::vector <std::string>> processor_to_task_map;
for(std::vector<timing_vertex_t>::iterator processor_iter = processor_vertex_t.begin();processor_iter != processor_vertex_t.end();++processor_iter)
{
std::vector <std::string> vtxes;
masters_task_research_visitor vis = masters_task_research_visitor(vtxes);
vis.vertex_coloring = map; //should be passed by copy, so it should be ok. no. it is modified by reference so has to be resetted every time. note that it also has to be re_blackened
//filtered graph?
boost::depth_first_visit(task_per_processor_fg, *processor_iter,vis, map);
processor_to_task_map.insert(std::make_pair(*processor_iter, vtxes));
for (processor_to_task_f_vp = vertices(task_per_processor_fg); processor_to_task_f_vp.first != processor_to_task_f_vp.second; ++processor_to_task_f_vp.first)
map[*processor_to_task_f_vp.first] = boost::default_color_type::white_color;
}
#ifdef DEBUG
PRINT_DEBUG("processor to task mapping done. size of map is: "+boost::lexical_cast<std::string>(processor_to_task_map.size()));
for(std::map<timing_vertex_t, std::vector <std::string>>::iterator debug_iter = processor_to_task_map.begin(); debug_iter != processor_to_task_map.end(); ++debug_iter)
{
PRINT_DEBUG("processor to task mapping done. size of vector is: "+boost::lexical_cast<std::string>((*debug_iter).second.size()));
PRINT_DEBUG("processor to task mapping done. name of processor is is: "+ig[(*debug_iter).first].name);
for(std::vector <std::string>::iterator debug_iter2 = (*debug_iter).second.begin();debug_iter2 != (*debug_iter).second.end();++debug_iter2)
{
PRINT_DEBUG("processor to task mapping done. names of the vector are: "+*debug_iter2);
}
}
#endif
//filter graph (keep only 4th level)
boost::filtered_graph<Timing_Graph,true_edge_predicate<Timing_Graph>,lv4_vertex_predicate_c> ifg (ig,true_edge_predicate<Timing_Graph>(ig),lv4_vertex_predicate_c(ig));
std::ofstream myfile;
myfile.open ("/home/emanuele/Documents/tmp_graph/aaafiltrato.dot");
boost::write_graphviz(myfile, ifg,make_vertex_writer(boost::get(&Timing_Node::layer, ifg),boost::get (&Timing_Node::name, ifg)));
myfile.close();
//build a map with the association name :: timing_vertex_t to pass to the following algorithms. only the 4th level nodes are needed
std::pair<boost::filtered_graph<Timing_Graph,true_edge_predicate<Timing_Graph>,lv4_vertex_predicate_c>::vertex_iterator, boost::filtered_graph<Timing_Graph,true_edge_predicate<Timing_Graph>,lv4_vertex_predicate_c>::vertex_iterator> ftvp;
for (ftvp = vertices(ifg); ftvp.first != ftvp.second; ++ftvp.first)
{
name_to_node_map.insert(std::make_pair(ifg[*ftvp.first].name,*ftvp.first ));
}
//for eaech processor, do a dfs or bfs to search interfered tasks. that is, master ports reached from a slave one.
// start: slave port of processor: flag = true.
// next: is_master, flag -> save, unset, continue
// next: is_master, !flag -> continue
// next: is_slave, !flag -> set
// un po' piu complessa: devo salvare su una mappa le master attraversate e fare context swith con le slaves, di modo che le master siano sbiancate on backtrack delle slaves. questo perche lo stesso componente
//puo essere attraversato in piu direzioni e se le master sono scurite si perdono informazioni.
masters_task_setter_visitor::colormap master_setter_map = get(boost::vertex_color, ifg);
for(std::vector<timing_vertex_t>::iterator processor_iter = processor_vertex_t.begin();processor_iter != processor_vertex_t.end();++processor_iter)
{
std::vector<timing_vertex_t> result;
for (ftvp = vertices(ifg); ftvp.first != ftvp.second; ++ftvp.first)
master_setter_map[*ftvp.first] = boost::default_color_type::white_color;
masters_task_setter_visitor master_setter_vis = masters_task_setter_visitor(result, name_to_node_map);
master_setter_vis.vertex_coloring=master_setter_map;
boost::depth_first_visit(ifg, *processor_iter,master_setter_vis, master_setter_map);
//analyze result.
for(std::vector<timing_vertex_t>::iterator result_it = result.begin(); result_it != result.end(); ++result_it)
for(std::vector <std::string>::iterator task_it =processor_to_task_map.at(*processor_iter).begin();task_it != processor_to_task_map.at(*processor_iter).end(); ++task_it)
ig[*result_it].master_tasks.insert(*task_it);
}
for (tvp = vertices(ig); tvp.first != tvp.second; ++tvp.first)
{
PRINT_DEBUG("after master setter step. the master of: "+ig[*tvp.first].name+" are (size): "+boost::lexical_cast<std::string>(ig[*tvp.first].master_tasks.size()));
for (std::set<std::string>::iterator debug_iter=ig[*tvp.first].master_tasks.begin();debug_iter!=ig[*tvp.first].master_tasks.end();++debug_iter)
PRINT_DEBUG("and the task are: "+*debug_iter);
}
}
timing_vertex_t timing_internal_graph::get_node_reference(std::string str)
{
timing_vertex_iter vi, vi_end;
boost::tie(vi, vi_end) = boost::vertices(ig);
for (; vi != vi_end; ++vi)
{
if (ig[*vi].name == str)
return *vi;
}
throw std::runtime_error ("node "+str+" does not exist in the graph");
return Timing_Graph::null_vertex();
}
bool timing_internal_graph::search_path(std::string from, std::string to, Layer l)
{
//check from and to are valid names for the graph:
if (get_node_reference(from)== Timing_Graph::null_vertex())
throw std::runtime_error ("node "+from+" does not exist in the graph");
if (get_node_reference(to)== Timing_Graph::null_vertex())
throw std::runtime_error ("node "+to+" does not exist in the graph");
PRINT_DEBUG("from is: "+from +"and get_node_reference(from) returns vertex: "+ig[get_node_reference(from)].name);
PRINT_DEBUG("to is: "+to +"and get_node_reference(from) returns vertex: "+ig[get_node_reference(to)].name);
boost::filtered_graph<Timing_Graph,true_edge_predicate<Timing_Graph>,layer_filter_vertex_predicate_c> ifg (ig,true_edge_predicate<Timing_Graph>(ig),layer_filter_vertex_predicate_c(ig,l));
PRINT_DEBUG("in the filtered graph those nodes are from: "+ifg[get_node_reference(from)].name+" and to: "+ifg[get_node_reference(to)].name);
exploration_from_interferes_with_to_visitor::colormap master_setter_map = get(boost::vertex_color, ifg);
std::pair<boost::filtered_graph<Timing_Graph,true_edge_predicate<Timing_Graph>,layer_filter_vertex_predicate_c>::vertex_iterator, boost::filtered_graph<Timing_Graph,true_edge_predicate<Timing_Graph>,layer_filter_vertex_predicate_c>::vertex_iterator> ftvp;
for (ftvp = vertices(ifg); ftvp.first != ftvp.second; ++ftvp.first)
master_setter_map[*ftvp.first] = boost::default_color_type::white_color;
exploration_from_interferes_with_to_visitor master_setter_vis = exploration_from_interferes_with_to_visitor(get_node_reference(to), name_to_node_map, l);
master_setter_vis.vertex_coloring=master_setter_map;
try {
boost::depth_first_visit(ifg, get_node_reference(from),master_setter_vis, master_setter_map);
}
catch (std::runtime_error e)
{
//std::cout << e.what();
return false;
}
#if 0
vertex_t source_os;
if (l != CONTROLLER)
{
boost::graph_traits<Timing_Graph>::out_edge_iterator edges_out, edges_out_end;
boost::tie (edges_out,edges_out_end) = boost::out_edges(get_node_reference(from),ig);
for(;edges_out != edges_out_end; ++edges_out)
{
PRINT_DEBUG("considered edge is: ("+ig[boost::source(*edges_out,ig)].name+" , "+ig[boost::target(*edges_out,ig)].name+")");
if (ig[boost::target(*edges_out,ig)].layer == CONTROLLER)
{
PRINT_DEBUG("if condition is true" );
source_os = boost::target(*edges_out,ig);
break;
}
}
PRINT_DEBUG ("starting search. source OS is: "+ig[source_os].name);
}
else
{
source_os=0;
PRINT_DEBUG ("starting search. else branch source OS is: "+ig[source_os].name);
}
std::vector<vertex_t> path;
boost::filtered_graph<Timing_Graph,inner_edge_predicate_c,inner_vertex_predicate_c> ifg (ig,inner_edge_predicate_c(ig,l,get_node_reference(to))/*doesnt really matter. can be deleted*/,inner_vertex_predicate_c(ig,l,ig[source_os].name));
source_to_target_visitor vis = source_to_target_visitor(path,get_node_reference(to));
//#if 0
std::ofstream myfile;
myfile.open ("/home/emanuele/Documents/tmp_graph/aaafiltrato.dot");
boost::write_graphviz(myfile, ifg,make_vertex_writer(boost::get(&Custom_Vertex::layer, ifg),boost::get (&Custom_Vertex::name, ifg),boost::get(&Custom_Vertex::ports, ifg), boost::get(&Custom_Vertex::type,ifg ), boost::get(&Custom_Vertex::priority_category,ifg))
,/*make_edge_writer(boost::get(&Custom_Edge::priority,ig),boost::get(&Custom_Edge::from_port,ig),boost::get(&Custom_Edge::to_port,ig))*/
boost::make_label_writer(boost::get(&Custom_Edge::priority,ig)));
myfile.close();
//#endif
try {
boost::depth_first_search(
ifg, boost::root_vertex(get_node_reference(from)).visitor(vis)
);
}
catch (int exception) {
if (exception == 3)
{
PRINT_DEBUG ("SEARCH: path found, and is:");
for (vertex_t v : path)
{
PRINT_DEBUG(ig[v].name); //TODO ricompattare gli "esplosi" se ne vale la pena. senti il capo.
}
return true;
}
else if (exception == 2)
{
PRINT_DEBUG ("SEARCH: restarting, path not foundd");
return false;
}
}
#endif
return true;
}
#if 0
//posso usarla per entrambe le ricerche. reverse "decide" se grafo dritto (ovvero this node interferes with) oppure al contrario (this node is interfered by)
void timing_internal_graph::search_interfered_nodes (std::string source, bool reverse)
{
PRINT_DEBUG("interfered node search: start");
vertex_t source_os;
boost::graph_traits<Timing_Graph>::out_edge_iterator edges_out, edges_out_end;
boost::tie (edges_out,edges_out_end) = boost::out_edges(get_node_reference(source),ig);
for(;edges_out != edges_out_end; ++edges_out)
{
PRINT_DEBUG("interfered node search considered edge is: ("+ig[boost::source(*edges_out,ig)].name+" , "+ig[boost::target(*edges_out,ig)].name+")");
if (ig[boost::target(*edges_out,ig)].layer == CONTROLLER)
{
PRINT_DEBUG("interfered node search if condition is true" );
source_os = boost::target(*edges_out,ig);
break;
}
}
PRINT_DEBUG ("interfered node search starting search. source OS is: "+ig[source_os].name);
std::vector<vertex_t> controller_reached_tasks;
std::vector<vertex_t> components_reached_tasks;
std::vector<vertex_t> physical_reached_tasks;
//Timing_Graph target_graph = reverse ?boost::make_reverse_graph(ig) :ig;
boost::filtered_graph<Timing_Graph,inner_edge_predicate_c,inner_vertex_predicate_c> ifg (target_graph,inner_edge_predicate_c(target_graph,LAYER_ERROR,get_node_reference(0))/*doesnt really matter. can be deleted*/,inner_vertex_predicate_c(target_graph,l,ig[source_os].name));
interference_visitor vis_con = interference_visitor(controller_reached_tasks);
interference_visitor vis_com = interference_visitor(components_reached_tasks);
interference_visitor vis_phy = interference_visitor(physical_reached_tasks);
try {
boost::depth_first_search(
ifg, boost::root_vertex(get_node_reference(source)).visitor(vis_con)
);
}
catch (int exception) {
if (exception == 2)
{
PRINT_DEBUG ("SEARCH: restarting, path not foundd");
for (vertex_t v : controller_reached_tasks)
{
PRINT_DEBUG(target_graph[v].name); //TODO ricompattare gli "esplosi" se ne vale la pena. senti il capo.
}
}
}
try {
boost::depth_first_search(
ifg, boost::root_vertex(get_node_reference(source)).visitor(vis_com)
);
}
catch (int exception) {
if (exception == 2)
{
PRINT_DEBUG ("SEARCH: restarting, path not foundd");
for (vertex_t v : components_reached_tasks)
{
PRINT_DEBUG(target_graph[v].name); //TODO ricompattare gli "esplosi" se ne vale la pena. senti il capo.
}
}
}
try {
boost::depth_first_search(
ifg, boost::root_vertex(get_node_reference(source)).visitor(vis_phy)
);
}
catch (int exception) {
if (exception == 2)
{
PRINT_DEBUG ("SEARCH: restarting, path not foundd");
for (vertex_t v : physical_reached_tasks)
{
PRINT_DEBUG(target_graph[v].name); //TODO ricompattare gli "esplosi" se ne vale la pena. senti il capo.
}
}
}
}
#endif | [
"vitali.ema@hotmail.it"
] | vitali.ema@hotmail.it |
f9529045320a5d906366cb6ba17268c783ec6a93 | 9007e49918e2b3f41188439d0c1c9ebfa5ab6f9d | /Cplusplus98/main.cc | f8898e11b24ea5fde9b971e911280f24d536bd64 | [] | no_license | lishaohsuai/threadpool | a60a30ada35628cfa741c77c583808b18f0d92ed | 6ab71cd1916bcf6c35b2b3157cf454a12f05f1e7 | refs/heads/main | 2023-03-13T00:35:05.433725 | 2021-02-25T11:37:48 | 2021-02-25T11:37:48 | 341,180,502 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,136 | cc | #include <iostream>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <pthread.h>
#include <vector>
#include "threadPool.hh"
class MyTask: public zl::Task
{
public:
MyTask(){}
virtual int run() {
printf("thread[%lu] : %d\n", pthread_self(), *(int*)this->arg_);
// sleep(1);
const int MM = 100000;
for(int i=0; i<MM; i++)
for(int j=0; j<MM; j++);
return 0;
}
};
int main() {
char szTmp[] = "hello world";
std::vector<MyTask> taskObj;
taskObj.resize(100);
std::vector<int> vv(100);
for(int i=0; i<100; i++){
vv[i] = i;
taskObj[i].setArg((void*)&vv[i]);
}
zl::ThreadPool threadPool(16);
for(int i = 0; i < 100; i++) {
threadPool.addTask(&taskObj[i]);
}
while(1) {
printf("there are still %d tasks need to process\n", threadPool.size());
if (threadPool.size() == 0) {
threadPool.stop();
printf("Now I will exit from main\n");
exit(0);
}
sleep(2);
}
return 0;
} | [
"1049188593@qq.com"
] | 1049188593@qq.com |
276ed172ba95ca61cab0b2981ea9cd169e3e39f2 | 16137a5967061c2f1d7d1ac5465949d9a343c3dc | /cpp_code/meta/fib-slow.hpp | c41fa7fd7ff2e4c36579552b331d5c0dbcd304cf | [] | no_license | MIPT-ILab/cpp-lects-rus | 330f977b93f67771b118ad03ee7b38c3615deef3 | ba8412dbf4c8f3bee7c6344a89e0780ee1dd38f2 | refs/heads/master | 2022-07-28T07:36:59.831016 | 2022-07-20T08:34:26 | 2022-07-20T08:34:26 | 104,261,623 | 27 | 4 | null | 2021-02-04T21:39:23 | 2017-09-20T19:56:44 | TeX | UTF-8 | C++ | false | false | 460 | hpp | namespace Slower
{
template <unsigned TreePos, unsigned N>
struct FibSlower
{
enum
{
value = FibSlower<TreePos, N - 1>::value + FibSlower<TreePos + (1 << N), N - 2>::value
};
};
template <unsigned TreePos>
struct FibSlower<TreePos, 1>
{
enum
{
value = 1
};
};
template <unsigned TreePos>
struct FibSlower<TreePos, 0>
{
enum
{
value = 0
};
};
template <unsigned N>
using Fibonacci = FibSlower<0, N>;
}
| [
"konstantin.vladimirov@gmail.com"
] | konstantin.vladimirov@gmail.com |
727d9325b96507e69279b3f598819c892b4e50a1 | 831e7458aeae4c3bedd56ef49eb412915a83be8c | /utils/frisoutil.cpp | 6d07b31d6b072ab7c30617da816cfb88b64e9c9b | [] | no_license | frankiegu/WriterFly | 2510dea04fd3218854fa14fa76235b0ac1efdc36 | 6680b93eee34901dadbf4bd11a324909d14fd0f5 | refs/heads/master | 2020-04-29T07:14:37.060475 | 2019-03-13T07:55:08 | 2019-03-13T07:55:08 | 175,945,175 | 2 | 0 | null | 2019-03-16T08:17:59 | 2019-03-16T08:17:59 | null | UTF-8 | C++ | false | false | 1,683 | cpp | #include "frisoutil.h"
FrisoUtil::FrisoUtil()
{
inited = false;
initing = false;
valid = true;
}
FrisoUtil::~FrisoUtil()
{
Destructor();
}
QStringList FrisoUtil::WordSegment(QString _text)
{
Q_UNUSED(_text);
#if defined(Q_OS_WIN)
if (!valid)
return sList;
if (!inited)
{
init();
if (inited == false) // 初始化失败
{
QStringList list;
int len = _text.length();
for (int i = 0; i < len; i++)
list.append(_text.mid(i, 1));
return list;
}
}
if (_text == _recent) return sList;
_recent = _text;
friso_task_t task = friso_new_task();
fstring text = _text.toUtf8().data();
friso_set_text(task, text);
sList.clear();
while ( (friso_next(friso, config, task)) != nullptr )
{
sList.append(task->hits->word);
}
friso_free_task(task);
#endif
return sList;
}
void FrisoUtil::Destructor()
{
#if defined(Q_OS_WIN)
friso_free_config(config);
friso_free(friso);
#endif
}
bool FrisoUtil::init()
{
#if defined(Q_OS_Android)
initing = true;
valid = false;
#elif defined(Q_OS_WIN)
if (initing) return false;
initing = true;
char pa[1000] = "";
strcpy(pa, QApplication::applicationDirPath().toLocal8Bit().data());
strcat(pa, "/tools/friso/friso.ini");
fstring _ifile = pa;
friso = friso_new();
config = friso_new_config();
if (friso_init_from_ifile(friso, config, _ifile) != 1) {
qDebug() << "fail to initialize friso and config.";
return initing = false;
}
initing = false;
inited = true;
#endif
return true;
}
| [
"wxy19980615@gmail.com"
] | wxy19980615@gmail.com |
d8f5788723d71489a009b0c81715a4b6e690a2ce | f0cbd1891b71b73645e30a66eb3669512325ebd0 | /CarbonRender/Inc/CRGLHelper.h | bcd587b8682a54ce0302c7157f74e9b2a0a49641 | [
"MIT"
] | permissive | Hanggansta/CarbonRender | 0cba7b1abf0853069c117cd9124d9c831fe5d889 | f484dfbdf45403f0b548d51a4adbe72840aabdec | refs/heads/master | 2020-07-31T06:23:20.885346 | 2019-09-23T21:53:36 | 2019-09-23T21:53:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 585 | h | #ifndef CR_GLHELPER
#define CR_GLHELPER
#include "..\Inc\CRGloble.h"
class GLHelper
{
public:
static void SetGLArrayBuffer(GLuint bIndex, GLsizeiptr bSize, const GLvoid* bData, GLuint eSize, GLenum eType, GLuint aPos);
static GLuint SetGLRenderTexture(GLsizei w, GLsizei h, GLint internalFormat, GLenum format, GLenum type, GLenum attach, bool mipmap);
static void SetGLRenderTexture(GLuint rt, GLenum attach);
static GLuint SetGLCubeRenderTexture(GLsizei size, GLint internalFormat, GLenum format, GLenum type);
static GLuint SetGLDepthBuffer(GLsizei w, GLsizei h);
};
#endif
| [
"carbonsunsu@gmail.com"
] | carbonsunsu@gmail.com |
6b05cfeef0c81bc602cd9227b30c9ffc6498d62c | 82815230eeaf24d53f38f2a3f144dd8e8d4bc6b5 | /Laminar Pipe/laminarPipe3/system/blockMeshDict | 3491effb200ecd07d59f9db4f54f45ef738366ab | [
"MIT"
] | permissive | ishantja/KUHPC | 6355c61bf348974a7b81b4c6bf8ce56ac49ce111 | 74967d1b7e6c84fdadffafd1f7333bf533e7f387 | refs/heads/main | 2023-01-21T21:57:02.402186 | 2020-11-19T13:10:42 | 2020-11-19T13:10:42 | 312,429,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,740 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
scale 0.01;
a 75;
b 25;
c 25;
yi -51;
yf 51;
zi -51;
zf 51;
xi 5;
xf 295;
vertices
(
($xi $yi $zi) //0
($xf $yi $zi) //1
($xf $yf $zi) //2
($xi $yf $zi) //3
($xi $yi $zf) //4
($xf $yi $zf) //5
($xf $yf $zf) //6
($xi $yf $zf) //7
);
blocks
(
hex (0 1 2 3 4 5 6 7) ($a $b $c) simpleGrading (1 1 1)
);
edges
(
);
boundary
(
frontAndBack
{
type patch;
faces
(
(3 7 6 2)
(1 5 4 0)
);
}
inlet
{
type patch;
faces
(
(0 4 7 3)
);
}
outlet
{
type patch;
faces
(
(2 6 5 1)
);
}
lowerWall
{
type wall;
faces
(
(0 3 2 1)
);
}
upperWall
{
type patch;
faces
(
(4 5 6 7)
);
}
);
// ************************************************************************* //
| [
"ishantamrakat24@gmail.com"
] | ishantamrakat24@gmail.com | |
620ccb08c730b22e5d16a229cd44a2b9558f41a4 | 083ca3df7dba08779976d02d848315f85c45bf75 | /DungeonGame.cpp | 5bb3cd62583701edfed384c5947848a84e9253ee | [] | no_license | jiangshen95/UbuntuLeetCode | 6427ce4dc8d9f0f6e74475faced1bcaaa9fc9f94 | fa02b469344cf7c82510249fba9aa59ae0cb4cc0 | refs/heads/master | 2021-05-07T02:04:47.215580 | 2020-06-11T02:33:35 | 2020-06-11T02:33:35 | 110,397,909 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,304 | cpp | #include<iostream>
#include<vector>
using namespace std;
class Solution {
public:
int calculateMinimumHP(vector<vector<int> >& dungeon) {
int m = dungeon.size(), n = dungeon[0].size();
vector<vector<int> > dp(m, vector<int>(n));
dp[m-1][n-1] = max(1, 1 - dungeon[m-1][n-1]);
for(int i=m-1;i>=0;i--){
for(int j=n-1;j>=0;j--){
if(i == m-1 && j == n-1){
continue;
}
if(i == m-1){
dp[i][j] = max(1, dp[i][j+1] - dungeon[i][j]);
}else if(j == n-1){
dp[i][j] = max(1, dp[i+1][j] - dungeon[i][j]);
}else{
dp[i][j] = max(min(dp[i+1][j], dp[i][j+1]) - dungeon[i][j], 1);
}
}
}
return dp[0][0];
}
};
int main(){
int m, n;
cin>>m>>n;
vector<vector<int> > dungeon;
for(int i=0;i<m;i++){
vector<int> raw;
for(int j=0;j<n;j++){
int num;
cin>>num;
raw.push_back(num);
}
dungeon.push_back(raw);
}
Solution *solution = new Solution();
cout<<solution->calculateMinimumHP(dungeon);
return 0;
}
| [
"jiangshen95@163.com"
] | jiangshen95@163.com |
678f8b1aa0dde8c824c72298218e5757d73b6334 | 8f58614751bd1eeace81c8b62ca51ea49c474645 | /uva/266/D.cpp | 640903cfa2cec8075d019f25af17776b6db060e2 | [] | no_license | iwiwi/programming-contests | 14d8a0c5739a4c31f1c3a4d90506e478fa4d08b5 | 8909560f9036de8f275f677dec615dc5fa993aff | refs/heads/master | 2021-01-25T04:08:39.627057 | 2015-05-10T13:28:20 | 2015-05-10T13:28:20 | 2,676,087 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,207 | cpp | #include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <stack>
#include <queue>
#include <set>
#include <map>
#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cctype>
#include <cmath>
#include <cassert>
using namespace std;
#define all(c) (c).begin(), (c).end()
#define iter(c) __typeof((c).begin())
#define cpresent(c, e) (find(all(c), (e)) != (c).end())
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define tr(c, i) for (iter(c) i = (c).begin(); i != (c).end(); ++i)
#define pb(e) push_back(e)
#define mp(a, b) make_pair(a, b)
int main() {
for (;;) {
int L, W, x, y, R, a, v, s;
cin >> L >> W >> x >> y >> R >> a >> v >> s;
if (L == 0) break;
// L - 2R, W - 2R
x -= R;
y -= R;
double tx = x + cos(a / 180.0 * M_PI) * v * s;
double ty = y + sin(a / 180.0 * M_PI) * v * s;
double tl = L - 2 * R;
double tw = W - 2 * R;
double sx = fmod(tx, tl * 2);
double sy = fmod(ty, tw * 2);
if (sx < 0) sx += tl * 2;
if (sy < 0) sy += tw * 2;
if (sx > tl) sx = tl * 2 - sx;
if (sy > tw) sy = tw * 2 - sy;
printf("%.2f %.2f\n", sx + R, sy + R);
}
return 0;
}
| [
"iw@iwi.tc"
] | iw@iwi.tc |
96f6217baf607bd5e28e25f0fb70b8a7ccd771a5 | 1130bcd2ab620dcc7c5ea81e6d275283fdfb9f88 | /channelinfo.cpp | 8faa4c83dfdacd089ca879afa2789351b9003b29 | [] | no_license | 372272083/mfds | c2245f98ee4d5e5ec89379e72e61826f00d3d334 | 659f01e9e206ff12c2aa327968d24ef717d2b65d | refs/heads/master | 2020-04-14T15:03:51.850005 | 2019-08-12T08:54:54 | 2019-08-12T08:54:54 | 143,227,303 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 75 | cpp | #include "channelinfo.h"
ChannelInfo::ChannelInfo() : TreeNodeInfo()
{
}
| [
"372272083@qq.com"
] | 372272083@qq.com |
52f55123b63e1c1d68a253a92e37cbca9eff51d3 | 4cdaf1bcf4ade491da75053d5240fc5b8c3c0566 | /TIDCore/TIDModel.cpp | f019ea714e92ab4fae017b53322e3a4f009cb179 | [] | no_license | presscad/Tid | 2deae59b344363e0ce132ae8d8c5a6d422eee489 | 528afa2fea893e3131fa8bb7673363fba5d6e67b | refs/heads/master | 2021-02-15T20:28:35.226199 | 2020-02-26T07:57:09 | 2020-02-26T07:57:09 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 81,676 | cpp | #include "StdAfx.h"
#include "tidmodel.h"
#include "SegI.h"
#include "list.h"
#include "ArrayList.h"
#include "LogFile.h"
#include "WirePlaceCode.h"
#if defined(_DEBUG)&&!defined(_DISABLE_DEBUG_NEW_)
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
//////////////////////////////////////////////////////////////////////////
// 全局工具函数
#ifndef _DISABLE_MOD_CORE_
#include "ModCore.h"
static GECS TransToUcs(MOD_CS modCs)
{
GECS cs;
cs.origin.Set(modCs.origin.x,modCs.origin.y,modCs.origin.z);
cs.axis_x.Set(modCs.axisX.x,modCs.axisX.y,modCs.axisX.z);
cs.axis_y.Set(modCs.axisY.x,modCs.axisY.y,modCs.axisY.z);
cs.axis_z.Set(modCs.axisZ.x,modCs.axisZ.y,modCs.axisZ.z);
return cs;
}
#endif
static TID_CS ConvertCSFrom(const GECS& ucs)
{
TID_CS cs;
cs.origin.Set(ucs.origin.x, ucs.origin.y, ucs.origin.z);
cs.axisX.Set(ucs.axis_x.x, ucs.axis_x.y, ucs.axis_x.z);
cs.axisY.Set(ucs.axis_y.x, ucs.axis_y.y, ucs.axis_y.z);
cs.axisZ.Set(ucs.axis_z.x, ucs.axis_z.y, ucs.axis_z.z);
return cs;
}
static UCS_STRU ConvertUCSFrom(const TID_CS& cs)
{
UCS_STRU ucs;
ucs.origin.Set(cs.origin.x, cs.origin.y, cs.origin.z);
ucs.axis_x.Set(cs.axisX.x, cs.axisX.y, cs.axisX.z);
ucs.axis_y.Set(cs.axisY.x, cs.axisY.y, cs.axisY.z);
ucs.axis_z.Set(cs.axisZ.x, cs.axisZ.y, cs.axisZ.z);
return ucs;
}
static bool IsIncludeObject(CFGWORD moduleCfgWord, BYTE arrQuadLegNo[4], CFGWORD objCfgWord, BYTE cLegQuad)
{
bool validpart = false;
if (cLegQuad == 0 || cLegQuad > 4)
{ //cLegQuad>4时表示数据不合法,暂按塔身处理 wjh-2016.2.16
if (objCfgWord.And(moduleCfgWord))
validpart = true;
}
else if (cLegQuad <= 4)
{
if (objCfgWord.IsHasNo(arrQuadLegNo[cLegQuad - 1]))
validpart = true;
}
return validpart;
}
static bool IsIncludeObject(CFGWORD moduleCfgWord, CFGWORD objCfgWord, BYTE cLegQuad)
{
bool validpart = false;
if (cLegQuad == 0 || cLegQuad > 4)
{ //cLegQuad>4时表示数据不合法,暂按塔身处理
if (objCfgWord.And(moduleCfgWord))
validpart = true;
}
else
{ //1~4时,按塔腿处理
if (moduleCfgWord.And(objCfgWord))
validpart = true;
}
return validpart;
}
//////////////////////////////////////////////////////////////////////////
// CTidModel
CTidModel::CTidModel(long serial/*=0*/)
{
m_iSerial=serial;
m_dwAssmblyIter=1;
m_dwBoltCount=m_dwPartCount=m_dwBlockCount=0;
}
CTidModel::~CTidModel()
{
}
bool CTidModel::ReadTidFile(const char* file_path)
{
FILE* fp=fopen(file_path,"rb");
if(fp==NULL)
return false;
fseek(fp,0,SEEK_END);
DWORD file_len=ftell(fp);
fseek(fp,0,SEEK_SET);
DYN_ARRAY<char> pool(file_len);
fread(pool,1,file_len,fp);
fclose(fp);
InitTidBuffer(pool,file_len);
return true;
}
bool CTidModel::InitTidBuffer(const char* src_buf,long buf_len)
{
if(!m_xTidBuffer.InitBuffer(src_buf,buf_len))
return false;
m_xModuleSection=m_xTidBuffer.ModuleSection();
m_xFoundationSection = m_xTidBuffer.SubLegFoundationSection();
m_xWireNodeSection = m_xTidBuffer.WireNodeSection();
m_xProjectInfoSection = m_xTidBuffer.ProjectInfoSection();
m_xPartSection=m_xTidBuffer.PartSection();
m_xBoltLib.sectdata=m_xTidBuffer.BoltSection();
m_xBlockSection=m_xTidBuffer.BlockSection();
m_xAssembleSection=m_xTidBuffer.AssembleSection();
m_xNodeSection=m_xAssembleSection.NodeSection();
m_xAssemblyParts=m_xAssembleSection.PartSection();
m_xAssemblyBolts=m_xAssembleSection.BoltSection();
m_dwPartCount=m_xAssemblyParts.AssemblyCount();
m_dwBoltCount=m_xAssemblyBolts.AssemblyCount();
m_dwBlockCount=m_xBlockSection.GetBlockCount();
//
m_xBoltLib.hashBoltSeries.Empty();
hashHeightGroup.Empty();
hashHangPoint.Empty();
hashTidNode.Empty();
hashAssemblePart.Empty();
hashAssembleBolt.Empty();
hashAssembleAnchorBolt.Empty();
InitTidDataInfo();
return true;
}
void CTidModel::InitTidDataInfo()
{
UINT uCount = 0, iHuGaoKey = 0, iPartKey = 0, iBoltKey = 0, iNodeKey = 0;
//提取呼高信息
uCount = m_xModuleSection.GetModuleCount();
for (UINT i = 0; i < uCount; i++)
{
CTidHeightGroup* pHeightGroup = hashHeightGroup.Add(++iHuGaoKey);
pHeightGroup->m_pModel = this;
pHeightGroup->module = m_xModuleSection.GetModuleAt(i);
}
//节点信息
CTidNode* pTidNode = NULL;
uCount = m_xNodeSection.NodeCount();
for (UINT i = 0; i < uCount; i++)
{
NODE_ASSEMBLY node;
m_xNodeSection.GetNodeByIndexId(i + 1, true, node);
//
pTidNode = hashTidNode.Add(++iNodeKey);
pTidNode->SetBelongModel(this);
pTidNode->node = node;
}
uCount = m_xNodeSection.NodeCount(false);
for (UINT i = 0; i < uCount; i++)
{
NODE_ASSEMBLY node;
m_xNodeSection.GetNodeByIndexId(i + 1, false, node);
UINT uBlkRef = m_xAssembleSection.BlockAssemblyCount();
for (UINT indexId = 1; indexId <= uBlkRef; indexId++)
{
BLOCK_ASSEMBLY blkassembly = m_xAssembleSection.GetAssemblyByIndexId(indexId);
if (blkassembly.wIndexId != node.wBlockIndexId)
continue; //该构件不属于当前部件装配对象
TOWER_BLOCK block = m_xBlockSection.GetBlockAt(blkassembly.wIndexId - 1);
node.xPosition = block.lcs.TransPToCS(node.xPosition);
node.xPosition = blkassembly.acs.TransPFromCS(node.xPosition);
//
pTidNode = hashTidNode.Add(++iNodeKey);
pTidNode->SetBelongModel(this);
pTidNode->node = node;
}
}
//提取杆塔装配构件
CTidAssemblePart* pAssmPart = NULL;
uCount = m_xAssemblyParts.AssemblyCount();
for (UINT i = 0; i < uCount; i++)
{
PART_ASSEMBLY assemble;
m_xAssemblyParts.GetAssemblyByIndexId(i + 1, true, assemble);
PART_INFO partinfo = m_xPartSection.GetPartInfoByIndexId(assemble.dwIndexId);
//
pAssmPart = hashAssemblePart.Add(++iPartKey);
pAssmPart->SetBelongModel(this);
pAssmPart->part = assemble;
pAssmPart->solid.CopySolidBuffer(partinfo.solid.BufferPtr(), partinfo.solid.BufferLength());
pAssmPart->solid.TransToACS(ConvertCSFrom(assemble.acs));
}
//提取部件装配构件
uCount = m_xAssemblyParts.AssemblyCount(false);
for (UINT i = 0; i < uCount; i++)
{
PART_ASSEMBLY assemble;
m_xAssemblyParts.GetAssemblyByIndexId(i + 1, false, assemble);
PART_INFO partinfo = m_xPartSection.GetPartInfoByIndexId(assemble.dwIndexId);
UINT uBlkRef = m_xAssembleSection.BlockAssemblyCount();
for (UINT indexId = 1; indexId <= uBlkRef; indexId++)
{
BLOCK_ASSEMBLY blkassembly = m_xAssembleSection.GetAssemblyByIndexId(indexId);
if (blkassembly.wIndexId != assemble.wBlockIndexId)
continue; //该构件不属于当前部件装配对象
TOWER_BLOCK block = m_xBlockSection.GetBlockAt(blkassembly.wIndexId - 1);
//
pAssmPart = hashAssemblePart.Add(++iPartKey);
pAssmPart->SetBelongModel(this);
pAssmPart->part = assemble;
pAssmPart->solid.CopySolidBuffer(partinfo.solid.BufferPtr(), partinfo.solid.BufferLength());
pAssmPart->solid.TransToACS(ConvertCSFrom(assemble.acs));
pAssmPart->solid.TransACS(ConvertCSFrom(block.lcs), ConvertCSFrom(blkassembly.acs));
}
}
//提取杆塔装配螺栓
IBoltSeriesLib* pBoltLibrary = GetBoltLib();
uCount = m_xAssemblyBolts.AssemblyCount();
for (UINT i = 0; i < uCount; i++)
{
BOLT_ASSEMBLY assemble;
assemble = m_xAssemblyBolts.GetAssemblyByIndexId(i + 1, true);
IBoltSeries* pBoltSeries = pBoltLibrary->GetBoltSeriesAt(assemble.cSeriesId - 1);
IBoltSizeSpec* pBoltSize = pBoltSeries->GetBoltSizeSpecById(assemble.wIndexId);
if (pBoltSize == NULL)
{
logerr.Log("BoltSizeSpec@%d not found!\n", assemble.wIndexId);
continue;
}
CTidSolidBody* pBoltSolid = (CTidSolidBody*)pBoltSize->GetBoltSolid();
CTidSolidBody* pNutSolid = (CTidSolidBody*)pBoltSize->GetNutSolid();
if (pBoltSolid == NULL || pNutSolid == NULL)
{
logerr.Log("BoltSolid@%d not found!\n", assemble.wIndexId);
continue;
}
//
CTidAssembleBolt* pAssmBolt = hashAssembleBolt.Add(++iBoltKey);
pAssmBolt->SetBelongModel(this);
pAssmBolt->bolt = assemble;
pAssmBolt->solid.bolt.CopySolidBuffer(pBoltSolid->SolidBufferPtr(), pBoltSolid->SolidBufferLength());
pAssmBolt->solid.nut.CopySolidBuffer(pNutSolid->SolidBufferPtr(), pNutSolid->SolidBufferLength());
TID_CS bolt_acs, nut_acs;
nut_acs = bolt_acs = pAssmBolt->GetAcs();
nut_acs.origin.x += bolt_acs.axisZ.x*assemble.wL0;
nut_acs.origin.y += bolt_acs.axisZ.y*assemble.wL0;
nut_acs.origin.z += bolt_acs.axisZ.z*assemble.wL0;
pAssmBolt->solid.bolt.TransToACS(bolt_acs);
pAssmBolt->solid.nut.TransToACS(nut_acs);
}
//提取部件装配螺栓
uCount = m_xAssemblyBolts.AssemblyCount(false);
for (UINT i = 0; i < uCount; i++)
{
BOLT_ASSEMBLY assemble = m_xAssemblyBolts.GetAssemblyByIndexId(i + 1, false);
IBoltSeries* pBoltSeries = pBoltLibrary->GetBoltSeriesAt(assemble.cSeriesId - 1);
IBoltSizeSpec* pBoltSize = pBoltSeries->GetBoltSizeSpecById(assemble.wIndexId);
if (pBoltSize == NULL)
{
logerr.Log("BoltSizeSpec@%d not found!\n", assemble.wIndexId);
continue;
}
CTidSolidBody* pBoltSolid = (CTidSolidBody*)pBoltSize->GetBoltSolid();
CTidSolidBody* pNutSolid = (CTidSolidBody*)pBoltSize->GetNutSolid();
if (pBoltSolid == NULL || pNutSolid == NULL)
{
logerr.Log("BoltSolid@%d not found!\n", assemble.wIndexId);
continue;
}
UINT uBlkRef = m_xAssembleSection.BlockAssemblyCount();
for (UINT indexId = 1; indexId <= uBlkRef; indexId++)
{
BLOCK_ASSEMBLY blkassembly = m_xAssembleSection.GetAssemblyByIndexId(indexId);
if (blkassembly.wIndexId != assemble.wBlockIndexId)
continue; //该构件不属于当前部件装配对象
TOWER_BLOCK block = m_xBlockSection.GetBlockAt(blkassembly.wIndexId - 1);
//
CTidAssembleBolt* pAssmBolt = hashAssembleBolt.Add(++iBoltKey);
pAssmBolt->SetBelongModel(this);
pAssmBolt->bolt = assemble;
pAssmBolt->solid.bolt.CopySolidBuffer(pBoltSolid->SolidBufferPtr(), pBoltSolid->SolidBufferLength());
pAssmBolt->solid.nut.CopySolidBuffer(pNutSolid->SolidBufferPtr(), pNutSolid->SolidBufferLength());
TID_CS bolt_acs, nut_acs;
nut_acs = bolt_acs = pAssmBolt->GetAcs();
nut_acs.origin.x += bolt_acs.axisZ.x*assemble.wL0;
nut_acs.origin.y += bolt_acs.axisZ.y*assemble.wL0;
nut_acs.origin.z += bolt_acs.axisZ.z*assemble.wL0;
pAssmBolt->solid.bolt.TransToACS(bolt_acs);
pAssmBolt->solid.nut.TransToACS(nut_acs);
pAssmBolt->solid.bolt.TransACS(ConvertCSFrom(block.lcs), ConvertCSFrom(blkassembly.acs));
pAssmBolt->solid.nut.TransACS(ConvertCSFrom(block.lcs), ConvertCSFrom(blkassembly.acs));
}
}
//解析工程信息内存区
for (int i = 0; i < m_xProjectInfoSection.m_ciSubProjSectionCount; i++)
{
CProjInfoSubSection xSubSection= m_xProjectInfoSection.GetSubSectionAt(i);
CBuffer sectbuf(xSubSection.BufferPtr(), xSubSection.BufferLength());
if (xSubSection.m_uidSubSection == 23545686)
{ //GIM工程属性信息
sectbuf.Read(m_xGimFileHeadInfo.m_sFileTag, 16);
sectbuf.Read(m_xGimFileHeadInfo.m_sFileName, 256);
sectbuf.Read(m_xGimFileHeadInfo.m_sDesigner, 64);
sectbuf.Read(m_xGimFileHeadInfo.m_sUnit, 256);
sectbuf.Read(m_xGimFileHeadInfo.m_sSoftName, 128);
sectbuf.Read(m_xGimFileHeadInfo.m_sTime, 16);
sectbuf.Read(m_xGimFileHeadInfo.m_sSoftMajorVer, 8);
sectbuf.Read(m_xGimFileHeadInfo.m_sSoftMinorVer, 8);
sectbuf.Read(m_xGimFileHeadInfo.m_sMajorVersion, 8);
sectbuf.Read(m_xGimFileHeadInfo.m_sMinorVersion, 8);
sectbuf.Read(m_xGimFileHeadInfo.m_sBufSize, 8);
//
sectbuf.ReadInteger(&m_xGimPropertyInfo.m_nCircuit);
sectbuf.ReadDouble(&m_xGimPropertyInfo.m_fWindSpeed);
sectbuf.ReadDouble(&m_xGimPropertyInfo.m_fNiceThick);
sectbuf.ReadDouble(&m_xGimPropertyInfo.m_fFrontRulingSpan);
sectbuf.ReadDouble(&m_xGimPropertyInfo.m_fBackRulingSpan);
sectbuf.ReadDouble(&m_xGimPropertyInfo.m_fMaxSpan);
sectbuf.ReadDouble(&m_xGimPropertyInfo.m_fDesignKV);
sectbuf.ReadDouble(&m_xGimPropertyInfo.m_fFrequencyRockAngle);
sectbuf.ReadDouble(&m_xGimPropertyInfo.m_fLightningRockAngle);
sectbuf.ReadDouble(&m_xGimPropertyInfo.m_fSwitchingRockAngle);
sectbuf.ReadDouble(&m_xGimPropertyInfo.m_fWorkingRockAngle);
sectbuf.ReadString(m_xGimPropertyInfo.m_sVoltGrade);
sectbuf.ReadString(m_xGimPropertyInfo.m_sType);
sectbuf.ReadString(m_xGimPropertyInfo.m_sTexture);
sectbuf.ReadString(m_xGimPropertyInfo.m_sFixedType);
sectbuf.ReadString(m_xGimPropertyInfo.m_sTaType);
sectbuf.ReadString(m_xGimPropertyInfo.m_sCWireSpec);
sectbuf.ReadString(m_xGimPropertyInfo.m_sEWireSpec);
sectbuf.ReadString(m_xGimPropertyInfo.m_sWindSpan);
sectbuf.ReadString(m_xGimPropertyInfo.m_sWeightSpan);
sectbuf.ReadString(m_xGimPropertyInfo.m_sAngleRange);
sectbuf.ReadString(m_xGimPropertyInfo.m_sRatedHeight);
sectbuf.ReadString(m_xGimPropertyInfo.m_sHeightRange);
sectbuf.ReadString(m_xGimPropertyInfo.m_sTowerWeight);
sectbuf.ReadString(m_xGimPropertyInfo.m_sManuFacturer);
sectbuf.ReadString(m_xGimPropertyInfo.m_sMaterialCode);
sectbuf.ReadString(m_xGimPropertyInfo.m_sProModelCode);
}
if (xSubSection.m_uidSubSection == 11111111)
{ //挂点信息
WORD nCount = 0;
sectbuf.ReadWord(&nCount);
for (int i = 0; i < nCount; i++)
{
CTidHangPoint* pHangPoint = hashHangPoint.Add(i + 1);
sectbuf.SeekPosition(2 + i * 112);
sectbuf.ReadWord(&pHangPoint->wireNode.wiCode);
sectbuf.ReadPoint(pHangPoint->wireNode.position);
sectbuf.ReadPoint(pHangPoint->wireNode.relaHolePt[0]);
sectbuf.ReadPoint(pHangPoint->wireNode.relaHolePt[1]);
sectbuf.Read(pHangPoint->wireNode.name, 38);
}
}
}
}
int CTidModel::GetTowerTypeName(char* towerTypeName,UINT maxBufLength/*=0*/)
{
StrCopy(towerTypeName,m_xTidBuffer.GetTowerType(),maxBufLength);
return strlen(towerTypeName);
}
TID_CS CTidModel::ModelCoordSystem()
{
GECS cs=m_xTidBuffer.ModelCoordSystem();
TID_CS tidCS;
tidCS.origin=cs.origin;
tidCS.axisX=cs.axis_x;
tidCS.axisY=cs.axis_y;
tidCS.axisZ=cs.axis_z;
return tidCS;
}
double CTidModel::GetNamedHeightZeroZ()
{
return m_xModuleSection.m_fNamedHeightZeroZ;
}
//基础地脚螺栓信息
bool CTidModel::GetAnchorBoltSolid(CTidSolidBody* pBoltSolid,CTidSolidBody* pNutSolid)
{
if(compareVersion(m_xTidBuffer.Version(),"1.4")>=0)
{
pBoltSolid->CopySolidBuffer(m_xBoltLib.sectdata.xAnchorSolid.bolt.BufferPtr(),m_xBoltLib.sectdata.xAnchorSolid.bolt.BufferLength());
pNutSolid->CopySolidBuffer(m_xBoltLib.sectdata.xAnchorSolid.nut.BufferPtr(),m_xBoltLib.sectdata.xAnchorSolid.nut.BufferLength());
return true;
}
else
return false;
}
WORD CTidModel::GetBasePlateThick()
{
return m_xFoundationSection.ciBasePlateThick;
}
WORD CTidModel::GetAnchorCount()
{
return m_xFoundationSection.cnAnchorBoltCount;
}
bool CTidModel::GetAnchorAt(short index,short* psiPosX,short* psiPosY)
{
if(index<0||index>=m_xFoundationSection.cnAnchorBoltCount)
return false;
ANCHOR_LOCATION location=m_xFoundationSection.GetAnchorLocationAt((short)index);
if(psiPosX)
*psiPosX=location.siPosX;
if(psiPosY)
*psiPosY=location.siPosY;
return true;
}
WORD CTidModel::GetSubLegCount(BYTE ciBodySerial)
{
return m_xFoundationSection.cnSubLegCount;
}
//获取指定呼高下某接腿的基础坐标
bool CTidModel::GetSubLegBaseLocation(BYTE ciBodySerial,BYTE ciLegSerial,double* pos3d)
{
GEPOINT pos=m_xFoundationSection.GetSubLegFoundationOrgBySerial(ciBodySerial,ciLegSerial);
if(pos3d!=NULL)
memcpy(pos3d,(double*)pos,24);
return true;
}
//获取指定呼高下某接腿的基础根开
double CTidModel::GetSubLegBaseWidth(BYTE ciBodySerial, BYTE ciLegSerial)
{
GEPOINT pos = m_xFoundationSection.GetSubLegFoundationOrgBySerial(ciBodySerial, ciLegSerial);
double fHalfFrontBaseWidth = pos.x;
return fHalfFrontBaseWidth * 2;
}
ISteelMaterialLibrary* CTidModel::GetSteelMatLib()
{
m_xSteelMatLib.matsect=m_xPartSection.GetMatLibrarySection();
return &m_xSteelMatLib;
}
ITidPartsLib* CTidModel::GetTidPartsLib()
{
m_xPartLib.sectdata=m_xTidBuffer.PartSection();
return &m_xPartLib;
}
IBoltSeriesLib* CTidModel::GetBoltLib()
{
m_xBoltLib.sectdata=m_xTidBuffer.BoltSection();
return &m_xBoltLib;
}
ITidHeightGroup* CTidModel::GetHeightGroupAt(short i)
{
if(i<0||i>=m_xModuleSection.GetModuleCount())
return NULL;
CTidHeightGroup* pHeightGroup=hashHeightGroup.GetValue(i+1);
if(pHeightGroup==NULL)
{
pHeightGroup=hashHeightGroup.Add(i+1);
pHeightGroup->module=m_xModuleSection.GetModuleAt(i);
}
pHeightGroup->m_pModel=this;
return pHeightGroup;
}
ITidHangPoint* CTidModel::GetHangPointAt(DWORD i)
{
if(i<0||i>m_xWireNodeSection.m_wnWireNodeCount)
return NULL;
CTidHangPoint* pHangPoint=hashHangPoint.GetValue(i+1);
if(pHangPoint==NULL)
{
pHangPoint=hashHangPoint.Add(i+1);
pHangPoint->wireNode=m_xWireNodeSection.GetWireNodeAt(i);
}
pHangPoint->m_pModel=this;
return pHangPoint;
}
ITidNode* CTidModel::EnumTidNodeFirst(long hHeightSerial /*= 0*/)
{
ITidNode* pTidNode = hashTidNode.GetFirst();
if (hHeightSerial == 0)
return pTidNode;
else
{
CTidHeightGroup* pHuGao = (CTidHeightGroup*)GetHeightGroup(hHeightSerial);
if (pHuGao == NULL)
{
logerr.Log("%d呼高不存在!", hHeightSerial);
return NULL;
}
while (pTidNode != NULL)
{
CFGWORD node_cfg = ((CTidNode*)pTidNode)->node.cfgword;
if (IsIncludeObject(pHuGao->module.m_dwLegCfgWord, node_cfg, pTidNode->GetLegQuad()))
return pTidNode;
else
pTidNode = hashTidNode.GetNext();
}
return NULL;
}
}
ITidNode* CTidModel::EnumTidNodeNext(long hHeightSerial /*= 0*/)
{
ITidNode* pTidNode = hashTidNode.GetNext();
if (hHeightSerial == 0)
return pTidNode;
else
{
CTidHeightGroup* pHuGao = (CTidHeightGroup*)GetHeightGroup(hHeightSerial);
if (pHuGao == NULL)
{
logerr.Log("%d呼高不存在!", hHeightSerial);
return NULL;
}
while (pTidNode != NULL)
{
CFGWORD node_cfg = ((CTidNode*)pTidNode)->node.cfgword;
if (IsIncludeObject(pHuGao->module.m_dwLegCfgWord, node_cfg, pTidNode->GetLegQuad()))
return pTidNode;
else
pTidNode = hashTidNode.GetNext();
}
return NULL;
}
}
ITidAssemblePart* CTidModel::EnumAssemblePartFirst(long hHeightSerial /*= 0*/)
{
ITidAssemblePart* pAssemPart = hashAssemblePart.GetFirst();
if (hHeightSerial == 0)
return pAssemPart;
else
{
CTidHeightGroup* pHuGao = (CTidHeightGroup*)GetHeightGroup(hHeightSerial);
if (pHuGao == NULL)
{
logerr.Log("%d呼高不存在!",hHeightSerial);
return NULL;
}
while (pAssemPart != NULL)
{
CFGWORD part_cfg = ((CTidAssemblePart*)pAssemPart)->part.cfgword;
if (IsIncludeObject(pHuGao->module.m_dwLegCfgWord, part_cfg,pAssemPart->GetLegQuad()))
return pAssemPart;
else
pAssemPart = hashAssemblePart.GetNext();
}
return NULL;
}
}
ITidAssemblePart* CTidModel::EnumAssemblePartNext(long hHeightSerial /*= 0*/)
{
ITidAssemblePart* pAssemPart = hashAssemblePart.GetNext();
if (hHeightSerial == 0)
return pAssemPart;
else
{
CTidHeightGroup* pHuGao = (CTidHeightGroup*)GetHeightGroup(hHeightSerial);
if (pHuGao == NULL)
{
logerr.Log("%d呼高不存在!", hHeightSerial);
return NULL;
}
while (pAssemPart != NULL)
{
CFGWORD part_cfg = ((CTidAssemblePart*)pAssemPart)->part.cfgword;
if (IsIncludeObject(pHuGao->module.m_dwLegCfgWord, part_cfg,pAssemPart->GetLegQuad()))
return pAssemPart;
else
pAssemPart = hashAssemblePart.GetNext();
}
return NULL;
}
}
ITidAssembleBolt* CTidModel::EnumAssembleBoltFirst(long hHeightSerial /*= 0*/)
{
ITidAssembleBolt* pAssemBolt = hashAssembleBolt.GetFirst();
if (hHeightSerial == 0)
return pAssemBolt;
else
{
CTidHeightGroup* pHuGao = (CTidHeightGroup*)GetHeightGroup(hHeightSerial);
if (pHuGao)
{
logerr.Log("%d呼高不存在!", hHeightSerial);
return NULL;
}
while (pAssemBolt != NULL)
{
CFGWORD bolt_cfg = ((CTidAssembleBolt*)pAssemBolt)->bolt.cfgword;
if (IsIncludeObject(pHuGao->module.m_dwLegCfgWord, bolt_cfg,pAssemBolt->GetLegQuad()))
return pAssemBolt;
else
pAssemBolt = hashAssembleBolt.GetNext();
}
return NULL;
}
}
ITidAssembleBolt* CTidModel::EnumAssembleBoltNext(long hHeightSerial /*= 0*/)
{
ITidAssembleBolt* pAssemBolt = hashAssembleBolt.GetNext();
if (hHeightSerial == 0)
return pAssemBolt;
else
{
CTidHeightGroup* pHuGao = (CTidHeightGroup*)GetHeightGroup(hHeightSerial);
if (pHuGao)
{
logerr.Log("%d呼高不存在!", hHeightSerial);
return NULL;
}
while (pAssemBolt != NULL)
{
CFGWORD bolt_cfg = ((CTidAssembleBolt*)pAssemBolt)->bolt.cfgword;
if (IsIncludeObject(pHuGao->module.m_dwLegCfgWord, bolt_cfg,pAssemBolt->GetLegQuad()))
return pAssemBolt;
else
pAssemBolt = hashAssembleBolt.GetNext();
}
return NULL;
}
}
bool CTidModel::ExportModFile(const char* sFileName)
{
#ifdef _DISABLE_MOD_CORE_
return false;
#else
IModModel* pModModel=CModModelFactory::CreateModModel();
//计算MOD模型的坐标系
double fMaxNodeZ=0;
UINT uCount=m_xNodeSection.NodeCount();
for(UINT i=0;i<uCount;i++)
{
NODE_ASSEMBLY node;
m_xNodeSection.GetNodeByIndexId(i+1,true,node);
if(fMaxNodeZ<node.xPosition.z)
fMaxNodeZ=node.xPosition.z;
}
pModModel->SetTowerHeight(fMaxNodeZ);
GECS ucs=TransToUcs(pModModel->BuildUcsByModCS());
//提取MOD呼高信息,建立MOD坐标系
for(int i=0;i<HeightGroupCount();i++)
{
CTidHeightGroup* pModule=(CTidHeightGroup*)GetHeightGroupAt(i);
//
IModHeightGroup* pHeightGroup=pModModel->AppendHeightGroup(pModule->GetSerialId());
pHeightGroup->SetBelongModel(pModModel);
pHeightGroup->SetLowestZ(pModule->GetLowestZ());
pHeightGroup->SetLegCfg(pModule->module.m_dwLegCfgWord.flag.bytes);
pHeightGroup->SetNameHeight(pModule->GetNamedHeight());
}
//提取节点信息
for(UINT i=0;i<uCount;i++)
{
NODE_ASSEMBLY node;
m_xNodeSection.GetNodeByIndexId(i+1,true,node);
GEPOINT org_pt=ucs.TransPFromCS(node.xPosition);
//
IModNode* pModNode=pModModel->AppendNode(i+1);
pModNode->SetBelongModel(pModModel);
pModNode->SetCfgword(node.cfgword.flag.bytes);
pModNode->SetLdsOrg(MOD_POINT(node.xPosition));
pModNode->SetOrg(MOD_POINT(org_pt));
if(node.cLegQuad>=1&&node.cLegQuad<=4)
pModNode->SetLayer('L'); //腿部Leg
else
pModNode->SetLayer('B'); //塔身Body
}
uCount=m_xAssemblyParts.AssemblyCount();
for(UINT i=0;i<uCount;i++)
{
PART_ASSEMBLY assemble;
m_xAssemblyParts.GetAssemblyByIndexId(i+1,true,assemble);
PART_INFO partinfo=m_xPartSection.GetPartInfoByIndexId(assemble.dwIndexId);
if(!assemble.bIsRod)
continue;
IModNode* pModNodeS=pModModel->FindNode(assemble.uiStartPointI);
IModNode* pModNodeE=pModModel->FindNode(assemble.uiEndPointI);
if(pModNodeS==NULL || pModNodeE==NULL)
continue; //短角钢
IModRod* pModRod=pModModel->AppendRod(i+1);
pModRod->SetBelongModel(pModModel);
pModRod->SetNodeS(pModNodeS);
pModRod->SetNodeE(pModNodeE);
pModRod->SetCfgword(assemble.cfgword.flag.bytes);
pModRod->SetMaterial(partinfo.cMaterial);
pModRod->SetWidth(partinfo.fWidth);
pModRod->SetThick(partinfo.fThick);
if(assemble.cLegQuad>=1&&assemble.cLegQuad<=4)
pModRod->SetLayer('L'); //腿部Leg
else
pModRod->SetLayer('B'); //塔身Body
if(partinfo.cPartType==1)
{
pModRod->SetRodType(1);
GEPOINT vec_wing_x=ucs.TransVToCS(assemble.acs.axis_x);
GEPOINT vec_wing_y=ucs.TransVToCS(assemble.acs.axis_y);
pModRod->SetWingXVec(MOD_POINT(vec_wing_x));
pModRod->SetWingYVec(MOD_POINT(vec_wing_y));
}
else
pModRod->SetRodType(2);
}
//提取挂点信息
int nHangPt=HangPointCount();
for(int i=0;i<nHangPt;i++)
{
ITidHangPoint* pHangPt=GetHangPointAt(i);
if(pHangPt==NULL)
continue;
CXhChar50 sDes;
pHangPt->GetWireDescription(sDes);
TID_COORD3D pt=pHangPt->GetPos();
//
MOD_HANG_NODE* pHangNode=pModModel->AppendHangNode();
pHangNode->m_xHangPos=ucs.TransPFromCS(f3dPoint(pt));
strcpy(pHangNode->m_sHangName,sDes);
pHangNode->m_ciWireType=pHangPt->GetWireType();
}
//初始化多胡高塔型的MOD结构
pModModel->InitMultiModData();
//生成Mod文件
FILE *fp=fopen(sFileName,"wt,ccs=UTF-8");
if(fp==NULL)
return false;
pModModel->WriteModFileByUtf8(fp);
return true;
#endif
}
//////////////////////////////////////////////////////////////////////////
// CTidHangPoint
short CTidHangPoint::GetWireDescription(char* sDes)
{
if(sDes)
{
strcpy(sDes,wireNode.name);
return strlen(wireNode.name);
}
else
return 0;
}
bool CTidHangPoint::IsCircuitDC()
{
WIREPLACE_CODE code(wireNode.wiCode);
return code.blCircuitDC;
}
BYTE CTidHangPoint::GetCircuitSerial()
{
WIREPLACE_CODE code(wireNode.wiCode);
return code.ciCircuitSerial;
}
BYTE CTidHangPoint::GetTensionType()
{
WIREPLACE_CODE code(wireNode.wiCode);
return code.ciTensionType;
}
BYTE CTidHangPoint::GetWireDirection()
{
WIREPLACE_CODE code(wireNode.wiCode);
return code.ciWireDirection;
}
BYTE CTidHangPoint::GetPhaseSerial()
{
WIREPLACE_CODE code(wireNode.wiCode);
return code.ciPhaseSerial;
}
BYTE CTidHangPoint::GetWireType()
{
WIREPLACE_CODE code(wireNode.wiCode);
return code.ciWireType;
}
BYTE CTidHangPoint::GetHangingStyle()
{
WIREPLACE_CODE code(wireNode.wiCode);
return code.ciHangingStyle;
}
BYTE CTidHangPoint::GetPostCode()
{
WIREPLACE_CODE code(wireNode.wiCode);
return code.ciPostCode;
}
BYTE CTidHangPoint::GetSerial()
{
WIREPLACE_CODE code(wireNode.wiCode);
return code.iSerial;
}
BYTE CTidHangPoint::GetPosSymbol()
{
WIREPLACE_CODE code(wireNode.wiCode);
if (code.ciWireType == 'J' || code.ciTensionType != 2)
return 0; //跳线及悬垂导地线不区分前后
if (code.ciWireDirection == 'Y') //线缆方向为Y即挂点在X横担上
{ //根据GIM规范要求:X向横担以Y轴正向为前,负向为后;但是建模坐标系的Y轴与GIM模型坐标系的Y轴是反向的
if (wireNode.position.y < -0.03)
return 'Q';
else
return 'H';
}
else //if(code.ciWireDirection=='X') //线缆方向为X即挂点在Y横担上
{ //根据GIM规范要求:Y向横担以X轴负向为前,正向为后;且建模坐标系的X轴与GIM模型坐标系的X轴同向
if (wireNode.position.x < -0.03)
return 'Q';
else
return 'H';
}
}
BYTE CTidHangPoint::GetRelaHoleNum()
{
int nNum = 0;
if (!wireNode.relaHolePt[0].IsZero())
nNum++;
if (!wireNode.relaHolePt[1].IsZero())
nNum++;
return nNum;
}
TID_COORD3D CTidHangPoint::GetRelaHolePos(int index)
{
if (index == 0)
return TID_COORD3D(wireNode.relaHolePt[0]);
else if(index==1)
return TID_COORD3D(wireNode.relaHolePt[1]);
else
return TID_COORD3D();
}
//////////////////////////////////////////////////////////////////////////
// CTidHeightGroup
int CTidHeightGroup::GetName(char *moduleName,UINT maxBufLength/*=0*/)
{
if(!StrCopy(moduleName,module.name,maxBufLength))
strcpy(moduleName,module.name);
return strlen(moduleName);
}
BYTE CTidHeightGroup::RetrieveSerialInitBitPos()
{
int ciInitSerialBitPosition=0;
for(int i=1;i<=192;i++)
{
if(module.m_dwLegCfgWord.IsHasNo(i))
return i;
}
return ciInitSerialBitPosition;
}
int CTidHeightGroup::GetLegSerialArr(int* legSerialArr)
{
ARRAY_LIST<int> legArr(0,8);
int legSerial=0;
for(int i=1;i<=192;i++)
{
if(module.m_dwLegCfgWord.IsHasNo(i))
{
if(legSerial==0)
legSerial=1;
legArr.append(legSerial);
}
if(legSerial>0)
legSerial++;
if(legSerial>24)
break; //一组呼高最多允许有24组接腿
}
if(legSerialArr!=NULL)
memcpy(legSerialArr,legArr.m_pData,sizeof(int)*legArr.GetSize());
return legArr.GetSize();
}
BYTE CTidHeightGroup::GetLegBitSerialFromSerialId(int serial)
{
int legBitSerial=0;
for(int i=1;i<=192;i++)
{
if(module.m_dwLegCfgWord.IsHasNo(i))
{
if(legBitSerial==0)
legBitSerial=1;
}
if(legBitSerial==serial)
return i;
if(legBitSerial>0)
legBitSerial++;
if(legBitSerial>24)
break; //一组呼高最多允许有24组接腿
}
return 0;
}
static int f2i(double fval)
{
if(fval>=0)
return (int)(fval+0.5);
else
return (int)(fval-0.5);
}
int CTidHeightGroup::GetLegSerial(double heightDifference)
{
int init_level=module.m_cbLegInfo>>6; //前三位是1号腿的反向垂高落差级别调节数
int level_height =module.m_cbLegInfo&0x3f; //分米
if(level_height==0)
level_height=15;
heightDifference*=10;
int nLevel=f2i(heightDifference)/level_height; //高度落差级数
return (init_level+1-nLevel);
}
double CTidHeightGroup::GetLegHeightDifference(int legSerial)
{
int init_level=module.m_cbLegInfo>>6; //前两位是1号腿的反向垂高落差级别调节数
int level_height =module.m_cbLegInfo&0x3f; //分米
if(level_height==0)
level_height=15;
return (init_level+1-legSerial)*level_height*0.1;
}
ITidTowerInstance* CTidHeightGroup::GetTowerInstance(int legSerialQuad1, int legSerialQuad2, int legSerialQuad3, int legSerialQuad4)
{
union UNIQUEID{
BYTE bytes[4];
DWORD id;
}key;
key.bytes[0]=GetLegBitSerialFromSerialId(legSerialQuad1);
key.bytes[1]=GetLegBitSerialFromSerialId(legSerialQuad2);
key.bytes[2]=GetLegBitSerialFromSerialId(legSerialQuad3);
key.bytes[3]=GetLegBitSerialFromSerialId(legSerialQuad4);
CTidTowerInstance* pTidTowerInstance=hashTowerInstance.Add(key.id);
pTidTowerInstance->SetBelongHeight(this);
memcpy(pTidTowerInstance->arrLegBitSerial,key.bytes,4);
pTidTowerInstance->InitAssemblePartAndBolt();
return pTidTowerInstance;
}
double CTidHeightGroup::GetLowestZ()
{
double fMaxNodeZ = 0;
ITidNode* pTidNode = NULL;
for (pTidNode = m_pModel->EnumTidNodeFirst(m_id); pTidNode; pTidNode = m_pModel->EnumTidNodeNext(m_id))
fMaxNodeZ = max(fMaxNodeZ, pTidNode->GetPos().z);
return fMaxNodeZ;
}
double CTidHeightGroup::GetBody2LegTransitZ()
{
double fTransitZ = 0;
ITidAssemblePart* pPart = NULL;
for (pPart = m_pModel->EnumAssemblePartFirst(m_id); pPart; pPart = m_pModel->EnumAssemblePartNext(m_id))
{
if(!pPart->IsHasBriefRodLine() ||
(pPart->GetLegQuad() >= 1 && pPart->GetLegQuad() <= 4))
continue; //非塔身杆件
fTransitZ = max(fTransitZ, pPart->BriefLineStart().z);
fTransitZ = max(fTransitZ, pPart->BriefLineEnd().z);
}
return fTransitZ;
}
double CTidHeightGroup::GetBodyNamedHeight()
{
double fBody2LegTransZ = GetBody2LegTransitZ();
double fNamedHeightZeroZ = m_pModel->GetNamedHeightZeroZ();
double fBody2LegHeight = fBody2LegTransZ - fNamedHeightZeroZ;
return fBody2LegHeight;
}
bool CTidHeightGroup::GetConfigBytes(BYTE* cfgword_bytes24)
{
if (cfgword_bytes24 == NULL)
return false;
memcpy(cfgword_bytes24, module.m_dwLegCfgWord.flag.bytes, 24);
return true;
}
//////////////////////////////////////////////////////////////////////////
// CTidTowerInstance
CTidTowerInstance::CTidTowerInstance()
{
m_pModel=NULL;
m_pBelongHeight=NULL;
m_fInstanceHeight=0;
arrLegBitSerial[0]=arrLegBitSerial[1]=arrLegBitSerial[2]=arrLegBitSerial[3]=0;
}
ITidHeightGroup* CTidTowerInstance::SetBelongHeight(ITidHeightGroup* pHeightGroup)
{
m_pBelongHeight=(CTidHeightGroup*)pHeightGroup;
if(m_pBelongHeight)
m_pModel=m_pBelongHeight->BelongModel();
return m_pBelongHeight;
}
short CTidTowerInstance::GetLegSerialIdByQuad(short siQuad)
{
siQuad--;
if(siQuad<0||siQuad>=4)
return 0;
BYTE initPosition=m_pBelongHeight->RetrieveSerialInitBitPos(); //1为起始基数
return arrLegBitSerial[siQuad]-initPosition+1;
}
void CTidTowerInstance::InitAssemblePartAndBolt()
{
if(Nodes.GetNodeNum()==0)
{
double fMaxNodeZ=0;
NODE_ASSEMBLY node;
UINT uCount=m_pModel->m_xNodeSection.NodeCount();
for(UINT i=0;i<uCount;i++)
{
m_pModel->m_xNodeSection.GetNodeByIndexId(i+1,true,node);
if(!IsIncludeObject(m_pBelongHeight->module.m_dwLegCfgWord,arrLegBitSerial,node.cfgword,node.cLegQuad))
continue;
CTidNode* pNode=Nodes.Add(i+1);
pNode->node=node;
pNode->SetBelongModel(m_pModel);
if(fMaxNodeZ<node.xPosition.z)
fMaxNodeZ=node.xPosition.z;
}
uCount=m_pModel->m_xNodeSection.NodeCount(false);
for(UINT i=0;i<uCount;i++)
{
m_pModel->m_xNodeSection.GetNodeByIndexId(i+1,false,node);
UINT uBlkRef=m_pModel->m_xAssembleSection.BlockAssemblyCount();
for(UINT indexId=1;indexId<=uBlkRef;indexId++)
{
BLOCK_ASSEMBLY blkassembly=m_pModel->m_xAssembleSection.GetAssemblyByIndexId(indexId);
if(blkassembly.wIndexId!=node.wBlockIndexId)
continue; //该构件不属于当前部件装配对象
if(!IsIncludeObject(m_pBelongHeight->module.m_dwLegCfgWord,arrLegBitSerial,blkassembly.cfgword,blkassembly.cLegQuad))
continue;
TOWER_BLOCK block=m_pModel->m_xBlockSection.GetBlockAt(blkassembly.wIndexId-1);
TID_CS fromTidCS=ConvertCSFrom(block.lcs);
TID_CS toTidCS=ConvertCSFrom(blkassembly.acs);
//coord_trans(node.xPosition,block.lcs,FALSE,TRUE);
//coord_trans(node.xPosition,blkassembly.acs,TRUE,TRUE);
node.xPosition=block.lcs.TransPToCS(node.xPosition);
node.xPosition=blkassembly.acs.TransPFromCS(node.xPosition);
//
CTidNode* pNode=Nodes.Add(i+1);
pNode->node=node;
pNode->SetBelongModel(m_pModel);
}
}
m_fInstanceHeight=fMaxNodeZ;
}
int iKey=0;
if(partAssembly.GetNodeNum()==0)
{ //需要提取构件装配集合
UINT uCount=m_pModel->m_xAssemblyParts.AssemblyCount();
for(UINT i=0;i<uCount;i++)
{
PART_ASSEMBLY assemble;
m_pModel->m_xAssemblyParts.GetAssemblyByIndexId(i+1,true,assemble);
if(!IsIncludeObject(m_pBelongHeight->module.m_dwLegCfgWord,arrLegBitSerial,assemble.cfgword,assemble.cLegQuad))
continue;
CTidAssemblePart* pAssmPart=partAssembly.Add(++iKey);
pAssmPart->part=assemble;
pAssmPart->SetBelongModel(m_pModel);
PART_INFO partinfo=m_pModel->m_xPartSection.GetPartInfoByIndexId(assemble.dwIndexId);
pAssmPart->solid.CopySolidBuffer(partinfo.solid.BufferPtr(),partinfo.solid.BufferLength());
TID_CS acs=pAssmPart->GetAcs();
pAssmPart->solid.TransToACS(acs);
}
uCount=m_pModel->m_xAssemblyParts.AssemblyCount(false);
for(UINT i=0;i<uCount;i++)
{
PART_ASSEMBLY assemble;
m_pModel->m_xAssemblyParts.GetAssemblyByIndexId(i+1,false,assemble);
UINT uBlkRef=m_pModel->m_xAssembleSection.BlockAssemblyCount();
for(UINT indexId=1;indexId<=uBlkRef;indexId++)
{
BLOCK_ASSEMBLY blkassembly=m_pModel->m_xAssembleSection.GetAssemblyByIndexId(indexId);
if(blkassembly.wIndexId!=assemble.wBlockIndexId)
continue; //该构件不属于当前部件装配对象
if(!IsIncludeObject(m_pBelongHeight->module.m_dwLegCfgWord,arrLegBitSerial,blkassembly.cfgword,blkassembly.cLegQuad))
continue;
CTidAssemblePart* pAssmPart=partAssembly.Add(++iKey);
pAssmPart->part=assemble;
pAssmPart->SetBelongModel(m_pModel);
PART_INFO partinfo=m_pModel->m_xPartSection.GetPartInfoByIndexId(assemble.dwIndexId);
pAssmPart->solid.CopySolidBuffer(partinfo.solid.BufferPtr(),partinfo.solid.BufferLength());
pAssmPart->solid.TransToACS(ConvertCSFrom(assemble.acs));
TOWER_BLOCK block=m_pModel->m_xBlockSection.GetBlockAt(blkassembly.wIndexId-1);
pAssmPart->solid.TransACS(ConvertCSFrom(block.lcs),ConvertCSFrom(blkassembly.acs));
}
}
}
if(boltAssembly.GetNodeNum()==0)
{ //需要提取螺栓装配集合
UINT uCount=m_pModel->m_xAssemblyBolts.AssemblyCount();
for(UINT i=0;i<uCount;i++)
{
BOLT_ASSEMBLY assemble;
assemble=m_pModel->m_xAssemblyBolts.GetAssemblyByIndexId(i+1,true);
if(!IsIncludeObject(m_pBelongHeight->module.m_dwLegCfgWord,arrLegBitSerial,assemble.cfgword,assemble.cLegQuad))
continue;
IBoltSeriesLib* pBoltLibrary=m_pModel->GetBoltLib();
IBoltSeries* pBoltSeries=pBoltLibrary->GetBoltSeriesAt(assemble.cSeriesId-1);
IBoltSizeSpec* pBoltSize=pBoltSeries->GetBoltSizeSpecById(assemble.wIndexId);
if(pBoltSize==NULL)
{
logerr.Log("BoltSizeSpec@%d not found!\n",assemble.wIndexId);
continue;
}
CTidSolidBody* pBoltSolid=(CTidSolidBody*)pBoltSize->GetBoltSolid();
CTidSolidBody* pNutSolid=(CTidSolidBody*)pBoltSize->GetNutSolid();
//
CTidAssembleBolt* pAssmBolt=boltAssembly.Add(++iKey);
pAssmBolt->bolt=assemble;
pAssmBolt->SetBelongModel(m_pModel);
pAssmBolt->solid.bolt.CopySolidBuffer(pBoltSolid->SolidBufferPtr(),pBoltSolid->SolidBufferLength());
pAssmBolt->solid.nut.CopySolidBuffer(pNutSolid->SolidBufferPtr(),pNutSolid->SolidBufferLength());
TID_CS acs=pAssmBolt->GetAcs();
pAssmBolt->solid.bolt.TransToACS(acs);
acs.origin.x+=acs.axisZ.x*assemble.wL0;
acs.origin.y+=acs.axisZ.y*assemble.wL0;
acs.origin.z+=acs.axisZ.z*assemble.wL0;
pAssmBolt->solid.nut.TransToACS(acs);
}
uCount=m_pModel->m_xAssemblyBolts.AssemblyCount(false);
for(UINT i=0;i<uCount;i++)
{
BOLT_ASSEMBLY assemble=m_pModel->m_xAssemblyBolts.GetAssemblyByIndexId(i+1,false);
UINT uBlkRef=m_pModel->m_xAssembleSection.BlockAssemblyCount();
for(UINT indexId=1;indexId<=uBlkRef;indexId++)
{
BLOCK_ASSEMBLY blkassembly=m_pModel->m_xAssembleSection.GetAssemblyByIndexId(indexId);
if(blkassembly.wIndexId!=assemble.wBlockIndexId)
continue; //该构件不属于当前部件装配对象
if(!IsIncludeObject(m_pBelongHeight->module.m_dwLegCfgWord,arrLegBitSerial,blkassembly.cfgword,blkassembly.cLegQuad))
continue;
IBoltSeriesLib* pBoltLibrary=m_pModel->GetBoltLib();
IBoltSeries* pBoltSeries=pBoltLibrary->GetBoltSeriesAt(assemble.cSeriesId-1);
IBoltSizeSpec* pBoltSize=pBoltSeries->GetBoltSizeSpecById(assemble.wIndexId);
if(pBoltSize==NULL)
{
logerr.Log("BoltSizeSpec@%d not found!\n",assemble.wIndexId);
continue;
}
CTidSolidBody* pBoltSolid=(CTidSolidBody*)pBoltSize->GetBoltSolid();
CTidSolidBody* pNutSolid=(CTidSolidBody*)pBoltSize->GetNutSolid();
//
CTidAssembleBolt* pAssmBolt=boltAssembly.Add(++iKey);
pAssmBolt->bolt=assemble;
pAssmBolt->SetBelongModel(m_pModel);
pAssmBolt->solid.bolt.CopySolidBuffer(pBoltSolid->SolidBufferPtr(),pBoltSolid->SolidBufferLength());
pAssmBolt->solid.nut.CopySolidBuffer(pNutSolid->SolidBufferPtr(),pNutSolid->SolidBufferLength());
TID_CS acs=pAssmBolt->GetAcs();
pAssmBolt->solid.bolt.TransToACS(acs);
acs.origin.x+=acs.axisZ.x*assemble.wL0;
acs.origin.y+=acs.axisZ.y*assemble.wL0;
acs.origin.z+=acs.axisZ.z*assemble.wL0;
pAssmBolt->solid.nut.TransToACS(acs);
TOWER_BLOCK block=m_pModel->m_xBlockSection.GetBlockAt(blkassembly.wIndexId-1);
pAssmBolt->solid.bolt.TransACS(ConvertCSFrom(block.lcs),ConvertCSFrom(blkassembly.acs));
pAssmBolt->solid.nut.TransACS(ConvertCSFrom(block.lcs),ConvertCSFrom(blkassembly.acs));
}
}
}
if(hashAnchorBolts.GetNodeNum()==0)
{
WORD wiAnchorCountPerBase=m_pModel->GetAnchorCount();
for(WORD i=0;i<4;i++)
{
GEPOINT xBaseLocation;
BYTE ciLegSerial=(BYTE)GetLegSerialIdByQuad(i+1);
if(!m_pModel->GetSubLegBaseLocation(this->m_pBelongHeight->GetSerialId(),ciLegSerial,xBaseLocation))
continue;
if(i==1||i==3) //相对1象限Y轴对称
xBaseLocation.x*=-1.0;
if(i==2||i==3) //相对1象限X轴对称
xBaseLocation.y*=-1.0;
for(WORD j=0;j<wiAnchorCountPerBase;j++)
{
short siPosX=0,siPosY=0;
m_pModel->GetAnchorAt(j,&siPosX,&siPosY);
//
CTidAssembleAnchorBolt* pAnchorBolt=hashAnchorBolts.Add(++iKey);
pAnchorBolt->SetBelongModel(m_pModel);
pAnchorBolt->xLocation.Set(xBaseLocation.x+siPosX,xBaseLocation.y+siPosY,xBaseLocation.z);
pAnchorBolt->m_ciLegQuad=i+1;
m_pModel->GetAnchorBoltSolid(&pAnchorBolt->solid.bolt,&pAnchorBolt->solid.nut);
TID_CS acs=pAnchorBolt->GetAcs();
pAnchorBolt->solid.bolt.TransToACS(acs);
acs.origin.x+=acs.axisZ.x*m_pModel->GetBasePlateThick();
acs.origin.y+=acs.axisZ.y*m_pModel->GetBasePlateThick();
acs.origin.z+=acs.axisZ.z*m_pModel->GetBasePlateThick();
pAnchorBolt->solid.nut.TransToACS(acs);
}
}
}
}
bool CTidTowerInstance::ExportModFile(const char* sFileName)
{
#ifdef _DISABLE_MOD_CORE_
return false;
#else
if(BelongHeightGroup()==NULL||BelongTidModel()==NULL)
return false;
IModModel* pModModel=CModModelFactory::CreateModModel();
if(pModModel==NULL)
return false;
CLogErrorLife logErrLife;
pModModel->SetTowerHeight(GetInstanceHeight());
GECS ucs=TransToUcs(pModModel->BuildUcsByModCS());
//初始化MOD模型的节点与杆件
CXhChar16 sLayer;
for(ITidNode* pNode=EnumNodeFirst();pNode;pNode=EnumNodeNext())
{
pNode->GetLayer(sLayer);
TID_COORD3D pos=pNode->GetPos();
f3dPoint node_org=ucs.TransPFromCS(f3dPoint(pos.x,pos.y,pos.z));
//
IModNode* pModNode=pModModel->AppendNode(pNode->GetId());
pModNode->SetBelongModel(pModModel);
pModNode->SetOrg(MOD_POINT(node_org));
if(sLayer[0]=='L'||sLayer[0]=='l')
pModNode->SetLayer('L'); //腿部Leg
else
pModNode->SetLayer('B'); //塔身Body
}
for(ITidAssemblePart* pAssmPart=EnumAssemblePartFirst();pAssmPart;pAssmPart=EnumAssemblePartNext())
{
if(!pAssmPart->IsHasBriefRodLine())
continue;
ITidPart* pTidPart=pAssmPart->GetPart();
if(pTidPart==NULL)
continue;
UINT iNodeIdS=pAssmPart->GetStartNodeId();
UINT iNodeIdE=pAssmPart->GetEndNodeId();
IModNode* pModNodeS=pModModel->FindNode(iNodeIdS);
IModNode* pModNodeE=pModModel->FindNode(iNodeIdE);
if(pModNodeS==NULL || pModNodeE==NULL)
{
//logerr.Log("S:%d-E:%d节点找不到",iNodeIdS,iNodeIdE);
continue; //短角钢
}
pAssmPart->GetLayer(sLayer);
TID_CS assm_cs=pAssmPart->GetAcs();
//
IModRod* pModRod=pModModel->AppendRod(pAssmPart->GetId());
pModRod->SetBelongModel(pModModel);
pModRod->SetMaterial(pTidPart->GetBriefMark());
pModRod->SetWidth(pTidPart->GetWidth());
pModRod->SetThick(pTidPart->GetThick());
if(pTidPart->GetPartType()==ITidPart::TYPE_ANGLE)
{
f3dPoint vWingX(assm_cs.axisX),vWingY(assm_cs.axisY);
pModRod->SetRodType(1);
pModRod->SetWingXVec(MOD_POINT(ucs.TransVToCS(vWingX)));
pModRod->SetWingYVec(MOD_POINT(ucs.TransVToCS(vWingY)));
}
else
pModRod->SetRodType(2);
if(sLayer[0]=='L'||sLayer[0]=='l')
pModRod->SetLayer('L'); //腿部Leg
else
pModRod->SetLayer('B'); //塔身Body
if(pModRod->IsLegRod())
{ //根据腿部杆件,添加过渡节点
if(pModNodeS && !pModNodeS->IsLegNode())
{
IModNode* pNewModNode=pModModel->AppendNode(0);
pNewModNode->SetBelongModel(pModModel);
pNewModNode->SetOrg(pModNodeS->NodePos());
pNewModNode->SetLayer('S');
pModNodeS=pNewModNode;
}
if(pModNodeE && !pModNodeE->IsLegNode())
{
IModNode* pNewModNode=pModModel->AppendNode(0);
pNewModNode->SetBelongModel(pModModel);
pNewModNode->SetOrg(pModNodeE->NodePos());
pNewModNode->SetLayer('S');
pModNodeE=pNewModNode;
}
}
pModRod->SetNodeS(pModNodeS);
pModRod->SetNodeE(pModNodeE);
}
//初始化单基塔例的MOD结构(计算该塔例的实际呼高值)
double fNameHeightZeroZ = BelongTidModel()->GetNamedHeightZeroZ();
double fActualHeight = m_fInstanceHeight-fNameHeightZeroZ;
pModModel->InitSingleModData(fActualHeight);
//添加挂点
int nHangPt=BelongTidModel()->HangPointCount();
for(int i=0;i<nHangPt;i++)
{
ITidHangPoint* pHangPt=BelongTidModel()->GetHangPointAt(i);
if(pHangPt==NULL)
continue;
CXhChar50 sDes;
pHangPt->GetWireDescription(sDes);
TID_COORD3D pt=pHangPt->GetPos();
//
MOD_HANG_NODE* pHangNode=pModModel->AppendHangNode();
pHangNode->m_xHangPos=ucs.TransPFromCS(f3dPoint(pt));
strcpy(pHangNode->m_sHangName,sDes);
pHangNode->m_ciWireType=pHangPt->GetWireType();
}
//生成Mod文件
FILE *fp=fopen(sFileName,"wt,ccs=UTF-8");
if(fp==NULL)
{
logerr.Log("%s文件打开失败!",sFileName);
return false;
}
pModModel->WriteModFileByUtf8(fp);
return true;
#endif
}
//////////////////////////////////////////////////////////////////////////
// CBoltSeriesLib
int CBoltSeriesLib::GetCount()
{
return sectdata.BoltSeriesCount();
}
IBoltSeries* CBoltSeriesLib::GetBoltSeriesAt(int i)
{
if(i<0||i>=sectdata.BoltSeriesCount())
return NULL;
CTidBoltSeries* pBoltSeries=hashBoltSeries.GetValue(i+1);
if(pBoltSeries==NULL)
{
pBoltSeries=hashBoltSeries.Add(i+1);
pBoltSeries->sectdata=sectdata.GetBoltSeriesAt(i);
}
return pBoltSeries;
}
IBoltSizeSpec* CBoltSeriesLib::GetBoltSizeSpec(int seriesId,int sizeSpecId)
{
IBoltSeries* pBoltSeries=GetBoltSeriesAt(seriesId-1);
if(pBoltSeries!=NULL)
return pBoltSeries->GetBoltSizeSpecById(sizeSpecId);
return NULL;
}
//////////////////////////////////////////////////////////////////////////
// CTidPartsLib
int CTidPartsLib::GetCount()
{
return sectdata.GetPartCount();
}
ITidPart* CTidPartsLib::GetTidPartBySerialId(int serialid)
{
if(serialid<=0||serialid>(int)sectdata.GetPartCount())
return NULL;
CTidPart* pTidPart=hashTidParts.GetValue(serialid);
if(pTidPart==NULL)
{
pTidPart=hashTidParts.Add(serialid);
pTidPart->partinfo=sectdata.GetPartInfoByIndexId(serialid);
}
return pTidPart;
}
//////////////////////////////////////////////////////////////////////////
// CTidBoltSeries
short CTidBoltSeries::GetName(char* name)
{
CXhChar24 seriesname=sectdata.GetSeriesName();
if(name)
strcpy(name,seriesname);
return seriesname.GetLength();
}
/*
bool CTidBoltSeries::IsFootNail() //脚钉
{
return false;
}
bool CTidBoltSeries::IsBurglarproof() //是否为防盗螺栓
{
return false;
}
*/
IBoltSizeSpec* CTidBoltSeries::EnumFirst()
{
m_iterIndex=1;
return GetBoltSizeSpecById(m_iterIndex);
}
IBoltSizeSpec* CTidBoltSeries::EnumNext()
{
m_iterIndex++;
return GetBoltSizeSpecById(m_iterIndex);
}
IBoltSizeSpec* CTidBoltSeries::GetBoltSizeSpecById(int id)
{
if(id<=0||id>GetCount())
return NULL;
CBoltSizeSection boltsect;
if(!sectdata.GetBoltSizeAt(id-1,boltsect))
return NULL;
CTidBoltSizeSpec* pSizeSpec=hashBoltSizes.Add(id);
pSizeSpec->sectdata=boltsect;
pSizeSpec->solid.bolt.AttachBuffer(boltsect.solid.bolt.BufferPtr(),boltsect.solid.bolt.BufferLength());
pSizeSpec->solid.nut.AttachBuffer(boltsect.solid.nut.BufferPtr(),boltsect.solid.nut.BufferLength());
pSizeSpec->SetSeriesId(GetSeriesId());
return pSizeSpec;
}
//////////////////////////////////////////////////////////////////////////
// CTidPart
short CTidPart::GetSegStr(char* segstr)
{
SEGI segi=partinfo.dwSeg;
strcpy(segstr,segi.ToString());
return strlen(segstr);
}
short CTidPart::GetSpec(char* sizeSpec)
{
if(strlen(partinfo.spec)>0)
strcpy(sizeSpec,partinfo.spec);
else
sprintf(sizeSpec,"%g*%g",partinfo.fWidth,partinfo.fThick);
return strlen(sizeSpec);
}
short CTidPart::GetLabel(char* label)
{
strcpy(label,partinfo.sPartNo);
return strlen(label);
}
ITidSolidBody* CTidPart::GetSolidPart()
{
solid.AttachBuffer(partinfo.solid.BufferPtr(),partinfo.solid.BufferLength());
return &solid;
}
UINT CTidPart::GetProcessBuffBytes(char* processbytes,UINT maxBufLength/*=0*/)
{
if(processbytes==NULL)
return partinfo.dwProcessBuffSize;
int copybuffsize=maxBufLength<=0?partinfo.dwProcessBuffSize:min(maxBufLength,partinfo.dwProcessBuffSize);
memcpy(processbytes,partinfo.processBuffBytes,copybuffsize);
return 0;
}
//////////////////////////////////////////////////////////////////////////
// CTidBoltSizeSpec
CTidBoltSizeSpec::CTidBoltSizeSpec(DWORD key/*=0*/)
{
m_id=key;
m_uiSeriesId=0;
}
ITidSolidBody* CTidBoltSizeSpec::GetBoltSolid()//螺栓实体
{
return &solid.bolt;
}
ITidSolidBody* CTidBoltSizeSpec::GetNutSolid()//螺栓实体
{
return &solid.nut;
}
//////////////////////////////////////////////////////////////////////////
//CTidAssembleAnchorBolt
IAnchorBoltSpec* CTidAssembleAnchorBolt::GetAnchorBolt()
{
xAnchorBolt.anchor_bolt.d = m_pModel->m_xBoltLib.sectdata.anchorInfo.d; //地脚螺栓名义直径
xAnchorBolt.anchor_bolt.wiLe = m_pModel->m_xBoltLib.sectdata.anchorInfo.wiLe; //地脚螺栓出露长(mm)
xAnchorBolt.anchor_bolt.wiLa = m_pModel->m_xBoltLib.sectdata.anchorInfo.wiLa; //地脚螺栓无扣长(mm) <底座板厚度
xAnchorBolt.anchor_bolt.wiWidth = m_pModel->m_xBoltLib.sectdata.anchorInfo.wiWidth; //地脚螺栓垫板宽度
xAnchorBolt.anchor_bolt.wiThick = m_pModel->m_xBoltLib.sectdata.anchorInfo.wiThick; //地脚螺栓垫板厚度
xAnchorBolt.anchor_bolt.wiHoleD = m_pModel->m_xBoltLib.sectdata.anchorInfo.wiHoleD; //地脚螺栓板孔径
xAnchorBolt.anchor_bolt.wiBasePlateHoleD = m_pModel->m_xBoltLib.sectdata.anchorInfo.wiBasePlateHoleD;
memcpy(xAnchorBolt.anchor_bolt.szSizeSymbol, m_pModel->m_xBoltLib.sectdata.anchorInfo.szSizeSymbol, 64);
xAnchorBolt.m_nBaseThick = m_pModel->m_xFoundationSection.ciBasePlateThick;
return &xAnchorBolt;
}
TID_CS CTidAssembleAnchorBolt::GetAcs()
{
TID_CS acs;
acs.origin = TID_COORD3D(xLocation);
acs.axisZ = TID_COORD3D(0, 0, -1);
acs.axisX = TID_COORD3D(1, 0, 0);//GEPOINT(acs.axisZ).Perpendicular(true);
acs.axisY = GEPOINT(acs.axisZ) ^ GEPOINT(acs.axisX);
return acs;
}
ITidSolidBody* CTidAssembleAnchorBolt::GetBoltSolid()
{
return &solid.bolt;
}
ITidSolidBody* CTidAssembleAnchorBolt::GetNutSolid()
{
return &solid.nut;
}
//////////////////////////////////////////////////////////////////////////
// CTidAssembleBolt
CTidAssembleBolt::CTidAssembleBolt()
{
m_id = 0;
m_pModel = NULL;
}
CTidAssembleBolt::~CTidAssembleBolt()
{
}
IBoltSizeSpec *CTidAssembleBolt::GetTidBolt()
{
CBoltSeries series=m_pModel->m_xBoltLib.sectdata.GetBoltSeriesAt(bolt.cSeriesId-1);
CBoltSizeSection boltsect;
if(!series.GetBoltSizeAt(bolt.wIndexId-1,boltsect))
return NULL;
sizespec.sectdata=boltsect;
sizespec.SetSeriesId(bolt.cSeriesId); //设定归属螺栓规格系列的标识
sizespec.solid.bolt.AttachBuffer(boltsect.solid.bolt.BufferPtr(),boltsect.solid.bolt.BufferLength());
sizespec.solid.nut.AttachBuffer(boltsect.solid.nut.BufferPtr(),boltsect.solid.nut.BufferLength());
return &sizespec;
}
TID_CS CTidAssembleBolt::GetAcs()
{
TID_CS acs;
acs.origin=TID_COORD3D(bolt.origin);
acs.axisZ =TID_COORD3D(bolt.work_norm);
acs.axisX =GEPOINT(acs.axisZ).Perpendicular(true);
acs.axisY = GEPOINT(acs.axisZ)^GEPOINT(acs.axisX);
return acs;
}
ITidSolidBody* CTidAssembleBolt::GetBoltSolid()
{
return &solid.bolt;
}
ITidSolidBody* CTidAssembleBolt::GetNutSolid()
{
return &solid.nut;
}
//段号前缀字符(可含2个字符),段号数字部分;[杆塔空间装配螺栓属性]
//如果统材类型中首位为1时,此4个字节表示该螺栓的段号统计范围字符串的存储地址
int CTidAssembleBolt::SegmentBelongStr(char* seg_str) //[杆塔空间装配螺栓属性]
{
if(bolt.cStatFlag&0x80) //同时归属多个段号
{
if(seg_str)
strcpy(seg_str,bolt.statSegStr);
return bolt.statSegStr.GetLength();
}
else
{
CXhChar16 segstr=SEGI(bolt.dwSeg).ToString();
if(seg_str)
strcpy(seg_str,segstr);
return segstr.GetLength();
}
}
bool CTidAssembleBolt::GetConfigBytes(BYTE* cfgword_bytes24)
{
if (cfgword_bytes24 == NULL)
return false;
memcpy(cfgword_bytes24, bolt.cfgword.flag.bytes, 24);
return true;
}
//////////////////////////////////////////////////////////////////////////
// CTidAssemblePart
short CTidAssemblePart::GetType()
{
ITidPart* pTidPart=GetPart();
if(pTidPart)
return pTidPart->GetPartType();
else
return 0; //构件分类,1:角钢2:螺栓3:钢板4:钢管5:扁铁6:槽钢
}
ITidPart *CTidAssemblePart::GetPart()
{
PART_INFO partinfo=m_pModel->m_xPartSection.GetPartInfoByIndexId(part.dwIndexId);
CTidPart* pTidPart=hashTidParts.Add(part.dwIndexId);
pTidPart->partinfo=partinfo;
return pTidPart;
}
TID_CS CTidAssemblePart::GetAcs()
{
TID_CS acs;
acs.origin=TID_COORD3D(part.acs.origin);
acs.axisX=TID_COORD3D(part.acs.axis_x);
acs.axisY=TID_COORD3D(part.acs.axis_y);
acs.axisZ=TID_COORD3D(part.acs.axis_z);
return acs;
}
ITidSolidBody* CTidAssemblePart::GetSolidPart()
{
return &solid;
}
short CTidAssemblePart::GetLayer(char* sizeLayer)
{
strcpy(sizeLayer,part.szLayerSymbol);
return strlen(sizeLayer);
}
bool CTidAssemblePart::GetConfigBytes(BYTE* cfgword_bytes24)
{
if (cfgword_bytes24 == NULL)
return false;
memcpy(cfgword_bytes24, part.cfgword.flag.bytes, 24);
return true;
}
//////////////////////////////////////////////////////////////////////////
// CTidRawSolidEdge
DWORD CTidRawSolidEdge::LineStartId()
{
if(IsReverse())
return edge.LineEndId;
else
return edge.LineStartId;
}
DWORD CTidRawSolidEdge::LineEndId()
{
if(IsReverse())
return edge.LineStartId;
else
return edge.LineEndId;
}
TID_COORD3D CTidRawSolidEdge::WorkNorm()
{
TID_COORD3D worknorm(edge.WorkNorm);
if(!worknorm.IsZero()&&IsReverse())
worknorm.Set(worknorm.x,worknorm.y,worknorm.z);
return worknorm;
}
//////////////////////////////////////////////////////////////////////////
// CTidFaceLoop
CTidRawSolidEdge* CreateTidRawSolidEdge(int idClsType,DWORD key,void* pContext) //必设回调函数
{
return new CTidRawSolidEdge(key,(CSolidBody*)pContext);
}
CTidFaceLoop::CTidFaceLoop(DWORD id/*=0*/,CSolidBody* pSolidBody/*=NULL*/)
{
m_id=id;
hashEdges.m_pContext=m_pSolidBody=pSolidBody;
hashEdges.CreateNewAtom=CreateTidRawSolidEdge;
}
bool CTidFaceLoop::EdgeLineAt(int i,TidArcline* pArcline)
{
CRawSolidEdge edge;
if(!loop.GetLoopEdgeLineAt(m_pSolidBody,i,edge))
return false;
pArcline->FromByteArr(edge.BufferPtr(),edge.Size());
return true;
}
ITidRawSolidEdge* CTidFaceLoop::EdgeLineAt(int index)
{
CTidRawSolidEdge* pEdge=hashEdges.Add(index+1);
DWORD edgeid=loop.LoopEdgeLineIdAt(index);
pEdge->SetReverse((edgeid&0x80000000)>0);
edgeid&=0x7fffffff;
m_pSolidBody->GetKeyEdgeLineAt(edgeid-1,pEdge->edge);
return pEdge;
}
//////////////////////////////////////////////////////////////////////////
// CTidRawFace
CTidFaceLoop* CreateTidFaceLoop(int idClsType,DWORD key,void* pContext) //必设回调函数
{
return new CTidFaceLoop(key,(CSolidBody*)pContext);
}
CTidRawFace::CTidRawFace(DWORD id/*=0*/,CSolidBody* pSolidBody/*=NULL*/)
{
m_id=id;
outer.hashEdges.m_pContext=outer.m_pSolidBody=m_pSolidBody=pSolidBody;
hashInnerLoops.m_pContext=pSolidBody;
hashInnerLoops.CreateNewAtom=CreateTidFaceLoop;
}
CTidRawFace::~CTidRawFace()
{
outer.Empty();
hashInnerLoops.Empty();
}
COLORREF CTidRawFace::MatColor() // 可用于记录此面的特征信息(如材质等)
{
return face.MatColor();
}
DWORD CTidRawFace::FaceId() //用于标识多边形面链中的某一特定面
{
return face.FaceId();
}
WORD CTidRawFace::InnerLoopNum()
{
return face.InnerLoopNum();;
}
IFaceLoop* CTidRawFace::InnerLoopAt(int i)
{
CTidFaceLoop* pLoop=hashInnerLoops.Add(i+1);
pLoop->loop=face.GetInnerLoopAt(i);
return pLoop;
}
IFaceLoop* CTidRawFace::OutterLoop()
{
outer.loop= face.GetOutterLoop();
return &outer;
}
TID_COORD3D CTidRawFace::WorkNorm()
{
return TID_COORD3D(face.WorkNorm);
}
//////////////////////////////////////////////////////////////////////////
// CTidBasicFace
//TID_COORD3D CTidBasicFace::Normal()
//{
// return basicface.
//}
CTidBasicFace::CTidBasicFace(DWORD id/*=0*/,CSolidBody* pSolidBody/*=NULL*/)
{
m_id=id;
m_pSolidBody=pSolidBody;
}
COLORREF CTidBasicFace::Color()
{
if(basicface.BufferSize==0)
return 0;
else
return basicface.Color;
}
WORD CTidBasicFace::FacetClusterNumber()
{
if(basicface.BufferSize==0)
return 0;
else
return basicface.FacetClusterNumber;
}
IFacetCluster* CTidBasicFace::FacetClusterAt(int index)
{
CFacetCluster facet;
if(!basicface.GetFacetClusterAt(index,facet))
return NULL;
CTidFacetCluster* pFacet=listFacets.Add(index+1);
pFacet->cluster=facet;
return pFacet;
}
//////////////////////////////////////////////////////////////////////////
// CTidRawSolidEdge
CTidRawSolidEdge::CTidRawSolidEdge(DWORD id/*=0*/,CSolidBody* pSolid/*=NULL*/)
{
m_pSolid=pSolid;
m_id=id;
reverseStartEnd=false;
}
BYTE CTidRawSolidEdge::EdgeType()
{
return STRAIGHT;
}
//////////////////////////////////////////////////////////////////////////
// CTidSolidBody
#include "SolidBodyBuffer.h"
/*
CTidRawSolidEdge* CreateTidRawSolidEdge(int idClsType,DWORD key,void* pContext) //必设回调函数
{
return new CTidRawSolidEdge(key,(CSolidBody*)pContext);
}
*/
CTidRawFace* CreateTidRawFace(int idClsType,DWORD key,void* pContext) //必设回调函数
{
return new CTidRawFace(key,(CSolidBody*)pContext);
}
CTidBasicFace* CreateTidBasicFace(int idClsType,DWORD key,void* pContext) //必设回调函数
{
return new CTidBasicFace(key,(CSolidBody*)pContext);
}
CTidSolidBody::CTidSolidBody(char* buf/*=NULL*/,DWORD size/*=0*/)
{
hashEdges.m_pContext=&solid;
hashEdges.CreateNewAtom=CreateTidRawSolidEdge;
hashRawFaces.m_pContext=&solid;
hashRawFaces.CreateNewAtom=CreateTidRawFace;
hashBasicFaces.m_pContext=&solid;
hashBasicFaces.CreateNewAtom=CreateTidBasicFace;
solid.AttachBuffer(buf,size);
}
void CTidSolidBody::AttachBuffer(char* buf/*=NULL*/,DWORD size/*=0*/)
{
solid.AttachBuffer(buf,size);
}
void CTidSolidBody::CopySolidBuffer(char* buf/*=NULL*/,DWORD size/*=0*/)
{
solid.CopyBuffer(buf,size);
}
void CTidSolidBody::ReleaseTemporaryBuffer()
{
hashEdges.Empty();
hashRawFaces.Empty();
hashBasicFaces.Empty();
}
#include "./Splitter/glDrawTool.h"
bool Standize(double* vector3d)
{
double mod_len=vector3d[0]*vector3d[0]+vector3d[1]*vector3d[1]+vector3d[2]*vector3d[2];
mod_len=sqrt(max(0,mod_len));
if(mod_len<EPS)
return false;
vector3d[0]/=mod_len;
vector3d[1]/=mod_len;
vector3d[2]/=mod_len;
return true;
}
int FloatToInt(double f)
{
int fi=(int)f;
return f-fi>0.5?fi+1:fi;
}
int CalArcResolution(double radius,double sector_angle)
{
double user2scr_scale=1.0;
int sampling=5; //圆弧绘制时的抽样长度(象素数)
UINT uMinSlices=36; //整圆弧显示的最低平滑度片数
double length=sector_angle*radius;
int n = FloatToInt((length/user2scr_scale)/sampling);
int min_n=FloatToInt(uMinSlices*sector_angle/Pi)/2;
int max_n=FloatToInt(72*sector_angle/Pi);
if(max_n==0)
max_n=1;
if(min_n==0)
min_n=1;
n=max(n,min_n);
n=min(n,max_n);
return n;
}
void GetArcSimuPolyVertex(f3dArcLine* pArcLine, GEPOINT vertex_arr[], int slices)
{
int i,sign=1;
if(pArcLine->ID&0x80000000) //负边
sign=-1;
double slice_angle = pArcLine->SectorAngle()/slices;
if(pArcLine->WorkNorm()==pArcLine->ColumnNorm()) //圆弧
{
if(sign<0)
slice_angle*=-1;
double sina = sin(slice_angle); //扇片角正弦
double cosa = cos(slice_angle); //扇片角余弦
vertex_arr[0].Set(pArcLine->Radius());
for(i=1;i<=slices;i++)
{
vertex_arr[i].x=vertex_arr[i-1].x*cosa-vertex_arr[i-1].y*sina;
vertex_arr[i].y=vertex_arr[i-1].y*cosa+vertex_arr[i-1].x*sina;
}
GEPOINT origin=pArcLine->Center();
GEPOINT axis_x=pArcLine->Start()-origin;
Standize(axis_x);
GEPOINT axis_y=pArcLine->WorkNorm()^axis_x;
for(i=0;i<=slices;i++)
{
vertex_arr[i].Set( origin.x+vertex_arr[i].x*axis_x.x+vertex_arr[i].y*axis_y.x,
origin.y+vertex_arr[i].x*axis_x.y+vertex_arr[i].y*axis_y.y,
origin.z+vertex_arr[i].x*axis_x.z+vertex_arr[i].y*axis_y.z);
}
}
else //椭圆弧
{
if(sign<0)
{
for(i=slices;i>=0;i--)
vertex_arr[i] = pArcLine->PositionInAngle(i*slice_angle);
}
else
{
for(i=0;i<=slices;i++)
vertex_arr[i] = pArcLine->PositionInAngle(i*slice_angle);
}
}
}
static f3dPoint GetPolyFaceWorkNorm(CSolidBody* pBody,CRawSolidFace& rawface)
{
CFaceLoop loop=rawface.GetOutterLoop();
f3dPoint vec1,vec2,norm;//临时作为中间三维矢量
long n = loop.LoopEdgeLineNum();
if(n<3)
return norm;
//--------------VVVVVVVVV---2.建立多边形面用户坐标系ucs---------------------
if(rawface.WorkNorm.IsZero())
{ //非指定法线情况
f3dArcLine line1,line2;
for(long start=0;start<n;start++)
{
loop.GetLoopEdgeLineAt(pBody,start,line1);
if(line1.ID&0x80000000)
Sub_Pnt( vec1, line1.Start(), line1.End());
else
Sub_Pnt( vec1, line1.End(), line1.Start());
Standize(vec1);
long i,j;
for(i=start+1;i<n;i++)
{
loop.GetLoopEdgeLineAt(pBody,i,line2);
if(line2.ID&0x80000000) //负边
Sub_Pnt( vec2, line2.Start(), line2.End());
else
Sub_Pnt( vec2, line2.End(), line2.Start());
Standize(vec2);
norm = vec1^vec2;
double dd=norm.mod();
if(dd>EPS2)
{
norm /= dd; //单位化
break;
}
}
if( i==n)
return norm; //多边形面定义有误(所有边界线重合)返回零向量
//通过建立临时坐标系,判断法线正负方向
GECS cs;
cs.origin=line1.Start();
cs.axis_x=vec1;
cs.axis_z=norm;
cs.axis_y=cs.axis_z^cs.axis_x;
for(j=0;j<n;j++)
{
if(j==0||j==i)
continue;
loop.GetLoopEdgeLineAt(pBody,start+j,line2);
f3dPoint vertice=line2.End();
vertice=cs.TransPToCS(vertice);
if(vertice.y<-EPS) //遍历点在直线上或附近时,应容许计算误差
break;
}
if(j==n) //全部顶点都在当前边的左侧,即表示计算的法线为正法线,否则应继续寻找
break;
}
}
else
norm=rawface.WorkNorm;
return norm;
}
void WriteToSolidBuffer(CSolidBodyBuffer& solidbuf,int indexBasicFace,CXhSimpleList<CTidGLFace>& listFacets,COLORREF color,const double* poly_norm)
{
//写入一组基本面片数据(对应一个多边形面拆分成的若干基本面片簇
solidbuf.SeekPosition(solidbuf.BasicFaceIndexStartAddr+indexBasicFace*4);
DWORD basicface_lenpos=solidbuf.GetLength();
solidbuf.WriteDword(basicface_lenpos); //将数据区位置写入索引区
solidbuf.SeekToEnd();
solidbuf.WriteWord((WORD)0); //CTidBasicFace的数据记录长度
solidbuf.Write(&color,4);
WORD facets_n=0;
LIST_NODE<CTidGLFace>* pTailNode=listFacets.EnumTail();
if(pTailNode!=NULL)
facets_n=(WORD)listFacets.EnumTail()->serial;
BUFFERPOP stack(&solidbuf,facets_n);
solidbuf.WriteWord(facets_n);
for(CTidGLFace* pGLFace=listFacets.EnumObjectFirst();pGLFace;pGLFace=listFacets.EnumObjectNext())
{
WORD cluster_buf_n=1+24+2+pGLFace->header.uVertexNum*24;
solidbuf.WriteWord(cluster_buf_n);
solidbuf.WriteByte(pGLFace->header.mode);
if(pGLFace->header.clr_norm&0x02)
{ //指定面片簇法线值
solidbuf.WriteDouble(pGLFace->nx);
solidbuf.WriteDouble(pGLFace->ny);
solidbuf.WriteDouble(pGLFace->nz);
}
else //面片簇法线即为原始定义面的法线
solidbuf.WritePoint(GEPOINT(poly_norm));
//写入连续三角面片数量
if(pGLFace->header.mode==GL_TRIANGLES)
solidbuf.WriteWord((WORD)(pGLFace->header.uVertexNum/3));
else
solidbuf.WriteWord((WORD)(pGLFace->header.uVertexNum-2));
solidbuf.Write(pGLFace->m_pVertexCoordArr,pGLFace->header.uVertexNum*24);
stack.Increment();
}
//solidbuf.WriteWord((WORD)stack.Count());
stack.VerifyAndRestore(true,2);
WORD wBasicfaceBufLen=(WORD)(solidbuf.GetCursorPosition()-basicface_lenpos-2);
solidbuf.SeekPosition(basicface_lenpos);
solidbuf.WriteWord(wBasicfaceBufLen);
solidbuf.SeekToEnd();
}
bool CTidSolidBody::SplitToBasicFacets()
{
CRawSolidFace rawface;
f3dPoint vertice;
double alpha = 0.6; //考虑到显示效果的经验系数
int i,j,n=0,face_n=solid.PolyFaceNum();
CXhSimpleList<CTidGLFace> listFacets;
CXhSimpleList<GEPOINT> listVertices;
GEPOINT *pp;
//迁移原实体定义内存同时,腾出基于三角面片的基本实体显示面数据区空间
CSolidBodyBuffer solidbuf;
solidbuf.Write(solid.BufferPtr(),33);//solid.BufferLength());
solidbuf.BasicFaceNumber=face_n; //写入基本面片数=原始多边形面数
DWORD dwIndexBufSize=(solid.KeyEdgeLineNum()+solid.PolyFaceNum())*4;
solidbuf.WriteAt(45,solid.BufferPtr()+45,dwIndexBufSize);
solidbuf.BasicFaceIndexStartAddr=45+dwIndexBufSize;
solidbuf.SeekToEnd(); //BasicFaceIndexStartAddr=赋值会变当前存储指针位置
solidbuf.Write(NULL,face_n*4); //@45+dwIndexBufSize 实体基本面片索引区暂写入相应的空字节占位
DWORD dwDataBufSize=solid.BufferLength()-solidbuf.VertexDataStartAddr;
if(solid.BasicGLFaceNum()>0) //只复制实体原始定义数据区域,忽略原有的基本面片数据区
dwDataBufSize=solid.BasicFaceDataStartAddr()-solidbuf.VertexDataStartAddr;
long iNewVertexDataStartAddr=solidbuf.GetCursorPosition(); //=VertexDataStartAddr+4*face_n
long iOldVertexDataStartAddr=solidbuf.VertexDataStartAddr;
solidbuf.VertexDataStartAddr=iNewVertexDataStartAddr; //=VertexDataStartAddr+4*face_n
solidbuf.EdgeDataStartAddr=solidbuf.EdgeDataStartAddr+4*face_n;
solidbuf.RawFaceDataStartAddr=solidbuf.RawFaceDataStartAddr+4*face_n;
solidbuf.SeekToEnd();
solidbuf.Write(solid.BufferPtr()+iOldVertexDataStartAddr,dwDataBufSize); //写入原实体定义的数据区内存
//计算因增加基本面片索引记录数带来的后续地址位移值
int addr_offset=(face_n-solid.BasicGLFaceNum())*4;
if(addr_offset!=0)
{ //重新移位各项基本图元索引所指向的内存地址偏移
DWORD* RawFaceAddr=(DWORD*)(solidbuf.GetBufferPtr()+solidbuf.RawFaceIndexStartAddr);
for(i=0;i<face_n;i++)
*(RawFaceAddr+i)+=addr_offset;
DWORD* RawEdgeAddr=(DWORD*)(solidbuf.GetBufferPtr()+solidbuf.EdgeIndexStartAddr);
for(i=0;i<face_n;i++)
*(RawEdgeAddr+i)+=addr_offset;
}
if(solidbuf.BasicFaceDataStartAddr==0) //以前基本面片数为空
solidbuf.BasicFaceDataStartAddr=solidbuf.GetCursorPosition();
else //重写原基本面片数据区
solidbuf.BasicFaceDataStartAddr=solidbuf.BasicFaceDataStartAddr+4*face_n;
for(int indexFace=0;indexFace<face_n;indexFace++)
{
listFacets.DeleteList();
listVertices.DeleteList();
if(!solid.GetPolyFaceAt(indexFace,rawface))
{
WriteToSolidBuffer(solidbuf,indexFace,listFacets,0,GEPOINT(0,0,0));
continue;//return false;
}
/*对于一个复杂面,肯定有一个外环,此外还可能有无数个内环,它们的法线方向是相同的
相对法线来说,外环应该逆时针方向,而内环则应该是顺时针方向,
*/
f3dArcLine edgeLine[4];
GEPOINT poly_norm=rawface.WorkNorm;
CFaceLoop outerloop=rawface.GetOutterLoop();
if(outerloop.LoopEdgeLineNum()==3)
{
outerloop.GetLoopEdgeLineAt(&solid,0,edgeLine[0]);
outerloop.GetLoopEdgeLineAt(&solid,1,edgeLine[1]);
outerloop.GetLoopEdgeLineAt(&solid,2,edgeLine[2]);
f3dPoint pt_arr[3];
if(edgeLine[0].ID&0x80000000) //负边
pt_arr[0] = edgeLine[0].End();
else
pt_arr[0] = edgeLine[0].Start();
if(edgeLine[1].ID&0x80000000) //负边
pt_arr[1] = edgeLine[1].End();
else
pt_arr[1] = edgeLine[1].Start();
if(edgeLine[2].ID&0x80000000) //负边
pt_arr[2] = edgeLine[2].End();
else
pt_arr[2] = edgeLine[2].Start();
poly_norm=rawface.WorkNorm;
if(poly_norm.IsZero())
{
f3dPoint vec1=pt_arr[1]-pt_arr[0];
f3dPoint vec2=pt_arr[2]-pt_arr[1];
poly_norm=vec1^vec2;
}
if(!Standize(poly_norm))
{
WriteToSolidBuffer(solidbuf,indexFace,listFacets,rawface.MatColor(),poly_norm);
continue;//return false;
}
//设置三角面法线、光照颜色及顶点坐标等信息
CTidGLFace *pGLFace=listFacets.AttachObject();
pGLFace->nx=poly_norm.x;
pGLFace->ny=poly_norm.y;
pGLFace->nz=poly_norm.z;
pGLFace->red = GetRValue(rawface.MatColor())/255.0f;
pGLFace->green = GetGValue(rawface.MatColor())/255.0f;
pGLFace->blue = GetBValue(rawface.MatColor())/255.0f;
pGLFace->alpha = (GLfloat)alpha;
pGLFace->header.uVertexNum=3;
pGLFace->header.clr_norm=0x03; //默认变换颜色及法线
pGLFace->m_pVertexCoordArr=new GLdouble[9];
for(j=0;j<3;j++)
{
pGLFace->m_pVertexCoordArr[3*j]=pt_arr[j].x;
pGLFace->m_pVertexCoordArr[3*j+1]=pt_arr[j].y;
pGLFace->m_pVertexCoordArr[3*j+2]=pt_arr[j].z;
}
WriteToSolidBuffer(solidbuf,indexFace,listFacets,rawface.MatColor(),poly_norm);
continue;
}
if(outerloop.LoopEdgeLineNum()==4)
{
outerloop.GetLoopEdgeLineAt(&solid,0,edgeLine[0]);
outerloop.GetLoopEdgeLineAt(&solid,1,edgeLine[1]);
outerloop.GetLoopEdgeLineAt(&solid,2,edgeLine[2]);
outerloop.GetLoopEdgeLineAt(&solid,3,edgeLine[3]);
if(rawface.WorkNorm.IsZero())//->poly_norm.IsZero())
{
f3dPoint vec1=edgeLine[0].End()-edgeLine[0].Start();
f3dPoint vec2=edgeLine[1].End()-edgeLine[1].Start();
poly_norm=vec1^vec2;
int sign1=1,sign2=1;
if(edgeLine[0].ID&0x80000000)
sign1=-1;
if(edgeLine[1].ID&0x80000000)
sign2=-1;
if(sign1+sign2==0) //异号边线
poly_norm*=-1;
}
else
poly_norm=rawface.WorkNorm;//pFace->poly_norm;
if(!Standize(poly_norm))
{
if(edgeLine[0].SectorAngle()>0)
{
poly_norm=edgeLine[0].WorkNorm();
if(edgeLine[0].ID&0x80000000)
poly_norm*=-1;
}
else if(edgeLine[1].SectorAngle()>0)
{
poly_norm=edgeLine[1].WorkNorm();
if(edgeLine[1].ID&0x80000000)
poly_norm*=-1;
}
//TODO: 未理解原意,可能是担心共线边出现
//edgeLine[0]=NULL;
}
if(edgeLine[0].SectorAngle()>0&&edgeLine[1].SectorAngle()==0&&edgeLine[2].SectorAngle()>0&&edgeLine[3].SectorAngle()==0
&&fabs(edgeLine[0].WorkNorm()*poly_norm)<EPS_COS)
{
n=max(edgeLine[0].m_uDisplaySlices,edgeLine[2].m_uDisplaySlices);
if(n==0)
{
int n1=CalArcResolution(edgeLine[0].Radius(),edgeLine[0].SectorAngle());
int n2=CalArcResolution(edgeLine[2].Radius(),edgeLine[2].SectorAngle());
n=max(n1,n2);
}
n=min(n,200);
GEPOINT vertex_arr1[200],vertex_arr2[200];
GetArcSimuPolyVertex(&edgeLine[0],vertex_arr1,n);
GetArcSimuPolyVertex(&edgeLine[2],vertex_arr2,n);
// double part_angle1=edgeLine[0]->SectorAngle()/n;
// double part_angle2=edgeLine[2]->SectorAngle()/n;
// double posAngle;
for(i=0;i<n;i++)
{
f3dPoint pt_arr[3];
//1号圆弧中间点
//posAngle=edgeLine[0]->SectorAngle()-i*part_angle1;
pt_arr[0] = vertex_arr1[n-i];//edgeLine[0]->PositionInAngle(posAngle);
//2号圆弧中间点
//posAngle=i*part_angle2;
pt_arr[1] = vertex_arr2[i];//edgeLine[2]->PositionInAngle(posAngle);
//2号圆弧中间点
//posAngle=(i+1)*part_angle2;
pt_arr[2] = vertex_arr2[i+1];//edgeLine[2]->PositionInAngle(posAngle);
f3dPoint axis_x=pt_arr[1]-pt_arr[0];
f3dPoint axis_y=pt_arr[2]-pt_arr[0];
poly_norm=axis_x^axis_y;
Standize(poly_norm);
//设置三角面法线、光照颜色及顶点坐标等信息
CTidGLFace *pGLFace=listFacets.AttachObject();
pGLFace->nx=poly_norm.x;
pGLFace->ny=poly_norm.y;
pGLFace->nz=poly_norm.z;
pGLFace->red = GetRValue(rawface.MatColor())/255.0f;
pGLFace->green = GetGValue(rawface.MatColor())/255.0f;
pGLFace->blue = GetBValue(rawface.MatColor())/255.0f;
pGLFace->alpha = (GLfloat)alpha;
pGLFace->header.uVertexNum=3;
pGLFace->m_pVertexCoordArr=new GLdouble[9];
for(j=0;j<3;j++)
{
pGLFace->m_pVertexCoordArr[3*j]=pt_arr[j].x;
pGLFace->m_pVertexCoordArr[3*j+1]=pt_arr[j].y;
pGLFace->m_pVertexCoordArr[3*j+2]=pt_arr[j].z;
}
//2号圆弧中间点
//posAngle=(i+1)*part_angle2;
pt_arr[0] = vertex_arr2[i+1];//edgeLine[2]->PositionInAngle(posAngle);
//1号圆弧中间点
//posAngle=edgeLine[0]->SectorAngle()-(i+1)*part_angle1;
pt_arr[1] = vertex_arr1[n-i-1];//edgeLine[0]->PositionInAngle(posAngle);
//1号圆弧中间点
//posAngle=edgeLine[0]->SectorAngle()-i*part_angle1;
pt_arr[2] = vertex_arr1[n-i];//edgeLine[0]->PositionInAngle(posAngle);
axis_x = pt_arr[1]-pt_arr[0];
axis_y = pt_arr[2]-pt_arr[0];
poly_norm=axis_x^axis_y;
Standize(poly_norm);
//设置三角面法线、光照颜色及顶点坐标等信息
pGLFace=listFacets.AttachObject();
pGLFace->nx=poly_norm.x;
pGLFace->ny=poly_norm.y;
pGLFace->nz=poly_norm.z;
pGLFace->red = GetRValue(rawface.MatColor())/255.0f;
pGLFace->green = GetGValue(rawface.MatColor())/255.0f;
pGLFace->blue = GetBValue(rawface.MatColor())/255.0f;
pGLFace->alpha = (GLfloat)alpha;
pGLFace->header.uVertexNum=3;
pGLFace->m_pVertexCoordArr=new GLdouble[9];
for(j=0;j<3;j++)
{
pGLFace->m_pVertexCoordArr[3*j]=pt_arr[j].x;
pGLFace->m_pVertexCoordArr[3*j+1]=pt_arr[j].y;
pGLFace->m_pVertexCoordArr[3*j+2]=pt_arr[j].z;
}
}
WriteToSolidBuffer(solidbuf,indexFace,listFacets,rawface.MatColor(),poly_norm);
continue;
}
else if(edgeLine[0].SectorAngle()==0&&edgeLine[1].SectorAngle()>0&&edgeLine[2].SectorAngle()==0&&edgeLine[3].SectorAngle()>0
&&fabs(edgeLine[1].WorkNorm()*poly_norm)<EPS_COS)
{
n=max(edgeLine[1].m_uDisplaySlices,edgeLine[3].m_uDisplaySlices);
if(n==0)
{
int n1=CalArcResolution(edgeLine[1].Radius(),edgeLine[1].SectorAngle());
int n2=CalArcResolution(edgeLine[3].Radius(),edgeLine[3].SectorAngle());
n=max(n1,n2);
}
n=min(n,200);
GEPOINT vertex_arr1[200],vertex_arr2[200];
GetArcSimuPolyVertex(&edgeLine[1],vertex_arr1,n);
GetArcSimuPolyVertex(&edgeLine[3],vertex_arr2,n);
// double part_angle1=edgeLine[1]->SectorAngle()/n;
// double part_angle2=edgeLine[3]->SectorAngle()/n;
// double posAngle;
glEnable(GL_NORMALIZE);
glEnable(GL_AUTO_NORMAL);
for(i=0;i<n;i++)
{
f3dPoint pt_arr[3];
//1号圆弧中间点
//posAngle=edgeLine[1]->SectorAngle()-i*part_angle1;
pt_arr[0] = vertex_arr1[n-i];//edgeLine[1]->PositionInAngle(posAngle);
//2号圆弧中间点
//posAngle=i*part_angle2;
pt_arr[1] = vertex_arr2[i];//edgeLine[3]->PositionInAngle(posAngle);
//2号圆弧中间点
//posAngle=(i+1)*part_angle2;
pt_arr[2] = vertex_arr2[i+1];//edgeLine[3]->PositionInAngle(posAngle);
f3dPoint axis_x=pt_arr[1]-pt_arr[0];
f3dPoint axis_y=pt_arr[2]-pt_arr[0];
poly_norm=axis_x^axis_y;
Standize(poly_norm);
CTidGLFace *pGLFace=listFacets.AttachObject();
//设置三角面法线、光照颜色及顶点坐标等信息
pGLFace->nx=poly_norm.x;
pGLFace->ny=poly_norm.y;
pGLFace->nz=poly_norm.z;
pGLFace->red = GetRValue(rawface.MatColor())/255.0f;
pGLFace->green = GetGValue(rawface.MatColor())/255.0f;
pGLFace->blue = GetBValue(rawface.MatColor())/255.0f;
pGLFace->alpha = (GLfloat)alpha;
pGLFace->header.uVertexNum=3;
pGLFace->m_pVertexCoordArr=new GLdouble[9];
for(j=0;j<3;j++)
{
pGLFace->m_pVertexCoordArr[3*j]=pt_arr[j].x;
pGLFace->m_pVertexCoordArr[3*j+1]=pt_arr[j].y;
pGLFace->m_pVertexCoordArr[3*j+2]=pt_arr[j].z;
}
//2号圆弧中间点
//posAngle=(i+1)*part_angle2;
pt_arr[0] = vertex_arr2[i+1];//edgeLine[3]->PositionInAngle(posAngle);
//1号圆弧中间点
//posAngle=edgeLine[1]->SectorAngle()-(i+1)*part_angle1;
pt_arr[1] = vertex_arr1[n-i-1];//edgeLine[1]->PositionInAngle(posAngle);
//1号圆弧中间点
//posAngle=edgeLine[1]->SectorAngle()-i*part_angle1;
pt_arr[2] = vertex_arr1[n-i];//edgeLine[1]->PositionInAngle(posAngle);
axis_x=pt_arr[1]-pt_arr[0];
axis_y=pt_arr[2]-pt_arr[0];
poly_norm=axis_x^axis_y;
Standize(poly_norm);
//设置三角面法线、光照颜色及顶点坐标等信息
pGLFace=listFacets.AttachObject();
pGLFace->nx=poly_norm.x;
pGLFace->ny=poly_norm.y;
pGLFace->nz=poly_norm.z;
pGLFace->red = GetRValue(rawface.MatColor())/255.0f;
pGLFace->green = GetGValue(rawface.MatColor())/255.0f;
pGLFace->blue = GetBValue(rawface.MatColor())/255.0f;
pGLFace->alpha = (GLfloat)alpha;
pGLFace->header.uVertexNum=3;
pGLFace->m_pVertexCoordArr=new GLdouble[9];
for(j=0;j<3;j++)
{
pGLFace->m_pVertexCoordArr[3*j]=pt_arr[j].x;
pGLFace->m_pVertexCoordArr[3*j+1]=pt_arr[j].y;
pGLFace->m_pVertexCoordArr[3*j+2]=pt_arr[j].z;
}
}
WriteToSolidBuffer(solidbuf,indexFace,listFacets,rawface.MatColor(),poly_norm);
continue;
}
}
CGLTesselator t;
t.SetFilling(TRUE);
t.SetWindingRule(GLU_TESS_WINDING_ODD);
if(poly_norm.IsZero())
poly_norm=GetPolyFaceWorkNorm(&solid,rawface);
t.StartDef();
t.TessNormal(poly_norm.x,poly_norm.y,poly_norm.z);
//第一个为外环(参见B-rep模型)
int ei=0,edge_n=outerloop.LoopEdgeLineNum();
//for(pLine=pFace->outer_edge.GetFirst();pLine!=NULL;pLine=pFace->outer_edge.GetNext())
f3dArcLine line;
for(ei=0;ei<edge_n;ei++)
{
outerloop.GetLoopEdgeLineAt(&solid,ei,line);
if(line.SectorAngle()==0)
{
if(line.Start()==line.End())
continue;
if(line.ID&0x80000000)
vertice = line.End();
else
vertice = line.Start();
listVertices.AttachObject(vertice);
}
else
{
if(line.m_uDisplaySlices>0)
n=line.m_uDisplaySlices;
else
n=CalArcResolution(line.Radius(),line.SectorAngle());
double piece_angle=line.SectorAngle()/n;
for(i=0;i<n;i++)
{
if(line.ID&0x80000000)
{
if(i==0)
vertice=line.End();
else
vertice = line.PositionInAngle((n-i-1)*piece_angle);
}
else
{
if(i==0)
vertice=line.Start();
else
vertice = line.PositionInAngle(i*piece_angle);
}
listVertices.AttachObject(vertice);
}
}
}
for(pp=listVertices.EnumObjectFirst();pp!=NULL;pp=listVertices.EnumObjectNext())
t.AddVertex(*pp);
//第二个为内环
//for(pLoop=pFace->inner_loop.GetFirst();pLoop!=NULL;pLoop=pFace->inner_loop.GetNext())
for(int loopi=0;loopi<rawface.InnerLoopNum();loopi++)
{
CFaceLoop innerloop=rawface.GetInnerLoopAt(loopi);
t.ContourSeparator(); //环边界区分
edge_n=innerloop.LoopEdgeLineNum();
//for(pLine=pLoop->loop->GetFirst();pLine!=NULL;pLine=pLoop->loop->GetNext())
for(ei=0;ei<edge_n;ei++)
{
innerloop.GetLoopEdgeLineAt(&solid,ei,line);
if(line.SectorAngle()==0)
{
vertice = line.Start();
pp=listVertices.AttachObject(vertice);
t.AddVertex(*pp);
}
else
{
if(line.m_uDisplaySlices>0)
n=line.m_uDisplaySlices;
else
n=CalArcResolution(line.Radius(),line.SectorAngle());
double piece_angle=line.SectorAngle()/n;
for(j=0;j<n;j++)
{
if(j==0)
vertice=line.Start();
else
vertice = line.PositionInAngle(j*piece_angle);
pp=listVertices.AttachObject(vertice);
t.AddVertex(*pp);
}
}
}
}
t.EndDef();
trianglesBuffer.SeekPosition(0);
while(trianglesBuffer.GetRemnantSize()>0)
{
//设置三角面法线、光照颜色及顶点坐标等信息
CTidGLFace *pGLFace=listFacets.AttachObject();
pGLFace->nx=poly_norm.x;
pGLFace->ny=poly_norm.y;
pGLFace->nz=poly_norm.z;
pGLFace->red = GetRValue(rawface.MatColor())/255.0f;
pGLFace->green = GetGValue(rawface.MatColor())/255.0f;
pGLFace->blue = GetBValue(rawface.MatColor())/255.0f;
pGLFace->alpha = (GLfloat)alpha;
CTidGLFace *pPrevGLFace=listFacets.EnumObjectTail();
pGLFace->header.clr_norm=0x03; //默认变换颜色及法线
if(pPrevGLFace!=NULL)
{
if( pPrevGLFace->red==pGLFace->red&&pPrevGLFace->green==pGLFace->green&&
pPrevGLFace->blue==pGLFace->blue&&pPrevGLFace->alpha==pGLFace->alpha)
pGLFace->header.clr_norm &= 0x02;
if( pPrevGLFace->nx==pGLFace->nx&&pPrevGLFace->ny==pGLFace->ny&&pPrevGLFace->nz==pGLFace->nz)
pGLFace->header.clr_norm &= 0x01;
}
trianglesBuffer.ReadByte(&pGLFace->header.mode);
trianglesBuffer.ReadWord(&pGLFace->header.uVertexNum);
pGLFace->m_pVertexCoordArr=new GLdouble[pGLFace->header.uVertexNum*3];
trianglesBuffer.Read(pGLFace->m_pVertexCoordArr,pGLFace->header.uVertexNum*24);
}
WriteToSolidBuffer(solidbuf,indexFace,listFacets,rawface.MatColor(),poly_norm);
}
solid.CopyBuffer(solidbuf.GetBufferPtr(),solidbuf.GetLength());
return true;
}
int CTidSolidBody::KeyPointNum()
{
return solid.KeyPointNum();
}
TID_COORD3D CTidSolidBody::GetKeyPointAt(int i)
{
GEPOINT vertex=solid.GetKeyPointAt(i);
return TID_COORD3D(vertex);
}
int CTidSolidBody::KeyEdgeLineNum()
{
return solid.KeyEdgeLineNum();
}
ITidRawSolidEdge* CTidSolidBody::GetKeyEdgeLineAt(int i)
{
CTidRawSolidEdge* pEdge=hashEdges.Add(i+1);
solid.GetKeyEdgeLineAt(i,pEdge->edge);
return pEdge;
}
bool CTidSolidBody::GetKeyEdgeLineAt(int i,TidArcline& line)
{
f3dArcLine arcline;
if(!solid.GetKeyEdgeLineAt(i,arcline))
return false;
char linebuf[200]={0};
DWORD size=arcline.ToByteArr(linebuf);
line.FromByteArr(linebuf,size);
return true;
}
int CTidSolidBody::PolyFaceNum()
{
return solid.PolyFaceNum();
}
IRawSolidFace* CTidSolidBody::GetPolyFaceAt(int i)
{
CRawSolidFace face;
if(!solid.GetPolyFaceAt(i,face))
return false;
CTidRawFace* pFace=hashRawFaces.Add(i+1);
pFace->m_pSolidBody=&solid;
pFace->face=face;
return pFace;
}
int CTidSolidBody::BasicFaceNum()
{
return solid.BasicGLFaceNum();
}
ITidBasicFace* CTidSolidBody::GetBasicFaceAt(int i)
{
CBasicGlFace basicface;
if(!solid.GetBasicGLFaceAt(i,basicface))
return NULL;
CTidBasicFace* pFace=hashBasicFaces.Add(i+1);
pFace->basicface=basicface;
return pFace;
}
//将实体从装配坐标系fromACS移位到装配坐标系toACS
void CTidSolidBody::TransACS(const TID_CS& fromACS,const TID_CS& toACS)
{
if(solid.IsExternalSolidBuffer())
solid.ToInternalBuffer();
UCS_STRU fromacs=ConvertUCSFrom(fromACS),toacs=ConvertUCSFrom(toACS);
solid.TransACS(fromacs,toacs);
}
void CTidSolidBody::TransFromACS(const TID_CS& fromACS)
{
if(solid.IsExternalSolidBuffer())
solid.ToInternalBuffer();
solid.TransFromACS(ConvertUCSFrom(fromACS));
}
void CTidSolidBody::TransToACS(const TID_CS& toACS)
{
if(solid.IsExternalSolidBuffer())
solid.ToInternalBuffer();
solid.TransToACS(ConvertUCSFrom(toACS));
}
TID_STEELMAT CSteelMaterialLibrary::GetSteelMatAt(int i)
{
TID_STEELMAT mat;
mat.cBriefSymbol=matsect.BriefSymbolAt(i);
matsect.NameCodeAt(i,mat.nameCodeStr); //返回字符串长度,允许输入NULL
return mat;
}
char CSteelMaterialLibrary::QuerySteelBriefSymbol(const char *steelmark)
{
char nameCode[8]={0};
for(BYTE i=0;i<matsect.TypeCount();i++)
{
matsect.NameCodeAt(i,nameCode);
if(_stricmp(nameCode,steelmark)==0)
return matsect.BriefSymbolAt(i);
}
return 0;
}
bool CSteelMaterialLibrary::QuerySteelNameCode(char briefmark,char* steelmark)
{
for(BYTE i=0;i<matsect.TypeCount();i++)
{
if(matsect.BriefSymbolAt(i)==briefmark)
return matsect.NameCodeAt(i,steelmark)>0;
}
return false;
}
| [
"wxc_sxy@163.com"
] | wxc_sxy@163.com |
4ecd991fc4f3a7fa6a380ab861ee92ef6c21d754 | 737d18cdcc25bc1932d5888e5144c977af377eda | /Mouse Interfacing/src/mainwindow.cpp | 3c6df08e39958c5d399d56e7682268e82b455494 | [] | no_license | Kshitij09/Computer-Graphics | e2c94ee7d5dd15cf8b14a85a874b9c49155a6b07 | 736c8d1c41dc5c477c4e88c79428107c5e12b771 | refs/heads/master | 2020-03-09T02:48:00.749239 | 2018-04-09T22:00:20 | 2018-04-09T22:00:20 | 128,548,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,280 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include "clicklabel.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
ui->label->setMouseTracking(true);
connect(ui->label,SIGNAL(mouse_pos()),this,SLOT(mouse_pos()));
connect(ui->label,SIGNAL(mouse_pressed()),this,SLOT(mouse_pressed()));
connect(ui->label,SIGNAL(mouse_released()),this,SLOT(mouse_released()));
connect(ui->label,SIGNAL(mouse_right_clicked()),this,SLOT(mouse_right_clicked()));
connect(ui->label,SIGNAL(mouse_left()),this,SLOT(mouse_left()));
}
MainWindow::~MainWindow()
{
delete ui;
}
void MainWindow::mouse_pos()
{
ui->mouse_cord->setText(QString("X = %1, Y = %2")
.arg(ui->label->x)
.arg(ui->label->y));
ui->mouse_eve->setText(QString("Mouse Moving !"));
}
void MainWindow::mouse_pressed()
{
ui->mouse_eve->setText(QString("Mouse Clicked !"));
}
void MainWindow::mouse_released()
{
ui->mouse_eve->setText(QString("Mouse Released !"));
}
void MainWindow::mouse_right_clicked()
{
ui->mouse_eve->setText(QString("Mouse Right Clicked !"));
}
void MainWindow::mouse_left()
{
ui->mouse_eve->setText(QString("Mouse Left !"));
}
| [
"kshitijpatil98@gmail.com"
] | kshitijpatil98@gmail.com |
b06026c1c4399aeff61afe8e47faf58a27f385d2 | 5950c4973a1862d2b67e072deeea8f4188d23d97 | /Export/macos/obj/src/lime/_internal/format/Zlib.cpp | 21f17693b5e3be87344aae43fb108c7a8932d361 | [
"MIT"
] | permissive | TrilateralX/TrilateralLimeTriangle | b3cc0283cd3745b57ccc9131fcc9b81427414718 | 219d8e54fc3861dc1ffeb3da25da6eda349847c1 | refs/heads/master | 2022-10-26T11:51:28.578254 | 2020-06-16T12:32:35 | 2020-06-16T12:32:35 | 272,572,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 3,762 | cpp | // Generated by Haxe 4.2.0-rc.1+cb30bd580
#include <hxcpp.h>
#ifndef INCLUDED_haxe_io_Bytes
#include <haxe/io/Bytes.h>
#endif
#ifndef INCLUDED_lime__internal_backend_native_NativeCFFI
#include <lime/_internal/backend/native/NativeCFFI.h>
#endif
#ifndef INCLUDED_lime__internal_format_Zlib
#include <lime/_internal/format/Zlib.h>
#endif
HX_LOCAL_STACK_FRAME(_hx_pos_1e53264516846038_20_compress,"lime._internal.format.Zlib","compress",0x612ac019,"lime._internal.format.Zlib.compress","lime/_internal/format/Zlib.hx",20,0x132edd28)
HX_LOCAL_STACK_FRAME(_hx_pos_1e53264516846038_50_decompress,"lime._internal.format.Zlib","decompress",0x83a84c5a,"lime._internal.format.Zlib.decompress","lime/_internal/format/Zlib.hx",50,0x132edd28)
namespace lime{
namespace _internal{
namespace format{
void Zlib_obj::__construct() { }
Dynamic Zlib_obj::__CreateEmpty() { return new Zlib_obj; }
void *Zlib_obj::_hx_vtable = 0;
Dynamic Zlib_obj::__Create(::hx::DynamicArray inArgs)
{
::hx::ObjectPtr< Zlib_obj > _hx_result = new Zlib_obj();
_hx_result->__construct();
return _hx_result;
}
bool Zlib_obj::_hx_isInstanceOf(int inClassId) {
return inClassId==(int)0x00000001 || inClassId==(int)0x7f314115;
}
::haxe::io::Bytes Zlib_obj::compress( ::haxe::io::Bytes bytes){
HX_STACKFRAME(&_hx_pos_1e53264516846038_20_compress)
HXDLIN( 20) ::haxe::io::Bytes _hx_tmp = ::haxe::io::Bytes_obj::alloc(0);
HXDLIN( 20) return ( ( ::Dynamic)(::lime::_internal::backend::native::NativeCFFI_obj::lime_zlib_compress(::hx::DynamicPtr(bytes),::hx::DynamicPtr(_hx_tmp))) );
}
STATIC_HX_DEFINE_DYNAMIC_FUNC1(Zlib_obj,compress,return )
::haxe::io::Bytes Zlib_obj::decompress( ::haxe::io::Bytes bytes){
HX_STACKFRAME(&_hx_pos_1e53264516846038_50_decompress)
HXDLIN( 50) ::haxe::io::Bytes _hx_tmp = ::haxe::io::Bytes_obj::alloc(0);
HXDLIN( 50) return ( ( ::Dynamic)(::lime::_internal::backend::native::NativeCFFI_obj::lime_zlib_decompress(::hx::DynamicPtr(bytes),::hx::DynamicPtr(_hx_tmp))) );
}
STATIC_HX_DEFINE_DYNAMIC_FUNC1(Zlib_obj,decompress,return )
Zlib_obj::Zlib_obj()
{
}
bool Zlib_obj::__GetStatic(const ::String &inName, Dynamic &outValue, ::hx::PropertyAccess inCallProp)
{
switch(inName.length) {
case 8:
if (HX_FIELD_EQ(inName,"compress") ) { outValue = compress_dyn(); return true; }
break;
case 10:
if (HX_FIELD_EQ(inName,"decompress") ) { outValue = decompress_dyn(); return true; }
}
return false;
}
#ifdef HXCPP_SCRIPTABLE
static ::hx::StorageInfo *Zlib_obj_sMemberStorageInfo = 0;
static ::hx::StaticInfo *Zlib_obj_sStaticStorageInfo = 0;
#endif
::hx::Class Zlib_obj::__mClass;
static ::String Zlib_obj_sStaticFields[] = {
HX_("compress",a2,47,bf,83),
HX_("decompress",23,88,14,da),
::String(null())
};
void Zlib_obj::__register()
{
Zlib_obj _hx_dummy;
Zlib_obj::_hx_vtable = *(void **)&_hx_dummy;
::hx::Static(__mClass) = new ::hx::Class_obj();
__mClass->mName = HX_("lime._internal.format.Zlib",d7,d2,35,70);
__mClass->mSuper = &super::__SGetClass();
__mClass->mConstructEmpty = &__CreateEmpty;
__mClass->mConstructArgs = &__Create;
__mClass->mGetStaticField = &Zlib_obj::__GetStatic;
__mClass->mSetStaticField = &::hx::Class_obj::SetNoStaticField;
__mClass->mStatics = ::hx::Class_obj::dupFunctions(Zlib_obj_sStaticFields);
__mClass->mMembers = ::hx::Class_obj::dupFunctions(0 /* sMemberFields */);
__mClass->mCanCast = ::hx::TCanCast< Zlib_obj >;
#ifdef HXCPP_SCRIPTABLE
__mClass->mMemberStorageInfo = Zlib_obj_sMemberStorageInfo;
#endif
#ifdef HXCPP_SCRIPTABLE
__mClass->mStaticStorageInfo = Zlib_obj_sStaticStorageInfo;
#endif
::hx::_hx_RegisterClass(__mClass->mName, __mClass);
}
} // end namespace lime
} // end namespace _internal
} // end namespace format
| [
"none"
] | none |
eb481c4bc3c811826fe377121a4763d6f3c1bc8f | c5534a6df16a89e0ae8f53bcd49a6417e8d44409 | /trunk/Dependencies/Xerces/include/xercesc/internal/VecAttributesImpl.cpp | 421153a8851b0024e40bf368a251d425551fae51 | [] | no_license | svn2github/ngene | b2cddacf7ec035aa681d5b8989feab3383dac012 | 61850134a354816161859fe86c2907c8e73dc113 | refs/heads/master | 2023-09-03T12:34:18.944872 | 2011-07-27T19:26:04 | 2011-07-27T19:26:04 | 78,163,390 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,083 | cpp | /*
* Copyright 1999-2001,2004 The Apache Software Foundation.
*
* 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.
*/
/*
* $Id: VecAttributesImpl.cpp 191054 2005-06-17 02:56:35Z jberry $
*/
// ---------------------------------------------------------------------------
// Includes
// ---------------------------------------------------------------------------
#include <xercesc/util/Janitor.hpp>
#include <xercesc/internal/VecAttributesImpl.hpp>
XERCES_CPP_NAMESPACE_BEGIN
// ---------------------------------------------------------------------------
// Constructors and Destructor
// ---------------------------------------------------------------------------
VecAttributesImpl::VecAttributesImpl() :
fAdopt(false)
, fCount(0)
, fVector(0)
, fScanner(0)
{
}
VecAttributesImpl::~VecAttributesImpl()
{
//
// Note that some compilers can't deal with the fact that the pointer
// is to a const object, so we have to cast off the const'ness here!
//
if (fAdopt)
delete (RefVectorOf<XMLAttr>*)fVector;
}
// ---------------------------------------------------------------------------
// Implementation of the attribute list interface
// ---------------------------------------------------------------------------
unsigned int VecAttributesImpl::getLength() const
{
return fCount;
}
const XMLCh* VecAttributesImpl::getURI(const unsigned int index) const
{
// since this func really needs to be const, like the rest, not sure how we
// make it const and re-use the fURIBuffer member variable. we're currently
// creating a buffer each time you need a URI. there has to be a better
// way to do this...
//XMLBuffer tempBuf;
if (index >= fCount) {
return 0;
}
//fValidator->getURIText(fVector->elementAt(index)->getURIId(), tempBuf) ;
//return tempBuf.getRawBuffer() ;
return fScanner->getURIText(fVector->elementAt(index)->getURIId());
}
const XMLCh* VecAttributesImpl::getLocalName(const unsigned int index) const
{
if (index >= fCount) {
return 0;
}
return fVector->elementAt(index)->getName();
}
const XMLCh* VecAttributesImpl::getQName(const unsigned int index) const
{
if (index >= fCount) {
return 0;
}
return fVector->elementAt(index)->getQName();
}
const XMLCh* VecAttributesImpl::getType(const unsigned int index) const
{
if (index >= fCount) {
return 0;
}
return XMLAttDef::getAttTypeString(fVector->elementAt(index)->getType(), fVector->getMemoryManager());
}
const XMLCh* VecAttributesImpl::getValue(const unsigned int index) const
{
if (index >= fCount) {
return 0;
}
return fVector->elementAt(index)->getValue();
}
int VecAttributesImpl::getIndex(const XMLCh* const uri, const XMLCh* const localPart ) const
{
//
// Search the vector for the attribute with the given name and return
// its type.
//
XMLBuffer uriBuffer(1023, fVector->getMemoryManager()) ;
for (unsigned int index = 0; index < fCount; index++)
{
const XMLAttr* curElem = fVector->elementAt(index);
fScanner->getURIText(curElem->getURIId(), uriBuffer) ;
if ( (XMLString::equals(curElem->getName(), localPart)) &&
(XMLString::equals(uriBuffer.getRawBuffer(), uri)) )
return index ;
}
return -1;
}
int VecAttributesImpl::getIndex(const XMLCh* const qName ) const
{
//
// Search the vector for the attribute with the given name and return
// its type.
//
for (unsigned int index = 0; index < fCount; index++)
{
const XMLAttr* curElem = fVector->elementAt(index);
if (XMLString::equals(curElem->getQName(), qName))
return index ;
}
return -1;
}
const XMLCh* VecAttributesImpl::getType(const XMLCh* const uri, const XMLCh* const localPart ) const
{
int retVal = getIndex(uri, localPart);
return ((retVal < 0) ? 0 : getType(retVal));
}
const XMLCh* VecAttributesImpl::getType(const XMLCh* const qName) const
{
int retVal = getIndex(qName);
return ((retVal < 0) ? 0 : getType(retVal));
}
const XMLCh* VecAttributesImpl::getValue(const XMLCh* const uri, const XMLCh* const localPart ) const
{
int retVal = getIndex(uri, localPart);
return ((retVal < 0) ? 0 : getValue(retVal));
}
const XMLCh* VecAttributesImpl::getValue(const XMLCh* const qName) const
{
int retVal = getIndex(qName);
return ((retVal < 0) ? 0 : getValue(retVal));
}
// ---------------------------------------------------------------------------
// Setter methods
// ---------------------------------------------------------------------------
void VecAttributesImpl::setVector(const RefVectorOf<XMLAttr>* const srcVec
, const unsigned int count
, const XMLScanner * const scanner
, const bool adopt)
{
//
// Delete the previous vector (if any) if we are adopting. Note that some
// compilers can't deal with the fact that the pointer is to a const
// object, so we have to cast off the const'ness here!
//
if (fAdopt)
delete (RefVectorOf<XMLAttr>*)fVector;
fAdopt = adopt;
fCount = count;
fVector = srcVec;
fScanner = scanner ;
}
XERCES_CPP_NAMESPACE_END
| [
"Riddlemaster@fdc6060e-f348-4335-9a41-9933a8eecd57"
] | Riddlemaster@fdc6060e-f348-4335-9a41-9933a8eecd57 |
0ae73b4790010d8ad8ecd01d98650f3c1a960405 | 018c888d6a7d7916a7223a2982b574028e0fa88a | /src/test/rpc_tests.cpp | cdbd5847d9b50f2053086ede9222924a2a3bfd72 | [
"MIT"
] | permissive | Bigfootzz/NachoHash | c9f61590c5e30e044ee747700fde6b0084506323 | 9abed2654678a474c1067bbed2ec19abb16968ff | refs/heads/master | 2020-07-04T20:25:40.045003 | 2019-09-14T11:36:38 | 2019-09-14T11:36:38 | 202,404,765 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 12,950 | cpp | // Copyright (c) 2012-2013 The NachoHash Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "rpcserver.h"
#include "rpcclient.h"
#include "base58.h"
#include "netbase.h"
#include "util.h"
#include <boost/algorithm/string.hpp>
#include <boost/test/unit_test.hpp>
#include <univalue.h>
using namespace std;
UniValue
createArgs(int nRequired, const char* address1=NULL, const char* address2=NULL)
{
UniValue result(UniValue::VARR);
result.push_back(nRequired);
UniValue addresses(UniValue::VARR);
if (address1) addresses.push_back(address1);
if (address2) addresses.push_back(address2);
result.push_back(addresses);
return result;
}
UniValue CallRPC(string args)
{
vector<string> vArgs;
boost::split(vArgs, args, boost::is_any_of(" \t"));
string strMethod = vArgs[0];
vArgs.erase(vArgs.begin());
UniValue params = RPCConvertValues(strMethod, vArgs);
rpcfn_type method = tableRPC[strMethod]->actor;
try {
UniValue result = (*method)(params, false);
return result;
}
catch (const UniValue& objError) {
throw runtime_error(find_value(objError, "message").get_str());
}
}
BOOST_AUTO_TEST_SUITE(rpc_tests)
BOOST_AUTO_TEST_CASE(rpc_rawparams)
{
// Test raw transaction API argument handling
UniValue r;
BOOST_CHECK_THROW(CallRPC("getrawtransaction"), runtime_error);
BOOST_CHECK_THROW(CallRPC("getrawtransaction not_hex"), runtime_error);
BOOST_CHECK_THROW(CallRPC("getrawtransaction a3b807410df0b60fcb9736768df5823938b2f838694939ba45f3c0a1bff150ed not_int"), runtime_error);
BOOST_CHECK_THROW(CallRPC("createrawtransaction"), runtime_error);
BOOST_CHECK_THROW(CallRPC("createrawtransaction null null"), runtime_error);
BOOST_CHECK_THROW(CallRPC("createrawtransaction not_array"), runtime_error);
BOOST_CHECK_THROW(CallRPC("createrawtransaction [] []"), runtime_error);
BOOST_CHECK_THROW(CallRPC("createrawtransaction {} {}"), runtime_error);
BOOST_CHECK_NO_THROW(CallRPC("createrawtransaction [] {}"));
BOOST_CHECK_THROW(CallRPC("createrawtransaction [] {} extra"), runtime_error);
BOOST_CHECK_THROW(CallRPC("decoderawtransaction"), runtime_error);
BOOST_CHECK_THROW(CallRPC("decoderawtransaction null"), runtime_error);
BOOST_CHECK_THROW(CallRPC("decoderawtransaction DEADBEEF"), runtime_error);
string rawtx = "0100000001a15d57094aa7a21a28cb20b59aab8fc7d1149a3bdbcddba9c622e4f5f6a99ece010000006c493046022100f93bb0e7d8db7bd46e40132d1f8242026e045f03a0efe71bbb8e3f475e970d790221009337cd7f1f929f00cc6ff01f03729b069a7c21b59b1736ddfee5db5946c5da8c0121033b9b137ee87d5a812d6f506efdd37f0affa7ffc310711c06c7f3e097c9447c52ffffffff0100e1f505000000001976a9140389035a9225b3839e2bbf32d826a1e222031fd888ac00000000";
BOOST_CHECK_NO_THROW(r = CallRPC(string("decoderawtransaction ")+rawtx));
BOOST_CHECK_EQUAL(find_value(r.get_obj(), "version").get_int(), 1);
BOOST_CHECK_EQUAL(find_value(r.get_obj(), "locktime").get_int(), 0);
BOOST_CHECK_THROW(r = CallRPC(string("decoderawtransaction ")+rawtx+" extra"), runtime_error);
BOOST_CHECK_THROW(CallRPC("signrawtransaction"), runtime_error);
BOOST_CHECK_THROW(CallRPC("signrawtransaction null"), runtime_error);
BOOST_CHECK_THROW(CallRPC("signrawtransaction ff00"), runtime_error);
BOOST_CHECK_NO_THROW(CallRPC(string("signrawtransaction ")+rawtx));
BOOST_CHECK_NO_THROW(CallRPC(string("signrawtransaction ")+rawtx+" null null NONE|ANYONECANPAY"));
BOOST_CHECK_NO_THROW(CallRPC(string("signrawtransaction ")+rawtx+" [] [] NONE|ANYONECANPAY"));
BOOST_CHECK_THROW(CallRPC(string("signrawtransaction ")+rawtx+" null null badenum"), runtime_error);
// Only check failure cases for sendrawtransaction, there's no network to send to...
BOOST_CHECK_THROW(CallRPC("sendrawtransaction"), runtime_error);
BOOST_CHECK_THROW(CallRPC("sendrawtransaction null"), runtime_error);
BOOST_CHECK_THROW(CallRPC("sendrawtransaction DEADBEEF"), runtime_error);
BOOST_CHECK_THROW(CallRPC(string("sendrawtransaction ")+rawtx+" extra"), runtime_error);
}
BOOST_AUTO_TEST_CASE(rpc_rawsign)
{
UniValue r;
// input is a 1-of-2 multisig (so is output):
string prevout =
"[{\"txid\":\"dd2888870cdc3f6e92661f6b0829667ee4bb07ed086c44205e726bbf3338f726\","
"\"vout\":1,\"scriptPubKey\":\"a914f5404a39a4799d8710e15db4c4512c5e06f97fed87\","
"\"redeemScript\":\"5121021431a18c7039660cd9e3612a2a47dc53b69cb38ea4ad743b7df8245fd0438f8e21029bbeff390ce736bd396af43b52a1c14ed52c086b1e5585c15931f68725772bac52ae\"}]";
r = CallRPC(string("createrawtransaction ")+prevout+" "+
"{\"6ckcNMWRYgTnPcrTXCdwhDnMLwj3zwseej\":1}");
string notsigned = r.get_str();
string privkey1 = "\"YVobcS47fr6kceZy9LzLJR8WQ6YRpUwYKoJhrnEXepebMxaSpbnn\"";
string privkey2 = "\"YRyMjG8hbm8jHeDMAfrzSeHq5GgAj7kuHFvJtMudCUH3sCkq1WtA\"";
r = CallRPC(string("signrawtransaction ")+notsigned+" "+prevout+" "+"[]");
BOOST_CHECK(find_value(r.get_obj(), "complete").get_bool() == false);
r = CallRPC(string("signrawtransaction ")+notsigned+" "+prevout+" "+"["+privkey1+","+privkey2+"]");
BOOST_CHECK(find_value(r.get_obj(), "complete").get_bool() == true);
}
BOOST_AUTO_TEST_CASE(rpc_format_monetary_values)
{
BOOST_CHECK(ValueFromAmount(0LL).write() == "0.00000000");
BOOST_CHECK(ValueFromAmount(1LL).write() == "0.00000001");
BOOST_CHECK(ValueFromAmount(17622195LL).write() == "0.17622195");
BOOST_CHECK(ValueFromAmount(50000000LL).write() == "0.50000000");
BOOST_CHECK(ValueFromAmount(89898989LL).write() == "0.89898989");
BOOST_CHECK(ValueFromAmount(100000000LL).write() == "1.00000000");
BOOST_CHECK(ValueFromAmount(2099999999999990LL).write() == "20999999.99999990");
BOOST_CHECK(ValueFromAmount(2099999999999999LL).write() == "20999999.99999999");
BOOST_CHECK_EQUAL(ValueFromAmount(0).write(), "0.00000000");
BOOST_CHECK_EQUAL(ValueFromAmount((COIN/10000)*123456789).write(), "12345.67890000");
BOOST_CHECK_EQUAL(ValueFromAmount(-COIN).write(), "-1.00000000");
BOOST_CHECK_EQUAL(ValueFromAmount(-COIN/10).write(), "-0.10000000");
BOOST_CHECK_EQUAL(ValueFromAmount(COIN*100000000).write(), "100000000.00000000");
BOOST_CHECK_EQUAL(ValueFromAmount(COIN*10000000).write(), "10000000.00000000");
BOOST_CHECK_EQUAL(ValueFromAmount(COIN*1000000).write(), "1000000.00000000");
BOOST_CHECK_EQUAL(ValueFromAmount(COIN*100000).write(), "100000.00000000");
BOOST_CHECK_EQUAL(ValueFromAmount(COIN*10000).write(), "10000.00000000");
BOOST_CHECK_EQUAL(ValueFromAmount(COIN*1000).write(), "1000.00000000");
BOOST_CHECK_EQUAL(ValueFromAmount(COIN*100).write(), "100.00000000");
BOOST_CHECK_EQUAL(ValueFromAmount(COIN*10).write(), "10.00000000");
BOOST_CHECK_EQUAL(ValueFromAmount(COIN).write(), "1.00000000");
BOOST_CHECK_EQUAL(ValueFromAmount(COIN/10).write(), "0.10000000");
BOOST_CHECK_EQUAL(ValueFromAmount(COIN/100).write(), "0.01000000");
BOOST_CHECK_EQUAL(ValueFromAmount(COIN/1000).write(), "0.00100000");
BOOST_CHECK_EQUAL(ValueFromAmount(COIN/10000).write(), "0.00010000");
BOOST_CHECK_EQUAL(ValueFromAmount(COIN/100000).write(), "0.00001000");
BOOST_CHECK_EQUAL(ValueFromAmount(COIN/1000000).write(), "0.00000100");
BOOST_CHECK_EQUAL(ValueFromAmount(COIN/10000000).write(), "0.00000010");
BOOST_CHECK_EQUAL(ValueFromAmount(COIN/100000000).write(), "0.00000001");
}
static UniValue ValueFromString(const std::string &str)
{
UniValue value;
BOOST_CHECK(value.setNumStr(str));
return value;
}
BOOST_AUTO_TEST_CASE(rpc_parse_monetary_values)
{
BOOST_CHECK_EQUAL(AmountFromValue(ValueFromString("0.00000001")), 1LL);
BOOST_CHECK_EQUAL(AmountFromValue(ValueFromString("0.17622195")), 17622195LL);
BOOST_CHECK_EQUAL(AmountFromValue(ValueFromString("0.5")), 50000000LL);
BOOST_CHECK_EQUAL(AmountFromValue(ValueFromString("0.50000000")), 50000000LL);
BOOST_CHECK_EQUAL(AmountFromValue(ValueFromString("0.89898989")), 89898989LL);
BOOST_CHECK_EQUAL(AmountFromValue(ValueFromString("1.00000000")), 100000000LL);
BOOST_CHECK_EQUAL(AmountFromValue(ValueFromString("20999999.9999999")), 2099999999999990LL);
BOOST_CHECK_EQUAL(AmountFromValue(ValueFromString("20999999.99999999")), 2099999999999999LL);
}
BOOST_AUTO_TEST_CASE(json_parse_errors)
{
// Valid
BOOST_CHECK_EQUAL(ParseNonRFCJSONValue("1.0").get_real(), 1.0);
// Valid, with leading or trailing whitespace
BOOST_CHECK_EQUAL(ParseNonRFCJSONValue(" 1.0").get_real(), 1.0);
BOOST_CHECK_EQUAL(ParseNonRFCJSONValue("1.0 ").get_real(), 1.0);
// Invalid, initial garbage
BOOST_CHECK_THROW(ParseNonRFCJSONValue("[1.0"), std::runtime_error);
BOOST_CHECK_THROW(ParseNonRFCJSONValue("a1.0"), std::runtime_error);
// Invalid, trailing garbage
BOOST_CHECK_THROW(ParseNonRFCJSONValue("1.0sds"), std::runtime_error);
BOOST_CHECK_THROW(ParseNonRFCJSONValue("1.0]"), std::runtime_error);
// BTC addresses should fail parsing
BOOST_CHECK_THROW(ParseNonRFCJSONValue("175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W"), std::runtime_error);
BOOST_CHECK_THROW(ParseNonRFCJSONValue("3J98t1WpEZ73CNmQviecrnyiWrnqRhWNL"), std::runtime_error);
}
BOOST_AUTO_TEST_CASE(rpc_ban)
{
BOOST_CHECK_NO_THROW(CallRPC(string("clearbanned")));
UniValue r;
BOOST_CHECK_NO_THROW(r = CallRPC(string("setban 127.0.0.0 add")));
BOOST_CHECK_THROW(r = CallRPC(string("setban 127.0.0.0:8334")), runtime_error); //portnumber for setban not allowed
BOOST_CHECK_NO_THROW(r = CallRPC(string("listbanned")));
UniValue ar = r.get_array();
UniValue o1 = ar[0].get_obj();
UniValue adr = find_value(o1, "address");
BOOST_CHECK_EQUAL(adr.get_str(), "127.0.0.0/32");
BOOST_CHECK_NO_THROW(CallRPC(string("setban 127.0.0.0 remove")));;
BOOST_CHECK_NO_THROW(r = CallRPC(string("listbanned")));
ar = r.get_array();
BOOST_CHECK_EQUAL(ar.size(), 0);
BOOST_CHECK_NO_THROW(r = CallRPC(string("setban 127.0.0.0/24 add 1607731200 true")));
BOOST_CHECK_NO_THROW(r = CallRPC(string("listbanned")));
ar = r.get_array();
o1 = ar[0].get_obj();
adr = find_value(o1, "address");
UniValue banned_until = find_value(o1, "banned_until");
BOOST_CHECK_EQUAL(adr.get_str(), "127.0.0.0/24");
BOOST_CHECK_EQUAL(banned_until.get_int64(), 1607731200); // absolute time check
BOOST_CHECK_NO_THROW(CallRPC(string("clearbanned")));
BOOST_CHECK_NO_THROW(r = CallRPC(string("setban 127.0.0.0/24 add 200")));
BOOST_CHECK_NO_THROW(r = CallRPC(string("listbanned")));
ar = r.get_array();
o1 = ar[0].get_obj();
adr = find_value(o1, "address");
banned_until = find_value(o1, "banned_until");
BOOST_CHECK_EQUAL(adr.get_str(), "127.0.0.0/24");
int64_t now = GetTime();
BOOST_CHECK(banned_until.get_int64() > now);
BOOST_CHECK(banned_until.get_int64()-now <= 200);
// must throw an exception because 127.0.0.1 is in already banned suubnet range
BOOST_CHECK_THROW(r = CallRPC(string("setban 127.0.0.1 add")), runtime_error);
BOOST_CHECK_NO_THROW(CallRPC(string("setban 127.0.0.0/24 remove")));;
BOOST_CHECK_NO_THROW(r = CallRPC(string("listbanned")));
ar = r.get_array();
BOOST_CHECK_EQUAL(ar.size(), 0);
BOOST_CHECK_NO_THROW(r = CallRPC(string("setban 127.0.0.0/255.255.0.0 add")));
BOOST_CHECK_THROW(r = CallRPC(string("setban 127.0.1.1 add")), runtime_error);
BOOST_CHECK_NO_THROW(CallRPC(string("clearbanned")));
BOOST_CHECK_NO_THROW(r = CallRPC(string("listbanned")));
ar = r.get_array();
BOOST_CHECK_EQUAL(ar.size(), 0);
BOOST_CHECK_THROW(r = CallRPC(string("setban test add")), runtime_error); //invalid IP
//IPv6 tests
BOOST_CHECK_NO_THROW(r = CallRPC(string("setban FE80:0000:0000:0000:0202:B3FF:FE1E:8329 add")));
BOOST_CHECK_NO_THROW(r = CallRPC(string("listbanned")));
ar = r.get_array();
o1 = ar[0].get_obj();
adr = find_value(o1, "address");
BOOST_CHECK_EQUAL(adr.get_str(), "fe80::202:b3ff:fe1e:8329/128");
BOOST_CHECK_NO_THROW(CallRPC(string("clearbanned")));
BOOST_CHECK_NO_THROW(r = CallRPC(string("setban 2001:db8::/ffff:fffc:0:0:0:0:0:0 add")));
BOOST_CHECK_NO_THROW(r = CallRPC(string("listbanned")));
ar = r.get_array();
o1 = ar[0].get_obj();
adr = find_value(o1, "address");
BOOST_CHECK_EQUAL(adr.get_str(), "2001:db8::/30");
BOOST_CHECK_NO_THROW(CallRPC(string("clearbanned")));
BOOST_CHECK_NO_THROW(r = CallRPC(string("setban 2001:4d48:ac57:400:cacf:e9ff:fe1d:9c63/128 add")));
BOOST_CHECK_NO_THROW(r = CallRPC(string("listbanned")));
ar = r.get_array();
o1 = ar[0].get_obj();
adr = find_value(o1, "address");
BOOST_CHECK_EQUAL(adr.get_str(), "2001:4d48:ac57:400:cacf:e9ff:fe1d:9c63/128");
}
BOOST_AUTO_TEST_SUITE_END()
| [
"partridget9@gmail.com"
] | partridget9@gmail.com |
b0ed8a2cbed8c17ff2e7e7f5c2b83df2d7948b47 | cbca949c25ef12fb2f1134752d7f684251c00052 | /core/modules/cliff_settings.cpp | ca771b8ce01890b59d96f403381028471de5a6d3 | [
"MIT"
] | permissive | lebedyanka/rf | 7427dd5471e75951302e043a511eb40adafc2dd0 | aaedc7c8b7bdf6caf2732bf214db8936fa8dc018 | refs/heads/master | 2023-04-27T19:23:09.086283 | 2021-05-11T15:41:28 | 2021-05-11T15:41:28 | 366,419,878 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,140 | cpp | #include "cliff.h"
namespace prowogene {
namespace modules {
using std::string;
using utils::JsonObject;
static const string kEnabled = "enabled";
static const string kOctaves = "octaves";
static const string kLevels = "levels";
static const string kSeed = "seed";
static const string kGrain = "grain";
void CliffSettings::Deserialize(JsonObject config) {
enabled = config[kEnabled];
octaves = config[kOctaves];
levels = config[kLevels];
seed = config[kSeed];
grain = config[kGrain];
}
JsonObject CliffSettings::Serialize() const {
JsonObject config;
config[kEnabled] = enabled;
config[kOctaves] = octaves;
config[kLevels] = levels;
config[kSeed] = seed;
config[kGrain] = grain;
return config;
}
string CliffSettings::GetName() const {
return kConfigCliff;
}
void CliffSettings::Check() const {
CheckCondition(octaves > 0, "octaves is less than 1");
CheckCondition(levels > 1, "levels is less than 2");
CheckCondition(seed >= 0, "seed is less than 1");
CheckInRange(grain, 0.f, 1.f, "grain");
}
} // namespace modules
} // namespace prowogene
| [
"lebedyanka97@gmail.com"
] | lebedyanka97@gmail.com |
3d268a7edf16a9fa16cd7adb6ea058d80afde752 | 94f31d216037a0ac16c4354d996149275d7d01d4 | /common/contrib/QSsh/inc/sshpacketparser_p.h | d7ed822ea183ce6fce928babd716a0ac514feec9 | [
"MIT"
] | permissive | cbtek/ClockNWork | 5fd62ab61e3b6565e9426ddc928a203384255a9a | 4b23043a8b535059990e4eedb2c0f3a4fb079415 | refs/heads/master | 2020-07-31T23:20:00.668554 | 2017-02-03T17:30:35 | 2017-02-03T17:30:35 | 73,588,090 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,050 | h | /**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2012 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: http://www.qt-project.org/
**
**
** GNU Lesser General Public License Usage
**
** This file may be used under the terms of the GNU Lesser General Public
** License version 2.1 as published by the Free Software Foundation and
** appearing in the file LICENSE.LGPL included in the packaging of this file.
** Please review the following information to ensure the GNU Lesser General
** Public License version 2.1 requirements will be met:
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** Other Usage
**
** Alternatively, this file may be used in accordance with the terms and
** conditions contained in a signed written agreement between you and Nokia.
**
**
**************************************************************************/
#ifndef SSHPACKETPARSER_P_H
#define SSHPACKETPARSER_P_H
#include <botan/inc/botan.h>
#include <QByteArray>
#include <QList>
#include <QString>
namespace QSsh {
namespace Internal {
struct SshNameList
{
SshNameList() : originalLength(0) {}
SshNameList(quint32 originalLength) : originalLength(originalLength) {}
quint32 originalLength;
QList<QByteArray> names;
};
class SshPacketParseException { };
// This class's functions try to read a byte array at a certain offset
// as the respective chunk of data as specified in the SSH RFCs.
// If they succeed, they update the offset, so they can easily
// be called in succession by client code.
// For convenience, some have also versions that don't update the offset,
// so they can be called with rvalues if the new value is not needed.
// If they fail, they throw an SshPacketParseException.
class SshPacketParser
{
public:
static bool asBool(const QByteArray &data, quint32 offset);
static bool asBool(const QByteArray &data, quint32 *offset);
static quint16 asUint16(const QByteArray &data, quint32 offset);
static quint16 asUint16(const QByteArray &data, quint32 *offset);
static quint64 asUint64(const QByteArray &data, quint32 offset);
static quint64 asUint64(const QByteArray &data, quint32 *offset);
static quint32 asUint32(const QByteArray &data, quint32 offset);
static quint32 asUint32(const QByteArray &data, quint32 *offset);
static QByteArray asString(const QByteArray &data, quint32 *offset);
static QString asUserString(const QByteArray &data, quint32 *offset);
static SshNameList asNameList(const QByteArray &data, quint32 *offset);
static Botan::BigInt asBigInt(const QByteArray &data, quint32 *offset);
static QString asUserString(const QByteArray &rawString);
};
} // namespace Internal
} // namespace QSsh
#endif // SSHPACKETPARSER_P_H
| [
"corey.berry@cbtek.net"
] | corey.berry@cbtek.net |
0501927f96666c4dae85cc7a079b7176aad2f81e | a0854ba75301d2ee083ddbde125bceb74774abb5 | /src/leveloso.cpp | cb5b3e70bb3ef3c71a429ffea34f336f05b3a69c | [] | no_license | angelmoro/laberinto | 04edddfeb97f1ca0dedb52d0a7e87c87521633e6 | ead523625be35a0c4479dd5a484a130c6acd677d | HEAD | 2016-08-12T04:58:01.843999 | 2016-04-09T12:33:20 | 2016-04-09T12:33:20 | 55,843,720 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 13,709 | cpp | /*
* leveloso.cpp
*
* Created on: 27/2/2016
* Author: Usuario
*/
#include <stdio.h>
#include <allegro5/allegro.h>
#include <allegro5/allegro_font.h>
#include <allegro5/allegro_ttf.h>
#include <allegro5/allegro_native_dialog.h>
#include <math.h>
#include "level.h"
#include "leveloso.h"
#include "hormiga.h"
#include "comida.h"
#include "veneno.h"
#include "hormiguero.h"
#include "agua.h"
#include "levelgraphic.h"
#include "rana.h"
#include "bolsadinero.h"
#include "records.h"
#include "levelosoconf.h"
#include "tilemap.h"
#include "marca.h"
LevelOso::LevelOso(ActorManager * b,LevelManager * l,
int n, int c, int a, int v, int hv,
int hr, int rt, int bt, int rtd, int btd, TileMap *m):Level(b,l,n)
{
ALLEGRO_PATH *path;
comida = c;
agua = a;
veneno = v;
hormigas_verdes = hv;
hormigas_rojas = hr;
rana_ticks = rt;
rana_ticks_fijados = rt;
bolsa_dinero_ticks = bt;
bolsa_dinero_ticks_fijados = bt;
rana_mov_to_dead = rtd;
bolsa_dinero_mov_to_dead = btd;
mapa = m;
/*
* para crear path relativos y poder distribuir el programa y ejecutarlo
* fuera del IDE
*/
path = al_get_standard_path(ALLEGRO_RESOURCES_PATH);
al_remove_path_component(path,-1);
al_append_path_component(path, "resources");
al_set_path_filename(path, "robinhood.wav");
sonido_fin_nivel = al_load_sample(al_path_cstr(path, '/'));
if(sonido_fin_nivel == NULL)
{
al_show_native_message_box(al_get_current_display(), "Ventana de error",
"error fatal", "Error al cargar resource sonido fin nivel",
NULL, ALLEGRO_MESSAGEBOX_ERROR);
exit(-1);
}
al_set_path_filename(path, "landlucky__game-over.wav");
sonido_game_over = al_load_sample(al_path_cstr(path, '/'));
if(sonido_game_over == NULL)
{
al_show_native_message_box(al_get_current_display(), "Ventana de error",
"error fatal", "Error al cargar resource sonido game over",
NULL, ALLEGRO_MESSAGEBOX_ERROR);
exit(-1);
}
}
LevelOso::~LevelOso()
{
}
void LevelOso::init()
{
}
void LevelOso::iniciar()
{
/*
* establecemos la fase 1
*/
set_estado(INICIALIZADO);
// printf("nivel %d inicializado\n",num_nivel);
/*
* Ticks de esta fase
*/
ticks_inicializado = 250; // 250/70 = 3,57 segundos
/*
* añado al actor manager el nivel que esta activo, este nivel es el que estoy
* activando
*/
am->add(this);
}
void LevelOso::create()
{
int i;
Hormiguero *hormiguero_tmp;
/*
* Creamos la comida
*/
// limite = Game::rnd(0,10);
// limite = 1;
for(i=0; i<comida; i++){
Comida::crear_comida(am);
}
/*
* Creamos el agua
*/
// limite = Game::rnd(0,5);
// limite = 1;
for(i=0; i<agua; i++){
Agua::crear_agua(am);
}
/*
* Creamos el veneno
*/
// limite = Game::rnd(0,1);
// limite = 1;
for(i=0; i<veneno; i++){
Veneno::crear_veneno(am);
}
/*
* Creamos el hormiguero
*/
hormiguero_tmp = Hormiguero::crear_hormiguero(am);
/*
* Creamos hormigas rojas iniciales
*/
// limite = Game::rnd(0,2);
// limite = 1;
for(i=0; i<hormigas_rojas; i++){
Hormiga::crear_hormiga(am,kRedAnt,hormiguero_tmp);
}
/*
* Creamos las hormigas verdes iniciales
*/
// limite = Game::rnd(0,10);
// limite = 1;
for(i=0; i<hormigas_verdes; i++){
Hormiga::crear_hormiga(am,kGreenAnt,hormiguero_tmp);
}
/*
* establecemos estado a creado
*/
set_estado(CREADO);
// printf("nivel %d creado\n",num_nivel);
}
void LevelOso::destroy()
{
list<Actor*>::iterator tmp_iter;
/*
* Eliminamos del actor manager todos los actores que no son validos cuando se
* termina un nivel
*/
for (tmp_iter=am->get_begin_iterator();
tmp_iter!=am->get_end_iterator();
tmp_iter++)
{
switch ((*tmp_iter)->get_team()) {
case TEAM_HORMIGAS_ROJAS:
case TEAM_HORMIGAS_VERDES:
case TEAM_COMIDA:
case TEAM_AGUA:
case TEAM_VENENO:
case TEAM_HORMIGUERO:
// case TEAM_LEVEL: No se deben destruir los actores nivel.
am->del(*tmp_iter);
break;
default:
break;
}
}
/*
* establecemos estado a destruido
*/
set_estado(DESTRUIDO);
// printf("nivel %d destruido\n",num_nivel);
/*
* Ticks de esta fase
*/
ticks_destruido = 250; // 250/70 = 3,57 segundos
}
LevelOso* LevelOso::crear_level(ActorManager *actmgr,LevelManager *levmgr, string nombre,int nivel,
int c,int a,int v,int hv,int hr, int pos_x,int pos_y,
int rt, int bt, int rtd, int btd)
{
ALLEGRO_BITMAP *bmp;
LevelOso *level_oso_tmp;
LevelGraphic *lg;
ALLEGRO_PATH *path;
ALLEGRO_FONT *font;
TileMap *m;
char buffer [256];
/*
* para crear path relativos y poder distribuir el programa y ejecutarlo
* fuera del IDE
*/
path = al_get_standard_path(ALLEGRO_RESOURCES_PATH);
al_remove_path_component(path,-1);
al_append_path_component(path, "resources");
/*
* Creamos el mapa del nivel
*/
sprintf (buffer, "mapa%d.tmx",nivel);
al_set_path_filename(path, buffer);
m = new TileMap(al_path_cstr(path, '/'));
/*
* creamos el nivel
*/
level_oso_tmp = new LevelOso(actmgr,levmgr,nivel,c,a,v,hv,hr,rt,bt,rtd,btd,m);
/*
bmp = al_load_bitmap(al_path_cstr(path, '/'));
if(bmp == NULL)
{
al_show_native_message_box(al_get_current_display(), "Ventana de error",
"error fatal", "Error al cargar resource bitmap",
NULL, ALLEGRO_MESSAGEBOX_ERROR);
exit(-1);
}
*/
lg=new LevelGraphic(level_oso_tmp, m);
al_set_path_filename(path, "comic.ttf");
font = NULL;
font = al_load_ttf_font(al_path_cstr(path, '/'),20,0);
if(font == NULL)
{
al_show_native_message_box(al_get_current_display(), "Ventana de error",
"error fatal", "Error al cargar el font",
NULL, ALLEGRO_MESSAGEBOX_ERROR);
exit(-1);
}
lg->set_font(font);
al_set_path_filename(path, "comic.ttf");
font = NULL;
font = al_load_ttf_font(al_path_cstr(path, '/'),40,0);
if(font == NULL)
{
al_show_native_message_box(al_get_current_display(), "Ventana de error",
"error fatal", "Error al cargar el font",
NULL, ALLEGRO_MESSAGEBOX_ERROR);
exit(-1);
}
lg->set_font_transito(font);
lg->set_title(nombre);
level_oso_tmp->set_actor_graphic(lg);
level_oso_tmp->set_x(pos_x);
level_oso_tmp->set_y(pos_y);
level_oso_tmp->set_is_detected(false); //TDB revisar si el nivel necesita colisionar el bmp que se utilizaba para calcular la colision se ha substituido por el mapa
level_oso_tmp->set_team(TEAM_LEVEL);
level_oso_tmp->set_collision_method(CollisionManager::PP_COLLISION);
al_destroy_path(path);
return level_oso_tmp;
}
void LevelOso::crear_niveles(int niveles,ActorManager *actmgr,LevelManager *levmgr)
{
int i;
LevelOso *level_oso_tmp;
int pos_x,pos_y;
int r_ticks, b_ticks;
int r_mov_to_dead;
int b_mov_to_dead;
LevelOsoConf configuracion;
pos_x = 250;
pos_y = 0;
// float peso_comida,peso_agua,peso_veneno,peso_hormigas_verdes,peso_hormigas_rojas;
// float peso_rana_ticks, peso_bolsa_ticks, peso_rana_to_dead, peso_bolsa_to_dead;
int c,a,v,hr,hv;
/*
* Si se elimna la lectura del fichero de configuracion, se pueden
* establecer los parametros harcoded aqui
*
configuracion.set_peso_comida(1.0);
configuracion.set_peso_agua(1.0);
configuracion.set_peso_veneno(0.3);
configuracion.set_peso_hormigas_verdes(1.5);
configuracion.set_peso_hormigas_rojas(0.5);
configuracion.set_peso_rana_ticks(100.0);
configuracion.set_peso_bolsa_ticks(100.0);
configuracion.set_peso_rana_to_dead(0.5);
configuracion.set_peso_bolsa_to_dead(0.3);
configuracion.set_r_ticks(1000);
configuracion.set_b_ticks(2000);
configuracion.set_r_mov_to_dead(20);
configuracion.set_b_mov_to_dead(10);
configuracion.set_key_pad(false);
*/
/*
* fijamos los ticks base para la rana y la bolsa de dinero, con esto se fija
* el tiempo cada cuanto aparecen 70 ticks es un segundo. El ritmo de ticks podría
* variar en game.
*/
r_ticks = configuracion.get_r_ticks();
b_ticks = configuracion.get_b_ticks();
/*
* Fijamos los saltos antes de desaparecer, esto depende de el nunero de veces que
* se actualiza el estado de los actores. Este ritmo tambien esta en game
*/
r_mov_to_dead = configuracion.get_r_mov_to_dead();
b_mov_to_dead = configuracion.get_b_mov_to_dead();
/*
* Creamos 20 niveles con el numero de comida,agua,veneno,hormiga verde y hormiga roja
* ajustado a su nivel y las apariciones y desapariciones de la rana y la bolsa de dinero
*/
for(i=1; i<=niveles; i++){
c = (int)floor(configuracion.get_peso_comida() * i);
a = (int)floor(configuracion.get_peso_agua() * i);
v = (int)floor(configuracion.get_peso_veneno() * i);
hv = (int)floor(configuracion.get_peso_hormigas_verdes() * i);
hr = (int)floor(configuracion.get_peso_hormigas_rojas() * i);
r_ticks = r_ticks + (int)floor(configuracion.get_peso_rana_ticks() * i);
b_ticks = b_ticks + (int)floor(configuracion.get_peso_bolsa_ticks() * i);
r_mov_to_dead = r_mov_to_dead + (int)floor(configuracion.get_peso_rana_to_dead() * i);
b_mov_to_dead = b_mov_to_dead + (int)floor(configuracion.get_peso_bolsa_to_dead() * i);
// printf("nivel %d, c %d, a %d, v %d, hv %d, hr %d rt %d bt %d rtd %d btd %d\n",
// i,c,a,v,hv,hr,r_ticks,b_ticks,r_mov_to_dead,b_mov_to_dead);
level_oso_tmp = LevelOso::crear_level(actmgr,levmgr,"nivel",i,
c,a,v,hv,hr,pos_x,pos_y,r_ticks,b_ticks,
r_mov_to_dead,b_mov_to_dead);
if (i == niveles) {
level_oso_tmp->set_last_level(TRUE);
} else {
level_oso_tmp->set_last_level(FALSE);
}
levmgr->add(level_oso_tmp);
}
}
void LevelOso::tick()
{
Level * level_tmp;
Level * level_marca_tmp;
Actor actor_tmp;
list<Actor*>::iterator actors_iter_tmp;
Marca *marca_tmp;
int puntuacion;
switch (estado) {
case INICIALIZADO:
ticks_inicializado--;
if (ticks_inicializado == 0) create();
break;
case CREADO:
/*
* Creamos una rana cada 14,28 segundos (1000 ticks/ (70 ticks/seg))
*/
rana_ticks = rana_ticks -1;
if (rana_ticks < 0) {
rana_ticks = rana_ticks_fijados;
Rana::crear_rana(am, rana_mov_to_dead);
}
/*
* Creamos una bolsa de dinero cada 42,85 segundos (1000 ticks/ (70 ticks/seg))
*/
bolsa_dinero_ticks = bolsa_dinero_ticks -1;
if (bolsa_dinero_ticks < 0) {
bolsa_dinero_ticks = bolsa_dinero_ticks_fijados;
BolsaDinero::crear_bolsa_dinero(am,bolsa_dinero_mov_to_dead);
}
/*
* Si todas las hormigas verdes muertas, cambio de nivel
*/
if (Hormiga::num_hormigas_verdes == 0){
level_tmp = le->current();
level_tmp->destroy();
al_play_sample(sonido_fin_nivel, 3.0, 0.0,1.0,ALLEGRO_PLAYMODE_ONCE,NULL);
}
break;
case DESTRUIDO:
ticks_destruido--;
if (ticks_destruido == 0) {
/*
* Desactivamos el nivel y avanzamos al siguiente
* si no es el ultimo
*/
level_tmp = le->next();
level_marca_tmp = level_tmp;
if (!level_tmp->last_level()) {
level_tmp->set_activo(FALSE);
level_tmp = le->current();
if (level_tmp != NULL ) level_tmp->set_activo(TRUE);
} else {
// fin del juego, pedir nombre para almacenar record y mostrar records
al_play_sample(sonido_game_over, 9.0, 0.0,1.0,ALLEGRO_PLAYMODE_ONCE,NULL);
/*
* Buscamos el osohormiguero para obetner la puntuacion
*/
for (actors_iter_tmp=am->get_begin_iterator();
actors_iter_tmp!=am->get_end_iterator();
actors_iter_tmp++)
{
if((*actors_iter_tmp)->get_team()== TEAM_OSO) {
puntuacion = (*actors_iter_tmp)->get_puntuacion();
}
}
/*
* Buscamos los records para añadir una nueva marca
*/
for (actors_iter_tmp=am->get_begin_iterator();
actors_iter_tmp!=am->get_end_iterator();
actors_iter_tmp++)
{
if((*actors_iter_tmp)->get_team()== TEAM_RECORDS) {
(*actors_iter_tmp)->set_estado(CAPTURANDO);
/*
* Creamos una nueva marca y la añadimos a la lista de records.
*/
marca_tmp = new Marca();
marca_tmp->set_nombre(""); //todavia no se el nombre
marca_tmp->set_puntuacion(puntuacion);
marca_tmp->set_level(level_marca_tmp->get_level());
(*actors_iter_tmp)->add(marca_tmp);
}
}
}
}
break;
default:
break;
}
}
void LevelOso::set_activo(bool a)
{
activo = a;
if (activo == TRUE)
{
/*
* Si se activa el nivel notificamos al colision manager
* el colision set de mapa del nivel
*/
// TBD "meta_tiles","colisionable","meta tiles" y "objeto" deberian de ser cadenas parametrizables.
/*
* Registramos el mapa
*/
le->get_game()->collision_manager->registrar_mapa(mapa,
"meta_tiles",
"colisionable",
"objeto",
"meta tiles");
/*
* Creamos un colision set para los objetos "piedra"
*/
le->get_game()->collision_manager->add_colision_set("piedra");
/*
* cramos un clision set para los objetos "agua"
*/
le->get_game()->collision_manager->add_colision_set("agua");
} else
{
/*
* Desregistramos el mapa
*/
le->get_game()->collision_manager->desregistrar_mapa();
}
}
| [
"amoro1@telefonica.net"
] | amoro1@telefonica.net |
8f7fe346591e99e07b1521ac18f23a48fa07129d | 7a3fb6fafb5dff31d998d8db529361d462acca1d | /Games/Tactics/Code/Game/Rendering/Mesh.hpp | cfccf21c6c4101227c588da246b4ab422c9a96e2 | [] | no_license | jholan/Kaleidoscope | 643cc65bdcf43cfac292137f08ba5789396d51dc | 5aa3c91c75d73c8ed3718c031ae449b6199e1d44 | refs/heads/master | 2020-05-23T08:55:00.707693 | 2019-06-26T20:05:08 | 2019-06-26T20:05:08 | 186,697,847 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,701 | hpp | #pragma once
#include <vector>
#include <map>
#include "Engine/Strings/HashedString.hpp"
#include "Engine/XML/XMLUtils.hpp"
#include "Engine/Math/Primitives.hpp"
#include "Engine/Rendering/LowLevel/RenderingEnums.hpp"
class VertexBuffer;
class IndexBuffer;
class VertexLayout;
enum eResourceLoadState;
class SubMeshDescription
{
public:
SubMeshDescription() {};
~SubMeshDescription() {};
public:
ePrimitiveTopology primitiveTopology = PRIMITIVE_TOPOLOGY_TRIANGLES;
uint elementCount = 0;
uint startIndex = 0;
bool isIndexed = false;
};
class SubMesh
{
public:
// Composition
SubMesh();
~SubMesh();
// State
void SetVertices(const void* vertices, uint vertexSizeBytes, uint vertexCount);
void SetIndices(const uint* indices, uint count);
void SetVertexLayout(const VertexLayout* layout);
void SetDescription(const SubMeshDescription& description);
void SetBounds(const AABB& bounds);
// Access
const SubMeshDescription& GetDescription() const;
const VertexBuffer* GetVertexBuffer() const;
const IndexBuffer* GetIndexBuffer() const;
const VertexLayout* GetVertexLayout() const;
const AABB& GetBounds() const;
private:
SubMeshDescription m_description;
VertexBuffer* m_vertexBuffer = nullptr;
IndexBuffer* m_indexBuffer = nullptr;
const VertexLayout* m_vertexLayout = nullptr;
AABB m_bounds;
};
class Mesh
{
public:
// Composition
Mesh();
~Mesh();
void UnloadSubMeshes();
// Name
void SetName(const HashedString& name);
const HashedString& GetName() const;
// Load Location
void SetFileContainingDefinition(const std::string& dbFile);
const std::string& GetFileContainingDefinition() const;
void SetFilepath(const std::string& filepath);
const std::string& GetFilepath() const;
// SubMeshes
void AddSubMesh(SubMesh* submesh);
const SubMesh* GetSubMesh(uint index);
uint GetNumSubMeshes() const;
// LoadState
void SetResourceLoadState(eResourceLoadState state);
eResourceLoadState GetResourceLoadState() const;
public:
// Database
static void LoadDatabaseFile(const std::string& filepath);
static Mesh* CreateMeshFromDatabaseEntry(const XMLEle* entry, const std::string& filepath);
// Access
static bool DoesMeshExist(const HashedString& name);
static const Mesh* Get(const HashedString& name);
static const Mesh* GetBlocking(const HashedString& name);
// Async Loading Management
static void EndFrame();
private:
HashedString m_name;
std::string m_fileContainingDefinition;
std::string m_filepath;
std::vector<SubMesh*> m_subMeshes;
ulonglong m_lastFrameUsed = 0;
eResourceLoadState m_loadState;
private:
static std::map<HashedString, Mesh*> s_meshes;
static uint s_lastFrameLoaded;
};
| [
"jholan@smu.edu"
] | jholan@smu.edu |
7e2fd5fe7b4c53610b8cdcf9db027abce6755ccb | fac63a64d8c4e3c41c8eda6c651ae0da256c8dde | /Shadow/Shadow/main.cpp | 1251817df28f9952ac59a8dfea0fc2476a3bb760 | [] | no_license | SweeneyChoi/ShadowMapping | 129965677bffa9b67e66636c3c3f6ac642d59ce7 | 53367892b9b9cfdd84a243a5e6b5ab69dfa10f7c | refs/heads/master | 2021-04-06T12:29:44.060274 | 2018-03-10T10:30:46 | 2018-03-10T10:30:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,779 | cpp | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#include "stb_image.h"
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include "Shader.h"
#include "Camera.h"
#include "Model.h"
#include <iostream>
void framebuffer_size_callback(GLFWwindow* window, int width, int height);
void mouse_callback(GLFWwindow* window, double xpos, double ypos);
void scroll_callback(GLFWwindow* window, double xoffset, double yoffset);
void processInput(GLFWwindow *window);
unsigned int loadTexture(const char *path);
void RenderScene(Shader &shader);
void RenderQuad();
void RenderCube();
const unsigned int SCR_WIDTH = 1280;
const unsigned int SCR_HEIGHT = 720;
Camera camera(glm::vec3(0.0f, 0.0f, 3.0f));
float lastX = (float)SCR_WIDTH / 2.0;
float lastY = (float)SCR_HEIGHT / 2.0;
bool firstMouse = true;
float deltaTime = 0.0f;
float lastFrame = 0.0f;
unsigned int planeVAO;
int main()
{
glfwInit();
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 4);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
#ifdef __APPLE__
glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);
#endif
GLFWwindow* window = glfwCreateWindow(SCR_WIDTH, SCR_HEIGHT, "ShadowMap", NULL, NULL);
if (window == NULL)
{
std::cout << "Failed to create GLFW window" << std::endl;
glfwTerminate();
return -1;
}
glfwMakeContextCurrent(window);
glfwSetFramebufferSizeCallback(window, framebuffer_size_callback);
glfwSetCursorPosCallback(window, mouse_callback);
glfwSetScrollCallback(window, scroll_callback);
glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_DISABLED);
if (!gladLoadGLLoader((GLADloadproc)glfwGetProcAddress))
{
std::cout << "Failed to initialize GLAD" << std::endl;
return -1;
}
glEnable(GL_DEPTH_TEST);
glEnable(GL_CULL_FACE);
Shader simpleDepthShader("shadow_mapping_depth_vShader.glsl", "shadow_mapping_depth_fShader.glsl");
Shader debugQuadShader("debug_quad_vShader.glsl", "debug_quad_fShader.glsl");
Shader shadowShader("shadow_map_vShader.glsl", "shadow_map_fShader.glsl");
shadowShader.use();
shadowShader.setInt("diffuseTexture", 0);
shadowShader.setInt("shadowMap", 1);
float planeVertices[] = {
25.0f, -0.5f, 25.0f, 0.0f, 1.0f, 0.0f, 25.0f, 0.0f,
-25.0f, -0.5f, -25.0f, 0.0f, 1.0f, 0.0f, 0.0f, 25.0f,
-25.0f, -0.5f, 25.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f,
25.0f, -0.5f, 25.0f, 0.0f, 1.0f, 0.0f, 25.0f, 0.0f,
25.0f, -0.5f, -25.0f, 0.0f, 1.0f, 0.0f, 25.0f, 25.0f,
-25.0f, -0.5f, -25.0f, 0.0f, 1.0f, 0.0f, 0.0f, 25.0f
};
unsigned int planeVBO;
glGenVertexArrays(1, &planeVAO);
glGenBuffers(1, &planeVBO);
glBindVertexArray(planeVAO);
glBindBuffer(GL_ARRAY_BUFFER, planeVBO);
glBufferData(GL_ARRAY_BUFFER, sizeof(planeVertices), &planeVertices, GL_STATIC_DRAW);
glEnableVertexAttribArray(0);
glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 8 * sizeof(float), (void*)0);
glEnableVertexAttribArray(1);
glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 8 * sizeof(float), (void*)(3 * sizeof(float)));
glEnableVertexAttribArray(2);
glVertexAttribPointer(2, 2, GL_FLOAT, GL_FALSE, 8 * sizeof(float), (void*)(6 * sizeof(float)));
glBindVertexArray(0);
glm::vec3 lightPos(-2.0f, 4.0f, -1.0f);
unsigned int woodTexture = loadTexture("wood.png");
unsigned int depthMapFBO;
glGenFramebuffers(1, &depthMapFBO);
const unsigned int SHADOW_WIDTH = 1024, SHADOW_HEIGHT = 1024;
unsigned int depthMap;
glGenTextures(1, &depthMap);
glBindTexture(GL_TEXTURE_2D, depthMap);
glTexImage2D(GL_TEXTURE_2D, 0, GL_DEPTH_COMPONENT, SHADOW_WIDTH, SHADOW_HEIGHT, 0, GL_DEPTH_COMPONENT, GL_FLOAT, NULL);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_BORDER);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_BORDER);
float borderColor[] = { 1.0, 1.0, 1.0, 1.0 };
glTexParameterfv(GL_TEXTURE_2D, GL_TEXTURE_BORDER_COLOR, borderColor);
glBindFramebuffer(GL_FRAMEBUFFER, depthMapFBO);
glFramebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, depthMap, 0);
glDrawBuffer(GL_NONE);
glReadBuffer(GL_NONE);
glBindFramebuffer(GL_FRAMEBUFFER, 0);
while (!glfwWindowShouldClose(window))
{
float currentFrame = glfwGetTime();
deltaTime = currentFrame - lastFrame;
lastFrame = currentFrame;
processInput(window);
//lightPos.x = sin(glfwGetTime()) * 3.0f;
//lightPos.z = cos(glfwGetTime()) * 2.0f;
//lightPos.y = 5.0 + cos(glfwGetTime()) * 1.0f;
glm::mat4 lightProjection, lightView;
glm::mat4 lightSpaceMatrix;
float near_plane = 1.0f, far_plane = 7.5f;
lightProjection = glm::ortho(-10.0f, 10.0f, -10.0f, 10.0f, near_plane, far_plane);
lightView = glm::lookAt(lightPos, glm::vec3(0.0f), glm::vec3(0.0, 1.0, 0.0));
lightSpaceMatrix = lightProjection * lightView;
simpleDepthShader.use();
simpleDepthShader.setMat4("lightSpaceMatrix", lightSpaceMatrix);
glClearColor(0.1f, 0.1f, 0.1f, 1.0f);
glViewport(0, 0, SHADOW_WIDTH, SHADOW_HEIGHT);
glBindFramebuffer(GL_FRAMEBUFFER, depthMapFBO);
glClear(GL_DEPTH_BUFFER_BIT);
RenderScene(simpleDepthShader);
glBindFramebuffer(GL_FRAMEBUFFER, 0);
glViewport(0, 0, SCR_WIDTH, SCR_HEIGHT);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
shadowShader.use();
glm::mat4 projection = glm::perspective(camera.Zoom, (float)SCR_WIDTH / (float)SCR_HEIGHT, 0.1f, 100.0f);
glm::mat4 view = camera.GetViewMatrix();
shadowShader.setMat4("projection", projection);
shadowShader.setMat4("view", view);
shadowShader.setVec3("lightPos", lightPos);
shadowShader.setVec3("viewPos", camera.Position);
shadowShader.setMat4("lightSpaceMatrix", lightSpaceMatrix);
glActiveTexture(GL_TEXTURE0);
glBindTexture(GL_TEXTURE_2D, woodTexture);
glActiveTexture(GL_TEXTURE1);
glBindTexture(GL_TEXTURE_2D, depthMap);
RenderScene(shadowShader);
debugQuadShader.use();
glActiveTexture(GL_TEXTURE0);
glBindTexture(GL_TEXTURE_2D, depthMap);
//RenderQuad();
glfwSwapBuffers(window);
glfwPollEvents();
}
glfwTerminate();
return 0;
}
void processInput(GLFWwindow *window)
{
if (glfwGetKey(window, GLFW_KEY_ESCAPE) == GLFW_PRESS)
glfwSetWindowShouldClose(window, true);
if (glfwGetKey(window, GLFW_KEY_W) == GLFW_PRESS)
camera.ProcessKeyboard(FORWARD, deltaTime);
if (glfwGetKey(window, GLFW_KEY_S) == GLFW_PRESS)
camera.ProcessKeyboard(BACKWARD, deltaTime);
if (glfwGetKey(window, GLFW_KEY_A) == GLFW_PRESS)
camera.ProcessKeyboard(LEFT, deltaTime);
if (glfwGetKey(window, GLFW_KEY_D) == GLFW_PRESS)
camera.ProcessKeyboard(RIGHT, deltaTime);
}
void framebuffer_size_callback(GLFWwindow* window, int width, int height)
{
glViewport(0, 0, width, height);
}
void mouse_callback(GLFWwindow* window, double xpos, double ypos)
{
if (firstMouse)
{
lastX = xpos;
lastY = ypos;
firstMouse = false;
}
float xoffset = xpos - lastX;
float yoffset = lastY - ypos;
lastX = xpos;
lastY = ypos;
camera.ProcessMouseMovement(xoffset, yoffset);
}
void scroll_callback(GLFWwindow* window, double xoffset, double yoffset)
{
camera.ProcessMouseScroll(yoffset);
}
unsigned int loadTexture(char const * path)
{
unsigned int textureID;
glGenTextures(1, &textureID);
int width, height, nrComponents;
unsigned char *data = stbi_load(path, &width, &height, &nrComponents, 0);
if (data)
{
GLenum format;
if (nrComponents == 1)
format = GL_RED;
else if (nrComponents == 3)
format = GL_RGB;
else if (nrComponents == 4)
format = GL_RGBA;
glBindTexture(GL_TEXTURE_2D, textureID);
glTexImage2D(GL_TEXTURE_2D, 0, format, width, height, 0, format, GL_UNSIGNED_BYTE, data);
glGenerateMipmap(GL_TEXTURE_2D);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
stbi_image_free(data);
}
else
{
std::cout << "Texture failed to load at path: " << path << std::endl;
stbi_image_free(data);
}
return textureID;
}
void RenderScene(Shader &shader)
{
glm::mat4 model;
shader.setMat4("model", model);
glBindVertexArray(planeVAO);
glDrawArrays(GL_TRIANGLES, 0, 6);
glBindVertexArray(0);
model = glm::mat4();
model = glm::translate(model, glm::vec3(0.0f, 1.5f, 0.0));
shader.setMat4("model", model);
RenderCube();
model = glm::mat4();
model = glm::translate(model, glm::vec3(2.0f, 0.0f, 1.0));
shader.setMat4("model", model);
RenderCube();
model = glm::mat4();
model = glm::translate(model, glm::vec3(-1.0f, 0.0f, 2.0));
model = glm::rotate(model, 60.0f, glm::normalize(glm::vec3(1.0, 0.0, 1.0)));
model = glm::scale(model, glm::vec3(0.5));
shader.setMat4("model", model);
RenderCube();
}
unsigned int quadVAO = 0;
unsigned int quadVBO = 0;
void RenderQuad()
{
if (quadVAO == 0)
{
float quadVertices[] = {
-1.0f, 1.0f, 0.0f, 0.0f, 1.0f,
-1.0f, -1.0f, 0.0f, 0.0f, 0.0f,
1.0f, 1.0f, 0.0f, 1.0f, 1.0f,
1.0f, -1.0f, 0.0f, 1.0f, 0.0f,
};
glGenVertexArrays(1, &quadVAO);
glGenBuffers(1, &quadVBO);
glBindVertexArray(quadVAO);
glBindBuffer(GL_ARRAY_BUFFER, quadVBO);
glBufferData(GL_ARRAY_BUFFER, sizeof(quadVertices), &quadVertices, GL_STATIC_DRAW);
glEnableVertexAttribArray(0);
glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 5 * sizeof(float), (void*)0);
glEnableVertexAttribArray(1);
glVertexAttribPointer(1, 2, GL_FLOAT, GL_FALSE, 5 * sizeof(float), (void*)(3 * sizeof(float)));
}
glBindVertexArray(quadVAO);
glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);
glBindVertexArray(0);
}
unsigned int cubeVAO = 0;
unsigned int cubeVBO = 0;
void RenderCube()
{
if (cubeVAO == 0)
{
float vertices[] = {
-0.5f, -0.5f, -0.5f, 0.0f, 0.0f, -1.0f, 0.0f, 0.0f,
0.5f, 0.5f, -0.5f, 0.0f, 0.0f, -1.0f, 1.0f, 1.0f,
0.5f, -0.5f, -0.5f, 0.0f, 0.0f, -1.0f, 1.0f, 0.0f,
0.5f, 0.5f, -0.5f, 0.0f, 0.0f, -1.0f, 1.0f, 1.0f,
-0.5f, -0.5f, -0.5f, 0.0f, 0.0f, -1.0f, 0.0f, 0.0f,
-0.5f, 0.5f, -0.5f, 0.0f, 0.0f, -1.0f, 0.0f, 1.0f,
-0.5f, -0.5f, 0.5f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f,
0.5f, -0.5f, 0.5f, 0.0f, 0.0f, 1.0f, 1.0f, 0.0f,
0.5f, 0.5f, 0.5f, 0.0f, 0.0f, 1.0f, 1.0f, 1.0f,
0.5f, 0.5f, 0.5f, 0.0f, 0.0f, 1.0f, 1.0f, 1.0f,
-0.5f, 0.5f, 0.5f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f,
-0.5f, -0.5f, 0.5f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f,
-0.5f, 0.5f, 0.5f, -1.0f, 0.0f, 0.0f, 1.0f, 0.0f,
-0.5f, 0.5f, -0.5f, -1.0f, 0.0f, 0.0f, 1.0f, 1.0f,
-0.5f, -0.5f, -0.5f, -1.0f, 0.0f, 0.0f, 0.0f, 1.0f,
-0.5f, -0.5f, -0.5f, -1.0f, 0.0f, 0.0f, 0.0f, 1.0f,
-0.5f, -0.5f, 0.5f, -1.0f, 0.0f, 0.0f, 0.0f, 0.0f,
-0.5f, 0.5f, 0.5f, -1.0f, 0.0f, 0.0f, 1.0f, 0.0f,
// Right face
0.5f, 0.5f, 0.5f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f,
0.5f, -0.5f, -0.5f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f,
0.5f, 0.5f, -0.5f, 1.0f, 0.0f, 0.0f, 1.0f, 1.0f,
0.5f, -0.5f, -0.5f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f,
0.5f, 0.5f, 0.5f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f,
0.5f, -0.5f, 0.5f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f,
// Bottom face
-0.5f, -0.5f, -0.5f, 0.0f, -1.0f, 0.0f, 0.0f, 1.0f,
0.5f, -0.5f, -0.5f, 0.0f, -1.0f, 0.0f, 1.0f, 1.0f,
0.5f, -0.5f, 0.5f, 0.0f, -1.0f, 0.0f, 1.0f, 0.0f,
0.5f, -0.5f, 0.5f, 0.0f, -1.0f, 0.0f, 1.0f, 0.0f,
-0.5f, -0.5f, 0.5f, 0.0f, -1.0f, 0.0f, 0.0f, 0.0f,
-0.5f, -0.5f, -0.5f, 0.0f, -1.0f, 0.0f, 0.0f, 1.0f,
// Top face
-0.5f, 0.5f, -0.5f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f,
0.5f, 0.5f, 0.5f, 0.0f, 1.0f, 0.0f, 1.0f, 0.0f,
0.5f, 0.5f, -0.5f, 0.0f, 1.0f, 0.0f, 1.0f, 1.0f,
0.5f, 0.5f, 0.5f, 0.0f, 1.0f, 0.0f, 1.0f, 0.0f,
-0.5f, 0.5f, -0.5f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f,
-0.5f, 0.5f, 0.5f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f
};
glGenVertexArrays(1, &cubeVAO);
glGenBuffers(1, &cubeVBO);
glBindBuffer(GL_ARRAY_BUFFER, cubeVBO);
glBufferData(GL_ARRAY_BUFFER, sizeof(vertices), vertices, GL_STATIC_DRAW);
glBindVertexArray(cubeVAO);
glEnableVertexAttribArray(0);
glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 8 * sizeof(float), (void*)0);
glEnableVertexAttribArray(1);
glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 8 * sizeof(float), (void*)(3 * sizeof(float)));
glEnableVertexAttribArray(2);
glVertexAttribPointer(2, 2, GL_FLOAT, GL_FALSE, 8 * sizeof(float), (void*)(6 * sizeof(float)));
glBindBuffer(GL_ARRAY_BUFFER, 0);
glBindVertexArray(0);
}
glBindVertexArray(cubeVAO);
glDrawArrays(GL_TRIANGLES, 0, 36);
glBindVertexArray(0);
}
| [
"caitianxin001@163.com"
] | caitianxin001@163.com |
dd0db5f114f1c6942d2ac91d2e139d8db02c090a | d10e040d95efb72524fc2a093b3f514070ef54c5 | /Q1/main.cpp | c54996d88fd55de62fca425819cc94ae682ae85a | [] | no_license | lygiaagueda/Roteiro_4 | aa217e7e6154514c91a38307dc1745ed8d91960f | e7c906dac263047ca9d849ec2906683c4528ead3 | refs/heads/master | 2020-03-16T17:25:53.783881 | 2018-05-10T03:12:34 | 2018-05-10T03:12:34 | 132,831,946 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 514 | cpp | #include <iostream>
#include "restaurante_caseiro.h"
#include "mesa_de_restaurante.h"
#include "pedido.h"
using namespace std;
int main() {
Pedido pedido1 = Pedido(1, 1, 10.0, "PF com duas opcoes de carne");
Pedido pedido2 = Pedido(2, 2, 4.0, "Suco de laranja");
MesaDeRestaurante mesa = MesaDeRestaurante(pedido1, 1);
MesaDeRestaurante mesa2 = MesaDeRestaurante(pedido1, 2);
mesa2.adicionarAoPedido(pedido2);
cout << "Total mesa1: " << mesa.calculaTotal() << endl;
return 0;
}
| [
"luanmegax.ll@gmail.com"
] | luanmegax.ll@gmail.com |
f06c7946b8ece14ad3cd6a4226c2a1f669fc46cf | b136d3337b25b08bef4d60582e10fe14a24daa57 | /src/model/cpu/SignedMorsel.h | ef8169585aa7f8b0dc5ecee4ada7876c68a33ca6 | [] | no_license | jcantrell/cpusim | f5f61f52d5a35c9cd7f21a50c9986b854f280d84 | 619a3fe0f30c7eb8acc78b35bb47e50bd14b7fff | refs/heads/master | 2023-03-27T08:34:06.519382 | 2020-04-20T05:52:10 | 2020-04-20T05:52:10 | 351,300,683 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,581 | h | #ifndef SIGNEDMORSEL_H
#define SIGNEDMORSEL_H
#include <boost/dynamic_bitset.hpp>
#include <boost/functional/hash.hpp>
#include <iostream>
#include "UnsignedMorsel.h"
using namespace std;
using namespace boost;
class UnsignedMorsel;
class SignedMorsel
{
private:
UnsignedMorsel um;
friend class UnsignedMorsel;
public:
SignedMorsel() : um(0ul) {}
size_t count();
SignedMorsel(dynamic_bitset<> in);
SignedMorsel(unsigned long long int in);
SignedMorsel(const UnsignedMorsel in);
SignedMorsel operator+(const SignedMorsel& other) ;
SignedMorsel operator+(int rhs);
SignedMorsel operator-(const SignedMorsel& other);
friend SignedMorsel operator-(int lhsInt, const SignedMorsel& other);
SignedMorsel operator-=(const SignedMorsel& other);
SignedMorsel& operator++(int);
SignedMorsel& operator=(unsigned long long int in);
SignedMorsel& operator=(const SignedMorsel& other);
string asString() const ;
friend std::ostream& operator<<( std::ostream& stream, const SignedMorsel& addr ) ;
bool operator<(const SignedMorsel other) const;
bool operator<(int other);
bool operator<=(const SignedMorsel& other);
bool operator<=(int other);
friend bool operator<=(int lhs, const SignedMorsel& rhs);
bool operator>(int other);
friend bool operator>(int lhs, SignedMorsel rhs);
bool operator>(SignedMorsel other);
bool operator>=(const SignedMorsel& other);
SignedMorsel operator/(const SignedMorsel& other);
SignedMorsel operator%(const SignedMorsel& other);
unsigned int size() const;
bool operator==(SignedMorsel other) const ;
bool operator==(int other) const ;
unsigned int asInt() const;
SignedMorsel operator&(const SignedMorsel& other);
SignedMorsel operator&(int otherInt);
SignedMorsel operator|(const SignedMorsel& other);
SignedMorsel operator|=(const SignedMorsel& other);
SignedMorsel operator~();
SignedMorsel operator-();
SignedMorsel operator^(const SignedMorsel& other) const;
SignedMorsel operator<<(const SignedMorsel& other);
SignedMorsel operator<<(int other);
SignedMorsel pb(int other);
SignedMorsel operator>>(int other);
SignedMorsel operator>>(const SignedMorsel& other);
SignedMorsel operator*(const SignedMorsel& other);
friend SignedMorsel operator*(int lhs, const SignedMorsel& other);
SignedMorsel& operator<<=(uint64_t in);
bool operator!=(const SignedMorsel& other);
bool operator!=(unsigned long long int in);
float asFloat() const;
unsigned char asChar();
SignedMorsel& resize(unsigned int newsize);
UnsignedMorsel asUnsignedMorsel();
};
#endif
| [
"cantrel2@pdx.edu"
] | cantrel2@pdx.edu |
04e0f357c4185b13cab03f81baa283d46702ab88 | 347ec1a55e81d0c793554cb297d10a3d01184705 | /Mesh.cpp | 6f0a43bb99d78623d7bd4bcb201e5f8e4d67db6f | [] | no_license | hobgreenson/electrophysiology-stimulus | e36a303d0d03573f170f8ef629ee6258ed68b69c | 2fcae6c3fe0d93fa7a5a46d94d7a949235ede23e | refs/heads/master | 2020-05-27T09:38:36.259452 | 2015-08-21T15:09:50 | 2015-08-21T15:09:50 | 30,271,596 | 1 | 0 | null | 2015-08-21T15:09:50 | 2015-02-04T00:02:25 | C++ | UTF-8 | C++ | false | false | 11,653 | cpp | #include "Mesh.h"
Mesh::Mesh(const char* vs_path, const char* fs_path)
: vertex_shader_path_(vs_path),
fragment_shader_path_(fs_path) {
// set transform matrix to identity
GLfloat matrix[16] = {
1.0, 0.0, 0.0, 0.0,
0.0, 1.0, 0.0, 0.0,
0.0, 0.0, 1.0, 0.0,
0.0, 0.0, 0.0, 1.0
};
for (int i = 0; i < 16; ++i) {
transform_matrix_[i] = matrix[i];
}
}
Mesh::~Mesh() {
free(vertices_);
free(indices_);
}
/*********** Color ********************************/
void Mesh::color(float R, float G, float B, float A) {
GLubyte color[4];
color[0] = R;
color[1] = G;
color[2] = B;
color[3] = A;
for (int i = 0; i < num_vertices_; ++i) {
vertices_[i].color[0] = color[0];
vertices_[i].color[1] = color[1];
vertices_[i].color[2] = color[2];
vertices_[i].color[3] = color[3];
}
}
/******** Simple spatial transforms *******************************/
void Mesh::translateX(double dx) {
transform_matrix_[12] += dx;
}
void Mesh::translateXmod(double dx, double n) {
transform_matrix_[12] += dx;
if(transform_matrix_[12] > n) {
transform_matrix_[12] -= n;
}
if(transform_matrix_[12] < -n) {
transform_matrix_[12] += n;
}
}
void Mesh::translateY(double dy) {
transform_matrix_[13] += dy;
}
void Mesh::translateYmod(double dy, double n) {
transform_matrix_[13] += dy;
if(transform_matrix_[13] > n) {
transform_matrix_[13] -= n;
}
if(transform_matrix_[13] < -n) {
transform_matrix_[13] += n;
}
}
void Mesh::translateZ(double dz) {
transform_matrix_[14] += dz;
}
void Mesh::centerXY(double x, double y) {
transform_matrix_[12] = x;
transform_matrix_[13] = y;
}
void Mesh::scaleX(double da) {
transform_matrix_[0] *= da;
}
void Mesh::scaleY(double da) {
transform_matrix_[5] *= da;
}
void Mesh::scaleXY(double da) {
scaleX(da);
scaleY(da);
}
void Mesh::resetScale() {
transform_matrix_[0] = 1.0;
transform_matrix_[5] = 1.0;
}
/********* RECTANGLE ********************************/
void Mesh::rect(float lower_x, float lower_y,
float upper_x, float upper_y) {
makeVerticesRect(lower_x, lower_y,
upper_x, upper_y);
makeIndicesRect();
}
void Mesh::makeVerticesRect(float lower_x, float lower_y,
float upper_x, float upper_y) {
num_vertices_ = 4;
vertices_ = (Vertex2D*) malloc(num_vertices_ * sizeof(Vertex2D));
vertices_[0].position[0] = lower_x;
vertices_[0].position[1] = lower_y;
vertices_[1].position[0] = upper_x;
vertices_[1].position[1] = lower_y;
vertices_[2].position[0] = upper_x;
vertices_[2].position[1] = upper_y;
vertices_[3].position[0] = lower_x;
vertices_[3].position[1] = upper_y;
}
void Mesh::makeIndicesRect() {
num_indices_ = 6;
indices_ = (GLushort*) malloc(num_indices_ * sizeof(GLushort));
// first triangle
indices_[0] = 0;
indices_[1] = 1;
indices_[2] = 2;
// second triangle
indices_[3] = 0;
indices_[4] = 2;
indices_[5] = 3;
}
/********* CIRCLE ********************************/
void Mesh::circle(float radius, float cx, float cy) {
makeVerticesCircle(radius, cx, cy);
makeIndicesCircle();
}
void Mesh::makeVerticesCircle(float radius, float cx, float cy) {
/* by default we make 10 degree steps and
this makes a fairly hi-res circle.
*/
GLfloat da = 10.0;
num_vertices_ = 2 + (int)(360 / da);
vertices_ = (Vertex2D*) malloc(num_vertices_ * sizeof(Vertex2D));
// first vertex is at the origin
vertices_[0].position[0] = 0.0;
vertices_[0].position[1] = 0.0;
GLfloat x, y;
for (int i = 0; i < num_vertices_; ++i) {
x = cx + radius * cos(i * M_PI * da / 180.0);
y = cy + radius * sin(i * M_PI * da / 180.0);
vertices_[i].position[0] = x;
vertices_[i].position[1] = y;
}
}
void Mesh::makeIndicesCircle() {
num_indices_ = 3 * (num_vertices_ - 1);
indices_ = (GLushort*) malloc(num_indices_ * sizeof(GLushort));
int j = 1;
for (int i = 0; i < num_indices_ - 1; i += 3) {
indices_[i] = 0;
indices_[i + 1] = j;
indices_[i + 2] = (j + 1) % num_vertices_;
j++;
}
}
/******************** VERTICAL GRATING ****************************/
void Mesh::rotatingGrating(int periods) {
makeRotatingGratingVertices(periods);
makeRotatingGratingIndices(periods);
}
void Mesh::linearGrating(int periods) {
makeLinearGratingVertices(periods);
makeLinearGratingIndices(periods);
}
void Mesh::makeLinearGratingVertices(int periods) {
/* this is a variation on the function "makeVertices()"
that allows for simulation of a linear grating presented
below the fish. The real magic happens in the vertex shader.
*/
GLubyte white[4] = {0, 0, 150, 1};
GLubyte black[4] = {0, 0, 0, 1};
GLubyte* color;
int num_squares = 3 * 2 * periods;
num_vertices_ = 2 * 4 * num_squares;
vertices_ = (Vertex2D*) malloc(num_vertices_ * sizeof(Vertex2D));
float w_step;
int N;
if (periods == 0) {
w_step = 6;
N = 1;
} else {
w_step = 1.0 / (float)periods;
N = 3 * 2 * periods;
}
int vi = 0;
for (int i = 0; i <= N; ++i) {
if (i == 0 || i == N) {
vertices_[vi + 0].position[0] = -3 + i * w_step;
vertices_[vi + 0].position[1] = -1;
vertices_[vi + 1].position[0] = -3 + i * w_step;
vertices_[vi + 1].position[1] = 1;
if (periods == 0) {
color = white;
} else {
color = (i == 0) ? white : black;
}
for (int ii = 0; ii < 4; ++ii) {
vertices_[vi + 0].color[ii] = color[ii];
}
for (int ii = 0; ii < 4; ++ii) {
vertices_[vi + 1].color[ii] = color[ii];
}
vi += 2;
} else {
for (int ii = 0; ii < 4; ++ii) {
vertices_[vi + ii].position[0] = -3 + i * w_step;
}
vertices_[vi + 0].position[1] = -1;
vertices_[vi + 1].position[1] = 1;
vertices_[vi + 2].position[1] = -1;
vertices_[vi + 3].position[1] = 1;
color = i % 2 ? white : black;
for (int ii = 0; ii < 4; ++ii) {
vertices_[vi + 0].color[ii] = color[ii];
}
for (int ii = 0; ii < 4; ++ii) {
vertices_[vi + 1].color[ii] = color[ii];
}
color = i % 2 ? black : white;
for (int ii = 0; ii < 4; ++ii) {
vertices_[vi + 2].color[ii] = color[ii];
}
for (int ii = 0; ii < 4; ++ii) {
vertices_[vi + 3].color[ii] = color[ii];
}
vi += 4;
}
}
int ii = vi - 1, jj = vi;
Vertex2D my_v;
while (ii >= 0) {
my_v = vertices_[ii--];
my_v.position[1] *= 2;
vertices_[jj++] = my_v;
}
}
void Mesh::makeRotatingGratingVertices(int periods) {
// each stripe of the grating will have color black or white
GLubyte white[4] = {0, 0, 150, 1};
GLubyte black[4] = {0, 0, 0/*100*/, 1};
GLubyte* color;
int num_squares = 3 * 2 * periods;
num_vertices_ = 4 * num_squares;
// allocate an array of vertex structs
vertices_ = (Vertex2D*) malloc(num_vertices_ * sizeof(Vertex2D));
// set step size along x-axis
float x_step;
int N;
if (periods == 0) {
x_step = 6;
N = 1;
} else {
x_step = 1.0 / (float)periods;
N = 3 * 2 * periods;
}
int vi = 0;
for (int i = 0; i <= N; ++i) {
if (i == 0 || i == N) {
vertices_[vi + 0].position[0] = -3 + i * x_step;
vertices_[vi + 0].position[1] = -1;
vertices_[vi + 1].position[0] = -3 + i * x_step;
vertices_[vi + 1].position[1] = 1;
if(periods == 0) {
color = white;
} else {
color = (i == 0) ? white : black;
}
for (int ii = 0; ii < 4; ++ii) {
vertices_[vi + 0].color[ii] = color[ii];
}
for (int ii = 0; ii < 4; ++ii) {
vertices_[vi + 0].color[ii] = color[ii];
}
vi += 2;
} else {
for (int ii = 0; ii < 4; ++ii) {
vertices_[vi + ii].position[0] = -3 + i * x_step;
}
vertices_[vi + 0].position[1] = -1;
vertices_[vi + 1].position[1] = 1;
vertices_[vi + 2].position[1] = -1;
vertices_[vi + 3].position[1] = 1;
color = (i % 2) ? white : black;
for (int ii = 0; ii < 4; ++ii) {
vertices_[vi + 0].color[ii] = color[ii];
}
for (int ii = 0; ii < 4; ++ii) {
vertices_[vi + 1].color[ii] = color[ii];
}
color = (i % 2) ? black : white;
for (int ii = 0; ii < 4; ++ii) {
vertices_[vi + 2].color[ii] = color[ii];
}
for (int ii = 0; ii < 4; ++ii) {
vertices_[vi + 3].color[ii] = color[ii];
}
vi += 4;
}
}
}
void Mesh::makeRotatingGratingIndices(int periods) {
const int vertices_per_rectangle = 4;
const int indices_per_rectangle = 6;
int num_rects = indices_per_rectangle * periods;
num_indices_ = indices_per_rectangle * num_rects;
indices_ = (GLushort*) malloc(num_indices_ * sizeof(GLushort));
int vi = 0, ii = 0, N;
N = (periods > 0) ? indices_per_rectangle * periods : 1;
for (int i = 0; i < N; ++i) {
indices_[ii + 0] = vi;
indices_[ii + 1] = vi + 2;
indices_[ii + 2] = vi + 3;
indices_[ii + 3] = vi;
indices_[ii + 4] = vi + 3;
indices_[ii + 5] = vi + 1;
vi += vertices_per_rectangle;
ii += indices_per_rectangle;
}
}
void Mesh::makeLinearGratingIndices(int periods) {
const int vertices_per_rectangle = 4;
const int indices_per_rectangle = 6;
int num_squares = indices_per_rectangle * periods;
num_indices_ = 2 * indices_per_rectangle * num_squares;
indices_ = (GLushort*) malloc(num_indices_ * sizeof(GLushort));
int vi = 0, ii = 0, N;
N = (periods > 0) ? indices_per_rectangle * periods : 1;
for (int i = 0; i < N; ++i) {
indices_[ii + 0] = vi;
indices_[ii + 1] = vi + 2;
indices_[ii + 2] = vi + 3;
indices_[ii + 3] = vi;
indices_[ii + 4] = vi + 3;
indices_[ii + 5] = vi + 1;
vi += vertices_per_rectangle;
ii += indices_per_rectangle;
}
for (int i = N; i < 2 * N; ++i) {
indices_[ii + 0] = vi;
indices_[ii + 1] = vi + 3;
indices_[ii + 2] = vi + 2;
indices_[ii + 3] = vi;
indices_[ii + 4] = vi + 1;
indices_[ii + 5] = vi + 3;
vi += vertices_per_rectangle;
ii += indices_per_rectangle;
}
}
| [
"m.hobson.green@gmail.com"
] | m.hobson.green@gmail.com |
0cba6e9e4e6cfacbc0be786a282f60caf1f9ba16 | 3b9b4049a8e7d38b49e07bb752780b2f1d792851 | /src/third_party/WebKit/Source/core/html/HTMLDetailsElement.cpp | bc329ff6f68854d3a218511215cc37f15f272061 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-3-Clause",
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft"
] | permissive | webosce/chromium53 | f8e745e91363586aee9620c609aacf15b3261540 | 9171447efcf0bb393d41d1dc877c7c13c46d8e38 | refs/heads/webosce | 2020-03-26T23:08:14.416858 | 2018-08-23T08:35:17 | 2018-09-20T14:25:18 | 145,513,343 | 0 | 2 | Apache-2.0 | 2019-08-21T22:44:55 | 2018-08-21T05:52:31 | null | UTF-8 | C++ | false | false | 6,014 | cpp | /*
* Copyright (C) 2010, 2011 Nokia Corporation and/or its subsidiary(-ies)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 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
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public License
* along with this library; see the file COPYING.LIB. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*
*/
#include "core/html/HTMLDetailsElement.h"
#include "bindings/core/v8/ExceptionStatePlaceholder.h"
#include "core/CSSPropertyNames.h"
#include "core/CSSValueKeywords.h"
#include "core/HTMLNames.h"
#include "core/dom/ElementTraversal.h"
#include "core/dom/Text.h"
#include "core/dom/shadow/ShadowRoot.h"
#include "core/events/Event.h"
#include "core/events/EventSender.h"
#include "core/frame/UseCounter.h"
#include "core/html/HTMLContentElement.h"
#include "core/html/HTMLDivElement.h"
#include "core/html/HTMLSummaryElement.h"
#include "core/html/shadow/DetailsMarkerControl.h"
#include "core/html/shadow/ShadowElementNames.h"
#include "core/layout/LayoutBlockFlow.h"
#include "platform/text/PlatformLocale.h"
namespace blink {
using namespace HTMLNames;
class FirstSummarySelectFilter final : public HTMLContentSelectFilter {
public:
virtual ~FirstSummarySelectFilter() { }
static FirstSummarySelectFilter* create()
{
return new FirstSummarySelectFilter();
}
bool canSelectNode(const HeapVector<Member<Node>, 32>& siblings, int nth) const override
{
if (!siblings[nth]->hasTagName(HTMLNames::summaryTag))
return false;
for (int i = nth - 1; i >= 0; --i) {
if (siblings[i]->hasTagName(HTMLNames::summaryTag))
return false;
}
return true;
}
DEFINE_INLINE_VIRTUAL_TRACE()
{
HTMLContentSelectFilter::trace(visitor);
}
private:
FirstSummarySelectFilter() { }
};
static DetailsEventSender& detailsToggleEventSender()
{
DEFINE_STATIC_LOCAL(DetailsEventSender, sharedToggleEventSender, (DetailsEventSender::create(EventTypeNames::toggle)));
return sharedToggleEventSender;
}
HTMLDetailsElement* HTMLDetailsElement::create(Document& document)
{
HTMLDetailsElement* details = new HTMLDetailsElement(document);
details->ensureUserAgentShadowRoot();
return details;
}
HTMLDetailsElement::HTMLDetailsElement(Document& document)
: HTMLElement(detailsTag, document)
, m_isOpen(false)
{
UseCounter::count(document, UseCounter::DetailsElement);
}
HTMLDetailsElement::~HTMLDetailsElement()
{
}
void HTMLDetailsElement::dispatchPendingEvent(DetailsEventSender* eventSender)
{
ASSERT_UNUSED(eventSender, eventSender == &detailsToggleEventSender());
dispatchEvent(Event::create(EventTypeNames::toggle));
}
LayoutObject* HTMLDetailsElement::createLayoutObject(const ComputedStyle&)
{
return new LayoutBlockFlow(this);
}
void HTMLDetailsElement::didAddUserAgentShadowRoot(ShadowRoot& root)
{
HTMLSummaryElement* defaultSummary = HTMLSummaryElement::create(document());
defaultSummary->appendChild(Text::create(document(), locale().queryString(WebLocalizedString::DetailsLabel)));
HTMLContentElement* summary = HTMLContentElement::create(document(), FirstSummarySelectFilter::create());
summary->setIdAttribute(ShadowElementNames::detailsSummary());
summary->appendChild(defaultSummary);
root.appendChild(summary);
HTMLDivElement* content = HTMLDivElement::create(document());
content->setIdAttribute(ShadowElementNames::detailsContent());
content->appendChild(HTMLContentElement::create(document()));
content->setInlineStyleProperty(CSSPropertyDisplay, CSSValueNone);
root.appendChild(content);
}
Element* HTMLDetailsElement::findMainSummary() const
{
if (HTMLSummaryElement* summary = Traversal<HTMLSummaryElement>::firstChild(*this))
return summary;
HTMLContentElement* content = toHTMLContentElement(userAgentShadowRoot()->firstChild());
ASSERT(content->firstChild() && isHTMLSummaryElement(*content->firstChild()));
return toElement(content->firstChild());
}
void HTMLDetailsElement::parseAttribute(const QualifiedName& name, const AtomicString& oldValue, const AtomicString& value)
{
if (name == openAttr) {
bool oldValue = m_isOpen;
m_isOpen = !value.isNull();
if (m_isOpen == oldValue)
return;
// Dispatch toggle event asynchronously.
detailsToggleEventSender().cancelEvent(this);
detailsToggleEventSender().dispatchEventSoon(this);
Element* content = ensureUserAgentShadowRoot().getElementById(ShadowElementNames::detailsContent());
ASSERT(content);
if (m_isOpen)
content->removeInlineStyleProperty(CSSPropertyDisplay);
else
content->setInlineStyleProperty(CSSPropertyDisplay, CSSValueNone);
// Invalidate the LayoutDetailsMarker in order to turn the arrow signifying if the
// details element is open or closed.
Element* summary = findMainSummary();
ASSERT(summary);
Element* control = toHTMLSummaryElement(summary)->markerControl();
if (control && control->layoutObject())
control->layoutObject()->setShouldDoFullPaintInvalidation();
return;
}
HTMLElement::parseAttribute(name, oldValue, value);
}
void HTMLDetailsElement::toggleOpen()
{
setAttribute(openAttr, m_isOpen ? nullAtom : emptyAtom);
}
bool HTMLDetailsElement::isInteractiveContent() const
{
return true;
}
} // namespace blink
| [
"changhyeok.bae@lge.com"
] | changhyeok.bae@lge.com |
26aae049b73a9398ee6645971023a5cbbf78528b | 51dc61072c6ba314932772b51b0c5457a9cd3983 | /c-c++/data-structures/heap-and-priority-queue/stl-priority-queue-based-minheap-user-defined-class.cpp | 8f0c2709b7abf69d18583e0c2f356927956875ba | [] | no_license | shiv4289/codes | 6bbadfcf1d1dcb1661f329d24a346dc956766a31 | 6d9e4bbbe37ebe2a92b58fa10e9c66b1ccff772d | refs/heads/master | 2021-01-20T14:31:38.981796 | 2017-07-07T13:43:10 | 2017-07-07T13:43:10 | 90,625,900 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,202 | cpp | /*
* stl-priority-queue-based-minheap-user-defined-class.cpp
*
* Created on: 09-May-2017
* Author: shivji
*
* Refrence: http://www.geeksforgeeks.org/implement-min-heap-using-stl/
*/
// C++ program to us priority_queue to implement Min Heap
// for user defined class
#include <bits/stdc++.h>
using namespace std;
// User defined class, Point
class Point
{
int x;
int y;
public:
Point(int _x, int _y)
{
x = _x;
y = _y;
}
int getX() const { return x; }
int getY() const { return y; }
};
// To compare two points
class myComparator
{
public:
int operator() (const Point& p1, const Point& p2)
{
return p1.getX() > p2.getX();
}
};
// Driver code
int main ()
{
// Creates a Min heap of points (order by x coordinate)
priority_queue <Point, vector<Point>, myComparator > pq;
// Insert points into the min heap
pq.push(Point(10, 2));
pq.push(Point(2, 1));
pq.push(Point(1, 5));
// One by one extract items from min heap
while (pq.empty() == false)
{
Point p = pq.top();
cout << "(" << p.getX() << ", " << p.getY() << ")";
cout << endl;
pq.pop();
}
return 0;
}
| [
"shivji.jha@moveinsync.com"
] | shivji.jha@moveinsync.com |
047460e17b4befc25826ca22331853c9ae594c62 | e75cf3fc4e6569583270ac0f3626453c464fe020 | /Android/第三方完整APP源码/mogutt/TTWinClient/core/TTProtect/IniConfig.h | c8eea7408ae229140d613916f6b9e2ca4d6e36e7 | [] | no_license | hailongfeng/zhishiku | c87742e8819c1a234f68f3be48108b244e8a265f | b62bb845a88248855d118bc571634cc94f34efcb | refs/heads/master | 2022-12-26T00:00:48.455098 | 2020-02-26T09:22:05 | 2020-02-26T09:22:05 | 133,133,919 | 1 | 9 | null | 2022-12-16T00:35:57 | 2018-05-12T09:56:41 | Java | WINDOWS-1252 | C++ | false | false | 990 | h | /*******************************************************************************
* @file IniConfig.h 2014\9\1 13:15:52 $
* @author ¿ìµ¶<kuaidao@mogujie.com>
* @brief
******************************************************************************/
#ifndef INICONFIG_C0F81335_CB24_4C2D_BA6C_0E00FA00A17D_H__
#define INICONFIG_C0F81335_CB24_4C2D_BA6C_0E00FA00A17D_H__
/******************************************************************************/
class CIniConfig
{
private:
CString m_sIniFile;
public:
void SetString(CString sSection, CString sItem, CString sVal);
CString GetString(CString sSection, CString sItem);
void SetInt(CString sSection, CString sItem, int iVal);
int GetInt(CString sSection, CString sItem);
void SetFile(CString sFile);
CIniConfig(CString sFile);
CIniConfig(void);
~CIniConfig(void);
};
/******************************************************************************/
#endif// INICONFIG_C0F81335_CB24_4C2D_BA6C_0E00FA00A17D_H__ | [
"no_1hailong@yeah.net"
] | no_1hailong@yeah.net |
c269b19eb7ea35fb7b6114a88f3d378120ceb580 | eb2f8b3271e8ef9c9b092fcaeff3ff8307f7af86 | /Grade 10-12/2018 autumn/NOIP/NOIP2018提高组Day1程序包/GD-Senior/answers/GD-0335/track/track.cpp | 6ebc82e694a8406e0f37db3014e485f6954a5c99 | [] | no_license | Orion545/OI-Record | 0071ecde8f766c6db1f67b9c2adf07d98fd4634f | fa7d3a36c4a184fde889123d0a66d896232ef14c | refs/heads/master | 2022-01-13T19:39:22.590840 | 2019-05-26T07:50:17 | 2019-05-26T07:50:17 | 188,645,194 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,612 | cpp | #include<cstdio>
#include<algorithm>
#include<cstring>
using namespace std;
#define MAXN 50010
struct ins
{
int x,y,z;
}in[MAXN];
inline int read()
{
int f=1,x=0;
char s=getchar();
while(s<'0'||s>'9'){if(s=='-')f=-1;s=getchar();}
while(s>='0'&&s<='9'){x=(x<<3)+(x<<1)+s-48;s=getchar();}
return f*x;
}
int tot=0,head[MAXN],n,m,ands[MAXN],ai=0,total=0;
bool cmp(const ins &a,const ins &b){return a.z>b.z;}
bool amp(const int &a,const int &b){return a>b;}
int main()
{
freopen("track.in","r",stdin);
freopen("track.out","w",stdout);
n=read(),m=read();
int x,y,z;
if(m==1&&n<=10)
{
int map[11][11],q=0,maxs,mays;
bool visit[11];
int dis[11];
memset(map,0,sizeof(map));
for(int i=1;i<n;++i)
{
x=read(),y=read(),z=read();
map[x][y]=z;
map[y][x]=z;
}
for(int w=1;w<=n;w++)
{
memset(visit,0,sizeof(visit));
memset(dis,0,sizeof(dis));
visit[w]=true;
for(int i=1;i<=n;i++)if(i!=w)dis[i]=map[i][w];
for(int k=1;k<=n;k++)
{
maxs=0;mays=0;
for(int i=1;i<=n;i++)if(!visit[i]&&dis[i]>=maxs)maxs=dis[i],mays=i;
if(!mays)break;
visit[mays]=true;
for(int i=1;i<=n;i++)if(!visit[i]&&map[mays][i]!=0&&map[mays][i]+dis[mays]>dis[i])dis[i]=map[mays][i]+dis[mays];
}
maxs=0;
for(int i=1;i<=n;i++)if(dis[i]>maxs)maxs=dis[i];
if(q<=maxs)q=maxs;
}
printf("%d",q);
}
else
{
for(int i=1;i<n;i++)
{
x=read(),y=read(),z=read();
in[i].x=x;in[i].y=y;in[i].z=z;
total+=z;
if(y==x+1)ai++;
ands[x]++;
}
if(ands[1]==n-1||m==n-1)
{
sort(in+1,in+n,cmp);
printf("%d",in[m].z);
}
else printf("15");
}
return 0;
}
| [
"orion545@qq.com"
] | orion545@qq.com |
c1e7472e39f0b344d4fca6bd44fc67f300b3280d | 9ebede2bbe515e7e0c5b24284ae91fd1ce759de4 | /labust_mission/include/labust_mission/serviceCall.hpp | f5f3ef3310f5af631fb81c8ac481270b1bfe3148 | [] | no_license | compiaffe/labust-ros-pkg | f0476f73c8a51d12d404a47c0703515eb0e75dfc | e4e5fc2093575932d6d86cb23ff652848171461c | refs/heads/master | 2021-01-18T16:52:18.457602 | 2014-08-26T16:27:58 | 2014-08-26T16:27:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,409 | hpp |
/*********************************************************************
* serviceCall.hpp
*
* Created on: Feb 26, 2014
* Author: Filip Mandic
*
********************************************************************/
/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2014, LABUST, UNIZG-FER
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of the LABUST nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*********************************************************************/
#ifndef SERVICECALL_HPP_
#define SERVICECALL_HPP_
#include <ros/ros.h>
namespace utils {
template <typename custom_srv>
void callService(ros::ServiceClient& client, custom_srv& request){
if (client.call(request)){
ROS_INFO("Call to service %s successful", client.getService().c_str());
} else {
ROS_ERROR("Call to service %s failed", client.getService().c_str());
}
}
}
#endif /* SERVICECALL_HPP_ */
| [
"filip.mandic@gmail.com"
] | filip.mandic@gmail.com |
1f7da9e32817525f871d2f1ac1c55b3602f7b883 | 945e7bf2e9aef413082e32616b0db1d77f5e4c7e | /SceneModeller/SceneModeller/formats/vrml/GroupingNode.h | 0627376c40a805d0ac447c5ac3997ba7c50bd850 | [] | no_license | basarugur/bu-medialab | 90495e391eda11cdaddfedac241c76f4c8ff243d | 45eb9aebb375427f8e247878bc602eaa5aab8e87 | refs/heads/master | 2020-04-18T21:01:41.722022 | 2015-03-15T16:49:29 | 2015-03-15T16:49:29 | 32,266,742 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,617 | h | /******************************************************************
*
* CyberVRML97 for C++
*
* Copyright (C) Satoshi Konno 1996-2002
*
* File: GroupingNode.h
*
******************************************************************/
#ifndef _CV97_GROUPINGNODE_H_
#define _CV97_GROUPINGNODE_H_
#include "Node.h"
#include "BoundingBox.h"
#define addChildrenEventIn "addChildren"
#define removeChildrenEventIn "removeChildren"
#define bboxCenterFieldName "bboxCenter"
#define bboxSizeFieldName "bboxSize"
class GroupingNode : public Node {
SFVec3f *bboxCenterField;
SFVec3f *bboxSizeField;
public:
GroupingNode();
virtual ~GroupingNode();
////////////////////////////////////////////////
// BoundingBoxSize
////////////////////////////////////////////////
SFVec3f *getBoundingBoxSizeField();
void setBoundingBoxSize(float value[]);
void setBoundingBoxSize(float x, float y, float z);
void getBoundingBoxSize(float value[]);
////////////////////////////////////////////////
// BoundingBoxCenter
////////////////////////////////////////////////
SFVec3f *getBoundingBoxCenterField();
void setBoundingBoxCenter(float value[]);
void setBoundingBoxCenter(float x, float y, float z);
void getBoundingBoxCenter(float value[]);
////////////////////////////////////////////////
// BoundingBox
////////////////////////////////////////////////
void setBoundingBox(BoundingBox *bbox);
void recomputeBoundingBox();
////////////////////////////////////////////////
// List
////////////////////////////////////////////////
GroupingNode *next();
GroupingNode *nextTraversal();
};
#endif
| [
"esangin@19b6b63a-0a50-11de-97d8-e990b0f60ea0"
] | esangin@19b6b63a-0a50-11de-97d8-e990b0f60ea0 |
fc45f9a7997b282affb60cabbe2db699dab43734 | cccfb7be281ca89f8682c144eac0d5d5559b2deb | /components/services/app_service/public/cpp/icon_types.h | 5ec1b5296b018680715f38f79c470596fa6db543 | [
"BSD-3-Clause"
] | permissive | SREERAGI18/chromium | 172b23d07568a4e3873983bf49b37adc92453dd0 | fd8a8914ca0183f0add65ae55f04e287543c7d4a | refs/heads/master | 2023-08-27T17:45:48.928019 | 2021-11-11T22:24:28 | 2021-11-11T22:24:28 | 428,659,250 | 1 | 0 | BSD-3-Clause | 2021-11-16T13:08:14 | 2021-11-16T13:08:14 | null | UTF-8 | C++ | false | false | 4,867 | h | // Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_SERVICES_APP_SERVICE_PUBLIC_CPP_ICON_TYPES_H_
#define COMPONENTS_SERVICES_APP_SERVICE_PUBLIC_CPP_ICON_TYPES_H_
#include <vector>
#include "components/services/app_service/public/mojom/types.mojom.h"
#include "ui/gfx/image/image_skia.h"
namespace apps {
struct COMPONENT_EXPORT(ICON_TYPES) IconKey {
IconKey();
IconKey(uint64_t timeline, int32_t resource_id, uint32_t icon_effects);
IconKey(const IconKey&) = delete;
IconKey& operator=(const IconKey&) = delete;
IconKey(IconKey&&) = default;
IconKey& operator=(IconKey&&) = default;
bool operator==(const IconKey& other) const;
~IconKey();
// A timeline value for icons that do not change.
static const uint64_t kDoesNotChangeOverTime;
static const int32_t kInvalidResourceId;
// A monotonically increasing number so that, after an icon update, a new
// IconKey, one that is different in terms of field-by-field equality, can be
// broadcast by a Publisher.
//
// The exact value of the number isn't important, only that newer IconKey's
// (those that were created more recently) have a larger timeline than older
// IconKey's.
//
// This is, in some sense, *a* version number, but the field is not called
// "version", to avoid any possible confusion that it encodes *the* app's
// version number, e.g. the "2.3.5" in "FooBar version 2.3.5 is installed".
//
// For example, if an app is disabled for some reason (so that its icon is
// grayed out), this would result in a different timeline even though the
// app's version is unchanged.
uint64_t timeline;
// If non-zero (or equivalently, not equal to kInvalidResourceId), the
// compressed icon is compiled into the Chromium binary as a statically
// available, int-keyed resource.
int32_t resource_id;
// A bitmask of icon post-processing effects, such as desaturation to gray
// and rounding the corners.
uint32_t icon_effects;
// When adding new fields, also update the IconLoader::Key type in
// components/services/app_service/public/cpp/icon_loader.*
};
enum class IconType {
// Sentinel value used in error cases.
kUnknown,
// Icon as an uncompressed gfx::ImageSkia with no standard Chrome OS mask.
kUncompressed,
// Icon as compressed PNG-encoded bytes with no standard Chrome OS mask.
kCompressed,
// Icon as an uncompressed gfx::ImageSkia with the standard Chrome OS mask
// applied. This is the default suggested icon type.
kStandard,
};
// The return value for the App Service LoadIcon method. The icon will be
// provided in either an uncompressed representation (gfx::ImageSkia), or a
// compressed representation (PNG-encoded bytes) depending on |icon_type|.
struct COMPONENT_EXPORT(ICON_TYPES) IconValue {
IconValue();
IconValue(const IconValue&) = delete;
IconValue& operator=(const IconValue&) = delete;
~IconValue();
IconType icon_type = IconType::kUnknown;
gfx::ImageSkia uncompressed;
// PNG-encoded bytes for the icon
std::vector<uint8_t> compressed;
// Specifies whether the icon provided is a placeholder. That field should
// only be true if the corresponding `LoadIcon` call had
// `allow_placeholder_icon` set to true, which states whether the caller will
// accept a placeholder if the real icon can not be provided at this time.
bool is_placeholder_icon = false;
};
using IconValuePtr = std::unique_ptr<IconValue>;
using LoadIconCallback = base::OnceCallback<void(IconValuePtr)>;
// TODO(crbug.com/1253250): Remove these functions after migrating to non-mojo
// AppService.
COMPONENT_EXPORT(ICON_TYPES)
apps::mojom::IconKeyPtr ConvertIconKeyToMojomIconKey(const IconKey& icon_key);
COMPONENT_EXPORT(ICON_TYPES)
std::unique_ptr<IconKey> ConvertMojomIconKeyToIconKey(
const apps::mojom::IconKeyPtr& mojom_icon_key);
COMPONENT_EXPORT(ICON_TYPES)
apps::mojom::IconType ConvertIconTypeToMojomIconType(IconType icon_type);
COMPONENT_EXPORT(ICON_TYPES)
IconType ConvertMojomIconTypeToIconType(apps::mojom::IconType mojom_icon_type);
COMPONENT_EXPORT(ICON_TYPES)
apps::mojom::IconValuePtr ConvertIconValueToMojomIconValue(
IconValuePtr icon_value);
COMPONENT_EXPORT(ICON_TYPES)
IconValuePtr ConvertMojomIconValueToIconValue(
apps::mojom::IconValuePtr mojom_icon_value);
COMPONENT_EXPORT(ICON_TYPES)
base::OnceCallback<void(IconValuePtr)> IconValueToMojomIconValueCallback(
base::OnceCallback<void(apps::mojom::IconValuePtr)> callback);
COMPONENT_EXPORT(ICON_TYPES)
base::OnceCallback<void(apps::mojom::IconValuePtr)>
MojomIconValueToIconValueCallback(
base::OnceCallback<void(IconValuePtr)> callback);
} // namespace apps
#endif // COMPONENTS_SERVICES_APP_SERVICE_PUBLIC_CPP_ICON_TYPES_H_
| [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
56ce558f78e29b6242bc5666a76ea09b7e40082c | 0f950f0466a6322842c85b51b8095f874417f718 | /include/EventAction.hh | e95ba24304bab58831f7ea53a9ec337ccbf5f9a3 | [] | no_license | mjkramer/WindowSim | 4e01b225b1ab622296e8273f6818b6ca0a99fa16 | 33b1abec6eb497bae0924d2d3ba8b4ed94475039 | refs/heads/master | 2020-04-02T01:07:56.363498 | 2016-01-25T23:24:11 | 2016-01-25T23:24:11 | 31,445,746 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,188 | hh | #ifndef EventAction_h
#define EventAction_h 1
#include <map>
#include <TFile.h>
#include <TTree.h>
#include <TH1F.h>
#include "G4UserEventAction.hh"
#include "G4UIcmdWithAString.hh"
#include "G4UImessenger.hh"
const int BUFSIZE = 1024;
class G4Track;
class EventAction : public G4UserEventAction, public G4UImessenger
{
public:
EventAction();
~EventAction();
void BeginOfEventAction(const G4Event *event);
void EndOfEventAction(const G4Event *event);
void SetNewValue(G4UIcommand *cmd, G4String args);
protected:
struct ParticleData {
G4int partId;
G4double cosTheta, energyMeV, momMeV, exitXcm, prodXcm, iActXcm;
};
void Register(G4int trackID, const ParticleData& data);
private:
G4UIcmdWithAString* fFileNameCmd;
TFile* fFile;
TTree* fTree;
TH1F* fEdepHist, *fEdepHistIncl; // Incl - includes secondary KE
// key: track ID
std::map<G4int, ParticleData> fSeenParticles;
// branches
int fCount;
int fPartId[BUFSIZE];
float fCosTheta[BUFSIZE], fEnergyMeV[BUFSIZE], fMomMeV[BUFSIZE];
float fExitXcm[BUFSIZE];
float fProdXcm[BUFSIZE];
float fIActXcm[BUFSIZE];
int fTrackId[BUFSIZE];
friend class SteppingAction;
};
#endif
| [
"mkramer@lbl.gov"
] | mkramer@lbl.gov |
e238968aedcc1f976f612d31104bfb774736a75e | dd0126aadfd73fb0e190dfea24758da558730bbb | /ep3/include/FindCommand.hpp | 2f716bfdfd1406d4f4131504b76c1e6476d3b11f | [] | no_license | Mlordx/sistemasoperacionais | edddab4c45c94e5d7e02d2c63de9309c31c05c2a | 373b4d2eb8c3467454ae5b8c9032587e06de55e3 | refs/heads/master | 2021-01-21T22:26:35.139576 | 2015-11-22T01:54:14 | 2015-11-22T01:54:14 | 41,759,350 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 414 | hpp | #ifndef HPP_FINDCOMMAND_DEFINED
#define HPP_FINDCOMMAND_DEFINED
// Standard Libraries
#include <string>
#include <vector>
// EP3 Classes
#include "Command.hpp"
#include "FileEntry.hpp"
#include "FileSystem.hpp"
class FindCommand : public Command{
private:
std::shared_ptr<FileSystem> fileSystem_;
public:
FindCommand(std::shared_ptr<FileSystem> fs);
int execute(std::vector<std::string> args);
};
#endif
| [
"matbarrosrodrigues@gmail.com"
] | matbarrosrodrigues@gmail.com |
831960fe6ccf4891e3b302ebd91c4e7ba6b21f1d | a26d25c930aff826c25a79f9290748c24a0f43f8 | /src/code-events.h | 437b12c85ac6f438c8f60d31d6d5fd61a0987934 | [
"BSD-3-Clause",
"SunPro",
"bzip2-1.0.6"
] | permissive | saigowthamr/v8 | ce0cd017bc1015228def3289ab2b9d282653fdd9 | a0406ca909fc6848b722bfd543c5d723d55bb88f | refs/heads/master | 2021-09-08T14:07:57.610578 | 2018-03-09T21:49:26 | 2018-03-09T21:49:41 | 124,609,596 | 6 | 0 | null | 2018-03-10T01:03:14 | 2018-03-10T01:03:14 | null | UTF-8 | C++ | false | false | 7,053 | h | // Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_CODE_EVENTS_H_
#define V8_CODE_EVENTS_H_
#include <unordered_set>
#include "src/base/platform/mutex.h"
#include "src/globals.h"
#include "src/vector.h"
namespace v8 {
namespace internal {
class AbstractCode;
class Name;
class SharedFunctionInfo;
class String;
namespace wasm {
class WasmCode;
using WasmName = Vector<const char>;
} // namespace wasm
#define LOG_EVENTS_AND_TAGS_LIST(V) \
V(CODE_CREATION_EVENT, "code-creation") \
V(CODE_DISABLE_OPT_EVENT, "code-disable-optimization") \
V(CODE_MOVE_EVENT, "code-move") \
V(CODE_DELETE_EVENT, "code-delete") \
V(CODE_MOVING_GC, "code-moving-gc") \
V(SHARED_FUNC_MOVE_EVENT, "sfi-move") \
V(SNAPSHOT_CODE_NAME_EVENT, "snapshot-code-name") \
V(TICK_EVENT, "tick") \
V(BUILTIN_TAG, "Builtin") \
V(CALLBACK_TAG, "Callback") \
V(EVAL_TAG, "Eval") \
V(FUNCTION_TAG, "Function") \
V(HANDLER_TAG, "Handler") \
V(BYTECODE_HANDLER_TAG, "BytecodeHandler") \
V(LAZY_COMPILE_TAG, "LazyCompile") \
V(REG_EXP_TAG, "RegExp") \
V(SCRIPT_TAG, "Script") \
V(STUB_TAG, "Stub") \
V(NATIVE_FUNCTION_TAG, "Function") \
V(NATIVE_LAZY_COMPILE_TAG, "LazyCompile") \
V(NATIVE_SCRIPT_TAG, "Script")
// Note that 'NATIVE_' cases for functions and scripts are mapped onto
// original tags when writing to the log.
#define PROFILE(the_isolate, Call) (the_isolate)->code_event_dispatcher()->Call;
class CodeEventListener {
public:
#define DECLARE_ENUM(enum_item, _) enum_item,
enum LogEventsAndTags {
LOG_EVENTS_AND_TAGS_LIST(DECLARE_ENUM) NUMBER_OF_LOG_EVENTS
};
#undef DECLARE_ENUM
virtual ~CodeEventListener() {}
virtual void CodeCreateEvent(LogEventsAndTags tag, AbstractCode* code,
const char* comment) = 0;
virtual void CodeCreateEvent(LogEventsAndTags tag, AbstractCode* code,
Name* name) = 0;
virtual void CodeCreateEvent(LogEventsAndTags tag, AbstractCode* code,
SharedFunctionInfo* shared, Name* source) = 0;
virtual void CodeCreateEvent(LogEventsAndTags tag, AbstractCode* code,
SharedFunctionInfo* shared, Name* source,
int line, int column) = 0;
virtual void CodeCreateEvent(LogEventsAndTags tag, wasm::WasmCode* code,
wasm::WasmName name) = 0;
virtual void CallbackEvent(Name* name, Address entry_point) = 0;
virtual void GetterCallbackEvent(Name* name, Address entry_point) = 0;
virtual void SetterCallbackEvent(Name* name, Address entry_point) = 0;
virtual void RegExpCodeCreateEvent(AbstractCode* code, String* source) = 0;
virtual void CodeMoveEvent(AbstractCode* from, Address to) = 0;
virtual void SharedFunctionInfoMoveEvent(Address from, Address to) = 0;
virtual void CodeMovingGCEvent() = 0;
virtual void CodeDisableOptEvent(AbstractCode* code,
SharedFunctionInfo* shared) = 0;
enum DeoptKind { kSoft, kLazy, kEager };
virtual void CodeDeoptEvent(Code* code, DeoptKind kind, Address pc,
int fp_to_sp_delta) = 0;
};
class CodeEventDispatcher {
public:
using LogEventsAndTags = CodeEventListener::LogEventsAndTags;
CodeEventDispatcher() {}
bool AddListener(CodeEventListener* listener) {
base::LockGuard<base::Mutex> guard(&mutex_);
return listeners_.insert(listener).second;
}
void RemoveListener(CodeEventListener* listener) {
base::LockGuard<base::Mutex> guard(&mutex_);
listeners_.erase(listener);
}
#define CODE_EVENT_DISPATCH(code) \
base::LockGuard<base::Mutex> guard(&mutex_); \
for (auto it = listeners_.begin(); it != listeners_.end(); ++it) (*it)->code
void CodeCreateEvent(LogEventsAndTags tag, AbstractCode* code,
const char* comment) {
CODE_EVENT_DISPATCH(CodeCreateEvent(tag, code, comment));
}
void CodeCreateEvent(LogEventsAndTags tag, AbstractCode* code, Name* name) {
CODE_EVENT_DISPATCH(CodeCreateEvent(tag, code, name));
}
void CodeCreateEvent(LogEventsAndTags tag, AbstractCode* code,
SharedFunctionInfo* shared, Name* name) {
CODE_EVENT_DISPATCH(CodeCreateEvent(tag, code, shared, name));
}
void CodeCreateEvent(LogEventsAndTags tag, AbstractCode* code,
SharedFunctionInfo* shared, Name* source, int line,
int column) {
CODE_EVENT_DISPATCH(
CodeCreateEvent(tag, code, shared, source, line, column));
}
void CodeCreateEvent(LogEventsAndTags tag, wasm::WasmCode* code,
wasm::WasmName name) {
CODE_EVENT_DISPATCH(CodeCreateEvent(tag, code, name));
}
void CallbackEvent(Name* name, Address entry_point) {
CODE_EVENT_DISPATCH(CallbackEvent(name, entry_point));
}
void GetterCallbackEvent(Name* name, Address entry_point) {
CODE_EVENT_DISPATCH(GetterCallbackEvent(name, entry_point));
}
void SetterCallbackEvent(Name* name, Address entry_point) {
CODE_EVENT_DISPATCH(SetterCallbackEvent(name, entry_point));
}
void RegExpCodeCreateEvent(AbstractCode* code, String* source) {
CODE_EVENT_DISPATCH(RegExpCodeCreateEvent(code, source));
}
void CodeMoveEvent(AbstractCode* from, Address to) {
CODE_EVENT_DISPATCH(CodeMoveEvent(from, to));
}
void SharedFunctionInfoMoveEvent(Address from, Address to) {
CODE_EVENT_DISPATCH(SharedFunctionInfoMoveEvent(from, to));
}
void CodeMovingGCEvent() { CODE_EVENT_DISPATCH(CodeMovingGCEvent()); }
void CodeDisableOptEvent(AbstractCode* code, SharedFunctionInfo* shared) {
CODE_EVENT_DISPATCH(CodeDisableOptEvent(code, shared));
}
void CodeDeoptEvent(Code* code, CodeEventListener::DeoptKind kind, Address pc,
int fp_to_sp_delta) {
CODE_EVENT_DISPATCH(CodeDeoptEvent(code, kind, pc, fp_to_sp_delta));
}
#undef CODE_EVENT_DISPATCH
private:
std::unordered_set<CodeEventListener*> listeners_;
base::Mutex mutex_;
DISALLOW_COPY_AND_ASSIGN(CodeEventDispatcher);
};
} // namespace internal
} // namespace v8
#endif // V8_CODE_EVENTS_H_
| [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
e391dffcabb4b370185bc9bd8b1740e4139c02e0 | 30a9b10558e71bf05128c2aff3eee23298ebcbe4 | /external/asio/include/asio/detail/reactive_socket_connect_op.hpp | 7aa54ca6afd726b2c09752cae0ea351c939ae4a6 | [
"BSL-1.0"
] | permissive | obergner/wally-io | e404718ddc585cedfd31cbcf720f143280d0b798 | ece72f22f24c7b91dc6338be18c1cf8c766a7acc | refs/heads/master | 2020-04-12T06:41:17.001595 | 2020-02-02T17:21:02 | 2020-02-02T17:21:02 | 37,421,244 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,888 | hpp | //
// detail/reactive_socket_connect_op.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef ASIO_DETAIL_REACTIVE_SOCKET_CONNECT_OP_HPP
#define ASIO_DETAIL_REACTIVE_SOCKET_CONNECT_OP_HPP
#if defined( _MSC_VER ) && ( _MSC_VER >= 1200 )
#pragma once
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
#include "asio/detail/addressof.hpp"
#include "asio/detail/bind_handler.hpp"
#include "asio/detail/buffer_sequence_adapter.hpp"
#include "asio/detail/config.hpp"
#include "asio/detail/fenced_block.hpp"
#include "asio/detail/reactor_op.hpp"
#include "asio/detail/socket_ops.hpp"
#include "asio/detail/push_options.hpp"
namespace asio
{
namespace detail
{
class reactive_socket_connect_op_base : public reactor_op
{
public:
reactive_socket_connect_op_base( socket_type socket, func_type complete_func )
: reactor_op( &reactive_socket_connect_op_base::do_perform, complete_func ), socket_( socket )
{
}
static bool do_perform( reactor_op* base )
{
reactive_socket_connect_op_base* o( static_cast<reactive_socket_connect_op_base*>( base ) );
return socket_ops::non_blocking_connect( o->socket_, o->ec_ );
}
private:
socket_type socket_;
};
template <typename Handler>
class reactive_socket_connect_op : public reactive_socket_connect_op_base
{
public:
ASIO_DEFINE_HANDLER_PTR( reactive_socket_connect_op );
reactive_socket_connect_op( socket_type socket, Handler& handler )
: reactive_socket_connect_op_base( socket, &reactive_socket_connect_op::do_complete ),
handler_( ASIO_MOVE_CAST( Handler )( handler ) )
{
}
static void do_complete( io_service_impl* owner,
operation* base,
const asio::error_code& /*ec*/,
std::size_t /*bytes_transferred*/ )
{
// Take ownership of the handler object.
reactive_socket_connect_op* o( static_cast<reactive_socket_connect_op*>( base ) );
ptr p = {asio::detail::addressof( o->handler_ ), o, o};
ASIO_HANDLER_COMPLETION( ( o ) );
// Make a copy of the handler so that the memory can be deallocated before
// the upcall is made. Even if we're not about to make an upcall, a
// sub-object of the handler may be the true owner of the memory associated
// with the handler. Consequently, a local copy of the handler is required
// to ensure that any owning sub-object remains valid until after we have
// deallocated the memory here.
detail::binder1<Handler, asio::error_code> handler( o->handler_, o->ec_ );
p.h = asio::detail::addressof( handler.handler_ );
p.reset( );
// Make the upcall if required.
if ( owner )
{
fenced_block b( fenced_block::half );
ASIO_HANDLER_INVOCATION_BEGIN( ( handler.arg1_ ) );
asio_handler_invoke_helpers::invoke( handler, handler );
ASIO_HANDLER_INVOCATION_END;
}
}
private:
Handler handler_;
};
} // namespace detail
} // namespace asio
#include "asio/detail/pop_options.hpp"
#endif // ASIO_DETAIL_REACTIVE_SOCKET_CONNECT_OP_HPP
| [
"olaf.bergner@gmx.de"
] | olaf.bergner@gmx.de |
299b06c12a8f6d58749b805331ed9f5bb75b1c25 | b6f5f44124554a4b57c6d3c051cf596141ee1e57 | /examples/TEST/SI4844_BASS_TREBLE/SI4844_BASS_TREBLE.ino | 34ca0a5f45520c1c4ace930f8ae3d47cf9ef574f | [
"MIT"
] | permissive | pu2clr/SI4844 | 1fa44c4a6c85f702860892d5b91f5c9101da1f5e | 0860ae0159a1a74983ddc7ae5f479ec91862af58 | refs/heads/master | 2023-08-08T15:03:54.546850 | 2023-08-04T01:22:29 | 2023-08-04T01:22:29 | 213,923,162 | 25 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 2,959 | ino | /*
* SI4844 radio. Bass, treble and volume test.
*
* SI4844 and Arduino Pro Mini connections
*
* | SI4844 pin | Arduino pin | Description |
* | --------- | ------------ | ------------------------------------------------- |
* | 2 | 2 | Arduino interrupt pin |
* | 15 | 12 | Regurlar arduino digital pin used to RESET control |
* | 16 | A4 (SDA) | I2C bus (Data) |
* | 17 | A5 (SCL) | I2C bus (Clocl) |
*
* By Ricardo Lima Caratti (PU2CLR), Oct, 2019.
*
*/
#include <SI4844.h>
// Tested on Arduino Pro Mini
#define INTERRUPT_PIN 2
#define RESET_PIN 12
// Pages 17 and 18 from Si48XX ATDD PROGRAMMING GUIDE
#define DEFAULT_BAND 4 // FM => 0 to 19; AM => 20 to 24; SW => 25 to 40
SI4844 si4844;
void setup() {
Serial.begin(9600);
Serial.println("Bass, treble and volume test.");
delay(500);
si4844.setup(RESET_PIN, INTERRUPT_PIN, DEFAULT_BAND);
si4844.setVolume(55); // It can be from 0 to 63.
// See Si48XX ATDD PROGRAMMING GUIDE, page 21
// 3 = Mixed mode 2 (bass/treble and digital volume coexist, max volume = 63)
// 0 = Stereo audio output (default)
// 1 = {–0 dB, -0dB, –0 dB} i.e., adjacent points same volume levels
// 0 = Adjacent points allow stereo separation and stereo indicator on (default)
// 0 = Set audio mode and settings
si4844.setAudioMode(3,0,1,0,0);
instructions();
}
// Shows instruções
void instructions() {
Serial.println("---------------------------------------------------");
Serial.println("Type + or - to sound volume");
Serial.println("Type B to Bass; T to Treeble");
Serial.println("Type M to mute; U to unmute");
Serial.println("---------------------------------------------------");
delay(2000);
}
void loop() {
if (Serial.available() > 0) {
char key = Serial.read();
switch (key)
{
case 'b':
case 'B':
si4844.bassTrebleDown();
break;
case 't':
case 'T':
si4844.bassTrebleUp();
break;
case '+': // sound volume control
si4844.volumeUp();
break;
case '-':
si4844.volumeDown();
break;
case 'M':
case 'm':
si4844.setAudioMute(true);
break;
case 'U':
case 'u':
si4844.setAudioMute(false);
break;
default:
instructions();
break;
}
}
// If you move the tuner, hasStatusChanged returns true
if (si4844.hasStatusChanged())
{
Serial.print("[Band..: ");
Serial.print(si4844.getBandMode());
Serial.print(" - Frequency: ");
Serial.print(si4844.getFrequency(),0);
Serial.print(" KHz");
if (si4844.getStatusBandMode() == 0) {
Serial.print(" - Stereo ");
Serial.print(si4844.getStereoIndicator());
}
Serial.println("]");
}
}
| [
"ricardo.caratti@adm.cogect"
] | ricardo.caratti@adm.cogect |
37b8c8c1ef5cbe2cefc49fa90d743a72dfa37827 | f926639250ab2f47d1b35b012c143f1127cc4965 | /legacy/platform/mt6755/v3/hwnode/test/RAW16Node/main.cpp | 13b9361d535bf0d00edd7424e16027d8d304d212 | [] | no_license | cllanjim/stereoCam | 4c5b8f18808c96581ccd14be2593d41de9e0cf35 | e2df856ed1a2c45f6ab8dd52b67d7eae824174cf | refs/heads/master | 2020-03-17T11:26:49.570352 | 2017-03-14T08:48:08 | 2017-03-14T08:48:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,538 | cpp | /* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein is
* confidential and proprietary to MediaTek Inc. and/or its licensors. Without
* the prior written permission of MediaTek inc. and/or its licensors, any
* reproduction, modification, use or disclosure of MediaTek Software, and
* information contained herein, in whole or in part, shall be strictly
* prohibited.
*
* MediaTek Inc. (C) 2010. All rights reserved.
*
* BY OPENING THIS FILE, RECEIVER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
* THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
* RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO RECEIVER
* ON AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL
* WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
* WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
* NONINFRINGEMENT. NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH
* RESPECT TO THE SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY,
* INCORPORATED IN, OR SUPPLIED WITH THE MEDIATEK SOFTWARE, AND RECEIVER AGREES
* TO LOOK ONLY TO SUCH THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO.
* RECEIVER EXPRESSLY ACKNOWLEDGES THAT IT IS RECEIVER'S SOLE RESPONSIBILITY TO
* OBTAIN FROM ANY THIRD PARTY ALL PROPER LICENSES CONTAINED IN MEDIATEK
* SOFTWARE. MEDIATEK SHALL ALSO NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE
* RELEASES MADE TO RECEIVER'S SPECIFICATION OR TO CONFORM TO A PARTICULAR
* STANDARD OR OPEN FORUM. RECEIVER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S
* ENTIRE AND CUMULATIVE LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE
* RELEASED HEREUNDER WILL BE, AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE
* MEDIATEK SOFTWARE AT ISSUE, OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE
* CHARGE PAID BY RECEIVER TO MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
*
* The following software/firmware and/or related documentation ("MediaTek
* Software") have been modified by MediaTek Inc. All revisions are subject to
* any receiver's applicable license agreements with MediaTek Inc.
*/
#define LOG_TAG "RAW16NodeTest"
//
#include <mtkcam/Log.h>
//
#include <stdlib.h>
#include <utils/Errors.h>
#include <utils/List.h>
#include <utils/RefBase.h>
//
#include <mtkcam/metadata/client/mtk_metadata_tag.h>
//
#include <mtkcam/v3/pipeline/IPipelineDAG.h>
#include <mtkcam/v3/pipeline/IPipelineNode.h>
#include <mtkcam/v3/pipeline/IPipelineNodeMapControl.h>
#include <mtkcam/v3/pipeline/IPipelineFrameControl.h>
//
#include <mtkcam/v3/utils/streambuf/StreamBufferPool.h>
#include <mtkcam/v3/utils/streambuf/StreamBuffers.h>
#include <mtkcam/v3/utils/streaminfo/MetaStreamInfo.h>
#include <mtkcam/v3/utils/streaminfo/ImageStreamInfo.h>
//
#include <mtkcam/utils/imagebuf/IIonImageBufferHeap.h>
//
#include <mtkcam/hal/IHalSensor.h>
//
#include <mtkcam/v3/hwnode/RAW16Node.h>
using namespace NSCam;
using namespace v3;
using namespace NSCam::v3::Utils;
using namespace android;
/******************************************************************************
*
******************************************************************************/
#define MY_LOGV(fmt, arg...) CAM_LOGV("(%d)[%s] " fmt, ::gettid(), __FUNCTION__, ##arg)
#define MY_LOGD(fmt, arg...) CAM_LOGD("(%d)[%s] " fmt, ::gettid(), __FUNCTION__, ##arg)
#define MY_LOGI(fmt, arg...) CAM_LOGI("(%d)[%s] " fmt, ::gettid(), __FUNCTION__, ##arg)
#define MY_LOGW(fmt, arg...) CAM_LOGW("(%d)[%s] " fmt, ::gettid(), __FUNCTION__, ##arg)
#define MY_LOGE(fmt, arg...) CAM_LOGE("(%d)[%s] " fmt, ::gettid(), __FUNCTION__, ##arg)
//
#define MY_LOGV_IF(cond, ...) do { if ( (cond) ) { MY_LOGV(__VA_ARGS__); } }while(0)
#define MY_LOGD_IF(cond, ...) do { if ( (cond) ) { MY_LOGD(__VA_ARGS__); } }while(0)
#define MY_LOGI_IF(cond, ...) do { if ( (cond) ) { MY_LOGI(__VA_ARGS__); } }while(0)
#define MY_LOGW_IF(cond, ...) do { if ( (cond) ) { MY_LOGW(__VA_ARGS__); } }while(0)
#define MY_LOGE_IF(cond, ...) do { if ( (cond) ) { MY_LOGE(__VA_ARGS__); } }while(0)
//
#define TEST(cond, result) do { if ( (cond) == (result) ) { printf("Pass\n"); } else { printf("Failed\n"); } }while(0)
#define FUNCTION_IN MY_LOGD_IF(1, "+");
/******************************************************************************
*
******************************************************************************/
void help()
{
printf("RAW16Node <test>\n");
}
/******************************************************************************
*
******************************************************************************/
namespace {
enum STREAM_ID{
STREAM_ID_IN = 1,
STREAM_ID_OUT
};
enum NODE_ID{
NODE_ID_NODE1 = 1,
NODE_ID_NODE2,
};
class AppSimulator
: public virtual RefBase
{
};
//
android::sp<AppSimulator> mpAppSimulator;
//
sp<HalImageStreamBuffer::Allocator::StreamBufferPoolT> mpPool_HalImageRAW10;
sp<HalImageStreamBuffer::Allocator::StreamBufferPoolT> mpPool_HalImageRAW16;
//
IHalSensor* mpSensorHalObj;
//
typedef NSCam::v3::Utils::IStreamInfoSetControl IStreamInfoSetControlT;
android::sp<IStreamInfoSetControlT> mpStreamInfoSet;
android::sp<IPipelineNodeMapControl>mpPipelineNodeMap;
android::sp<IPipelineDAG> mpPipelineDAG;
android::sp<RAW16Node> mpNode1;
//remember output stream buffer for dump file
android::sp<HalImageStreamBuffer> mpHalImageStreamBuffer;
//
static int gSensorId = 0;
}; // namespace
/******************************************************************************
*
******************************************************************************/
android::sp<IPipelineNodeMapControl>
getPipelineNodeMapControl()
{
return mpPipelineNodeMap;
}
/******************************************************************************
*
******************************************************************************/
android::sp<IStreamInfoSet>
getStreamInfoSet()
{
return mpStreamInfoSet;
}
/******************************************************************************
*
******************************************************************************/
android::sp<IPipelineNodeMap>
getPipelineNodeMap()
{
return mpPipelineNodeMap;
}
/******************************************************************************
*
******************************************************************************/
android::sp<IPipelineDAG>
getPipelineDAG()
{
return mpPipelineDAG;
}
/******************************************************************************
*
******************************************************************************/
void clear_global_var()
{
//mpPipelineNodeMap = NULL;
//mpStreamInfoSet = NULL;
//mpPipelineDAG = NULL;
//mpPool_HalImageRAW10->uninitPool("Tester");
//mpPool_HalImageRAW10 = NULL;
//mpPool_HalImageRAW16->uninitPool("Tester");
//mpPool_HalImageRAW16 = NULL;
//mpAppSimulator = NULL;
}
/******************************************************************************
*
******************************************************************************/
void prepareSensor()
{
IHalSensorList* const pHalSensorList = IHalSensorList::get();
pHalSensorList->searchSensors();
mpSensorHalObj = pHalSensorList->createSensor("tester", gSensorId);
MUINT32 sensorArray[1] = {(MUINT32)gSensorId};
mpSensorHalObj->powerOn("tester", 1, &sensorArray[0]);
}
/******************************************************************************
*
******************************************************************************/
void closeSensor()
{
MUINT32 sensorArray[1] = {(MUINT32)gSensorId};
mpSensorHalObj->powerOff("tester", 1, &sensorArray[0]);
mpSensorHalObj->destroyInstance("tester");
mpSensorHalObj = NULL;
}
/******************************************************************************
*
******************************************************************************/
void
saveToFile(const char *filename, StreamId_T const streamid)
{
StreamId_T const streamId = streamid;
sp<HalImageStreamBuffer> pStreamBuffer;
//
sp<IImageStreamInfo> pStreamInfo = getStreamInfoSet()->getImageInfoFor(streamId);
//
//acquireFromPool
MY_LOGD("[acquireFromPool] + %s ", pStreamInfo->getStreamName());
MERROR err = mpPool_HalImageRAW16->acquireFromPool(
"Tester", pStreamBuffer, ::s2ns(30)
);
MY_LOGD("[acquireFromPool] - %s %p err:%d", pStreamInfo->getStreamName(), pStreamBuffer.get(), err);
MY_LOGE_IF(OK!=err || pStreamBuffer==0, "pStreamBuffer==0");
sp<IImageBufferHeap> pImageBufferHeap = NULL;
IImageBuffer* pImageBuffer = NULL;
if (pStreamBuffer == NULL) {
MY_LOGE("pStreamBuffer == NULL");
}
pImageBufferHeap = pStreamBuffer->tryReadLock(LOG_TAG);
if (pImageBufferHeap == NULL) {
MY_LOGE("pImageBufferHeap == NULL");
}
pImageBuffer = pImageBufferHeap->createImageBuffer();
if (pImageBuffer == NULL) {
MY_LOGE("rpImageBuffer == NULL");
}
pImageBuffer->lockBuf(LOG_TAG, eBUFFER_USAGE_SW_MASK);
MY_LOGD("@@@fist byte:%x", *(reinterpret_cast<MINT8*>(pImageBuffer->getBufVA(0))));
pImageBuffer->saveToFile(filename);
pImageBuffer->unlockBuf(LOG_TAG);
pStreamBuffer->unlock(LOG_TAG, pImageBufferHeap.get());
}
/******************************************************************************
*
******************************************************************************/
void prepareConfig()
{
printf("prepareConfig + \n");
//
//params.type = P2Node::PASS2_STREAM;
//
mpStreamInfoSet = IStreamInfoSetControl::create();
mpPipelineNodeMap = IPipelineNodeMapControl::create();
mpPipelineDAG = IPipelineDAG::create();
//
//android::Vector<android::sp<IImageStreamInfo> > pvHalImageRaw;
//sp<IMetaStreamInfo> pHalMetaPlatform = 0;
sp<ImageStreamInfo> pHalImageIn = 0;
sp<ImageStreamInfo> pHalImageOut = 0;
printf("create raw10 image buffer\n");
//Image src: raw10
{
StreamId_T const streamId = STREAM_ID_IN;
MSize const imgSize(4176, 3088);//
MINT const format = eImgFmt_BAYER10;
MUINT const usage = eBUFFER_USAGE_SW_MASK;
IImageStreamInfo::BufPlanes_t bufPlanes;
IImageStreamInfo::BufPlane bufPlane;
//
bufPlane.rowStrideInBytes = imgSize.w * 10 / 8;
bufPlane.sizeInBytes = bufPlane.rowStrideInBytes * imgSize.h;
bufPlanes.push_back(bufPlane);
//
sp<ImageStreamInfo>
pStreamInfo = new ImageStreamInfo(
"Hal:Image RAW10",
streamId,
eSTREAMTYPE_IMAGE_INOUT,
1, 1,
usage, format, imgSize, bufPlanes
);
pHalImageIn = pStreamInfo;
//
//
size_t bufStridesInBytes[3] = {0};
size_t bufBoundaryInBytes[3]= {0};
for (size_t i = 0; i < bufPlanes.size(); i++) {
bufStridesInBytes[i] = bufPlanes[i].rowStrideInBytes;
}
IIonImageBufferHeap::AllocImgParam_t const allocImgParam(
format, imgSize,
bufStridesInBytes, bufBoundaryInBytes,
bufPlanes.size()
);
MY_LOGD("format=0x%x, imgSize=%dx%d, stride=%zu\n",format, imgSize.w, imgSize.h, bufStridesInBytes[0]);
mpPool_HalImageRAW10 = new HalImageStreamBuffer::Allocator::StreamBufferPoolT(
pStreamInfo->getStreamName(),
HalImageStreamBuffer::Allocator(pStreamInfo.get(), allocImgParam)
);
MERROR err = mpPool_HalImageRAW10->initPool("Tester", pStreamInfo->getMaxBufNum(), pStreamInfo->getMinInitBufNum());
if ( err ) {
MY_LOGE("mpPool_ImageRAW10 init fail");
}
}
//Hal:Image: RAW16
{
StreamId_T const streamId = STREAM_ID_OUT;
MSize const imgSize(4176, 3088);
MINT const format = eImgFmt_RAW16;
MUINT const usage = eBUFFER_USAGE_SW_MASK;
IImageStreamInfo::BufPlanes_t bufPlanes;
//[++]
IImageStreamInfo::BufPlane bufPlane;
bufPlane.rowStrideInBytes = imgSize.w * 2;
bufPlane.sizeInBytes = bufPlane.rowStrideInBytes * imgSize.h;
bufPlanes.push_back(bufPlane);
//
sp<ImageStreamInfo>
pStreamInfo = new ImageStreamInfo(
"Hal:Image: RAW16",
streamId,
eSTREAMTYPE_IMAGE_INOUT,
1, 1,
usage, format, imgSize, bufPlanes
);
pHalImageOut = pStreamInfo;
//
//
size_t bufStridesInBytes[3] = {0};
size_t bufBoundaryInBytes[3]= {0};
for (size_t i = 0; i < bufPlanes.size(); i++) {
bufStridesInBytes[i] = bufPlanes[i].rowStrideInBytes;
}
IIonImageBufferHeap::AllocImgParam_t const allocImgParam(
format, imgSize,
bufStridesInBytes, bufBoundaryInBytes,
bufPlanes.size()
);
//MY_LOGE("Jpeg format=%#x, imgSize=%dx%d\n",format, imgSize.w, imgSize.h);
mpPool_HalImageRAW16 = new HalImageStreamBuffer::Allocator::StreamBufferPoolT(
pStreamInfo->getStreamName(),
HalImageStreamBuffer::Allocator(pStreamInfo.get(), allocImgParam)
);
MERROR err = mpPool_HalImageRAW16->initPool("Tester", pStreamInfo->getMaxBufNum(), pStreamInfo->getMinInitBufNum());
if ( err ) {
MY_LOGE("mpPool_HalImageRAW16 init fail");
}
}
////////////////////////////////////////////////////////////////////////////
//
/////////////////////////////////////////////////////////////////////////////
printf("add stream to streamInfoset\n");
mpStreamInfoSet->editHalImage().addStream(pHalImageIn);
mpStreamInfoSet->editHalImage().addStream(pHalImageOut);
////////////////////////////////////////////////////////////////////////////
//
/////////////////////////////////////////////////////////////////////////////
//
//
printf("add stream to pipelineNodeMap\n");
mpPipelineNodeMap->setCapacity(1);
//
{
mpPipelineDAG->addNode(NODE_ID_NODE1);
ssize_t const tmpNodeIndex = mpPipelineNodeMap->add(NODE_ID_NODE1, mpNode1);
//
sp<IStreamInfoSetControl> const&
rpInpStreams = mpPipelineNodeMap->getNodeAt(tmpNodeIndex)->editInStreams();
sp<IStreamInfoSetControl> const&
rpOutStreams = mpPipelineNodeMap->getNodeAt(tmpNodeIndex)->editOutStreams();
//
// [input]
// Hal:Image:RAW10
// [output]
// Hal:Image:RAW16
rpInpStreams->editHalImage().addStream(pHalImageIn);
//
rpOutStreams->editHalImage().addStream(pHalImageOut);
//
// TODO: re-config flow
//P2Node::ConfigParams cfgParams;
//mpNode1->config(cfgParams);
}
//
#if (0)
{
//
mpPipelineDAG->addNode(NODE_ID_NODE2);
ssize_t const tmpNodeIndex = mpPipelineNodeMap->add(NODE_ID_NODE2, mpNode2);
}
//
mpPipelineDAG->addEdge(mpNode1->getNodeId(), mpNode2->getNodeId());
#endif
mpPipelineDAG->setRootNode(mpNode1->getNodeId());
for (size_t i = 0; i < mpPipelineNodeMap->size(); i++)
{
mpPipelineDAG->setNodeValue(mpPipelineNodeMap->nodeAt(i)->getNodeId(), i);
printf("setNodeValue%zu\n", i);
}
mpAppSimulator = new AppSimulator;
printf("prepareConfig - \n");
}
/******************************************************************************
*
******************************************************************************/
void
prepareRequest(android::sp<IPipelineFrameControl> &pFrame, const char *filename)
{
printf("prepare request\n");
pFrame = IPipelineFrameControl::create(0);
pFrame->setPipelineNodeMap(getPipelineNodeMapControl());
pFrame->setPipelineDAG(getPipelineDAG());
pFrame->setStreamInfoSet(getStreamInfoSet());
//RAW16 Node
{
IPipelineNode::NodeId_T const nodeId = NODE_ID_NODE1;
//
IPipelineFrame::InfoIOMapSet aInfoIOMapSet;
IPipelineFrame::ImageInfoIOMapSet& rImageInfoIOMapSet = aInfoIOMapSet.mImageInfoIOMapSet;
//
//
sp<IPipelineNodeMapControl::INode> pNodeExt = getPipelineNodeMapControl()->getNodeFor(nodeId);
sp<IStreamInfoSet const> pInStream = pNodeExt->getInStreams();
sp<IStreamInfoSet const> pOutStream= pNodeExt->getOutStreams();
//
// Image
{
IPipelineFrame::ImageInfoIOMap& rMap =
rImageInfoIOMapSet.editItemAt(rImageInfoIOMapSet.add());
//
//Input
for (size_t i = 0; i < pInStream->getImageInfoNum(); i++)
{
sp<IImageStreamInfo> p = pInStream->getImageInfoAt(i);
rMap.vIn.add(p->getStreamId(), p);
}
//
//Output
for (size_t i = 0; i < pOutStream->getImageInfoNum(); i++)
{
sp<IImageStreamInfo> p = pOutStream->getImageInfoAt(i);
rMap.vOut.add(p->getStreamId(), p);
}
}
//
pFrame->addInfoIOMapSet(nodeId, aInfoIOMapSet);
}
////////////////////////////////////////////////////////////////////////////
//
// pFrame->setStreamBufferSet(...);
//
////////////////////////////////////////////////////////////////////////////
//IAppPipeline::AppCallbackParams aAppCallbackParams;
//aAppCallbackParams.mpBuffersCallback = pAppSimulator;
sp<IStreamBufferSetControl> pBufferSetControl = IStreamBufferSetControl::create(
0, NULL
);
//
//
{
//
StreamId_T const streamId = STREAM_ID_IN;
//
sp<IImageStreamInfo> pStreamInfo = getStreamInfoSet()->getImageInfoFor(streamId);
sp<HalImageStreamBuffer> pStreamBuffer;
//
//acquireFromPool
MY_LOGD("[acquireFromPool] + %s ", pStreamInfo->getStreamName());
MERROR err = mpPool_HalImageRAW10->acquireFromPool(
"Tester", pStreamBuffer, ::s2ns(30)
);
MY_LOGD("[acquireFromPool] - %s %p err:%d", pStreamInfo->getStreamName(), pStreamBuffer.get(), err);
MY_LOGE_IF(OK!=err || pStreamBuffer==0, "pStreamBuffer==0");
//write raw10 to src buffer
{
sp<IImageBufferHeap> pImageBufferHeap = NULL;
IImageBuffer* pImageBuffer = NULL;
pImageBufferHeap = pStreamBuffer->tryWriteLock(LOG_TAG);
if (pImageBufferHeap == NULL) {
MY_LOGE("pImageBufferHeap == NULL");
}
pImageBuffer = pImageBufferHeap->createImageBuffer();
if (pImageBuffer == NULL) {
MY_LOGE("pImageBuffer == NULL");
}
//pImageBuffer->lockBuf(LOG_TAG, eBUFFER_USAGE_SW_MASK);
printf("load image:%s\n", filename);
pImageBuffer->loadFromFile(filename);
printf("@@BufSize = %zu\n",
pImageBuffer->getBufSizeInBytes(0));
//MY_LOGD("@@%x", *(reinterpret_cast<MINT8*>(pImageBuffer->getBufVA(0))));
//pImageBuffer->saveToFile("/data/raw16_result.raw");
//printf("@@BufSize = %zu",
// pImageBuffer->getBufSizeInBytes(0));
pImageBuffer->lockBuf(LOG_TAG, eBUFFER_USAGE_SW_MASK);
//pImageBuffer->getBufVA(0);
//pImageBuffer->saveToFile("/data/raw16_result.raw");
MY_LOGD("@@fist byte:%x", *(reinterpret_cast<MINT8*>(pImageBuffer->getBufVA(0))));
pImageBuffer->unlockBuf(LOG_TAG);
pStreamBuffer->unlock(LOG_TAG, pImageBufferHeap.get());
//saveToFile("/data/raw16_result.raw", STREAM_ID_IN);
}
ssize_t userGroupIndex = 0;
//User Group1
{
sp<IUsersManager::IUserGraph> pUserGraph = pStreamBuffer->createGraph();
IUsersManager::User user;
//
user.mUserId = NODE_ID_NODE1;
user.mCategory = IUsersManager::Category::CONSUMER;
user.mUsage = pStreamInfo->getUsageForAllocator();
pUserGraph->addUser(user);
userGroupIndex = pStreamBuffer->enqueUserGraph(pUserGraph.get());
}
//
pBufferSetControl->editMap_HalImage()->add(pStreamBuffer);
}
{
//
StreamId_T const streamId = STREAM_ID_OUT;
//
sp<IImageStreamInfo> pStreamInfo = getStreamInfoSet()->getImageInfoFor(streamId);
sp<HalImageStreamBuffer> pStreamBuffer;
//
//acquireFromPool
MY_LOGD("[acquireFromPool] + %s ", pStreamInfo->getStreamName());
MERROR err = mpPool_HalImageRAW16->acquireFromPool(
"Tester", pStreamBuffer, ::s2ns(30)
);
MY_LOGD("[acquireFromPool] - %s %p err:%d", pStreamInfo->getStreamName(), pStreamBuffer.get(), err);
MY_LOGE_IF(OK!=err || pStreamBuffer==0, "pStreamBuffer==0");
//
ssize_t userGroupIndex = 0;
//User Group1
{
sp<IUsersManager::IUserGraph> pUserGraph = pStreamBuffer->createGraph();
IUsersManager::User user;
//
user.mUserId = NODE_ID_NODE1;
user.mCategory = IUsersManager::Category::PRODUCER;
user.mUsage = pStreamInfo->getUsageForAllocator();
pUserGraph->addUser(user);
userGroupIndex = pStreamBuffer->enqueUserGraph(pUserGraph.get());
}
pBufferSetControl->editMap_HalImage()->add(pStreamBuffer);
//mpHalImageStreamBuffer = pStreamBuffer;
}
//
pFrame->setStreamBufferSet(pBufferSetControl);
}
/******************************************************************************
*
******************************************************************************/
int main(/*int argc, char** argv*/)
{
printf("%s\n","start test");
//printf("Usage: test_raw16node <filename> <out_filename>\n");
//image size 4176x3088
//filename = argv[1];
//out_filename = argv[2];
const char *filename = "/sdcard/DCIM/Camera/testRaw123.raw";
const char *out_filename = "/sdcard/result16.raw";
printf("src=%s dst=%s\n", filename, out_filename);
mpNode1 = RAW16Node::createInstance();
//
MUINT32 frameNo = 0;
//
//init
{
struct RAW16Node::InitParams params;
params.openId = gSensorId;
params.nodeName = "Raw16Tester";
params.nodeId = NODE_ID_NODE1;
mpNode1->init(params);
};
//----------test 1 ------------//
//config
{
RAW16Node::ConfigParams params;
prepareConfig();
mpNode1->config(params);
}
//request
{
android::sp<IPipelineFrameControl> pFrame;
prepareRequest(pFrame, filename);
mpNode1->queue(pFrame);
}
printf("save to file\n");
saveToFile(out_filename, STREAM_ID_OUT);
usleep(100000);
//save to file
//flush
printf("flush\n");
mpNode1->flush();
//uninit
printf("uninit\n");
mpNode1->uninit();
mpPool_HalImageRAW16 = NULL;
printf("end of test\n");
MY_LOGD("end of test");
return 0;
}
| [
"Bret_liu@tw.shuttle.com"
] | Bret_liu@tw.shuttle.com |
5195560dca1af243d6b19d2a778eab0fffc92639 | dd949f215d968f2ee69bf85571fd63e4f085a869 | /tools/math/branches/dora-yr4-20120620/src/c++/math/Vector2.h | 16fc257370d0398b0fbc69a302c2616d01b0975a | [] | no_license | marc-hanheide/cogx | a3fd395805f1b0ad7d713a05b9256312757b37a9 | cb9a9c9cdfeba02afac6a83d03b7c6bb778edb95 | refs/heads/master | 2022-03-16T23:36:21.951317 | 2013-12-10T23:49:07 | 2013-12-10T23:49:07 | 219,460,352 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 14,359 | h | /**
* Yet another set of 2D vector utilities.
*
* Based on code by Marek Kopicky.
*
* A lot of set/get functions are provided to allow You to interface the Vector2
* class to representations or linear algebra packages You are already using.
*
* @author Michael Zillich
* @date February 2009
*/
#ifndef VECTOR2_H
#define VECTOR2_H
#include <iostream>
#include <vector>
#include <stdexcept>
#include <cast/core/CASTUtils.hpp>
#include <cogxmath_base.h>
#include <Math.hpp>
namespace cogx
{
namespace Math
{
using namespace std;
using namespace cast;
/**
* Initialises from 2 scalars.
*/
inline Vector2 vector2(double x, double y)
{
Vector2 a;
a.x = x;
a.y = y;
return a;
}
/**
* Access the data as an array.
* @return const array of 3 doubles
*/
inline const double *get(const Vector2 &a)
{
return &a.x;
}
/**
* Access the data as an array.
* @return array of 3 doubles
*/
inline double* get(Vector2 &a)
{
return &a.x;
}
/**
* Get an element specified via index.
*/
inline double get(const Vector2 &a, int idx) throw(runtime_error)
{
if(idx < 0 || idx > 1)
throw runtime_error(exceptionMessage(__HERE__,
"invlaid index %d must be [0,1]", idx));
return (&a.x)[idx];
}
/**
* Set an element specified via index.
*/
inline void set(Vector2 &a, int idx, double d) throw(runtime_error)
{
if(idx < 0 || idx > 1)
throw runtime_error(exceptionMessage(__HERE__,
"invlaid index %d must be [0,1]", idx));
(&a.x)[idx] = d;
}
/**
* Get the 2 values to a float array.
* @param v array of size at least offset + 2
* @param offset position where to start in the array
*/
inline void get(const Vector2 &a, float v[], size_t offset = 0)
{
v[offset] = (float)a.x;
v[offset + 1] = (float)a.y;
}
/**
* Get the 2 values to a double array.
* @param v array of size at least offset + 2
* @param offset position where to start in the array
*/
inline void get(const Vector2 &a, double v[], size_t offset = 0)
{
v[offset] = a.x;
v[offset + 1] = a.y;
}
/**
* Get the 2 values to a float STL vector.
* @param v STL vector of size at least offset + 2
* @param offset position where to start in the STL vector
*/
inline void get(const Vector2 &a, vector<float> &v, size_t offset = 0)
throw(runtime_error)
{
if(v.size() < offset + 2)
throw runtime_error(exceptionMessage(__HERE__,
"vector not big enough: %d < %d", (int)v.size(), (int)offset + 2));
v[offset] = (float)a.x;
v[offset + 1] = (float)a.y;
}
/**
* Get the 2 values to a double STL vector.
* @param v STL vector of size at least offset + 2
* @param offset position where to start in the STL vector
*/
inline void get(const Vector2 &a, vector<double> &v, size_t offset = 0)
throw(runtime_error)
{
if(v.size() < offset + 2)
throw runtime_error(exceptionMessage(__HERE__,
"vector not big enough: %d < %d", (int)v.size(), (int)offset + 2));
v[offset] = a.x;
v[offset + 1] = a.y;
}
/**
* Set from 2 scalar values.
*/
inline void set(Vector2 &a, double x, double y)
{
a.x = x;
a.y = y;
}
/**
* Set from 2 consecutive values in a float array.
* @param v array of size at least offset + 2
* @param offset position where to start in the array
*/
inline void set(Vector2 &a, const float v[], size_t offset = 0)
{
a.x = (double)v[offset];
a.y = (double)v[offset + 1];
}
/**
* Set from 2 consecutive values in a double array.
* @param v array of size at least offset + 2
* @param offset position where to start in the array
*/
inline void set(Vector2 &a, const double v[], size_t offset = 0)
{
a.x = v[offset];
a.y = v[offset + 1];
}
/**
* Set from 2 consecutive values in a float STL vector.
* @param v STL vector of size at least offset + 2
* @param offset position where to start in the STL vector
*/
inline void set(Vector2 &a, const vector<float> &v, size_t offset = 0)
throw(runtime_error)
{
if(v.size() < offset + 2)
throw runtime_error(exceptionMessage(__HERE__,
"vector not big enough: %d < %d", (int)v.size(), (int)offset + 2));
a.x = (double)v[offset];
a.y = (double)v[offset + 1];
}
/**
* Set from 2 consecutive values in a double STL vector.
* @param v STL vector of size at least offset + 2
* @param offset position where to start in the STL vector
*/
inline void set(Vector2 &a, const vector<double> &v, size_t offset = 0)
throw(runtime_error)
{
if(v.size() < offset + 2)
throw runtime_error(exceptionMessage(__HERE__,
"vector not big enough: %d < %d", (int)v.size(), (int)offset + 2));
a.x = (double)v[offset];
a.y = (double)v[offset + 1];
}
/**
* a = -a
*/
inline void setNegative(Vector2 &a)
{
a.x = -a.x;
a.y = -a.y;
}
inline void setZero(Vector2 &a)
{
a.x = REAL_ZERO;
a.y = REAL_ZERO;
}
/**
* Tests for exact zero vector.
*/
inline bool isZero(const Vector2 &a)
{
return iszero(a.x) && iszero(a.y);
}
/**
* Tests for elementwise positive vector.
*/
inline bool isPositive(const Vector2 &a)
{
return a.x > REAL_ZERO && a.y > REAL_ZERO;
}
/**
* Tests for elementwise negative vector.
*/
inline bool isNegative(const Vector2 &a)
{
return a.x < REAL_ZERO && a.y < REAL_ZERO;
}
/**
* Tests for finite vector.
*/
inline bool isFinite(const Vector2 &a)
{
return isfinite(a.x) && isfinite(a.y);
}
inline Vector2& operator += (Vector2 &a, const Vector2 &b)
{
a.x += b.x;
a.y += b.y;
return a;
}
inline Vector2& operator -= (Vector2 &a, const Vector2 &b)
{
a.x -= b.x;
a.y -= b.y;
return a;
}
inline Vector2& operator *= (Vector2 &a, double s)
{
a.x *= s;
a.y *= s;
return a;
}
inline Vector2& operator /= (Vector2 &a, double s) throw(runtime_error)
{
if(iszero(s))
throw runtime_error(exceptionMessage(__HERE__, "division by zero"));
a.x /= s;
a.y /= s;
return a;
}
/**
* Print a vector in text form to a stream: '[x y]'
*/
inline void writeText(ostream &os, const Vector2 &a)
{
os << '[' << a.x << ' ' << a.y << ']';
}
/**
* Read a vector in text form from a stream.
* The expected format is: '[x y]', white spaces are ignored.
*/
inline void readText(istream &is, Vector2 &a) throw(runtime_error)
{
char c;
is >> c;
if(c == '[')
{
is >> a.x >> a.y >> c;
if(c != ']')
throw runtime_error(exceptionMessage(__HERE__,
"error reading Vector2: ']' expected"));
}
else
throw runtime_error(exceptionMessage(__HERE__,
"error reading Vector2: '[' expected"));
}
/**
* Writing to a stream is taken to be a textual output, rather than a
* serialisation of the actual binary data.
*/
inline ostream& operator << (ostream &os, const Vector2 &a)
{
writeText(os, a);
return os;
}
/**
* Reading from a stream is taken to read a textual input, rather than
* de-serialising the actual binary data.
*/
inline istream& operator >> (istream &is, Vector2 &a)
{
readText(is, a);
return is;
}
/**
* Returns true if the two vectors are exactly equal.
*/
inline bool operator == (const Vector2 &a, const Vector2 &b)
{
return a.x == b.x && a.y == b.y;
}
/**
* Returns true if a and b's elems are within epsilon of each other.
*/
inline bool vequals(const Vector2& a, const Vector2& b, double eps)
{
return equals(a.x, b.x, eps) &&
equals(a.y, b.y, eps);
}
// Is now provided in Ice
// /**
// * Returns true if the two vectors are not exactly equal.
// */
// inline bool operator != (const Vector2 &a, const Vector2 &b)
// {
// return a.x != b.x || a.y != b.y;
// }
inline Vector2 operator - (const Vector2 &a)
{
return vector2(-a.x, -a.y);
}
inline Vector2 operator + (const Vector2 &a, const Vector2 &b)
{
return vector2(a.x + b.x, a.y + b.y);
}
inline Vector2 operator - (const Vector2 &a, const Vector2 &b)
{
return vector2(a.x - b.x, a.y - b.y);
}
inline Vector2 operator * (const double s, const Vector2 &a)
{
return vector2(a.x*s, a.y*s);
}
inline Vector2 operator * (const Vector2 &a, const double s)
{
return s*a;
}
inline Vector2 operator / (const Vector2 &a, const double s) throw(runtime_error)
{
if(iszero(s))
throw runtime_error(exceptionMessage(__HERE__, "division by zero"));
return vector2(a.x/s, a.y/s);
}
/**
* c = a + b
*/
inline void add(const Vector2& a, const Vector2& b, Vector2& c)
{
c.x = a.x + b.x;
c.y = a.y + b.y;
}
/**
* c = a - b
*/
inline void sub(const Vector2& a, const Vector2& b, Vector2& c)
{
c.x = a.x - b.x;
c.y = a.y - b.y;
}
/**
* c = s * a
*/
inline void mult(double s, const Vector2& a, Vector2& c)
{
c.x = a.x * s;
c.y = a.y * s;
}
/**
* c = s * a + b
*/
inline void multAdd(double s, const Vector2 &a, const Vector2 &b, Vector2 &c)
{
c.x = s*a.x + b.x;
c.y = s*a.y + b.y;
}
/**
* c = s * a + t * b
*/
inline void linear(double s, const Vector2 &a, double t, const Vector2 &b,
Vector2 &c)
{
c.x = s*a.x + t*b.x;
c.y = s*a.y + t*b.y;
}
inline double norm(const Vector2 &a)
{
return sqrt(sqr(a.x) + sqr(a.y));
}
inline double normSqr(const Vector2 &a)
{
return sqr(a.x) + sqr(a.y);
}
inline double length(const Vector2 &a)
{
return norm(a);
}
inline double lengthSqr(const Vector2 &a)
{
return normSqr(a);
}
/**
* Euclidian distance.
*/
inline double dist(const Vector2 &a, const Vector2 &b)
{
return sqrt(sqr(a.x - b.x) + sqr(a.y - b.y));
}
/**
* Squared euclidian distance.
*/
inline double distSqr(const Vector2 &a, const Vector2 &b)
{
return sqr(a.x - b.x) + sqr(a.y - b.y);
}
/**
* Normalises the vector, returns the length before normalisation.
*/
inline double normalise(Vector2 &a)
{
double n = norm(a);
a /= n;
return n;
}
/**
* Get any (clockwise or anti-clockwise) normal.
*/
inline Vector2 normal(const Vector2 &a)
{
return vector2(-a.y, a.x);
}
/**
* Get clockwise (mathematically negative) normal, i.e. rotation to the right.
* ATTENTION: For typical image co-ordinate systems with x-axis pointiing to
* the right and y-axis pointing downwards things are reversed: clockwise
* rotation in this case means rotation to the left.
*/
inline Vector2 normalClockwise(const Vector2 &a)
{
return vector2(a.y, -a.x);
}
/**
* Get anti-clockwise (mathematically positive) normal, i.e. rotation to the
* left.
* ATTENTION: For typical image co-ordinate systems with x-axis pointiing to
* the right and y-axis pointing downwards things are reversed: anti-clockwise
* rotation in this case means rotation to the right.
*/
inline Vector2 NormalAntiClockwise(const Vector2 &a)
{
return vector2(-a.y, a.x);
}
inline double polarAngle(const Vector2 &a)
{
return atan2(a.y, a.x);
}
/**
* Vector dot product.
*/
inline double dot(const Vector2 &a, const Vector2 &b)
{
return a.x*b.x + a.y*b.y;
}
/**
* Vector cross product.
* note: positive cross product a x b means b counterclockwise (i.e. left) to a
*/
inline double cross(const Vector2 &a, const Vector2 &b)
{
return a.x*b.y - a.y*b.x;
}
/**
* Returns true if b is counterclockwise to a.
* Same as left of.
*/
inline bool counterClockwiseTo(const Vector2 &a, const Vector2 &b)
{
return cross(a, b) > 0.;
}
/**
* Returns true if b is left of a.
* Same as counterclockwise.
*/
inline bool leftOf(const Vector2 &a, const Vector2 &b)
{
return counterClockwiseTo(a, b);
}
/**
* Returns true if b is clockwise to a.
* Same as right of.
*/
inline bool clockwiseTo(const Vector2 &a, const Vector2 &b)
{
return cross(a, b) < 0.;
}
/**
* Returns true if b is right of a.
* Same as clockwise.
*/
inline bool rightOf(const Vector2 &a, const Vector2 &b)
{
return clockwiseTo(a, b);
}
/**
* Midpoint between two points.
*/
inline Vector2 midPoint(const Vector2 &a, const Vector2 &b)
{
return vector2((a.x + b.x)/2., (a.y + b.y)/2.);
}
/**
* Rotate around angle given in [rad].
*/
inline Vector2 rotate(const Vector2 &a, double phi)
{
double si = sin(phi), co = cos(phi);
return vector2(co*a.x - si*a.y, si*a.x + co*a.y);
}
/**
* Returns signed distance of point q from line defined by point p and unit
* direction vector d.
*/
inline double distPointToLine(const Vector2 &q, const Vector2 &p,
const Vector2 &d)
{
Vector2 p_to_q = q - p;
return cross(p_to_q, d);
}
inline double absDistPointToLine(const Vector2 &q, const Vector2 &p,
const Vector2 &d)
{
return abs(distPointToLine(q, p, d));
}
/**
* Returns intersection of lines defined by point p and direction d (needs not
* be a unit vector).
*/
inline void lineIntersection(const Vector2 &p1, const Vector2 &d1,
const Vector2 &p2, const Vector2 &d2, Vector2 &i) throw(runtime_error)
{
double d = cross(d2, d1);
if(d == 0.)
throw runtime_error(exceptionMessage(__HERE__, "lines do not intersect"));
Vector2 p12 = p2 - p1;
double l = cross(d2, p12)/d;
set(i, p1.x + l*d1.x, p1.y + l*d1.y);
}
/**
* Returns intersection of lines defined by point p and direction d (needs not
* be a unit vector).
* l1 and l2 contain the lengths along the lines where the intersection lies,
* measured in lengths of d1 and d2.
* So if You want l1 and l2 in pixels, d1 and d2 must be unit vectors.
*/
inline void lineIntersection(const Vector2 &p1, const Vector2 &d1,
const Vector2 &p2, const Vector2 &d2, Vector2 &i, double &l1, double &l2)
throw(runtime_error)
{
double d = cross(d2, d1);
if(d == 0.)
throw runtime_error(exceptionMessage(__HERE__, "lines do not intersect"));
Vector2 p12 = p2 - p1;
l1 = cross(d2, p12)/d;
l2 = cross(d1, p12)/d;
set(i, p1.x + l1*d1.x, p1.y + l1*d1.y);
}
/**
* Checks whether lines a and b defined by their end points intersect.
*/
inline bool linesIntersecting(const Vector2 &a1, const Vector2 &a2,
const Vector2 &b1, const Vector2 &b2)
{
double l1 = 0., l2 = 0.;
Vector2 i;
Vector2 a12 = a2 - a1;
Vector2 b12 = b2 - b1;
lineIntersection(a1, a12, b1, b12, i, l1, l2);
return (l1 >= 0. && l1 <= 1.) && (l2 >= 0. && l2 <= 1.);
}
/*
* Calculate center of circle from 3 points.
* note: throws an exception if center cannot be calculated.
*/
inline void circleCenter(const Vector2 &pi, const Vector2 &pj,
const Vector2 &pk, Vector2 &c)
{
// throws an exception if intersection cannot be calculated
lineIntersection(
vector2((pi.x + pj.x)/2., (pi.y + pj.y)/2.),
vector2(pj.y - pi.y, pi.x - pj.x),
vector2((pj.x + pk.x)/2., (pj.y + pk.y)/2.),
vector2(pk.y - pj.y, pj.x - pk.x),
c);
}
}
}
#endif
| [
"krsj@9dca7cc1-ec4f-0410-aedc-c33437d64837"
] | krsj@9dca7cc1-ec4f-0410-aedc-c33437d64837 |
8a135348bda85a158d5ce7376dee829dc16df3fa | be11a31bdca043685f330b9662a49b04fe9f6caf | /Include/AGRLoader.h | 45cf9a38b2d743ded96d47dbfd7d70e3b9028bda | [
"MIT"
] | permissive | mBr001/Cinema-4D-Source-Tools | e5413b9aafae2a6743b5b18d0d34f1a018567588 | 130472179849d935a510bff670662d6eb62dc514 | refs/heads/master | 2020-07-05T13:18:20.862633 | 2018-07-15T06:47:01 | 2018-07-15T06:47:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,009 | h | // Copyright (c) 2018 Brett Anthony. All rights reserved.
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#ifndef ST_AGR_LOADER_H
#define ST_AGR_LOADER_H
#include "c4d.h"
#include "c4d_symbols.h"
#include "c4d_quaternion.h"
#include "fagrloader.h"
#include "fsmdloader.h"
#include "Globals.h"
#include <map>
#include <set>
#include "SMDLoader.h"
#include "stParseTools.h"
#include <vector>
namespace ST
{
struct AGRSettings
{
Filename RootModelDir;
};
class AGRData;
class ModelHandle;
//----------------------------------------------------------------------------------------
/// Allows the importing of Advanced Effects Game Recording (AGR) files.
//----------------------------------------------------------------------------------------
class AGRLoader : public SceneLoaderData
{
public:
Bool Init(GeListNode *node) { m_time[0] = -1; m_time[1] = -1; return true; }
Bool Identify(BaseSceneLoader* node, const Filename& name, UChar* probe, Int32 size);
FILEERROR Load(BaseSceneLoader* node, const Filename& name, BaseDocument* doc, SCENEFILTER filterflags, String* error, BaseThread* bt);
static NodeData* Alloc() { return NewObjClear(AGRLoader); }
private:
void AddToDictionary(const String &value);
String ReadFromDictionary(BaseFile &file);
Vector ReadVector(BaseFile &file, Bool quakeformat = false);
Vector ReadQAngle(BaseFile &file);
Quaternion ReadQuaternion(BaseFile &file);
std::map<Int32, ModelHandle*> m_handles;
std::vector<ModelHandle*> *m_FreeHandles;
std::map<Int32, String> m_dictionary;
Float32 m_time[2];
std::set<Int32> m_hiddenHandles;
std::set<Int32> m_deletedHandles;
std::map<Int32, AGRData> m_raw_data;
std::vector<Vector> CamPos;
std::vector<Vector> CamRot;
std::vector<Float32> CamFov;
Int32 frame;
};
class AGRData
{
public:
Filename Model;
std::vector<Vector> RootPos;
std::vector<Vector> RootRot;
std::vector<std::map<Int32, Vector>> BonePos;
std::vector<std::map<Int32, Quaternion>> BoneRot;
};
class ModelHandle
{
public:
ModelHandle() { m_skeleton = NewObj(std::vector<ST::SourceSkeletonBone*>); }
void Free(GeListNode *node) { DeletePtrVector(m_skeleton); }
//----------------------------------------------------------------------------------------
/// Builds the skeleton cache (m_skeleton) from a qc file.
///
/// @param[in] qc The qc file to build the skeleton from.
//----------------------------------------------------------------------------------------
void BuildSkeletonCache(Filename qc);
Filename Model;
BaseObject *Skeleton;
std::vector<ST::SourceSkeletonBone*> *m_skeleton;
};
}
//----------------------------------------------------------------------------------------
/// Registers the AGR Loader module.
///
/// @return Bool true if successful.
//----------------------------------------------------------------------------------------
Bool RegisterAGRLoader();
#endif | [
"nwpbusiness@gmail.com"
] | nwpbusiness@gmail.com |
6f0fafd05640118397592bc54e959a1ac96cc528 | 0c930838cc851594c9eceab6d3bafe2ceb62500d | /include/boost/numeric/bindings/traits/ublas_hermitian.hpp | 032e7a2321e1f0e0b93ab1c4b91c38b104d80d10 | [
"BSD-3-Clause"
] | permissive | quantmind/jflib | 377a394c17733be9294bbf7056dd8082675cc111 | cc240d2982f1f1e7e9a8629a5db3be434d0f207d | refs/heads/master | 2021-01-19T07:42:43.692197 | 2010-04-19T22:04:51 | 2010-04-19T22:04:51 | 439,289 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 4,680 | hpp | /*
*
* Copyright (c) 2002, 2003 Kresimir Fresl, Toon Knapen and Karl Meerbergen
*
* 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)
*
* KF acknowledges the support of the Faculty of Civil Engineering,
* University of Zagreb, Croatia.
*
*/
#ifndef BOOST_NUMERIC_BINDINGS_TRAITS_UBLAS_HERMITIAN_H
#define BOOST_NUMERIC_BINDINGS_TRAITS_UBLAS_HERMITIAN_H
#include <boost/numeric/bindings/traits/traits.hpp>
#ifndef BOOST_NUMERIC_BINDINGS_POOR_MANS_TRAITS
#ifndef BOOST_UBLAS_HAVE_BINDINGS
# include <boost/numeric/ublas/hermitian.hpp>
#endif
#include <boost/numeric/bindings/traits/ublas_matrix.hpp>
#include <boost/numeric/bindings/traits/detail/ublas_uplo.hpp>
namespace boost { namespace numeric { namespace bindings { namespace traits {
// ublas::hermitian_matrix<>
template <typename T, typename F1, typename F2, typename A, typename M>
struct matrix_detail_traits<boost::numeric::ublas::hermitian_matrix<T, F1, F2, A>, M>
{
#ifndef BOOST_NUMERIC_BINDINGS_NO_SANITY_CHECK
BOOST_STATIC_ASSERT( (boost::is_same<boost::numeric::ublas::hermitian_matrix<T, F1, F2, A>, typename boost::remove_const<M>::type>::value) );
#endif
#ifdef BOOST_BINDINGS_FORTRAN
BOOST_STATIC_ASSERT((boost::is_same<
typename F2::orientation_category,
boost::numeric::ublas::column_major_tag
>::value));
#endif
typedef boost::numeric::ublas::hermitian_matrix<T, F1, F2, A> identifier_type;
typedef M matrix_type;
typedef hermitian_packed_t matrix_structure;
typedef typename detail::ublas_ordering<
typename F2::orientation_category
>::type ordering_type;
typedef typename detail::ublas_uplo< F1 >::type uplo_type;
typedef T value_type ;
typedef typename detail::generate_const<M,T>::type* pointer ;
static pointer storage (matrix_type& hm) {
typedef typename detail::generate_const<M,A>::type array_type ;
return vector_traits<array_type>::storage (hm.data());
}
static std::ptrdiff_t num_rows (matrix_type& hm) { return hm.size1(); }
static std::ptrdiff_t num_columns (matrix_type& hm) { return hm.size2(); }
};
namespace detail {
template <typename M>
std::ptrdiff_t matrix_bandwidth( M const& m, upper_t ) {
return matrix_traits<M const>::upper_bandwidth( m ) ;
}
template <typename M>
std::ptrdiff_t matrix_bandwidth( M const& m, lower_t ) {
// When the lower triangular band matrix is stored the
// upper bandwidth must be zero
assert( 0 == matrix_traits<M const>::upper_bandwidth( m ) ) ;
return matrix_traits<M const>::lower_bandwidth( m ) ;
}
} // namespace detail
// ublas::hermitian_adaptor<>
template <typename M, typename F1, typename MA>
struct matrix_detail_traits<boost::numeric::ublas::hermitian_adaptor<M, F1>, MA>
{
#ifndef BOOST_NUMERIC_BINDINGS_NO_SANITY_CHECK
BOOST_STATIC_ASSERT( (boost::is_same<boost::numeric::ublas::hermitian_adaptor<M, F1>, typename boost::remove_const<MA>::type>::value) );
#endif
typedef boost::numeric::ublas::hermitian_adaptor<M, F1> identifier_type;
typedef MA matrix_type;
typedef hermitian_t matrix_structure;
typedef typename matrix_traits<M>::ordering_type ordering_type;
typedef typename detail::ublas_uplo< F1 >::type uplo_type;
typedef typename M::value_type value_type;
typedef typename detail::generate_const<MA, value_type>::type* pointer;
private:
typedef typename detail::generate_const<MA, typename MA::matrix_closure_type>::type m_type;
public:
static pointer storage (matrix_type& hm) {
return matrix_traits<m_type>::storage (hm.data());
}
static std::ptrdiff_t num_rows (matrix_type& hm) { return hm.size1(); }
static std::ptrdiff_t num_columns (matrix_type& hm) { return hm.size2(); }
static std::ptrdiff_t leading_dimension (matrix_type& hm) {
return matrix_traits<m_type>::leading_dimension (hm.data());
}
// For banded M
static std::ptrdiff_t upper_bandwidth(matrix_type& hm) {
return detail::matrix_bandwidth( hm.data(), uplo_type() );
}
static std::ptrdiff_t lower_bandwidth(matrix_type& hm) {
return detail::matrix_bandwidth( hm.data(), uplo_type() );
}
};
}}}}
#endif // BOOST_NUMERIC_BINDINGS_POOR_MANS_TRAITS
#endif // BOOST_NUMERIC_BINDINGS_TRAITS_UBLAS_HERMITIAN_H
| [
"info@quantmind.com"
] | info@quantmind.com |
1bb2d02f73bd6525d52bf9cd17083ad043ed3eeb | 39c56def456a50abedd7368d13a9de880955bfa1 | /Boletin2N/Ejercicio19/main.cpp | df9e95ccf03ea86c35fdc73e1da6d097d89a94d7 | [] | no_license | Axyz1398/Boletines | 10ef4bef02e16f542c9c5d8fe0ec1d546adf1ec1 | 9c76aa3f4e64d773889cd659a02510a8bebeb605 | refs/heads/master | 2020-12-09T07:26:18.623000 | 2020-01-11T13:26:43 | 2020-01-11T13:26:43 | 233,236,366 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 581 | cpp | #include "cabecera.h"
#include <iostream>
using namespace std;
int main()
{
int num;
int div;
cout << "Introduzca el dividendo: ";
cin >> num;
cout << "Introduzca el divisor: ";
cin >> div;
cout << "---------NO FINAL----------"<<endl;
muestra(funcionNF(num,div));
cout << "****************************"<<endl;
cout << "------------FINAL----------"<<endl;
muestra(funcionF(num,div));
cout << "****************************"<<endl;
cout << "---------ITERATIVO----------"<<endl;
muestra(funcionI(num,div));
cout << "****************************"<<endl;
return 0;
}
| [
"axyz1398@gmail.com"
] | axyz1398@gmail.com |
53e04d2cb76ce6493fd4008066806e7913d80e5b | f50da5dfb1d27cf737825705ce5e286bde578820 | /Temp/il2cppOutput/il2cppOutput/mscorlib_System_Nullable_1_gen2303330647.h | 33dde5c4a7c6c83abf372743a357ea37cb4c43e7 | [] | no_license | magonicolas/OXpecker | 03f0ea81d0dedd030d892bfa2afa4e787e855f70 | f08475118dc8f29fc9c89aafea5628ab20c173f7 | refs/heads/master | 2020-07-05T11:07:21.694986 | 2016-09-12T16:20:33 | 2016-09-12T16:20:33 | 67,150,904 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,422 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_ValueType4014882752.h"
#include "mscorlib_System_DateTimeOffset3712260035.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Nullable`1<System.DateTimeOffset>
struct Nullable_1_t2303330647
{
public:
// T System.Nullable`1::value
DateTimeOffset_t3712260035 ___value_0;
// System.Boolean System.Nullable`1::has_value
bool ___has_value_1;
public:
inline static int32_t get_offset_of_value_0() { return static_cast<int32_t>(offsetof(Nullable_1_t2303330647, ___value_0)); }
inline DateTimeOffset_t3712260035 get_value_0() const { return ___value_0; }
inline DateTimeOffset_t3712260035 * get_address_of_value_0() { return &___value_0; }
inline void set_value_0(DateTimeOffset_t3712260035 value)
{
___value_0 = value;
}
inline static int32_t get_offset_of_has_value_1() { return static_cast<int32_t>(offsetof(Nullable_1_t2303330647, ___has_value_1)); }
inline bool get_has_value_1() const { return ___has_value_1; }
inline bool* get_address_of_has_value_1() { return &___has_value_1; }
inline void set_has_value_1(bool value)
{
___has_value_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
| [
"magonicolas@gmail.com"
] | magonicolas@gmail.com |
3823dc465196493bc1313f97a5040440f620e3ba | 6253ab92ce2e85b4db9393aa630bde24655bd9b4 | /Common/Ibeo/IbeoTahoeCalibration.h | e58f3b0ab7b8d6fe16ec041401df1c40bacbd649 | [] | no_license | Aand1/cornell-urban-challenge | 94fd4df18fd4b6cc6e12d30ed8eed280826d4aed | 779daae8703fe68e7c6256932883de32a309a119 | refs/heads/master | 2021-01-18T11:57:48.267384 | 2008-10-01T06:43:18 | 2008-10-01T06:43:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,468 | h | #ifndef IBEO_TAHOE_CALIBRATION_H_SEPT_28_2007_SVL5
#define IBEO_TAHOE_CALIBRATION_H_SEPT_28_2007_SVL5
#include "../Math/Angle.h"
#include "../Fusion/Sensor.h"
#define __IBEO_SENSOR_CALIBRATION_CHEAT\
inline Sensor SensorCalibration(){\
Sensor ret;\
ret.SensorX = x;\
ret.SensorY = y;\
ret.SensorZ = z;\
ret.SensorYaw = yaw;\
ret.SensorPitch = pitch;\
ret.SensorRoll = roll;\
return ret;\
}
#define __IBEO_CALIBRATION_XYZ_YPR_RAD(X,Y,Z,YAW,PITCH,ROLL)\
const float x=(float)X),y=(float)(Y),z=(float)(Z),yaw=(float)(YAW),pitch=(float)(PITCH),roll=(float)(ROLL);\
__IBEO_SENSOR_CALIBRATION_CHEAT;
#define __IBEO_CALIBRATION_XYZ_YPR_DEG(X,Y,Z,YAW,PITCH,ROLL)\
const float x=(float)(X),y=(float)(Y),z=(float)(Z),yaw=Deg2Rad((float)(YAW)),pitch=Deg2Rad((float)(PITCH)),roll=Deg2Rad((float)(ROLL));\
__IBEO_SENSOR_CALIBRATION_CHEAT;
// all parameters IMU-relative
namespace IBEO_CALIBRATION{
namespace AUG_2007{
namespace FRONT_LEFT{
__IBEO_CALIBRATION_XYZ_YPR_DEG(3.5306,0.8,-0.5118,37.05,-1.1,-0.9);
}
namespace FRONT_CENTER{
__IBEO_CALIBRATION_XYZ_YPR_DEG(3.6449,0.0f,-0.0508,0,0,0);
}
namespace FRONT_RIGHT{
__IBEO_CALIBRATION_XYZ_YPR_DEG(3.5306,-0.8,-0.5118,-41.5,-.7,1);
}
}
namespace SEPT_21_2007{
namespace FRONT_LEFT{
__IBEO_CALIBRATION_XYZ_YPR_DEG(3.5306,0.8,-0.4118,-37.05,1.1,0.4);
}
namespace FRONT_CENTER{
__IBEO_CALIBRATION_XYZ_YPR_DEG(3.6449,0.0f,-0.0508,0,0,0);
}
namespace FRONT_RIGHT{
__IBEO_CALIBRATION_XYZ_YPR_DEG(3.5306,-0.8,-0.4118,41.5,.7,-.2);
}
}
namespace OCT_2_2007{
namespace FRONT_LEFT{
__IBEO_CALIBRATION_XYZ_YPR_DEG(3.5306,0.8,-0.4118,-37.05,1.1,0.4);
}
namespace FRONT_CENTER{
__IBEO_CALIBRATION_XYZ_YPR_DEG(3.6449,0.0f,-0.0508,0,0,0);
}
namespace FRONT_RIGHT{
__IBEO_CALIBRATION_XYZ_YPR_DEG(3.5306,-0.8,-0.4118,41.5,.9,-.3);
}
}
//OCT_2_2007
namespace CURRENT{
namespace FRONT_LEFT{
__IBEO_CALIBRATION_XYZ_YPR_DEG(3.5306,0.8,-0.4118,-37.05,1.1,0.4);
}
namespace FRONT_CENTER{
__IBEO_CALIBRATION_XYZ_YPR_DEG(3.6449,0.0f,-0.0508,0,0,0);
}
namespace FRONT_RIGHT{
__IBEO_CALIBRATION_XYZ_YPR_DEG(3.5306,-0.8,-0.4118,41.5,1,-.4);
}
}
};
#endif //IBEO_TAHOE_CALIBRATION_H_SEPT_28_2007_SVL5
| [
"anathan@5031bdca-8e6f-11dd-8a4e-8714b3728bc5"
] | anathan@5031bdca-8e6f-11dd-8a4e-8714b3728bc5 |
5b16a48522c9726ba1b3d41695f0311fd0f46f77 | 0f1ecb7f55872201aa12ae370482f2f37a8b1c32 | /1207_Unique_Number_of_Occurrences.cpp | 79497753eeff5aff8d53704ace98ef8f50136cb3 | [] | no_license | ketkimnaik/Algorithms | ed0c38d3f966be31e9f77f46a9c79adc2d635e73 | 178421c5bab10f18ddd11f865e3eba7b9645ddff | refs/heads/master | 2020-08-22T19:26:30.216871 | 2020-07-29T06:53:47 | 2020-07-29T06:53:47 | 216,464,387 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 410 | cpp | class Solution {
public:
bool uniqueOccurrences(vector<int>& arr) {
unordered_map<int, int> m;
unordered_map<int,int> mp;
for(auto &i : arr)
m[i]++;
for(auto it = m.begin(); it != m.end(); ++it) {
mp[it->second]++;
if(mp[it->second] > 1)
return false;
}
return true;
}
}; | [
"ketkimnaik@gmail.com"
] | ketkimnaik@gmail.com |
5aec8e06f61e6fa51b07857b28df02ab3001e38c | 12a149c91541243f7e0f9b9e834e7cea3be83ab9 | /chrome/browser/apps/app_service/app_platform_metrics.cc | 8ddbb9a8dc30573a06095ad2bd9e6834d3a8b39b | [
"BSD-3-Clause"
] | permissive | liutao5/chromium | 6840deed48ae77e961cbf7969519d6adcfecab31 | b4da5b0d03ed5f5f1961caca5e3b1e68889cdfcc | refs/heads/main | 2023-06-28T18:05:01.192638 | 2021-09-03T07:28:50 | 2021-09-03T07:28:50 | 402,694,820 | 1 | 0 | BSD-3-Clause | 2021-09-03T08:08:55 | 2021-09-03T08:08:54 | null | UTF-8 | C++ | false | false | 46,245 | cc | // Copyright 2021 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/apps/app_service/app_platform_metrics.h"
#include <set>
#include "base/containers/contains.h"
#include "base/json/values_util.h"
#include "base/metrics/histogram_functions.h"
#include "base/no_destructor.h"
#include "chrome/browser/apps/app_service/app_service_metrics.h"
#include "chrome/browser/apps/app_service/app_service_proxy.h"
#include "chrome/browser/apps/app_service/app_service_proxy_factory.h"
#include "chrome/browser/ash/policy/core/browser_policy_connector_ash.h"
#include "chrome/browser/ash/profiles/profile_helper.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/browser_process_platform_part.h"
#include "chrome/browser/extensions/launch_util.h"
#include "chrome/browser/metrics/usertype_by_devicetype_metrics_provider.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/sync/sync_service_factory.h"
#include "chrome/browser/ui/app_list/arc/arc_app_utils.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/extensions/application_launch.h"
#include "chrome/browser/web_applications/web_app.h"
#include "chrome/browser/web_applications/web_app_provider.h"
#include "chrome/browser/web_applications/web_app_registrar.h"
#include "components/prefs/pref_service.h"
#include "components/prefs/scoped_user_pref_update.h"
#include "components/services/app_service/public/cpp/app_update.h"
#include "components/sync/base/model_type.h"
#include "components/sync/driver/sync_service.h"
#include "components/sync/driver/sync_service_utils.h"
#include "components/ukm/app_source_url_recorder.h"
#include "components/user_manager/user_manager.h"
#include "extensions/browser/extension_prefs.h"
#include "extensions/browser/extension_registry.h"
#include "extensions/common/constants.h"
#include "extensions/common/extension.h"
#include "services/metrics/public/cpp/ukm_builders.h"
#include "services/metrics/public/cpp/ukm_recorder.h"
#include "ui/aura/window.h"
namespace {
// UMA metrics for a snapshot count of installed apps.
constexpr char kAppsCountHistogramPrefix[] = "Apps.AppsCount.";
constexpr char kAppsCountPerInstallSourceHistogramPrefix[] =
"Apps.AppsCountPerInstallSource.";
constexpr char kAppsRunningDurationHistogramPrefix[] = "Apps.RunningDuration.";
constexpr char kAppsRunningPercentageHistogramPrefix[] =
"Apps.RunningPercentage.";
constexpr char kAppsActivatedCountHistogramPrefix[] = "Apps.ActivatedCount.";
constexpr char kAppsUsageTimeHistogramPrefix[] = "Apps.UsageTime.";
constexpr char kAppsUsageTimeHistogramPrefixV2[] = "Apps.UsageTimeV2.";
constexpr char kAppPreviousReadinessStatus[] = "Apps.PreviousReadinessStatus.";
constexpr char kInstallSourceUnknownHistogram[] = "Unknown";
constexpr char kInstallSourceSystemHistogram[] = "System";
constexpr char kInstallSourcePolicyHistogram[] = "Policy";
constexpr char kInstallSourceOemHistogram[] = "Oem";
constexpr char kInstallSourcePreloadHistogram[] = "Preload";
constexpr char kInstallSourceSyncHistogram[] = "Sync";
constexpr char kInstallSourceUserHistogram[] = "User";
constexpr base::TimeDelta kMinDuration = base::TimeDelta::FromSeconds(1);
constexpr base::TimeDelta kMaxDuration = base::TimeDelta::FromDays(1);
constexpr base::TimeDelta kMaxUsageDuration = base::TimeDelta::FromMinutes(5);
constexpr int kDurationBuckets = 100;
constexpr int kUsageTimeBuckets = 50;
std::set<apps::AppTypeName>& GetAppTypeNameSet() {
static base::NoDestructor<std::set<apps::AppTypeName>> app_type_name_map;
if (app_type_name_map->empty()) {
app_type_name_map->insert(apps::AppTypeName::kArc);
app_type_name_map->insert(apps::AppTypeName::kBuiltIn);
app_type_name_map->insert(apps::AppTypeName::kCrostini);
app_type_name_map->insert(apps::AppTypeName::kChromeApp);
app_type_name_map->insert(apps::AppTypeName::kWeb);
app_type_name_map->insert(apps::AppTypeName::kMacOs);
app_type_name_map->insert(apps::AppTypeName::kPluginVm);
app_type_name_map->insert(apps::AppTypeName::kStandaloneBrowser);
app_type_name_map->insert(apps::AppTypeName::kRemote);
app_type_name_map->insert(apps::AppTypeName::kBorealis);
app_type_name_map->insert(apps::AppTypeName::kSystemWeb);
app_type_name_map->insert(apps::AppTypeName::kChromeBrowser);
app_type_name_map->insert(apps::AppTypeName::kStandaloneBrowserExtension);
}
return *app_type_name_map;
}
// Determines what app type a Chrome App should be logged as based on its launch
// container and app id. In particular, Chrome apps in tabs are logged as part
// of Chrome browser.
apps::AppTypeName GetAppTypeNameForChromeApp(
Profile* profile,
const std::string& app_id,
apps::mojom::LaunchContainer container) {
if (app_id == extension_misc::kChromeAppId) {
return apps::AppTypeName::kChromeBrowser;
}
DCHECK(profile);
extensions::ExtensionRegistry* registry =
extensions::ExtensionRegistry::Get(profile);
DCHECK(registry);
const extensions::Extension* extension =
registry->GetInstalledExtension(app_id);
if (!extension || !extension->is_app()) {
return apps::AppTypeName::kUnknown;
}
if (CanLaunchViaEvent(extension)) {
return apps::AppTypeName::kChromeApp;
}
switch (container) {
case apps::mojom::LaunchContainer::kLaunchContainerWindow:
return apps::AppTypeName::kChromeApp;
case apps::mojom::LaunchContainer::kLaunchContainerTab:
return apps::AppTypeName::kChromeBrowser;
default:
break;
}
apps::mojom::LaunchContainer launch_container =
extensions::GetLaunchContainer(extensions::ExtensionPrefs::Get(profile),
extension);
if (launch_container == apps::mojom::LaunchContainer::kLaunchContainerTab) {
return apps::AppTypeName::kChromeBrowser;
}
return apps::AppTypeName::kChromeApp;
}
// Determines what app type a web app should be logged as based on its launch
// container and app id. In particular, web apps in tabs are logged as part of
// Chrome browser.
apps::AppTypeName GetAppTypeNameForWebApp(
Profile* profile,
const std::string& app_id,
apps::mojom::LaunchContainer container) {
apps::AppTypeName type_name = apps::AppTypeName::kChromeBrowser;
apps::mojom::WindowMode window_mode = apps::mojom::WindowMode::kBrowser;
apps::AppServiceProxyFactory::GetForProfile(profile)
->AppRegistryCache()
.ForOneApp(
app_id, [&type_name, &window_mode](const apps::AppUpdate& update) {
DCHECK(update.AppType() == apps::mojom::AppType::kWeb ||
update.AppType() == apps::mojom::AppType::kSystemWeb);
// For system web apps, the install source is |kSystem|.
// The app type may be kSystemWeb (system web apps in Ash when
// Lacros web apps are enabled), or kWeb (all other cases).
type_name =
(update.InstallSource() == apps::mojom::InstallSource::kSystem)
? apps::AppTypeName::kSystemWeb
: apps::AppTypeName::kWeb;
window_mode = update.WindowMode();
});
if (type_name != apps::AppTypeName::kWeb) {
return type_name;
}
switch (container) {
case apps::mojom::LaunchContainer::kLaunchContainerWindow:
return apps::AppTypeName::kWeb;
case apps::mojom::LaunchContainer::kLaunchContainerTab:
return apps::AppTypeName::kChromeBrowser;
default:
break;
}
if (window_mode == apps::mojom::WindowMode::kBrowser) {
return apps::AppTypeName::kChromeBrowser;
}
return apps::AppTypeName::kWeb;
}
std::string GetInstallSource(apps::mojom::InstallSource install_source) {
switch (install_source) {
case apps::mojom::InstallSource::kUnknown:
return kInstallSourceUnknownHistogram;
case apps::mojom::InstallSource::kSystem:
return kInstallSourceSystemHistogram;
case apps::mojom::InstallSource::kPolicy:
return kInstallSourcePolicyHistogram;
case apps::mojom::InstallSource::kOem:
return kInstallSourceOemHistogram;
case apps::mojom::InstallSource::kDefault:
return kInstallSourcePreloadHistogram;
case apps::mojom::InstallSource::kSync:
return kInstallSourceSyncHistogram;
case apps::mojom::InstallSource::kUser:
return kInstallSourceUserHistogram;
}
}
// Returns false if |window| is a Chrome app window or a standalone web app
// window. Otherwise, return true;
bool IsBrowser(aura::Window* window) {
Browser* browser = chrome::FindBrowserWithWindow(window->GetToplevelWindow());
if (!browser || browser->is_type_app() || browser->is_type_app_popup()) {
return false;
}
return true;
}
// Returns true if the app with |app_id| is opened as a tab in a browser window.
// Otherwise, return false;
bool IsAppOpenedInTab(apps::AppTypeName app_type_name,
const std::string& app_id) {
return app_type_name == apps::AppTypeName::kChromeBrowser &&
app_id != extension_misc::kChromeAppId;
}
// Determines what app type a web app should be logged as based on |window|. In
// particular, web apps in tabs are logged as part of Chrome browser.
apps::AppTypeName GetAppTypeNameForWebAppWindow(Profile* profile,
const std::string& app_id,
aura::Window* window) {
if (IsBrowser(window)) {
return apps::AppTypeName::kChromeBrowser;
}
if (GetAppTypeNameForWebApp(
profile, app_id,
apps::mojom::LaunchContainer::kLaunchContainerNone) ==
apps::AppTypeName::kSystemWeb) {
return apps::AppTypeName::kSystemWeb;
}
return apps::AppTypeName::kWeb;
}
// Returns AppTypeName used for app running metrics.
apps::AppTypeName GetAppTypeNameForWindow(Profile* profile,
apps::mojom::AppType app_type,
const std::string& app_id,
aura::Window* window) {
switch (app_type) {
case apps::mojom::AppType::kUnknown:
return apps::AppTypeName::kUnknown;
case apps::mojom::AppType::kArc:
return apps::AppTypeName::kArc;
case apps::mojom::AppType::kBuiltIn:
return apps::AppTypeName::kBuiltIn;
case apps::mojom::AppType::kCrostini:
return apps::AppTypeName::kCrostini;
case apps::mojom::AppType::kExtension:
return IsBrowser(window) ? apps::AppTypeName::kChromeBrowser
: apps::AppTypeName::kChromeApp;
case apps::mojom::AppType::kWeb:
return GetAppTypeNameForWebAppWindow(profile, app_id, window);
case apps::mojom::AppType::kMacOs:
return apps::AppTypeName::kMacOs;
case apps::mojom::AppType::kPluginVm:
return apps::AppTypeName::kPluginVm;
case apps::mojom::AppType::kStandaloneBrowser:
return apps::AppTypeName::kStandaloneBrowser;
case apps::mojom::AppType::kRemote:
return apps::AppTypeName::kRemote;
case apps::mojom::AppType::kBorealis:
return apps::AppTypeName::kBorealis;
case apps::mojom::AppType::kSystemWeb:
return apps::AppTypeName::kSystemWeb;
case apps::mojom::AppType::kStandaloneBrowserExtension:
return apps::AppTypeName::kStandaloneBrowserExtension;
}
}
// Returns AppTypeNameV2 used for app running metrics.
apps::AppTypeNameV2 GetAppTypeNameV2(Profile* profile,
apps::mojom::AppType app_type,
const std::string& app_id,
aura::Window* window) {
switch (app_type) {
case apps::mojom::AppType::kUnknown:
return apps::AppTypeNameV2::kUnknown;
case apps::mojom::AppType::kArc:
return apps::AppTypeNameV2::kArc;
case apps::mojom::AppType::kBuiltIn:
return apps::AppTypeNameV2::kBuiltIn;
case apps::mojom::AppType::kCrostini:
return apps::AppTypeNameV2::kCrostini;
case apps::mojom::AppType::kExtension:
return IsBrowser(window) ? apps::AppTypeNameV2::kChromeAppTab
: apps::AppTypeNameV2::kChromeAppWindow;
case apps::mojom::AppType::kWeb: {
apps::AppTypeName app_type_name =
GetAppTypeNameForWebAppWindow(profile, app_id, window);
if (app_type_name == apps::AppTypeName::kChromeBrowser) {
return apps::AppTypeNameV2::kWebTab;
} else if (app_type_name == apps::AppTypeName::kSystemWeb) {
return apps::AppTypeNameV2::kSystemWeb;
} else {
return apps::AppTypeNameV2::kWebWindow;
}
}
case apps::mojom::AppType::kMacOs:
return apps::AppTypeNameV2::kMacOs;
case apps::mojom::AppType::kPluginVm:
return apps::AppTypeNameV2::kPluginVm;
case apps::mojom::AppType::kStandaloneBrowser:
return apps::AppTypeNameV2::kStandaloneBrowser;
case apps::mojom::AppType::kRemote:
return apps::AppTypeNameV2::kRemote;
case apps::mojom::AppType::kBorealis:
return apps::AppTypeNameV2::kBorealis;
case apps::mojom::AppType::kSystemWeb:
return apps::AppTypeNameV2::kSystemWeb;
case apps::mojom::AppType::kStandaloneBrowserExtension:
return apps::AppTypeNameV2::kStandaloneBrowserExtension;
}
}
// Records the number of times Chrome OS apps are launched grouped by the launch
// source.
void RecordAppLaunchSource(apps::mojom::LaunchSource launch_source) {
base::UmaHistogramEnumeration("Apps.AppLaunchSource", launch_source);
}
// Records the number of times Chrome OS apps are launched grouped by the app
// type.
void RecordAppLaunchPerAppType(apps::AppTypeName app_type_name) {
if (app_type_name == apps::AppTypeName::kUnknown) {
return;
}
base::UmaHistogramEnumeration("Apps.AppLaunchPerAppType", app_type_name);
}
// Due to the privacy limitation, only ARC apps, Chrome apps and web apps(PWA),
// system web apps and builtin apps are recorded because they are synced to
// server/cloud, or part of OS. Other app types, e.g. Crostini, remote apps,
// etc, are not recorded. So returns true if the app_type_name is allowed to
// record UKM. Otherwise, returns false.
//
// See DD: go/app-platform-metrics-using-ukm for details.
bool ShouldRecordUkmForAppTypeName(apps::AppTypeName app_type_name) {
switch (app_type_name) {
case apps::AppTypeName::kArc:
case apps::AppTypeName::kBuiltIn:
case apps::AppTypeName::kChromeApp:
case apps::AppTypeName::kChromeBrowser:
case apps::AppTypeName::kWeb:
case apps::AppTypeName::kSystemWeb:
return true;
case apps::AppTypeName::kUnknown:
case apps::AppTypeName::kCrostini:
case apps::AppTypeName::kMacOs:
case apps::AppTypeName::kPluginVm:
case apps::AppTypeName::kStandaloneBrowser:
case apps::AppTypeName::kStandaloneBrowserExtension:
case apps::AppTypeName::kRemote:
case apps::AppTypeName::kBorealis:
return false;
}
}
int GetUserTypeByDeviceTypeMetrics() {
const user_manager::User* primary_user =
user_manager::UserManager::Get()->GetPrimaryUser();
DCHECK(primary_user);
DCHECK(primary_user->is_profile_created());
Profile* profile =
chromeos::ProfileHelper::Get()->GetProfileByUser(primary_user);
DCHECK(profile);
UserTypeByDeviceTypeMetricsProvider::UserSegment user_segment =
UserTypeByDeviceTypeMetricsProvider::GetUserSegment(profile);
policy::BrowserPolicyConnectorAsh* connector =
g_browser_process->platform_part()->browser_policy_connector_ash();
policy::MarketSegment device_segment =
connector->GetEnterpriseMarketSegment();
return UserTypeByDeviceTypeMetricsProvider::ConstructUmaValue(user_segment,
device_segment);
}
} // namespace
namespace apps {
constexpr char kAppRunningDuration[] =
"app_platform_metrics.app_running_duration";
constexpr char kAppActivatedCount[] =
"app_platform_metrics.app_activated_count";
constexpr char kArcHistogramName[] = "Arc";
constexpr char kBuiltInHistogramName[] = "BuiltIn";
constexpr char kCrostiniHistogramName[] = "Crostini";
constexpr char kChromeAppHistogramName[] = "ChromeApp";
constexpr char kWebAppHistogramName[] = "WebApp";
constexpr char kMacOsHistogramName[] = "MacOs";
constexpr char kPluginVmHistogramName[] = "PluginVm";
constexpr char kStandaloneBrowserHistogramName[] = "StandaloneBrowser";
constexpr char kRemoteHistogramName[] = "RemoteApp";
constexpr char kBorealisHistogramName[] = "Borealis";
constexpr char kSystemWebAppHistogramName[] = "SystemWebApp";
constexpr char kChromeBrowserHistogramName[] = "ChromeBrowser";
constexpr char kStandaloneBrowserExtensionHistogramName[] =
"StandaloneBrowserExtension";
constexpr char kChromeAppTabHistogramName[] = "ChromeAppTab";
constexpr char kChromeAppWindowHistogramName[] = "ChromeAppWindow";
constexpr char kWebAppTabHistogramName[] = "WebAppTab";
constexpr char kWebAppWindowHistogramName[] = "WebAppWindow";
std::string GetAppTypeHistogramName(apps::AppTypeName app_type_name) {
switch (app_type_name) {
case apps::AppTypeName::kUnknown:
return std::string();
case apps::AppTypeName::kArc:
return kArcHistogramName;
case apps::AppTypeName::kBuiltIn:
return kBuiltInHistogramName;
case apps::AppTypeName::kCrostini:
return kCrostiniHistogramName;
case apps::AppTypeName::kChromeApp:
return kChromeAppHistogramName;
case apps::AppTypeName::kWeb:
return kWebAppHistogramName;
case apps::AppTypeName::kMacOs:
return kMacOsHistogramName;
case apps::AppTypeName::kPluginVm:
return kPluginVmHistogramName;
case apps::AppTypeName::kStandaloneBrowser:
return kStandaloneBrowserHistogramName;
case apps::AppTypeName::kRemote:
return kRemoteHistogramName;
case apps::AppTypeName::kBorealis:
return kBorealisHistogramName;
case apps::AppTypeName::kSystemWeb:
return kSystemWebAppHistogramName;
case apps::AppTypeName::kChromeBrowser:
return kChromeBrowserHistogramName;
case apps::AppTypeName::kStandaloneBrowserExtension:
return kStandaloneBrowserExtensionHistogramName;
}
}
std::string GetAppTypeHistogramNameV2(apps::AppTypeNameV2 app_type_name) {
switch (app_type_name) {
case apps::AppTypeNameV2::kUnknown:
return std::string();
case apps::AppTypeNameV2::kArc:
return kArcHistogramName;
case apps::AppTypeNameV2::kBuiltIn:
return kBuiltInHistogramName;
case apps::AppTypeNameV2::kCrostini:
return kCrostiniHistogramName;
case apps::AppTypeNameV2::kChromeAppWindow:
return kChromeAppWindowHistogramName;
case apps::AppTypeNameV2::kChromeAppTab:
return kChromeAppTabHistogramName;
case apps::AppTypeNameV2::kWebWindow:
return kWebAppWindowHistogramName;
case apps::AppTypeNameV2::kWebTab:
return kWebAppTabHistogramName;
case apps::AppTypeNameV2::kMacOs:
return kMacOsHistogramName;
case apps::AppTypeNameV2::kPluginVm:
return kPluginVmHistogramName;
case apps::AppTypeNameV2::kStandaloneBrowser:
return kStandaloneBrowserHistogramName;
case apps::AppTypeNameV2::kRemote:
return kRemoteHistogramName;
case apps::AppTypeNameV2::kBorealis:
return kBorealisHistogramName;
case apps::AppTypeNameV2::kSystemWeb:
return kSystemWebAppHistogramName;
case apps::AppTypeNameV2::kChromeBrowser:
return kChromeBrowserHistogramName;
case apps::AppTypeNameV2::kStandaloneBrowserExtension:
return kStandaloneBrowserExtensionHistogramName;
}
}
const std::set<apps::AppTypeName>& GetAppTypeNameSet() {
return ::GetAppTypeNameSet();
}
apps::AppTypeName GetAppTypeName(Profile* profile,
apps::mojom::AppType app_type,
const std::string& app_id,
apps::mojom::LaunchContainer container) {
switch (app_type) {
case apps::mojom::AppType::kUnknown:
return apps::AppTypeName::kUnknown;
case apps::mojom::AppType::kArc:
return apps::AppTypeName::kArc;
case apps::mojom::AppType::kBuiltIn:
return apps::AppTypeName::kBuiltIn;
case apps::mojom::AppType::kCrostini:
return apps::AppTypeName::kCrostini;
case apps::mojom::AppType::kExtension:
return GetAppTypeNameForChromeApp(profile, app_id, container);
case apps::mojom::AppType::kWeb:
return GetAppTypeNameForWebApp(profile, app_id, container);
case apps::mojom::AppType::kMacOs:
return apps::AppTypeName::kMacOs;
case apps::mojom::AppType::kPluginVm:
return apps::AppTypeName::kPluginVm;
case apps::mojom::AppType::kStandaloneBrowser:
return apps::AppTypeName::kStandaloneBrowser;
case apps::mojom::AppType::kRemote:
return apps::AppTypeName::kRemote;
case apps::mojom::AppType::kBorealis:
return apps::AppTypeName::kBorealis;
case apps::mojom::AppType::kSystemWeb:
return apps::AppTypeName::kSystemWeb;
case apps::mojom::AppType::kStandaloneBrowserExtension:
return apps::AppTypeName::kStandaloneBrowserExtension;
}
}
void RecordAppLaunchMetrics(Profile* profile,
apps::mojom::AppType app_type,
const std::string& app_id,
apps::mojom::LaunchSource launch_source,
apps::mojom::LaunchContainer container) {
if (app_type == apps::mojom::AppType::kUnknown) {
return;
}
RecordAppLaunchSource(launch_source);
RecordAppLaunchPerAppType(
GetAppTypeName(profile, app_type, app_id, container));
auto* proxy = apps::AppServiceProxyFactory::GetForProfile(profile);
if (proxy && proxy->AppPlatformMetrics()) {
proxy->AppPlatformMetrics()->RecordAppLaunchUkm(app_type, app_id,
launch_source, container);
}
}
AppPlatformMetrics::BrowserToTab::BrowserToTab(
const Instance::InstanceKey& browser_key,
const Instance::InstanceKey& tab_key)
: browser_key(Instance::InstanceKey(browser_key)),
tab_key(Instance::InstanceKey(tab_key)) {}
AppPlatformMetrics::AppPlatformMetrics(
Profile* profile,
apps::AppRegistryCache& app_registry_cache,
InstanceRegistry& instance_registry)
: profile_(profile), app_registry_cache_(app_registry_cache) {
apps::AppRegistryCache::Observer::Observe(&app_registry_cache);
apps::InstanceRegistry::Observer::Observe(&instance_registry);
user_type_by_device_type_ = GetUserTypeByDeviceTypeMetrics();
InitRunningDuration();
}
AppPlatformMetrics::~AppPlatformMetrics() {
for (auto it : running_start_time_) {
running_duration_[it.second.app_type_name] +=
base::TimeTicks::Now() - it.second.start_time;
}
OnTenMinutes();
RecordAppsUsageTime();
}
// static
std::string AppPlatformMetrics::GetAppsCountHistogramNameForTest(
AppTypeName app_type_name) {
return kAppsCountHistogramPrefix + GetAppTypeHistogramName(app_type_name);
}
// static
std::string
AppPlatformMetrics::GetAppsCountPerInstallSourceHistogramNameForTest(
AppTypeName app_type_name,
apps::mojom::InstallSource install_source) {
return kAppsCountPerInstallSourceHistogramPrefix +
GetAppTypeHistogramName(app_type_name) + "." +
GetInstallSource(install_source);
}
// static
std::string AppPlatformMetrics::GetAppsRunningDurationHistogramNameForTest(
AppTypeName app_type_name) {
return kAppsRunningDurationHistogramPrefix +
GetAppTypeHistogramName(app_type_name);
}
// static
std::string AppPlatformMetrics::GetAppsRunningPercentageHistogramNameForTest(
AppTypeName app_type_name) {
return kAppsRunningPercentageHistogramPrefix +
GetAppTypeHistogramName(app_type_name);
}
// static
std::string AppPlatformMetrics::GetAppsActivatedCountHistogramNameForTest(
AppTypeName app_type_name) {
return kAppsActivatedCountHistogramPrefix +
GetAppTypeHistogramName(app_type_name);
}
std::string AppPlatformMetrics::GetAppsUsageTimeHistogramNameForTest(
AppTypeName app_type_name) {
return kAppsUsageTimeHistogramPrefix + GetAppTypeHistogramName(app_type_name);
}
std::string AppPlatformMetrics::GetAppsUsageTimeHistogramNameForTest(
AppTypeNameV2 app_type_name) {
return kAppsUsageTimeHistogramPrefix +
GetAppTypeHistogramNameV2(app_type_name);
}
void AppPlatformMetrics::OnNewDay() {
should_record_metrics_on_new_day_ = true;
RecordAppsCount(apps::mojom::AppType::kUnknown);
RecordAppsRunningDuration();
}
void AppPlatformMetrics::OnTenMinutes() {
if (should_refresh_activated_count_pref) {
should_refresh_activated_count_pref = false;
DictionaryPrefUpdate activated_count_update(profile_->GetPrefs(),
kAppActivatedCount);
for (auto it : activated_count_) {
std::string app_type_name = GetAppTypeHistogramName(it.first);
DCHECK(!app_type_name.empty());
activated_count_update->SetIntKey(app_type_name, it.second);
}
}
if (should_refresh_duration_pref) {
should_refresh_duration_pref = false;
DictionaryPrefUpdate running_duration_update(profile_->GetPrefs(),
kAppRunningDuration);
for (auto it : running_duration_) {
std::string app_type_name = GetAppTypeHistogramName(it.first);
DCHECK(!app_type_name.empty());
running_duration_update->SetPath(app_type_name,
base::TimeDeltaToValue(it.second));
}
}
}
void AppPlatformMetrics::OnFiveMinutes() {
RecordAppsUsageTime();
}
void AppPlatformMetrics::RecordAppLaunchUkm(
apps::mojom::AppType app_type,
const std::string& app_id,
apps::mojom::LaunchSource launch_source,
apps::mojom::LaunchContainer container) {
if (app_type == apps::mojom::AppType::kUnknown || !ShouldRecordUkm()) {
return;
}
apps::AppTypeName app_type_name =
GetAppTypeName(profile_, app_type, app_id, container);
if (!ShouldRecordUkmForAppTypeName(app_type_name)) {
return;
}
ukm::SourceId source_id = GetSourceId(app_id);
if (source_id == ukm::kInvalidSourceId) {
return;
}
ukm::builders::ChromeOSApp_Launch builder(source_id);
builder.SetAppType((int)app_type_name)
.SetLaunchSource((int)launch_source)
.SetUserDeviceMatrix(GetUserTypeByDeviceTypeMetrics())
.Record(ukm::UkmRecorder::Get());
ukm::AppSourceUrlRecorder::MarkSourceForDeletion(source_id);
}
void AppPlatformMetrics::RecordAppUninstallUkm(
apps::mojom::AppType app_type,
const std::string& app_id,
apps::mojom::UninstallSource uninstall_source) {
AppTypeName app_type_name =
GetAppTypeName(profile_, app_type, app_id,
apps::mojom::LaunchContainer::kLaunchContainerNone);
if (!ShouldRecordUkmForAppTypeName(app_type_name)) {
return;
}
ukm::SourceId source_id = GetSourceId(app_id);
if (source_id == ukm::kInvalidSourceId) {
return;
}
ukm::builders::ChromeOSApp_UninstallApp builder(source_id);
builder.SetAppType((int)app_type_name)
.SetUninstallSource((int)uninstall_source)
.SetUserDeviceMatrix(user_type_by_device_type_)
.Record(ukm::UkmRecorder::Get());
ukm::AppSourceUrlRecorder::MarkSourceForDeletion(source_id);
}
void AppPlatformMetrics::OnAppTypeInitialized(apps::mojom::AppType app_type) {
if (should_record_metrics_on_new_day_) {
RecordAppsCount(app_type);
}
initialized_app_types.insert(app_type);
}
void AppPlatformMetrics::OnAppRegistryCacheWillBeDestroyed(
apps::AppRegistryCache* cache) {
apps::AppRegistryCache::Observer::Observe(nullptr);
}
void AppPlatformMetrics::OnAppUpdate(const apps::AppUpdate& update) {
if (!ShouldRecordUkm()) {
return;
}
if (!update.ReadinessChanged() ||
update.Readiness() != apps::mojom::Readiness::kReady) {
return;
}
if (update.AppId() == extension_misc::kFilesManagerAppId ||
update.AppId() == arc::kPlayStoreAppId ||
update.AppId() == arc::kAndroidContactsAppId) {
RecordAppReadinessStatus(update);
}
InstallTime install_time =
base::Contains(initialized_app_types, update.AppType())
? InstallTime::kRunning
: InstallTime::kInit;
RecordAppsInstallUkm(update, install_time);
}
void AppPlatformMetrics::OnInstanceUpdate(const apps::InstanceUpdate& update) {
if (!update.StateChanged()) {
return;
}
auto app_id = update.AppId();
auto app_type = app_registry_cache_.GetAppType(app_id);
if (app_type == apps::mojom::AppType::kUnknown) {
return;
}
bool is_active = update.State() & apps::InstanceState::kActive;
if (is_active) {
auto* window = update.InstanceKey().GetEnclosingAppWindow();
AppTypeName app_type_name =
GetAppTypeNameForWindow(profile_, app_type, app_id, window);
if (app_type_name == apps::AppTypeName::kUnknown) {
return;
}
apps::InstanceState kInActivated = static_cast<apps::InstanceState>(
apps::InstanceState::kVisible | apps::InstanceState::kRunning);
// For the browser window, if a tab of the browser is activated, we don't
// need to calculate the browser window running time.
if (app_id == extension_misc::kChromeAppId &&
HasActivatedTab(update.InstanceKey())) {
SetWindowInActivated(app_id, update.InstanceKey(), kInActivated);
return;
}
// For web apps open in tabs, set the top browser window as inactive to stop
// calculating the browser window running time.
if (IsAppOpenedInTab(app_type_name, app_id)) {
RemoveActivatedTab(update.InstanceKey());
auto browser_key = Instance::InstanceKey::ForWindowBasedApp(window);
AddActivatedTab(browser_key, update.InstanceKey());
SetWindowInActivated(extension_misc::kChromeAppId, browser_key,
kInActivated);
}
AppTypeNameV2 app_type_name_v2 =
GetAppTypeNameV2(profile_, app_type, app_id, window);
SetWindowActivated(app_type, app_type_name, app_type_name_v2, app_id,
update.InstanceKey());
return;
}
AppTypeName app_type_name = AppTypeName::kUnknown;
auto it = running_start_time_.find(update.InstanceKey());
if (it != running_start_time_.end()) {
app_type_name = it->second.app_type_name;
}
if (IsAppOpenedInTab(app_type_name, app_id)) {
UpdateBrowserWindowStatus(update.InstanceKey());
}
SetWindowInActivated(app_id, update.InstanceKey(), update.State());
}
void AppPlatformMetrics::OnInstanceRegistryWillBeDestroyed(
apps::InstanceRegistry* cache) {
apps::InstanceRegistry::Observer::Observe(nullptr);
}
void AppPlatformMetrics::UpdateBrowserWindowStatus(
const Instance::InstanceKey& tab_key) {
auto* browser_window = GetBrowserWindow(tab_key);
if (!browser_window) {
return;
}
// Remove `instance_key` from `active_browser_to_tabs_`.
RemoveActivatedTab(tab_key);
// If there are other activated web app tab, we don't need to set the browser
// window as activated.
auto browser_key = Instance::InstanceKey::ForWindowBasedApp(browser_window);
if (HasActivatedTab(browser_key)) {
return;
}
auto* proxy = apps::AppServiceProxyFactory::GetForProfile(profile_);
DCHECK(proxy);
auto state = proxy->InstanceRegistry().GetState(browser_key);
if (state & InstanceState::kActive) {
// The browser window is activated, start calculating the browser window
// running time.
SetWindowActivated(apps::mojom::AppType::kExtension,
AppTypeName::kChromeBrowser,
AppTypeNameV2::kChromeBrowser,
extension_misc::kChromeAppId, browser_key);
}
}
bool AppPlatformMetrics::HasActivatedTab(
const Instance::InstanceKey& browser_key) {
for (const auto& it : active_browsers_to_tabs_) {
if (it.browser_key == browser_key) {
return true;
}
}
return false;
}
aura::Window* AppPlatformMetrics::GetBrowserWindow(
const Instance::InstanceKey& tab_key) const {
for (const auto& it : active_browsers_to_tabs_) {
if (it.tab_key == tab_key) {
return it.browser_key.GetEnclosingAppWindow();
}
}
return nullptr;
}
void AppPlatformMetrics::AddActivatedTab(
const Instance::InstanceKey& browser_key,
const Instance::InstanceKey& tab_key) {
bool found = false;
for (const auto& it : active_browsers_to_tabs_) {
if (it.browser_key == browser_key && it.tab_key == tab_key) {
found = true;
break;
}
}
if (!found) {
active_browsers_to_tabs_.push_back(BrowserToTab(browser_key, tab_key));
}
}
void AppPlatformMetrics::RemoveActivatedTab(
const Instance::InstanceKey& tab_key) {
active_browsers_to_tabs_.remove_if(
[&tab_key](const BrowserToTab& item) { return item.tab_key == tab_key; });
}
void AppPlatformMetrics::SetWindowActivated(
apps::mojom::AppType app_type,
AppTypeName app_type_name,
AppTypeNameV2 app_type_name_v2,
const std::string& app_id,
const apps::Instance::InstanceKey& instance_key) {
auto it = running_start_time_.find(instance_key);
if (it != running_start_time_.end()) {
return;
}
running_start_time_[instance_key].start_time = base::TimeTicks::Now();
running_start_time_[instance_key].app_type_name = app_type_name;
running_start_time_[instance_key].app_type_name_v2 = app_type_name_v2;
++activated_count_[app_type_name];
should_refresh_activated_count_pref = true;
start_time_per_five_minutes_[instance_key].start_time =
base::TimeTicks::Now();
start_time_per_five_minutes_[instance_key].app_type_name = app_type_name;
start_time_per_five_minutes_[instance_key].app_type_name_v2 =
app_type_name_v2;
start_time_per_five_minutes_[instance_key].app_id = app_id;
}
void AppPlatformMetrics::SetWindowInActivated(
const std::string& app_id,
const apps::Instance::InstanceKey& instance_key,
apps::InstanceState state) {
bool is_close = state & apps::InstanceState::kDestroyed;
auto usage_time_it = usage_time_per_five_minutes_.find(instance_key);
if (is_close && usage_time_it != usage_time_per_five_minutes_.end()) {
usage_time_it->second.window_is_closed = true;
}
auto it = running_start_time_.find(instance_key);
if (it == running_start_time_.end()) {
return;
}
AppTypeName app_type_name = it->second.app_type_name;
AppTypeNameV2 app_type_name_v2 = it->second.app_type_name_v2;
if (usage_time_it == usage_time_per_five_minutes_.end()) {
usage_time_per_five_minutes_[it->first].source_id = GetSourceId(app_id);
usage_time_it = usage_time_per_five_minutes_.find(it->first);
}
usage_time_it->second.app_type_name = app_type_name;
running_duration_[app_type_name] +=
base::TimeTicks::Now() - it->second.start_time;
base::TimeDelta running_time =
base::TimeTicks::Now() -
start_time_per_five_minutes_[instance_key].start_time;
app_type_running_time_per_five_minutes_[app_type_name] += running_time;
app_type_v2_running_time_per_five_minutes_[app_type_name_v2] += running_time;
usage_time_it->second.running_time += running_time;
running_start_time_.erase(it);
start_time_per_five_minutes_.erase(instance_key);
should_refresh_duration_pref = true;
}
void AppPlatformMetrics::InitRunningDuration() {
DictionaryPrefUpdate running_duration_update(profile_->GetPrefs(),
kAppRunningDuration);
DictionaryPrefUpdate activated_count_update(profile_->GetPrefs(),
kAppActivatedCount);
for (auto app_type_name : GetAppTypeNameSet()) {
std::string key = GetAppTypeHistogramName(app_type_name);
if (key.empty()) {
continue;
}
absl::optional<base::TimeDelta> unreported_duration =
base::ValueToTimeDelta(running_duration_update->FindPath(key));
if (unreported_duration.has_value()) {
running_duration_[app_type_name] = unreported_duration.value();
}
absl::optional<int> count = activated_count_update->FindIntPath(key);
if (count.has_value()) {
activated_count_[app_type_name] = count.value();
}
}
}
void AppPlatformMetrics::ClearRunningDuration() {
running_duration_.clear();
activated_count_.clear();
DictionaryPrefUpdate running_duration_update(profile_->GetPrefs(),
kAppRunningDuration);
running_duration_update->Clear();
DictionaryPrefUpdate activated_count_update(profile_->GetPrefs(),
kAppActivatedCount);
activated_count_update->Clear();
}
void AppPlatformMetrics::RecordAppsCount(apps::mojom::AppType app_type) {
std::map<AppTypeName, int> app_count;
std::map<AppTypeName, std::map<apps::mojom::InstallSource, int>>
app_count_per_install_source;
app_registry_cache_.ForEachApp(
[app_type, this, &app_count,
&app_count_per_install_source](const apps::AppUpdate& update) {
if (app_type != apps::mojom::AppType::kUnknown &&
(update.AppType() != app_type ||
update.AppId() == extension_misc::kChromeAppId)) {
return;
}
AppTypeName app_type_name =
GetAppTypeName(profile_, update.AppType(), update.AppId(),
apps::mojom::LaunchContainer::kLaunchContainerNone);
if (app_type_name == AppTypeName::kChromeBrowser ||
app_type_name == AppTypeName::kUnknown) {
return;
}
++app_count[app_type_name];
++app_count_per_install_source[app_type_name][update.InstallSource()];
});
for (auto it : app_count) {
std::string histogram_name = GetAppTypeHistogramName(it.first);
if (!histogram_name.empty() &&
histogram_name != kChromeBrowserHistogramName) {
// If there are more than a thousand apps installed, then that count is
// going into an overflow bucket. We don't expect this scenario to happen
// often.
base::UmaHistogramCounts1000(kAppsCountHistogramPrefix + histogram_name,
it.second);
for (auto install_source_it : app_count_per_install_source[it.first]) {
base::UmaHistogramCounts1000(
kAppsCountPerInstallSourceHistogramPrefix + histogram_name + "." +
GetInstallSource(install_source_it.first),
install_source_it.second);
}
}
}
}
void AppPlatformMetrics::RecordAppsRunningDuration() {
for (auto& it : running_start_time_) {
running_duration_[it.second.app_type_name] +=
base::TimeTicks::Now() - it.second.start_time;
it.second.start_time = base::TimeTicks::Now();
}
base::TimeDelta total_running_duration;
for (auto it : running_duration_) {
base::UmaHistogramCustomTimes(
kAppsRunningDurationHistogramPrefix + GetAppTypeHistogramName(it.first),
it.second, kMinDuration, kMaxDuration, kDurationBuckets);
total_running_duration += it.second;
}
if (!total_running_duration.is_zero()) {
for (auto it : running_duration_) {
base::UmaHistogramPercentage(kAppsRunningPercentageHistogramPrefix +
GetAppTypeHistogramName(it.first),
100 * (it.second / total_running_duration));
}
}
for (auto it : activated_count_) {
base::UmaHistogramCounts10000(
kAppsActivatedCountHistogramPrefix + GetAppTypeHistogramName(it.first),
it.second);
}
ClearRunningDuration();
}
void AppPlatformMetrics::RecordAppsUsageTime() {
for (auto& it : start_time_per_five_minutes_) {
base::TimeDelta running_time =
base::TimeTicks::Now() - it.second.start_time;
app_type_running_time_per_five_minutes_[it.second.app_type_name] +=
running_time;
app_type_v2_running_time_per_five_minutes_[it.second.app_type_name_v2] +=
running_time;
auto usage_time_it = usage_time_per_five_minutes_.find(it.first);
if (usage_time_it == usage_time_per_five_minutes_.end()) {
usage_time_per_five_minutes_[it.first].source_id =
GetSourceId(it.second.app_id);
usage_time_it = usage_time_per_five_minutes_.find(it.first);
}
usage_time_it->second.app_type_name = it.second.app_type_name;
usage_time_it->second.running_time += running_time;
it.second.start_time = base::TimeTicks::Now();
}
for (auto it : app_type_running_time_per_five_minutes_) {
base::UmaHistogramCustomTimes(
kAppsUsageTimeHistogramPrefix + GetAppTypeHistogramName(it.first),
it.second, kMinDuration, kMaxUsageDuration, kUsageTimeBuckets);
}
for (auto it : app_type_v2_running_time_per_five_minutes_) {
base::UmaHistogramCustomTimes(
kAppsUsageTimeHistogramPrefixV2 + GetAppTypeHistogramNameV2(it.first),
it.second, kMinDuration, kMaxUsageDuration, kUsageTimeBuckets);
}
app_type_running_time_per_five_minutes_.clear();
app_type_v2_running_time_per_five_minutes_.clear();
RecordAppsUsageTimeUkm();
}
void AppPlatformMetrics::RecordAppsUsageTimeUkm() {
if (!ShouldRecordUkm()) {
return;
}
std::vector<apps::Instance::InstanceKey> closed_window_instances;
for (auto& it : usage_time_per_five_minutes_) {
apps::AppTypeName app_type_name = it.second.app_type_name;
if (!ShouldRecordUkmForAppTypeName(app_type_name)) {
continue;
}
ukm::SourceId source_id = it.second.source_id;
if (source_id != ukm::kInvalidSourceId &&
!it.second.running_time.is_zero()) {
ukm::builders::ChromeOSApp_UsageTime builder(source_id);
builder.SetAppType((int)app_type_name)
.SetDuration(it.second.running_time.InMilliseconds())
.SetUserDeviceMatrix(user_type_by_device_type_)
.Record(ukm::UkmRecorder::Get());
}
if (it.second.window_is_closed) {
closed_window_instances.push_back(it.first);
ukm::AppSourceUrlRecorder::MarkSourceForDeletion(source_id);
} else {
it.second.running_time = base::TimeDelta();
}
}
for (const auto& closed_instance : closed_window_instances) {
usage_time_per_five_minutes_.erase(closed_instance);
}
}
void AppPlatformMetrics::RecordAppsInstallUkm(const apps::AppUpdate& update,
InstallTime install_time) {
AppTypeName app_type_name =
GetAppTypeName(profile_, update.AppType(), update.AppId(),
apps::mojom::LaunchContainer::kLaunchContainerNone);
if (!ShouldRecordUkmForAppTypeName(app_type_name)) {
return;
}
ukm::SourceId source_id = GetSourceId(update.AppId());
if (source_id == ukm::kInvalidSourceId) {
return;
}
ukm::builders::ChromeOSApp_InstalledApp builder(source_id);
builder.SetAppType((int)app_type_name)
.SetInstallSource((int)update.InstallSource())
.SetInstallTime((int)install_time)
.SetUserDeviceMatrix(user_type_by_device_type_)
.Record(ukm::UkmRecorder::Get());
ukm::AppSourceUrlRecorder::MarkSourceForDeletion(source_id);
}
bool AppPlatformMetrics::ShouldRecordUkm() {
switch (syncer::GetUploadToGoogleState(
SyncServiceFactory::GetForProfile(profile_), syncer::ModelType::APPS)) {
case syncer::UploadState::NOT_ACTIVE:
return false;
case syncer::UploadState::INITIALIZING:
// Note that INITIALIZING is considered good enough, because syncing apps
// is known to be enabled, and transient errors don't really matter here.
case syncer::UploadState::ACTIVE:
return true;
}
}
ukm::SourceId AppPlatformMetrics::GetSourceId(const std::string& app_id) {
ukm::SourceId source_id = ukm::kInvalidSourceId;
apps::mojom::AppType app_type = app_registry_cache_.GetAppType(app_id);
switch (app_type) {
case apps::mojom::AppType::kBuiltIn:
case apps::mojom::AppType::kExtension:
source_id = ukm::AppSourceUrlRecorder::GetSourceIdForChromeApp(app_id);
break;
case apps::mojom::AppType::kArc:
case apps::mojom::AppType::kWeb:
case apps::mojom::AppType::kSystemWeb: {
std::string publisher_id;
app_registry_cache_.ForOneApp(
app_id, [&publisher_id](const apps::AppUpdate& update) {
publisher_id = update.PublisherId();
});
if (publisher_id.empty()) {
return ukm::kInvalidSourceId;
}
if (app_type == apps::mojom::AppType::kArc) {
source_id = ukm::AppSourceUrlRecorder::GetSourceIdForArcPackageName(
publisher_id);
break;
}
source_id =
ukm::AppSourceUrlRecorder::GetSourceIdForPWA(GURL(publisher_id));
break;
}
case apps::mojom::AppType::kUnknown:
case apps::mojom::AppType::kCrostini:
case apps::mojom::AppType::kMacOs:
case apps::mojom::AppType::kPluginVm:
case apps::mojom::AppType::kStandaloneBrowser:
case apps::mojom::AppType::kStandaloneBrowserExtension:
case apps::mojom::AppType::kRemote:
case apps::mojom::AppType::kBorealis:
return ukm::kInvalidSourceId;
}
return source_id;
}
void AppPlatformMetrics::RecordAppReadinessStatus(
const apps::AppUpdate& update) {
std::string histogram_name = kAppPreviousReadinessStatus;
auto readiness = update.PriorReadiness();
if (update.AppId() == extension_misc::kFilesManagerAppId) {
histogram_name += "FileManager";
if (!base::Contains(initialized_app_types,
apps::mojom::AppType::kExtension)) {
readiness = apps::mojom::Readiness::kReady;
}
} else if (update.AppId() == arc::kPlayStoreAppId) {
histogram_name += "PlayStore";
if (!base::Contains(initialized_app_types, apps::mojom::AppType::kArc)) {
readiness = apps::mojom::Readiness::kReady;
}
} else if (update.AppId() == arc::kAndroidContactsAppId) {
histogram_name += "Contacts";
if (!base::Contains(initialized_app_types, apps::mojom::AppType::kArc)) {
readiness = apps::mojom::Readiness::kReady;
}
} else {
return;
}
base::UmaHistogramEnumeration(histogram_name, readiness);
}
} // namespace apps
| [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
8b9910e4abc5e4bc681d1fce2cbc72c88d646943 | 1edaa128b372b5894261de722f5161281c9f747c | /GLEANKernel/GLEANLib/Utility Classes/Numeric_utilities.h | d5015ff5d37bdfe9f078f92bf289991c75b32d6f | [
"MIT"
] | permissive | dekieras/GLEANKernel | 204878e82606871164f03dae91bb760cb2e3ad59 | fac01f025b65273be96c5ea677c0ce192c570799 | refs/heads/master | 2021-01-17T08:45:05.673100 | 2016-06-27T20:41:15 | 2016-06-27T20:41:15 | 62,086,577 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,323 | h | #ifndef NUMERIC_UTILITIES_H
#define NUMERIC_UTILITIES_H
#include <string>
// rounds x to an integer value returned in a double
double round_to_integer(double x);
// writes an integer value to a string
std::string int_to_string(int i);
// convert hours, minutes, and seconds to milliseconds (note long integer returned)
long time_convert(long hours, long minutes, long seconds);
// convert milliseconds into hours, minutes, seconds, and milliseconds
void time_convert(long time_ms, int& hours, int& minutes, int& seconds, int& milliseconds);
// convert milliseconds into hours, minutes, and double seconds
void time_convert(long time_ms, int& hours, int& minutes, double& seconds);
// compute the base 2 log of the supplied value
double logb2(double x);
/* Random variable generation */
// Returns a random integer in the range 0 ... range - 1 inclusive
int random_int(int range);
double unit_uniform_random_variable();
double uniform_random_variable(double mean, double deviation);
double unit_normal_random_variable();
double normal_random_variable(double mean, double sd);
double exponential_random_variable(double theta);
double floored_exponential_random_variable(double theta, double floor);
double gamma_random_variable(double theta, int n);
double log_normal_random_variable(double m, double s);
#endif
| [
"kieras@umich.edu"
] | kieras@umich.edu |
80d6e6e0db9185f9e1587ff7a70fedfee45397e2 | 53cab9b585bcf81ba350e0148e268df077385fea | /UnitTestApp1/UnitTestApp1/util/Rotation2D.cpp | 59b19f3784801f9d1f03b31d2ed48d0a751e854e | [] | no_license | Frc2481/frc-2017 | 99653ec3d260b7533887640f02609f456e3bea0d | 8e37880f7c25d1a56e2c7d30e8b8a5b3a0ea3aad | refs/heads/master | 2021-03-19T08:58:57.360987 | 2017-07-21T23:45:25 | 2017-07-21T23:45:25 | 79,522,810 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,073 | cpp | #include <pch.h>
#include <cmath>
#include <limits>
#include "Rotation2D.h"
Rotation2D::Rotation2D()
{
Rotation2D(0, 1, false);
}
Rotation2D::Rotation2D(double x, double y, bool normalized)
: m_cos(x), m_sin(y) {
if (normalized) {
normalize();
}
}
Rotation2D::Rotation2D(const Rotation2D &other)
: m_cos(other.m_cos), m_sin(other.m_sin) {
}
Rotation2D::~Rotation2D()
{
}
Rotation2D& Rotation2D::operator=(Rotation2D other) {
m_cos = other.m_cos;
m_sin = other.m_sin;
return *this;
}
Rotation2D Rotation2D::fromRadians(double angle_radians) {
return Rotation2D(cos(angle_radians), sin(angle_radians), false);
}
Rotation2D Rotation2D::fromDegrees(double angle_degrees) {
return fromRadians(angle_degrees * (M_PI / 180));
}
void Rotation2D::normalize() {
double magnitude = hypot(m_cos, m_sin);
if (magnitude > kEpsilon) {
m_sin /= magnitude;
m_cos /= magnitude;
}
else {
m_sin = 0;
m_cos = 1;
}
}
void Rotation2D::setCos(double x) {
m_cos = x;
}
void Rotation2D::setSin(double y) {
m_sin = y;
}
double Rotation2D::getCos() const{
return m_cos;
}
double Rotation2D::getSin() const{
return m_sin;
}
double Rotation2D::getTan() const {
if (m_cos < kEpsilon) {
if (m_sin >= 0.0) {
return std::numeric_limits<double>::infinity();
}
else {
return -std::numeric_limits<double>::infinity();
}
}
return m_sin / m_cos;
}
double Rotation2D::getRadians() const{
return atan2(m_sin, m_cos);
}
double Rotation2D::getDegrees() const{
return getRadians() * 180 / M_PI;
}
Rotation2D Rotation2D::rotateBy(const Rotation2D &other)const {
return Rotation2D(m_cos * other.m_cos - m_sin * other.m_sin,
m_cos * other.m_sin + m_sin * other.m_cos, true);
}
Rotation2D Rotation2D::inverse()const {
return Rotation2D(m_cos, -m_sin, false);
}
Rotation2D Rotation2D::interpolate(const Rotation2D &other, double x)const
{
if (x <= 0) {
return Rotation2D(*this);
}
else if (x >= 1) {
return Rotation2D(other);
}
double angle_diff = inverse().rotateBy(other).getRadians();
return this->rotateBy(fromRadians(angle_diff * x));
}
| [
"kyle@team2481.com"
] | kyle@team2481.com |
36b2f5009809e7fc22dea64309a3df8b77ed18d5 | ad0bf144e8a6f9731a090e54b6b1e23d375cc1a0 | /16.cpp | 3fc7fb16e8e18cd5ad3e336d269eaa724c9d60f6 | [] | no_license | nflath/advent2017 | 060d6d52c36cf819dbc032172cdbd880dca8837f | 29043bdedd5c8564f21e1db0907be83e879623ea | refs/heads/master | 2021-09-01T15:04:42.911210 | 2017-12-27T15:55:49 | 2017-12-27T15:55:49 | 115,536,252 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,106 | cpp | #include <vector>
#include <map>
#include <iostream>
#include <fstream>
#include <set>
class List {
public:
List* next;
char name;
List(char name): name(name) {}
};
class Operation {
public:
char op;
int arg1;
int arg2;
Operation(char op, int arg1, int arg2):op(op),arg1(arg1),arg2(arg2) {}
};
int main() {
std::map<char, int> map;
std::vector<char> v;
int listlen = 16;
for(int i = 0; i < 16; i++) {
v.push_back('a' + i);
map['a'+i] = i;
}
std::vector<Operation*> ops;
std::ifstream infile("day16input");
char comma;
char op;
int total_spin_length;
while(infile >> op) {
if(op == 's') {
int len;
infile >> len;
ops.push_back(new Operation('s',len,0));
total_spin_length += len;
} else if(op == 'x') {
int A, B;
char slash;
infile >> A >> comma >> B;
ops.push_back(new Operation('x',A,B));
} else if(op == 'p') {
char A, B;
char slash;
infile >> A >> comma >> B;
ops.push_back(new Operation('p',A,B));
}
char comma;
infile >> comma;
}
//int num_dances = 1;
//ops.push_back(new Operation('s', total_spin_length % listlen, 0));
int opcount = 0;
int cycle_length = 0;
int num_dances = 1000000000;
for(int i = 0; i < num_dances; i++) {
//if(!(i%1000))std::cout << i << std::endl;
for(int j = 0; j < ops.size(); ++j) {
Operation* op = ops[j];
++opcount;
if(op->op == 's') {
std::vector<char> v2;
int i = listlen - op->arg1;
for(; i < 16; ++i) {
v2.push_back(v[i]);
}
for(int i = 0; i < listlen - op->arg1;++i) {
v2.push_back(v[i]);
}
v = v2;
for(int i = 0; i < listlen; i++) {
map[v[i]] = i;
}
} else if(op->op == 'x') {
char tmp = v[op->arg1];
v[op->arg1] = v[op->arg2];
v[op->arg2] = tmp;
map[char(v[op->arg1])] = op->arg1;
map[char(v[op->arg2])] = op->arg2;
} else if(op->op == 'p') {
// std::cout << "p " << char(op->arg1) << "/" << char(op->arg2) << std::endl;
// std::cout << map[(char)op->arg1] << " " << map[(char)op->arg2] << std::endl;
v[map[(char)op->arg1]] = op->arg2;
v[map[(char)op->arg2]] = op->arg1;
//deagpfjklmnohibc
// v[6] = 'k';
//v[110] = 'g'
int tmp = map[(char)op->arg1];
map[(char)op->arg1] = map[(char)op->arg2];
map[(char)op->arg2] = tmp;
// std::cout << op->op << " " << op->arg1 << "/" << op->arg2 << " ";
// for(int i = 0; i < 16; ++i) {
// std::cout << v[i];
// }
// std::cout << std::endl;
// return 0;
}
bool same = true;
for(int j = 0; j < 16; ++j) {
if(v[j] != 'a'+j) {
same = false;
break;
}
}
if(same&&!cycle_length) {
std::cout << "cycle found at: " << opcount << " " << i << std::endl;
cycle_length = opcount;
long long total_ops = num_dances * ops.size();
long long remainder = total_ops % cycle_length;
std::cout << "remainder: " << remainder << std::endl;
i = num_dances - (remainder / ops.size())-1;
j = ops.size()-(remainder % ops.size());
std::cout << "Setting i to: " << i << std::endl;
std::cout << "Setting j to: " << j << std::endl;
}
}
//std::set<char> s;
//std::cout << op->op << " " << op->arg1 << "/" << op->arg2 << " ";
for(int i = 0; i < 16; ++i) {
std::cout << v[i];
}
std::cout << std::endl;
// for(int i = 0; i < 16; ++i) {
// if(s.count(v[i])) {
// std::cout << "exit due to duplicate" << std::endl;
// return 0;
// }
// if(i != map[v[i]] ){
// std::cout << "exit due to incorrect map" << std::endl;
// for(int j = 0; j < 16; j++) {
// std::cout << (char)('a'+j) << ": " <<map['a'+j] << std::endl;
// }
// return 0;
// }
// s.insert(v[i]);
// }
}
}
| [
"nflath@Nathaniels-MacBook-Pro.local"
] | nflath@Nathaniels-MacBook-Pro.local |
1ef4019f8bc28244c01594b48e8578062d187377 | a0a6463c41494d16c93b17ad234cf4618154f13c | /src/protocols/ppp/CAuthen.h | a277512695b641c4db8f1bd6610f6c1bcf3ee177 | [
"BSD-3-Clause"
] | permissive | acoderhz/openbras-1 | 2f1f6d95302b9a489b846404f17e800a4e4042ef | cb227f48c5839ec95296c532b177a6639bfbd657 | refs/heads/master | 2021-09-13T06:48:41.247341 | 2018-04-26T05:12:16 | 2018-04-26T05:12:16 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,087 | h | /***********************************************************************
Copyright (c) 2017, The OpenBRAS project authors. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
* Neither the name of OpenBRAS nor the names of its contributors may
be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
**********************************************************************/
#ifndef CAUTHEN_H
#define CAUTHEN_H
#include "IAuthManager.h"
class IAuthenSvrSink
{
public:
virtual ~IAuthenSvrSink(){};
virtual void SendAuthRequest2AM(Auth_Request &authReq) = 0;
virtual void OnAuthenOutput(unsigned char *packet, size_t size) = 0;
virtual void OnAuthenResult(int result, int protocol) = 0; // result为1表示认证成功,为0表示认证失败。
};
#endif // CAUTHEN_H
| [
"contact@wfnex.com"
] | contact@wfnex.com |
7abda08bac1b1175e6ffe513754e0adec539f346 | e8fff28763ecfa1df2f726ec44e9b90ad5482527 | /DeeBook/IEDumper.h | b3c97f43b7c7350f8b7017b39df12cb2407d7bfb | [
"WTFPL"
] | permissive | cdfmr/deebook | 285657851f9551f40bf309199b0be151c6faa830 | a351e6719d0f85e33b390115a30cff827efb5f20 | refs/heads/master | 2020-04-22T13:01:07.421813 | 2014-09-06T06:51:39 | 2014-09-06T06:51:39 | 23,728,499 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 6,113 | h | // IEDumper.h: interface for the CIEDumper class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_IEDUMPER_H__ECB86F48_5092_47E8_82E9_FDD9E3992ABC__INCLUDED_)
#define AFX_IEDUMPER_H__ECB86F48_5092_47E8_82E9_FDD9E3992ABC__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <mshtml.h>
#include <map>
#include "../HTMLReader/LiteHTMLReader.h"
using namespace std;
#pragma pack(1)
#define IDN_PROGRESS 12850
typedef struct tagIDNMHDR
{
NMHDR nmhdr;
DWORD dwData;
} IDNMHDR;
class CIEDumper : public ILiteHTMLReaderEvents
{
public:
CIEDumper();
virtual ~CIEDumper();
// chm options structure
typedef struct tagCHMOptions
{
BOOL bCreateCHM;
BOOL bCompileCHM;
CString csHomePage;
CString csProjectFile;
CString csContentFile;
CString csWindowTitle;
CSize szWindowSize;
UINT nPaneWidth;
BOOL bHideToolbarText;
BOOL bRememberWinPos;
BOOL bFullTextSearch;
UINT nLanguage;
} CHM_OPTIONS;
// get IHTMLDocument2 interface
static IHTMLDocument2* GetDocInterface(HWND hIECtrl);
static IHTMLDocument2* GetDocInterfaceByMSAA(HWND hIECtrl);
// get/set window handles
inline HWND GetIECtrlHandle() { return m_hIECtrl; }
inline HWND GetTreeCtrlHandle() { return m_hTreeCtrl; }
BOOL SetIECtrlHandle(HWND hIECtrl);
BOOL SetTreeCtrlHandle(HWND hTreeCtrl);
// set decompiling parameters
inline void SetOwnerWindow(HWND hOwner) { m_hOwner = hOwner; }
inline void SetURLBase(LPCTSTR lpURLBase) { m_csURLBase = lpURLBase; }
inline void SetOutputDir(LPCTSTR lpDir) { m_csOutputDir = lpDir; }
inline void SetLoadTimeout(DWORD dwValue) { m_dwLoadTimeout = dwValue; }
inline void SetLoadWait(DWORD dwValue) { m_dwLoadWait = dwValue; }
inline void SetCHMOptions(CHM_OPTIONS chmOptions) { m_chmOptions = chmOptions; }
inline void SetSnapImages(BOOL bSnap) { m_bSnap = bSnap; }
inline void SetJPEGQuality(UINT nQuality) { m_nJPEGQuality = nQuality; }
// get url of current page
CString GetPageURL();
// start/stop decompiling
void Decompile(BOOL bOnePageOnly = FALSE);
inline void Terminate() { m_bBreakFlag = TRUE; }
private:
// injection code to call StealFile
typedef struct tagStealFile
{
// get current address
BYTE __call0; // E8 00 00 00 00
DWORD __callAddr;
BYTE __popEAX; // 58
// push file name
BYTE __addEAX15; // 05 15 00 00 00
DWORD __addVal1;
BYTE __pushEAX1; // 50
// push url
BYTE __addEAX400_1; // 05 00 04 00 00
DWORD __addVal2;
BYTE __pushEAX2; // 50
// get procedure address
BYTE __addEAX400_2; // 05 00 04 00 00
DWORD __addVal3;
// call
WORD __callEAX; // FF 10
BYTE __ret; // C3
char cFile[1024];
char cURL[1024];
void* pStealFile;
} FLN_STEAL_FILE;
// inject code to call SeleteTreeItem
typedef struct tagSelectTreeItem
{
// get current address
BYTE __call0; // E8 00 00 00 00
DWORD __callAddr;
BYTE __popEAX; // 58
// push htreeitem
BYTE __pushHITEM; // 68 00 00 00 00
DWORD dwItem;
// push htree
BYTE __pushHTREE; // 68 00 00 00 00
DWORD dwTree;
// get procedure address
BYTE __addEAX13; // 05 13 00 00 00
DWORD __addVal;
// call
WORD __callEAX; // FF 10
BYTE __ret; // C3
void* pSelectTreeItem;
} FLN_SELECT_TREE_ITEM;
// page element information
typedef struct tagElementInfo
{
CString csURL;
BOOL bSaved;
} ELEMENT_INFO;
// url map
typedef map<CString, ELEMENT_INFO> CURLMap;
// class to write text file with line break
class CLineFile : public CStdioFile
{
public:
void WriteString(LPCTSTR lpsz)
{
CString csLine = lpsz;
csLine += _T("\n");
CStdioFile::WriteString(csLine);
}
BOOL IsOpen()
{
return m_pStream != NULL;
}
};
BOOL m_bBreakFlag; // break decompiling
DWORD m_dwProcId; // process id of ebook
HWND m_hIECtrl; // internet explorer window
HWND m_hTreeCtrl; // navigation tree window
IHTMLDocument2* m_pHtmlDoc2; // IHTMLDocument2 interface
HWND m_hOwner; // owner window
DWORD m_dwLoadWait; // wait time for loading page
DWORD m_dwLoadTimeout; // time out for loading page
CString m_csOutputDir; // output directory
CString m_csURLBase; // base url
CHM_OPTIONS m_chmOptions; // chm options
BOOL m_bSnap; // snap images
UINT m_nJPEGQuality; // jpeg quality
CURLMap m_mapPage; // web pages in ebook
CURLMap m_mapOther; // other files in ebook
CString m_csCurrentURL; // current page url
CLineFile fileHHP; // html help project file
CLineFile fileHHC; // html help content file
FLN_STEAL_FILE m_StealFileCode; // injection code to call StealFile
FLN_SELECT_TREE_ITEM m_SelTreeItemCode; // injection code to call SelectTreeItem
CString NormalizeURL(LPCTSTR lpURL);
BOOL IsPageNeedProcess(LPCTSTR lpURL);
BOOL IsPageProcessed(LPCTSTR lpURL);
void AddURLToMap(LPCTSTR lpURL, CURLMap& mapURL, BOOL bSaved = FALSE);
ELEMENT_INFO* GetFileToProcess(CURLMap& mapURL);
CString GetFileName(LPCTSTR lpURL);
BOOL InjectIEThief();
void ProcessNavigationTree();
void ProcessTreeItem(HTREEITEM hItem);
void ProcessPageMap(BOOL bOnePageOnly = FALSE);
void ProcessFileMap();
void WaitForLoadingDocument();
BOOL SaveHTMLSource(LPCTSTR lpFileName);
void ParsePage(LPCTSTR lpFileName);
void StartTag(CLiteHTMLTag *pTag, DWORD dwAppData, bool &bAbort);
CString SafeGetAttrValue(CLiteHTMLTag* pTag, LPCTSTR lpAttrName);
void DownloadFile(LPCTSTR lpURL, LPCTSTR lpFileName);
void SnapImage(LPCTSTR lpURL, LPCTSTR lpFileName, DWORD dwFormat);
void CreateCHMProject();
void SearchCHMFileList();
void CompileCHMProject();
};
#endif // !defined(AFX_IEDUMPER_H__ECB86F48_5092_47E8_82E9_FDD9E3992ABC__INCLUDED_)
| [
"im.linfan@gmail.com"
] | im.linfan@gmail.com |
6c117243c008efcf50ac7d9457f1a5fd2d00c783 | d1a7ec8df100d717f196bead369e8f72713476ff | /reserva/Reserva.cpp | ec5c495a15cfc0ed535a004ac9c5731a31c6b931 | [] | no_license | rosalia00/deustoparking | 7ff1964035e13fa493a914442951e030754f21b3 | 4e31a12737ec504906f9ce72dfabd672d223be15 | refs/heads/main | 2023-05-12T19:07:46.415955 | 2021-06-05T16:36:17 | 2021-06-05T16:36:17 | 352,308,789 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,975 | cpp | #include <iostream>
#include "Reserva.h"
using namespace std;
Reserva::Reserva() {
this->nombre = '\0';
this->apellido = '\0';
this->bono = 0;
this->datafin = '\0';
this->datainicio = '\0';
this->dni = '\0';
this->horainicio = 0;
this->horafinal = 0;
this->matricula = '\0';
this->plaza = '\0';
this->precio = 0.0;
this->tarjeta = 0;
}
const char* Reserva::getDni() {
return this->dni;
}
char* Reserva::getNombre() {
return this->nombre;
}
char* Reserva::getApellido() {
return this->apellido;
}
int Reserva::getTarjeta() {
return this->tarjeta;
}
int Reserva::getHorainicio() {
return this->horainicio;
}
int Reserva::getHorafinal() {
return this->horafinal;
}
char* Reserva::getDatainicio() {
return this->datainicio;
}
char* Reserva::getDatafin() {
return this->datafin;
}
float Reserva::getPrecio() {
return this->precio;
}
int Reserva::getBono() {
return this->bono;
}
char* Reserva::getMatricula() {
return this->matricula;
}
int Reserva::getPlaza() {
return this->plaza;
}
void Reserva::setDni(const char *dni) {
this->dni = dni;
}
void Reserva::setNombre(char *nombre) {
this->nombre = nombre;
}
void Reserva::setApellido(char *apellido) {
this->apellido = apellido;
}
void Reserva::setTarjeta(int tarjeta) {
this->tarjeta = tarjeta;
}
void Reserva::setHorainicio(int horainicio) {
this->horainicio = horainicio;
}
void Reserva::setHorafin(int horafin) {
this->horafinal = horafin;
}
void Reserva::setDatainicio(char *datainicio) {
this->datainicio = datainicio;
}
void Reserva::setDatafin(char *datafin) {
this->datafin = datafin;
}
void Reserva::setPrecio(float precio) {
this->precio = precio;
}
void Reserva::setBono(int bono) {
this->bono = bono;
}
void Reserva::setMatricula(char *matricula) {
this->matricula = matricula;
}
void Reserva::setPlaza(int plaza) {
this->plaza = plaza;
}
| [
"tylerdemier@opendeusto.es"
] | tylerdemier@opendeusto.es |
8a12b7086ad98edbb2a9e6f40c5309e63b3eae2e | 3debbd631621eb898f8efa5d87b765adb927d5c2 | /math_vector.h | 2d7a2affa93a78e11e81c2e72d2429259bac2225 | [] | no_license | trololohunter/advanced | e4783287ed7b67418a956780ca51b84ecaa4071f | 640803ab39b4e86c2fadf397bfdd49b3b6dbfb0c | refs/heads/master | 2020-04-02T15:00:21.506574 | 2018-11-22T18:05:49 | 2018-11-22T18:05:49 | 154,547,878 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 545 | h | //
// Created by vover on 10/24/18.
//
#ifndef ADVANCED_MATH_VECTOR_H
#define ADVANCED_MATH_VECTOR_H
#include <vector>
#include <cstdint>
#include <tgmath.h>
double norm (const std::vector<double> &v);
double scalar_product (const std::vector<double> &v1, const std::vector<double> &v2);
std::vector<double> Projection (const std::vector<double> &a, const std::vector<double> &b);
std::vector<double> Multiply_Coef (const std::vector<double> &a, double coef);
void print_vector(const std::vector<double> &v);
#endif //ADVANCED_MATH_VECTOR_H
| [
"vovik_n@mail.ru"
] | vovik_n@mail.ru |
dc7db6a79dd53e10ef65be58d257a52c2779c1d4 | 8cfda3fdba467cb5220e7858de29dbdb307c770b | /tale/ReturnExpr.h | 230d54e7e34ff879a5606d054f886bf5b03a56f0 | [] | no_license | HanzhouTang/Tale | 9a4e29edc629784ac57c7a25b982376a78ecb646 | a6bbb224cea29899390869973f12f7835122a5d3 | refs/heads/master | 2021-07-06T15:32:55.601463 | 2019-04-03T04:45:58 | 2019-04-03T04:45:58 | 143,662,758 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 973 | h | #pragma once
#include"Expr.h"
namespace expr {
struct ReturnExpr :Expr {
std::shared_ptr<Expr> content;
ReturnExpr(const std::shared_ptr<Expr>& runtime, const std::shared_ptr<Expr>& c) :
Expr(runtime), content(c) {
setType(TYPE_RETURN);
}
std::shared_ptr<Expr> getContent() { return content; }
static std::shared_ptr<ReturnExpr> createReturnExpr(const std::shared_ptr<Expr>& runtime, const std::shared_ptr<Expr>& content) {
auto ret = std::make_shared<ReturnExpr>(runtime, content);
ret->getContent()->setRunTime(ret);
return ret;
}
static std::shared_ptr<ReturnExpr> createReturnExpr(const std::shared_ptr<Expr>& content) {
return createReturnExpr(nullptr, content);
}
virtual std::shared_ptr<Expr> getValue() override;
virtual std::shared_ptr<Expr> clone() override {
return createReturnExpr(getRunTime(), content->clone());
}
virtual std::wstring toString() override {
return L"return " + content->toString();
}
};
} | [
"hanzhoutang@gmail.com"
] | hanzhoutang@gmail.com |
c0e7edfde051e5f8086295910b5afddd3cd8088e | 0aa273d9ede80dac001657e78e6c1dc87b4f1572 | /pa2/test_BST (2).cpp | 91be7d02effa57cebc262d61bcf2df38f7c0ce62 | [] | no_license | adj006/CSE_100 | 0f9c60c771b26a6499876cd2e274ddf2db7d03bf | 1ce8b6b2bdd7ea74707e66a99d6ab9cdd3aa8ca6 | refs/heads/master | 2020-09-14T06:16:38.292723 | 2019-11-20T23:33:30 | 2019-11-20T23:33:30 | 223,046,357 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,122 | cpp | #include "BST.hpp"
#include <iostream>
#include <algorithm>
#include <vector>
using std::cout;
using std::endl;
using std::vector;
/**
* A simple test driver for the BST class template.
* P1 CSE 100 2012
* Author: P. Kube (c) 2012
*/
int main() {
/* Create an STL vector of some ints */
vector<int> v;
v.push_back(30);
v.push_back(40);
v.push_back(1);
v.push_back(100);
v.push_back(-33);
v.push_back(15);
v.push_back(7);
v.push_back(39);
v.push_back(101);
v.push_back(80);
/* Create an instance of BST holding int */
BST<int> b;
/* Insert a few data items. */
vector<int>::iterator vit = v.begin();
vector<int>::iterator ven = v.end();
for(; vit != ven; ++vit) {
// all these inserts are unique, so should return true
if(! b.insert(*vit) ) {
cout << "Incorrect return value when inserting " << *vit << endl;
return -1;
}
}
vit = v.begin();
for(; vit != ven; ++vit) {
// all these inserts are duplicates, so should return false
if( b.insert(*vit) ) {
cout << "Incorrect return value when re-inserting " << *vit << endl;
return -1;
}
}
/* Test size. */
cout << "Size is: " << b.size() << endl;
if(b.size() != v.size()) {
cout << "... which is incorrect." << endl;
return -1;
}
/* Test find return value. */
vit = v.begin();
for(; vit != ven; ++vit) {
if(*(b.find(*vit)) != *vit) {
cout << "Incorrect return value when finding " << *vit << endl;
return -1;
}
}
/* Sort the vector, to compare with inorder iteration on the BST */
sort(v.begin(),v.end());
b.inorder();
/* Test BST iterator; should iterate inorder */
cout << "traversal using iterator:" << endl;
vit = v.begin();
BST<int>::iterator en = b.end();
BST<int>::iterator it = b.begin();
for(; vit != ven; ++vit) {
cout << *it << endl;
if(*it != *vit) {
cout << *it << "," << *vit << ": Incorrect inorder iteration of BST." << endl;
return -1;
}
++it;
}
cout << "OK." << endl;
}
| [
"ajim1989@gmail.com"
] | ajim1989@gmail.com |
f72097065154a1040305de5bb7345b1c827d1f98 | 316b8ce861009661c2d00233c701da70b14bfc27 | /backend/src/common_bk/message_store/message_store.h | b9f364e381a57f9ca2c0a09a85ed616e4235c222 | [] | no_license | oxfordyang2016/profitcode | eb2b35bf47469410ddef22647789071b40618617 | c587ad5093ed78699e5ba96fb85eb4023267c895 | refs/heads/master | 2020-03-23T14:37:33.288869 | 2018-07-20T08:53:44 | 2018-07-20T08:53:44 | 141,688,355 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 611 | h | #ifndef SRC_COMMON_MESSAGE_STORE_MESSAGE_STORE_H_
#define SRC_COMMON_MESSAGE_STORE_MESSAGE_STORE_H_
#include <vector>
#include "common/message_store/order_blob.h"
#include "zshared/lock.h"
class MessageStore {
public:
explicit MessageStore(int store_size = 500);
void Store(int msg_seq_num,
OrderSide::Enum side,
const char* order_id,
const char* cl_order_id);
OrderBlob Retrieve(int msg_seq_num);
private:
size_t current_idx_;
zshared::SpinLock spin_lock_;
std::vector<OrderBlob> order_blobs_;
};
#endif // SRC_COMMON_MESSAGE_STORE_MESSAGE_STORE_H_
| [
"rcy-fudan@ioeb-FUDANdeMacBook-Pro.local"
] | rcy-fudan@ioeb-FUDANdeMacBook-Pro.local |
1746f96cadacc611ce1261b7b65387ff3e7120f1 | ca02d8a19bc0c06b2ee58d01d520f86ff7ae8279 | /midterm/midterm/Strategy.h | 0f9cbb1e79093d8bbe854c2be474906d4bab8879 | [] | no_license | K39101348/computational | 2a5db26f8bbf1d436c0dc03e9f4f2966f1d6ba6c | 5fc8e155a747247049fdfe786aa7630c9b937bec | refs/heads/master | 2023-02-04T23:21:31.510921 | 2020-12-27T07:16:19 | 2020-12-27T07:16:19 | 324,707,696 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,037 | h | #ifndef Strategy_h
#define Strategy_h
#include <vector>
#include <map>
#include <string>
#include <iostream>
#include<cmath>
/// Add Code Here -->
/// <-- Add Code Here
using namespace std;
/// user to item tabel RecomdList At most K Proposed Items user size item size
void Algorithm(vector<vector<double> > Table, vector<vector<int> > &RecomdList, const int K, const int user_size, const int item_size)
{
int count = 0;
int countt = 0;
vector<double>total(item_size);
vector<double>average(item_size);
vector<vector<double> >list(user_size);
vector<double>averagee(user_size);
vector<double>sum(user_size);
vector<double>std1(user_size);
for (int i = 0; i < user_size; i++) {
list[i].resize(item_size);
}
int maximum=0;
int maximum2=0;
/**
TABLE
Index Content
int User double Rating
int Item
Format
Table[User][Item]=Rating
STRUCTURE
Table
| User1
| --- Item1 Item2 Item4 ...
| R1 R2 R3
|
| User2
| --- Item2 Item5 Item7 ...
| R4 R5 R6
|
| User3
| --- Item3 Item4 Item6 ...
| R4 R5 R6
:
:
*/
/**
RECOMDLIST
Index Content
int User int Item
int Idx
Format
Table[User][Idx]=Item
STRUCTURE
RecomdList
| User1
| --- 0 1 2 ... K-1
| Item3 Item8 Item9 ... Item?
|
| User2
| --- 0 1 2 ... K-1
| Item4 Item1 Item3 ... Item?
|
| User3
| --- 0 1 2 ... K-1
| Item5 Item7 Item1 ... Item?
:
:
*/
for (int i = 0; i < user_size; i++) {
sum[i] = 0 ;
countt = 0;
for (int j=0; j < item_size; j++) {
if (Table[i][j] >=0)
{
sum[i] += Table[i][j];
countt++;
}
}
averagee[i] = sum[i] / countt;
}
for (int i = 0; i < user_size; i++) {
std1[i] = 0 ;
countt = 0;
for (int j=0; j < item_size; j++) {
if (Table[i][j]>=0) {
std1[i] += (Table[i][j]- averagee[i]) * (Table[i][j]- averagee[i]);
countt++;
}
}
std1[i] /= countt;
std1[i] = sqrt(std1[i]);
}
for (int i = 0; i < user_size; i++) {
for (int j=0; j < item_size; j++) {
if (Table[i][j] >=0) {
Table[i][j] = 50+10*((Table[i][j] - averagee[i]) / std1[i]);
}
}
}
/* for (int x = 0; x < item_size ; x++) {
count = 0;
average[x] = 0;
for (int y = 0; y < user_size ; y++) {
if (Table[y][x] >= 0) {
average[x] += Table[y][x];
count++;
}
}
if (count != 0) {
average[x] = average[x] / count;
}
}
for (int x = 0; x < item_size; x++) {
for (int y = 0; y < user_size; y++) {
list[y][x] = average[x];
}
}
for (int k = 0; k < K; k++) {
for (int i = 0; i < user_size; i++) {
maximum = 0;
for (int j = 0; j < item_size; j++) {
if ((list[i][j] >= maximum) && (Table[i][j] < 0)) {
maximum = list[i][j];
maximum2 = j;
}
}
list[i][maximum2] = -2;
RecomdList[i][k] = maximum2;
}
}*/
for (int i=0; i < item_size; i++) {
total[i] = 0;
for (int j = 0; j < user_size; j++) {
if (Table[j][i] > 0) {
total[i] += Table[j][i];
}
}
//cout << total[i] << endl;
}
for (int x = 0; x < item_size; x++) {
for (int y = 0; y < user_size; y++) {
list[y][x] = total[x];
}
}
for (int k = 0; k < K; k++) {
for (int i = 0; i < user_size; i++) {
maximum = 0;
for (int j = 0; j < item_size; j++) {
if ((list[i][j] >= maximum) && (Table[i][j] < 0)) {
maximum = list[i][j];
maximum2 = j;
}
}
list[i][maximum2] = -2;
RecomdList[i][k] = maximum2;
}
//cout << RecomdList[i][k] << endl;
}
/*
for (int i = 0; i < user_size; i++) {
cout << "User_" << i << ": " << endl;
for (int j = 0; j < K; i++) {
cout << "Item_" << j << ": " << RecomdList[i][j] << endl;
}
}
*/
}
#endif /* Strategy_h */
| [
"K39101348@gmail.com"
] | K39101348@gmail.com |
2451b77db070a35a7ddd92cf242502cc9ba3e902 | 6dfdbefc50f6dc4aa84e01ac2aabf0df5d07ca39 | /mudclient/src/propertiesPages/propertiesPageHotkeys.h | 2ad1d9423e90d6f4c7709c2bda523b26b087b24b | [] | no_license | kvirund/tortilla | 04a6f8c1802294f09db79c5b61e675c8da54d8b9 | 338f2cf575a8b90057d291ba79a164ade749a635 | refs/heads/master | 2020-04-08T03:48:49.591154 | 2018-11-30T02:34:48 | 2018-11-30T02:34:48 | 158,787,484 | 0 | 0 | null | 2018-11-23T06:01:59 | 2018-11-23T06:01:58 | null | WINDOWS-1251 | C++ | false | false | 19,299 | h | #pragma once
#include "hotkeyTable.h"
#include "propertiesSaveHelper.h"
class HotkeyBox : public CWindowImpl<HotkeyBox, CEdit>
{
HotkeyTable m_table;
BEGIN_MSG_MAP(HotkeyBox)
MESSAGE_HANDLER(WM_KEYUP, OnKeyUp)
MESSAGE_HANDLER(WM_SYSKEYUP, OnKeyUp)
MESSAGE_HANDLER(WM_KEYDOWN, OnBlock)
MESSAGE_HANDLER(WM_SYSKEYDOWN, OnBlock)
MESSAGE_HANDLER(WM_CHAR, OnBlock)
END_MSG_MAP()
LRESULT OnKeyUp(UINT, WPARAM wparam, LPARAM lparam, BOOL& bHandled)
{
tstring key;
m_table.recognize(wparam, lparam, &key);
if (!key.empty())
{
SetWindowText(key.c_str());
::SendMessage(GetParent(), WM_USER, 0, 0);
}
else
bHandled = FALSE;
return 0;
}
LRESULT OnBlock(UINT, WPARAM, LPARAM, BOOL& bHandled)
{
return 0;
}
};
class PropertyHotkeys : public CDialogImpl<PropertyHotkeys>
{
PropertiesValues *propValues;
PropertiesValues *propGroups;
PropertiesValuesT<tstring> m_list_values;
std::vector<int> m_list_positions;
PropertyListCtrl m_list;
CBevelLine m_bl1;
CBevelLine m_bl2;
HotkeyBox m_hotkey;
CEdit m_text;
CButton m_add;
CButton m_del;
CButton m_replace;
CButton m_reset;
CButton m_up;
CButton m_down;
CComboBox m_filter;
CComboBox m_cbox;
int m_filterMode;
tstring m_currentGroup;
tstring m_loadedGroup;
bool m_deleted;
bool m_update_mode;
PropertiesDlgPageState *dlg_state;
PropertiesSaveHelper m_state_helper;
public:
enum { IDD = IDD_PROPERTY_HOTKEYS };
PropertyHotkeys(PropertiesData *data) : propValues(NULL), propGroups(NULL), m_filterMode(0), m_deleted(false), m_update_mode(false), dlg_state(NULL)
{
propValues = &data->hotkeys;
propGroups = &data->groups;
}
void setParams( PropertiesDlgPageState *state)
{
dlg_state = state;
}
bool updateChangedTemplate(bool check)
{
int item = m_list.getOnlySingleSelection();
if (item != -1)
{
tstring pattern;
getWindowText(m_hotkey, &pattern);
property_value& v = m_list_values.getw(item);
if (v.key != pattern && !pattern.empty())
{
if (!check) {
tstring text;
getWindowText(m_text, &text);
v.key = pattern; v.value = text; v.group = m_currentGroup;
}
return true;
}
}
return false;
}
private:
BEGIN_MSG_MAP(PropertyHotkeys)
MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
MESSAGE_HANDLER(WM_DESTROY, OnCloseDialog)
MESSAGE_HANDLER(WM_SHOWWINDOW, OnShowWindow)
MESSAGE_HANDLER(WM_USER+1, OnSetFocus)
MESSAGE_HANDLER(WM_USER, OnHotkeyEditChanged)
MESSAGE_HANDLER(WM_USER+2, OnKeyDown)
COMMAND_ID_HANDLER(IDC_BUTTON_ADD, OnAddElement)
COMMAND_ID_HANDLER(IDC_BUTTON_DEL, OnDeleteElement)
COMMAND_ID_HANDLER(IDC_BUTTON_REPLACE, OnReplaceElement)
COMMAND_ID_HANDLER(IDC_BUTTON_RESET, OnResetData)
COMMAND_ID_HANDLER(IDC_BUTTON_UP, OnUpElement)
COMMAND_ID_HANDLER(IDC_BUTTON_DOWN, OnDownElement)
COMMAND_HANDLER(IDC_COMBO_FILTER, CBN_SELCHANGE, OnFilter)
COMMAND_HANDLER(IDC_COMBO_GROUP, CBN_SELCHANGE, OnGroupChanged)
COMMAND_HANDLER(IDC_EDIT_HOTKEY_TEXT, EN_CHANGE, OnHotkeyTextChanged)
NOTIFY_HANDLER(IDC_LIST, LVN_ITEMCHANGED, OnListItemChanged)
NOTIFY_HANDLER(IDC_LIST, NM_SETFOCUS, OnListItemChanged)
//NOTIFY_HANDLER(IDC_LIST, NM_KILLFOCUS, OnListKillFocus)
REFLECT_NOTIFICATIONS()
END_MSG_MAP()
LRESULT OnKeyDown(UINT, WPARAM wparam, LPARAM, BOOL&)
{
if (wparam == VK_DELETE)
{
if (m_del.IsWindowEnabled()) {
BOOL b = FALSE;
OnDeleteElement(0, 0, 0, b);
}
return 1;
}
return 0;
}
LRESULT OnAddElement(WORD, WORD, HWND, BOOL&)
{
tstring hotkey, text;
getWindowText(m_hotkey, &hotkey);
getWindowText(m_text, &text);
int index = m_list_values.find(hotkey, m_currentGroup);
if (index == -1 && m_filterMode)
{
int index2 = propValues->find(hotkey, m_currentGroup);
if (index2 != -1)
propValues->del(index2);
}
if (index == -1)
{
index = m_list.getOnlySingleSelection() + 1;
m_list_values.insert(index, hotkey, text, m_currentGroup);
m_list.addItem(index, 0, hotkey);
m_list.addItem(index, 1, text);
m_list.addItem(index, 2, m_currentGroup);
}
else
{
m_list_values.add(index, hotkey, text, m_currentGroup);
m_list.setItem(index, 0, hotkey);
m_list.setItem(index, 1, text);
m_list.setItem(index, 2, m_currentGroup);
}
m_list.SelectItem(index);
m_list.SetFocus();
return 0;
}
LRESULT OnDeleteElement(WORD, WORD, HWND, BOOL&)
{
std::vector<int> selected;
m_list.getSelected(&selected);
int items = selected.size();
if (items == 1)
m_deleted = true;
for (int i = 0; i < items; ++i)
{
int index = selected[i];
m_list.DeleteItem(index);
m_list_values.del(index);
if (m_filterMode)
m_list_positions.erase(m_list_positions.begin()+index);
}
m_deleted = false;
m_list.SetFocus();
return 0;
}
LRESULT OnReplaceElement(WORD, WORD, HWND, BOOL&)
{
tstring hotkey, text;
getWindowText(m_hotkey, &hotkey);
getWindowText(m_text, &text);
int index = m_list.getOnlySingleSelection();
m_list_values.add(index, hotkey, text, m_currentGroup);
m_list.setItem(index, 0, hotkey);
m_list.setItem(index, 1, text);
m_list.setItem(index, 2, m_currentGroup);
m_list.SelectItem(index);
m_list.SetFocus();
return 0;
}
LRESULT OnResetData(WORD, WORD, HWND, BOOL&)
{
m_update_mode = true;
m_text.SetWindowText(L"");
m_hotkey.SetWindowText(L"");
m_list.SelectItem(-1);
updateButtons();
m_hotkey.SetFocus();
m_update_mode = false;
return 0;
}
LRESULT OnUpElement(WORD, WORD, HWND, BOOL&)
{
propertiesUpDown<tstring> ud;
ud.up(m_list, m_list_values, false);
return 0;
}
LRESULT OnDownElement(WORD, WORD, HWND, BOOL&)
{
propertiesUpDown<tstring> ud;
ud.down(m_list, m_list_values, false);
return 0;
}
LRESULT OnFilter(WORD, WORD, HWND, BOOL&)
{
saveValues();
m_filterMode = m_filter.GetCurSel();
loadValues();
update();
updateButtons();
m_state_helper.setCanSaveState();
return 0;
}
LRESULT OnGroupChanged(WORD, WORD, HWND, BOOL&)
{
tstring group;
getCurrentGroup(&group);
if (m_currentGroup == group) return 0;
tstring pattern;
getWindowText(m_hotkey, &pattern);
m_currentGroup = group;
int index = m_list_values.find(pattern, group);
if (index != -1)
{
m_list.SelectItem(index);
updateButtons();
return 0;
}
if (m_filterMode && m_list.GetSelectedCount() == 0) {
loadValues();
update();
}
updateButtons();
return 0;
}
LRESULT OnHotkeyEditChanged(UINT, WPARAM, LPARAM, BOOL&)
{
if (m_update_mode)
return 0;
BOOL currelement = FALSE;
int len = m_hotkey.GetWindowTextLength();
int selected = m_list.getOnlySingleSelection();
if (len > 0)
{
tstring hotkey;
getWindowText(m_hotkey, &hotkey);
int index = m_list_values.find(hotkey, m_currentGroup);
if (index != -1 && !currelement)
{
m_list.SelectItem(index);
m_hotkey.SetSel(len, len);
}
}
updateButtons();
return 0;
}
bool updateCurrentItem()
{
int item = m_list.getOnlySingleSelection();
if (item == -1) return false;
m_update_mode = true;
tstring hotkey;
getWindowText(m_hotkey, &hotkey);
property_value& v = m_list_values.getw(item);
if (v.key != hotkey) return false;
tstring text;
getWindowText(m_text, &text);
if (v.value != text)
{
v.value = text;
m_list.setItem(item, 1, text);
}
if (v.group != m_currentGroup)
{
v.group = m_currentGroup;
m_list.setItem(item, 2, m_currentGroup);
}
m_update_mode = false;
return true;
}
LRESULT OnHotkeyTextChanged(WORD, WORD, HWND, BOOL&)
{
if (m_update_mode)
return 0;
int item = m_list.getOnlySingleSelection();
if (item != -1)
{
const property_value& v = m_list_values.get(item);
if (v.group != m_currentGroup)
return 0;
}
updateCurrentItem();
return 0;
}
LRESULT OnListItemChanged(int , LPNMHDR , BOOL&)
{
if (m_update_mode)
return 0;
m_update_mode = true;
int items_selected = m_list.GetSelectedCount();
if (items_selected == 0)
{
if (!m_deleted)
{
m_hotkey.SetWindowText(L"");
m_text.SetWindowText(L"");
}
}
else if (items_selected == 1)
{
int item = m_list.getOnlySingleSelection();
const property_value& v = m_list_values.get(item);
m_hotkey.SetWindowText( v.key.c_str() );
m_text.SetWindowText( v.value.c_str() );
int index = getGroupIndex(v.group);
m_cbox.SetCurSel(index);
m_currentGroup = v.group;
}
else
{
m_hotkey.SetWindowText(L"");
m_text.SetWindowText(L"");
}
updateButtons();
m_update_mode = false;
return 0;
}
LRESULT OnShowWindow(UINT, WPARAM wparam, LPARAM, BOOL&)
{
if (wparam)
{
loadValues();
m_update_mode = true;
m_hotkey.SetWindowText(L"");
m_text.SetWindowText(L"");
m_update_mode = false;
update();
PostMessage(WM_USER+1); // OnSetFocus to list
m_state_helper.setCanSaveState();
}
else
{
saveValues();
}
return 0;
}
LRESULT OnSetFocus(UINT, WPARAM, LPARAM, BOOL&)
{
m_list.SetFocus();
return 0;
}
LRESULT OnInitDialog(UINT, WPARAM, LPARAM, BOOL&)
{
m_hotkey.SubclassWindow(GetDlgItem(IDC_EDIT_HOTKEY));
m_text.Attach(GetDlgItem(IDC_EDIT_HOTKEY_TEXT));
m_add.Attach(GetDlgItem(IDC_BUTTON_ADD));
m_del.Attach(GetDlgItem(IDC_BUTTON_DEL));
m_replace.Attach(GetDlgItem(IDC_BUTTON_REPLACE));
m_reset.Attach(GetDlgItem(IDC_BUTTON_RESET));
m_up.Attach(GetDlgItem(IDC_BUTTON_UP));
m_down.Attach(GetDlgItem(IDC_BUTTON_DOWN));
m_filter.Attach(GetDlgItem(IDC_COMBO_FILTER));
m_list.Attach(GetDlgItem(IDC_LIST));
m_list.addColumn(L"Hotkey", 20);
m_list.addColumn(L"Текст", 60);
m_list.addColumn(L"Группа", 20);
m_list.SetExtendedListViewStyle( m_list.GetExtendedListViewStyle() | LVS_EX_GRIDLINES | LVS_EX_FULLROWSELECT);
m_list.setKeyDownMessageHandler(m_hWnd, WM_USER+2);
m_bl1.SubclassWindow(GetDlgItem(IDC_STATIC_BL1));
m_bl2.SubclassWindow(GetDlgItem(IDC_STATIC_BL2));
m_cbox.Attach(GetDlgItem(IDC_COMBO_GROUP));
m_state_helper.init(dlg_state, &m_list);
m_state_helper.loadGroupAndFilter(m_currentGroup, m_filterMode);
m_filter.AddString(L"Все группы");
m_filter.AddString(L"Текущая группа");
m_filter.AddString(L"Активные группы");
m_filter.SetCurSel(m_filterMode);
loadValues();
updateButtons();
return 0;
}
LRESULT OnCloseDialog(UINT, WPARAM, LPARAM, BOOL&)
{
saveValues();
return 0;
}
void update()
{
int current_index = 0;
m_cbox.ResetContent();
for (int i=0,e=propGroups->size(); i<e; ++i)
{
const property_value& g = propGroups->get(i);
int pos = m_cbox.AddString(g.key.c_str());
if (g.key == m_currentGroup)
{ current_index = pos; }
}
m_cbox.SetCurSel(current_index);
getCurrentGroup(&m_currentGroup);
m_list.DeleteAllItems();
for (int i=0,e=m_list_values.size(); i<e; ++i)
{
const property_value& v = m_list_values.get(i);
m_list.addItem(i, 0, v.key);
m_list.addItem(i, 1, v.value);
m_list.addItem(i, 2, v.group);
}
m_state_helper.loadCursorAndTopPos(2);
}
void updateButtons()
{
if (m_filterMode == 2 && m_cbox.GetCount() == 0) {
m_add.EnableWindow(FALSE);
m_del.EnableWindow(FALSE);
m_up.EnableWindow(FALSE);
m_down.EnableWindow(FALSE);
m_replace.EnableWindow(FALSE);
m_reset.EnableWindow(FALSE);
return;
}
m_reset.EnableWindow(TRUE);
bool pattern_empty = m_hotkey.GetWindowTextLength() == 0;
bool text_empty = m_text.GetWindowTextLength() == 0;
int items_selected = m_list.GetSelectedCount();
if (items_selected == 0)
{
m_add.EnableWindow(pattern_empty ? FALSE : TRUE);
m_del.EnableWindow(FALSE);
m_up.EnableWindow(FALSE);
m_down.EnableWindow(FALSE);
m_replace.EnableWindow(FALSE);
}
else if(items_selected == 1)
{
m_del.EnableWindow(TRUE);
m_up.EnableWindow(TRUE);
m_down.EnableWindow(TRUE);
bool mode = FALSE;
if (!pattern_empty)
{
int selected = m_list.getOnlySingleSelection();
const property_value& v = m_list_values.get(selected);
mode = TRUE;
if (m_currentGroup == v.group)
{
tstring pattern;
getWindowText(m_hotkey, &pattern);
mode = (pattern == v.key) ? FALSE : TRUE;
}
}
m_replace.EnableWindow(mode);
m_add.EnableWindow(mode);
}
else
{
m_add.EnableWindow(FALSE);
m_del.EnableWindow(TRUE);
m_up.EnableWindow(TRUE);
m_down.EnableWindow(TRUE);
m_replace.EnableWindow(FALSE);
}
}
void swapItems(int index1, int index2)
{
const property_value& i1 = m_list_values.get(index1);
const property_value& i2 = m_list_values.get(index2);
m_list.setItem(index1, 0, i2.key);
m_list.setItem(index1, 1, i2.value);
m_list.setItem(index1, 2, i2.group);
m_list.setItem(index2, 0, i1.key);
m_list.setItem(index2, 1, i1.value);
m_list.setItem(index2, 2, i1.group);
m_list_values.swap(index1, index2);
}
void loadValues()
{
m_loadedGroup = m_currentGroup;
if (!m_filterMode)
{
m_list_values = *propValues;
return;
}
PropertiesGroupFilter gf(propGroups);
m_list_values.clear();
m_list_positions.clear();
for (int i=0,e=propValues->size(); i<e; ++i)
{
const property_value& v = propValues->get(i);
if (m_filterMode == 1) {
if (v.group != m_currentGroup)
continue;
}
else if (m_filterMode == 2) {
if (!gf.isGroupActive(v.group))
continue;
}
else {
assert(false);
}
m_list_values.add(-1, v.key, v.value, v.group);
m_list_positions.push_back(i);
}
}
void saveValues()
{
if (!m_state_helper.save(m_loadedGroup, m_filterMode))
return;
if (!m_filterMode)
{
*propValues = m_list_values;
return;
}
PropertiesGroupFilter gf(propGroups);
std::vector<int> todelete;
for (int i=0,e=propValues->size(); i<e; ++i)
{
const property_value& v = propValues->get(i);
bool filter = false;
if (m_filterMode == 1) {
filter = (v.group == m_loadedGroup);
} else if (m_filterMode == 2) {
filter = gf.isGroupActive(v.group);
} else {
assert(false);
}
if (filter)
{
bool exist = std::find(m_list_positions.begin(), m_list_positions.end(), i) != m_list_positions.end();
if (!exist)
todelete.push_back(i);
}
}
for (int i=todelete.size()-1; i>=0; --i)
{
int pos = todelete[i];
propValues->del(pos);
for (int j=0,je=m_list_positions.size();j<je;++j) {
if (m_list_positions[j] > pos)
m_list_positions[j]--;
}
}
todelete.clear();
int pos_count = m_list_positions.size();
int elem_count = m_list_values.size();
for (int i=0; i<elem_count; ++i)
{
int index = (i < pos_count) ? m_list_positions[i] : -1;
const property_value& v = m_list_values.get(i);
int pos = propValues->find(v.key, v.group);
if (pos != -1 && pos != index)
todelete.push_back(pos);
propValues->add(index, v.key, v.value, v.group);
}
for (int i=todelete.size()-1; i>=0; --i)
{
int pos = todelete[i];
propValues->del(pos);
}
}
int getGroupIndex(const tstring& group)
{
int count = m_cbox.GetCount();
MemoryBuffer mb;
for (int i=0; i<count; ++i)
{
int len = m_cbox.GetLBTextLen(i) + 1;
mb.alloc(len * sizeof(tchar));
tchar* buffer = reinterpret_cast<tchar*>(mb.getData());
m_cbox.GetLBText(i, buffer);
tstring name(buffer);
if (group == name)
return i;
}
return -1;
}
void getCurrentGroup(tstring *group)
{
int index = m_cbox.GetCurSel();
if (index == -1) return;
int len = m_cbox.GetLBTextLen(index) + 1;
WCHAR *buffer = new WCHAR[len];
m_cbox.GetLBText(index, buffer);
group->assign(buffer);
delete[]buffer;
}
};
| [
"gm79@list.ru"
] | gm79@list.ru |
99cf9edd1af81c0ea4048ffdbb9c34817f8acb62 | 87e646034192ec657eead214c2592ac489cc2893 | /chapter4/DepthFirstPaths.hpp | 65182634d68047d9196b060b9b29e0d8c40a3b7e | [] | no_license | LurenAA/Algorithms | 4fcfe5cd99d6f5bc01d86648d2fa8abf919a1c52 | 5750022e75f96cabfdca8518fc9fc22380b393c0 | refs/heads/master | 2020-12-06T06:05:15.933130 | 2020-02-14T13:20:03 | 2020-02-14T13:20:03 | 232,366,889 | 16 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,283 | hpp | /*
* @Author: XiaoGongBai
* @Date: 2020-01-25 19:14:34
* @Last Modified by: XiaoGongBai
* @Last Modified time: 2020-01-25 20:27:27
*/
#pragma once
#include <list>
#include <fstream>
#include <vector>
#include <string>
#include <iterator>
#include <algorithm>
#include <Graph.hpp>
using namespace std;
/**
* 深度优先搜索
* 寻找路径
**/
class DepthFirstPaths
{
public:
DepthFirstPaths(Graph& g, int s);
~DepthFirstPaths() {delete [] edgeTo; delete [] marked;}
bool hasPathTo(int v) const {return marked[v];};
vector<int> pathTo(int v);
private:
void dfs(Graph& g, int v);
int *edgeTo;
bool *marked;
int s; //起点
};
DepthFirstPaths::DepthFirstPaths(Graph& g, int s)
: edgeTo(nullptr), marked(nullptr), s(s)
{
edgeTo = new int [g.V()];
marked = new bool [g.V()] ;
for(int i = 0;i < g.V(); ++i) {
marked[i] = false;
}
dfs(g, s);
}
void DepthFirstPaths::dfs(Graph& g, int v)
{
marked[v] = true;
for(auto x : g.adj(v)) {
if(!marked[x]) {
edgeTo[x] = v;
dfs(g, x);
}
}
}
vector<int>
DepthFirstPaths::pathTo(int v)
{
vector<int> vec;
if(!marked[v]) return vec;
vec.push_back(v);
while(v != s)
{
v = edgeTo[v];
vec.push_back(v);
}
reverse(vec.begin(), vec.end());
return vec;
} | [
"978601499@qq.com"
] | 978601499@qq.com |
9997a0a38640a06dbf635d3309e19e945daaf4ee | 48b428695ad6b12390b068ae0994494edcfd893b | /Header Files/BitmapHandler.h | d307ff4ac517dcdabd99ab901041294f72dc35dc | [] | no_license | 0000duck/OLProgram | ba20ebe6239563f7c52416a65d892e9dfbd7f9fc | b1f1d1b40e3f7c1b237770834b42bbf11a04135a | refs/heads/master | 2020-04-12T08:37:18.793007 | 2016-11-11T09:37:04 | 2016-11-11T09:37:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,194 | h | // BitmapHandler.h : Declaration of the CBitmapHandler
#pragma once
#include "EliteSoftWare_i.h"
#include "resource.h" // main symbols
#include <comsvcs.h>
#include <list>
// CBitmapHandler
class ATL_NO_VTABLE CBitmapHandler :
public CComObjectRootEx<CComSingleThreadModel>,
public CComCoClass<CBitmapHandler, &CLSID_BitmapHandler>,
public IDispatchImpl<IBitmapHandler, &IID_IBitmapHandler, &LIBID_EliteSoftWareLib, /*wMajor =*/ 1, /*wMinor =*/ 0>
{
public:
CBitmapHandler()
{
}
DECLARE_PROTECT_FINAL_CONSTRUCT()
HRESULT FinalConstruct()
{
return S_OK;
}
void FinalRelease()
{
}
DECLARE_REGISTRY_RESOURCEID(IDR_BITMAPHANDLER)
DECLARE_NOT_AGGREGATABLE(CBitmapHandler)
BEGIN_COM_MAP(CBitmapHandler)
COM_INTERFACE_ENTRY(IBitmapHandler)
COM_INTERFACE_ENTRY(IDispatch)
END_COM_MAP()
public:
STDMETHOD(CreateBitmapFileFromResource)(DWORD resID, BSTR* retval);
STDMETHOD(Dispose)();
protected:
CComBSTR CreateUniqueFileName();
BOOL SaveHBitmapToDisk(LPCTSTR filename, HBITMAP hBmp, HPALETTE hPal);
BOOL CleanFilesFromDisk();
private:
std::list<CString> createdFiles;
// IBitmapHandler
public:
};
OBJECT_ENTRY_AUTO(__uuidof(BitmapHandler), CBitmapHandler)
| [
"qqs318@126.com"
] | qqs318@126.com |
a2d1e168680eaf009a606e9e22794b225c0b197a | 63b6d834c7e04747874ef022ac3b33ae1d190133 | /libcef_dll/ctocpp/views/window_ctocpp.h | 77e4e05a7035b28fa10522d8bfd59340b4e0a8f3 | [
"BSD-3-Clause"
] | permissive | errNo7/cef | 2144485a9d8f2d91c3cd26dc71c5a554b505489f | 6f6072b857847af276cb84caec0948d5d442521d | refs/heads/master | 2023-08-19T10:34:29.985938 | 2021-09-09T07:50:10 | 2021-09-09T07:50:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,952 | h | // Copyright (c) 2021 The Chromium Embedded Framework 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 was generated by the CEF translator tool. If making changes by
// hand only do so within the body of existing method and function
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=f2fbf4be1755ed8793c2d471d65eddbdf4ba148b$
//
#ifndef CEF_LIBCEF_DLL_CTOCPP_VIEWS_WINDOW_CTOCPP_H_
#define CEF_LIBCEF_DLL_CTOCPP_VIEWS_WINDOW_CTOCPP_H_
#pragma once
#if !defined(WRAPPING_CEF_SHARED)
#error This file can be included wrapper-side only
#endif
#include <vector>
#include "include/capi/views/cef_window_capi.h"
#include "include/views/cef_window.h"
#include "libcef_dll/ctocpp/ctocpp_ref_counted.h"
// Wrap a C structure with a C++ class.
// This class may be instantiated and accessed wrapper-side only.
class CefWindowCToCpp
: public CefCToCppRefCounted<CefWindowCToCpp, CefWindow, cef_window_t> {
public:
CefWindowCToCpp();
virtual ~CefWindowCToCpp();
// CefWindow methods.
void Show() override;
void Hide() override;
void CenterWindow(const CefSize& size) override;
void Close() override;
bool IsClosed() override;
void Activate() override;
void Deactivate() override;
bool IsActive() override;
void BringToTop() override;
void SetAlwaysOnTop(bool on_top) override;
bool IsAlwaysOnTop() override;
void Maximize() override;
void Minimize() override;
void Restore() override;
void SetFullscreen(bool fullscreen) override;
bool IsMaximized() override;
bool IsMinimized() override;
bool IsFullscreen() override;
void SetTitle(const CefString& title) override;
CefString GetTitle() override;
void SetWindowIcon(CefRefPtr<CefImage> image) override;
CefRefPtr<CefImage> GetWindowIcon() override;
void SetWindowAppIcon(CefRefPtr<CefImage> image) override;
CefRefPtr<CefImage> GetWindowAppIcon() override;
void ShowMenu(CefRefPtr<CefMenuModel> menu_model,
const CefPoint& screen_point,
cef_menu_anchor_position_t anchor_position) override;
void CancelMenu() override;
CefRefPtr<CefDisplay> GetDisplay() override;
CefRect GetClientAreaBoundsInScreen() override;
void SetDraggableRegions(
const std::vector<CefDraggableRegion>& regions) override;
CefWindowHandle GetWindowHandle() override;
void SendKeyPress(int key_code, uint32 event_flags) override;
void SendMouseMove(int screen_x, int screen_y) override;
void SendMouseEvents(cef_mouse_button_type_t button,
bool mouse_down,
bool mouse_up) override;
void SetAccelerator(int command_id,
int key_code,
bool shift_pressed,
bool ctrl_pressed,
bool alt_pressed) override;
void RemoveAccelerator(int command_id) override;
void RemoveAllAccelerators() override;
// CefPanel methods.
CefRefPtr<CefWindow> AsWindow() override;
CefRefPtr<CefFillLayout> SetToFillLayout() override;
CefRefPtr<CefBoxLayout> SetToBoxLayout(
const CefBoxLayoutSettings& settings) override;
CefRefPtr<CefLayout> GetLayout() override;
void Layout() override;
void AddChildView(CefRefPtr<CefView> view) override;
void AddChildViewAt(CefRefPtr<CefView> view, int index) override;
void ReorderChildView(CefRefPtr<CefView> view, int index) override;
void RemoveChildView(CefRefPtr<CefView> view) override;
void RemoveAllChildViews() override;
size_t GetChildViewCount() override;
CefRefPtr<CefView> GetChildViewAt(int index) override;
// CefView methods.
CefRefPtr<CefBrowserView> AsBrowserView() override;
CefRefPtr<CefButton> AsButton() override;
CefRefPtr<CefPanel> AsPanel() override;
CefRefPtr<CefScrollView> AsScrollView() override;
CefRefPtr<CefTextfield> AsTextfield() override;
CefString GetTypeString() override;
CefString ToString(bool include_children) override;
bool IsValid() override;
bool IsAttached() override;
bool IsSame(CefRefPtr<CefView> that) override;
CefRefPtr<CefViewDelegate> GetDelegate() override;
CefRefPtr<CefWindow> GetWindow() override;
int GetID() override;
void SetID(int id) override;
int GetGroupID() override;
void SetGroupID(int group_id) override;
CefRefPtr<CefView> GetParentView() override;
CefRefPtr<CefView> GetViewForID(int id) override;
void SetBounds(const CefRect& bounds) override;
CefRect GetBounds() override;
CefRect GetBoundsInScreen() override;
void SetSize(const CefSize& size) override;
CefSize GetSize() override;
void SetPosition(const CefPoint& position) override;
CefPoint GetPosition() override;
CefSize GetPreferredSize() override;
void SizeToPreferredSize() override;
CefSize GetMinimumSize() override;
CefSize GetMaximumSize() override;
int GetHeightForWidth(int width) override;
void InvalidateLayout() override;
void SetVisible(bool visible) override;
bool IsVisible() override;
bool IsDrawn() override;
void SetEnabled(bool enabled) override;
bool IsEnabled() override;
void SetFocusable(bool focusable) override;
bool IsFocusable() override;
bool IsAccessibilityFocusable() override;
void RequestFocus() override;
void SetBackgroundColor(cef_color_t color) override;
cef_color_t GetBackgroundColor() override;
bool ConvertPointToScreen(CefPoint& point) override;
bool ConvertPointFromScreen(CefPoint& point) override;
bool ConvertPointToWindow(CefPoint& point) override;
bool ConvertPointFromWindow(CefPoint& point) override;
bool ConvertPointToView(CefRefPtr<CefView> view, CefPoint& point) override;
bool ConvertPointFromView(CefRefPtr<CefView> view, CefPoint& point) override;
};
#endif // CEF_LIBCEF_DLL_CTOCPP_VIEWS_WINDOW_CTOCPP_H_
| [
"magreenblatt@gmail.com"
] | magreenblatt@gmail.com |
63dba5473c259e4d964dbbbf3ac9a594d70d9ac8 | 50a570c7afc812fe43a1f7bf689b62d6ce6b6e8f | /src/net_main.cpp | 71dc74cc9a2c40720deb10bce1b0aec6d73b922a | [] | no_license | gsherwin3/opx-nas-linux | 2061d71ba5fbdb83082c064b77f45a363d3891bd | 78470fbf9e48ce8b21d2e2e96504d2a4bda42ca3 | refs/heads/master | 2021-01-11T20:01:20.057775 | 2017-02-13T15:12:44 | 2017-02-13T15:12:44 | 79,449,683 | 0 | 0 | null | 2017-01-19T12:08:48 | 2017-01-19T12:08:48 | null | UTF-8 | C++ | false | false | 25,285 | cpp | /*
* Copyright (c) 2016 Dell Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT
* LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS
* FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT.
*
* See the Apache Version 2.0 License for specific language governing
* permissions and limitations under the License.
*/
/*!
* \file net_main.c
* \brief Thread for all notification from kernel
* \date 11-2013
*/
#include "ds_api_linux_interface.h"
#include "ds_api_linux_neigh.h"
#include "nas_os_if_priv.h"
#include "os_if_utils.h"
#include "event_log.h"
#include "ds_api_linux_route.h"
#include "std_utils.h"
#include "db_linux_event_register.h"
#include "cps_api_interface_types.h"
#include "cps_api_object_category.h"
#include "cps_api_operation.h"
#include "std_socket_tools.h"
#include "netlink_tools.h"
#include "std_thread_tools.h"
#include "std_ip_utils.h"
#include "nas_nlmsg.h"
#include "dell-base-l2-mac.h"
#include "cps_api_route.h"
#include "nas_nlmsg_object_utils.h"
#include <limits.h>
#include <unistd.h>
#include <netinet/in.h>
#include <ifaddrs.h>
#include <netdb.h>
#include <stdio.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <linux/rtnetlink.h>
#include <linux/if.h>
#include <map>
/*
* Global variables
*/
typedef bool (*fn_nl_msg_handle)(int type, struct nlmsghdr * nh, void *context);
static std::map<int,nas_nl_sock_TYPES> nlm_sockets;
static INTERFACE *g_if_db;
INTERFACE *os_get_if_db_hdlr() {
return g_if_db;
}
static if_bridge *g_if_bridge_db;
if_bridge *os_get_bridge_db_hdlr() {
return g_if_bridge_db;
}
static if_bond *g_if_bond_db;
if_bond *os_get_bond_db_hdlr() {
return g_if_bond_db;
}
extern "C" {
/*
* Pthread variables
*/
static uint64_t _local_event_count = 0;
static std_thread_create_param_t _net_main_thr;
static cps_api_event_service_handle_t _handle;
const static int MAX_CPS_MSG_SIZE=10000;
/* Netlink message counters */
struct nl_stats_desc {
uint32_t num_events_rcvd;
uint32_t num_bulk_events_rcvd;
uint32_t max_events_rcvd_in_bulk;
uint32_t min_events_rcvd_in_bulk;
uint32_t num_add_events;
uint32_t num_del_events;
uint32_t num_get_events;
uint32_t num_invalid_add_events;
uint32_t num_invalid_del_events;
uint32_t num_invalid_get_events;
uint32_t num_add_events_pub;
uint32_t num_del_events_pub;
uint32_t num_get_events_pub;
uint32_t num_add_events_pub_failed;
uint32_t num_del_events_pub_failed;
uint32_t num_get_events_pub_failed;
void (*reset)(nas_nl_sock_TYPES type);
void (*print)(nas_nl_sock_TYPES type);
void (*print_msg_detail)(nas_nl_sock_TYPES type);
void (*print_pub_detail)(nas_nl_sock_TYPES type);
};
static void nl_stats_reset(nas_nl_sock_TYPES type);
static void nl_stats_print(nas_nl_sock_TYPES type);
static void nl_stats_print_msg_detail (nas_nl_sock_TYPES type);
static void nl_stats_print_pub_detail (nas_nl_sock_TYPES type);
static std::map<nas_nl_sock_TYPES,nl_stats_desc > nlm_counters = {
{ nas_nl_sock_T_ROUTE , { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, &nl_stats_reset, &nl_stats_print,
&nl_stats_print_msg_detail, &nl_stats_print_pub_detail} } ,
{ nas_nl_sock_T_INT ,{ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, &nl_stats_reset, &nl_stats_print,
&nl_stats_print_msg_detail, &nl_stats_print_pub_detail} },
{ nas_nl_sock_T_NEI ,{ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, &nl_stats_reset, &nl_stats_print,
&nl_stats_print_msg_detail, &nl_stats_print_pub_detail} },
};
/*
* Functions
*/
#define KN_DEBUG(x,...) EV_LOG_TRACE (ev_log_t_NETLINK,0,"NL-DBG",x, ##__VA_ARGS__)
cps_api_return_code_t net_publish_event(cps_api_object_t msg) {
cps_api_return_code_t rc = cps_api_ret_code_OK;
++_local_event_count;
rc = cps_api_event_publish(_handle,msg);
cps_api_object_delete(msg);
return rc;
}
void cps_api_event_count_clear(void) {
_local_event_count = 0;
}
uint64_t cps_api_event_count_get(void) {
return _local_event_count;
}
void rta_add_mac( struct nlattr* rtatp, cps_api_object_t obj, uint32_t attr) {
cps_api_object_attr_add(obj,attr,nla_data(rtatp),nla_len(rtatp));
}
void rta_add_mask(int family, uint_t prefix_len, cps_api_object_t obj, uint32_t attr) {
hal_ip_addr_t mask;
std_ip_get_mask_from_prefix_len(family,prefix_len,&mask);
cps_api_object_attr_add(obj,attr,&mask,sizeof(mask));
}
void rta_add_e_ip( struct nlattr* rtatp,int family, cps_api_object_t obj,
cps_api_attr_id_t *attr, size_t attr_id_len) {
hal_ip_addr_t ip;
if(family == AF_INET) {
struct in_addr *inp = (struct in_addr *) nla_data(rtatp);
std_ip_from_inet(&ip,inp);
} else {
struct in6_addr *inp6 = (struct in6_addr *) nla_data(rtatp);
std_ip_from_inet6(&ip,inp6);
}
cps_api_object_e_add(obj,attr,attr_id_len, cps_api_object_ATTR_T_BIN,
&ip,sizeof(ip));
}
unsigned int rta_add_name( struct nlattr* rtatp,cps_api_object_t obj, uint32_t attr_id) {
char buff[PATH_MAX];
memset(buff,0,sizeof(buff));
size_t len = (size_t)nla_len(rtatp) < (sizeof(buff)-1) ? nla_len(rtatp) : sizeof(buff)-1;
memcpy(buff,nla_data(rtatp),len);
len = strlen(buff)+1;
cps_api_object_attr_add(obj,attr_id,buff,len);
return len;
}
static inline void netlink_tot_msg_stat_update(nas_nl_sock_TYPES sock_type, int rt_msg_type) {
if ((rt_msg_type == RTM_NEWLINK) || (rt_msg_type == RTM_NEWADDR) ||
(rt_msg_type == RTM_NEWROUTE) || (rt_msg_type == RTM_NEWNEIGH)) {
nlm_counters[sock_type].num_add_events++;
} else if ((rt_msg_type == RTM_DELLINK) || (rt_msg_type == RTM_DELADDR) ||
(rt_msg_type == RTM_DELROUTE) || (rt_msg_type == RTM_DELNEIGH)) {
nlm_counters[sock_type].num_del_events++;
} else if ((rt_msg_type == RTM_GETLINK) || (rt_msg_type == RTM_GETADDR) ||
(rt_msg_type == RTM_GETROUTE) || (rt_msg_type == RTM_GETNEIGH)) {
nlm_counters[sock_type].num_get_events++;
}
}
static inline void netlink_invalid_msg_stat_update(nas_nl_sock_TYPES sock_type, int rt_msg_type) {
if ((rt_msg_type == RTM_NEWLINK) || (rt_msg_type == RTM_NEWADDR) ||
(rt_msg_type == RTM_NEWROUTE) || (rt_msg_type == RTM_NEWNEIGH)) {
nlm_counters[sock_type].num_invalid_add_events++;
} else if ((rt_msg_type == RTM_DELLINK) || (rt_msg_type == RTM_DELADDR) ||
(rt_msg_type == RTM_DELROUTE) || (rt_msg_type == RTM_DELNEIGH)) {
nlm_counters[sock_type].num_invalid_del_events++;
} else if ((rt_msg_type == RTM_GETLINK) || (rt_msg_type == RTM_GETADDR) ||
(rt_msg_type == RTM_GETROUTE) || (rt_msg_type == RTM_GETNEIGH)) {
nlm_counters[sock_type].num_invalid_get_events++;
}
}
static inline void netlink_pub_msg_stat_update(nas_nl_sock_TYPES sock_type, int rt_msg_type) {
if ((rt_msg_type == RTM_NEWLINK) || (rt_msg_type == RTM_NEWADDR) ||
(rt_msg_type == RTM_NEWROUTE) || (rt_msg_type == RTM_NEWNEIGH)) {
nlm_counters[sock_type].num_add_events_pub++;
} else if ((rt_msg_type == RTM_DELLINK) || (rt_msg_type == RTM_DELADDR) ||
(rt_msg_type == RTM_DELROUTE) || (rt_msg_type == RTM_DELNEIGH)) {
nlm_counters[sock_type].num_del_events_pub++;
} else if ((rt_msg_type == RTM_GETLINK) || (rt_msg_type == RTM_GETADDR) ||
(rt_msg_type == RTM_GETROUTE) || (rt_msg_type == RTM_GETNEIGH)) {
nlm_counters[sock_type].num_get_events_pub++;
}
}
static inline void netlink_pub_msg_failed_stat_update(nas_nl_sock_TYPES sock_type, int rt_msg_type) {
if ((rt_msg_type == RTM_NEWLINK) || (rt_msg_type == RTM_NEWADDR) ||
(rt_msg_type == RTM_NEWROUTE) || (rt_msg_type == RTM_NEWNEIGH)) {
nlm_counters[sock_type].num_add_events_pub_failed++;
} else if ((rt_msg_type == RTM_DELLINK) || (rt_msg_type == RTM_DELADDR) ||
(rt_msg_type == RTM_DELROUTE) || (rt_msg_type == RTM_DELNEIGH)) {
nlm_counters[sock_type].num_del_events_pub_failed++;
} else if ((rt_msg_type == RTM_GETLINK) || (rt_msg_type == RTM_GETADDR) ||
(rt_msg_type == RTM_GETROUTE) || (rt_msg_type == RTM_GETNEIGH)) {
nlm_counters[sock_type].num_get_events_pub_failed++;
}
}
static bool get_netlink_data(int rt_msg_type, struct nlmsghdr *hdr, void *data) {
static char buff[MAX_CPS_MSG_SIZE];
cps_api_object_t obj = cps_api_object_init(buff,sizeof(buff));
if (rt_msg_type < RTM_BASE)
return false;
/*!
* Range upto SET_LINK
*/
if (rt_msg_type <= RTM_SETLINK) {
netlink_tot_msg_stat_update(nas_nl_sock_T_INT, rt_msg_type);
if (os_interface_to_object(rt_msg_type,hdr,obj)) {
netlink_pub_msg_stat_update(nas_nl_sock_T_INT, rt_msg_type);
if (net_publish_event(obj) != cps_api_ret_code_OK) {
netlink_pub_msg_failed_stat_update(nas_nl_sock_T_INT, rt_msg_type);
}
} else {
netlink_invalid_msg_stat_update(nas_nl_sock_T_INT, rt_msg_type);
}
return true;
}
/*!
* Range upto GET_ADDRRESS
*/
if (rt_msg_type <= RTM_GETADDR) {
netlink_tot_msg_stat_update(nas_nl_sock_T_INT, rt_msg_type);
if (nl_get_ip_info(rt_msg_type,hdr,obj)) {
netlink_pub_msg_stat_update(nas_nl_sock_T_INT, rt_msg_type);
if (net_publish_event(obj) != cps_api_ret_code_OK) {
netlink_pub_msg_failed_stat_update(nas_nl_sock_T_INT, rt_msg_type);
}
} else {
netlink_invalid_msg_stat_update(nas_nl_sock_T_INT, rt_msg_type);
}
return true;
}
/*!
* Range upto GET_ROUTE
*/
if (rt_msg_type <= RTM_GETROUTE) {
netlink_tot_msg_stat_update(nas_nl_sock_T_ROUTE, rt_msg_type);
if (nl_to_route_info(rt_msg_type,hdr, obj)) {
netlink_pub_msg_stat_update(nas_nl_sock_T_ROUTE, rt_msg_type);
if (net_publish_event(obj) != cps_api_ret_code_OK) {
netlink_pub_msg_failed_stat_update(nas_nl_sock_T_ROUTE, rt_msg_type);
}
} else {
netlink_invalid_msg_stat_update(nas_nl_sock_T_ROUTE, rt_msg_type);
}
return true;
}
/*!
* Range upto GET_NEIGHBOR
*/
if (rt_msg_type <= RTM_GETNEIGH) {
netlink_tot_msg_stat_update(nas_nl_sock_T_NEI, rt_msg_type);
if (nl_to_neigh_info(rt_msg_type, hdr,obj)) {
cps_api_key_init(cps_api_object_key(obj),cps_api_qualifier_TARGET,
cps_api_obj_cat_ROUTE,cps_api_route_obj_NEIBH,0);
netlink_pub_msg_stat_update(nas_nl_sock_T_NEI, rt_msg_type);
if (net_publish_event(obj) != cps_api_ret_code_OK) {
netlink_pub_msg_failed_stat_update(nas_nl_sock_T_NEI, rt_msg_type);
}
} else {
netlink_invalid_msg_stat_update(nas_nl_sock_T_NEI, rt_msg_type);
}
return true;
}
return false;
}
static void publish_existing()
{
struct ifaddrs *if_addr, *ifa;
int family, s;
char name[NI_MAXHOST];
if(getifaddrs(&if_addr) == -1) {
return;
}
for (ifa = if_addr; ifa; ifa = ifa->ifa_next)
{
if(ifa->ifa_addr == NULL)
continue;
family = ifa->ifa_addr->sa_family;
if (family == AF_INET || family == AF_INET6)
{
KN_DEBUG("%s - family: %d%s, flags 0x%x",
ifa->ifa_name, family,
(family == AF_INET)?"(AF_INET)":
(family == AF_INET6)?"(AF_INET6)":"", ifa->ifa_flags);
s = getnameinfo(ifa->ifa_addr,
(family == AF_INET)? sizeof(struct sockaddr_in):
sizeof(struct sockaddr_in6),
name, NI_MAXHOST, NULL, 0, NI_NUMERICHOST);
if (!s)
KN_DEBUG(" Address %s", name);
else
KN_DEBUG(" get name failed");
s = getnameinfo(ifa->ifa_netmask,
(family == AF_INET)? sizeof(struct sockaddr_in):
sizeof(struct sockaddr_in6),
name, NI_MAXHOST, NULL, 0, NI_NUMERICHOST);
if (!s)
KN_DEBUG(" Mask %s strlen %d", name, (int)strlen(name));
else
KN_DEBUG(" get name failed");
cps_api_object_t obj = cps_api_object_create();
cps_api_object_attr_add(obj,cps_api_if_ADDR_A_NAME,
ifa->ifa_name,strlen(ifa->ifa_name)+1);
if (family == AF_INET) {
hal_ip_addr_t ip;
std_ip_from_inet(&ip,&(((struct sockaddr_in *)ifa->ifa_addr)->sin_addr));
cps_api_object_attr_add(obj,cps_api_if_ADDR_A_IF_ADDR,
&ip,sizeof(ip));
std_ip_from_inet(&ip,&(((struct sockaddr_in *)ifa->ifa_netmask)->sin_addr));
cps_api_object_attr_add(obj,cps_api_if_ADDR_A_IF_MASK,
&ip,sizeof(ip));
}
else {
hal_ip_addr_t ip;
std_ip_from_inet6(&ip,&(((struct sockaddr_in6 *)ifa->ifa_addr)->sin6_addr));
cps_api_object_attr_add(obj,cps_api_if_ADDR_A_IF_ADDR,
&ip,sizeof(ip));
std_ip_from_inet6(&ip,&(((struct sockaddr_in6 *)ifa->ifa_netmask)->sin6_addr));
cps_api_object_attr_add(obj,cps_api_if_ADDR_A_IF_MASK,
&ip,sizeof(ip));
}
cps_api_key_init(cps_api_object_key(obj),cps_api_qualifier_TARGET,
cps_api_obj_cat_INTERFACE,cps_api_int_obj_INTERFACE_ADDR,0);
net_publish_event(obj);
}
}
freeifaddrs(if_addr);
return;
}
static char buf[NL_SCRATCH_BUFFER_LEN];
static inline void add_fd_set(int fd, fd_set &fdset, int &max_fd) {
FD_SET(fd, &fdset);
if (fd>max_fd) max_fd = fd;
}
struct nl_event_desc {
fn_nl_msg_handle process;
bool (*trigger)(int sock, int id);
} ;
static bool trigger_route(int sock, int reqid);
static bool trigger_neighbour(int sock, int reqid);
static std::map<nas_nl_sock_TYPES,nl_event_desc > nlm_handlers = {
{ nas_nl_sock_T_ROUTE , { get_netlink_data, &trigger_route} } ,
{ nas_nl_sock_T_INT ,{ get_netlink_data, nl_interface_get_request} },
{ nas_nl_sock_T_NEI ,{ get_netlink_data,&trigger_neighbour } },
};
static bool trigger_route(int sock, int reqid) {
if (nl_request_existing_routes(sock,AF_INET,++reqid)) {
netlink_tools_process_socket(sock,nlm_handlers[nas_nl_sock_T_ROUTE].process,
NULL,buf,sizeof(buf),&reqid,NULL);
}
if (nl_request_existing_routes(sock,AF_INET6,++reqid)) {
netlink_tools_process_socket(sock,nlm_handlers[nas_nl_sock_T_ROUTE].process,
NULL,buf,sizeof(buf),&reqid,NULL);
}
return true;
}
static bool trigger_neighbour(int sock, int reqid) {
if (nl_neigh_get_all_request(sock,AF_INET,++reqid)) {
netlink_tools_process_socket(sock,nlm_handlers[nas_nl_sock_T_NEI].process,
NULL,buf,sizeof(buf),&reqid,NULL);
}
if (nl_neigh_get_all_request(sock,AF_INET6,++reqid)) {
netlink_tools_process_socket(sock,nlm_handlers[nas_nl_sock_T_NEI].process,
NULL,buf,sizeof(buf),&reqid,NULL);
}
return true;
}
void nl_stats_update (int sock, uint32_t bulk_msg_count) {
for ( auto &it : nlm_sockets) {
if (it.first == sock ) {
nlm_counters[it.second].num_events_rcvd += bulk_msg_count;
if (bulk_msg_count > 1) //increment bulk rcvd count only if the count is > 1.
{
nlm_counters[it.second].num_bulk_events_rcvd++;
if (bulk_msg_count > nlm_counters[it.second].max_events_rcvd_in_bulk)
nlm_counters[it.second].max_events_rcvd_in_bulk = bulk_msg_count;
if (bulk_msg_count < nlm_counters[it.second].min_events_rcvd_in_bulk)
nlm_counters[it.second].min_events_rcvd_in_bulk = bulk_msg_count;
else if (nlm_counters[it.second].min_events_rcvd_in_bulk == 0)
nlm_counters[it.second].min_events_rcvd_in_bulk = bulk_msg_count;
}
}
}
return;
}
static void nl_stats_reset (nas_nl_sock_TYPES type) {
nlm_counters[type].num_events_rcvd = 0;
nlm_counters[type].num_bulk_events_rcvd = 0;
nlm_counters[type].max_events_rcvd_in_bulk = 0;
nlm_counters[type].min_events_rcvd_in_bulk = 0;
nlm_counters[type].num_add_events= 0;
nlm_counters[type].num_del_events= 0;
nlm_counters[type].num_get_events= 0;
nlm_counters[type].num_invalid_add_events= 0;
nlm_counters[type].num_invalid_del_events= 0;
nlm_counters[type].num_invalid_get_events= 0;
nlm_counters[type].num_add_events_pub= 0;
nlm_counters[type].num_del_events_pub= 0;
nlm_counters[type].num_get_events_pub= 0;
nlm_counters[type].num_add_events_pub_failed= 0;
nlm_counters[type].num_del_events_pub_failed= 0;
nlm_counters[type].num_get_events_pub_failed= 0;
return;
}
static const std::map<nas_nl_sock_TYPES, std::string> _sock_type_to_str = {
{ nas_nl_sock_T_ROUTE, "ROUTE" },
{ nas_nl_sock_T_INT, "INT" },
{ nas_nl_sock_T_NEI, "NEIGH" },
};
static void nl_stats_print (nas_nl_sock_TYPES type) {
auto it = _sock_type_to_str.find(type);
if (it == _sock_type_to_str.end()) {
// invalid socket group for stats_print.
return;
}
printf("\r %-10s | %-10d | %-10d | %-10d | %-10d\r\n",
it->second.c_str(),
nlm_counters[type].num_events_rcvd,
nlm_counters[type].num_bulk_events_rcvd,
nlm_counters[type].max_events_rcvd_in_bulk,
nlm_counters[type].min_events_rcvd_in_bulk);
return;
}
static void nl_stats_print_msg_detail (nas_nl_sock_TYPES type) {
auto it = _sock_type_to_str.find(type);
if (it == _sock_type_to_str.end()) {
// invalid socket group for stats_print.
return;
}
printf("\r %-10s | %-10d | %-10d | %-10d | %-12d | %-12d | %-12d\r\n",
it->second.c_str(),
nlm_counters[type].num_add_events,
nlm_counters[type].num_del_events,
nlm_counters[type].num_get_events,
nlm_counters[type].num_invalid_add_events,
nlm_counters[type].num_invalid_del_events,
nlm_counters[type].num_invalid_get_events);
return;
}
static void nl_stats_print_pub_detail (nas_nl_sock_TYPES type) {
auto it = _sock_type_to_str.find(type);
if (it == _sock_type_to_str.end()) {
// invalid socket group for stats_print.
return;
}
printf("\r %-10s | %-10d | %-10d | %-10d | %-13d | %-13d | %-13d\r\n",
it->second.c_str(),
nlm_counters[type].num_add_events_pub,
nlm_counters[type].num_del_events_pub,
nlm_counters[type].num_get_events_pub,
nlm_counters[type].num_add_events_pub_failed,
nlm_counters[type].num_del_events_pub_failed,
nlm_counters[type].num_get_events_pub_failed);
return;
}
void os_debug_nl_stats_reset () {
for ( auto &it : nlm_sockets) {
if (nlm_counters[it.second].reset !=NULL) {
nlm_counters[it.second].reset(it.second);
}
}
}
void os_debug_nl_stats_print () {
printf("\r\n NETLINK STATS INFORMATION socket-rx-buf-size:%d scratch buf-size:%d\r\n",
NL_SOCKET_BUFFER_LEN, NL_SCRATCH_BUFFER_LEN);
for ( auto &it : nlm_sockets) {
printf("Socket type:%s sock-fd:%d\r\n",
((it.second == nas_nl_sock_T_ROUTE) ? "Route" :
(it.second == nas_nl_sock_T_INT) ? "Intf" : "Nbr"), it.first);
}
printf("\r =========================\r\n");
printf("\r\n %-10s | %-10s | %-10s | %-10s | %-10s\r\n", "Sock Type", "#events", "#bulk", "#max_bulk", "min_bulk");
printf("\r %-10s | %-10s | %-10s | %-10s | %-10s\r\n",
"==========",
"==========",
"==========",
"==========",
"==========");
for ( auto &it : nlm_sockets) {
if (nlm_counters[it.second].print!=NULL) {
nlm_counters[it.second].print(it.second);
}
}
printf(" \r\n===============================Netlink Message Details=========================================\r\n");
printf("\r %-10s | %-10s | %-10s | %-10s | %-12s | %-12s | %-12s\r\n",
"Sock Type", "#add", "#del", "#get", "#invalid_add", "#invalid_del", "#invalid_get");
printf("\r %-10s | %-10s | %-10s | %-10s | %-12s | %-12s | %-12s\r\n",
"==========", "==========", "==========", "==========", "============",
"============", "============");
for ( auto &it : nlm_sockets) {
if (nlm_counters[it.second].print_msg_detail!=NULL) {
nlm_counters[it.second].print_msg_detail(it.second);
}
}
printf(" \r\n===============================Netlink Message Publish Details====================================\r\n");
printf("\r %-10s | %-10s | %-10s | %-10s | %-13s | %-13s | %-13s\r\n",
"Sock Type", "#add_pub", "#del_pub", "#get_pub", "#add_pub_fail", "#del_pub_fail", "#get_pub_fail");
printf("\r %-10s | %-10s | %-10s | %-10s | %-13s | %-13s | %-13s\r\n",
"==========", "==========", "==========", "==========", "=============",
"=============", "=============");
for ( auto &it : nlm_sockets) {
if (nlm_counters[it.second].print_pub_detail!=NULL) {
nlm_counters[it.second].print_pub_detail(it.second);
}
}
}
void os_send_refresh(nas_nl_sock_TYPES type) {
int RANDOM_REQ_ID = 0xee00;
for ( auto &it : nlm_sockets) {
if (it.second == type && nlm_handlers[it.second].trigger!=NULL) {
nlm_handlers[it.second].trigger(it.first,RANDOM_REQ_ID);
}
}
}
int net_main() {
int max_fd = -1;
struct sockaddr_nl sa;
fd_set read_fds, sel_fds;
FD_ZERO(&read_fds);
memset(&sa, 0, sizeof(sa));
size_t ix = nas_nl_sock_T_ROUTE;
for ( ; ix < (size_t)nas_nl_sock_T_MAX; ++ix ) {
int sock = nas_nl_sock_create((nas_nl_sock_TYPES)(ix),true);
if(sock==-1) {
EV_LOG(ERR,NETLINK,0,"INIT","Failed to initialize sockets...%d",errno);
exit(-1);
}
EV_LOG(INFO,NETLINK,2, "NET-NOTIFY","Socket: ix %d, sock id %d", ix, sock);
nlm_sockets[sock] = (nas_nl_sock_TYPES)(ix);
add_fd_set(sock,read_fds,max_fd);
}
//Publish existing..
publish_existing();
nas_nl_sock_TYPES _refresh_list[] = {
nas_nl_sock_T_INT,
nas_nl_sock_T_NEI,
nas_nl_sock_T_ROUTE
};
g_if_db = new (std::nothrow) (INTERFACE);
g_if_bridge_db = new (std::nothrow) (if_bridge);
g_if_bond_db = new (std::nothrow) (if_bond);
if(g_if_db == nullptr || g_if_bridge_db == nullptr || g_if_bridge_db == nullptr)
EV_LOG(ERR,NETLINK,0,"INIT","Allocation failed for class objects...");
ix = 0;
size_t refresh_mx = sizeof(_refresh_list)/sizeof(*_refresh_list);
for ( ; ix < refresh_mx ; ++ix ) {
os_send_refresh(_refresh_list[ix]);
}
while (1) {
memcpy ((char *) &sel_fds, (char *) &read_fds, sizeof(fd_set));
if(select((max_fd+1), &sel_fds, NULL, NULL, NULL) <= 0)
continue;
for ( auto &it : nlm_sockets) {
if (FD_ISSET(it.first,&sel_fds)) {
netlink_tools_receive_event(it.first,nlm_handlers[it.second].process,
NULL,buf,sizeof(buf),NULL);
}
}
}
return 0;
}
t_std_error cps_api_net_notify_init(void) {
EV_LOG_TRACE(ev_log_t_NULL, 3, "NET-NOTIFY","Initializing Net Notify Thread");
if (cps_api_event_client_connect(&_handle)!=STD_ERR_OK) {
EV_LOG_ERR(ev_log_t_NULL, 3, "NET-NOTIFY","Failed to initialize");
return STD_ERR(INTERFACE,FAIL,0);
}
std_thread_init_struct(&_net_main_thr);
_net_main_thr.name = "db-api-linux-events";
_net_main_thr.thread_function = (std_thread_function_t)net_main;
t_std_error rc = std_thread_create(&_net_main_thr);
if (rc!=STD_ERR_OK) {
EV_LOG(ERR,INTERFACE,3,"db-api-linux-event-init-fail","Failed to "
"initialize event service due");
}
cps_api_operation_handle_t handle;
if (cps_api_operation_subsystem_init(&handle,1)!=STD_ERR_OK) {
return STD_ERR(INTERFACE,FAIL,0);
}
if (os_interface_object_reg(handle)!=STD_ERR_OK) {
return STD_ERR(INTERFACE,FAIL,0);
}
return rc;
}
}
| [
"J.T.Conklin@Dell.Com"
] | J.T.Conklin@Dell.Com |
0622c69aa490235a284d6dc86425f07b312e421b | a1d319f22634908f4fb31ac7c2a21f66225cc991 | /Shared/cpp/openfst-1.2.10/src/include/fst/equivalent.h | f778c1e9af854ba84bd3f5ba374c1d647c025e85 | [
"Apache-2.0"
] | permissive | sdl-research/sdl-externals | 2ee2ae43a5d641cc0e2c0a7c642f48d15f32fbeb | 56459e0124eadf38ff551494b81544cb678a71d7 | refs/heads/master | 2021-01-17T15:06:59.783100 | 2016-07-10T06:40:45 | 2016-07-10T06:40:45 | 28,290,682 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,331 | h | // equivalent.h
// 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.
//
// Copyright 2005-2010 Google, Inc.
// Author: wojciech@google.com (Wojciech Skut)
//
// \file Functions and classes to determine the equivalence of two
// FSTs.
#ifndef FST_LIB_EQUIVALENT_H__
#define FST_LIB_EQUIVALENT_H__
#include <algorithm>
#include <deque>
#include <tr1/unordered_map>
#include <utility>
using std::pair; using std::make_pair;
#include <vector>
using std::vector;
#include <fst/encode.h>
#include <fst/push.h>
#include <fst/union-find.h>
#include <fst/vector-fst.h>
namespace fst {
// Traits-like struct holding utility functions/typedefs/constants for
// the equivalence algorithm.
//
// Encoding device: in order to make the statesets of the two acceptors
// disjoint, we map Arc::StateId on the type MappedId. The states of
// the first acceptor are mapped on odd numbers (s -> 2s + 1), and
// those of the second one on even numbers (s -> 2s + 2). The number 0
// is reserved for an implicit (non-final) 'dead state' (required for
// the correct treatment of non-coaccessible states; kNoStateId is
// mapped to kDeadState for both acceptors). The union-find algorithm
// operates on the mapped IDs.
template <class Arc>
struct EquivalenceUtil {
typedef typename Arc::StateId StateId;
typedef typename Arc::Weight Weight;
typedef StateId MappedId; // ID for an equivalence class.
// MappedId for an implicit dead state.
static const MappedId kDeadState = 0;
// MappedId for lookup failure.
static const MappedId kInvalidId = -1;
// Maps state ID to the representative of the corresponding
// equivalence class. The parameter 'which_fst' takes the values 1
// and 2, identifying the input FST.
static MappedId MapState(StateId s, int32 which_fst) {
return
(kNoStateId == s)
?
kDeadState
:
(static_cast<MappedId>(s) << 1) + which_fst;
}
// Maps set ID to State ID.
static StateId UnMapState(MappedId id) {
return static_cast<StateId>((--id) >> 1);
}
// Convenience function: checks if state with MappedId 's' is final
// in acceptor 'fa'.
static bool IsFinal(const Fst<Arc> &fa, MappedId s) {
return
(kDeadState == s) ?
false : (fa.Final(UnMapState(s)) != Weight::Zero());
}
// Convenience function: returns the representative of 'id' in 'sets',
// creating a new set if needed.
static MappedId FindSet(UnionFind<MappedId> *sets, MappedId id) {
MappedId repr = sets->FindSet(id);
if (repr != kInvalidId) {
return repr;
} else {
sets->MakeSet(id);
return id;
}
}
};
template <class Arc> const
typename EquivalenceUtil<Arc>::MappedId EquivalenceUtil<Arc>::kDeadState;
template <class Arc> const
typename EquivalenceUtil<Arc>::MappedId EquivalenceUtil<Arc>::kInvalidId;
// Equivalence checking algorithm: determines if the two FSTs
// <code>fst1</code> and <code>fst2</code> are equivalent. The input
// FSTs must be deterministic input-side epsilon-free acceptors,
// unweighted or with weights over a left semiring. Two acceptors are
// considered equivalent if they accept exactly the same set of
// strings (with the same weights).
//
// The algorithm (cf. Aho, Hopcroft and Ullman, "The Design and
// Analysis of Computer Programs") successively constructs sets of
// states that can be reached by the same prefixes, starting with a
// set containing the start states of both acceptors. A disjoint tree
// forest (the union-find algorithm) is used to represent the sets of
// states. The algorithm returns 'false' if one of the constructed
// sets contains both final and non-final states.
//
// Complexity: quasi-linear, i.e. O(n G(n)), where
// n = |S1| + |S2| is the number of states in both acceptors
// G(n) is a very slowly growing function that can be approximated
// by 4 by all practical purposes.
//
template <class Arc>
bool Equivalent(const Fst<Arc> &fst1,
const Fst<Arc> &fst2,
double delta = kDelta) {
typedef typename Arc::Weight Weight;
// Check that the symbol table are compatible
if (!CompatSymbols(fst1.InputSymbols(), fst2.InputSymbols()) ||
!CompatSymbols(fst1.OutputSymbols(), fst2.OutputSymbols()))
LOG(FATAL) << "Equivalent: input/output symbol tables of 1st argument "
<< "do not match input/output symbol tables of 2nd argument";
// Check properties first:
uint64 props = kNoEpsilons | kIDeterministic | kAcceptor;
if (fst1.Properties(props, true) != props) {
LOG(FATAL) << "Equivalent: first argument not an"
<< " epsilon-free deterministic acceptor";
}
if (fst2.Properties(props, true) != props) {
LOG(FATAL) << "Equivalent: second argument not an"
<< " epsilon-free deterministic acceptor";
}
if ((fst1.Properties(kUnweighted , true) != kUnweighted)
|| (fst2.Properties(kUnweighted , true) != kUnweighted)) {
VectorFst<Arc> efst1(fst1);
VectorFst<Arc> efst2(fst2);
Push(&efst1, REWEIGHT_TO_INITIAL, delta);
Push(&efst2, REWEIGHT_TO_INITIAL, delta);
ArcMap(&efst1, QuantizeMapper<Arc>(delta));
ArcMap(&efst2, QuantizeMapper<Arc>(delta));
EncodeMapper<Arc> mapper(kEncodeWeights|kEncodeLabels, ENCODE);
ArcMap(&efst1, &mapper);
ArcMap(&efst2, &mapper);
return Equivalent(efst1, efst2);
}
// Convenience typedefs:
typedef typename Arc::StateId StateId;
typedef EquivalenceUtil<Arc> Util;
typedef typename Util::MappedId MappedId;
enum { FST1 = 1, FST2 = 2 }; // Required by Util::MapState(...)
MappedId s1 = Util::MapState(fst1.Start(), FST1);
MappedId s2 = Util::MapState(fst2.Start(), FST2);
// The union-find structure.
UnionFind<MappedId> eq_classes(1000, Util::kInvalidId);
// Initialize the union-find structure.
eq_classes.MakeSet(s1);
eq_classes.MakeSet(s2);
// Early return if the start states differ w.r.t. being final.
if (Util::IsFinal(fst1, s1) != Util::IsFinal(fst2, s2)) {
return false;
}
// Data structure for the (partial) acceptor transition function of
// fst1 and fst2: input labels mapped to pairs of MappedId's
// representing destination states of the corresponding arcs in fst1
// and fst2, respectively.
typedef
std::tr1::unordered_map<typename Arc::Label, pair<MappedId, MappedId> >
Label2StatePairMap;
Label2StatePairMap arc_pairs;
// Pairs of MappedId's to be processed, organized in a queue.
deque<pair<MappedId, MappedId> > q;
// Main loop: explores the two acceptors in a breadth-first manner,
// updating the equivalence relation on the statesets. Loop
// invariant: each block of states contains either final states only
// or non-final states only.
for (q.push_back(make_pair(s1, s2)); !q.empty(); q.pop_front()) {
s1 = q.front().first;
s2 = q.front().second;
// Representatives of the equivalence classes of s1/s2.
MappedId rep1 = Util::FindSet(&eq_classes, s1);
MappedId rep2 = Util::FindSet(&eq_classes, s2);
if (rep1 != rep2) {
eq_classes.Union(rep1, rep2);
arc_pairs.clear();
// Copy outgoing arcs starting at s1 into the hashtable.
if (Util::kDeadState != s1) {
ArcIterator<Fst<Arc> > arc_iter(fst1, Util::UnMapState(s1));
for (; !arc_iter.Done(); arc_iter.Next()) {
const Arc &arc = arc_iter.Value();
if (arc.weight != Weight::Zero()) { // Zero-weight arcs
// are treated as
// non-exisitent.
arc_pairs[arc.ilabel].first = Util::MapState(arc.nextstate, FST1);
}
}
}
// Copy outgoing arcs starting at s2 into the hashtable.
if (Util::kDeadState != s2) {
ArcIterator<Fst<Arc> > arc_iter(fst2, Util::UnMapState(s2));
for (; !arc_iter.Done(); arc_iter.Next()) {
const Arc &arc = arc_iter.Value();
if (arc.weight != Weight::Zero()) { // Zero-weight arcs
// are treated as
// non-existent.
arc_pairs[arc.ilabel].second = Util::MapState(arc.nextstate, FST2);
}
}
}
// Iterate through the hashtable and process pairs of target
// states.
for (typename Label2StatePairMap::const_iterator
arc_iter = arc_pairs.begin();
arc_iter != arc_pairs.end();
++arc_iter) {
const pair<MappedId, MappedId> &p = arc_iter->second;
if (Util::IsFinal(fst1, p.first) != Util::IsFinal(fst2, p.second)) {
// Detected inconsistency: return false.
return false;
}
q.push_back(p);
}
}
}
return true;
}
} // namespace fst
#endif // FST_LIB_EQUIVALENT_H__
| [
"mdreyer@sdl.com"
] | mdreyer@sdl.com |
8dd03c25d7cd6f47225b05cacb6285e0419a37e7 | 1414c4394b3f3fbd8f2ee027e699277a2f704374 | /node/src/node_clock.cpp | d340aa7dca1b0680dc32872f049ddc05f711c7ba | [
"Apache-2.0"
] | permissive | tempbottle/sopmq | f6810258d872d00c557007e9f388652dee3b348e | c940bcba5f9f69190e73f1628909ec344acdb374 | refs/heads/master | 2021-01-15T18:22:15.875738 | 2014-11-29T05:28:26 | 2014-11-29T05:28:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,029 | cpp | /*
* SOPMQ - Scalable optionally persistent message queue
* Copyright 2014 InWorldz, LLC
*
* 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 "node_clock.h"
#include "comparison_error.h"
namespace sopmq {
namespace node {
void node_clock::to_protobuf(NodeClock* pbclock) const
{
pbclock->set_node_id(this->node_id);
pbclock->set_generation(this->generation);
pbclock->set_clock(this->clock);
}
bool operator ==(const node_clock& lhs, const node_clock& rhs)
{
return lhs.node_id == rhs.node_id &&
lhs.generation == rhs.generation &&
lhs.clock == rhs.clock;
}
bool operator !=(const node_clock& lhs, const node_clock& rhs)
{
return !(lhs == rhs);
}
bool operator <(const node_clock& lhs, const node_clock& rhs)
{
if (lhs.node_id != rhs.node_id)
{
throw comparison_error("< and > not valid for node_clocks on different servers");
}
if (lhs.generation < rhs.generation ||
(lhs.generation == rhs.generation && lhs.clock < rhs.clock))
{
return true;
}
return false;
}
bool operator >(const node_clock& lhs, const node_clock& rhs)
{
return (!(lhs < rhs)) && (lhs != rhs);
}
}
} | [
"david.daeschler@gmail.com"
] | david.daeschler@gmail.com |
5803af6c99ccc2343e5f7b19346e63f75f6ead0c | 5456502f97627278cbd6e16d002d50f1de3da7bb | /device/geolocation/geolocation_provider_impl.cc | 298366f8b49aa61fdcdd19e1c249c7f491006c7f | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,890 | cc | // Copyright (c) 2012 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 "device/geolocation/geolocation_provider_impl.h"
#include <utility>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/callback.h"
#include "base/lazy_instance.h"
#include "base/location.h"
#include "base/logging.h"
#include "base/memory/ptr_util.h"
#include "base/memory/singleton.h"
#include "base/single_thread_task_runner.h"
#include "base/threading/thread_task_runner_handle.h"
#include "device/geolocation/geolocation_delegate.h"
#include "device/geolocation/location_arbitrator.h"
namespace device {
namespace {
base::LazyInstance<std::unique_ptr<GeolocationDelegate>>::Leaky g_delegate =
LAZY_INSTANCE_INITIALIZER;
} // anonymous namespace
// static
GeolocationProvider* GeolocationProvider::GetInstance() {
return GeolocationProviderImpl::GetInstance();
}
// static
void GeolocationProvider::SetGeolocationDelegate(
GeolocationDelegate* delegate) {
DCHECK(!g_delegate.Get());
g_delegate.Get().reset(delegate);
}
std::unique_ptr<GeolocationProvider::Subscription>
GeolocationProviderImpl::AddLocationUpdateCallback(
const LocationUpdateCallback& callback,
bool enable_high_accuracy) {
DCHECK(main_task_runner_->BelongsToCurrentThread());
std::unique_ptr<GeolocationProvider::Subscription> subscription;
if (enable_high_accuracy) {
subscription = high_accuracy_callbacks_.Add(callback);
} else {
subscription = low_accuracy_callbacks_.Add(callback);
}
OnClientsChanged();
if (position_.Validate() ||
position_.error_code != Geoposition::ERROR_CODE_NONE) {
callback.Run(position_);
}
return subscription;
}
void GeolocationProviderImpl::UserDidOptIntoLocationServices() {
DCHECK(main_task_runner_->BelongsToCurrentThread());
bool was_permission_granted = user_did_opt_into_location_services_;
user_did_opt_into_location_services_ = true;
if (IsRunning() && !was_permission_granted)
InformProvidersPermissionGranted();
}
void GeolocationProviderImpl::OverrideLocationForTesting(
const Geoposition& position) {
DCHECK(main_task_runner_->BelongsToCurrentThread());
ignore_location_updates_ = true;
NotifyClients(position);
}
void GeolocationProviderImpl::OnLocationUpdate(const LocationProvider* provider,
const Geoposition& position) {
DCHECK(OnGeolocationThread());
// Will be true only in testing.
if (ignore_location_updates_)
return;
main_task_runner_->PostTask(
FROM_HERE, base::Bind(&GeolocationProviderImpl::NotifyClients,
base::Unretained(this), position));
}
// static
GeolocationProviderImpl* GeolocationProviderImpl::GetInstance() {
return base::Singleton<GeolocationProviderImpl>::get();
}
GeolocationProviderImpl::GeolocationProviderImpl()
: base::Thread("Geolocation"),
user_did_opt_into_location_services_(false),
ignore_location_updates_(false),
main_task_runner_(base::ThreadTaskRunnerHandle::Get()) {
DCHECK(main_task_runner_->BelongsToCurrentThread());
high_accuracy_callbacks_.set_removal_callback(base::Bind(
&GeolocationProviderImpl::OnClientsChanged, base::Unretained(this)));
low_accuracy_callbacks_.set_removal_callback(base::Bind(
&GeolocationProviderImpl::OnClientsChanged, base::Unretained(this)));
}
GeolocationProviderImpl::~GeolocationProviderImpl() {
Stop();
DCHECK(!arbitrator_);
}
void GeolocationProviderImpl::SetArbitratorForTesting(
std::unique_ptr<LocationProvider> arbitrator) {
arbitrator_ = std::move(arbitrator);
}
bool GeolocationProviderImpl::OnGeolocationThread() const {
return task_runner()->BelongsToCurrentThread();
}
void GeolocationProviderImpl::OnClientsChanged() {
DCHECK(main_task_runner_->BelongsToCurrentThread());
base::Closure task;
if (high_accuracy_callbacks_.empty() && low_accuracy_callbacks_.empty()) {
DCHECK(IsRunning());
if (!ignore_location_updates_) {
// We have no more observers, so we clear the cached geoposition so that
// when the next observer is added we will not provide a stale position.
position_ = Geoposition();
}
task = base::Bind(&GeolocationProviderImpl::StopProviders,
base::Unretained(this));
} else {
if (!IsRunning()) {
Start();
if (user_did_opt_into_location_services_)
InformProvidersPermissionGranted();
}
// Determine a set of options that satisfies all clients.
bool enable_high_accuracy = !high_accuracy_callbacks_.empty();
// Send the current options to the providers as they may have changed.
task = base::Bind(&GeolocationProviderImpl::StartProviders,
base::Unretained(this), enable_high_accuracy);
}
task_runner()->PostTask(FROM_HERE, task);
}
void GeolocationProviderImpl::StopProviders() {
DCHECK(OnGeolocationThread());
DCHECK(arbitrator_);
arbitrator_->StopProvider();
}
void GeolocationProviderImpl::StartProviders(bool enable_high_accuracy) {
DCHECK(OnGeolocationThread());
DCHECK(arbitrator_);
arbitrator_->StartProvider(enable_high_accuracy);
}
void GeolocationProviderImpl::InformProvidersPermissionGranted() {
DCHECK(IsRunning());
if (!OnGeolocationThread()) {
task_runner()->PostTask(
FROM_HERE,
base::Bind(&GeolocationProviderImpl::InformProvidersPermissionGranted,
base::Unretained(this)));
return;
}
DCHECK(OnGeolocationThread());
DCHECK(arbitrator_);
arbitrator_->OnPermissionGranted();
}
void GeolocationProviderImpl::NotifyClients(const Geoposition& position) {
DCHECK(main_task_runner_->BelongsToCurrentThread());
DCHECK(position.Validate() ||
position.error_code != Geoposition::ERROR_CODE_NONE);
position_ = position;
high_accuracy_callbacks_.Notify(position_);
low_accuracy_callbacks_.Notify(position_);
}
void GeolocationProviderImpl::Init() {
DCHECK(OnGeolocationThread());
if (!arbitrator_) {
LocationProvider::LocationProviderUpdateCallback callback = base::Bind(
&GeolocationProviderImpl::OnLocationUpdate, base::Unretained(this));
// Use the embedder's |g_delegate| or fall back to the default one.
if (!g_delegate.Get())
g_delegate.Get().reset(new GeolocationDelegate);
arbitrator_ = base::MakeUnique<LocationArbitrator>(
base::WrapUnique(g_delegate.Get().get()));
arbitrator_->SetUpdateCallback(callback);
}
}
void GeolocationProviderImpl::CleanUp() {
DCHECK(OnGeolocationThread());
arbitrator_.reset();
}
} // namespace device
| [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
c34e5bfea26ef4ab8a21670090466588095aac9b | 02bb3366a65aaa0c5699a22aef4aafbbc9e93dcb | /workspace_c++/Skill_Set_TSP/src/functions.h | 1f3fba24cd402d58e810055c12f2fc8c97b52b5e | [] | no_license | xiaolindong/cppWorkspace | ec8f257c0a65be7176c66b86ff2fb83dde646c62 | ff370bdbfc9a306f8f1c60f876d315b2d28a416d | refs/heads/master | 2021-05-30T12:27:14.499318 | 2016-02-18T22:11:12 | 2016-02-18T22:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,469 | h | /*
* functions.h
*
* Created on: Mar 23, 2012
* Author: eia2
*/
#ifndef FUNCTIONS_H_
#define FUNCTIONS_H_
using namespace std;
/*********check a particular skill is in the worker's set*********************/
bool checkskill(int workerid, int jobskill)
{
if(jobskill >= skilllow[workerid] && jobskill <= skillhigh[workerid])
return true;
else
return false;
}
/**************read data from tsp.txt******************/
void readfile(){
ifstream fin;
fin.open("/cs/grad3/eia2/workspace/Generator/tsp1 (copy).txt");
fin>>num_job>>num_worker;
cout<<num_job<<" "<<num_worker<<endl;
for(int i = 1; i <= num_job; i++){
fin>>jobid[i];
fin>>job_skill[i];
cout<<jobid[i]<<" "<<job_skill[i]<<endl;
}
cout<<endl;
for(int i = 0; i < num_worker; i++){
fin>>skilllow[i]>>skillhigh[i];
cout<<skilllow[i]<<" "<<skillhigh[i]<<endl;
}
for(int i = 0; i <= num_job; i++){
for(int j = 0; j <= num_job; j++)
{
fin>>cost[i][j];
cout<<cost[i][j]<<" ";
}
cout<<endl;
}
}
/************Searching for the index of an ID in the vector******************/
int Find_In_Vector(vector<Node> v, int id){
vector<Node>::iterator p = v.begin();
int index = -1;
int i = 0;
while (p != v.end()){
if (p->id == id){
index = i;
break;
}
else
i++;
p++;
}
return index;
}
/************************* priting only Y **********************************/
void Print_Solution(IloEnv env, IloCplex cplex,ThreeDMatrix y){
IloNumArray vals(env);
env.out() << "Solution status = " << cplex. getStatus () << endl;
env.out() << "Solution value = " << cplex. getObjValue () << endl;
//Printing Y
for(int k = 0; k < num_worker; k++){
cout<<"Worker #"<<k+1<<": "<<endl;
for(int i = 0; i < num_job; i++){
cout<<"y["<<i<<"]= ";
for(int j = 0; j < num_job; j++)
env.out() <<cplex.getValue(y[k][i][j])<<" ";
cout<<endl;
}
cout<<endl;
}
cout<<"##########################" <<endl;
}
/******************************* copy Y ****************************/
vector<vector<vector<bool> > > Copy_Y(IloCplex cplex, ThreeDMatrix y){
vector<vector<vector<bool> > > y_copy;
y_copy.resize(num_worker);
for (int k = 0; k < num_worker; k++)
y_copy.at(k).resize(num_job);
for (int k = 0; k < num_worker; k++)
for (int i = 0; i < num_job; i++)
for (int j = 0; j < num_job; j++)
if (cplex.getValue(y[k][i][j]))
y_copy.at(k).at(i).push_back(true);
else
y_copy.at(k).at(i).push_back(false);
return y_copy;
}
/************************* adding cycle constraints************/
void AddConnectivityConstarint(IloEnv &env, IloModel &model,IloCplex &cplex, set<int> s,vector<vector<Node> > Graph,ThreeDMatrix y, int driver){
//cout<< "This is addConnectivity function"<<endl;
set<int>::iterator p;
IloExpr e(env);
for (p = s.begin(); p != s.end(); p++){
int i = (*p);
for (int j = 1; j < num_job; j++){
if (j != i){
int index = Find_In_Vector(Graph.at(driver), j);
if (index !=-1)
if (s.count(j) == 0){
if (checkskill(driver, job_skill[j]))
e += y[driver][i][j] ;
}
}
}
}
model.add( e >= 1);
//cout <<" This is the end of addConnecticity" << endl;
}
/****** finding a component in the graph of a driver *********/
set<int> Find_Component(vector<vector<Node> > Graph, int k){
list<Node> s; // works as an stack
set<int> iSolated_Comp; //keep the component
if (!Graph.at(k).empty()){
s.push_front(Graph.at(k).front());
while (!s.empty()){
Node temp = s.front();
s.pop_front();
iSolated_Comp.insert(temp.id); // insert the ID to component
/*** insert the links of ID to the stack ****/
vector<Node> ::iterator p;
for (p = temp.links.begin(); p != temp.links.end(); p++){
int index = Find_In_Vector(Graph.at(k),p->id);
if (index != -1)
s.push_front(Graph.at(k).at(index));
else{
cout << "error in finding the index of specific ID" << endl;
break;
}
}
/**** end of inserting links of ID to stack***/
}
}
return iSolated_Comp;
}
/*********************check a boolean array to be all true**************/
bool CheckBoolArray(bool a[], int size){
for (int i = 0; i < size; i++)
if(!a[i])
return false;
return true;
}
/*********************** find a node which is not connected to the other component***/
int FindVertexNonHited(bool vertex_hit[], int graph_nodeSize){
int i = 0;
while( i < graph_nodeSize){
if (!vertex_hit[i])
return i ;
i++;
}
return -1;
}
/****** finding all of the component of driver K in the graph *********/
vector<set<int> > FindAllComponent(vector<vector<Node> > Graph, int k){
vector<set<int> > all_comp;
if (!Graph.at(k).empty()){
int graph_nodeSize = Graph.at(k).size();
bool vertex_hit[graph_nodeSize];
for (int i = 0; i < graph_nodeSize; i++)
vertex_hit[i] = false;
while (!CheckBoolArray(vertex_hit,graph_nodeSize)){
list<Node> s; // works as an stack
set<int> isolated_comp; //keep the component
int indexx = FindVertexNonHited(vertex_hit, graph_nodeSize);
if (indexx == -1)
cout << "error in finding a node" << endl;
else
{
vertex_hit[indexx] = true;
s.push_front(Graph.at(k).at(indexx));
while (!s.empty()){
Node temp = s.front();
s.pop_front();
isolated_comp.insert(temp.id); // insert the ID to component
/*** insert the links of ID to the stack ****/
vector<Node> ::iterator p;
for (p = temp.links.begin(); p != temp.links.end(); p++){
int index = Find_In_Vector(Graph.at(k),p->id);
if (index != -1){
if (!vertex_hit[index]){
s.push_front(Graph.at(k).at(index));
vertex_hit[index] = true;
}
}
else{
cout << "error in finding the index of specific ID" << endl;
break;
}
}
/**** end of inserting links of ID to stack***/
}
}
all_comp.push_back(isolated_comp);
}
}
return all_comp;
}
/*********************check dirivers tree connectivity**************/
bool Check_Connectivity(bool tree_connectivity[]){
for (int i = 0; i < num_worker; i++)
if(!tree_connectivity[i])
return false;
return true;
}
/***************** print the graph***************/
void PrintGraph(vector<vector<Node> > Graph, ofstream &fout){
for (int k = 0; k < num_worker; k++){
fout<< "Driver " << k << " graph is :" << endl;
for (int i = 0; i < Graph.at(k).size(); i++ ){
fout << "Node " << Graph.at(k).at(i).id << " :" ;
vector<Node>::iterator p;
for (p = Graph.at(k).at(i).links.begin(); p!= Graph.at(k).at(i).links.end(); p++){
fout << " -> ";
fout << p->id ;
}
fout << endl;
}
fout << "-------------------" ;
fout << endl;
}
fout << "****************************************************" <<endl ;
}
/*********Updating the connectivity graph for each driver***************/
void Update_Graph(IloCplex & cplex, vector< vector<Node> > &Graph, BoolVarMatrix x,ThreeDMatrix y){
for (int k = 0; k < num_worker; k++)
for (int i= 1; i < num_job; i++)
if (cplex.getValue(x[i][k])){
// find the index of the node with (id = i)
int index = Find_In_Vector(Graph.at(k),i); // check if index != -1
/*
vector<Node>::iterator p;
vector<Node> temp = Graph.at(k);
int index = 0;
for (p = temp.begin(); p != temp.end(); p++){
if (p->id != i)
index++;
}*/
// add to the neighbor of node with (id = i) all of it adjacents nodes
for (int j = 1; j < num_job; j++){
if ((cplex.getValue(y[k][i][j])) || (cplex.getValue(y[k][j][i])))
Graph.at(k).at(index).AddNeighbor(j);
}
}
}
/*********constructing the connectivity graph for each driver***************/
vector<vector<Node> > Drivers_Connectivity_Graph_Construct (IloCplex & cplex, BoolVarMatrix x,ThreeDMatrix y){
vector<vector<Node> > Graph;
Graph.resize (num_worker);
for (int k = 0; k < num_worker; k++){
for (int i = 1; i < num_job; i++)
if (cplex.getValue(x[i][k])){
Node newNode (i);
Graph.at(k).push_back(newNode);
}
}
Update_Graph(cplex, Graph, x, y);
return Graph;
}
/**********************create the input matrix *********************/
void Creat_Input(IloEnv env,BoolVarMatrix &x,ThreeDMatrix &y,BoolVarMatrix &z){
for(int i = 0; i < num_job; i++){
x[i] = IloBoolVarArray(env, num_worker);
}
// create the y matrix
for(int k = 0; k < num_worker; k++){
y[k] = BoolVarMatrix(env, num_job);
for ( int i = 0; i < num_job; i++){
y[k][i] = IloBoolVarArray(env, num_job);
}
}
//create matrix z
for (int i =0 ; i < num_job ; i++){
z[i] = IloBoolVarArray(env, num_job);
}
}
/*********construct object function***************/
IloExpr generate_obj_fun(IloEnv env,BoolVarMatrix z ){
IloExpr e(env);
for(int i = 0; i < num_job; i++)
for(int j = 0; j < i; j++)
//if (i != j)
e += cost[i][j] * z[i][j];
return e;
}
/************************ adding easy constraints*****************/
void AddEasyConstraint(IloEnv &env , IloModel &model, BoolVarMatrix x, ThreeDMatrix y, BoolVarMatrix z){
// initial most of the x_uj=0 regarding to the skill requirement of job u and and skill of work j
for (int i = 1; i < num_job; i++)
for (int k=0; k < num_worker; k++)
if(!checkskill(k,job_skill[i]))
model.add(x[i][k] == 0);
// initial most of the y_ek=0 regarding to the skill requirement of job e = (i,j) and and skill of work k
for (int k = 0 ; k < num_worker; k++)
for (int i = 1; i < num_job; i++)
if (!checkskill(k,job_skill[i]))
for(int j = 1; j < num_job; j++)
model.add(y[k][i][j] == 0);
// y[k][i][i]=0
for (int k = 0; k < num_worker; k++)
for (int i = 0; i < num_job; i++)
model.add(y[k][i][i] == 0);
// sum_{j \in s(u)}x_{uj}=1
for( int i = 1 ; i < num_job; i++){
IloExpr e(env);
for(int k = 0; k < num_worker; k++){
if (checkskill(k, job_skill[i]))
e += x[i][k];
else
model.add(x[i][k] == 0);
}
model.add(e == 1);
}
//y_[k][i][j] \le x_[i][k] & x_[j][k]
/*
for (int k = 0; k < num_worker; k++)
for (int i = 1; i < num_job; i++)
for (int j = 1; j < num_job; j++){
model.add(y[k][i][j] <= x[i][k]);
model.add(y[k][i][j] <= x[j][k]);
model.add(y[k][j][i] <= x[i][k]);
model.add(y[k][j][i] <= x[j][k]);
}
*/
// y_{ej} <= x_{uj} + x_{vj} / 2
for (int k =0; k < num_worker; k++)
for (int i = 0; i < num_job; i++)
for (int j = 0; j < num_job; j++){
model.add(y[k][i][j] <= (x[i][k] + x[j][k]) / 2 );
}
// y_[]k[i][j]= y[k][j][i]
/*
for (int k =0; k < num_worker; k++)
for (int i = 0; i < num_job; i++)
for (int j = 0; j < num_job; j++){
model.add(y[k][i][j]- y[k][j][i] == 0);
}*/
// z=sum_{ j \in worker}y_{ej}
for (int i = 0; i < num_job; i++)
for (int j = 0; j < num_job; j++){
IloExpr e(env);
for (int k = 0; k < num_worker; k++){
e += y[k][i][j] ;
//e += y[k][j][i];
//e =+ y[k][j][i]*y[k][i][j];
}
model.add(z[i][j] == e );
}
/*
for (int i = 0; i < num_job; i++)
for (int j = 0; j < i; j++)
for (int k = 0; k < num_worker; k++){
model.add(y[k][i][j] <= z[i][j]);
model.add(y[k][j][i] <= z[i][j]);
model.add(y[k][i][j] <= z[j][i]);
model.add(y[k][j][i] <= z[j][i]);
}
*/
// z[i][j]= z[j][i]
for (int i = 0; i < num_job; i++)
for (int j = 0; j < num_job; j++)
model.add(z[i][j]- z[j][i] == 0);
}
/*******************print solution ******************/
void Print_Solution(IloEnv env, IloCplex &cplex,BoolVarMatrix x,ThreeDMatrix y,BoolVarMatrix z){
IloNumArray vals(env);
env.out() << "Solution status = " << cplex. getStatus () << endl;
env.out() << "Solution value = " << cplex. getObjValue () << endl;
// Printing X
for (int i = 1; i< num_job; i++){
cplex.getValues(vals,x[i]);
cout << "x[" << i <<"]=" << vals << endl;
}
cout << endl;
// Printing Z
for (int i = 0; i< num_job; i++){
cplex.getValues(vals,z[i]);
cout << "z[" << i << "]=" << vals<< endl;
}
cout << endl;
//Printing Y
for(int k = 0; k < num_worker; k++){
cout<<"Worker #"<<k+1<<": "<<endl;
for(int i = 0; i < num_job; i++){
cout<<"y["<<i<<"]= ";
for(int j = 0; j < num_job; j++)
env.out() <<cplex.getValue(y[k][i][j])<<" ";
cout<<endl;
}
cout<<endl;
}
cout<<"##########################" <<endl;
}
/**************************Add cardinality constraints**********************************/
void addCardinalityConstraint(IloEnv &env,IloModel &model,set<int> isolated_comp, ThreeDMatrix y, int driverId){
set<int>::iterator p,q;
IloExpr e(env);
for (p = isolated_comp.begin(); p != isolated_comp.end(); p++)
for (q = isolated_comp.begin(); q != isolated_comp.end(); q++)
if(p != q)
e += y[driverId][(*p)][(*q)];
int comp_size = isolated_comp.size();
model.add(e <= (--comp_size));
}
/*************** add depot connectivity constraints**************************/
void AddDepotConnectivityConstraints(IloEnv &env, IloModel &model, vector<vector<Node> > Graph, ThreeDMatrix y){
IloExpr e(env);
for (int k = 0; k < num_worker; k++){
vector<Node>::iterator p;
for (p = Graph.at(k).begin(); p != Graph.at(k).end(); p++)
e += y[k][0][p->id];
model.add(e == 1);
}
}
/**************************add all Complicated constraints******************************/
void AddComplicatedConstraints (IloEnv &env, IloModel model, IloCplex cplex, BoolVarMatrix x, ThreeDMatrix y, BoolVarMatrix z){
vector<vector<Node> > Graph = Drivers_Connectivity_Graph_Construct (cplex, x, y);
ofstream result_graph;
result_graph.open("graph.txt");
PrintGraph(Graph,result_graph);
vector<vector<vector<bool> > > y_copy = Copy_Y(cplex, y);
bool tree_connectivity[num_worker];
for (int i = 0; i < num_worker; i ++)
tree_connectivity[i] = false;
while(!Check_Connectivity(tree_connectivity)){
for (int k = 0; k < num_worker; k++){
if (Graph.at(k).empty())
tree_connectivity[k] = true;
else{
vector<set<int> > driverKComponents = FindAllComponent(Graph, k); //keep the component
vector<set<int> > ::iterator p;
for (p = driverKComponents.begin(); p != driverKComponents.end(); p++){
set<int> isolated_comp = *p;
//cout << "compsize ="<< isolated_comp.size() << endl;
//cout << "graph k ="<< Graph.at(k).size()<< endl;
if (isolated_comp.size() == Graph.at(k).size()){
//cout << " the tree of driver " << k << "is connected" << endl;
tree_connectivity[k] = true;
}
else{
tree_connectivity[k] = false;
//addCardinalityConstraint(env,model,isolated_comp,y, k);
AddConnectivityConstarint(env,model,cplex,isolated_comp,Graph,y, k); //generate constarint for this isolated component
//cout << "hi" << endl;
}
//isolated_comp.clear();
}
}
}
//AddDepotConnectivityConstraints(env, model, Graph, y);
if (!Check_Connectivity(tree_connectivity)){
cplex.setParam(IloCplex::EpGap,.1);
if ( !cplex.solve() ) {
env.error() << "Failed to optimize LP." << endl;
throw (-1);
}
}
cout<<"####################solved"<<endl;
Graph = Drivers_Connectivity_Graph_Construct (cplex, x, y);
// print the solution
PrintGraph(Graph,result_graph);
y_copy = Copy_Y(cplex, y);
Print_Solution(env,cplex,x,y,z);
//Check_Connectivity(tree_connectivity);
}
}
#endif /* FUNCTIONS_H_ */
| [
"Ehsan@Ehsans-MacBook-Pro.local"
] | Ehsan@Ehsans-MacBook-Pro.local |
4ba32c4d678d61f7a0106a46cea5a782808b40c4 | 6a4a2eb5cb08ea805733bd677ec44c62fb32ee91 | /host/test/cache.cpp | 7b9e0fb60cdbe39c1e2eb3b7dae946dc46fdc28f | [] | no_license | agrigomi/pre-te-o | 7b737dc715b6432880aeaa030421d35c0620d0c3 | ed469c549b1571e1dadf186330ee4c44d001925e | refs/heads/master | 2020-05-15T13:41:51.793581 | 2019-04-19T18:44:28 | 2019-04-19T18:44:28 | 182,310,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32 | cpp | ../../core/driver/bdev/cache.cpp | [
"agrigomi@abv.bg"
] | agrigomi@abv.bg |
370b7d684a5b6080d5fdf55a4679f0d1d61306e1 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_2464487_0/C++/haker4o/A.cpp | d428bebf6e5b4b36ebc06e8f70f5138801bc6a36 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,051 | cpp | #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <vector>
#include <string>
#include <cstring>
#include <cmath>
#include <algorithm>
#include <queue>
#include <set>
#include <map>
#include <stack>
#include <sstream>
#define mp make_pair
#define MAXLL ((1LL<<63)-1)
using namespace std;
typedef long long ll;
typedef long double ld;
typedef pair<int, int> pii;
ll Sk(ll a, ll k) {
ll res=a+2*k-2;
if (MAXLL / res < k) return MAXLL;
res *= k;
return res;
}
int main() {
freopen("A-small-attempt0.in", "r", stdin);
freopen("A-small-attempt0.out", "w", stdout);
int T, NT;
ll i, j;
ll r, t;
cin>>NT;
ll res;
for(T=1; T<=NT; ++T) {
cin>>r>>t;
res = 0;
ll b, e;
b = 0;
e = (1LL<<40);
ll a = 2*r+1;
while(e-b>1) {
ll m = (b+e)/2;
if (Sk(a, m) <= t) b = m;
else e = m;
}
cout<<"Case #"<<T<<": "<<b<<endl;
}
return 0;
}
| [
"eewestman@gmail.com"
] | eewestman@gmail.com |
3ebd81cfd02a398474dd86720181a7f32a30ff55 | 309fceba389acdb74c4de9570bfc7c43427372df | /Project2010/Bishamon/include/bm3/core/type/bm3_Keyframe.h | 274a05e25620df472edc0101dc19fc70bb1c3f7d | [] | no_license | Mooliecool/DemiseOfDemon | 29a6f329b4133310d92777a6de591e9b37beea94 | f02f7c68d30953ddcea2fa637a8ac8f7c53fc8b9 | refs/heads/master | 2020-07-16T06:07:48.382009 | 2017-06-08T04:21:48 | 2017-06-08T04:21:48 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 3,964 | h | #ifndef BM3_SDK_INC_BM3_CORE_TYPE_BM3_KEYFRAME_H
#define BM3_SDK_INC_BM3_CORE_TYPE_BM3_KEYFRAME_H
#include <ml/utility/ml_assert.h>
#include "../../system/bm3_Config.h"
#include "../bm3_Const.h"
#include "../bm3_CoreType.h"
namespace bm3{
BM3_BEGIN_PLATFORM_NAMESPACE
namespace internal{
template<typename T> struct KeyframeValueElement;
template<> struct KeyframeValueElement<float>{ enum{ Count = 1 }; };
template<> struct KeyframeValueElement<ml::vector3d>{ enum{ Count = 3 }; };
//template<> struct KeyframeValueElement<ml::color_rgba<float> >{ enum{ Count = 4 }; };
template<> struct KeyframeValueElement<ml::color_rgba<float> >{ enum{ Count = 3 }; };
} // namespace internal
/// @brief KeyframeƒNƒ‰ƒX
template<typename T>
class Keyframe{
public:
enum{
ValueElementCount = internal::KeyframeValueElement<T>::Count
};
Keyframe() :
value_(T()){
#if defined(BM3_TARGET_IDE)
selected_keyframe_ = false;
for(int i=0 ; i<internal::KeyframeValueElement<T>::Count ; ++i){
selected_keyframe_value_[i] = false;
}
#endif
}
KeyframeTypeConst KeyframeType(int element_no) const{ ML_ASSERT((element_no >= 0) && (element_no < ValueElementCount));
return element_info_[element_no].keyframe_type_; }
float SlopeL(int element_no) const{ ML_ASSERT((element_no >= 0) && (element_no < ValueElementCount));
return element_info_[element_no].slope_l_; }
float SlopeR(int element_no) const{ ML_ASSERT((element_no >= 0) && (element_no < ValueElementCount));
return element_info_[element_no].slope_r_; }
const KeyframeElementInfo * ElementInfoArray() const{ return element_info_; }
const T & Value() const{ return value_; }
bool IsBreakSlope(int element_no) const{ ML_ASSERT((element_no >= 0) && (element_no < ValueElementCount));
return (element_info_[element_no].keyframe_type_ == KeyframeTypeConst_BreakSpline); }
bool IsSpline(int element_no) const{ ML_ASSERT((element_no >= 0) && (element_no < ValueElementCount));
return (element_info_[element_no].keyframe_type_ == KeyframeTypeConst_Spline ) ||
(element_info_[element_no].keyframe_type_ == KeyframeTypeConst_BreakSpline); }
void SetKeyframeType(int element_no, KeyframeTypeConst t){ ML_ASSERT((element_no >= 0) && (element_no < ValueElementCount));
element_info_[element_no].keyframe_type_ = t; }
void SetSlopeL(int element_no, float s){ ML_ASSERT((element_no >= 0) && (element_no < ValueElementCount));
element_info_[element_no].slope_l_ = s;
if(IsBreakSlope(element_no) == false){
element_info_[element_no].slope_r_ = s;
} }
void SetSlopeR(int element_no, float s){ ML_ASSERT((element_no >= 0) && (element_no < ValueElementCount));
element_info_[element_no].slope_r_ = s;
if(IsBreakSlope(element_no) == false){
element_info_[element_no].slope_l_ = s;
} }
void SetValue(const T &v){ value_ = v; }
#if defined(BM3_TARGET_IDE)
bool SelectedKeyframe(){ return selected_keyframe_; }
void SetSelectedKeyframe(bool value){ selected_keyframe_ = value; }
bool SelectedKeyframeValue(int element_no){ return selected_keyframe_value_[element_no]; }
void SetSelectedKeyframeValue(int element_no, bool value){ selected_keyframe_value_[element_no]= value; }
#endif
private:
KeyframeElementInfo element_info_[ValueElementCount];
T value_;
#if defined(BM3_TARGET_IDE)
bool selected_keyframe_;
bool selected_keyframe_value_[internal::KeyframeValueElement<T>::Count];
#endif
};
BM3_END_PLATFORM_NAMESPACE
} // namespace bm3
#endif // #ifndef BM3_SDK_INC_BM3_CORE_TYPE_BM3_KEYFRAME_H
| [
"tetares4@gmail.com"
] | tetares4@gmail.com |
f5f4b5cad902c3aa9d532929f0026936c8347ffb | ca29748604f0ab70b0e83f3d9cd4d1ed8684ef98 | /diamond.cpp | 6c9df8b3ec52c21468d83ea1cb0522419da261bd | [] | no_license | Sindhu624/my_first | 26d603ecf704c44ff4285d9ed1fc469d74c661c5 | e407cf294e5ed89d3c6debd044c6bc67e50669bf | refs/heads/master | 2022-02-22T10:45:33.799063 | 2019-10-04T12:20:03 | 2019-10-04T12:20:03 | 206,754,171 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 718 | cpp | #include<iostream>
using namespace std;
class Person {
// Data members of person
public:
Person(int x) { cout << "Person::Person(int ) called" << endl; }
};
class Faculty : public Person {
// data members of Faculty
public:
Faculty(int x):Person(x) {
cout<<"Faculty::Faculty(int ) called"<< endl;
}
};
class Student : public Person {
// data members of Student
public:
Student(int x):Person(x) {
cout<<"Student::Student(int ) called"<< endl;
}
};
class TA : public Faculty, public Student {
public:
TA(int x):Student(x), Faculty(x) {
cout<<"TA::TA(int ) called"<< endl;
}
};
int main() {
TA ta1(30);
}
| [
"Sindhu624"
] | Sindhu624 |
4bfbc7e74da1082f9377b104aae3c7d6278f96f9 | 0aa325d6d4e71aa66aa6101781476493bab85d19 | /Talkers/Behaviours/T-11/B-170/B-170.hpp | 1a40186066fc2ecf537b5fd134fe13bf2ee25f8d | [] | no_license | valentin-dufois/Protocol-Bernardo | 7a14004bd85000e7f3cbd25e5952f258c0b9a99c | 0e2225bb7f170e7517d2d55ea5a4aff3667c8ca3 | refs/heads/master | 2022-04-03T09:48:39.971882 | 2020-02-18T22:18:47 | 2020-02-18T22:18:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 655 | hpp | //
// B-170.hpp
// Talkers
//
// Created by Valentin Dufois on 2020-02-03.
//
#ifndef B_170_hpp
#define B_170_hpp
#ifdef B170
#undef B170
#endif
#include "../../Behaviour.hpp"
class B170: public Behaviour {
public:
B170(): Behaviour(170, // ID
11, // Tree ID
1, // Is tree start ?
0, // Force start ?
{ // Expected inputs
},
{ // Expected outputs
167,
}) {}
virtual bool execute(Machine * machine) override {
/*
Action:
*/
return true;
}
};
#endif /* B_170_hpp */
| [
"valentin@dufois.fr"
] | valentin@dufois.fr |
66f7d29ad14eba4e1967df493a8b3d8d40cee0fc | e17c43db9488f57cb835129fa954aa2edfdea8d5 | /Libraries/IFC/IFC4/include/IfcNumericMeasure.h | e023089d1665969c3d7931afe424172261ead4d4 | [] | no_license | claudioperez/Rts | 6e5868ab8d05ea194a276b8059730dbe322653a7 | 3609161c34f19f1649b713b09ccef0c8795f8fe7 | refs/heads/master | 2022-11-06T15:57:39.794397 | 2020-06-27T23:00:11 | 2020-06-27T23:00:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 919 | h | /* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#pragma once
#include <vector>
#include <map>
#include <sstream>
#include <string>
#include "IfcPPBasicTypes.h"
#include "IfcPPObject.h"
#include "IfcPPGlobal.h"
#include "IfcMeasureValue.h"
// TYPE IfcNumericMeasure = NUMBER;
class IFCPP_EXPORT IfcNumericMeasure : public IfcMeasureValue
{
public:
IfcNumericMeasure();
IfcNumericMeasure( int value );
~IfcNumericMeasure();
virtual const char* className() const { return "IfcNumericMeasure"; }
virtual shared_ptr<IfcPPObject> getDeepCopy( IfcPPCopyOptions& options );
virtual void getStepParameter( std::stringstream& stream, bool is_select_type = false ) const;
virtual const std::wstring toString() const;
static shared_ptr<IfcNumericMeasure> createObjectFromSTEP( const std::wstring& arg, const std::map<int,shared_ptr<IfcPPEntity> >& map );
int m_value;
};
| [
"steva44@hotmail.com"
] | steva44@hotmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.